<!-- //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(!checkEmail(theForm.F_EMail.value)) {
		 alert("Please enter a valid Email Address");
		theForm.F_EMail.focus();
		 return false;
	}
	
 	if(theForm.F_Password.value == "") {
 		 alert("Please enter a Password.");
 		 theForm.F_Password.focus();
 		 return(false);
 	}
 	
	return (true);
}
// end script hiding -->
