var PHONE = "+972-(0)4-6944463"
var EMAIL = "naaman@netvision.net.il";
var aryImages = new Array();
////////////////////////////////////////////////////////////////////////////
function SwapTopeMenu(getImgName,action){
	if(action == 1)//over
		document.getElementById(getImgName).src='images/top_menu_over.gif';
	else
		document.getElementById(getImgName).src='images/top_menu_out.gif';
}
////////////////////////////////////////////////////////////////////////////
function goToUrl(getURL,ImgHeader){
	//document.getElementById("headerImg").style.backgroundImage = "url(images/"+ImgHeader+".jpg)";
	//parent.main.location.href = getURL;
	location.href = getURL;
}
////////////////////////////////////////////////////////////////////////////
function OpenPop(getNum){
	OpenPopWin = window.open('home_pop'+getNum+'.html', 'newwindow','width=841, height=618, top=40,left=60,toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no')
}
////////////////////////////////////////////////////////////////////////////
function displayInputFocus(FieldName)
{
	//document.getElementById(FieldName).style.border="1px solid #696969";
	document.getElementById(FieldName).style.color="#FFFFFF";
	document.getElementById(FieldName).style.backgroundColor="#790000";
}
////////////////////////////////////////////////////////////////////////////
function displayInputRemove(FieldName)
{
	//document.getElementById(FieldName).style.border="1px solid #878989";
	document.getElementById(FieldName).style.color="#000000";
	document.getElementById(FieldName).style.backgroundColor="#CECECE";
}
////////////////////////////////////////////////////////////////////////////
function displayInputBTRemove(FieldName)
{
	document.getElementById(FieldName).style.border="1px solid #D7D7D7";
	document.getElementById(FieldName).style.color="#000000";
	document.getElementById(FieldName).style.backgroundColor="#A5A5A5";
}
////////////////////////////////////////////////////////////////////////////
function PreLoadImages(){
	for (i=0; i < aryImages.length; i++) {
	  var preload = new Image();
	  preload.src = aryImages[i];
	}
}
////////////////////////////////////////////////////////////////////////////
function OpenNewWindow(page) {
	OpenWin = window.open(page, 'newwindow','width=530, height=460, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no')
}

