function validate_contact(form_passed)  {

var msg="";
	
if (form_passed.cname.value == "") msg += " * Enter your name\n";	


if (form_passed.cemail.value.indexOf("@")==-1) {
		msg += " * Enter your email \n";
}

if (form_passed.ccomment.value == "") msg += " * Enter your comment\n";	

	if (msg == "") {

		document.contact_form.submit();
		
	} else{
		alert("Please input the following field(s):\n" + msg);
		}
}
