 
 function carryPageVar() {
		 validate();
	}
	
	 function validate() {
      with(document.boxboysCONTACTForm) {

	if(name.value=='') alertUser(name);
       
        else if(email.value=='') alertUser(email);
        else if(checkEmail(email) == false) {
         alert('Sorry, your e-mail address is invalid. Please re-enter.');
         email.focus();
        }  
       
  else if(email.value!=emailconfirm.value) {alert('Sorry, your e-mails do not match-up. Please re-enter them!');

document.boxboysCONTACTForm.email.value='';
document.boxboysCONTACTForm.emailconfirm.value='';
} 
        else submit();	
      }
    }

    function alertUser(thisElement) {
      alert('Please make sure you have filled out each of the fields.');
      thisElement.focus();
    }
    function checkEmail(email) {
      if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(email.value)){
       return (true)
      }
      return (false)
    }
 