function playFile(which) {
window.open("player.asp?file="+which,"BeilinPlayer","width=320,height=325,top=20,left=20,resizable=yes");
}

function openVideo(which) {
window.open("videoPlayer.asp?file="+which,"videoPlayer","width=500,height=560,top=50,left=50,resizable=no");
}

function validate(theForm) {
if (theForm.name.value == "") {
	alert("נא למלא שם");
	theForm.name.focus();
	return (false);
	}
if (theForm.email.value == "") {
	alert("נא למלא כתובת אימייל");
	theForm.email.focus();
	return (false);
	}
if (theForm.email.value.indexOf("@")<1 || theForm.email.value.indexOf(".")<1) {
	alert("נא למלא כתובת אימייל תקינה");
	theForm.email.focus();
	return (false);
	}
if (theForm.comments.value == "") {
	alert("נא למלא הודעתך");
	theForm.comments.focus();
	return (false);
	}
return (true);
}

function validate_eng(theForm) {
if (theForm.name.value == "") {
	alert("Name required");
	theForm.name.focus();
	return (false);
	}
if (theForm.email.value == "") {
	alert("Email required");
	theForm.email.focus();
	return (false);
	}
if (theForm.email.value.indexOf("@")<1 || theForm.email.value.indexOf(".")<1) {
	alert("Valid email required");
	theForm.email.focus();
	return (false);
	}
if (theForm.comments.value == "") {
	alert("Message required");
	theForm.comments.focus();
	return (false);
	}
return (true);
}