function ValidateForm(){	var cu = document.LRNRequest;        if (cu.firstname.value == '') {                alert('First Name cannot be blank.');                cu.firstname.focus();		} else if (cu.lastname.value == '') {                alert('Last Name cannot be blank.');                cu.lastname.focus();				} else if (cu.companyname.value == '') {                alert('Company Name cannot be blank.');                cu.companyname.focus();			} else if (cu.address.value == '') {                alert('Address cannot be blank.');                cu.address.focus();		} else if (cu.citystatezip.value == '') {                alert('City-State-Zip cannot be blank.');                cu.citystatezip.focus();				} else if (cu.phonenumber.value == '') {                alert('Phone Number cannot be blank.');                cu.phonenumber.focus();				        } else if (cu.email.value == '') {                alert('E-Mail cannot be blank.');                cu.email.focus();		} else if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(cu.email.value))) {				alert("Invalid E-mail Address! Please re-enter.")                cu.email.focus();		} else {				alert('Thank you. We will contact you soon regarding your interest in LRN.');				f.submit();				}}function getPDF(pdf){	mypage = "pdfs/"+pdf+".pdf";	myname = "JT";	w = "640";	h = "480";	popUp(mypage, myname, w, h);}function popUp(mypage, myname, w, h){	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;	settings =	'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',toolbar=no,scrollbars=yes,resizable,location=no';	window.open(mypage,myname,settings);}function searchSite(){	var key = document.processor;	if(key.search.value == ''){		alert('You must enter keywords to search!');		key.search.focus();		return false;	}else{		key.webpage_id.value = 10;		key.submit();		return true;	}	}var xmlHttp = createXmlHttpRequestObject();function createXmlHttpRequestObject(){        var xmlHttp;        if(window.ActiveXObject){                try{                        xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");                }catch (e){                        xmlHttp = false;                }        }else{                try{                        xmlHttp = new XMLHttpRequest();                }catch (e){                        xmlHttp = false;                }        }        if(!xmlHttp)                alert("Error creating the XMLHttpRequest object.");        else                return xmlHttp;}