<!--if ((is_nav3up) || (is_ie4up)) br = "good";else br = "bad";var webSections = new Array();		webSections[0] = "profiles";webSections[1] = "about";webSections[2] = "prospective_members";webSections[3] = "facilities";webSections[4] = "holidays";webSections[5] = "traditions";webSections[6] = "shabbat";webSections[7] = "calendar";webSections[8] = "simchas";webSections[9] = "links";webSections[10] = "books";webSections[11] = "recipes";webSections[12] = "news";webSections[13] = "isaeli_news";webSections[14] = "feature_article";webSections[15] = "parasha";webSections[16] = "kids";webSections[17] = "adults";webSections[18] = "classes";webSections[19] = "seniors";webSections[20] = "israel_programs";webSections[21] = "educators";var currentPage = '';// loop through the section array to identify the subscript of the section we're in                for (i=0; i < webSections.length; i++) {                	if (webSections[i] == section) {		i++;		currentPage = "img" + i;	}}       if (document.images) {            // Active Images                                    if (section == "home") {         				//this is because they want all the images reversed on the homepage.                                      	  		   img99on = new Image();img99on.src = "/images/nav_home_on.gif";            img99off = new Image();img99off.src = "/images/nav_home_off.gif";                                          		  cat1Aon = new Image();cat1Aon.src = "/images/nav_cat1_off.jpg";           cat1Aoff = new Image();cat1Aoff.src = "/images/nav_cat1_on.jpg";           cat4Aon = new Image();cat4Aon.src = "/images/nav_cat4_off.jpg";           cat4Aoff = new Image();cat4Aoff.src = "/images/nav_cat4_on.jpg";          	cat2Aon = new Image();cat2Aon.src = "/images/nav_cat2_off.jpg";           cat2Aoff = new Image();cat2Aoff.src = "/images/nav_cat2_on.jpg";          	cat5Aon = new Image();cat5Aon.src = "/images/nav_cat5_off.jpg";           cat5Aoff = new Image();cat5Aoff.src = "/images/nav_cat5_on.jpg";            cat9Aon = new Image();cat9Aon.src = "/images/nav_cat9_off.jpg";           cat9Aoff = new Image();cat9Aoff.src = "/images/nav_cat9_on.jpg";                } else {                   img99on = new Image();img99on.src = "/images/nav_home_on.gif";            img99off = new Image();img99off.src = "/images/nav_home_off.gif";                        cat1Aon = new Image();cat1Aon.src = "/images/nav_cat1_on.jpg";           cat1Aoff = new Image();cat1Aoff.src = "/images/nav_cat1_off.jpg";           cat4Aon = new Image();cat4Aon.src = "/images/nav_cat4_on.jpg";           cat4Aoff = new Image();cat4Aoff.src = "/images/nav_cat4_off.jpg";          	cat2Aon = new Image();cat2Aon.src = "/images/nav_cat2_on.jpg";           cat2Aoff = new Image();cat2Aoff.src = "/images/nav_cat2_off.jpg";          	cat5Aon = new Image();cat5Aon.src = "/images/nav_cat5_on.jpg";           cat5Aoff = new Image();cat5Aoff.src = "/images/nav_cat5_off.jpg";            cat9Aon = new Image();cat9Aon.src = "/images/nav_cat9_on.jpg";           cat9Aoff = new Image();cat9Aoff.src = "/images/nav_cat9_off.jpg";                                    }        }function imgOn(imgName) {        if (br == "good") {                		//alert('imgOn...' + imgName);                document[imgName].src = eval(imgName + "on.src");                //document.hold.src = eval(imgName + "hold.src");                                //window.status = eval(imgName + "copy");       			       }}function imgOff(imgName) {        if (br == "good") {                                if (imgName == currentPage) {                	document[imgName].src = eval(imgName + "on.src");	            } else { 	            	document[imgName].src = eval(imgName + "off.src");	            }  				                     }}// Determine browser.var isMinNS4 = document.layersvar ie=document.all&&navigator.userAgent.indexOf("Opera")==-1var dom=document.getElementById&&!ie&&navigator.userAgent.indexOf("Opera")==-1//-----------------------------------------------------------------------------// Layer visibility.//-----------------------------------------------------------------------------//if (dom) { alert('DOM'); }function hideLayer(layer) {	  if (isMinNS4) {      document.layers[layer].visibility = "hide";  	}	    if (ie||dom) {    	elm = document.getElementById(layer);	elm.style.visibility = "hidden";	}}function showLayer(layer, layerID) {	//alert('showLayerID' + layerID);	clearTimeout(TimeOutNum);	beginHide(layerID);	  if (isMinNS4) {  	//alert('showLayer' + layer);    document.layers[layer].visibility = "show";    imgOn(layer + 'A');        }      if (ie||dom) {  	elm = document.getElementById(layer);	elm.style.visibility = "visible";	imgOn(layer + 'A');	}}function beginHide() {				var layerID;		if (arguments.length>0) {					layerID = arguments[0];				} else {				layerID="";				}				var allMenuLayers = Array('cat1','cat4','cat2','cat5','cat9');		//alert(layerID);		for (var i=0; i<allMenuLayers.length; i++) {						if (isMinNS4) {				//alert('ON');				document.layers[allMenuLayers[i]].visibility="hide";				//alert('ON');				if (allMenuLayers[i] != layerID) imgOff(allMenuLayers[i] + 'A');				//alert('ON');			} 						if (ie||dom) {						elm = document.getElementById(allMenuLayers[i]);			elm.style.visibility = "hidden";			//if (i==3) alert("all layers[" + allMenuLayers[i] + "] ["+ layerID + "]");			//if (i==3) imgOff(allMenuLayers[i] + 'A');			if (allMenuLayers[i] != layerID) imgOff(allMenuLayers[i] + 'A');						}				}	}var TimeOutNum = 0;function SetTimer(layer, layerID) {	TimeOutNum = setTimeout("beginHide('" + layerID + "');",1000);	}// -->