var h1 = "<h1>";
var h1f = "</h1>";
var h2 = "<h2>";
var h2f = "</h2>";
var h3 = "<h3>";
var h3f = "</h3>";
var br = "<br/>";


try {
	var _root_spg = window.parent.Testa.document.getElementById('MUNI');
} catch (e) {
	try {
		var _root_spg = document.getElementById('MUNI');
	} catch (e) { }
}


function REX(Cod) {
	if (window.name != "Cópia") {
		document.write("<div id='Jan"
				       + Cod
				       + "' style=\"position:absolute; background-color: #ffffff; border:1px solid #710071; left:5px; top:auto; width:85%; overflow:auto; visibility:hidden; display: none\">")
		document.write("<p class='tituloREX'>EXTINTOS/EXCLUÍDOS</p>")
		document.write("<p class='xREX' onClick='REXFecha()'>X</p>")
//		document.write("<p class='printREX' onclick=javascript:window.open('1955/L0001','Cópia','width=600,height=400,resizable=yes,scrollbars=yes,menubar=yes,toolbar=no')>Imprimir</a></p>")
		document.write("<div id='Jan"
					+ Cod
					+ "b' style=\"position:auto; width:100%; background:#ffffff;\">")
		document.write("<div id='" + Cod + "txt'></div>")
		document.write("</div>")
		document.write("<center><img src='"
						+ DirImgs
						+ "REXr.gif'><img src='"
						+ DirImgs
						+ "REXb1.gif' onClick='REXFecha()' onMouseOver=\"src=\'"
						+ DirImgs
						+ "REXb2.gif\'\" onMouseOut=\"src=\'"
						+ DirImgs
						+ "REXb1.gif\'\"><img src='"
						+ DirImgs
						+ "REXl.gif'></CENTER>")
		document.write("")
		document.write("</div>")

		New = "<img src='" + DirImgs + "REX1.gif' onMouseOut=\"src='" + DirImgs
				+ "REX1.gif'\" onMouseOver=\"src='" + DirImgs
				+ "REX2.gif'\" onClick=\"JanREXabre(\'"
		New += Cod
		New += "\')\">"

		document.write(New);
	}
}
JanREXaberta = ""
function JanREXabre(Cod) {
	eval(Cod + "texto=document.getElementById('" + Cod + "txt')")
	eval(Cod + "Ctd=document.getElementById('" + Cod + "conteudo')")
	eval(Cod + "texto.innerHTML=" + Cod + "Ctd.innerHTML")

	MM_changeProp("Jan" + Cod, "", 'style.zIndex', 2)
	MM_changeProp("Jan" + Cod, "", 'style.visibility', 'visible')
	MM_changeProp("Jan" + Cod + "b", "", 'style.visibility', 'visible')
	MM_changeProp("Jan" + Cod, "", 'style.display', '')
	MM_changeProp("Jan" + Cod + "b", "", 'style.display', '')

	if (JanAberta != "") {
		JanFecha()
	}
	if (JanREXaberta != "") {
		if (JanREXaberta == "Jan" + Cod) {
			REXFecha()
		} else {
			REXFecha()
			JanREXaberta = "Jan" + Cod
		}
	} else {
		JanREXaberta = "Jan" + Cod
	}
}

function REXFecha() {
	if (JanREXaberta != "") {
		MM_changeProp(JanREXaberta, "", 'style.visibility', 'hidden')
		MM_changeProp(JanREXaberta + "b", "", 'style.visibility', 'hidden')
		MM_changeProp(JanREXaberta, "", 'style.display', 'none')
		MM_changeProp(JanREXaberta + "b", "", 'style.display', 'none')
		MM_changeProp(JanREXaberta, "", 'style.zIndex', -1)
		JanREXaberta = ""
	}
}

function REXAnt(Cod, Dt1, Tx1, Dt2, Tx2, Dt3, Tx3, Dt4, Tx4, Dt5, Tx5, Dt6,
		Tx6, Dt7, Tx7, Dt8, Tx8, Dt9, Tx9, Dt10, Tx10, Dt11, Tx11, Dt12, Tx12,
		Dt13, Tx13, Dt14, Tx14, Dt15, Tx15, Dt16, Tx16, Dt17, Tx17, Dt18, Tx18,
		Dt19, Tx19, Dt20, Tx20, Dt21, Tx21) {

	if (window.name != "Cópia") {

		REXConteudo = "<div style='background:#ffffff fixed'><p class=dataREX>&nbsp;&nbsp;&nbsp;• <b>"
		                        + Dt1
					+ "</b></p></div><br/><div class='textoREX'>"
					+ Tx1 + "</div>"


		tDt2 = "[" + Dt2 + "]"
		if (tDt2 != "[undefined]") {
			REXConteudo += "<div style='background:#ffffff fixed'><p class=dataREX>&nbsp;&nbsp;&nbsp;• <b>"
					+ Dt2
					+ "</b></p></div><br/><div class='textoREX'>"
					+ Tx2 + "</div>"
		}
		tDt3 = "[" + Dt3 + "]"
		if (tDt3 != "[undefined]") {
			REXConteudo += "<div style='background:#ffffff fixed'><p class=dataREX>&nbsp;&nbsp;&nbsp;• <b> "
					+ Dt3
					+ "</b></p></div><br/><div class='textoREX'>"
					+ Tx3 + "</div>"
		}
		tDt4 = "[" + Dt4 + "]"
		if (tDt4 != "[undefined]") {
			REXConteudo += "<center><img src='"
					+ DirImgs
					+ "REXlinhaM.bmp' width='50%' height=13></center><center><table width='98%'  border=0 cellpadding=4><tr><td height=17 bgcolor=#FFE1FF><font color=#660066><b>&nbsp;&nbsp;&nbsp;• "
					+ Dt4
					+ "<\/b><\/font></b><\/td><\/tr><tr><td><font color=#0000FF>"
					+ Tx4 + "<\/font></b><\/td><\/tr><\/table><\/center>"
		}
		tDt5 = "[" + Dt5 + "]"
		if (tDt5 != "[undefined]") {
			REXConteudo += "<center><img src='"
					+ DirImgs
					+ "REXlinhaM.bmp' width='50%' height=13></center><center><table width='98%'  border=0 cellpadding=4><tr><td height=17 bgcolor=#FFE1FF><font color=#660066><b>&nbsp;&nbsp;&nbsp;• "
					+ Dt5
					+ "<\/b><\/font></b><\/td><\/tr><tr><td><font color=#0000FF>"
					+ Tx5 + "<\/font></b><\/td><\/tr><\/table><\/center>"
		}
		tDt6 = "[" + Dt6 + "]"
		if (tDt6 != "[undefined]") {
			REXConteudo += "<center><img src='"
					+ DirImgs
					+ "REXlinhaM.bmp' width='50%' height=13></center><center><table width='98%'  border=0 cellpadding=4><tr><td height=17 bgcolor=#FFE1FF><font color=#660066><b>&nbsp;&nbsp;&nbsp;• "
					+ Dt6
					+ "<\/b><\/font></b><\/td><\/tr><tr><td><font color=#0000FF>"
					+ Tx6 + "<\/font></b><\/td><\/tr><\/table><\/center>"
		}
		tDt7 = "[" + Dt7 + "]"
		if (tDt7 != "[undefined]") {
			REXConteudo += "<center><img src='"
					+ DirImgs
					+ "REXlinhaM.bmp' width='50%' height=13></center><center><table width='98%'  border=0 cellpadding=4><tr><td height=17 bgcolor=#FFE1FF><font color=#660066><b>&nbsp;&nbsp;&nbsp;• "
					+ Dt7
					+ "<\/b><\/font></b><\/td><\/tr><tr><td><font color=#0000FF>"
					+ Tx7 + "<\/font></b><\/td><\/tr><\/table><\/center>"
		}
		tDt8 = "[" + Dt8 + "]"
		if (tDt8 != "[undefined]") {
			REXConteudo += "<center><img src='"
					+ DirImgs
					+ "REXlinhaM.bmp' width='50%' height=13></center><center><table width='98%'  border=0 cellpadding=4><tr><td height=17 bgcolor=#FFE1FF><font color=#660066><b>&nbsp;&nbsp;&nbsp;• "
					+ Dt8
					+ "<\/b><\/font></b><\/td><\/tr><tr><td><font color=#0000FF>"
					+ Tx8 + "<\/font></b><\/td><\/tr><\/table><\/center>"
		}
		tDt9 = "[" + Dt9 + "]"
		if (tDt9 != "[undefined]") {
			REXConteudo += "<center><img src='"
					+ DirImgs
					+ "REXlinhaM.bmp' width='50%' height=13></center><center><table width='98%'  border=0 cellpadding=4><tr><td height=17 bgcolor=#FFE1FF><font color=#660066><b>&nbsp;&nbsp;&nbsp;• "
					+ Dt9
					+ "<\/b><\/font></b><\/td><\/tr><tr><td><font color=#0000FF>"
					+ Tx9 + "<\/font></b><\/td><\/tr><\/table><\/center>"
		}

		tDt10 = "[" + Dt10 + "]"
		if (tDt10 != "[undefined]") {
			REXConteudo += "<center><img src='"
					+ DirImgs
					+ "REXlinhaM.bmp' width='50%' height=13></center><center><table width='98%'  border=0 cellpadding=4><tr><td height=17 bgcolor=#FFE1FF><font color=#660066><b>&nbsp;&nbsp;&nbsp;• "
					+ Dt10
					+ "<\/b><\/font></b><\/td><\/tr><tr><td><font color=#0000FF>"
					+ Tx10 + "<\/font></b><\/td><\/tr><\/table><\/center>"
		}

		tDt11 = "[" + Dt11 + "]"
		if (tDt11 != "[undefined]") {
			REXConteudo += "<center><img src='"
					+ DirImgs
					+ "REXlinhaM.bmp' width='50%' height=13></center><center><table width='98%'  border=0 cellpadding=4><tr><td height=17 bgcolor=#FFE1FF><font color=#660066><b>&nbsp;&nbsp;&nbsp;• "
					+ Dt11
					+ "<\/b><\/font></b><\/td><\/tr><tr><td><font color=#0000FF>"
					+ Tx11 + "<\/font></b><\/td><\/tr><\/table><\/center>"
		}

		tDt12 = "[" + Dt12 + "]"
		if (tDt12 != "[undefined]") {
			REXConteudo += "<center><img src='"
					+ DirImgs
					+ "REXlinhaM.bmp' width='50%' height=13></center><center><table width='98%'  border=0 cellpadding=4><tr><td height=17 bgcolor=#FFE1FF><font color=#660066><b>&nbsp;&nbsp;&nbsp;• "
					+ Dt12
					+ "<\/b><\/font></b><\/td><\/tr><tr><td><font color=#0000FF>"
					+ Tx12 + "<\/font></b><\/td><\/tr><\/table><\/center>"
		}

		tDt13 = "[" + Dt13 + "]"
		if (tDt13 != "[undefined]") {
			REXConteudo += "<center><img src='"
					+ DirImgs
					+ "REXlinhaM.bmp' width='50%' height=13></center><center><table width='98%'  border=0 cellpadding=4><tr><td height=17 bgcolor=#FFE1FF><font color=#660066><b>&nbsp;&nbsp;&nbsp;• "
					+ Dt13
					+ "<\/b><\/font></b><\/td><\/tr><tr><td><font color=#0000FF>"
					+ Tx13 + "<\/font></b><\/td><\/tr><\/table><\/center>"
		}

		tDt14 = "[" + Dt14 + "]";
		if (tDt14 != "[undefined]") {
			REXConteudo += "<center><img src='"
					+ DirImgs
					+ "REXlinhaM.bmp' width='50%' height=13></center><center><table width='98%'  border=0 cellpadding=4><tr><td height=17 bgcolor=#FFE1FF><font color=#660066><b>&nbsp;&nbsp;&nbsp;• "
					+ Dt14
					+ "<\/b><\/font></b><\/td><\/tr><tr><td><font color=#0000FF>"
					+ Tx14 + "<\/font></b><\/td><\/tr><\/table><\/center>"
		}

		tDt15 = "[" + Dt15 + "]"
		if (tDt15 != "[undefined]") {
			REXConteudo += "<center><img src='"
					+ DirImgs
					+ "REXlinhaM.bmp' width='50%' height=13></center><center><table width='98%'  border=0 cellpadding=4><tr><td height=17 bgcolor=#FFE1FF><font color=#660066><b>&nbsp;&nbsp;&nbsp;• "
					+ Dt15
					+ "<\/b><\/font></b><\/td><\/tr><tr><td><font color=#0000FF>"
					+ Tx15 + "<\/font></b><\/td><\/tr><\/table><\/center>"
		}

		tDt16 = "[" + Dt16 + "]"
		if (tDt16 != "[undefined]") {
			REXConteudo += "<center><img src='"
					+ DirImgs
					+ "REXlinhaM.bmp' width='50%' height=13></center><center><table width='98%'  border=0 cellpadding=4><tr><td height=17 bgcolor=#FFE1FF><font color=#660066><b>&nbsp;&nbsp;&nbsp;• "
					+ Dt16
					+ "<\/b><\/font></b><\/td><\/tr><tr><td><font color=#0000FF>"
					+ Tx16 + "<\/font></b><\/td><\/tr><\/table><\/center>"
		}

		tDt17 = "[" + Dt17 + "]"
		if (tDt17 != "[undefined]") {
			REXConteudo += "<center><img src='"
					+ DirImgs
					+ "REXlinhaM.bmp' width='50%' height=13></center><center><table width='98%'  border=0 cellpadding=4><tr><td height=17 bgcolor=#FFE1FF><font color=#660066><b>&nbsp;&nbsp;&nbsp;• "
					+ Dt17
					+ "<\/b><\/font></b><\/td><\/tr><tr><td><font color=#0000FF>"
					+ Tx17 + "<\/font></b><\/td><\/tr><\/table><\/center>"
		}

		tDt18 = "[" + Dt18 + "]"
		if (tDt18 != "[undefined]") {
			REXConteudo += "<center><img src='"
					+ DirImgs
					+ "REXlinhaM.bmp' width='50%' height=13></center><center><table width='98%'  border=0 cellpadding=4><tr><td height=17 bgcolor=#FFE1FF><font color=#660066><b>&nbsp;&nbsp;&nbsp;• "
					+ Dt18
					+ "<\/b><\/font></b><\/td><\/tr><tr><td><font color=#0000FF>"
					+ Tx18 + "<\/font></b><\/td><\/tr><\/table><\/center>"
		}

		tDt19 = "[" + Dt19 + "]"
		if (tDt19 != "[undefined]") {
			REXConteudo += "<center><img src='"
					+ DirImgs
					+ "REXlinhaM.bmp' width='50%' height=13></center><center><table width='98%'  border=0 cellpadding=4><tr><td height=17 bgcolor=#FFE1FF><font color=#660066><b>&nbsp;&nbsp;&nbsp;• "
					+ Dt19
					+ "<\/b><\/font></b><\/td><\/tr><tr><td><font color=#0000FF>"
					+ Tx19 + "<\/font></b><\/td><\/tr><\/table><\/center>"
		}

		tDt20 = "[" + Dt20 + "]"
		if (tDt20 != "[undefined]") {
			REXConteudo += "<center><img src='"
					+ DirImgs
					+ "REXlinhaM.bmp' width='50%' height=13></center><center><table width='98%'  border=0 cellpadding=4><tr><td height=17 bgcolor=#FFE1FF><font color=#660066><b>&nbsp;&nbsp;&nbsp;• "
					+ Dt20
					+ "<\/b><\/font><\/td><\/tr><tr><td><font color=#0000FF>"
					+ Tx20 + "<\/font><\/td><\/tr><\/table><\/center>"
		}

		tDt21 = "[" + Dt21 + "]"
		if (tDt21 != "[undefined]") {
			REXConteudo += "<center><img src='"
					+ DirImgs
					+ "REXlinhaM.bmp' width='50%' height=13></center><center><table width='98%'  border=0 cellpadding=4><tr><td height=17 bgcolor=#FFE1FF><font color=#660066><b>&nbsp;&nbsp;&nbsp;• "
					+ Dt21
					+ "<\/b><\/font><\/td><\/tr><tr><td><font color=#0000FF>"
					+ Tx21 + "</b></b></b><\/font><\/td><\/tr><\/table><\/center>"
		}

		REXConteudo += ""
		document.write("<div id='"
						+ Cod
						+ "conteudo' style='position:absolute; background:#eeeeee; width:100%; visibility:hidden'>")
	document.write("<font color='#993366'>" + REXConteudo + "</font>")
	document.write("</div>")
	}
}

function RA(Cod) {
	if (window.name != "Cópia") {
		document.write("<div id='Jan"
				       + Cod
				       + "' style=\"position:absolute; background-color: #ffffff; border:1px solid #0000cc; padding:3px; left:5px; top:auto; width:98%; overflow:hidden; visibility:hidden; display: none\">")
		document.write("<p class='tituloRA'>REDAÇÃO(ÕES)&nbsp;&nbsp;ANTERIOR(ES) ...</p>")
		document.write("<p class='xRA' onClick='RAFecha()'>X</p>")

//		document.write("<p class='printRA' onClick='self.print()'>Imprimir</a></p>")


		document.write("<div id='Jan"
					+ Cod
					+ "b' style=\"position:auto; width:100%; background:#ffffff;\">")
		document.write("<div id='" + Cod + "txt'></div>")
		document.write("</div>")
		document.write("<center><img src='"
						+ DirImgs
						+ "RAr.gif'><img src='"
						+ DirImgs
						+ "RAb1.gif' onClick='RAFecha()' onMouseOver=\"src=\'"
						+ DirImgs
						+ "RAb2.gif\'\" onMouseOut=\"src=\'"
						+ DirImgs
						+ "RAb1.gif\'\"><img src='"
						+ DirImgs
						+ "RAl.gif'></CENTER>")
		document.write("")
		document.write("</div>")

		New = "<img src='" + DirImgs + "RA1.gif' onMouseOut=\"src='" + DirImgs
				+ "RA1.gif'\" onMouseOver=\"src='" + DirImgs
				+ "RA2.gif'\" onClick=\"JanRAabre(\'"
		New += Cod
		New += "\')\">"

		document.write(New);
	}


}


JanRAaberta = ""
function JanRAabre(Cod) {
	eval(Cod + "texto=document.getElementById('" + Cod + "txt')")
	// eval("alert("+Cod+"texto.innerHTML)")
	eval(Cod + "Ctd=document.getElementById('" + Cod + "conteudo')")
	eval(Cod + "texto.innerHTML=" + Cod + "Ctd.innerHTML")

	MM_changeProp("Jan" + Cod, "", 'style.zIndex', 2)
	MM_changeProp("Jan" + Cod, "", 'style.visibility', 'visible')
	MM_changeProp("Jan" + Cod + "b", "", 'style.visibility', 'visible')
	MM_changeProp("Jan" + Cod, "", 'style.display', '')
	MM_changeProp("Jan" + Cod + "b", "", 'style.display', '')

	if (JanAberta != "") {
		JanFecha()
	}
	if (JanRAaberta != "") {
		if (JanRAaberta == "Jan" + Cod) {
			RAFecha()
		} else {
			RAFecha()
			JanRAaberta = "Jan" + Cod
		}
	} else {
		JanRAaberta = "Jan" + Cod
	}
}

function RAFecha() {
	if (JanRAaberta != "") {
		MM_changeProp(JanRAaberta, "", 'style.visibility', 'hidden')
		MM_changeProp(JanRAaberta + "b", "", 'style.visibility', 'hidden')
		MM_changeProp(JanRAaberta, "", 'style.display', 'none')
		MM_changeProp(JanRAaberta + "b", "", 'style.display', 'none')
		MM_changeProp(JanRAaberta, "", 'style.zIndex', -1)
		JanRAaberta = ""
	}
}

function RedAnt(Cod, Dt1, Rx1, Tx1, Dt2, Rx2, Tx2, Dt3, Rx3, Tx3, Dt4, Rx4, Tx4, Dt5, Rx5, Tx5, Dt6,
		Rx6, Tx6, Dt7, Rx7, Tx7, Dt8, Rx8, Tx8, Dt9, Rx9, Tx9, Dt10, Rx10, Tx10, Dt11, Rx11, Tx11, Dt12, Rx12, Tx12,
		Dt13, Rx13, Tx13, Dt14, Rx14, Tx14, Dt15, Rx15, Tx15, Dt16, Rx16, Tx16, Dt17, Rx17, Tx17, Dt18, Rx18, Tx18,
		Dt19, Rx19, Tx19, Dt20, Rx20, Tx20, Dt21, Rx21, Tx21, Dt22, Rx22, Tx22, Dt23, Rx23, Tx23, Dt24, Rx24, Tx24, Dt25, Rx25, Tx25, Dt26, Rx26, Tx26, Dt27, Rx27, Tx27, Dt28, Rx28, Tx28, Dt29, Rx29, Tx29, Dt30, Rx30, Tx30, Dt31, Rx31, Tx31, Dt32, Rx32, Tx32, Dt33, Rx33, Tx33, Dt34, Rx34, Tx34, Dt35, Rx35, Tx35, Dt36, Rx36, Tx36, Dt37, Rx37, Tx37, Dt38, Rx38, Tx38, Dt39, Rx39, Tx39, Dt40, Rx40, Tx40, Dt41, Rx41, Tx41, Dt42, Rx42, Tx42, Dt43, Rx43, Tx43, Dt44, Rx44, Tx44, Dt45, Rx45, Tx45, Dt46, Rx46, Tx46, Dt47, Rx47, Tx47, Dt48, Rx48, Tx48, Dt49, Rx49, Tx49, Dt50, Rx50, Tx50) {

	if (window.name != "Cópia") {
		RAConteudo = "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
		                        + Dt1
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx1
					+ "</i></p></div><div class='textoRA'>"
					+ Tx1 + "</div>"

		tDt2 = "[" + Dt2 + "]"
		if (tDt2 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt2
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx2
					+ "</i></p></div><div class='textoRA'>"
					+ Tx2 + "</div>"
		}
		tDt3 = "[" + Dt3 + "]"
		if (tDt3 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt3
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx3
					+ "</i></p></div><div class='textoRA'>"
					+ Tx3 + "</div>"
		}
		tDt4 = "[" + Dt4 + "]"
		if (tDt4 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt4
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx4
					+ "</i></p></div><div class='textoRA'>"
					+ Tx4 + "</div>"
		}
		tDt5 = "[" + Dt5 + "]"
		if (tDt5 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt5
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx5
					+ "</i></p></div><div class='textoRA'>"
					+ Tx5 + "</div>"
		}
		tDt6 = "[" + Dt6 + "]"
		if (tDt6 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt6
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx6
					+ "</i></p></div><div class='textoRA'>"
					+ Tx6 + "</div>"

		}
		tDt7 = "[" + Dt7 + "]"
		if (tDt7 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt7
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx7
					+ "</i></p></div><div class='textoRA'>"
					+ Tx7 + "</div>"

		}
		tDt8 = "[" + Dt8 + "]"
		if (tDt8 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt8
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx8
					+ "</i></p></div><div class='textoRA'>"
					+ Tx8 + "</div>"
		}
		tDt9 = "[" + Dt9 + "]"
		if (tDt9 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt9
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx9
					+ "</i></p></div><div class='textoRA'>"
					+ Tx9 + "</div>"
		}

		tDt10 = "[" + Dt10 + "]"
		if (tDt10 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt10
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx10
					+ "</i></p></div><div class='textoRA'>"
					+ Tx10 + "</div>"
		}

		tDt11 = "[" + Dt11 + "]"
		if (tDt11 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt11
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx11
					+ "</i></p></div><div class='textoRA'>"
					+ Tx11 + "</div>"
		}

		tDt12 = "[" + Dt12 + "]"
		if (tDt12 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt12
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx12
					+ "</i></p></div><div class='textoRA'>"
					+ Tx12 + "</div>"
		}

		tDt13 = "[" + Dt13 + "]"
		if (tDt13 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt13
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx13
					+ "</i></p></div><div class='textoRA'>"
					+ Tx13 + "</div>"
		}

		tDt14 = "[" + Dt14 + "]"
		if (tDt14 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt14
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx14
					+ "</i></p></div><div class='textoRA'>"
					+ Tx14 + "</div>"
		}

		tDt15 = "[" + Dt15 + "]"
		if (tDt15 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt15
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx15
					+ "</i></p></div><div class='textoRA'>"
					+ Tx15 + "</div>"
		}

		tDt16 = "[" + Dt16 + "]"
		if (tDt16 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt16
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx16
					+ "</i></p></div><div class='textoRA'>"
					+ Tx16 + "</div>"
		}

		tDt17 = "[" + Dt17 + "]"
		if (tDt17 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt17
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx17
					+ "</i></p></div><div class='textoRA'>"
					+ Tx17 + "</div>"
		}

		tDt18 = "[" + Dt18 + "]"
		if (tDt18 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt18
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx18
					+ "</i></p></div><div class='textoRA'>"
					+ Tx18 + "</div>"
		}

		tDt19 = "[" + Dt19 + "]"
		if (tDt19 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt19
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx19
					+ "</i></p></div><div class='textoRA'>"
					+ Tx19 + "</div>"
		}

		tDt20 = "[" + Dt20 + "]"
		if (tDt20 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt20
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx20
					+ "</i></p></div><div class='textoRA'>"
					+ Tx20 + "</div>"
		}

		tDt21 = "[" + Dt21 + "]"
		if (tDt21 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt21
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx21
					+ "</i></p></div><div class='textoRA'>"
					+ Tx21 + "</div>"
		}
		tDt22 = "[" + Dt22 + "]"
		if (tDt22 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt22
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx22
					+ "</i></p></div><div class='textoRA'>"
					+ Tx22 + "</div>"
		}
		tDt23 = "[" + Dt23 + "]"
		if (tDt23 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt23
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx23
					+ "</i></p></div><div class='textoRA'>"
					+ Tx23 + "</div>"
		}
		tDt24 = "[" + Dt24 + "]"
		if (tDt24 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt24
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx24
					+ "</i></p></div><div class='textoRA'>"
					+ Tx24 + "</div>"
		}
		tDt25 = "[" + Dt25 + "]"
		if (tDt25 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt25
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx25
					+ "</i></p></div><div class='textoRA'>"
					+ Tx25 + "</div>"
		}
		tDt26 = "[" + Dt26 + "]"
		if (tDt26 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt26
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx26
					+ "</i></p></div><div class='textoRA'>"
					+ Tx26 + "</div>"
		}
		tDt27 = "[" + Dt27 + "]"
		if (tDt27 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt27
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx27
					+ "</i></p></div><div class='textoRA'>"
					+ Tx27 + "</div>"
		}
		tDt28 = "[" + Dt28 + "]"
		if (tDt28 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt28
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx28
					+ "</i></p></div><div class='textoRA'>"
					+ Tx28 + "</div>"
		}
		tDt29 = "[" + Dt29 + "]"
		if (tDt29 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt29
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx29
					+ "</i></p></div><div class='textoRA'>"
					+ Tx29 + "</div>"
		}
		tDt30 = "[" + Dt30 + "]"
		if (tDt30 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt30
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx30
					+ "</i></p></div><div class='textoRA'>"
					+ Tx30 + "</div>"
		}
		tDt31 = "[" + Dt31 + "]"
		if (tDt31 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt31
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx31
					+ "</i></p></div><div class='textoRA'>"
					+ Tx31 + "</div>"
		}
		tDt32 = "[" + Dt32 + "]"
		if (tDt32 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt32
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx32
					+ "</i></p></div><div class='textoRA'>"
					+ Tx32 + "</div>"
		}
		tDt33 = "[" + Dt33 + "]"
		if (tDt33 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt33
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx33
					+ "</i></p></div><div class='textoRA'>"
					+ Tx33 + "</div>"
		}
		tDt34 = "[" + Dt34 + "]"
		if (tDt34 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt34
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx34
					+ "</i></p></div><div class='textoRA'>"
					+ Tx34 + "</div>"
		}
		tDt35 = "[" + Dt35 + "]"
		if (tDt35 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt35
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx35
					+ "</i></p></div><div class='textoRA'>"
					+ Tx35 + "</div>"
		}
		tDt36 = "[" + Dt36 + "]"
		if (tDt36 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt36
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx36
					+ "</i></p></div><div class='textoRA'>"
					+ Tx36 + "</div>"
		}
		tDt37 = "[" + Dt37 + "]"
		if (tDt37 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt37
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx37
					+ "</i></p></div><div class='textoRA'>"
					+ Tx37 + "</div>"
		}
		tDt38 = "[" + Dt38 + "]"
		if (tDt38 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt38
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx38
					+ "</i></p></div><div class='textoRA'>"
					+ Tx38 + "</div>"
		}
		tDt39 = "[" + Dt39 + "]"
		if (tDt39 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt39
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx39
					+ "</i></p></div><div class='textoRA'>"
					+ Tx39 + "</div>"
		}
		tDt40 = "[" + Dt40 + "]"
		if (tDt40 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt40
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx40
					+ "</i></p></div><div class='textoRA'>"
					+ Tx40 + "</div>"
		}
		tDt41 = "[" + Dt41 + "]"
		if (tDt41 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt41
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx41
					+ "</i></p></div><div class='textoRA'>"
					+ Tx41 + "</div>"
		}
		tDt42 = "[" + Dt42 + "]"
		if (tDt42 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt42
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx42
					+ "</i></p></div><div class='textoRA'>"
					+ Tx42 + "</div>"
		}
		tDt43 = "[" + Dt43 + "]"
		if (tDt43 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt43
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx43
					+ "</i></p></div><div class='textoRA'>"
					+ Tx43 + "</div>"
		}
		tDt44 = "[" + Dt44 + "]"
		if (tDt44 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt44
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx44
					+ "</i></p></div><div class='textoRA'>"
					+ Tx44 + "</div>"
		}
		tDt45 = "[" + Dt45 + "]"
		if (tDt45 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt45
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx45
					+ "</i></p></div><div class='textoRA'>"
					+ Tx45 + "</div>"
		}
		tDt46 = "[" + Dt46 + "]"
		if (tDt46 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt46
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx46
					+ "</i></p></div><div class='textoRA'>"
					+ Tx46 + "</div>"
		}
		tDt47 = "[" + Dt47 + "]"
		if (tDt47 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt47
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx47
					+ "</i></p></div><div class='textoRA'>"
					+ Tx47 + "</div>"
		}
		tDt48 = "[" + Dt48 + "]"
		if (tDt48 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt48
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx48
					+ "</i></p></div><div class='textoRA'>"
					+ Tx48 + "</div>"
		}
		tDt49 = "[" + Dt49 + "]"
		if (tDt49 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt49
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx49
					+ "</i></p></div><div class='textoRA'>"
					+ Tx49 + "</div>"
		}
		tDt50 = "[" + Dt50 + "]"
		if (tDt50 != "[undefined]") {
			RAConteudo += "<div style='background:#ffffff fixed'><p class=dataRA>&nbsp;&nbsp;&nbsp;• <b>"
			                + Dt50
					+ "</b>&nbsp;&nbsp;<i>"
					+ Rx50
					+ "</i></p></div><div class='textoRA'>"
					+ Tx50 + "</div>"
		}

		document.write("<div id='"
						+ Cod
						+ "conteudo' style='position:absolute; background:#eeeeee; width: 100%; visibility:hidden; display: none;'>")
	document.write("<font color='#0000ff'>" + RAConteudo + "</font>")
	document.write("</div>")
	}
}

function abreImagens(p){
            window.open ('../../php/Imagem.php?filename='+p,'Imagem','location=0,status=1,scrollbars=1,toolbar=    0,resizable=1,width=750,height=550');
    }





// --------- XTESTA -------


function Xtesta(Tit,Eme,Ant,Dow,Pos,Ind1,Ind2,Ind3,IndMenu,Revog,Dir,Res2,Assunt) {
	var Filename = location.pathname;
	var bt_access = "";
	Dir=Dir.toLowerCase()
	if (Dow=="D") {
		exten=""
	} else {
		exten=".htm"
	}
    DirImgs=""
//    var tipo = Dir.substr(Dir.indexOf('/'),Dir.lastIndexOf()('/')-,Dir.length);

    var mostraLinkLei = true;
    var DirLink = Dir;

    DirLink = DirLink.replace('../','');
	if (Dir.toLowerCase().indexOf('leis')>-1) LinkTipo = "Leis";
	else if (Dir.toLowerCase().indexOf('atas')>-1) LinkTipo = "Atas";
	else if (Dir.toLowerCase().indexOf('dleg')>-1){ LinkTipo = "Decreto Legislativo";   }
	else if (Dir.toLowerCase().indexOf('res')>-1) LinkTipo = "Resolução";
	else if (Dir.toLowerCase().indexOf('decs')>-1){ LinkTipo = "Decreto"; }
	else if (Dir.toLowerCase().indexOf('pdlegs')>-1){ LinkTipo = "Projeto de Decreto Legislativo"; }
	else if (Dir.toLowerCase().indexOf('lef/rs')>-1){ LinkTipo = "Legislação Estadual"; }
	else if (Dir.toLowerCase().indexOf('lef')>-1){ LinkTipo = "Legislação Federal";  }
	else LinkTipo = "Diploma";
    //alert(DirLink);
    if (DirLink.indexOf('../../lef/rs')>-1) DirLink = DirLink.replace('../','');
    if (DirLink.indexOf('lef')>-1 && Dow.indexOf('lef')>-1) DirLink = '';

	if (Dow.toLowerCase().indexOf('legisfederal')>-1){ mostraLinkLei = false; }
	if (Dow.toLowerCase().indexOf('legisestadual')>-1){ mostraLinkLei = false; }

    if (Dow && Dow != 'D' && mostraLinkLei) var LinkLei="<td width='18%'><p align='center'><a href='#' class='classe2'><img onClick=\"window.open('../link.php?p="+DirLink+Dow+".htm&linktipo="+LinkTipo+"','Cópia','width=380,height=380,resizable=yes,scrollbars=yes,menubar=yes,toolbar=no')\" src='../../../imgs/btLink.gif' border='0'></a></td>"



// JANELA DE IMPRESSÃO

    if (window.name == "Cópia") {

	document.write("<div class='impressao'><p class='imprimir'><a href=javascript:self.print()  class='classe1'>..:: Imprimir ::.. </a></p><p align='center'><img src=../../imgs/logo.jpg></center><p class=TitVermelho>")
			if (Tit.substr(1,1)=="h"||Tit.substr(1,1)=="H") {
				document.write(Tit+"</h"+Tit.substr(2,1)+">")
			} else {
				document.write(Tit)
			}
			document.write("</p>")
			document.write("<center><b>")

			if (Eme.substr(1,1)=="h"||Eme.substr(1,1)=="H") {
				document.write(Eme+"</h"+Eme.substr(2,1)+">")
			} else {
				document.write(Eme)
			}
			document.write("</center></b><br/>")



// REVOGADA


		if (Revog!="") {document.write("<p class=TitAzul>("+Revog+")</p> ")}
		    } else {
		while(!parent.Testa) { }
			if (Res2!="") {
				PRoX = Res2
			} else {
				PRoX = "a"
			}

			if (Ind1=="Mapa") {Ind1="<a href='javascript:parent.Corpo.MostraMapa()' alt='Mostrar Artigo nº ...'  class='classe1'><img src='../../../imgs/btMapa.gif' onMouseOver=\"src='../../../imgs/btMapa1.gif'\" onMouseOut=\"src='../../../imgs/btMapa.gif'\" onClick='parent.Corpo.MostraMapa()' border='0'></a>"} else {Ind1=""}
			if (Ind2=="Back") {Ind2="<img src='../../../imgs/btSist1.gif' border='0'>"
			} else {
				if (Ind2=="Sist") {Ind2="<a href='"+Dir+Dow+"_Sist.htm' target='Corpo'><img src='../../../imgs/btSist.gif' onMouseOver=\"src='../../../imgs/btSist1.gif'\" onMouseOut=\"src='../../../imgs/btSist.gif'\" border='0'></a>"} else {Ind2=""}
			}

	var Imagem = "";
	if (Filename!='PESQUISA' && Filename.indexOf('CF') && Filename.indexOf('LEG') && Filename.indexOf('.PHP') && Filename.indexOf('IND') && Filename.indexOf('LO') && Filename.indexOf('R')){
	  Imagem="<span id='ima'><p class='originais'><a href='javascript:abreImagens(\""+Filename+"\")' class='classe2'><img src='../../../imgs/BtImagem.gif' border='0' alt='Visualizar as imagens desse Diploma.'></a></p></span>"
	}


	if (Ant == "") {
		  Ant = "<p class='anterior'><img src='../../../imgs/BtAnterior.gif' border='0' alt='Não há diplomas anteriores a este.'></a></p>";
	} else {
	if (Ant.substring(Ant.length - 4, Ant.length - 3) == ".") {
	  Ant = "<p class='anterior'><a href='"
			+ Dir
			+ Ant
			+ exten
			+ "' target='Corpo' title='Ano Anterior (Alt + 6)' accesskey='6'><img 	src='../../../imgs/BtAnterior0.gif' onMouseOver=\"src=\'../../../imgs/BtAnterior1.gif\'\" onMouseOut=\"src=\'../../../imgs/BtAnterior0.gif\'\" border='0' alt='Diploma(s) Anterior(s)'></a></p>"
				} else {
					Ant = "<p class='anterior'><a href='"
							+ Dir
							+ Ant
							+ exten
							+ "' target='Corpo' title='Diploma(s) Anterior(s) (Alt + 6)' accesskey='6'><img 	src='../../../imgs/BtAnterior0.gif' onMouseOver=\"src=\'../../../imgs/BtAnterior1.gif\'\" onMouseOut=\"src=\'../../../imgs/BtAnterior0.gif\'\" border='0' alt='Diploma(s) Anterior(es) (Alt + 6)'></a></p>"
				}
			}


					// +A e -A
					bt_access = "<p class='acessibilidade'>";
					bt_access += "<img src='../../../imgs/btAcessibilidade.gif'></img></p>";
					bt_access += "<p class='acessibilidade2'><a href='javascript:aumentarFonte()' title='Aumenta o tamanho da fonte do texto (Alt + 3)' accesskey='3' class='classe2'><img src='../../../imgs/btAumentarFonte0.gif' border=0></a>";
					bt_access += "<a href='javascript:diminuirFonte()' title='Diminui o tamanho da fonte do texto (Alt + 4)' accesskey='4' class='classe2'><img src='../../../imgs/btDiminuirFonte0.gif' border=0></a>";
					bt_access += "<a href='#' class='classe2' onclick='javascript: trocaDaltonismo();' title='Troca para daltonismo/normal (Alt + 5)' accesskey='5'><img src='../../../imgs/BtDaltonismo.gif' border=0 id='img_daltonismo'></a>";
	//                bt_access += "<img style='margin-left: 5px;'  src='../../../imgs/BtDaltonismo.gif' style='cursor: pointer;'  alt='Troca para daltonismo/normal'>";
					bt_access += "</p>";



			if (Dow == "") {
				Dow = "<p class='download'><img src='../../../imgs/BtDownload.gif' border='0' alt='Permite a cópia/impressão do Diploma atual.'></a></p>"
			} else {
				ArQ = Dow
				if (Dow.length > 1) {
					Dow = "<p class='download'><a href='#' class='classe2'><img src='../../../imgs/BtDownload0.gif' onClick=\"window.open('"
							+ Dir
							+ Dow
							+ ".htm','Cópia','width=600,height=400,resizable=yes,scrollbars=yes,menubar=yes,toolbar=no')\" onMouseOver=\"src=\'../../../imgs/BtDownload1.gif\'\" onMouseOut=\"src=\'../../../imgs/BtDownload0.gif\'\" border='0' alt='Permite a cópia/impressão do Diploma atual.'></a></p>"


	//			if (Dow.length > 1) {
	//				Dow = "<p class='download'><a href='javascript:window.open('"
	//		  		+ Dir
	//			    + Dow
	//        	    + ".htm','Cópia','width=600,height=400,resizable=yes,scrollbars=yes,menubar=yes,toolbar=no') title='Aumenta o tamanho da fonte do texto (Alt + 3)' accesskey='3' class='classe2'><img src='../../../imgs/BtDownload0.gif' border='0'></a></p>"


				} else {
					Dow = "<p class='download'><img src='../../../imgs/BtDownload.gif' border='0' alt='Permite a cópia/impressão do Diploma atual.'></a></p>"
				}
			}

			if (Pos == "") {
				Pos = "<p class='proximo'><img src='../../../imgs/BtProxim"
						+ PRoX
						+ ".gif' border='0' 	alt='Não há diplomas posteriores a este.'></a></p>"
			} else {
				if (Pos.substring(Pos.length - 4, Pos.length - 3) == ".") {
					Pos = "<p class='proximo'><a href='"
							+ Dir
							+ Pos
							+ exten
							+ "' target='Corpo'><img 	src='../../../imgs/BtProxim"
							+ PRoX
							+ "0.gif' onMouseOver=\"src=\'../../../imgs/BtProxim"
							+ PRoX
							+ "1.gif\'\" onMouseOut=\"src=\'../../../imgs/BtProxim"
							+ PRoX
							+ "0.gif\'\" border='0' title='Próximo Ano (Alt + 7)' accesskey='7'></a></p>"
				} else {
					Pos = "<p class='proximo'><a href='"
							+ Dir
							+ Pos
							+ exten
							+ "' target='Corpo' title='Próximo(s) Diploma(s) (Alt + 7)' accesskey='7'><img src='../../../imgs/BtProxim"
							+ PRoX
							+ "0.gif' onMouseOver=\"src=\'../../../imgs/BtProxim"
							+ PRoX
							+ "1.gif\'\" onMouseOut=\"src=\'../../../imgs/BtProxim"
							+ PRoX
							+ "0.gif\'\" border='0' ></a></p>"
				}
			}

			if (Revog == "Revogada") {
				Revog = "<img src='../../../imgs/btRevog.gif' onMouseOver=\"src='../../../imgs/btRevog1.gif'\" onMouseOut=\"src='../../../imgs/btRevog.gif'\" onClick='parent.Corpo.MostraRevog()' border=0>"
			} else {
				if (Revog == "Inconstitucional") {
					Revog = "<img src='../../../imgs/btInconst.gif' onMouseOver=\"src='../../../imgs/btInconst1.gif'\" onMouseOut=\"src='../../../imgs/btInconst.gif'\" onClick='parent.Corpo.MostraInconst()' border=0>"
				} else {
					if (Revog == "Semefeito") {
						Revog = "<img src='../../../imgs/btSemefeito.gif' onMouseOver=\"src='../../../imgs/btSemefeito1.gif'\" onMouseOut=\"src='../../../imgs/btSemefeito.gif'\" onClick='parent.Corpo.MostraSemefeito()' border=0>"
					} else {
						if (Revog == "Revogado") {
							Revog = "<img src='../../../imgs/btRevogo.gif' onMouseOver=\"src='../../../imgs/btRevogo1.gif'\" onMouseOut=\"src='../../../imgs/btRevogo.gif'\" onClick='parent.Corpo.MostraRevog()' border=0>"
						} else {
							Revog = ""
						}
					}
				}
			}

	Testa="<html><script SRC=\"../../_privado/Scripts.js\" Language=\"JAVASCRIPT\" Type=\"TEXT\/JAVASCRIPT\"><\/script><style type=\"text/css\"><!-- @import URL('../../_privado/classes.css'); //--></style><body bgcolor='#ffffff' topmargin='0' leftmargin='0'"

		if (Res2=="Zoo")
			{Testa+=""}
		   else
			{Testa+=">"
			Testa=""
			Testa = Testa
					+ "<div class='testa'><img src='../../../imgs/BtEsq.gif'></img>"
			Testa = Testa + Ant
			Testa = Testa + Pos
			Testa = Testa
					+ "<p class='voltar'><a href='#' class='classe2'><img src='../../../imgs/BtVoltar0.gif' onClick='jback()' onMouseOver=\"src=\'../../../imgs/BtVoltar1.gif\'\" onMouseOut=\"src=\'../../../imgs/BtVoltar0.gif\'\" border='0' alt='Volta ao passo anterior da navegação.' nowrap='nowrap'></a></p>"

			Testa = Testa + Dow

// 			if (Imagem!="") Testa=Testa+Imagem
// Márcia = enviar link			if (LinkLei) Testa=Testa+LinkLei
			   if (_root_spg) {
				Testa = Testa + bt_access
					}
			Testa = Testa + "";

			DM1 = ""
	if (IndMenu!="") {
	   Testa=Testa+"<div class='BtDirBco'></div>"
		parent.Testa.Titulo.innerHTML = ""
		Ind1=""
		Ind2=""
		Revog=""

		if (IndMenu.charAt(0)=="1"||IndMenu.charAt(0)=="2") {DM1="Ano"}
		if (DM1=="Ano") {
			DivMenuAno(IndMenu,Ind3)
		} else {
			MudaTestaNew(IndMenu,Tit,Ind3)
		}

	  } else {
		Testa=Testa+"<p class='BtDir'><img src='../../../imgs/BtDir.gif'></img></p>"
		parent.Testa.Titulo.innerHTML = ""+Tit+""
		parent.Testa.Ementa.innerHTML = "<b>"+Eme+"</b>"

	}}

parent.Testa.Botoes.innerHTML = Ind1+Ind2+Revog
parent.Testa.Naveg.innerHTML = Testa
}



// fim do Xtesta





// janelinhas
}

JanNro = 0;
function Jan(Texto, xTipo) {

	JanNro = JanNro + 1
	JanName = "Jan" + JanNro

	if (xTipo == "LE") {
		corBorder = "#FF99FF";
		corFonte = "#FF00FF"
	}
	if (xTipo == "RM") {
		corBorder = "#FF6666";
		corFonte = "#FF0000"
	}
	if (xTipo == "VT") {
		corBorder = "#993333";
		corFonte = "#990000"
	}
	if (xTipo == "AO") {
		corBorder = "#009999";
		corFonte = "#006666"
	}
	if (xTipo == "AA") {
		corBorder = "#009999";
		corFonte = "#006666"
	}

	New = "<div style='background:#FFFFFF; padding: 3px; font-size: 11px; font-family: Arial, Helvetica, sans-serif; width:100%; border: 1px solid "
			+ corFonte
			+ "'><center><img src='"
			+ DirImgs
			+ xTipo
			+ "p.gif'></center><font color='"
			+ corFonte
			+ "'>"
			+ Texto
			+ "</font><br/>"
	New = New + "<img src='" + DirImgs + xTipo + "r.gif'><img src='" + DirImgs
			+ xTipo + "b1.gif' onClick='JanFecha(\"" + JanName
			+ "\")' onMouseOver=\"src=\'" + DirImgs + xTipo
			+ "b2.gif\'\" onMouseOut=\"src=\'" + DirImgs + xTipo
			+ "b1.gif\'\"><img src='" + DirImgs + xTipo + "l.gif'>"
	New = New + "</div>"


	document.write("<div id='"
					+ JanName
					+ "' style=\"position:absolute;  left:auto; top:auto; width:285px; height:auto; visibility: hidden; display: none;\">"
					+ New + "</div>")

	New = "<img src='" + DirImgs + xTipo + "1.gif' onMouseOut=\"src='"
			+ DirImgs + xTipo + "1.gif'\" onMouseOver=\"src='" + DirImgs
			+ xTipo + "2.gif'\" onClick=\"JANabre(\'"
	New = New + JanName
	New = New + "\')\">"
	document.write(New)
}

function RM(Texto) {
	if (window.name != "Cópia") {
		Jan(Texto, 'RM');
	}
}

function LE(Texto) {
	if (window.name != "Cópia") {
		Jan(Texto, 'LE');
	}
}

function VT(Texto) {
	if (window.name != "Cópia") {
		Jan(Texto, 'VT');
	}
}

function AO(Texto) {
	if (window.name != "Cópia") {
		Jan(Texto, 'AO')
	}
}

function AA(Texto) {
	if (window.name != "Cópia") {
		Jan(Texto, 'AA')
	}
}

JanAberta = ""
function JANabre(jName, newY, newX) {
	// alert(newY)
	// alert(newX)
	/*if (document.all) {
		posx = event.x + document.body.scrollLeft;
		if (posx + 5 + 215 >= document.body.clientWidth) {
			posx = posx - 220
		}
		if (posx <= 5) {
			posx = 5
		}
		document.getElementById(jName).style.left = posx;
		document.getElementById(jName).style.top = event.y
				+ document.body.scrollTop;
	} else {
		document.getElementById(jName).style.left = 50;
	}*/
	var m = document.getElementById(jName);
	var wp = new WindowPosition();

	m.style.top = (wp.y + 5 + mouse_y) + "px";
	m.style.left = (mouse_x + 5) + "px";

	RAFecha()
	if (JanAberta != "") {
		if (JanAberta == jName) {
			JanFecha()
		} else {
			JanFecha()
			JanAberta = jName
		}
	} else {
		JanAberta = jName
	}

	m.style.display = "";
	m.style.visibility = "visible";
	m.style.zIndex = 2;
}

function JanFecha() {
	MM_changeProp(JanAberta, "", 'style.display', 'none');
	MM_changeProp(JanAberta, "", 'style.visibility', 'hidden');
	MM_changeProp(JanAberta, "", 'style.zIndex', -1);
	JanAberta = ""
}

function IniBts() {
	BtBarraLO = document.getElementById("LO")
	BtBarraLeis = document.getElementById("Leis")
	BtBarraDec = document.getElementById("Dec")
	BtBarraPort = document.getElementById("Port")
	BtBarraRI = document.getElementById("RI")
	BtBarraLFed = document.getElementById("LFed")
	BtBarraLEst = document.getElementById("LEst")
	BtBarraRE = document.getElementById("RE")
	BtBarraREp = document.getElementById("REp")
	BtBarraDL = document.getElementById("DL")
	BtBarraAT = document.getElementById("AT")
	BtBarraDLp = document.getElementById("DLp")
	BtBarraLCpl = document.getElementById("LCpl")
	BtBarraLoc = document.getElementById("Loc")
	BtBarraPqz = document.getElementById("Pqz")
	BtBarraOut = document.getElementById("Out")

}

function Iniciabody(Tipo) {
	if (DirImgs == "") {
		DirImgs = "../../../../imgs/"
	}
	if (window.name != "Cópia") {
		parent.Topo.Orelha.innerHTML = "<img src='../../imgs/TopCentro.gif'>"
		TBarra(Tipo)
	}
}
function TBarra(Tipo) {
	// LO=1 Lei=2 LeisOrdCompl=3 Dec=4 RI=5 LF=6 LE=7 Pqz=8 LCpl=9 RE=10 REp=11
	// Out=12 DL=13 DLp=14
	Tit = "LeiOrganica"
	if (Tipo == "LO") {
		parent.Barra.BtBarraLO.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "2.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "2.gif\'\" BORDER=0>"
	} else {
		parent.Barra.BtBarraLO.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "0.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "0.gif\'\" BORDER=0>"
	}

	Tit = "LeisMunicipais"
	if (Tipo == "Lei") {
		parent.Barra.BtBarraLeis.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "2.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "2.gif\'\" BORDER=0>"
	} else {
		parent.Barra.BtBarraLeis.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "0.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "0.gif\'\" BORDER=0>"
	}

	Tit = "LeisComplement"
	if (Tipo == "LCpl") {
		parent.Barra.BtBarraLCpl.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "2.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "2.gif\'\" BORDER=0>"
	} else {
		parent.Barra.BtBarraLCpl.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "0.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "0.gif\'\" BORDER=0>"
	}

	Tit = "LeisOrdCompl"
	if (Tipo == "Lei") {
		parent.Barra.BtBarraLoc.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "2.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "2.gif\'\" BORDER=0>"
	} else {
		parent.Barra.BtBarraLoc.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "0.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "0.gif\'\" BORDER=0>"
	}
	Tit = "Atas"
	if (Tipo == "AT") {
		parent.Barra.BtBarraAT.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "2.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "2.gif\'\" BORDER=0>"
	} else {
		parent.Barra.BtBarraAT.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "0.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "0.gif\'\" BORDER=0>"
	}

	Tit="PortariaPareceres"
	if (Tipo=="Port") {
		parent.Barra.BtBarraPort.innerHTML="<img src=\"../imgs/Bt"+Tit+"2.gif\" onMouseOver=\"src=\'../imgs/Bt"+Tit+"1.gif\'\" onMouseOut=\"src=\'../imgs/Bt"+Tit+"2.gif\'\" BORDER=0>"
	} else {
		parent.Barra.BtBarraPort.innerHTML="<img src=\"../imgs/Bt"+Tit+"0.gif\" onMouseOver=\"src=\'../imgs/Bt"+Tit+"1.gif\'\" onMouseOut=\"src=\'../imgs/Bt"+Tit+"0.gif\'\" BORDER=0>"
	}

	Tit = "Decretos"
	if (Tipo == "Dec") {
		parent.Barra.BtBarraDec.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "2.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "2.gif\'\" BORDER=0>"
	} else {
		parent.Barra.BtBarraDec.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "0.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "0.gif\'\" BORDER=0>"
	}

	Tit = "RegInt"
	if (Tipo == "RI") {
		parent.Barra.BtBarraRI.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "2.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "2.gif\'\" BORDER=0>"
	} else {
		parent.Barra.BtBarraRI.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "0.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "0.gif\'\" BORDER=0>"
	}

	Tit = "LegisFederal"
	if (Tipo == "LF") {
		parent.Barra.BtBarraLFed.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "2.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "2.gif\'\" BORDER=0>"
	} else {
		parent.Barra.BtBarraLFed.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "0.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "0.gif\'\" BORDER=0>"
	}

	Tit = "LegisEstadual"
	if (Tipo == "LE") {
		parent.Barra.BtBarraLEst.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "2.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "2.gif\'\" BORDER=0>"
	} else {
		parent.Barra.BtBarraLEst.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "0.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "0.gif\'\" BORDER=0>"
	}

	Tit = "DecsLegs"
	if (Tipo == "DL") {
		parent.Barra.BtBarraDL.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "2.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "2.gif\'\" BORDER=0>"
	} else {
		parent.Barra.BtBarraDL.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "0.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "0.gif\'\" BORDER=0>"
	}

	Tit = "ProjDecsLegs"
	if (Tipo == "DLp") {
		parent.Barra.BtBarraDLp.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "2.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "2.gif\'\" BORDER=0>"
	} else {
		parent.Barra.BtBarraDLp.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "0.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "0.gif\'\" BORDER=0>"
	}

	Tit = "Pesquisa"
	if (Tipo == "Pqz") {
		parent.Barra.BtBarraPqz.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "2.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "2.gif\'\" BORDER=0>"
	} else {
		parent.Barra.BtBarraPqz.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "0.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "0.gif\'\" BORDER=0>"
	}
	Tit = "Resolucoes"
	if (Tipo == "RE") {
		parent.Barra.BtBarraRE.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "2.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "2.gif\'\" BORDER=0>"
	} else {
		parent.Barra.BtBarraRE.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "0.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "0.gif\'\" BORDER=0>"
	}
	Tit = "ProjResolucoes	"
	if (Tipo == "REp") {
		parent.Barra.BtBarraREp.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "2.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "2.gif\'\" BORDER=0>"
	} else {
		parent.Barra.BtBarraREp.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "0.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "0.gif\'\" BORDER=0>"
	}
	Tit = "Outros"
	if (Tipo == "Out") {
		parent.Barra.BtBarraOut.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "2.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "2.gif\'\" BORDER=0>"
	} else {
		parent.Barra.BtBarraOut.innerHTML = "<img src=\"../imgs/Bt" + Tit
				+ "0.gif\" onMouseOver=\"src=\'../imgs/Bt" + Tit
				+ "1.gif\'\" onMouseOut=\"src=\'../imgs/Bt" + Tit
				+ "0.gif\'\" BORDER=0>"
	}
}
function HL() {
	var i;

	if (window.name != "Cópia") {
		if (_root_spg) {
			//Altera links para abrir em _blank Márcia
			var links = document.getElementsByTagName('e');
			var l, l2;
			var loc = (new String(document.location))
			var arr = loc.split("/");
			var pag = arr[arr.length - 1];
			var r = loc.substr(0, loc.indexOf("../../")) + "../../";
			var tmp1;

			for (i = 0; i < links.length; i++) {
				l = links[i];

				if (l.href != "") {
					arr = (new String(l.href)).split("/");
					l2 = arr[arr.length - 1];
					if ((l2 != pag) && (l.href.indexOf(pag) == -1)) {
						tmp1 = l.href.replace(r, "");

						if (l.href == tmp1) {
							l.href = r + "?doc=" + l.href.replace(r, "http://");
						} else {
							l.href = r + "?doc=" + l.href.replace(r, "");
						}
						l.href = l.href.replace("#", "%23")
						l.target = "_blank";
					}
				}
			}
		}

		//Grifa texto da pesquisa
		if (parent.Testa.Grifa.innerHTML != "") {
		//if (1 == 2) {
			var wrd = parent.Testa.Grifa.innerHTML

			HLtextoOriginal = document.getElementsByTagName('body')[0].innerHTML;
			var HLTEXTO = HLtextoOriginal.toUpperCase();
			var HLtexto = HLtextoOriginal;

			var LiSTaWRDs = new Array();
			var tmp, w, i2 = 0, sa;
			if (wrd.indexOf(" e ") > 0) {
				tmp = wrd.split(" e ");
			} else if (wrd.indexOf(" ou ") > 0) {
				tmp = wrd.split(" ou ");
			} else {
				tmp = new Array(wrd);
			}

			for (i = 0; i < tmp.length; i++) {
				w = tmp[i];

				LiSTaWRDs[i2] = w;
				i2++;

				sa = semAcento(w);
				if (sa != w) {
					LiSTaWRDs[i2] = sa;
					i2++;
				}
			}

			HLemen(LiSTaWRDs);

			for (x = 0; x < LiSTaWRDs.length; x++) {
				wrd = LiSTaWRDs[x]
				WRD = wrd.toUpperCase()

				wrdT = wrd.length
				encontrado = true

				while (encontrado) {
					WrdLocal = HLTEXTO.indexOf(WRD)
					if (WrdLocal > -1) {
						HLTEXTO = HLTEXTO.replace(WRD, "¿Ð¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿Ð¿" + WRD.substr(1))
						WrdOriginal = HLtexto.substring(WrdLocal, wrdT + WrdLocal)
						HLtexto = HLtexto.replace(WrdOriginal, "<span class=HL>" + WrdOriginal.substring(0, 1) + "¿Ð¿" + WrdOriginal.substr(1) + "</span>")
					} else {
						encontrado = false;
					}
				}
			}

			while (true) {
				if (HLtexto.indexOf("¿Ð¿") > -1) {
					HLtexto = HLtexto.replace("¿Ð¿", "")
				} else {
					break
				}
			}
			if (document.all) {
				//alert(document.body);
				setTimeout(function () {
					document.body.innerHTML = HLtexto;
				}, 300);
			} else {
				document.getElementsByTagName('body')[0].innerHTML = HLtexto;
			}

			parent.Testa.Grifa.innerHTML = "";
		}
	} else {

	}
}

function semAcento(tmp_texto) {
	tmp_texto = replace_all(tmp_texto, "á", "a");
	tmp_texto = replace_all(tmp_texto, "â", "a");
	tmp_texto = replace_all(tmp_texto, "à", "a");
	tmp_texto = replace_all(tmp_texto, "ä", "a");
	tmp_texto = replace_all(tmp_texto, "é", "e");
	tmp_texto = replace_all(tmp_texto, "ê", "e");
	tmp_texto = replace_all(tmp_texto, "è", "e");
	tmp_texto = replace_all(tmp_texto, "ë", "e");
	tmp_texto = replace_all(tmp_texto, "í", "i");
	tmp_texto = replace_all(tmp_texto, "î", "i");
	tmp_texto = replace_all(tmp_texto, "ì", "i");
	tmp_texto = replace_all(tmp_texto, "ï", "i");
	tmp_texto = replace_all(tmp_texto, "ó", "o");
	tmp_texto = replace_all(tmp_texto, "õ", "o");
	tmp_texto = replace_all(tmp_texto, "ô", "o");
	tmp_texto = replace_all(tmp_texto, "ò", "o");
	tmp_texto = replace_all(tmp_texto, "ö", "o");
	tmp_texto = replace_all(tmp_texto, "ú", "u");
	tmp_texto = replace_all(tmp_texto, "û", "u");
	tmp_texto = replace_all(tmp_texto, "ù", "u");
	tmp_texto = replace_all(tmp_texto, "ü", "u");
	tmp_texto = replace_all(tmp_texto, "ç", "c");

	return tmp_texto;
}

function replace_all(tmp_texto, tmp_search, tmp_replace) {
	/*while (tmp_texto.indexOf(tmp_search) > -1) {
		tmp_texto = tmp_texto.replace(tmp_search, tmp_replace);
	}*/
	return tmp_texto.replace(new RegExp(tmp_search, "gi"), tmp_replace);
}

function HLemen(LiSTaSS) {
	var HLeMeNTa = parent.Testa.Ementa.innerHTML;

	for (y = 0; y < LiSTaSS.length; y++) {
		wrdy = LiSTaSS[y]
		HLeMeNTa = EmentaHL(HLeMeNTa, wrdy)
		parent.Testa.Ementa.innerHTML = "<b>" + HLeMeNTa + "</b>"
	}
}

function EmentaHL(Eme, wrd) {
	var HLtextoOriginal = Eme
	var HLtexto = HLtextoOriginal
	var encontrado = true
	var HLtextoMontado = ""
	while (encontrado) {
		HLTEXTO = HLtexto.toUpperCase()
		var HLpos = HLTEXTO.indexOf(wrd.toUpperCase())
		if (HLpos > -1) {
			var HLtam = wrd.length
			var HLtamTexto = HLtexto.length
			var parte01 = HLtexto.substring(0, HLpos)
			var wrdori = HLtexto.substring(HLpos, HLpos + HLtam)
			HLtexto = HLtexto.substring(HLpos + HLtam, HLtamTexto + HLpos)
			HLtextoMontado += parte01 + "<span class=\'HL\'>" + wrdori
					+ "</span>"
		} else {
			encontrado = false
		}
	}
	HLtextoMontado += HLtexto
	return HLtextoMontado
}

function BigBtMn(NomeBt, lnk) {
	if (lnk) {
		document.write("<table cellSpacing='0' cellPadding='0' width='440' height='34' border='0'><tr><td style=cursor:pointer;cursor:hand class='Bt3' background='../../../imgs/Bt440a.gif' onmouseover=\"background='../../../imgs/Bt440b.gif'\" onmouseout=\"background='../../../imgs/Bt440a.gif'\" onclick=\"parent.Corpo.location='"
						+ lnk + "'\" nowrap='nowrap'>" + NomeBt + "</td></tr></table>")
	} else {
		document.write("<table cellSpacing='0' cellPadding='0' width='440' height='34' border='0'><tr><td style=cursor:pointer;cursor:hand class='Bt3' background='../../../imgs/Bt440a.gif' onmouseover=\"background='../../../imgs/Bt440b.gif'\" onmouseout=\"background='../../../imgs/Bt440a.gif'\">"
						+ NomeBt + "</td></tr></table>")
	}
}

function BtMnn(Bt, Bt2, FJ, Tm, Pos, Linq) {
	if (!Linq) {
		Linq = "IndAss.php?Ass=" + Bt
	}
	if (!Pos) {
		Pos = 'Bt2'
	} else {
		Pos = 'Bt2c'
	}
	if (!Tm) {
		Tm = '250'
	}
	NomeBt = BtMnText(Bt)
	if (Bt2 != "") {
		if (Bt2 == "1") {
			Bt = ""
		} else {
			NomeBt = Bt2
		}
	}
	if (Bt == "") {
		document.write("<table cellSpacing='0' cellPadding='0' width='"
						+ Tm
						+ "' height='23' border='0'><tr><td style=cursor:pointer;cursor:hand class='"
						+ Pos + "' background='../../../imgs/Bt" + Tm
						+ "b.gif'\">&nbsp;&nbsp;&nbsp;" + NomeBt
						+ "</td></tr></table>")
	} else {
		if (FJ != "") {
			document.write("<a href='#"
							+ Bt
							+ "'><table cellSpacing='0' cellPadding='0' width='"
							+ Tm
							+ "' height='23' border='0'><tr><td style=cursor:pointer;cursor:hand class='"
							+ Pos + "' background='../../../imgs/Bt" + Tm
							+ "a.gif' onmouseover=\"background='../../../imgs/Bt"
							+ Tm
							+ "b.gif'\" onmouseout=\"background='../../../imgs/Bt"
							+ Tm + "a.gif'\" onClick=\"MostraSubMenu(\'" + Bt
							+ "\'); FechaSubsNew(\'" + FJ + "\')\">" + NomeBt
							+ "</td></tr></table></a>")
		} else {
			BtPuro1(Pos, Tm, Linq, NomeBt, Bt)
		}
	}
}

function BtPuro1(Pos, Tm, Linq, NomeBt, Bt) {
	document.write("<table cellSpacing='0' cellPadding='0' width='"
					+ Tm
					+ "' height='34' border='0'><tr><td style=cursor:pointer;cursor:hand class='"
					+ Pos + "' background='../../../imgs/Bt" + Tm
					+ "a.gif' onmouseover=\"background='../../../imgs/Bt" + Tm
					+ "b.gif'\" onmouseout=\"background='../../../imgs/Bt" + Tm
					+ "a.gif'\" onclick=\"parent.Corpo.location='" + Linq
					+ "'\">&nbsp;&nbsp;&nbsp;" + NomeBt + "</td></tr></table>")

}

function MenuAtas(Tm, TitSubMenu, TitDif, qdade, SubMenu, TipoAta1, TipoAta2,
		TipoAta3, TipoAta4) {
	if (TitDif != "") {
		Titulo = TitDif
	} else {
		Titulo = TitSubMenu
	}
	document.write("<div id='sm" + TitSubMenu
			+ "' style='position:absolute; left:auto; top:auto; width:" + Tm
			+ "px; height:auto; visibility: hidden; z-index:-1'>")
	document.write("<table width='100%' border='1' CellSpacing='0' Cellpadding='6' bgcolor=#f0f0ff background=../imgs/fundo.gif bordercolor='#7D7D7D'>")
	document.write("<tr><td align='right'><table width='100%' border='0' CellSpacing='0' Cellpadding='0'><tr><td colspan=2 align='left'>")
	BtMnAta(Titulo, "1", "", Tm)
	document.write("</center><img src=\'../../../ImgAss/subm1.gif\'></td></tr>")
	document.write("<font color='#000080' face='Arial, Helvetica, sans-serif'>")
	for (n = 1; n < qdade + 1; n++) {
		document.write("<tr><td>")
		SM = 0
		Item = eval("TipoAta" + n)
		if (n < qdade) {
			document.write("<img src=\'../../../ImgAss/subm2.gif\'>")
		} else {
			document.write("<img src=\'../../../ImgAss/subm3.gif\'>")
		}
		document.write("</td><td>")

		if (SubMenu != "") {
			for (m = 0; m < SubMenu.length; m++) {
				if (SubMenu.charAt(m) == "" + n) {
					SM = 1
				}
			}
		}

		if (SM == 0) {
			BtMnAta(TitSubMenu + ':' + Item, BtMnText(Item), "", Tm)
		} else {
			ItemText = BtMnText(Item)
			if (n == 1) {
				FecJan = TitSubMenu + It2
			} else {
				FecJan = TitSubMenu + It1
			}
			BtMnAta(TitSubMenu + Item, ItemText, FecJan, Tm)
		}
		document.write("</td></tr>")
	}

	document.write("</table></center>")
	document.write("<center><br/>")
	document.write("<img src='../../../imgs/Menubl.gif' border='0'>")
	document.write("<img src='../../../imgs/Menub0.gif' onClick='Fecha(\"sm"
					+ TitSubMenu
					+ "\")' onMouseOver=\"src=\'../../../imgs/Menub1.gif\'\" onMouseOut=\"src=\'../../imgs/Menub0.gif\'\" border='0'>")
	document.write("<img src='../../../imgs/Menubr.gif' border='0'>")
	document.write("</td></tr></center></table>")
	document.write("</div>")
	Fecha("IndAno")
}

function BtMnAta(Bt, Bt2, FJ, Tm, Pos, Linq) {
	if (!Linq) {
		Linq = "IndAss.php?Ass=" + Bt
	}
	if (!Pos) {
		Pos = 'Bt2'
	} else {
		Pos = 'Bt2c'
	}
	if (!Tm) {
		Tm = '50'
	}
	NomeBt = BtMnText(Bt)
	if (Bt2 != "") {
		if (Bt2 == "1") {
			Bt = ""
		} else {
			NomeBt = Bt2
		}
	}
	if (Bt == "") {
		document.write("<table cellSpacing='0' cellPadding='0' width='"
						+ Tm
						+ "' height='23' border='0'><tr><td align=left style=cursor:pointer;cursor:hand class='"
						+ Pos + "' background='../../../imgs/Bt" + Tm
						+ "b.gif'\">&nbsp;&nbsp;&nbsp;" + NomeBt
						+ "</td></tr></table>")
	} else {
		if (FJ != "") {
			document.write("<center><a href='#"
							+ Bt
							+ "'><table cellSpacing='0' cellPadding='0' width='"
							+ Tm
							+ "' height='23' border='0'><tr><td style=cursor:pointer;cursor:hand class='"
							+ Pos + "' background='../../../imgs/Bt" + Tm
							+ "a.gif' onmouseover=\"background='../../../imgs/Bt"
							+ Tm
							+ "b.gif'\" onmouseout=\"background='../../../imgs/Bt"
							+ Tm + "a.gif'\" onClick=\"MostraSubMenu(\'" + Bt
							+ "\'); FechaSubsNew(\'" + FJ
							+ "\')\">&nbsp;&nbsp;&nbsp;" + NomeBt
							+ "</td></tr></table></a></center>")
		} else {
			BtPuro(Pos, Tm, Linq, NomeBt, Bt)
		}
	}

}
function BtMn(Bt, Bt2, FJ, Tm, Pos, Linq) {
	if (!Linq) {
		Linq = "IndAss.php?Ass=" + Bt
	}

	if (!Pos) {
		Pos = 'Bt2'
	} else {
		Pos = 'Bt2c'
	}
	if (!Tm) {
		Tm = '250'
	}
	NomeBt = BtMnText(Bt)
	if (Bt2 != "") {
		if (Bt2 == "1") {
			Bt = ""
		} else {
			NomeBt = Bt2
		}
	}
	if (Bt == "") {
		document.write("<table cellSpacing='0' cellPadding='0' width='"
						+ Tm
						+ "' height='23' border='0'><tr><td style=cursor:pointer;cursor:hand class='"
						+ Pos + "' background='../../../imgs/Bt" + Tm
						+ "b.gif'\">&nbsp;&nbsp;&nbsp;" + NomeBt
						+ "</td></tr></table>")
	} else {
		if (FJ != "") {
			document.write("<a href='#"
							+ Bt
							+ "'><table cellSpacing='0' cellPadding='0' width='"
							+ Tm
							+ "' height='23' border='0'><tr><td style=cursor:pointer;cursor:hand class='"
							+ Pos + "' background='../../../imgs/Bt" + Tm
							+ "a.gif' onmouseover=\"background='../../../imgs/Bt"
							+ Tm
							+ "b.gif'\" onmouseout=\"background='../../../imgs/Bt"
							+ Tm + "a.gif'\" onClick=\"MostraSubMenu(\'" + Bt
							+ "\'); FechaSubsNew(\'" + FJ
							+ "\')\">&nbsp;&nbsp;&nbsp;" + NomeBt
							+ "</td></tr></table></a>")
		} else {
			BtPuro(Pos, Tm, Linq, NomeBt, Bt)
		}
	}
}

function BtPuro(Pos, Tm, Linq, NomeBt, Bt) {
	document.write("<table cellSpacing='0' cellPadding='0' width='"
					+ Tm
					+ "' height='23' border='0'><tr><td style=cursor:pointer;cursor:hand class='"
					+ Pos + "' background='../../../imgs/Bt" + Tm
					+ "a.gif' onmouseover=\"background='../../../imgs/Bt" + Tm
					+ "b.gif'\" onmouseout=\"background='../../../imgs/Bt" + Tm
					+ "a.gif'\" onclick=\"parent.Corpo.location='" + Linq
					+ "'\">&nbsp;&nbsp;&nbsp;" + NomeBt + "</td></tr></table>")
}

function FP() {
	if (window.name != "Cópia") {
		document.write("<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>")
	}
}

function jback() {
	javascript : history.back()
}

function DivMenuNew(Pri, Seg, Ter, FJ, Tm) {
	//alert(Pri);
	if (Pri != "") {
		if (Ter == "") {
			Testa1 = "<table bgcolor='#ffffff' cellSpacing=0 cellPadding=0 border=0 height='100%' width='100%'><tr><td>"
					+ "<td>&nbsp;<table cellSpacing=0 cellPadding=0 border=0><tr><td><img src=\"../../../ImgAss/itini.gif\"></td><td>"
					+ BtMnNew(Pri, '1', '', Tm)
					+ "</td><td><img src='../../../ImgAss/subm6.gif'></td><td>"
					+ BtMnNew(Seg, '1', '', Tm)
					+ "</td><td><img src=\"../../../ImgAss/itfim.gif\"></td></tr></table></td></tr></table>"
		} else {
			Testa1 = "<table bgcolor='#ffffff' cellSpacing=0 cellPadding=0 border=0  height='100%' width='100%'><tr><td>"
					+ "<td>&nbsp;<table cellSpacing=0 cellPadding=0 border=0><tr><td><img src=\"../../../ImgAss/itini.gif\"></td><td>"
					+ BtMnNew(Pri, '1', '', Tm)
					+ "</td><td><img src='../../../ImgAss/subm6.gif'></td><td>"
					+ BtMnNew(Seg, '1', '', Tm)
					+ "</td><td><img src='../../../ImgAss/subm6.gif'></td><td>"
					+ BtMnNew(Ter, '1', '', Tm)
					+ "</td><td><img src=\"../../../ImgAss/itfim.gif\"></td></tr></table></td></tr></table>"
		}
	} else {
		Testa1 = "<table bgcolor='#ffffff' cellSpacing=0 cellPadding=0 border=0 height='100%' width='100%'><tr>"
				+ "<td>&nbsp;<table cellSpacing=0 cellPadding=0 border=0><tr><td><img src=\"../../../ImgAss/itini.gif\"></td><td>"
				+ BtMnNew(Seg, '1', '', Tm)
				+ "</td><td><img src=\"../../../ImgAss/itfim.gif\"></td></tr></table></td></tr></table>"
	}
	parent.Testa.Ementa.innerHTML = Testa1
	parent.Testa.Titulo.innerHTML = ""
}

function DivMenuAno(Ano, ToTaIs) {
	TiT = "<table background='../../../ImgAss/nrolin.gif' cellSpacing=0 cellPadding=0 border=0 height='100%' width='100%'><tr><td width=50>&nbsp;</td><td width='200'><center>"
	TiT += "<img src=\"../../../ImgAss/nro" + Ano.charAt(0) + ".gif\" border=0>"
	TiT += "<img src=\"../../../ImgAss/nro" + Ano.charAt(1) + ".gif\" border=0>"
	TiT += "<img src=\"../../../ImgAss/nro" + Ano.charAt(2) + ".gif\" border=0>"
	TiT += "<img src=\"../../../ImgAss/nro" + Ano.charAt(3) + ".gif\" border=0><br/>"
	TiT += "<img src=\"../../../ImgAss/nroset.gif\"border=0></a></center>"
	TiT += "</td><td><b>" + ToTaIs + "</b>&nbsp;</td></tr></table>";

	//"<td><center><b>" + ToTaIs + "<br/>&nbsp;</b></center></td></tr></table><br/>"

	parent.Testa.Ementa.innerHTML = TiT
}

function FechaSubsNew(Jans) {
	Janelas = Jans.split(",")
	for (fs = 0; fs < Janelas.length; fs++) {
		JAN = "sm" + Janelas[fs]
		if (JAN) {
			Fecha(JAN)
		}
	}
}

function Fecha(JAN) {
	MM_changeProp(JAN, "", 'style.display', 'none');
	MM_changeProp(JAN, "", 'style.zIndex', -1);
}

function Fecha2(JAN) {
	MM_changeProp(JAN, "", 'style.display', 'none');
	MM_changeProp(JAN, "", 'style.zIndex', -1);
}

function Mapa(qdade, TitSubMapa, CodSubMapa, QddSubMapa, TitSubSubMapa, CodSubSubMapa, QddSubSubMapa) {
	if (window.name != "Cópia") {
		if (qdade != 0) {
			document.write("<div class='marts' id='marts' style='position:absolute; left:5px; top:0px; width:300px; height:auto; z-index:-1; visibility: hidden' onClick='FechaMapa()'>")
			document.write("<p class='TitMostrarArt'>MOSTRAR O ARTIGO Nº ...</p>")
			document.write(""+
		  "<center>"+
		  	"<table class='transparente' align='center'>"+
			  "<tr>")
				m = 0;
				for (n = 1; n < qdade + 1; n++) {
					m++;
					if (m > 10) {
						document.write(""+
							"<tr>");
								m = 1;
					}
				  if (document.all) {
					  document.write(""+
								  "<td style='cursor:pointer;cursor:hand' width='20' class='TdMostrarArt'>"+
									  "<center>"+
										  "<a href='#a"
										  + n
										  + "' class='classe1'>" + n + ""
										  + ((n < 10) ? "º" : "")
										  + "</a>"+
										"</center>"+
								  "</td>"+
						  "")
				  } else {
						  document.write(""+
						  "<td style='cursor:pointer;cursor:hand' width='20' class='TdMostrarArt'>"+
							"<center>"+
								"<a href='#a"
									  + n
									  + "' class='classe1'>"
									  + n
									  + ((n < 10) ? "º" : "")
							  + "</a>"+
							  "</td>")
					  }
				}
				document.write("</tr>"+
							"</table>"+
				  		"</center>")
			  if (TitSubMapa != null) {
				  document.write("<br/>"+
				  	"<p class='TitCinzaArt'>" + TitSubMapa + "</p>")
				  document.write(""+
				  "<center>"+
				  	"<table class='transparente'>"+
				  		"<tr>")

				  m = 0;
				  for (n = 1; n < QddSubMapa + 1; n++) {
					  m++;
					  if (m > 10) {
						  document.write("</tr>");
						  m = 1;
					  }
					  if (document.all) {
						  document.write(""+
						  	"<td style='cursor:pointer;cursor:hand' width='20' class='TdMostrarArt'>"+
							"<center>"+
								"<a href='#"
									  + CodSubMapa
									  + "a"
									  + n
									  + "' class='classe1'>"
									  + n
									  + ((n < 10) ? "º" : "")
								+ "</a>"+
								"</center>"+
							"</td>")

					  } else {
						  document.write(""+
						  "<td style='cursor:pointer;cursor:hand' width='20' class='TdMostrarArt'>"+
							"<center>"+
								"<a href='#"
									  + CodSubMapa
									  + "a"
									  + n
									  + "' class='classe1'>"
									  + n
									  + ((n < 10) ? "º" : "")
								+ "</a>"+
							"</td>")
					  }
				  }
				  document.write("</tr>"+
				  			"</table>"+
				  		"</center>")
			  }
			  if (TitSubSubMapa != null) {
				  document.write("<br/>"+
				  	"<p class='TitCinzaArt'>" + TitSubSubMapa + "</p>")
				  document.write(""+
				  "<center>"+
				  	"<table class='transparente'>"+
				  		"<tr>")

				  m = 0;
				  for (n = 1; n < QddSubSubMapa + 1; n++) {
					  m++;
					  if (m > 10) {
						  document.write("</tr>");
						  m = 1;
					  }
					  if (document.all) {
						  document.write(""+
						  	"<td style='cursor:pointer;cursor:hand' width='20' class='TdMostrarArt'>"+
							"<center>"+
								"<a href='#"
									  + CodSubSubMapa
									  + "a"
									  + n
									  + "' class='classe1'>"
									  + n
									  + ((n < 10) ? "º" : "")
								+ "</a>"+
								"</center>"+
							"</td>")

					  } else {
						  document.write(""+
						  "<td style='cursor:pointer;cursor:hand' width='20' class='TdMostrarArt'>"+
							"<center>"+
								"<a href='#"
									  + CodSubSubMapa
									  + "a"
									  + n
									  + "' class='classe1'>"
									  + n
									  + ((n < 10) ? "º" : "")
								+ "</a>"+
							"</td>")
					  }
				  }
				  document.write("</tr>"+
				  			"</table>"+
				  		"</center>")
			  }
			  document.write("")
			  document.write("<p class='fechar'><img src='" + DirImgs + "Mapabl.gif' border='0'>")
			  document.write("<img src='" + DirImgs
							  + "Mapab1.gif' onClick='FechaMapa()' onMouseOver=\"src=\'"
							  + DirImgs + "Mapab2.gif\'\" onMouseOut=\"src=\'" + DirImgs
							  + "Mapab1.gif\'\" border='0'>")
			  document.write("<img src='" + DirImgs
							  + "Mapabr.gif' border='0'></img></p>")
			  document.write("</div>")
			  MArts = document.getElementById("marts")
		  }
	  }
}


	function MostraMapa() {
	var m = document.getElementById('marts');
	var wp = new WindowPosition();
	m.style.top = (wp.y + 5) + "px";
	m.style.left = ((wp.w - 430) / 2) + "px";
	m.style.visibility = 'visible';
	m.style.display = '';
	m.style.zIndex = 20;
}
function FechaMapa() {
	parent.Corpo.MArts.style.visibility = 'hidden';
	parent.Corpo.MArts.style.display = 'none';
	parent.Corpo.MArts.style.zIndex = -1;
}
function Revog(Texto) {
	if (window.name != "Cópia") {
		document.write("<div id=\"RV\" style=\"position:absolute; left:5px; top:5px; width:285px; height:auto; visibility: hidden\">");
		document.write("<div style='background:#FFFFFF; padding: 3px; font-size: 11px; font-family: Arial, Helvetica, sans-serif; width:100%; border: 1px solid #0000ff'>");
		document.write("<center><img src='" + DirImgs + "RVp.gif'></center>");
		document.write("<font color='#000080' face='Arial, Helvetica, sans-serif'>");
		document.write(Texto);
		document.write("</font><br/>");
		document.write("<img src='" + DirImgs + "RVl.gif' border='0'>");
		document.write("<img src='" + DirImgs
					+ "RVb1.gif' onClick='Fecha(\"RV\")' onMouseOver=\"src=\'"
					+ DirImgs + "RVb2.gif\'\" onMouseOut=\"src=\'" + DirImgs
					+ "RVb1.gif\'\" border='0'>");
		document.write("<img src='" + DirImgs + "RVr.gif' border='0'>");
		document.write("</div></div>");
	} else {
		document.write("<p class='Carta'>");
		document.write(Texto);
		document.write("</p>");
	}
}

function Revogo(Texto) {
	if (window.name != "Cópia") {
		document.write("<div id=\"RV\" style=\"position:absolute; left:5px; top:5px; width:280px; height:auto; visibility: hidden\">")
		document.write("<div style='background:#FFFFFF; padding: 3px; font-size: 11px; font-family: Arial, Helvetica, sans-serif; width:100%; border: 1px solid #0000ff'>")
		document.write("<img src='" + DirImgs + "ROp.gif'>")
		document.write("<font color='#000080' face='Arial, Helvetica, sans-serif'><br/>")
		document.write(Texto)
		document.write("</font><br/>")
		document.write("<img src='" + DirImgs + "RVl.gif' border='0'>")
		document.write("<img src='" + DirImgs
					+ "RVb1.gif' onClick='Fecha(\"RV\")' onMouseOver=\"src=\'"
					+ DirImgs + "RVb2.gif\'\" onMouseOut=\"src=\'" + DirImgs
					+ "RVb1.gif\'\" border='0'>")
		document.write("<img src='" + DirImgs + "RVr.gif' border='0'>")
		document.write("</div></div>")
	} else {
		document.write("<p class='Carta'>")
		document.write(Texto)
		document.write("</p>")
	}
}

function Semefeito(Texto) {
	if (window.name != "Cópia") {
		document.write("<div id=\"SE\" style=\"position:absolute; left:5px; top:5px; width:280px; height:auto; visibility: hidden\">")
		document.write("<div style='background:#FFFFFF; padding: 3px; font-size: 11px; font-family: Arial, Helvetica, sans-serif; width:100%; border: 1px solid #0000ff'>")
		document.write("<img src='" + DirImgs + "SEp.gif'><br/>")
		document.write("<font color='#000080' face='Arial, Helvetica, sans-serif'><br/>")
		document.write(Texto)
		document.write("</font><br/><br/>")
		document.write("<img src='" + DirImgs + "RVl.gif' border='0'>")
		document.write("<img src='" + DirImgs
					+ "RVb1.gif' onClick='Fecha(\"SE\")' onMouseOver=\"src=\'"
					+ DirImgs + "RVb2.gif\'\" onMouseOut=\"src=\'" + DirImgs
					+ "RVb1.gif\'\" border='0'>")
		document.write("<img src='" + DirImgs + "RVr.gif' border='0'>")
		document.write("</div></div>")
	} else {
		document.write("<p class='Carta'>")
		document.write(Texto)
		document.write("</p>")
	}
}

function Inconst(Texto) {
	if (window.name != "Cópia") {
		document.write("<div id=\"INC\" style=\"position:absolute; left:5px; top:5px; width:280px; height:auto;	visibility: hidden\">")
		document.write("<div style='background:#FFFFFF; padding: 3px; font-size: 11px; font-family: Arial, Helvetica, sans-serif; width:100%; border: 1px solid #0000ff'>")
		document.write("<img src='" + DirImgs + "INCp.gif'><br/>")
		document.write("<font color='#000080' face='Arial, Helvetica, sans-serif'><br/>")
		document.write(Texto)
		document.write("</font><br/><br/>")
		document.write("<img src='" + DirImgs + "RVl.gif' border='0'>")
		document.write("<img src='" + DirImgs
					+ "RVb1.gif' onClick='Fecha(\"INC\")' onMouseOver=\"src=\'"
					+ DirImgs + "RVb2.gif\'\" onMouseOut=\"src=\'" + DirImgs
					+ "RVb1.gif\'\" border='0'>")
		document.write("<img src='" + DirImgs + "RVr.gif' border='0'>")
	document.write("</div></div>")
	} else {
		document.write("<p class='Carta'>")
		document.write(Texto)
		document.write("</p>")
	}
}

function MostraRevog() {
	var m = document.getElementById('RV');
	var wp = new WindowPosition();

	m.style.top = (wp.y + 5) + "px";
	m.style.left = ((wp.w - 290) / 2) + "px";

	m.style.visibility = 'visible';
	m.style.display = '';
	m.style.zIndex = 20;
}

function MostraSemefeito() {
	/*MM_changeProp("SE", "", 'style.top', document.body.scrollTop + 5)
	Metade = (document.body.clientWidth - 290) / 2
	MM_changeProp("SE", "", 'style.left', Metade)
	MM_changeProp("SE", "", 'style.visibility', 'visible')
	MM_changeProp("SE", "", 'style.zIndex', 2);*/

	var m = document.getElementById('SE');
	var wp = new WindowPosition();

	m.style.top = (wp.y + 5) + "px";
	m.style.left = ((wp.w - 290) / 2) + "px";

	m.style.visibility = 'visible';
	m.style.display = '';
	m.style.zIndex = 20;
}

function MostraInconst() {
	/*MM_changeProp("INC", "", 'style.top', document.body.scrollTop + 5)
	Metade = (document.body.clientWidth - 290) / 2
	MM_changeProp("INC", "", 'style.left', Metade)
	MM_changeProp("INC", "", 'style.visibility', 'visible')
	MM_changeProp("INC", "", 'style.zIndex', 2)*/

	var m = document.getElementById('INC');
	var wp = new WindowPosition();

	m.style.top = (wp.y + 5) + "px";
	m.style.left = ((wp.w - 290) / 2) + "px";

	m.style.visibility = 'visible';
	m.style.display = '';
	m.style.zIndex = 20;
}

function MostraIndAno(tamanho) {
	PosMouse()

	/*
	MM_changeProp("IndAno", "", 'style.top', 20)
	Metade = (document.body.clientWidth - tamanho) / 2
	MM_changeProp("IndAno", "", 'style.left', Metade)
	MM_changeProp("IndAno", "", 'style.visibility', 'visible')
	MM_changeProp("IndAno", "", 'style.zIndex', 2)
	FechaSubsNew("AdmiMuni,ContConv,Logr,Orca,Patr,PatrMoveEquiObje,PatrImov,VencSala")*/

	var m = document.getElementById('IndAno');
	var wp = new WindowPosition();

	m.style.top = (wp.y + 20) + "px";
	m.style.left = ((wp.w - tamanho) / 2) + "px";

	m.style.visibility = 'visible';
	m.style.display = '';
	m.style.zIndex = 20;
}

function IndAno(Inicio, IAtipo, IAmodo) {
	if (Inicio == "1955") {
		Anos = new Array(6, 0, 2000, 1990, 1980, 1970, 1960, 0, 1999, 1989,
				1979, 1969, 1959, 0, 1998, 1988, 1978, 1968, 1958, 0, 1997,
				1987, 1977, 1967, 1957, 0, 1996, 1986, 1976, 1966, 1956, 2005,
				1995, 1985, 1975, 1965, 1955, 2004, 1994, 1984, 1974, 1964, 0,
				2003, 1993, 1983, 1973, 1963, 0, 2002, 1992, 1982, 1972, 1962,
				0, 2001, 1991, 1981, 1971, 1961, 0)
	} else {

		if (Inicio == "1962") {

			Anos = new Array(5, 0, 2000, 1990, 1980, 1970, 0, 1999, 1989, 1979,
					1969, 0, 1998, 1988, 1978, 1968, 0, 1997, 1987, 1977, 1967,
					0, 1996, 1986, 1976, 1966, 0, 1995, 1985, 1975, 1965, 2004,
					1994, 1984, 1974, 1964, 2003, 1993, 1983, 1973, 1963, 2002,
					1992, 1982, 1972, 1962, 2001, 1991, 1981, 1971, 0)

		} else {

			if (Inicio == "1938") {

				Anos = new Array(8, 0, 2000, 1990, 1980, 1970, 1960, 1950,
						1940, 0, 1999, 1989, 1979, 1969, 1959, 1949, 1939, 0,
						1998, 1988, 1978, 1968, 1958, 1948, 1938, 0, 1997,
						1987, 1977, 1967, 1957, 1947, 0, 0, 1996, 1986, 1976,
						1966, 1956, 1946, 0, 0, 1995, 1985, 1975, 1965, 1955,
						1945, 0, 2004, 1994, 1984, 1974, 1964, 1954, 1944, 0,
						2003, 1993, 1983, 1973, 1963, 1953, 1943, 0, 2002,
						1992, 1982, 1972, 1962, 1952, 1942, 0, 2001, 1991,
						1981, 1971, 1961, 1951, 1941, 0)

			} else {

				Anos = new Array(9, 0, 2000, 1990, 1980, 1970, 1960, 1950,
						1940, 0, 0, 1999, 1989, 1979, 1969, 1959, 1949, 1939,
						1929, 0, 1998, 1988, 1978, 1968, 1958, 1948, 1938, 0,
						0, 1997, 1987, 1977, 1967, 1957, 1947, 0, 1927, 0,
						1996, 1986, 1976, 1966, 1956, 1946, 0, 0, 0, 1995,
						1985, 1975, 1965, 1955, 1945, 0, 0, 2004, 1994, 1984,
						1974, 1964, 1954, 1944, 0, 0, 2003, 1993, 1983, 1973,
						1963, 1953, 1943, 0, 0, 2002, 1992, 1982, 1972, 1962,
						1952, 1942, 0, 0, 2001, 1991, 1981, 1971, 1961, 1951,
						1941, 0, 0)

			}
		}
	}

	if (IAmodo != "tela") {
		document.write("<div id=\"IndAno\" style=\"position:absolute; left:5px; top:5px; width:300px; height:auto; visibility: hidden\">")
	} else {
		document.write("<table><tr><td width='33%'>&nbsp;</td><td width='33%'>")
	}

	document.write("<table width='100%' border='1' CellSpacing='0' Cellpadding='4' bgcolor='#E7F4FE' bordercolor='#274561'>"
					+ "<tr><td><center><table width='100%' border='0'  CellSpacing='0' Cellpadding='0'><tr><td width='2'><img src=../../ImgAno/IAl.gif></td><td background='../../ImgAno/IAbg.gif'><center>")
	if (IAtipo == "Dec") {
		document.write("<img src='../../ImgAno/IADec.gif'>")
	} else {
		document.write("<img src='../../ImgAno/IALei.gif'>")
	}
	document.write("</td><td td width='2'><img src='../../ImgAno/IAr.gif'></td></tr></table>")
	document.write("<center><table class=AL width='"
					+ Anos[0]
					* 51
					+ "' border=0 CellSpacing='0' Cellpadding='2' bgcolor='#B8B8B8' bordercolor='#888888'>")

	y = Anos.length
	document.write("<tr>")
	ContAnos = 0
	Qbra = 0

	for (x = 1; x < y; x++) {

		if (Anos[x] == 0) {
			document.write("<td></td>")
		} else {
			BtAno(Anos[x] + "")
		}
		Qbra++
		if (Qbra == Anos[0]) {
			document.write("</tr><tr>")
			Qbra = 0
		}
	}
	document.write("</tr></table>")
	document.write("<img src='../../../imgs/Mapabl.gif' border='0'><img src='../../../imgs/Mapab1.gif' onClick='Fecha(\"IndAno\")' onMouseOver=\"src='../../../imgs/Mapab2.gif'\" onMouseOut=\"src='../../../imgs/Mapab1.gif'\" border='0'><img src='../../../imgs/Mapabr.gif' border='0'></center></td></tr></table>")

	if (IAmodo != "tela") {
		document.write("</div>")
	} else {
		document.write("</td><td width='33%'>&nbsp;</td></table>")
	}

}

function IndAnoD(Anos, Titulo) {

	document.write("<table><tr><td width='33%'>&nbsp;</td><td width='33%'>")
	document.write("<table aligm=left width='100%' border='1' CellSpacing='1' Cellpadding='5' bgcolor='#f2f2f2' bordercolor='#cccccc'><tr><td bgcolor='#f2f2f2>"
					+ Titulo + "</td></tr><tr><td><center>")
	document.write("<center><table class=AL width='"
					+ Anos[0]
					* 51
					+ "' border=0 CellSpacing='0' Cellpadding='0' bgcolor='#fff2d5' bordercolor='#888888'>")

	y = Anos.length
	document.write("<tr>")
	ContAnos = 0
	Qbra = 0

	for (x = 1; x < y; x++) {

		if (Anos[x] == 0) {
			document.write("<td></td>")
		} else {
			BtAnoN(Anos[x] + "")
		}
		Qbra++
		if (Qbra == Anos[0]) {
			document.write("</tr><tr>")
			Qbra = 0
		}
	}
	document.write("</tr></table>")
	document.write("</center></td></tr></table>")
	document.write("</td><td width='33%'>&nbsp;</td></table></p>")

}

function IndAnoN(Anos, Titulo, Arq) {
	document.write("<table align='center' border='0' CellSpacing='1' Cellpadding='1' bgcolor='#F2F2F2'><tr><td bgcolor='#E7E7E7' class='indices' style='padding: 7px;'><font color=#333333>"
					+ Titulo + "</font></td></tr><tr><td style='padding: 7px;'><center>")
	document.write("<center><table class=AL width='"
					+ Anos[0]
					* 51
					+ "' border=0 CellSpacing='0' Cellpadding='0' bordercolor='#7D7D7D'>")

	y = Anos.length
	document.write("<tr>")
	ContAnos = 0
	Qbra = 0

	for (x = 1; x < y; x++) {

		if (Anos[x] == 0) {
			document.write("<td><img src='../../../imgs/Bt50c.gif'></td>")
		} else {
			BtAnoN(Anos[x] + "", Arq)
		}
		Qbra++
		if (Qbra == Anos[0]) {
			document.write("</tr><tr>")
			Qbra = 0
		}
	}
	document.write("</tr></table>")
	document.write("</center></td></tr></table>")

}

function BtAnoN(Bt, Arq) {
	if (Arq == "") {
		Arq = "IndAno"
	}
	document.write("<td>")
	BtPuro("Bt2", "50", Arq + ".php?Ano=" + Bt, Bt, "")
	document.write("</td>")
}

function BtAno(Bt) {
	document.write("<a href=\'IndAno.php?Ano="
					+ Bt
					+ "\'><td width='51' height='25' background=\"../../imgs/AnosD.gif\" onmouseover=\"background='../../imgs/AnosL.gif'\" onmouseout=\"background='../../imgs/AnosD.gif'\"><center>"
					+ Bt + "</center></td></a>")

}

function IndAnoNPar(Anos,Titulo,Arq) {

	document.write("<table><tr><td width='33%'>&nbsp;</td><td width='33%'>")

document.write("<table width='100%' border='1' CellSpacing='1' Cellpadding='5' bgcolor='#D0E8F0' bordercolor='#AAAABB'><tr><td><center><b>"+Titulo+"</td></tr><tr><td><center>")

  document.write("<center><table class=AL width='"+Anos[0]*51+"' border=0 CellSpacing='0' Cellpadding='0' bgcolor='#D0E8F0' bordercolor='#888888'>")

y=Anos.length
	document.write("<tr>")
	ContAnos=0
	Qbra=0

	for (x=1 ; x<y ; x++) {

		if (Anos[x]==0) {
			document.write("<td></td>")
		} else {
			BtAnoNPar(Anos[x]+"",Arq)
		}
		Qbra++
		if (Qbra==Anos[0]) {
			document.write("</tr><tr>")
			Qbra=0
		}
}
	document.write("</tr></table>")

	document.write("</center></td></tr></table>")

	document.write("</td><td width='33%'>&nbsp;</td></table>")

}
function BtAnoNPar(Bt,Arq) {
	if(Arq=="") {Arq="IndAno"}
	document.write("<td>")
	BtPuro("Bt2","50",Arq+".php?Ano="+Bt,Bt,"")
	document.write("</td>")
}
function IndAnoNPor(Anos,Titulo,Arq) {

	document.write("<table><tr><td width='33%'>&nbsp;</td><td width='33%'>")

document.write("<table width='100%' border='1' CellSpacing='1' Cellpadding='5' bgcolor='#D0E8F0' bordercolor='#AAAABB'><tr><td><center><b>"+Titulo+"</td></tr><tr><td><center>")

  document.write("<center><table class=AL width='"+Anos[0]*51+"' border=0 CellSpacing='0' Cellpadding='0' bgcolor='#D0E8F0' bordercolor='#888888'>")

y=Anos.length
	document.write("<tr>")
	ContAnos=0
	Qbra=0

	for (x=1 ; x<y ; x++) {

		if (Anos[x]==0) {
			document.write("<td></td>")
		} else {
			BtAnoNPor(Anos[x]+"",Arq)
		}
		Qbra++
		if (Qbra==Anos[0]) {
			document.write("</tr><tr>")
			Qbra=0
		}
	}
	document.write("</tr></table>")

	document.write("</center></td></tr></table>")

	document.write("</td><td width='33%'>&nbsp;</td></table>")
}
function BtAnoNPor(Bt,Arq) {
	if(Arq=="") {Arq="IndAno"}
	document.write("<td>")
	BtPuro("Bt2","50",Arq+".php?Ano="+Bt,Bt,"")
	document.write("</td>")

}
function IndAnoNLc(Anos, Titulo) {

	document.write("<table align='center' border='0' CellSpacing='1' Cellpadding='1' bgcolor='#F2F2F2'><tr><td bgcolor='#E7E7E7' class='indices' style='padding: 7px;'><font color=#333333>"
					+ Titulo + "</font></td></tr><tr><td style='padding: 7px;'><center>")
	document.write("<center><table class=AL width='"
					+ Anos[0]
					* 51
					+ "' border=0 CellSpacing='0' Cellpadding='0' bordercolor='#7D7D7D'>")


	y = Anos.length
	document.write("<tr>")
	ContAnos = 0
	Qbra = 0

	for (x = 1; x < y; x++) {

		if (Anos[x] == 0) {
			document.write("<td><img src='../../../imgs/Bt50c.gif'></td>")
		} else {
			BtAnoNLc(Anos[x] + "")
		}
		Qbra++
		if (Qbra == Anos[0]) {
			document.write("</tr><tr>")
			Qbra = 0
		}
	}
	document.write("</tr></table>")
	document.write("</center></td></tr></table>")
	document.write("</td><td width='33%'>&nbsp;</td></table>")

}

function BtAnoNLc(Bt) {
	document.write("<td>")
	BtPuro("Bt2", "50", "IndAnoLc.php?Ano=" + Bt, Bt, "")
	document.write("</td>")
}

function BtAnoLc(Bt) {
	document.write("<a href=\'IndAnoLc.php?Ano="
					+ Bt
					+ "\'><td width='51' height='25' background=\"../../imgs/AnosD.gif\" onmouseover=\"background='../../imgs/AnosL.gif'\" onmouseout=\"background='../../imgs/AnosD.gif'\"><center>"
					+ Bt + "</center></td></a>")
}

function BtMenu(Bt, NomeBt, FJ) {
	if (NomeBt == "") {
		NomeBt = Bt
	}
	if (FJ != "") {
		document.write("<img src='../../../ImgAss/" + NomeBt
				+ "0.gif' onMouseOver=\"src=\'../../../ImgAss/" + NomeBt
				+ "1.gif\'\" onMouseOut=\"src=\'../../../ImgAss/" + NomeBt
				+ "0.gif\'\" onClick=\"MostraSubMenu(\'" + Bt
				+ "\'); FechaSubs(\'" + FJ + "\')\" border=\"0\">")
	} else {
		document.write("<a href='Ind" + Bt + ".htm'><img src=\"../../../ImgAss/"
				+ Bt + "0.gif\" onMouseOver=\" src=\'../../../ImgAss/" + Bt
				+ "1.gif\'\" onMouseOut=\" src=\'../../../ImgAss/" + Bt
				+ "0.gif\'\" border=\"0\"></a>")
	}
}

function DivMenu(Pri, Seg, Ter, FJ) {
	if (Pri != "") {
		if (Ter == "") {
			document.write("<a name='"
							+ Pri
							+ Seg
							+ "'</a><br/><table cellSpacing=0 cellPadding=0 border=0 width='100%'><tr><td width='10%'><img src='../../../ImgAss/itini.gif'>")
			BtMenu(Pri, "", FJ)
	document.write("</td><td width='*'></td></tr><tr><td><img src='../../../ImgAss/subm4.gif'><img src='../../../ImgAss/"
							+ Seg
							+ "1.gif'></td><td width='90%' background='../../../ImgAss/asslin.gif' align='right'></td><td><img src='../../../ImgAss/itfim.gif'></td></tr></table><br/>")
		} else {
			document.write("<a name='"
							+ Pri
							+ Seg
							+ Ter
							+ "'</a><br/><table cellSpacing=0 cellPadding=0 border=0 width='100%'><tr><td width='10%'><img src='../../../ImgAss/itini.gif'>")
			BtMenu(Pri, "", FJ)
	document.write("</td><td width='10%'></td></tr><tr><td><img src='../../../ImgAss/subm4.gif'>")
			BtMenu(Pri + Seg, Seg, FJ)
	document.write("</td><td width='10%'></td></tr><tr><td><img src='../../../ImgAss/subm5.gif'>")
	document.write("<img src='../../../ImgAss/"
							+ Ter
							+ "1.gif'></td><td width='80%' background='../../../ImgAss/asslin.gif' align='right'></td><td><img src='../../../ImgAss/itfim.gif'></td></tr></table><br/>")
		}
	} else {
		document.write("<a name=\'"
						+ Seg
						+ "\'></a><br/><table cellSpacing=0 cellPadding=0 border=0 width='100%'><tr>")
	document.write("<td width=\"10%\"><img src=\"../../../ImgAss/itini.gif\"><img src=\"../../../ImgAss/"
						+ seg + "1.gif\"></td>")
	document.write("<td width=\"90%\" background=\"../../../ImgAss/asslin.gif\" align=\"right\"></td>")
	document.write("<td><img src=\"../../../ImgAss/itfim.gif\"></td></tr></table><br/>")
	}
}


function SubMenuNew(Tm, TitSubMenu, TitDif, qdade, SubMenu, It1, It2, It3, It4,
		It5, It6, It7, It8, It9, It10, It11, It12, It13, It14, It15, It16,
		It17, It18, It19, It20, It21, It22, It23, It24, It25) {
	if (TitDif != "") {
		Titulo = TitDif
	} else {
		Titulo = TitSubMenu
	}

	SubMenu = SubMenu.split(",");

	document.write("<div id='sm" + TitSubMenu
			+ "' style='position:absolute; left:auto; top:auto; width:" + Tm
			+ "px; height:auto; display: none; z-index:-1'>")
	document.write("<table width='" + Tm+ "' border='1' CellSpacing='0' Cellpadding='6' bgcolor='#f2f2f2' bordercolor='#666666'>")
	document.write("<tr><td><table width='100%' border='0' CellSpacing='0' Cellpadding='0'><tr><td colspan=2>")
	BtMn(Titulo, "1", "", Tm);
	document.write("<img src=\'../../../ImgAss/subm1.gif\'></td></tr>")
	document.write("<font color='#E7F4FE' face='Arial, Helvetica, sans-serif'>")
	for (n = 1; n < qdade + 1; n++) {
		document.write("<tr><td>");
		SM = 0;
		Item = eval("It" + n);
		if (n < qdade) {
			document.write("<img src=\'../../../ImgAss/subm2.gif\'>")
		} else {
			document.write("<img src=\'../../../ImgAss/subm3.gif\'>")
		}
		document.write("</td><td>")

		if (SubMenu.length > 0) {
			for (m = 0; m < SubMenu.length; m++) {
				if (SubMenu[m] == "" + n) {
					SM = 1;
				}
			}
		}

		if (SM == 0) {
			BtMn(TitSubMenu + ':' + Item, BtMnText(Item), "", Tm);
		} else {
			ItemText = BtMnText(Item);
			if (n == 1) {
				FecJan = TitSubMenu + It2;
			} else {
				FecJan = TitSubMenu + It1;
			}

			BtMn(TitSubMenu + ":" + Item, ItemText, FecJan, Tm);
		}
		document.write("</td></tr>")
	}

	document.write("</table>")
	document.write("<center><br/>")
	document.write("<img src='../../../imgs/Menubl.gif' border='0'>")
	document.write("<img src='../../../imgs/Menub0.gif' onClick='Fecha2(\"sm"
					+ TitSubMenu
					+ "\")' onMouseOver=\"src=\'../../../imgs/Menub1.gif\'\" onMouseOut=\"src=\'../../../imgs/Menub0.gif\'\" border='0'>")
	document.write("<img src='../../../imgs/Menubr.gif' border='0'>")
	document.write("</td></tr></center></table>")
	document.write("</div>")
	Fecha("IndAno")
}

function BtMnNew(Bt, Bt2, FJ, Tm, Pos) {
	if (!Pos) {
		Pos = 'Bt2'
	} else {
		Pos = 'Bt2c'
	}
	if (!Tm) {
		Tm = '250'
	}
	NomeBt = BtMnText(Bt)
	if (Tm == '440') {
		return ("<table cellSpacing='0' cellPadding='0' width='440' height='34' border='0'><tr><td class='Bt3' background='../../../imgs/Bt440b.gif'>"
				+ NomeBt + "</td></tr></table>")
	} else {
		if (Bt2 != "") {
			if (Bt2 == "1") {
				Bt = ""
			} else {
				NomeBt = BtMnText(Bt2)
			}
		}
		if (Bt == "") {
			return ("<table cellSpacing='0' cellPadding='0' width='" + Tm
					+ "' height='23' border='0'><tr><td class='" + Pos
					+ "' background='../../../imgs/Bt" + Tm
					+ "b.gif'\">&nbsp;&nbsp;&nbsp;" + NomeBt + "</td></tr></table>")
		} else {
			if (FJ != "") {
				return ("<table cellSpacing='0' cellPadding='0' width='" + Tm
						+ "' height='23' border='0'><tr><a href='#" + Bt
						+ "'><td class='" + Pos + "' background='../../../imgs/Bt"
						+ Tm + "a.gif' onmouseover=\"background='../../../imgs/Bt"
						+ Tm
						+ "b.gif'\" onmouseout=\"background='../../../imgs/Bt"
						+ Tm + "a.gif'\" onClick=\"MostraSubMenu(\'" + Bt
						+ "\'); FechaSubsNew(\'" + FJ
						+ "\')\">&nbsp;&nbsp;&nbsp;" + NomeBt + "</td></a></tr></table>")
			} else {
				return ("<table cellSpacing='0' cellPadding='0' width='" + Tm
						+ "' height='23' border='0'><tr><a href=Ind" + Bt
						+ ".asp><td class='" + Pos
						+ "' background='../../../imgs/Bt" + Tm
						+ "a.gif' onmouseover=\"background='../../../imgs/Bt" + Tm
						+ "b.gif'\" onmouseout=\"background='../../../imgs/Bt"
						+ Tm + "a.gif'\">&nbsp;&nbsp;&nbsp;" + NomeBt + "</td></a></tr></table>")
			}
		}
	}
}



function BtMnText(BMT) {
	if (BMT=="A")	{return("1985")}
	if (BMT=="B")	{return("1986")}
	if (BMT=="C")	{return("1987")}
	if (BMT=="D")	{return("1988")}
	if (BMT=="E")	{return("1989")}
	if (BMT=="F")	{return("1990")}
	if (BMT=="G")	{return("1991")}
	if (BMT=="H")	{return("1992")}
	if (BMT=="I")	{return("1993")}
	if (BMT=="J")	{return("1994")}
	if (BMT=="K")	{return("1995")}
	if (BMT=="L")	{return("1996")}
	if (BMT=="M")	{return("1997")}
	if (BMT=="N")	{return("1998")}
	if (BMT=="O")	{return("1999")}
	if (BMT=="P")	{return("2000")}
	if (BMT=="Q")	{return("2001")}
	if (BMT=="R")	{return("2002")}
	if (BMT=="S")	{return("2003")}
	if (BMT=="T")	{return("2004")}
	if (BMT=="U")	{return("2005")}
	if (BMT=="V")	{return("2006")}
	if (BMT=="X")	{return("2007")}
	if (BMT=="Z")	{return("2008")}

	if (BMT=="Todas")	{return("Todas")}
	if (BMT=="SessOrdi")	{return("Sessões Ordinárias")}
	if (BMT=="SessExtr")	{return("Sessões Extraordinárias")}
	if (BMT=="SessSole")	{return("Sessões Solenes")}


	if (BMT == "AbatDivi") { return("Abatimento de Dívida"); }
	if (BMT == "CancDivi") { return("Cancelamento de Dívida"); }
	if (BMT == "DeciTerc") { return("13º Salário"); }
	if (BMT == "Abon") { return("Abonos"); }
	if (BMT == "AjudCust") { return("Ajuda de Custo"); }
	if (BMT == "Atas") { return("A T A S"); }
	if (BMT == "DecsLegs") { return("DECRETOS LEGISLATIVOS"); }
	if (BMT == "OrdServ") { return("ORDENS DE SERVIÇO"); }
	if (BMT == "Port") { return("PORTARIAS"); }
	if (BMT == "Res") { return("RESOLUÇÕES"); }
	if (BMT == "ResSLS") { return("RESOLUÇÕES"); }
	if (BMT == "ResAdm") { return("RESOLUÇÕES ADMINISTRATIVAS"); }
	if (BMT == "ResMesCam") { return("RESOLUÇÕES DA MESA DIRETORA"); }
	if (BMT == "AdmiMuni") { return("Administração Municipal"); }
	if (BMT == "Alie") { return("Alienações"); }
	if (BMT == "Alva") { return("Alvarás"); }
	if (BMT == "Alam") { return("Alameda"); }
	if (BMT == "Arre") { return("Arrecadação"); }
	if (BMT == "AtosMesa") { return("Atos da Mesa Diretora"); }
	if (BMT == "Ambu") { return("Ambulâncias"); }
	if (BMT == "AproCont") { return("Aprovação de Contas"); }
	if (BMT == "Anis") { return("Anistia"); }
	if (BMT == "Apos") { return("Aposentadorias"); }
	if (BMT == "Aqui") { return("Aquisições"); }
	if (BMT == "AreaBair") { return("Áreas e Bairros"); }
	if (BMT == "Asso") { return("Associações"); }
	if (BMT == "AssoCons") { return("Associações & Conselhos"); }
	if (BMT == "HospOfic") { return("Hóspedes Oficiais"); }
	if (BMT == "Honr") { return("Honrarias"); }
	if (BMT == "Cida") { return("Cidadania"); }
	if (BMT == "RegrConc") { return("Regras para Concessão"); }
	if (BMT == "AtosAdmiDive") { return("Atos Adm. Diversos"); }
	if (BMT == "AtuaMone") { return("Atualização Monetária"); }
	if (BMT == "AuxiSubv") { return("Auxílios & Subvenções"); }
	if (BMT == "Avan") { return("Avanços"); }
	if (BMT == "AvenRuas") { return("Avenidas & Ruas"); }
	if (BMT == "Bair") { return("Bairros"); }
	if (BMT == "CaleFisc") { return("Calendário Fiscal"); }
	if (BMT == "Cemi") { return("Cemitérios"); }
	if (BMT == "Camp") { return("Campanhas"); }
	if (BMT == "Depa") { return("Departamentos"); }
	if (BMT == "CamaMuni") { return("Câmara Municipal"); }
	if (BMT == "CancDebi") { return("Cancelamento de Débito"); }
	if (BMT == "CargFunc") { return("Cargos & Funções"); }
	if (BMT == "Cess") { return("Cessões"); }
	if (BMT == "CessConc") { return("Cessões & Concessões"); }
	if (BMT == "CidaIrma") { return("Cidades Irmãs"); }
	if (BMT == "Codg") { return("Códigos"); }
	if (BMT == "Codf") { return("Codificação"); }
	if (BMT == "Come") { return("Comércio"); }
	if (BMT == "CodiEtic") { return("Cód. de Ética e Decoro Parl."); }
	if (BMT == "Comi") { return("Comissões Municipais"); }
	if (BMT == "ComiMuni") { return("Comissões Municipais"); }
	if (BMT == "ComiGrupTrab") { return("Comis./Grupos de Trab."); }
	if (BMT == "Comp") { return("Compulsória"); }
	if (BMT == "ConcPublMuni") { return("Concurso Públ. Municipal"); }
	if (BMT == "Cnst") { return("Construções"); }
	if (BMT == "Cnsm") { return("Consumidor"); }
	if (BMT == "ConsMuni") { return("Conselhos Municipais"); }
	if (BMT == "Cons") { return("Conselhos Municipais"); }
	if (BMT == "Cont") { return("Contratos"); }
	if (BMT == "ContConv") { return("Contratos & Convênios"); }
	if (BMT == "ContMelh") { return("Contribuição de Melhoria"); }
	if (BMT == "Conv") { return("Convênios"); }
	if (BMT == "Conc") { return("Concursos"); }
	if (BMT == "Crec") { return("Creches"); }
	if (BMT == "CredAdicSupl") { return("Crédito Adic. Suplementar"); }
	if (BMT == "CredAdicEspe") { return("Crédito Adic. Especial"); }
	if (BMT == "CriaAdol") { return("Criança & Adolescente"); }
	if (BMT == "DAEB") { return("DAEB"); }
	if (BMT == "Cncr") { return("Concursos/Proc. Seletivos"); }
	if (BMT == "DesaDesa") { return("Desafetações/Desapropr."); }
	if (BMT == "Dfta") { return("Desafetações"); }
	if (BMT == "Dprp") { return("Desapropriações"); }
	if (BMT == "DacaPaga") { return("Dação em Pagamento"); }
	if (BMT == "DeclUtilPubl") { return("Declaração de Utilid. Públ."); }
	if (BMT == "Defi") { return("Deficientes"); }
	if (BMT == "DenoBens") { return("Denominação de Bens"); }
	if (BMT == "Desa") { return("Desapropriações"); }
	if (BMT == "Diar") { return("Diárias"); }
	if (BMT == "DiasLeti") { return("Dias Letivos"); }
	if (BMT == "DireOrca") { return("Diretrizes Orçamentárias"); }
	if (BMT == "Dive") { return("Diversos"); }
	if (BMT == "DiviAtiv") { return("Dívida Ativa"); }
	if (BMT == "DoacEfet") { return("Doações Efetuadas"); }
	if (BMT == "DoacRece") { return("Doações Recebidas"); }
	if (BMT == "Educ") { return("Educação"); }
	if (BMT == "Empe") { return("Empenhos"); }
	if (BMT == "Empr") { return("Empréstimos"); }
	if (BMT == "Ensi") { return("Ensino"); }
	if (BMT == "EnteMuni") { return("Entes Municipais"); }
	if (BMT == "EntiAfin") { return("Entidades Afins"); }
	if (BMT == "EscoMuni") { return("Escolas Municipais"); }
	if (BMT == "Esco") { return("Escolas Municipais"); }
	if (BMT == "EscaPadr") { return("Escala-Padrão"); }
	if (BMT == "Edif") { return("Edificações"); }
	if (BMT == "Esta") { return("Estágios"); }
	if (BMT == "Estr") { return("Estradas"); }
	if (BMT == "EstrAdmi") { return("Estrutura Administrativa"); }
	if (BMT == "EfemEven") { return("Efemérides/Eventos"); }
	if (BMT == "Exon") { return("Exonerações"); }
	if (BMT == "Expe") { return("Expediente"); }
	if (BMT == "FarmDrog") { return("Farmácias/Drogarias"); }
	if (BMT == "Feri") { return("Feriados"); }
	if (BMT == "Fund") { return("Fundações"); }
	if (BMT == "Fera") { return("Férias"); }
	if (BMT == "FENA") { return("F E N A C"); }
	if (BMT == "GuarMuni") { return("Guarda Municipal"); }
	if (BMT == "FixaRemu") { return("Fixação de Remuneração"); }
	if (BMT == "FuncGratGrat") { return("Funç. Grat./Gratificações"); }
	if (BMT == "Grat") { return("Gratificações"); }
	if (BMT == "FuncPess") { return("Funcionalismo/Pessoal"); }
	if (BMT == "Fdos") { return("Fundos Municipais"); }
	if (BMT == "HoraExpe") { return("Horário de Expediente"); }
	if (BMT == "HospOfic") { return("Hóspedes Oficiais"); }
	if (BMT == "HospPostSaud") { return("Hospitais/Post. de Saúde"); }
	if (BMT == "IdosTercIdad") { return("Idosos/Terceira Idade"); }
	if (BMT == "Imov") { return("Imóveis"); }
	if (BMT == "Inde") { return("Indenizações"); }
	if (BMT == "Inva") { return("Por Invalidez"); }
	if (BMT == "InstFina") { return("Instituições Financeiras"); }
	if (BMT == "IPAS") { return("I P A S E M"); }
	if (BMT == "IPTU") { return("I P T U"); }
	if (BMT == "Isen") { return("Isenções"); }
	if (BMT == "ISSQ") { return("I S S Q N"); }
	if (BMT == "REFIS") { return("R E F I S"); }
	if (BMT == "ITBI") { return("I T B I"); }
	if (BMT == "IPSM") { return("I P S M"); }
	if (BMT == "LicePrem") { return("Licença Prêmio"); }
	if (BMT == "Lici") { return("Licitações"); }
	if (BMT == "LimiPeri") { return("Limites e Perímetros"); }
	if (BMT == "Lixo") { return("Lixo"); }
	if (BMT == "Loca") { return("Locações"); }
	if (BMT == "Logr") { return("Logradouros"); }
	if (BMT == "Pass") { return("Passagens"); }
	if (BMT == "Veto") { return("Vetos"); }
	if (BMT == "Lote") { return("Loteam. / Parcel. do Solo"); }
	if (BMT == "LoteParcZone") { return("Loteam. / Parcel. do Solo"); }
	if (BMT == "Aven") { return("Avenidas"); }
	if (BMT == "Bair") { return("Bairros"); }
	if (BMT == "Estr") { return("Estradas"); }
	if (BMT == "Prac") { return("Praças"); }
	if (BMT == "ProcLegi") { return("Processo Legislativo"); }
	if (BMT == "Ruas") { return("Ruas"); }
	if (BMT == "Serv") { return("Servidões"); }
	if (BMT == "Trav") { return("Travessas"); }
	if (BMT == "Viel") { return("Vielas"); }
	if (BMT == "AreaVerd") { return("Áreas Verdes"); }
	if (BMT == "Luto") { return("Luto Oficial"); }
	if (BMT == "Legi") { return("Legislativo"); }
	if (BMT == "Magi") { return("Magistério"); }
	if (BMT == "LutoOfic") { return("Luto Oficial"); }
	if (BMT == "Medi") { return("Medicamentos"); }
	if (BMT == "MeioAmbi") { return("Meio Ambiente"); }
	if (BMT == "MoveEquiObje") { return("Móveis/Equip./Objetos"); }
	if (BMT == "Mulh") { return("Mulher"); }
	if (BMT == "PatrHist") { return("Patrim. Histórico e Cultural"); }
	if (BMT == "Nome") { return("Nomeações"); }
	if (BMT == "OperCred") { return("Operações de Crédito"); }
	if (BMT == "Orca") { return("Orçamento"); }
	if (BMT == "OrcaReceDesp") { return("Orça Receita/Despesa"); }
	if (BMT == "PermEfet") { return("Permutas Efetuadas"); }
	if (BMT == "OutrAssu") { return("Outros Assuntos"); }
	if (BMT == "Sess") { return("Sessões da Câmara Municipal"); }
	if (BMT == "TribCont") { return("Tribunal de Contas"); }
	if (BMT == "Aber") { return("Abertura"); }
	if (BMT == "Dias") { return("Dia/Horário de Realização"); }
	if (BMT == "Extr") { return("Extraordinárias"); }
	if (BMT == "Hora") { return("Horário"); }
	if (BMT == "Prop") { return("Proposições"); }
	if (BMT == "PaisMest") { return("Pais e Mestres"); }
	if (BMT == "PartCurs") { return("Particip. da Câmara - Cursos"); }
	if (BMT == "PartAsso") { return("Particip. da Câmara - Assoc."); }
	if (BMT == "PartSoci") { return("Particip. Societárias"); }
	if (BMT == "PartEven") { return("Particip. da Câmara - Eventos"); }
	if (BMT == "Pres") { return("Presidência da Câmara"); }
	if (BMT == "Patr") { return("Patrimônio"); }
	if (BMT == "PensPrev") { return("Pensões/F.de Pen./Previd."); }
	if (BMT == "Esta") { return("Estágios"); }
	if (BMT == "Perm") { return("Permutas"); }
	if (BMT == "PisoSala") { return("Piso Salarial"); }
	if (BMT == "PrinDire") { return("Principais Diretrizes"); }
	if (BMT == "PlanDire") { return("Plano Diretor"); }
	if (BMT == "PlanPlurInve") { return("Plano Plurianual de Inv."); }
	if (BMT == "PodePoli") { return("Poder de Polícia"); }
	if (BMT == "PontFacu") { return("Ponto Facultativo"); }
	if (BMT == "PontTaxi") { return("Pontos de Táxi"); }
	if (BMT == "Prac") { return("Praças"); }
	if (BMT == "PrazCondPaga") { return("Prazos e Cond. de Pagto."); }
	if (BMT == "Prec") { return("Preços"); }
	if (BMT == "Prem") { return("Prêmios"); }
	if (BMT == "ProgMuni") { return("Programas Municipais"); }
	if (BMT == "Prog") { return("Programas"); }
	if (BMT == "Prom") { return("Promoções"); }
	if (BMT == "PrincDecs") { return("PRINCIPAIS DECRETOS DO MUNICÍPIO"); }
	if (BMT == "PrincLeis") { return("PRINCIPAIS LEIS DO MUNICÍPIO"); }
	if (BMT == "Reaj") { return("Reajustes"); }
	if (BMT == "RealVerb") { return("Realocação de Verbas"); }
	if (BMT == "ReduDota") { return("Redução de Dotação"); }
	if (BMT == "RegiJuri") { return("Regime Jurídico"); }
	if (BMT == "RegiInte") { return("Regimento Interno"); }
	if (BMT == "Regu") { return("Regulamentações"); }
	if (BMT == "Vere") { return("Vereadores"); }
	if (BMT == "RemuVere") { return("Remuneração dos Vereadores"); }
	if (BMT == "Remu") { return("Remuneração"); }
	if (BMT == "Recu") { return("Recursos"); }
	if (BMT == "Lice") { return("Licenças"); }
	if (BMT == "Rein") { return("Reintegração"); }
	if (BMT == "RemoFunc") { return("Remoção Funcional"); }
	if (BMT == "Remu") { return("Remuneração"); }
	if (BMT == "RemoLote") { return("Remoção de Lotação"); }
	if (BMT == "Revi") { return("Revisão"); }
	if (BMT == "HMGV") { return("Hosp. Mun. Getúlio Vargas"); }
	if (BMT == "Sane") { return("Saneamento"); }
	if (BMT == "SaneComu") { return("Saneamento/COMUSA"); }
	if (BMT == "Saud") { return("Saúde"); }
	if (BMT == "PassLivr") { return("Passe-Livre"); }
	if (BMT == "Admi") { return("Administração"); }
	if (BMT == "Dire") { return("Diretrizes"); }
	if (BMT == "Pess") { return("Pessoal"); }
	if (BMT == "SalaFami") { return("Salário-Família"); }
	if (BMT == "Secr") { return("Secretarias"); }
	if (BMT == "SecrCamaMuni") { return("Secretaria da Câmara Mun."); }
	if (BMT == "CaixBene") { return("Caixa Beneficente - CBEM"); }
	if (BMT == "INPA") { return("INPAS"); }
	if (BMT == "ServMuni") { return("Servidores Municipais"); }
	if (BMT == "FozPrev") { return("Foz Previdência"); }
	if (BMT == "IPRE") { return("IPRED"); }
	if (BMT == "Srvc") { return("Serviços"); }
	if (BMT == "Sind") { return("Sindicâncias"); }
	if (BMT == "SistViar") { return("Sistema Viário"); }
	if (BMT == "JARI") { return("J A R I"); }
	if (BMT == "Subs") { return("Subsídios"); }
	if (BMT == "Tari") { return("Tarifas"); }
	if (BMT == "Taxa") { return("Taxas"); }
	if (BMT == "Taxi") { return("Táxis"); }
	if (BMT == "TempContr") { return("Por Tempo de Contrib."); }
	if (BMT == "TituCred") { return("Títulos de Crédito"); }
	if (BMT == "TituHono") { return("Títulos Honoríficos"); }
	if (BMT == "TodaLeisSobr") { return("Todas as Leis sobre..."); }
	if (BMT == "AdicNotu") { return("Adicional Noturno"); }
	if (BMT == "DescFolh") { return("Desconto em Folha"); }
	if (BMT == "TodoDecrSobr") { return("Todos os Decretos sobre..."); }
	if (BMT == "Traf") { return("Tráfego"); }
	if (BMT == "Tran") { return("Transportes"); }
	if (BMT == "Moto") { return("Motos"); }
	if (BMT == "TranCole") { return("Transportes Coletivos"); }
	if (BMT == "AbriPass") { return("Abrigo p/ Passageiros"); }
	if (BMT == "Linh") { return("Linhas"); }
	if (BMT == "ValeTran") { return("Vale Transporte"); }
	if (BMT == "ValeAlim") { return("Vale Alimentação/Refeição"); }
	if (BMT == "Trib") { return("Tributos"); }
	if (BMT == "Turi") { return("Turismo"); }
	if (BMT == "UnidPadrMone") { return("Unidade Pad. Monetária"); }
	if (BMT == "UtilPubl") { return("Utilidade Pública"); }
	if (BMT == "VencSala") { return("Vencimentos & Salários"); }
	if (BMT == "Vend") { return("Vendas"); }
	if (BMT == "Subp") { return("Sub-Prefeituras"); }
	if (BMT == "Zona") { return("Zoneamento"); }
	if (BMT == "CronDecr") { return("ÍNDICE CRONOLÓGICO DECRESCENTE&nbsp;&nbsp;&nbsp;"); }
	if (BMT == "PrinLeis") { return("PRINCIPAIS LEIS DO MUNICÍPIO&nbsp;&nbsp;&nbsp;"); }
	if (BMT == "PrinDecs") { return("PRINCIPAIS DECRETOS DO MUNICÍPIO&nbsp;&nbsp;&nbsp;"); }
	if (BMT == "Decr") { return("DECRETOS MUNICIPAIS&nbsp;&nbsp;&nbsp;<br/>Índice Cronológico Decrescente"); }
	if (BMT == "LeisOrdi") { return("LEIS ORDINÁRIAS&nbsp;&nbsp;&nbsp;<br/>Índice Cronológico Decrescente"); }
	if (BMT == "LeisComp") { return("LEIS COMPLEMENTARES&nbsp;&nbsp;&nbsp;"); }
	if (BMT == "LeisProm") { return("LEIS PROMULGADAS&nbsp;&nbsp;&nbsp;<br/>Índice Cronológico Decrescente"); }

if (BMT == "AdmiMuniCodg") { return "Códigos"; }
	if (BMT == "Gera") { return "Geral"; }
	if (BMT == "CodgTrib") { return "Código Tributário"; }
	if (BMT == "CodgSani") { return "Código Sanitário"; }
	if (BMT == "CodgPost") { return "Código de Posturas"; }
	if (BMT == "NovoPlanDire") { return "Novo Plano Diretor"; }
	if (BMT == "TranEsco") { return "Transporte Escolar"; }
	if (BMT == "CodgSane") { return "Código Sanitário"; }
	if (BMT == "CodgEdif") { return "Código de Edificações"; }
	if (BMT == "CodgAdmi") { return "Código Administrativo"; }
	if (BMT == "CodgObra") { return "Código de Obras"; }
	if (BMT == "Carg") { return "Cargos"; }
	if (BMT == "LeisOrca") { return "Leis Orçamentárias"; }
	if (BMT == "Venc") { return "Vencimentos"; }
	if (BMT == "Cnta") { return "Contratações"; }
	if (BMT == "Acor") { return "Acordos"; }
	if (BMT == "IMTR") { return "I M T R"; }
	if (BMT == "Pens") { return "Pensões"; }
	if (BMT == "TranTranCole") { return "Transporte Coletivo"; }
	if (BMT == "Urba") { return "Urbanismo"; }

}

function MudaTestaNew(IndMenu,Tm) {
	 DM2=IndMenu
	 DM1=""
	  DM3=""
	 if (IndMenu=="ASessOrdi") {DM1="A"; DM2="SessOrdi"}
	 if (IndMenu=="ASessExtr") {DM1="A"; DM2="SessExtr"}
	 if (IndMenu=="ASessSole") {DM1="A"; DM2="SessSole"}
	 if (IndMenu=="ATodas") {DM1="A"; DM2="Todas"}

	 if (IndMenu=="BSessOrdi") {DM1="B"; DM2="SessOrdi"}
	 if (IndMenu=="BSessExtr") {DM1="B"; DM2="SessExtr"}
	 if (IndMenu=="BSessSole") {DM1="B"; DM2="SessSole"}
	 if (IndMenu=="BTodas") {DM1="B"; DM2="Todas"}

	 if (IndMenu=="CSessOrdi") {DM1="C"; DM2="SessOrdi"}
	 if (IndMenu=="CSessExtr") {DM1="C"; DM2="SessExtr"}
	 if (IndMenu=="CSessSole") {DM1="C"; DM2="SessSole"}
	 if (IndMenu=="CTodas") {DM1="C"; DM2="Todas"}

	 if (IndMenu=="DSessOrdi") {DM1="D"; DM2="SessOrdi"}
	 if (IndMenu=="DSessExtr") {DM1="D"; DM2="SessExtr"}
	 if (IndMenu=="DSessSole") {DM1="D"; DM2="SessSole"}
	 if (IndMenu=="DTodas") {DM1="D"; DM2="Todas"}

	 if (IndMenu=="ESessOrdi") {DM1="E"; DM2="SessOrdi"}
	 if (IndMenu=="ESessExtr") {DM1="E"; DM2="SessExtr"}
	 if (IndMenu=="ESessSole") {DM1="E"; DM2="SessSole"}
	 if (IndMenu=="ETodas") {DM1="E"; DM2="Todas"}

	 if (IndMenu=="FSessOrdi") {DM1="F"; DM2="SessOrdi"}
	 if (IndMenu=="FSessExtr") {DM1="F"; DM2="SessExtr"}
	 if (IndMenu=="FSessSole") {DM1="F"; DM2="SessSole"}
	 if (IndMenu=="FTodas") {DM1="F"; DM2="Todas"}

	 if (IndMenu=="GSessOrdi") {DM1="G"; DM2="SessOrdi"}
	 if (IndMenu=="GSessExtr") {DM1="G"; DM2="SessExtr"}
	 if (IndMenu=="GSessSole") {DM1="G"; DM2="SessSole"}
	 if (IndMenu=="GTodas") {DM1="G"; DM2="Todas"}

	 if (IndMenu=="HSessOrdi") {DM1="H"; DM2="SessOrdi"}
	 if (IndMenu=="HSessExtr") {DM1="H"; DM2="SessExtr"}
	 if (IndMenu=="HSessSole") {DM1="H"; DM2="SessSole"}
	 if (IndMenu=="HTodas") {DM1="H"; DM2="Todas"}


	 if (IndMenu=="ISessOrdi") {DM1="I"; DM2="SessOrdi"}
	 if (IndMenu=="ISessExtr") {DM1="I"; DM2="SessExtr"}
	 if (IndMenu=="ISessSole") {DM1="I"; DM2="SessSole"}
	 if (IndMenu=="ITodas") {DM1="I"; DM2="Todas"}


	 if (IndMenu=="JSessOrdi") {DM1="J"; DM2="SessOrdi"}
	 if (IndMenu=="JSessExtr") {DM1="J"; DM2="SessExtr"}
	 if (IndMenu=="JSessSole") {DM1="J"; DM2="SessSole"}
	 if (IndMenu=="JTodas") {DM1="J"; DM2="Todas"}


	 if (IndMenu=="KSessOrdi") {DM1="K"; DM2="SessOrdi"}
	 if (IndMenu=="KSessExtr") {DM1="K"; DM2="SessExtr"}
	 if (IndMenu=="KSessSole") {DM1="K"; DM2="SessSole"}
	 if (IndMenu=="KTodas") {DM1="K"; DM2="Todas"}


	 if (IndMenu=="LSessOrdi") {DM1="L"; DM2="SessOrdi"}
	 if (IndMenu=="LSessExtr") {DM1="L"; DM2="SessExtr"}
	 if (IndMenu=="LSessSole") {DM1="L"; DM2="SessSole"}
	 if (IndMenu=="LTodas") {DM1="L"; DM2="Todas"}


	 if (IndMenu=="MSessOrdi") {DM1="M"; DM2="SessOrdi"}
	 if (IndMenu=="MSessExtr") {DM1="M"; DM2="SessExtr"}
	 if (IndMenu=="MSessSole") {DM1="M"; DM2="SessSole"}
	 if (IndMenu=="MTodas") {DM1="M"; DM2="Todas"}


	 if (IndMenu=="NSessOrdi") {DM1="N"; DM2="SessOrdi"}
	 if (IndMenu=="NSessExtr") {DM1="N"; DM2="SessExtr"}
	 if (IndMenu=="NSessSole") {DM1="N"; DM2="SessSole"}
	 if (IndMenu=="NTodas") {DM1="N"; DM2="Todas"}


	 if (IndMenu=="OSessOrdi") {DM1="O"; DM2="SessOrdi"}
	 if (IndMenu=="OSessExtr") {DM1="O"; DM2="SessExtr"}
	 if (IndMenu=="OSessSole") {DM1="O"; DM2="SessSole"}
	 if (IndMenu=="OTodas") {DM1="O"; DM2="Todas"}


	 if (IndMenu=="PSessOrdi") {DM1="P"; DM2="SessOrdi"}
	 if (IndMenu=="PSessExtr") {DM1="P"; DM2="SessExtr"}
	 if (IndMenu=="PSessSole") {DM1="P"; DM2="SessSole"}
	 if (IndMenu=="PTodas") {DM1="P"; DM2="Todas"}


	 if (IndMenu=="QSessOrdi") {DM1="Q"; DM2="SessOrdi"}
	 if (IndMenu=="QSessExtr") {DM1="Q"; DM2="SessExtr"}
	 if (IndMenu=="QSessSole") {DM1="Q"; DM2="SessSole"}
	 if (IndMenu=="QTodas") {DM1="Q"; DM2="Todas"}


	 if (IndMenu=="RSessOrdi") {DM1="R"; DM2="SessOrdi"}
	 if (IndMenu=="RSessExtr") {DM1="R"; DM2="SessExtr"}
	 if (IndMenu=="RSessSole") {DM1="R"; DM2="SessSole"}
	 if (IndMenu=="RTodas") {DM1="R"; DM2="Todas"}


	 if (IndMenu=="SSessOrdi") {DM1="S"; DM2="SessOrdi"}
	 if (IndMenu=="SSessExtr") {DM1="S"; DM2="SessExtr"}
	 if (IndMenu=="SSessSole") {DM1="S"; DM2="SessSole"}
	 if (IndMenu=="STodas") {DM1="S"; DM2="Todas"}


	 if (IndMenu=="TSessOrdi") {DM1="T"; DM2="SessOrdi"}
	 if (IndMenu=="TSessExtr") {DM1="T"; DM2="SessExtr"}
	 if (IndMenu=="TSessSole") {DM1="T"; DM2="SessSole"}
	 if (IndMenu=="TTodas") {DM1="T"; DM2="Todas"}



	 if (IndMenu=="USessOrdi") {DM1="U"; DM2="SessOrdi"}
	 if (IndMenu=="USessExtr") {DM1="U"; DM2="SessExtr"}
	 if (IndMenu=="USessSole") {DM1="U"; DM2="SessSole"}
	 if (IndMenu=="UTodas") {DM1="U"; DM2="Todas"}



	 if (IndMenu=="USessOrdi") {DM1="U"; DM2="SessOrdi"}
	 if (IndMenu=="USessExtr") {DM1="U"; DM2="SessExtr"}
	 if (IndMenu=="USessSole") {DM1="U"; DM2="SessSole"}
	 if (IndMenu=="UTodas") {DM1="U"; DM2="Todas"}



	 if (IndMenu=="VSessOrdi") {DM1="V"; DM2="SessOrdi"}
	 if (IndMenu=="VSessExtr") {DM1="V"; DM2="SessExtr"}
	 if (IndMenu=="VSessSole") {DM1="V"; DM2="SessSole"}
	 if (IndMenu=="VTodas") {DM1="V"; DM2="Todas"}


	 if (IndMenu=="XSessOrdi") {DM1="X"; DM2="SessOrdi"}
	 if (IndMenu=="XSessExtr") {DM1="X"; DM2="SessExtr"}
	 if (IndMenu=="XSessSole") {DM1="X"; DM2="SessSole"}
	 if (IndMenu=="XTodas") {DM1="X"; DM2="Todas"}


	if (IndMenu == "AdmiMuniRegiJuri") { DM1 = "AdmiMuni"; DM2 = "RegiJuri"; }
	if (IndMenu == "AdmiMuniCncr") { DM1 = "AdmiMuni"; DM2 = "Cncr"; }
	if (IndMenu == "AdmiMuniServ") { DM1 = "AdmiMuni"; DM2 = "Serv"; }
	if (IndMenu == "AdmiMuniAlva") { DM1 = "AdmiMuni"; DM2 = "Alva"; }
	if (IndMenu == "AdmiMuniDAEB") { DM1 = "AdmiMuni"; DM2 = "DAEB"; }
	if (IndMenu == "AdmiMuniPatrHist") { DM1 = "AdmiMuni"; DM2 = "PatrHist"; }
	if (IndMenu == "AdmiMuniDive") { DM1 = "AdmiMuni"; DM2 = "Dive"; }
	if (IndMenu == "AdmiMuniSrvc") { DM1 = "AdmiMuni"; DM2 = "Srvc"; }
	if (IndMenu == "AdmiMuniProg") { DM1 = "AdmiMuni"; DM2 = "Prog"; }
	if (IndMenu == "AdmiMuniCamp") { DM1 = "AdmiMuni"; DM2 = "Camp"; }
	if (IndMenu == "AdmiMuniDepa") { DM1 = "AdmiMuni"; DM2 = "Depa"; }
	if (IndMenu == "AdmiMuniCnst") { DM1 = "AdmiMuni"; DM2 = "Cnst"; }
	if (IndMenu == "AdmiMuniCemi") { DM1 = "AdmiMuni"; DM2 = "Cemi"; }
	if (IndMenu == "AdmiMuniSubp") { DM1 = "AdmiMuni"; DM2 = "Subp"; }
	if (IndMenu == "AdmiMuniCidaIrma") { DM1 = "AdmiMuni"; DM2 = "CidaIrma"; }
	if (IndMenu == "AdmiMuniCodg") { DM1 = "AdmiMuni"; DM2 = "Codg"; }
	if (IndMenu == "AdmiMuniCome") { DM1 = "AdmiMuni"; DM2 = "Come"; }
	if (IndMenu == "AdmiMuniConcPublMuni") { DM1 = "AdmiMuni"; DM2 = "ConcPublMuni"; }
	if (IndMenu == "AdmiMuniConc") { DM1 = "AdmiMuni"; DM2 = "Conc"; }
	if (IndMenu == "AdmiMuniCnsm") { DM1 = "AdmiMuni"; DM2 = "Cnsm"; }
	if (IndMenu == "AdmiMuniDeclUtilPubl") { DM1 = "AdmiMuni"; DM2 = "DeclUtilPubl"; }
	if (IndMenu == "AdmiMuniEfemEven") { DM1 = "AdmiMuni"; DM2 = "EfemEven"; }
	if (IndMenu == "AdmiMuniEnteMuni") { DM1 = "AdmiMuni"; DM2 = "EnteMuni"; }
	if (IndMenu == "AdmiMuniEstrAdmi") { DM1 = "AdmiMuni"; DM2 = "EstrAdmi"; }
	if (IndMenu == "AdmiMuniExpe") { DM1 = "AdmiMuni"; DM2 = "Expe"; }
	if (IndMenu == "AdmiMuniFENA") { DM1 = "AdmiMuni"; DM2 = "FENA"; }
	if (IndMenu == "AdmiMuniGuarMuni") { DM1 = "AdmiMuni"; DM2 = "GuarMuni"; }
	if (IndMenu == "AdmiMuniInde") { DM1 = "AdmiMuni"; DM2 = "Inde"; }
	if (IndMenu == "AdmiMuniInstFina") { DM1 = "AdmiMuni"; DM2 = "InstFina"; }
	if (IndMenu == "AdmiMuniLici") { DM1 = "AdmiMuni"; DM2 = "Lici"; }
	if (IndMenu == "AdmiMuniLuto") { DM1 = "AdmiMuni"; DM2 = "Luto"; }
	if (IndMenu == "AdmiMuniLixo") { DM1 = "AdmiMuni"; DM2 = "Lixo"; }
	if (IndMenu == "AdmiMuniLimiPeri") { DM1 = "AdmiMuni"; DM2 = "LimiPeri"; }
	if (IndMenu == "AdmiMuniLutoOfic") { DM1 = "AdmiMuni"; DM2 = "LutoOfic"; }
	if (IndMenu == "AdmiMuniMulh") { DM1 = "AdmiMuni"; DM2 = "Mulh"; }
	if (IndMenu == "AdmiMuniPontFacu") { DM1 = "AdmiMuni"; DM2 = "PontFacu"; }
	if (IndMenu == "AdmiMuniSane") { DM1 = "AdmiMuni"; DM2 = "Sane"; }
	if (IndMenu == "AdmiMuniSaneComu") { DM1 = "AdmiMuni"; DM2 = "SaneComu"; }
	if (IndMenu == "AdmiMuniSecr") { DM1 = "AdmiMuni"; DM2 = "Secr"; }
	if (IndMenu == "AdmiMuniTituHono") { DM1 = "AdmiMuni"; DM2 = "TituHono"; }
	if (IndMenu == "AdmiMuniTraf") { DM1 = "AdmiMuni"; DM2 = "Traf"; }
	if (IndMenu == "AdmiMuniCons") { DM1 = "AdmiMuni"; DM2 = "Cons"; }
	if (IndMenu == "AssoConsAsso") { DM1 = "AssoCons"; DM2 = "Asso"; }
	if (IndMenu == "AssoConsCons") { DM1 = "AssoCons"; DM2 = "Cons"; }
	if (IndMenu == "AssoConsEntiAfin") { DM1 = "AssoCons"; DM2 = "EntiAfin"; }
	if (IndMenu == "AssoConsConsMuni") { DM1 = "AssoCons"; DM2 = "ConsMuni"; }
	if (IndMenu == "DesaDesaDfta") { DM1 = "DesaDesa"; DM2 = "Dfta"; }
	if (IndMenu == "DesaDesaDprp") { DM1 = "DesaDesa"; DM2 = "Dprp"; }
	if (IndMenu == "ContConvCont") { DM1 = "ContConv"; DM2 = "Cont"; }
	if (IndMenu == "ContConvConv") { DM1 = "ContConv"; DM2 = "Conv"; }
	if (IndMenu == "EducEsta") { DM1 = "Educ"; DM2 = "Esta"; }
	if (IndMenu == "EducDive") { DM1 = "Educ"; DM2 = "Dive"; }
	if (IndMenu == "EducDefi") { DM1 = "Educ"; DM2 = "Defi"; }
	if (IndMenu == "EducEnsi") { DM1 = "Educ"; DM2 = "Ensi"; }
	if (IndMenu == "EducCrec") { DM1 = "Educ"; DM2 = "Crec"; }
	if (IndMenu == "EducEsco") { DM1 = "Educ"; DM2 = "Esco"; }
	if (IndMenu == "EducEsta") { DM1 = "Educ"; DM2 = "Esta"; }
	if (IndMenu == "EducPaisMest") { DM1 = "Educ"; DM2 = "PaisMest"; }
	if (IndMenu == "EnsiDiasLeti") { DM1 = "Ensi"; DM2 = "DiasLeti"; }
	if (IndMenu == "EnsiEscoMuni") { DM1 = "Ensi"; DM2 = "EscoMuni"; }
	if (IndMenu == "SessAber") { DM1 = "Sess"; DM2 = "Aber"; }
	if (IndMenu == "SessDias") { DM1 = "Sess"; DM2 = "Dias"; }
	if (IndMenu == "SessExtr") { DM1 = "Sess"; DM2 = "Extr"; }
	if (IndMenu == "SessHora") { DM1 = "Sess"; DM2 = "Hora"; }
	if (IndMenu == "SessProp") { DM1 = "Sess"; DM2 = "Prop"; }
	if (IndMenu == "EnsiDive") { DM1 = "Ensi"; DM2 = "Dive"; }
	if (IndMenu == "FuncPessExon") { DM1 = "FuncPess"; DM2 = "Exon"; }
	if (IndMenu == "FuncPessFera") { DM1 = "FuncPess"; DM2 = "Fera"; }
	if (IndMenu == "FuncPessFeri") { DM1 = "FuncPess"; DM2 = "Feri"; }
	if (IndMenu == "FuncPessNome") { DM1 = "FuncPess"; DM2 = "Nome"; }
	if (IndMenu == "FuncPessDive") { DM1 = "FuncPess"; DM2 = "Dive"; }
	if (IndMenu == "LogrAvenRuas") { DM1 = "Logr"; DM2 = "AvenRuas"; }
	if (IndMenu == "LogrPass") { DM1 = "Logr"; DM2 = "Pass"; }
	if (IndMenu == "LogrRuas") { DM1 = "Logr"; DM2 = "Ruas"; }
	if (IndMenu == "LogrBair") { DM1 = "Logr"; DM2 = "Bair"; }
	if (IndMenu == "LogrAven") { DM1 = "Logr"; DM2 = "Aven"; }
	if (IndMenu == "LogrServ") { DM1 = "Logr"; DM2 = "Serv"; }
	if (IndMenu == "LogrAlam") { DM1 = "Logr"; DM2 = "Alam"; }
	if (IndMenu == "LogrTrav") { DM1 = "Logr"; DM2 = "Trav"; }
	if (IndMenu == "LogrViel") { DM1 = "Logr"; DM2 = "Viel"; }
	if (IndMenu == "LogrAreaVerd") { DM1 = "Logr"; DM2 = "AreaVerd"; }
	if (IndMenu == "LogrEstr") { DM1 = "Logr"; DM2 = "Estr"; }
	if (IndMenu == "LogrPrac") { DM1 = "Logr"; DM2 = "Prac"; }
	if (IndMenu == "ProcLegiComi") { DM1 = "ProcLegi"; DM2 = "Comi"; }
	if (IndMenu == "ProcLegiVeto") { DM1 = "ProcLegi"; DM2 = "Veto"; }
	if (IndMenu == "LogrDive") { DM1 = "Logr"; DM2 = "Dive"; }
	if (IndMenu == "PlanDirePrinDire") { DM1 = "PlanDire"; DM2 = "PrinDire"; }
	if (IndMenu == "OrcaCredAdicEspe") { DM1 = "Orca"; DM2 = "CredAdicEspe"; }
	if (IndMenu == "OrcaCredAdicSupl") { DM1 = "Orca"; DM2 = "CredAdicSupl"; }
	if (IndMenu == "OrcaDireOrca") { DM1 = "Orca"; DM2 = "DireOrca"; }
	if (IndMenu == "OrcaFdos") { DM1 = "Orca"; DM2 = "Fdos"; }
	if (IndMenu == "OrcaOperCred") { DM1 = "Orca"; DM2 = "OperCred"; }
	if (IndMenu == "OrcaOrcaReceDesp") { DM1 = "Orca"; DM2 = "OrcaReceDesp"; }
	if (IndMenu == "OrcaPlanPlurInve") { DM1 = "Orca"; DM2 = "PlanPlurInve"; }
	if (IndMenu == "OrcaReduDota") { DM1 = "Orca"; DM2 = "ReduDota"; }
	if (IndMenu == "OrcaRealVerb") { DM1 = "Orca"; DM2 = "RealVerb"; }
	if (IndMenu == "OrcaDive") { DM1 = "Orca"; DM2 = "Dive"; }
	if (IndMenu == "PatrMoveEquiObje") { DM1 = "Patr"; DM2 = "MoveEquiObje"; }
	if (IndMenu == "PlanDireDive") { DM1 = "PlanDire"; DM2 = "Dive"; }
	if (IndMenu == "PlanDireEdif") { DM1 = "PlanDire"; DM2 = "Edif"; }
	if (IndMenu == "PlanDireZona") { DM1 = "PlanDire"; DM2 = "Zona"; }
	if (IndMenu == "PatrMoveEquiObjeCessConc") { DM1 = "Patr"; DM2 = "MoveEquiObje"; DM3 = "CessConc"; }
	if (IndMenu == "PatrMoveEquiObjeCessConc") { DM1 = "Patr"; DM2 = "MoveEquiObje"; DM3 = "CessConc"; }
	if (IndMenu == "PatrMoveEquiObjeVend") { DM1 = "Patr"; DM2 = "MoveEquiObje"; DM3 = "Vend"; }
	if (IndMenu == "PatrMoveEquiObjePermEfet") { DM1 = "Patr"; DM2 = "MoveEquiObje"; DM3 = "PermEfet"; }
	if (IndMenu == "PatrMoveEquiObjeAlie") { DM1 = "Patr"; DM2 = "MoveEquiObje"; DM3 = "Alie"; }
	if (IndMenu == "PatrMoveEquiObjeAqui") { DM1 = "Patr"; DM2 = "MoveEquiObje"; DM3 = "Aqui"; }
	if (IndMenu == "PatrMoveEquiObjeDacaPaga") { DM1 = "Patr"; DM2 = "MoveEquiObje"; DM3 = "DacaPaga"; }
	if (IndMenu == "PatrMoveEquiObjeDenoBens") { DM1 = "Patr"; DM2 = "MoveEquiObje"; DM3 = "DenoBens"; }
	if (IndMenu == "PatrMoveEquiObjeCess") { DM1 = "Patr"; DM2 = "MoveEquiObje"; DM3 = "Cess"; }
	if (IndMenu == "PatrMoveEquiObjeDoacEfet") { DM1 = "Patr"; DM2 = "MoveEquiObje"; DM3 = "DoacEfet"; }
	if (IndMenu == "PatrMoveEquiObjeDoacRece") { DM1 = "Patr"; DM2 = "MoveEquiObje"; DM3 = "DoacRece"; }
	if (IndMenu == "PatrMoveEquiObjeDive") { DM1 = "Patr"; DM2 = "MoveEquiObje"; DM3 = "Dive"; }
	if (IndMenu == "PatrImovAqui") { DM1 = "Patr"; DM2 = "Imov"; DM3 = "Aqui"; }
	if (IndMenu == "PatrImovCessConc") { DM1 = "Patr"; DM2 = "Imov"; DM3 = "CessConc"; }
	if (IndMenu == "PatrImovCess") { DM1 = "Patr"; DM2 = "Imov"; DM3 = "Cess"; }
	if (IndMenu == "PatrImovDacaPaga") { DM1 = "Patr"; DM2 = "Imov"; DM3 = "DacaPaga"; }
	if (IndMenu == "PatrImovPermEfet") { DM1 = "Patr"; DM2 = "Imov"; DM3 = "PermEfet"; }
	if (IndMenu == "PatrImovDenoBens") { DM1 = "Patr"; DM2 = "Imov"; DM3 = "DenoBens"; }
	if (IndMenu == "PatrImovDoacEfet") { DM1 = "Patr"; DM2 = "Imov"; DM3 = "DoacEfet"; }
	if (IndMenu == "PatrImovDoacRece") { DM1 = "Patr"; DM2 = "Imov"; DM3 = "DoacRece"; }
	if (IndMenu == "PatrImovPerm") { DM1 = "Patr"; DM2 = "Imov"; DM3 = "Perm"; }
	if (IndMenu == "PatrImovVend") { DM1 = "Patr"; DM2 = "Imov"; DM3 = "Vend"; }
	if (IndMenu == "PatrImovDive") { DM1 = "Patr"; DM2 = "Imov"; DM3 = "Dive"; }
	if (IndMenu == "SaudDive") { DM1 = "Saud"; DM2 = "Dive"; }
	if (IndMenu == "SaudAsso") { DM1 = "Saud"; DM2 = "Asso"; }
	if (IndMenu == "SaudDefi") { DM1 = "Saud"; DM2 = "Defi"; }
	if (IndMenu == "VereRemu") { DM1 = "Vere"; DM2 = "Remu"; }
	if (IndMenu == "VereLice") { DM1 = "Vere"; DM2 = "Lice"; }
	if (IndMenu == "VereRecu") { DM1 = "Vere"; DM2 = "Recu"; }
	if (IndMenu == "SaudFarmDrog") { DM1 = "Saud"; DM2 = "FarmDrog"; }
	if (IndMenu == "SaudHospPostSaud") { DM1 = "Saud"; DM2 = "HospPostSaud"; }
	if (IndMenu == "SaudMedi") { DM1 = "Saud"; DM2 = "Medi"; }
	if (IndMenu == "SaudHMGVAdmi") { DM1 = "Saud"; DM2 = "HMGV"; DM3 = "Admi"; }
	if (IndMenu == "SaudHMGVDive") { DM1 = "Saud"; DM2 = "HMGV"; DM3 = "Dive"; }
	if (IndMenu == "SaudHMGVDire") { DM1 = "Saud"; DM2 = "HMGV"; DM3 = "Dire"; }
	if (IndMenu == "SaudHMGVPess") { DM1 = "Saud"; DM2 = "HMGV"; DM3 = "Pess"; }
	if (IndMenu == "SaudHMGVOrca") { DM1 = "Saud"; DM2 = "HMGV"; DM3 = "Orca"; }
	if (IndMenu == "SaudHMGVRegu") { DM1 = "Saud"; DM2 = "HMGV"; DM3 = "Regu"; }
	if (IndMenu == "SaudHMGVCncr") { DM1 = "Saud"; DM2 = "HMGV"; DM3 = "Cncr"; }
	if (IndMenu == "ServMuniINPA") { DM1 = "ServMuni"; DM2 = "INPA"; }
	if (IndMenu == "ServMuniFozPrev") { DM1 = "ServMuni"; DM2 = "FozPrev"; }
	if (IndMenu == "ServMuniIPRE") { DM1 = "ServMuni"; DM2 = "IPRE"; }
	if (IndMenu == "ServMuniINPA") { DM1 = "ServMuni"; DM2 = "INPAS"; }
	if (IndMenu == "ServMuniIPAS") { DM1 = "ServMuni"; DM2 = "IPAS"; }
	if (IndMenu == "ServMuniCont") { DM1 = "ServMuni"; DM2 = "Cont"; }
	if (IndMenu == "ServMuniApos") { DM1 = "ServMuni"; DM2 = "Apos"; }
	if (IndMenu == "ServMuniCaixBene") { DM1 = "ServMuni"; DM2 = "CaixBene"; }
	if (IndMenu == "ServMuniAposComp") { DM1 = "ServMuni"; DM2 = "Apos"; DM3 = "Comp"; }
	if (IndMenu == "ServMuniAposComp") { DM1 = "ServMuni"; DM2 = "Apos"; DM3 = "Comp"; }
	if (IndMenu == "ServMuniAposInva") { DM1 = "ServMuni"; DM2 = "Apos"; DM3 = "Inva"; }
	if (IndMenu == "ServMuniAposRevi") { DM1 = "ServMuni"; DM2 = "Apos"; DM3 = "Revi"; }
	if (IndMenu == "ServMuniAposTempContr") { DM1 = "ServMuni"; DM2 = "Apos"; DM3 = "TempContr"; }
	if (IndMenu == "ServMuniCaix") { DM1 = "ServMuni"; DM2 = "CaixBene"; }
	if (IndMenu == "ServMuniINPA") { DM1 = "ServMuni"; DM2 = "INPA"; }
	if (IndMenu == "ServMuniComiGrupTrab") { DM1 = "ServMuni"; DM2 = "ComiGrupTrab"; }
	if (IndMenu == "ServMuniExon") { DM1 = "ServMuni"; DM2 = "Exon"; }
	if (IndMenu == "ServMuniFera") { DM1 = "ServMuni"; DM2 = "Fera"; }
	if (IndMenu == "ServMuniLicePrem") { DM1 = "ServMuni"; DM2 = "LicePrem"; }
	if (IndMenu == "ServMuniProm") { DM1 = "ServMuni"; DM2 = "Prom"; }
	if (IndMenu == "ServMuniNome") { DM1 = "ServMuni"; DM2 = "Nome"; }
	if (IndMenu == "ServMuniRegiJuri") { DM1 = "ServMuni"; DM2 = "RegiJuri"; }
	if (IndMenu == "ServMuniRein") { DM1 = "ServMuni"; DM2 = "Rein"; }
	if (IndMenu == "ServMuniRemoFunc") { DM1 = "ServMuni"; DM2 = "RemoFunc"; }
	if (IndMenu == "ServMuniRemoLote") { DM1 = "ServMuni"; DM2 = "RemoLote"; }
	if (IndMenu == "ServMuniDive") { DM1 = "ServMuni"; DM2 = "Dive"; }
	if (IndMenu == "TariAmbu") { DM1 = "Tari"; DM2 = "Ambu"; }
	if (IndMenu == "TariTaxi") { DM1 = "Tari"; DM2 = "Taxi"; }
	if (IndMenu == "TariTranCole") { DM1 = "Tari"; DM2 = "TranCole"; }
	if (IndMenu == "TranTranColePassLivr") { DM1 = "Tran"; DM2 = "TranCole"; DM3 = "PassLivr"; }
	if (IndMenu == "TranTranColeValeTran") { DM1 = "Tran"; DM2 = "TranCole"; DM3 = "ValeTran"; }
	if (IndMenu == "TranTranColeLinh") { DM1 = "Tran"; DM2 = "TranCole"; DM3 = "Linh"; }
	if (IndMenu == "TranTranColeAbriPass") { DM1 = "Tran"; DM2 = "TranCole"; DM3 = "AbriPass"; }
	if (IndMenu == "TranTranColeDive") { DM1 = "Tran"; DM2 = "TranCole"; DM3 = "Dive"; }
	if (IndMenu == "TranTranColeTari") { DM1 = "Tran"; DM2 = "TranCole"; DM3 = "Tari"; }
	if (IndMenu == "TranTranCole") { DM1 = "Tran"; DM2 = "TranCole"; }
	if (IndMenu == "TranTaxi") { DM1 = "Tran"; DM2 = "Taxi"; }
	if (IndMenu == "TranMoto") { DM1 = "Tran"; DM2 = "Moto"; }
	if (IndMenu == "TranDive") { DM1 = "Tran"; DM2 = "Dive"; }
	if (IndMenu == "TribJARI") { DM1 = "Trib"; DM2 = "JARI"; }
	if (IndMenu == "TribCome") { DM1 = "Trib"; DM2 = "Come"; }
	if (IndMenu == "TribAbatDivi") { DM1 = "Trib"; DM2 = "AbatDivi"; }
	if (IndMenu == "TribCancDivi") { DM1 = "Trib"; DM2 = "CancDivi"; }
	if (IndMenu == "TribArre") { DM1 = "Trib"; DM2 = "Arre"; }
	if (IndMenu == "TribAnis") { DM1 = "Trib"; DM2 = "Anis"; }
	if (IndMenu == "TribAtuaMone") { DM1 = "Trib"; DM2 = "AtuaMone"; }
	if (IndMenu == "TribCancDebi") { DM1 = "Trib"; DM2 = "CancDebi"; }
	if (IndMenu == "TribCodf") { DM1 = "Trib"; DM2 = "Codf"; }
	if (IndMenu == "TribDiviAtiv") { DM1 = "Trib"; DM2 = "DiviAtiv"; }
	if (IndMenu == "TribCaleFisc") { DM1 = "Trib"; DM2 = "CaleFisc"; }
	if (IndMenu == "TribContMelh") { DM1 = "Trib"; DM2 = "ContMelh"; }
	if (IndMenu == "TribIPTU") { DM1 = "Trib"; DM2 = "IPTU"; }
	if (IndMenu == "TribREFIS") { DM1 = "Trib"; DM2 = "REFIS"; }
	if (IndMenu == "TribIsen") { DM1 = "Trib"; DM2 = "Isen"; }
	if (IndMenu == "TribISSQ") { DM1 = "Trib"; DM2 = "ISSQ"; }
	if (IndMenu == "TribITBI") { DM1 = "Trib"; DM2 = "ITBI"; }
	if (IndMenu == "TribPrazCondPaga") { DM1 = "Trib"; DM2 = "PrazCondPaga"; }
	if (IndMenu == "TribTaxa") { DM1 = "Trib"; DM2 = "Taxa"; }
	if (IndMenu == "TribUnidPadrMone") { DM1 = "Trib"; DM2 = "UnidPadrMone"; }
	if (IndMenu == "TribDive") { DM1 = "Trib"; DM2 = "Dive"; }
	if (IndMenu == "VencSalaTodaLeisSobr") { DM1 = "VencSala"; DM2 = "TodaLeisSobr"; }
	if (IndMenu == "VencSalaAdicNotu") { DM1 = "VencSala"; DM2 = "AdicNotu"; }
	if (IndMenu == "VencSalaValeAlim") { DM1 = "VencSala"; DM2 = "ValeAlim"; }
	if (IndMenu == "VencSalaDescFolh") { DM1 = "VencSala"; DM2 = "DescFolh"; }
	if (IndMenu == "VencSalaDive") { DM1 = "VencSala"; DM2 = "Dive"; }
	if (IndMenu == "VencSalaSubs") { DM1 = "VencSala"; DM2 = "Subs"; }
	if (IndMenu == "VencSalaTodoDecrSobr") { DM1 = "VencSala"; DM2 = "TodoDecrSobr"; }
	if (IndMenu == "VencSalaAbon") { DM1 = "VencSala"; DM2 = "Abon"; }
	if (IndMenu == "VencSalaAjudCust") { DM1 = "VencSala"; DM2 = "AjudCust"; }
	if (IndMenu == "VencSalaAvan") { DM1 = "VencSala"; DM2 = "Avan"; }
	if (IndMenu == "VencSalaCamaMuni") { DM1 = "VencSala"; DM2 = "CamaMuni"; }
	if (IndMenu == "VencSalaEscaPadr") { DM1 = "VencSala"; DM2 = "EscaPadr"; }
	if (IndMenu == "VencSalaDiar") { DM1 = "VencSala"; DM2 = "Diar"; }
	if (IndMenu == "VencSalaFixaRemu") { DM1 = "VencSala"; DM2 = "FixaRemu"; }
	if (IndMenu == "VencSalaFuncGratGrat") { DM1 = "VencSala"; DM2 = "FuncGratGrat"; }
	if (IndMenu == "VencSalaGrat") { DM1 = "VencSala"; DM2 = "Grat"; }
	if (IndMenu == "VencSalaPisoSala") { DM1 = "VencSala"; DM2 = "PisoSala"; }
	if (IndMenu == "VencSalaPensPrev") { DM1 = "VencSala"; DM2 = "PensPrev"; }
	if (IndMenu == "VencSalaReaj") { DM1 = "VencSala"; DM2 = "Reaj"; }
	if (IndMenu == "VencSalaRemu") { DM1 = "VencSala"; DM2 = "Remu"; }
	if (IndMenu == "VencSalaSalaFami") { DM1 = "VencSala"; DM2 = "SalaFami"; }
	if (IndMenu == "CodgSaneCodgSane") { DM1 = "CodgSane"; DM2 = "CodgSane"; }
	if (IndMenu == "CodgObraCodgObra") { DM1 = "CodgObra"; DM2 = "CodgObra"; }
	if (IndMenu == "CargCarg") { DM1 = "Carg"; DM2 = "Carg"; }
	if (IndMenu == "LeisOrcaLeisOrca") { DM1 = "LeisOrca"; DM2 = "LeisOrca"; }
	if (IndMenu == "VencVenc") { DM1 = "Venc"; DM2 = "Venc"; }
	if (IndMenu == "CntaCnta") { DM1 = "Cnta"; DM2 = "Cnta"; }
	if (IndMenu == "CargFuncServMuniCnta") { DM1 = "CargFunc"; DM2 = "Cnta"; }
	if (IndMenu == "MagiServMuniCnta") { DM1 = "Magi"; DM2 = "Cnta"; }
	if (IndMenu == "MeioAmbiServMuniCnta") { DM1 = "MeioAmbi"; DM3 = "ServMuni"; DM2 = "Cnta"; }
	if (IndMenu == "AcorAcor") { DM1 = "Acor"; DM2 = "Acor"; }
	if (IndMenu == "IMTRIMTR") { DM1 = "IMTR"; DM2 = "IMTR"; }
	if (IndMenu == "PensPens") { DM1 = "Pens"; DM2 = "Pens"; }
	if (IndMenu == "AdmiMuniDiveTranTranCole") { DM1 = "AdmiMuni"; DM2 = "Dive"; DM3 = "TranTranCole"; }
	if (IndMenu == "AuxiSubvLocaTranTranCole") { DM1 = "AuxiSubv"; DM2 = "Loca"; DM3 = "TranTranCole"; }
	if (IndMenu == "TranTranColeTranTranCole") { DM1 = "TranTranCole"; DM2 = "TranTranCole"; }
	if (IndMenu == "ServMuniDiveTranTranCole") { DM1 = "ServMuni"; DM2 = "Dive"; DM3 = "TranTranCole"; }
	if (IndMenu == "OrcaCredAdicEspeTranTranCole") { DM1 = "Orca"; DM2 = "CredAdicEspe"; DM3 = "TranTranCole"; }
	if (IndMenu == "TranTranColeTranTranCole") { DM1 = "TranTranCole"; DM2 = "TranTranCole"; }
	if (IndMenu == "ReguIdosTercIdadTranTranCole") { DM1 = "Regu"; DM2 = "IdosTercIdad"; DM3 = "TranTranCole"; }
	if (IndMenu == "TranTranColeTranTranCole") { DM1 = "TranTranCole"; DM2 = "TranTranCole"; }

      if (IndMenu == "AdmiMuniCodgCodgAdmi") { DM1 = "AdmiMuni"; DM2 = "Codg"; DM3 = "CodgAdmi"; }
      if (IndMenu == "AdmiMuniCodgCodgEdif") { DM1 = "AdmiMuni"; DM2 = "Codg"; DM3 = "CodgEdif"; }
      if (IndMenu == "AdmiMuniCodgCodgObra") { DM1 = "AdmiMuni"; DM2 = "Codg"; DM3 = "CodgObra"; }
	if (IndMenu == "AdmiMuniCodgCodgPost") { DM1 = "AdmiMuni"; DM2 = "Codg"; DM3 = "CodgPost"; }
	if (IndMenu == "AdmiMuniCodgCodgSane") { DM1 = "AdmiMuni"; DM2 = "Codg"; DM3 = "CodgSane"; }
	if (IndMenu == "AdmiMuniCodgCodgTrib") { DM1 = "AdmiMuni"; DM2 = "Codg"; DM3 = "CodgTrib"; }
	if (IndMenu == "AdmiMuniCodgGera") { DM1 = "AdmiMuni"; DM2 = "Codg"; DM3 = "Gera"; }
	if (IndMenu == "AdmiMuniCodgNovoPlanDire") { DM1 = "AdmiMuni"; DM2 = "Codg"; DM3 = "NovoPlanDire"; }

      if (IndMenu == "CamaMuniCarg") { DM1 = "CamaMuni"; DM2 = "Carg"; }
	if (IndMenu == "CamaMuniEstrAdmi") { DM1 = "CamaMuni"; DM2 = "EstrAdmi"; }
	if (IndMenu == "CamaMuniLeisOrca") { DM1 = "CamaMuni"; DM2 = "LeisOrca"; }
	if (IndMenu == "CamaMuniVenc") { DM1 = "CamaMuni"; DM2 = "Venc"; }
	if (IndMenu == "CamaMuniDive") { DM1 = "CamaMuni"; DM2 = "Dive"; }
	if (IndMenu == "ContConvAcor") { DM1 = "ContConv"; DM2 = "Acor"; }
	if (IndMenu == "PatrImov") { DM1 = "Patr"; DM2 = "Imov"; }
	if (IndMenu == "PatrMoveEquiObjePerm") { DM1 = "Patr"; DM2 = "MoveEquiObje"; DM3 = "Perm"; }
	if (IndMenu == "PlanDireLimiPeri") { DM1 = "PlanDire"; DM2 = "LimiPeri"; }
	if (IndMenu == "ServMuniCnta") { DM1 = "ServMuni"; DM2 = "Cnta"; }
	if (IndMenu == "TranTranColeTranEsco") { DM1 = "Tran"; DM2 = "TranCole"; DM3 = "TranEsco"; }

	if (IndMenu == "TribIMTR") { DM1 = "Trib"; DM2 = "IMTR"; }
	if (IndMenu == "VencSalaPens") { DM1 = "VencSala"; DM2 = "Pens"; }

	DivMenuNew(DM1, DM2, DM3, "7", Tm)
}


function MostraSubMenu(TitSubMenu) {
	/*if (document.all) {
		posx = event.x + document.body.scrollLeft;
		if (posx + 5 + 215 >= document.body.clientWidth) {
			posx = posx - 220;
		}
		if (posx <= 5) {
			posx = 5;
		}
		document.getElementById("sm" + TitSubMenu).style.left = posx + "px";
		document.getElementById("sm" + TitSubMenu).style.top = (event.y + document.body.scrollTop) + "px";
	} else {

	}*/

	var wp = new WindowPosition();

	document.getElementById("sm" + TitSubMenu).style.left = (mouse_x + wp.x) + "px";
	document.getElementById("sm" + TitSubMenu).style.top = (mouse_y + wp.y) + "px";

	document.getElementById("sm" + TitSubMenu).style.display = "";
	document.getElementById("sm" + TitSubMenu).style.zIndex = 2;
}

function MM_changeProp(objName, x, theProp, theValue) { // v6.0
	var obj = MM_findObj(objName);
	if (obj && (theProp.indexOf("style.") == -1 || obj.style)) {
		if ((theValue == true || theValue == false) && (theValue != '')) {
			if (theValue == false) { theValue = "false"; }
			if (theValue == true) { theValue = "true"; }

			eval("obj." + theProp + "=" + theValue + "");
		} else {
			eval("obj." + theProp + "='" + theValue + "'");
		}
	}
}
function MM_findObj(n, d) { // v4.01
	var p, i, x;
	if (!d)
		d = document;
	if ((p = n.indexOf("?")) > 0 && parent.frames.length) {
		d = parent.frames[n.substring(p + 1)].document;
		n = n.substring(0, p);
	}
	if (!(x = d[n]) && d.all)
		x = d.all[n];
	for (i = 0; !x && i < d.forms.length; i++)
		x = d.forms[i][n];
	for (i = 0; !x && d.layers && i < d.layers.length; i++)
		x = MM_findObj(n, d.layers[i].document);
	if (!x && d.getElementById)
		x = d.getElementById(n);
	return x;
}

function PosMouse(jName) {
	if (document.layers) {
		//getMouseLoc; // NS
	} else if (document.all) {
		getMouseLoc(); // IE
	} else {
		getMouseLocFF(jName); // Outros FireFox «--
	}
}

function getMouseLocFF(jName) {
	mouseLocation.x = document.body.clientWidth / 2 - 150;
	mouseLocation.y = document.body.scrollTop + document.body.clientHeight / 2
			- 30;
	return true;
}

function Point(x, y) {
	this.x = x;
	this.y = y;
}

mouseLocation = new Point(-500, -500);
function getMouseLoc(e) {
	if (!document.all) { // NS
		mouseLocation.x = e.pageX;
		mouseLocation.y = e.pageY;
	} else { // IE
		mouseLocation.x = event.x + document.body.scrollLeft;
		mouseLocation.y = event.y + document.body.scrollTop;
	}
	return true;
}
// NS init:
if (document.layers) {
	document.captureEvents(Event.MOUSEMOVE);
	document.onMouseMove = getMouseLoc;
}
//=================================
var mouse_x, mouse_y;
function eventoMouseMove(e) {
	if (e.clientX > 0) {
		mouse_x = e.clientX;
		mouse_y = e.clientY;
	} else {
		mouse_x = e.offsetX;
		mouse_y = e.offsetY;
	}
}

document.onmousemove = function (e) {
	eventoMouseMove(e||event);
}

function WindowPosition() {
	this._getW = function () { return this._filterResult(window.innerWidth ? window.innerWidth : 0, document.documentElement ? document.documentElement.clientWidth : 0, document.body ? document.body.clientWidth : 0); }
	this._getH = function () { return this._filterResult(window.innerHeight ? window.innerHeight : 0, document.documentElement ? document.documentElement.clientHeight : 0, document.body ? document.body.clientHeight : 0); }
	this._getX = function () { return this._filterResult(window.pageXOffset ? window.pageXOffset : 0, document.documentElement ? document.documentElement.scrollLeft : 0, document.body ? document.body.scrollLeft : 0); }
	this._getY = function () { return this._filterResult(window.pageYOffset ? window.pageYOffset : 0, document.documentElement ? document.documentElement.scrollTop : 0, document.body ? document.body.scrollTop : 0); }
	this._filterResult = function (tmp_v1, tmp_v2, tmp_v3) {
		var r = tmp_v1 ? tmp_v1 : 0;
		if (tmp_v2 && (!r || (r > tmp_v2))) r = tmp_v2;
		return tmp_v3 && (!r || (r > tmp_v3)) ? tmp_v3 : r;
	}

	this.x = this._getX();
	this.y = this._getY();
	this.w = this._getW();
	this.h = this._getH();
}

//=================================
function format_number(tmp_numero, tmp_casas) {
	var r = new String(tmp_numero);

	while (r.length < tmp_casas) {
		r += '0' + r;
	}

	return r.substr((r.length-tmp_casas), r.length);
}


//Fonte
var t = 13;
function alteraFonte(dir) {
	var s;

	t = t + dir;
	var css_txt = 'p, p.recuado, p.RP, body, div, b, td, p.Carta, p.Sapi, p.Zoo, TABLE.ra, .Diploma, .TitAzul, .TitVermelho, .tit, .TitVermelho, .TitVioleta, .TitPreto, .RegPub, .recuadospan, TABLE.vt, TABLE.extinto, font, b, i, TD.IndAno, TD.IndDip, TD.Lista, TD.label,  TD.help, TD.field, TD.Bt3, td.Bt2, td.Bt2c, td.Bt1, body, h2, p, div, HL, indices, lembre, veja, ext, reda, ante, acre, AL, AD, Atualiza, Diploma, Ementa, Tit1, Carta, RP, TABLE.vt, TABLE.lembrese, TABLE.extinto, font, b, i, a  { font-size: ' + t + 'px; }';

	if (document.all) {
		s = window.parent.Corpo.document.createStyleSheet();
		s.cssText = css_txt;
	} else {
		s = window.parent.Corpo.document.createElement('style');
		s.type = 'text/css';
		s.innerHTML = css_txt;
	}

	try {
		window.parent.Corpo.document.getElementsByTagName('head')[0].appendChild(s);
	} catch (e) { }
}

function aumentarFonte() {
	if (t < 24) {
		alteraFonte(1);
	}
}

function diminuirFonte() {
	if (t > 13) {
		alteraFonte(-1);
	}
}



//Daltonismo
var daltonismo = false;
var css_daltonico;
function trocaDaltonismo() {
	var s, c;

	daltonismo = !daltonismo;

	if (daltonismo) {
		c = "#FF0000";
		document.getElementById('img_daltonismo').src = '../../../imgs/BtDaltonismo2.gif';

		var css_texto = 'p, p.recuado, p.RP, body, div, b, td, p.Carta, p.Sapi, p.Zoo, TABLE.ra, .Diploma, .TitAzul, .TitVermelho, .tit, .TitVermelho, .TitVioleta, .TitPreto, .RegPub, .recuadospan, TABLE.vt, TABLE.extinto, font, b, i, TD.IndAno, TD.IndDip, TD.Lista, TD.label,  TD.help, TD.field, TD.Bt3, td.Bt2, td.Bt2c, td.Bt1, body, h2, p, div, HL, indices, lembre, veja, ext, reda, ante, acre, AL, AD, Atualiza, Diploma, Ementa, Tit1, Carta, RP, TABLE.vt, TABLE.lembrese, TABLE.extinto, font, b, i, a { color: ' + c + '; }';

		if (document.all) {
			s = window.parent.Corpo.document.createStyleSheet();
			s.cssText = css_texto;
		} else {
			s = window.parent.Corpo.document.createElement('style');
			s.type = 'text/css';
			s.innerHTML = css_texto;
		}

		css_daltonico = s;

		try {
			window.parent.Corpo.document.getElementsByTagName('head')[0].appendChild(s);
		} catch (e) { }
	} else {
		document.getElementById('img_daltonismo').src = '../../../imgs/BtDaltonismo.gif';

		if (css_daltonico) {
			try {
				css_daltonico.parentNode.removeChild(css_daltonico);
			} catch (e) {
				css_daltonico.cssText = "";
			}
		}
	}
}

