function checkfield(form1)
{
	ok=true
	if(form1.Name.value=="")
	{
		alert("Please Enter Your Name.")
		form1.Name.focus()
		ok=false
	}
	else if (form1.Email.value == "")
	{
		alert("Please enter Your Email id.");
		form1.Email.focus();
		ok=false
	}
	else if (!isEmailAddr(form1.Email.value))
	{
		alert("Please enter a complete email address in the form: yourname@yourdomain.com");
		form1.Email.focus();
		ok=false
	}
	else if(form1.Phone.value=="")
	{
		alert("Please Enter your Phone Number.")
		form1.Phone.focus()
		ok=false
	}
	return ok
}
function isEmailAddr(email)
{
  var result = false
  var theStr = new String(email)
  var index = theStr.indexOf("@");
  if (index > 0)
  {
	var pindex = theStr.indexOf(".",index);
	if ((pindex > index+1) && (theStr.length > pindex+1))
	result = true;
  }
  return result;
}
function checkIt(evt) {
    evt = (evt) ? evt : window.event
    var charCode = (evt.which) ? evt.which : evt.keyCode
    if (charCode > 31 && (charCode < 48 || charCode > 57)) {
        status = "This field accepts numbers only."
        return false
    }
    status = ""
    return true
}



