function validate_form(theForm)
{

  if (theForm.Name.value == "")
  {
    alert("Please enter your name");
    theForm.Name.focus();
    return (false);  
  }

if (theForm.Email_Address.value == "")
  {
    alert("Please enter your Email Address");
    theForm.Email_Address.focus();
    return (false);  
  }

if (theForm.Email_Address.value != "")
   {
	var your_Id=theForm.Email_Address.value;
	var is_site_ok=your_Id.indexOf('@');
	var is_dot_ok=your_Id.indexOf('.');

	if ((is_site_ok==-1) || (is_dot_ok==-1))
 	{ 
 	 alert("Please enter correct Email Address");
	theForm.Email_Address.focus();
    	return (false);
	}
  
}

if (theForm.Home_Phone.value == "")  
  {   
   
         alert("Please enter your Home Phone");
         theForm.Home_Phone.focus();
         return (false);  
  }


 if (theForm.Cell_Phone.value == "")
  {
    alert("Please mention your Cell Phone");
    theForm.Cell_Phone.focus();
    return (false);  
  }


 if (theForm.Work_Phone.value == "")
  {
    alert("Please mention your Work Phone");
    theForm.Work_Phone.focus();
    return (false);  
  }


 if (theForm.Total_Amount_of.value == "")
  {
    alert("Please mention Total Amount");
    theForm.Total_Amount_of.focus();
    return (false);  
  }
  
 
  
  

return (true);
}


