function checkform (appoint)
{
	 if (appoint.name.value.length<4)
	 {
      alert("Ingrese su Nombre")
      appoint.name.focus()
       return false;
     } 	
	
	if (appoint.mail.value.indexOf('@', 1) == -1 || appoint.mail.value.indexOf('.', appoint.mail.value.indexOf('@', 0)) == -1) 
	{
	alert("Correo Electronico Invalido") 
	appoint.mail.focus()
	return false;
	}

	if (appoint.subject.value.length<4)
	{
      alert("Ingrese el Asunto") 
      appoint.subject.focus()
       return false;
    }
		 
	return true ;
}
