

function showhideOther()
  {

    if (document.callbackform.Hear.value == "other")
    {
	  document.getElementById("divOther").style.display = "block";
	}
    else
    {
      document.getElementById("divOther").style.display = "none";
	}
	
  }
  
function validate_form(callbackform)
	{
  	var message='';
  	var fvalid=true;

 	 if (callbackform.Name1.value=='') {
    	fvalid=false;
    	message+='Please enter a Forename.<br>';
  	}
	 	 if (callbackform.Name2.value=='') {
    	fvalid=false;
    	message+='Please enter a Surname.<br>';
  	}
	if (callbackform.Email.value == "")
    {
		fvalid=false;
    	message += "You must include an accurate email address for a response.<br>";
  	}
  	if ((callbackform.Email.value.indexOf ('@',0) == -1 ||
   		callbackform.Email.value.indexOf ('.',0) == -1) &&
   		callbackform.Email.value != "")
  	{
		fvalid=false;
    	message += "Please verify that your email address is valid.<br>";
  	} 
  	if (fvalid==true) {
  		return true;
  	} else {
    	document.getElementById('errorMessage').innerHTML=message;
    return false;
  }
}