<!--
/*	=-=-=-=-=-=-=-=-=-=-=
     SoftRent  WebDesign
     www.SoftRent.com.br
    =-=-=-=-=-=-=-=-=-=-=
	TIMEPIX INTERACTIVE
	www.timepix.com.br
    =-=-=-=-=-=-=-=-=-=-=

	Funcoes para manipular
	        Layers.
   Versão: 2.0 - Otimizada.       
   
   ** ALTERADO DIA 12/01/2010 PARA FAZER OS SCRIPTS FUNCIONAREM EM BROWSERS ACIMA DE IE6.
   
                           */
// LINK - CONTEUDO 2 -  REGISTROS DE IMÓVEIS DA CAPITAL

document.write("<table border='0' cellspacing='0' cellpadding='0'>");
document.write("<form method='post' action='http://www.mj.gov.br/sistemas/cartorio/municip.asp' name='form' target='_blank'>");
document.write("<tr>");
document.write("<td>");
document.write("<input type='hidden' value='São Paulo' name='nomeuf'>");
document.write("<input type='hidden' value='50308' name='MUNIC'>");
document.write("<input type='hidden' value='08' name='Atrib'>");
document.write("<input type='hidden' name='CODUF' value='35'>");
document.write("</td>");
document.write("</tr>");
document.write("</form>");
document.write("</table>");

var emCima, nmEndereco;

nmEndereco = "/1cartorio/";

emCima = false;

NmBroswer = navigator.appName.indexOf('Netscape');

function LeLayer (nmLayer,nmProp) {
	//if (NmBroswer != -1) {
	//	return eval("document." + nmLayer + "." + nmProp);
	//}
	//else {
		return eval("document.all." + nmLayer + ".style." + nmProp);
	//}
}

function MdLayer (nmLayer,nmProp,vlValor,nmTipo) {
	//if (NmBroswer != -1) {
	//	if (nmTipo == 1 && LeLayer(nmLayer,nmProp) != vlValor) {
	//		eval("document." + nmLayer + "." + nmProp + " = '" + vlValor + "'");
	//	}
	//	else {
	//		eval("document." + nmLayer + "." + nmProp + " = " + vlValor);
	//	}
	//}
	//else {
	//alert(navigator.appName);
		if (nmTipo == 1) {
			eval("document.getElementById('" + nmLayer + "').style." + nmProp + " = '" + vlValor + "'");
		}
		else {
			eval("document.getElementById(" + nmLayer + "').style." + nmProp + " = " + vlValor);
		}
	//}
}

function MontaLayer (nmMtLayer,nmMtConteudo,nmMtCor,nmL,nmT,nmMtIndex,nmMtBorda) {
	//if (NmBroswer != -1) {
	//	document.write("<layer id=\"" + nmMtLayer + "\" width=\"125\" left=\"" + nmL + "\" top=\"" + nmT + "\" z-index=\"" + nmMtIndex + "\" bgcolor=\"#" + nmMtCor + "\" visibility=\"hide\">" + nmMtConteudo + "</layer>");
	//}
	//else {
		document.write("<div id=\"" + nmMtLayer + "\" style=\"position:absolute; background:url(images/bg-layers.jpg); width: 170px; left:" + nmL + "px; top:" + nmT + "px; background-color:#" + nmMtCor + "; z-index:" + nmMtIndex + "; visibility:hidden; border: " + nmMtBorda + "px none #000000\">" + nmMtConteudo + "</div>");		
	//}
}

function Esconde () {
	Lyr = osLayers.split(",");
	for (j=0;j < Lyr.length;j++) {
		Lm = Lyr[j];
		MdLayer(Lm,"visibility","hidden",1);
	}
}

function Mostra (nmLayer,NrVis) {
	Ln  = nmLayer;
	Lyr = osLayers.split(",");
	if (NrVis == 1) {
		for (j=0;j < Lyr.length;j++) {
			Lm = Lyr[j];
			if (Ln == Lm) {
				MdLayer(Ln,"visibility","visible",1);
			}
			else {
				MdLayer(Lm,"visibility","hidden",1);
			}
		}
	}
/*
	else {
		MdLayer(Ln,"visibility","hidden",1);
	}
*/
}

function janela(nm_url,nm_janela,nm_param) {
	jan = window.open(nm_url,nm_janela,nm_param);
}



Conteudo1  = "<table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"2\" bordercolor=\"#999999\"><tr><td><font face=\"Verdana\" size=\"1\"><b>";
Conteudo1 +="<a href=\"/historico.htm\">Histórico</a><br>";
Conteudo1 +="<a href=\"/oficial.htm\">Oficial</a><br>";
Conteudo1 +="<a href=\"/equipe.htm\">Equipe</a><br>";
Conteudo1 +="<a href=\"/estudos.htm\">Estudos</a><br>";
Conteudo1 +="</b></font></td></tr></table>";

Conteudo2  = "<table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"2\" bordercolor=\"#999999\"><tr><td><font face=\"Verdana\" size=\"1\"><b>";
Conteudo2 +="<a href=\"http://portal.mj.gov.br/CartorioInterConsulta/index.html\" target=\"_blank\">Outros cartórios do Brasil</a><br>";
Conteudo2 +="</b></font></td></tr></table>";

Conteudo3  = "<table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"2\" bordercolor=\"#999999\"><tr><td><font face=\"Verdana\" size=\"1\"><b>";
Conteudo3 +="<a href=\"/duvidas_cadastro.htm\">Cadastro</a><br>";
Conteudo3 +="<a href=\"/duvidas_publicoemgeral.htm\">Público em Geral</a><br>";
Conteudo3 +="<a href=\"/duvidas_cliente_conveniado.htm\">Clientes Conveniados</a><br>";
Conteudo3 +="</b></font></td></tr></table>";

Conteudo4  = "<table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"2\" bordercolor=\"#999999\"><tr><td><font face=\"Verdana\" size=\"1\"><b>";
Conteudo4 +="<a href=\"http://www.presidencia.gov.br/legislacao/\" target=\"_blank\">Legislação Federal do Brasil</a><br>";
Conteudo4 +="<a href=\"http://www.legislacao.sp.gov.br/legislacao/index.htm\" target=\"_blank\">Legislação do Estado de São Paulo</a><br>";
Conteudo4 +="<a href=\"https://www.extrajudicial.tj.sp.gov.br/pexPtl/jsp/pcorNormasdeServico.jsp\" target=\"_blank\">Normas de Serviço</a><br>";
Conteudo4 +="</b></font></td></tr></table>";

//-->