function openLP(url) {
	var width = 750;
	var height = screen.availHeight-200;
	var left = parseInt((screen.availWidth/2) - (width/2));
	var top = parseInt((screen.availHeight/2) - (height/2));
	var windowFeatures = "width=" + width + ",height=" + height + ",status,resizable,left=" + left + ",top=" + top + "screenX=" + left + ",screenY=" + top + ",scrollbars=yes";
	myWindow = window.open(url, "subWind", windowFeatures);
}
function formfocus() { 
	if(document.learnmore.emailaddress.value=="someone@somewhere.com") {
		document.learnmore.emailaddress.value="";
		document.learnmore.emailaddress.style.color="#333333";
	} 
}
function formblur() { 
	if(document.learnmore.emailaddress.value=="") {
		document.learnmore.emailaddress.value="someone@somewhere.com";
		document.learnmore.emailaddress.style.color="#cccccc";
	} 
}
function checkenter(e) { 
	if (e.keyCode == 13) { 
		checkform();
		return false;
	} 
} 
function checkform() {
	atpos=document.learnmore.emailaddress.value.indexOf("@");
	dotpos=document.learnmore.emailaddress.value.lastIndexOf(".");
	if (atpos<1||dotpos-atpos<2) {
		document.getElementById("emailerror").style.visibility="visible";
	}
	else {
		if (document.learnmore.emailaddress.value!="someone@somewhere.com") {
			document.learnmore.submit();
		}
		else {
			document.getElementById("emailerror").style.visibility="visible";
		}
  }
}