// ActionScript Document
function checkform(appform)
{
	 if (appform.name.value=='')
  {
    alert("Please Enter your Name.");
    appform.name.focus();
    return (false);
  }  
 if (appform.email.value == "")
  {
    alert("Please enter your Email address.");
    appform.email.focus();
    return (false);
  }
   if (appform.email.value != "")
  {
 if (appform.email.value.indexOf ('@',0) == -1 || appform.email.value.indexOf ('.',0) == -1)
   {
    alert("Please enter valid Email address.");
    appform.email.focus();
    return (false);
  } 
  }
  return (true);
}
