// JavaScript Document
var submenu=new Array()

//Set submenu contents. Expand as needed. For each content, make sure everything exists on ONE LINE. Otherwise, there will be JS errors.
/*
SUBMENUS
0 - Institucional
1 - Serviços
*/
submenu[0]='<a href="#" onclick="abrirPag('+"'dir_amdepol.php'"+', '+"'meioPcp'"+');"  style="color:#FFFFFF">Diretoria AMDEPOL</a> | <a href="#" onclick="abrirPag('+"'dir_sindepo.php'"+', '+"'meioPcp'"+');"  style="color:#FFFFFF">Diretoria SINDEPO</a> | <a href="#" onclick="abrirPag('+"'historico.php'"+', '+"'meioPcp'"+');"  style="color:#FFFFFF">Hist&oacute;rico</a>'

submenu[1]='<a href="#" onclick="abrirPag('+"'classificados.php'"+', '+"'meioPcp'"+');"  style="color:#FFFFFF">Classificados</a> | <a href="#" onclick="abrirPag('+"'contas.php'"+', '+"'meioPcp'"+');"  style="color:#FFFFFF">Presta&ccedil;&atilde;o de Contas</a> | <a href="#" onclick="abrirPag('+"'legislacao.php'"+', '+"'meioPcp'"+');"  style="color:#FFFFFF">Legisla&ccedil;&atilde;o</a> | <a href="#" onclick="abrirPag('+"'links.php'"+', '+"'meioPcp'"+');"  style="color:#FFFFFF">Links</a> | <a href="http://www.policiacivil.mt.gov.br/concursos.php?IDCategoria=348" target=_blank style="color:#FFFFFF">Concurso PJC/MT</a> | <a href="mail.php" onClick="return hs.htmlExpand(this, { objectType: \'ajax\' } )" style="color:#ffffff">Acesso ao e-mail</a>'

//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=500

/////No need to edit beyond here

function showit(which){
	clear_delayhide()
	thecontent=(which==-1)? "" : submenu[which]
	if (document.getElementById||document.all){
	document.getElementById("describe").innerHTML=thecontent;
	}
	else if (document.layers){
		document.getElementById("describe").document.write(thecontent)
		document.getElementById("describe").document.close()
	}
}

function resetit(e){
if (document.all&&!document.getElementById("describe").contains(e.toElement))
delayhide=setTimeout("showit(-1)",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout("showit(-1)",delay_hide)
}

function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

