    /* Author: Elsi Caldeira       creation date: 12/21/2002    */    var isN4,isIE,isN6,menutimer1,menutimer2; //variables   	// Detected what kind of browser is 	if (document.all) {		        isIE = true;	    }	    if (document.layers) {	        isN4 = true;	    }	    if (document.getElementById && !document.all) {		        isN6 = true;	    }	/* function: turnOnLayer	   parameters:  layerN-> Name of the layer to turn on	   Description:  Turn on a layer*/		function turnOnLayer(layerN) {		clearTimeout(menutimer1);		//clearTimeout(menutimer2);		if (isN4) {					 	eval("document.contentLayer.document." + layerN + ".visibility = 'visible'");   	   				}		if (isIE) {          	eval("document.all." + layerN + ".style.visibility= 'visible'");        }        if (isN6) {          elem = document.getElementById(layerN);          elem.style.visibility = 'visible';		}			}	/* function: turnOffLayer	   parameters:  layerN-> Name of the layer to turn on	   Description:  Turn off a layer*/    function turnOffLayer(layerN) {		if (isN4) {		  eval("document.contentLayer.document." + layerN + ".visibility = 'hidden'");   	   				}		if (isIE) {          eval("document.all." + layerN + ".style.visibility= 'hidden'");        }        if (isN6) {          elem = document.getElementById(layerN);          elem.style.visibility = 'hidden';		    }    }            /* function: clearMenu	   parameters:  menuN -> name of the menu layer	   Description:  Set the timer to turn off the menu    */        function clearMenu(menuN) {	if (menuN == "textMenu1")     		menutimer1 = setTimeout("turnOffLayer('textMenu1');",2000); 	else     		menutimer2 = setTimeout("turnOffLayer('textMenu2');",1000);	    }     /* function: clearMenuTimer	parameters:  menuN -> name of the menu layer	Description:  Clear the timer to keep the menu on    */    function clearMenuTimer(menuN) {	if (menuN == "textMenu1")		clearTimeout(menutimer1);	else		clearTimeout(menutimer2);    }