<!-- //script hider
function form_validator(theForm)
{
        

        if(theForm.cpm_name.value == "") {
                 alert("Please enter your Name.");
                 theForm.cpm_name.focus();
                 return(false);
                  
               
        } 


        if(theForm.cpm_dob.value == "") {
                 alert("Please enter your Date of Birth.");
                 theForm.cpm_dob.focus();
                 return(false);
                  
               
        } 
        
       
        if(theForm.cpm_address.value == "") {
                 alert("Please enter your Postal Address.");
                 theForm.cpm_address.focus();
                 return(false);
                  
               
        } 



        if(theForm.cpm_postcode.value == "") {
                 alert("Please enter your postcode.");
                 theForm.cpm_postcode.focus();
                 return(false);
                  
               
        }        
 

        if(theForm.cpm_phone.value == "") {
                 alert("Please enter your phone.");
                 theForm.cpm_phone.focus();
                 return(false);
                  
               
        }        
        
         if(theForm.File2.value == "") {
                 alert("Please attach a current photograph (JPEG/BMP/PSD files only, no larger than 200kb).");
                 theForm.File2.focus();
                 return(false);
                  
               
        }        
        return (true);
}
// end script hiding -->
