// JavaScript Document
<!--
function checkFormCon() {
    var formName = document.info.name;
	var formTel = document.info.tel;
	var formEmail = document.info.email;
	var formEmailv = document.info.email.value;
	
	var myAction = 'sej_scripts/process-info.asp';
	var msg = "";
       		if (formName.value.length <= 4 || formName.value == "")
			{
			var msg = 'You have not correctly entered your name';
			alert(msg);
			formName.focus();
			formName.select();
			return false;     
			}
			
			var ap = formEmailv.indexOf("@");
			var sp = formEmailv.lastIndexOf(".");
			if (ap  == -1 || sp == -1 || formEmailv.length < 10)
			{
			var msg = 'The email address you have entered appears to be invalid \nPlease re-enter your email address and resubmit';
			alert(msg);
			formEmail.focus();
			formEmail.select();
			return false; 
			}			
			
			
			document.info.action = myAction;
			return true;
			
}
//-->
