function validate(form_id,email) {
   var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
   var address = document.forms[form_id].elements[email].value;
   var question = document.forms[form_id].elements['question'].value;
   if(reg.test(address) == false) {
      alert('Please enter a valid email address');
      return false;
   }
   if((question == "")||(question == "Your question here")) {
      alert('Please enter you question in the box provided');
      return false;
   }
}



function clearEmail(){
	if  (document.forms.form_id.email.value == "Your e-mail") {
		document.forms.form_id.email.value = "";
	}
}
function clearQuestion(){
	if  (document.forms.form_id.question.value == "Your question here") {
		document.forms.form_id.question.value = "";
	}
}

function clearTextArea(){

	if  (document.forms.form2.question.value == "Leave your comments here") {

		document.forms.form2.question.value = "";

	}

}
