/* * Function: Simple Layer-Script for the Navigation * Author: Oliver Arnoczky, UPDATE AG * Date: 06-13-2003*//* Browserabfrage: Layer-Object bekannt? */if (document.layers)      {ns = 1; ie = 0;}else  {ns = 0; ie = 1;}/* Funktion Dokument initialisieren - nicht notwendig */ function init() {if (ns) layer = document.Layer1;                 if (ie) layer = Layer1.style;				 }// mouse out -> closeMenufunction menuOut(layerx)	{		if(document.getElementById(layerx )==null){				return;	}	else{			hideLayer(layerx);				}	}// mouseover -> openMenufunction menuIn(layerx,y){		//window.status=window.event.offsetX;			hideAllMouseOvers();			if(document.getElementById(layerx)==null){			return;		}		else{						displayLayer(layerx);		}}function showNavBG(navid){	document.getElementById(navid).style.background='transparent url("/img/bg_itemhover.gif")' ;		}function hideNavBG(navid){	document.getElementById(navid).style.backgroundImage='url("/img/blank.gif")' ;	}function Showimg(imgid,subid){		if(document.getElementById(imgid)!= null && document.getElementById(subid)){	document.getElementById(imgid).style.visibility="visible"; 			document.getElementById(subid).style.backgroundColor="#ded7de";	}		}function Hideimg(imgid,subid){	if(document.getElementById(imgid)!= null && document.getElementById(subid)){	document.getElementById(imgid).style.visibility="hidden"; 		document.getElementById(subid).style.backgroundColor="#b5b7b9";	}		}// layerfunctions        function Is() { 		var agent = navigator.userAgent.toLowerCase();  		this.major = parseInt(navigator.appVersion);  	this.minor = parseFloat(navigator.appVersion);  		this.ns = ((agent.indexOf('mozilla')!=-1) && (agent.indexOf('spoofer')==-1) && (agent.indexOf('compatible') == -1) );  	this.ns2 = (this.ns && (this.major == 2)); 	this.ns3 = (this.ns && (this.major == 3));  	this.ns4b = (this.ns && (this.minor < 4.04));  	this.ns4 = (this.ns && (this.major >= 4)); 	this.ns6 = (this.ns && (this.major >= 6)); 		this.ie = (agent.indexOf('msie') != -1);  	this.ie3 = (this.ie && (this.major == 2));  	this.ie4 = (this.ie && (this.major >= 4));  	this.op3 = (agent.indexOf('opera') != -1); 	this.ver5m=(this.major >= 5); 	}        var is = new Is();           function displayLayer(lname) {         	vis='visible';   estr='';          	       		if (!is.ver5m) {        		 if (is.ie){        		  	        		  	estr='document.all["'+lname+'"].style.visibility="'+vis+'"';        		  }        		 if (is.ns6) estr='document.layers.'+lname+'.visibility="'+vis+'"';           		 eval(estr);        		         		}          		        	else{        	 document.getElementById(lname).style.visibility=vis;        	         	 }        	}                        function hideLayer(lname) { 			        		        	vis='hidden';   estr='';          		        	if (!is.ver5m) { 	        		if (is.ie) estr='document.all["'+lname+'"].style.visibility="'+vis+'"';   	        		if (is.ns6) estr='document.layers.'+lname+'.visibility="'+vis+'"';      	        		eval(estr);	        			        		}  	        	else document.getElementById(lname).style.visibility=vis; 	        	        }                   if (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion.substring(0,1)) >=3))      || ((navigator.appName == "Microsoft Internet  Explorer")&&(parseInt(navigator.appVersion.substring(0,1)) >=4)))      {var version=true}function jWDOpenPopUp(strImage,intFlag){	var strProp='scrollbars=no,resizable=yes,titlebar=no,statusbar=no,left=0,top=0,height=300,width=300';	window.open("/imageCat/Display/prvimage.asp?image=" + strImage+"&flag="+intFlag, "imagewallpaper", strProp);}function hideAllMouseOvers()	{		for(iAllM=0;iAllM<10;iAllM++){		if(document.getElementById(arrMouseOver[iAllM])==null){						}		else{			hideLayer(arrMouseOver[iAllM]);					}		}}// nop = do nothing = no operationfunction nop(){}