function checkform()
{

if(document.form.state_province.value=="00")
{
alert("Please select the state/provinve");
document.form.state_province.focus();
		return false;
}
if(document.form.date.value=="")
{
alert("Please enter the date");
document.form.date.focus();
		return false;
}
}

var normalTextFields = /^([a-zA-Z0-9]){1,25}$/ ;
var emailField  = /^[a-z0-9]([a-z0-9_\-\.]*)@([a-z0-9_\-\.]*)(\.[a-z]{2,3}(\.[a-z]{2}){0,2})$/i;

function validate()
{

emailA = document.form.email.value;
if(emailField .test(emailA) == false)
		{
			alert("Enter a valid Email Address");
			//document.form1.email.style.backgroundColor = "#FFccaa";
			//document.frm.getElementByID(username).bgColor = "#ffccaa"
			document.form.email.focus()
			
			return false;
		}
		
		else 
		{
				return true;
				
				
		}

}