	function hidestatus(){
window.status=''
return true
}
if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
document.onmouseover=hidestatus
document.onmouseout=hidestatus
	function validEmail(email) 
	{
		invalidChars = " /:,;"
		if (email == "") 
		{
			return false
		}
		for (i=0; i<invalidChars.length; i++) 
		{
			badChar = invalidChars.charAt(i)
			if (email.indexOf(badChar,0) > -1) 
			{
			   return false
			}
		}
		atPos = email.indexOf("@",1)
		if (atPos == -1) 
		{
			return false
		}
		if (email.indexOf("@",atPos+1) > -1) 
		{
			return false
		}
		periodPos = email.indexOf(".",atPos)
		if (periodPos == -1) 
		{
			return false
		}
		if (periodPos+3 > email.length) 
		{
			return false
		}
		return true
	}
   function Validate()
   {
	  // check email address.
	  var email = document.mainform.email.value;
	  validemail = validEmail(email);
	  if (!validemail)
	  {
		  alert("Please make sure you have a Valid Email entered");
		  return false
	  }
	  if (document.mainform.email.value=="")
	  {
		alert ("You must fill in all of the required fields!")
		return false
	  }
	  // well, looks ok from here, let's submit to our email script and see what sort of response we get.
      document.mainform.submit();
  }
