function validate_Applicant(Applicant){

if (document.Applicant.company.value == ""){
    alert("Please enter your company name.");
    document.Applicant.company.focus();
    err=1;	
    return false;
}
if (document.Applicant.first_name.value == ""){
    alert("Please enter your first name.");
    document.Applicant.first_name.focus();
    err=1;
    return false;
}
if (document.Applicant.last_name.value == ""){
    alert("Please enter your last name.");
    document.Applicant.last_name.focus();
    err=1;	
    return false;
}
if (document.Applicant.position.value == ""){
    alert("Please enter your position.");
    document.Applicant.position.focus();
    err=1;	
    return false;
}
if (document.Applicant.address.value==""){
    alert("Please enter your address.");
    document.Applicant.address.focus();
    err=1;	
    return false;
}
if (document.Applicant.postal_code.value == ""){
    alert("Please enter Postal Code.");
    document.Applicant.postal_code.focus();
    err=1;
    return false;
}
if (document.Applicant.country.value == ""){
    alert("Please enter your Country.");
    document.Applicant.country.focus();
    err=1;
    return false;
}
if (document.Applicant.phone.value == ""){
    alert("Please enter your Phone number.");
    document.Applicant.phone.focus();
    err=1;
    return false;
}
if (document.Applicant.email.value==""){
   alert("Please enter your email address.");
   document.Applicant.email.focus();
   err=1;
   return false;
}
if (document.Applicant.email.value != ""){
   var CRETURN = "\n";
   emailmessage= Applicant.email.value.toLowerCase();
   if ((emailmessage.indexOf("@")<1) || (emailmessage.indexOf(".")<1)){
   alert("This email address appears to be invalid." + CRETURN + "Please check the prefix and '@' sign.");      
   document.Applicant.email.focus();
   return false;
   } 
}
if (document.Applicant.type_of_support.selectedIndex == 0){
   alert("Please select the type of support requested from the dropdown list.");
   document.Applicant.type_of_support.focus();
   err=1;
   return false;
}
if (document.Applicant.application.selectedIndex == 0){
   alert("Please select the type of application requested from the dropdown list.");
   document.Applicant.application.focus();
   err=1;
   return false;
}
else return true;
}