
 function custvalidate(theForm){

  // -- -- Login Name  ---- 
  
    // -- -- Login Name  ---- 
  if (theForm.cust_login.value == "")
  {
    alert("Please enter Login Name.");
    theForm.cust_login.focus();
    return (false);
  }
 
   // -- -- Login Name  ---- 
  if (theForm.cust_password.value == "")
  {
    alert("Please enter Password.");
    theForm.cust_password.focus();
    return (false);
  }
  if (theForm.confirm_password.value == "")
  {
    alert("Please enter Confirm Password.");
    theForm.confirm_password.focus();
    return (false);
  }
 
  if (theForm.cust_title.value == 0)
  {
    alert("Please select Title.");
    theForm.cust_title.focus();
    return (false);
  }
  
    // -- -- Login Name  ---- 
  if (theForm.cust_name.value == "")
  {
    alert("Please enter Name.");
    theForm.cust_name.focus();
    return (false);
  }
 
 // require at least 3 characters be entered
  if (theForm.cust_name.value.length < 3)
  {
    alert("You must enter at least 3 Characters in the \"Name\" field.");
    theForm.cust_name.focus();
    return (false);
  } 
   
    // ------------ emp_country -------------------
	if (theForm.cust_email.value == "")
  {
    alert("Please Enter Email Address.");
    theForm.cust_email.focus();
    return (false);
  }
 
 
}
 



