<!-- //hide the script
function checkEmail(strng) {
	var error = "";

	var emailFilter=/^.+@.+\..{2,6}$/;

	if (!(emailFilter.test(strng))) {
		return false;
	}

	var illegalChars= /[\(\)\<\>\,\;\:\\\/\"\[\] ']/

	if (strng.match(illegalChars)) {
		return false;
	}

	return true;
}


function form_validator(theForm)
{

 	if(theForm.LoginNameF.value == "") {
 		 alert("Please enter your First Name.");
 		 theForm.LoginNameF.focus();
 		 return(false);
 	}
 	
 	if(theForm.LoginNameS.value == "") {
 		 alert("Please enter your Surame.");
 		 theForm.LoginNameS.focus();
 		 return(false);
 	}
 	
	if(!checkEmail(theForm.LoginEmail.value)) {
		 alert("Please enter a valid Email Address");
		theForm.LoginEmail.focus();
		 return false;
	}
		
	return (true);
}
// end script hiding -->
