
<!--

/***********************************************
* Script para habilitar o menu para o IE
***********************************************/



sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);




/***********************************************
* Script para abrir janelas
***********************************************/
		
		function novajanela(janela) {
			args = "width=" + (700) + ",height=" + (505)
			+ ",location=0,menubar=0,resizable=1,scrollbars=yes,status=0,titlebar=no,"
			+ "toolbar=0,hotkeys=0,z-lock=1,screenx=0,screeny=0,left=20,top=10";
			window.open( janela,'',args );
		}


/************************************************************
* Script para abrir janelas com as imagens de trānsito (CTTU)
*************************************************************/
		
		function janelacttu(janela) {
			args = "width=" + (800) + ",height=" + (600)
			+ ",location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=no,"
			+ "toolbar=0,hotkeys=0,z-lock=1,screenx=0,screeny=0,left=20,top=10";
			window.open( janela,'',args );
		}		
		
		
/***********************************************
* Script para abrir janelas dos mapas de Seplan
***********************************************/

	
	function JanelaMapa(newURL,winName) {
	window.open(newURL,winName,'width=790,height=547,top=0,left=0,toolbar=no,resizable=0,scrollbars=yes');
	}
	

	function JanelaBairro(url,winName) {
	window.open(url,winName,'width=500,height=450,top=30,left=150,toolbar=no,scrollbars=yes');
	}

	
			

<!--
startList = function() {

	// code for IE
	if(!document.body.currentStyle) return;
	var subs = document.getElementsByName('submenu');
	for(var i=0; i<subs.length; i++) {
		var li = subs[i].parentNode;
		if(li && li.lastChild.style) {
			li.onmouseover = function() {
				this.lastChild.style.visibility = 'visible';
			}
			li.onmouseout = function() {
				this.lastChild.style.visibility = 'hidden';
			}
		}
	}
}
window.onload=startList;
-->


