function MySubmit(Where)
	{
		document.contact.action=Where
		document.contact.submit();
	}	
		function CheckDetails()
		{
			var text;
			if (document.contact.fullname.value =="" )
				text ="נא להכניס שם מלא";
			
			else if (document.contact.email.value == "")
				text ="נא להכניס כתובת דואר אלקטרוני";
	        
	        else if (document.contact.phone.value =="" )
				text ="נא להכניס מספר טלפון";
			else 
			{
				document.contact.submit();
				return;								
			}								
			alert(text);	
		}
		
		function validEmail(email)
		{
			invalidChars = " /:,;'"
					
			if (email == "") {
				return false
			}
			for (i=0; i<invalidChars.length; i++) {
				badChar = invalidChars.charAt(i)
				if (email.indexOf(badChar,0) > -1) {
					return false
				}
			}
			atPos = email.indexOf("@",1)
			if (atPos == -1) {
				return false
			}
			if (email.indexOf("@",atPos+1) != -1) {
				return false
			}
			periodPos = email.indexOf(".",atPos)
			if (periodPos == -1) {
				return false
			}
			if (periodPos+3 > email.length)	{
				return false
			}
			
			if (noHeb(email)== false) {
				return false
			}
		//	for (i=0; i<email.length; i++) {
		//		if (email.charAt(i) >="א" && email.charAt(i)<="ת" )  {
		//			return false
		//		}
		//	}
			return true
		}