<!--
//if (screen.width==1024)
//alert(document.all['abc'].style.margin-left);
//alert(document.all['abc']);
/*function movediv()
{
if (screen.width==1024)
	document.getElementById ("abc").style.margin="0px 26px 0px 0px;"
else
	document.getElementById ("abc").style.margin="0px 0px 0px 0px;"
}*/

//-------------------------------------------------------------------
function spawnWindow(desktopURL,windowName,width,height,scroll)
	{
		window.open(desktopURL, windowName, "toolbar=no,location=no,status=no,menubar=no,scrollbars="+scroll+",width="+width+",height="+height+",resizable=no" );
	}

	function popup()
	{
		spawnWindow("pop_up.html", "DVD", 420, 420, "no");
		return false;
	}

	function pop_ski()
	{
		spawnWindow("swf/ski-vacation.swf", "SKI", 400, 400, "no");
		return false;
	}

	function pop_makeup()
	{
		spawnWindow("swf/israir_love_400x400.swf", "Makeup", 400, 400, "no");
		return false;
	}

    function pop_pesah()
	{
		spawnWindow("popup_2303.htm", "Pesah", 500, 300, "no");
		return false;
	}


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) {
		a2_on = newImage("images/star_1_on.jpg");
		a3_on = newImage("images/star_2_on.jpg");
		a4_on = newImage("images/star_3_on.jpg");
		a5_on = newImage("images/star_4_on.jpg");
		a6_on = newImage("images/star_5_on.jpg");
		a7_on = newImage("images/star_6_on.jpg");
		a8_on = newImage("images/star_7_on.jpg");

		preloadFlag = true;
	}
}


function swapImg(img_id,img_src){
	document.getElementById(img_id).src = img_src;
}


function toggleDiv(divId) {
	var divHeight = document.getElementById(divId).style.display;
	
	if (divHeight=="none") {
	 divHeight="block";
	}else{
	 divHeight="none";
	} 
		
	document.getElementById(divId).style.display = divHeight;
	
}

function toggleOneDivPerCat(divId) {
	var divHeight = document.getElementById(divId).style.display;
	var divCat = divId.substr(0,5);
	var divCtr = parseInt(eval(divCat + "_counter"))
	var divRow;
	
	
	
	for(var i=1;i<=divCtr;i++){
	 if(divId==divCat + "_" + i){ 
	 
	  divHeight = document.getElementById(divId).style;
	  divRow = document.getElementById(divId + "_row").style;  
		
		if (divHeight.display=="none") {
		divHeight.display="block";
	    divRow.fontWeight = "bold"	
		}else{
		divHeight.display="none";
	    divRow.fontWeight = "100"	
		} 		 	 
	 
	 }else{
	  divHeight = document.getElementById(divCat + "_" + i).style;  
	  divHeight.display = 'none';
	  
	  divRow = document.getElementById(divCat + "_" + i + "_row").style;  
	  divRow.fontWeight = "100"
	  //divRow.font-weight = "bold";
	  
	 }
	}
	
	


}

function HiThis_SR_NEW(item)
{
	//alert(item);
	var itemTR = eval("document.all." + item);
	itemBG = itemTR.style.backgroundColor;
	itemTR.style.backgroundColor = "#D9EAFF";
	
			
}
		
function LowThis_SR_NEW(item)
{
	//alert(item);
	var itemTR = eval("document.all." + item);
	itemTR.style.backgroundColor = itemBG;
	
}
//-->