// JavaScript Document

function validate_form ( myform )
{
    
 	valid = true;
	   

    if (myform.email.value == '' || myform.email.name == ''  || myform.comments.value == '' )
    {
        var e= "Please fill in the required fields" ;
        valid = false;
		document.getElementById('error').style.display="block";
		document.getElementById('error').innerHTML=e;

		
    }


    return valid;
}
