<!--
<!--

// Global variables
var bateimalon;
function popup(win_path,wdth,hght,take_it_left,take_it_down,site)
	{
	if(win_path=="המקהב רתאה")
		{
		return;
		}
	else
		if(!bateimalon || bateimalon.closed)
			{
			if(site=="yes")
				{
				bateimalon=window.open(win_path,"bateimalonwin","width="+wdth+",height="+hght+",status=no,toolbar=no,menubar=no,location=no,resizable=no,scrollbars=no");
				}
			else	
				{
				bateimalon=window.open(win_path,"bateimalonwin","width="+wdth+",height="+hght+",status=no,toolbar=no,menubar=no,location=no,resizable=no,scrollbars=no");
				}
			//bateimalon.moveTo(screen.width/2-take_it_left,screen.height/2-take_it_down);
			}
		else
		bateimalon.focus();
	}

function s1_onmouseout() {
document.bateimalon.s1.style.backgroundColor="#E5E5DF";
}

function s1_onmouseover() {
document.bateimalon.s1.style.backgroundColor="#FECC4A";
}
function s2_onmouseout() {
document.bateimalon.s2.style.backgroundColor="#E5E5DF";
}

function s2_onmouseover() {
document.bateimalon.s2.style.backgroundColor="#FECC4A";

}
	
	function validate() {
    if (document.bateimalon.name.value.length < 1) {
	    window.alert("לא כתבת שם");
		return false;
	}
    
	if (document.bateimalon.Phone_nomber.value.length < 3) {
	    window.alert("לא כתבת טלפון");
		return false;
	}
	if (document.bateimalon.address.value.length < 1) {
	    window.alert("לא כתבת כתובת מגורים");
		return false;
	}
	window.location.href="thanks.html"
	return true;
}
	
	function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}
var preloadFlag = false;
function preloadImages() {
	if (document.images) {
	    buttun_1_over = newImage("images/button_1-over.gif");
		button_2_over = newImage("images/button_2-over.gif");
		button_3_over = newImage("images/button_3-over.gif");
		button_4_over = newImage("images/button_4-over.gif");
		buttun_5_over = newImage("images/button_5-over.gif");
		button_6_over = newImage("images/button_6-over.gif");
		button_7_over = newImage("images/button_7-over.gif");
		preloadFlag = true;
	
	}
}

//-->

	