// JavaScript Document
function checkMail(theForm) {
	
     if (theForm.first_name.value.length==0){
        alert('Please enter your First Name');
        theForm.first_name.focus();
        return (false);
      }

     if (theForm.Last_Name.value.length==0){
        alert('Please enter your Last Name');
        theForm.Last_Name.focus();
        return (false);
      }

     if (theForm.Email.value.length==0){
        alert('Please enter your Email address');
        theForm.Email.focus();
        return (false);
      }
	 
	 if (theForm.Telephone.value.length==0 && theForm.Mobile.value.length==0){
        alert('Please enter a contact phone number.');
        theForm.Telephone.focus();
        return (false);
     }

}

function checkXchange(theForm) {
	
     if (theForm.name.value.length==0){
        alert('Please enter your Name');
        theForm.first_name.focus();
        return (false);
      }

     if (theForm.Email.value.length==0){
        alert('Please enter your Email address');
        theForm.Email.focus();
        return (false);
      }
	 
	 if (theForm.Telephone.value.length==0 && theForm.Mobile.value.length==0){
        alert('Please enter a contact phone number.');
        theForm.Telephone.focus();
        return (false);
     }

}
