function validate_contactform()
{
	var x=document.forms["contactus"]["name"].value
	if (x==null || x=="")
	{
		alert("אנא הכנס את שמך");
		return false;
	}
	var x=document.forms["contactus"]["message"].value
	if (x==null || x=="")
	{
		alert("אנא הכנס הודעה");
		return false;
	}var x=document.forms["contactus"]["email"].value
	if (x==null || x=="")
	{
		alert("אנא הכנס כתובת דואר אלקטרוני");
		return false;
	}
	var x=document.forms["contactus"]["email"].value
	var atpos=x.indexOf("@");
	var dotpos=x.lastIndexOf(".");
	if (atpos<1 || dotpos<atpos+2 || dotpos+2>=x.length)
	{
		alert("אנא הכנס כתובת דואר אלקטרוני תקינה");
		return false;
	}
}


