	function ajaxInit()	{
		var req;
	
		try	{
			req = new ActiveXObject("Microsoft.XMLHTTP");
		}
		catch(e)	{
			try	{
				req = new ActiveXObject("Msxml2.XMLHTTP");
			}
			catch(ex)	{
				try	{
					req = new XMLHttpRequest();
				}
				catch(exc)	{
					alert("Esse browser nÃ£o tem recursos para uso do Ajax");
					req = null;
				}
			}
		}
	
		return req;
	}
	

	function fncValidarPesq()	{
		
		if(document.frmPesqP.tfPesq.value == "")	{
			alert("Preencha o campo com a pesquisa que deseja fazer.");
			document.frmPesqP.tfPesq.focus();
			return false;
		}
		
		if(document.frmPesqP.tfPesq.value.length < 3)	{
			alert("Preencha o campo com pelo menos 3 caracteres.");
			document.frmPesqP.tfPesq.focus();
			return false;
		}
		
		document.forms['frmPesqP'].btPesq.disabled = true;
		document.forms['frmPesqP'].btPesq.value = "Processando...";
		document.forms['frmPesqP'].method = "POST";
		document.forms['frmPesqP'].action = "Pesquisar.do";                      
		setTimeout('document.forms[\"frmPesqP\"].submit();', 200);
	}
	

	function fncProcessar(strOpc, url, tag)	{
		//alert("tag " +tag);
		//1 - Resumida
		//2 - Detalhada
		
		var imprimir = document.getElementById(tag);
		//alert("tag: " + imprimir);
		//var url = "";
		var strPost = strOpc;
	
		
		//alert("Valor: " + postStr);
		var ajax = ajaxInit();
		//alert("teste");
		//alert("POST: " +strPost);
		
		if(ajax)	{
			ajax.open("POST",url,true);
			ajax.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
			ajax.setRequestHeader("encoding", "ISO-8859-1"); 
			ajax.send(strPost);
			
			ajax.onreadystatechange = function()	{
				if(ajax.readyState == 1)	{
					imprimir.innerHTML = "Carregando solicitação...";
				}

				if(ajax.readyState == 4)	{
					if(ajax.status == 200)	{
						var texto = ajax.responseText;
						texto		= texto.replace(/\+/g," ");
						imprimir.innerHTML = texto;
					}
					else	{
						alert(ajax.statusText);
					}
				}
			}// fim ajax.onreadystatechange = function()
		}
	}
	
	
	
	function fncProcessarMult(strOpc, url, tag)	{
		//alert("tag " +tag);
		//1 - Resumida
		//2 - Detalhada
		
		var imprimir = document.getElementById(tag);
		//alert("tag: " + imprimir);
		//var url = "";
		var strPost = strOpc;
	
		
		//alert("Valor: " + postStr);
		var ajax = ajaxInit();
		//alert("teste");
		//alert("POST: " +strPost);
		
		if(ajax)	{
			ajax.open("POST",url,true);
			ajax.setRequestHeader("Content-Type","multipart/form-data");
			ajax.setRequestHeader("encoding", "ISO-8859-1"); 
			ajax.send(strPost);
			
			ajax.onreadystatechange = function()	{
				if(ajax.readyState == 1)	{
					imprimir.innerHTML = "Carregando solicitação...";
				}

				if(ajax.readyState == 4)	{
					if(ajax.status == 200)	{
						var texto = ajax.responseText;
						texto		= texto.replace(/\+/g," ");
						imprimir.innerHTML = texto;
					}
					else	{
						alert(ajax.statusText);
					}
				}
			}// fim ajax.onreadystatechange = function()
		}
	}
	
	
	function fncHabilitarPesq(opc)	{
		if(opc=="1")	{
			document.getElementById('dvNrAno').style.visibility="visible";
			document.getElementById('dvDesc').style.visibility="hidden";
			document.getElementById('dvDtInicial').style.visibility="hidden";
			document.getElementById('dvDtFinal').style.visibility="hidden";
		}
		else if(opc=="2")	{
			document.getElementById('dvNrAno').style.visibility="hidden";
			document.getElementById('dvDesc').style.visibility="visible";
			document.getElementById('dvDtInicial').style.visibility="hidden";
			document.getElementById('dvDtFinal').style.visibility="hidden";

		}
		else if(opc=="3")	{
			document.getElementById('dvNrAno').style.visibility="hidden";
			document.getElementById('dvDesc').style.visibility="hidden";
			document.getElementById('dvDtInicial').style.visibility="visible";
			document.getElementById('dvDtFinal').style.visibility="visible";
		}
				
	
		return opc;
	}
	
	function fncHabilitaFlash(NomeArq,larg,alt, id, tipoBanner, Url, Descricao)	{
		
		/*alert(NomeArq);
		alert(larg);
		alert(alt);
		alert(id);
		alert(tipoBanner);
		alert(Url);
		alert(Descricao);
		*/
		var extensao = NomeArq.substr(parseInt(NomeArq.indexOf('tipo')+5) , 3).toLowerCase();
		
		var larg;
		var alt;
		var	id;
		var	tipoBanner;
		var Url;
		var Descricao;
		
		
		if(extensao =="swf")	{
			document.writeln('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" title="'+Descricao+'" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+larg+'" height="'+alt+'">');
			document.writeln('<param name="movie" value="'+NomeArq+'"IbopePub.do?idpub='+id+'&tipo='+tipoBanner+'u="'+Url+'" />');
			document.writeln('<param name="quality" value="high" />');
			document.writeln('<param name="wmode" value="transparent" />  '); //value=opaque
			document.write('<param name="allowScriptAccess" value="sameDomain">');
			document.write('<param value="clickTag="'+Url+'""" name="flashvars">');
			document.write('<param name="allowFullScreen" value="false">');

			document.writeln('<embed src="'+NomeArq+'"IbopePub.do?idpub='+id+'&tipo='+tipoBanner+'u="'+Url+'" flashvars="clickTag="'+Url+'"" allowScriptAccess="sameDomain" allowFullScreen="false" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+larg+'" height="'+alt+'"></embed>');
			document.writeln('</object>');
		}
		else	{
			if(Url == "")	{
				document.write('<img src="'+NomeArq+'" border="0"  alt="'+Descricao+'" title="'+Descricao+'" />');
			}
			else
				document.write('<a href="IbopePub.do?idpub='+id+'&tipo='+tipoBanner+'&u='+Url+'" target="_blank"><img src="'+NomeArq+'" border="0" alt="'+Descricao+'" title="'+Descricao+'" /></a>');
		}
	}
	
	
	Data		= new Date();
	iMonth		= Data.getMonth();
	minutos		= Data.getMinutes();
	Ano			= Data.getFullYear();
	DiaSemana	= Data.getDay();

	function fncMes(iMonth)	{   	
		var array_mes = new Array("janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro");
		return array_mes[iMonth];
	}
	
	function fncDiaSemana(DiaSemana)	{   	
		var array_DiaSemana = new Array("Domingo","Segunda-Feira","Terça-Feira","Quarta-Feira","Quinta-Feira","Sexta-Feira","Sábado");
		return array_DiaSemana[DiaSemana];
	}

	if(minutos < 10)
		minutos = '0'+Data.getMinutes();

	montarHora = fncDiaSemana(DiaSemana) + ", " + Data.getDate() + " de " + fncMes(iMonth) + " de " + Ano +". " +Data.getHours() + ":" + minutos + "h&nbsp&nbsp";
			
	
    var tam = 12;
    
    function fncMudarFonte(tipo)    {
    	
        if(tipo == '+')  {
            if(tam < 18) tam += 2;
        }
        else    {
            if(tam > 10) tam -= 2;
        }
        
        if(document.getElementById('mudafonte'))
            mudaFonteRecursiva(tipo, document.getElementById('mudafonte'));
        
        if(document.getElementById('mudaFoto'))
            mudaFonteRecursiva(tipo, document.getElementById('mudaFoto'));
    }
    
    function mudaFonteRecursiva(tipo, domElement)   {
        for(var i = 0 ; i < domElement.childNodes.length ; i++)	{
            mudaFonteRecursiva(tipo ,domElement.childNodes.item(i));
        }
        
        if(domElement.style)
            domElement.style.fontSize = tam+'px';
    }
    
    
    //Função de Validação de E-mail
	function fncValidaEmail(string)	{
		//Expressão regular que verificar as particularidades da consistência de um e-mail
		if(string.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) != -1)
			return true;
		else
			return false;
	}
	
	function fncMostrarCampoSenha(opc)	{
		if(opc == "s")
			document.getElementById("dvSenha").style.display = 'inline';
		else
			document.getElementById("dvSenha").style.display = 'none';
	}
	
	
	function fncEnviarDados(pagina, frmNome)	{

		document.forms[frmNome].btEntrar.disabled = true;
		document.forms[frmNome].btEntrar.value = "Processando...";
		document.forms[frmNome].method = "POST";
		document.forms[frmNome].action = pagina;                      
		setTimeout('document.forms["'+frmNome+'"].submit();', 200);
	}
	
	//function fncValidar
	
	function fncValidarLogin(pagina, frmNome)	{
		
		if(document.frmCC.tfEmail.value=="")	{
			alert("Informe seu E-mail");
			document.frmCC.tfEmail.focus()
			return false;
		}
		
		if(!fncValidaEmail(document.frmCC.tfEmail.value))	{
			alert("Informe um E-mail Válido.");
			document.frmCC.tfEmail.focus();
			return false;
		}
		
		if(document.frmCC.tfSenha.value=="")	{
			alert("Informe sua senha");
			document.frmCC.tfSenha.focus()
			return false;
		}
		
		if(document.frmCC.tfSenha.value.length < 6)	{
			alert("A senha deve conter pelo menos 6 caracteres");
			document.frmCC.tfSenha.focus()
			return false;
		}
		
		fncEnviarDados(pagina, frmNome);
	}
	
	function fncReenviarSenha(pagina, frmNome)	{
		
		if(document.frmCC.tfEmail.value=="")	{
			alert("Informe seu E-mail");
			document.frmCC.tfEmail.focus()
			return false;
		}
		
		if(!fncValidaEmail(document.frmCC.tfEmail.value))	{
			alert("Informe um E-mail Válido.");
			document.frmCC.tfEmail.focus();
			return false;
		}
		
		if(document.frmCC.tfCPF.value=="")	{
			alert("Informe seu CPF");
			document.frmCC.tfCPF.focus()
			return false;
		}
		
		if(!fncValidarCPF(document.frmCC.tfCPF.value))	{
			alert("CPF inválido");
			document.frmCC.tfCPF.focus()
			return false;
		}
			
		fncEnviarDados(pagina, frmNome);
	}	
	
	function fncValidarUsuario()	{
		if(document.frmUsuario.tfNome.value=="")	{
			alert("Informe seu Nome");
			document.frmUsuario.tfNome.focus()
			return false;
		}	
		if(document.frmUsuario.tfEmail.value=="")	{
			alert("Informe seu E-mail.");
			document.frmUsuario.tfEmail.focus()
			return false;
		}
		
		if(document.getElementById('dvSenha').style.display == "inline")	{
			
			if(document.frmUsuario.tfSenha.value=="")	{
				alert("Informe sua senha");
				document.frmUsuario.tfSenha.focus();
				return false;
			}
			if(document.frmUsuario.tfSenha.value.length < 6)	{
				alert("a senha deve conter pelo menos 6 caracteres");
				document.frmUsuario.tfSenha.focus();
				return false;
			}
			if(document.frmUsuario.tfConfirmar.value=="")	{
				alert("Confirme a senha");
				document.frmUsuario.tfConfirmar.focus();
				return false;
			}
			if(document.frmUsuario.tfSenha.value != document.frmUsuario.tfConfirmar.value)	{
				alert("As senhas devem ser iguais");
				document.frmUsuario.tfSenha.focus();
				return false;
			}
		}
		
		return true;
	}
	
	
	function fncTrocarTab(ping)	{
		document.getElementById('not').className ="desativo";
		document.getElementById('pol').className ="desativo";
		document.getElementById(ping).className ="ativo";
		document.getElementById("textPrinc").innerHTML = document.getElementById(ping +"Div").innerHTML 
	}
	
	function fncTabComentario(ping)	{
		document.getElementById('imp').className ="desativo";
		document.getElementById('coment').className ="desativo";
		document.getElementById('comp').className ="desativo";
		document.getElementById('amigo').className ="desativo";
		document.getElementById('contato').className ="desativo";
		document.getElementById(ping).className ="ativo";
		document.getElementById("textPrinc").innerHTML = document.getElementById(ping +"Div").innerHTML 
	}
	
	function fncTabItem(ping)	{
		document.getElementById('comp').className ="desativo";
		document.getElementById('amigo').className ="desativo";
		document.getElementById('contato').className ="desativo";
		document.getElementById(ping).className ="ativo";
		document.getElementById("textPrinc").innerHTML = document.getElementById(ping +"Div").innerHTML 
	}
	
	
	//Tab das Notícias
	function fncTabNoticia(dvNome)	{
		document.getElementById('imp').className ="desativo";
		document.getElementById('amigo').className ="desativo";
		document.getElementById('comp').className ="desativo";
		document.getElementById('vid').className ="desativo";
		document.getElementById(dvNome).className ="ativo";
		document.getElementById("textPrinc").innerHTML = document.getElementById(dvNome +"Div").innerHTML 
	}
	
	
	function fncImprimir(Id_Imp)	{
			var Id_Imp;
			window.open('Imprimir.do?ID_Not='+Id_Imp,'jan_comentarios','toolbar=0, location=0, directories=0, menubar=0, scrollbars=YES, resizable=0 , width=580, height=700, top=100, left=100, status=no');
	}

	function fncMostrarFotos(Id_Foto)	{
		var Id_Foto;
		window.open('AmpliarFoto.jsp?Id_Foto='+Id_Foto,'jan_comentarios','toolbar=0, location=0, directories=0, menubar=0, scrollbars=YES, resizable=0 , width=420, height=350, top=100, left=100, status=no');
	}
	
	function fncPopUP()	{
		jan_enquete = window.open('PopUp.jsp','popup','toolbar=0, location=0, directories=0, menubar=0, scrollbars=YES, resizable=0 , width=300, height=250, top=100, left=100, status=no');
//		window.document.frEnquete.submit();
	}
	
	function fncComentarios()	{
		jan_enquete = window.open('Comentar.jsp','jan_comentarios','toolbar=0, location=0, directories=0, menubar=0, scrollbars=YES, resizable=0 , width=333, height=330, top=100, left=100, status=no');
	}
	
	
	
	//Pega focu no campo do usuário
	function fncGanharFocu(campo) {
		campo.focus();
	}
	
	
	function fncApagarDados(Id_Acesso,opc)	{
		var Id_Acesso;
		var opc;
		larg = (screen.width/2)- 170;
		alt = (screen.height/2) - 180;
		
		if(confirm("Essa opção irá apagar o item selecionado " + Id_Acesso)) {
			var windowName = "windowDelete";
			if(window.showModalDialog)
				windowDelete = window.showModalDialog("Apagar.do?ID_Dados="+ Id_Acesso+"&opc="+opc,"_blank","dialogHeight: 410px; dialogWidth: 360px; dialogTop: "+alt+"px; dialogLeft: "+larg+"px; edge: Raised; center: Yes; help: Yes; resizable: no; status: Yes;");
			else
				windowDelete = window.open("Apagar.do?ID_Dados="+ Id_Acesso+"&opc="+opc,"_blank","height=410,width=360,top="+alt+",left="+larg+",toolbar=no,directories=no,status=no,continued from previous linemenubar=no,scrollbars=no,resizable=no,modal=yes");
			window.location.reload();
			//checa.submit();
			//windowDelete.focus();
		}
		else
			return false;
	}
	
	
	function fncSalvarDados()	{
		larg = (screen.width/2)- 170;
		alt = (screen.height/2) - 180;
		
		if(confirm("Tem certeza que deseja Salvar o dado?")) {
			var windowName = "janSalvar";
			if(window.showModalDialog)
				windowDelete = window.showModalDialog('',"_blank","dialogHeight: 410px; dialogWidth: 360px; dialogTop: "+alt+"px; dialogLeft: "+larg+"px; edge: Raised; center: Yes; help: Yes; resizable: no; status: Yes;");
			else
				windowDelete = window.open('',"_blank","height=410,width=360,top="+alt+",left="+larg+",toolbar=no,directories=no,status=no,continued from previous linemenubar=no,scrollbars=no,resizable=no,modal=yes");
			window.location.reload();
			//checa.submit();
			//windowDelete.focus();
		}
		else
			return false;
	}

	function fncValidarCPF(pcpf)	{
		 pcpf = pcpf.replace( "/", "" );
		 pcpf = pcpf.replace( "/", "" );
		 pcpf = pcpf.replace( ",", "" );
		 pcpf = pcpf.replace( ".", "" );
		 pcpf = pcpf.replace( ".", "" );
		 pcpf = pcpf.replace( ".", "" );
		 pcpf = pcpf.replace( ".", "" );
		 pcpf = pcpf.replace( "-", "" );
		 pcpf = pcpf.replace( "-", "" );
		 pcpf = pcpf.replace( "-", "" );
		 pcpf = pcpf.replace( "-", "" );
		 pcpf = pcpf.replace( "-", "" );
	
		if(pcpf.length != 11)
			sim=false
		else
			sim=true
		
		if(sim)	{  // valida o primeiro digito
			for(i=0;((i<=(pcpf.length-1))&& sim); i++)	{
				val = pcpf.charAt(i)
				
				if((val!="9")&&(val!="0")&&(val!="1")&&(val!="2")&&(val!="3")&&(val!="4")
				&& (val!="5")&&(val!="6")&&(val!="7")&&(val!="8"))
				{sim=false}
		   }
		
			if(sim)	{
				soma = 0
				for(i=0;i<=8;i++)	{
					val = eval(pcpf.charAt(i))
					soma = soma + (val*(i+1))
				}
		
				resto = soma % 11
				
				if(resto>9)
					dig = resto -10
				else
					dig = resto
					
				if(dig != eval(pcpf.charAt(9))) { sim=false }
				else	{   // valida o segundo digito
					soma = 0
		
					for(i=0;i<=7;i++)	{
						val = eval(pcpf.charAt(i+1))
						soma = soma + (val*(i+1))
					}
		
					soma = soma + (dig * 9)
					resto = soma % 11
		
					if(resto>9)
						dig = resto -10
					else
						dig = resto
		
					if(dig != eval(pcpf.charAt(10)))	{
						return false;
					}
					else
						return true;
				}
			}
		  }
	}
	
	function fncFormatarCPF(Campo,teclapres)	{
		var tecla = teclapres.keyCode;
		
		var vr = new String(Campo.value);
		vr = vr.replace(".", "");
		vr = vr.replace(".", "");
		vr = vr.replace("-", "");
	
		tam = vr.length + 1;
		
		if(tecla != 9 && tecla != 8)	{
			if(tam > 3 && tam < 7)
				Campo.value = vr.substr(0, 3) + '.' + vr.substr(3, tam);
			if(tam >= 7 && tam <10)
				Campo.value = vr.substr(0,3) + '.' + vr.substr(3,3) + '.' + vr.substr(6,tam-6);
			if(tam >= 10 && tam < 12)
				Campo.value = vr.substr(0,3) + '.' + vr.substr(3,3) + '.' + vr.substr(6,3) + '-' + vr.substr(9,tam-9);
		}
	}
	
	function fncFormatarCEP(Campo,teclapres)	{
		var tecla = teclapres.keyCode;
		
		var vr = new String(Campo.value);
		vr = vr.replace(".", "");
		vr = vr.replace("-", "");
	
		tam = vr.length + 1;
		
		if(tecla != 9 && tecla != 8)	{
			if(tam >= 3 && tam < 7)
				Campo.value = vr.substr(0, 2) + '.' + vr.substr(2, tam);
			if(tam >=7)
				Campo.value = vr.substr(0,2) + '.' + vr.substr(2,3) + '-' + vr.substr(5,tam-3);
		}
	}
	
	var isNN = (navigator.appName.indexOf("Netscape")!=-1);
	
	function fncTabular(input,len, e)	{
		
		var keyCode = (isNN) ? e.which : e.keyCode; 
		var filter = (isNN) ? [0,8,9] : [0,8,9,16,17,18,37,38,39,40,46];
		
		if(input.value.length >= len && !containsElement(filter,keyCode))	{
			input.value = input.value.slice(0, len);
			input.form[(fnc_RequisitaIndice(input)+1) % input.form.length].focus();
		}
		
		function containsElement(arr, ele)	{
			var found = false, index = 0;
	
			while(!found && index < arr.length)
				if(arr[index] == ele)
	
			found = true;
	
			else
			index++;
	
			return found;
		}
	
		function fncRequisitaIndice(input)	{
			var index = -1, i = 0, found = false;
			while (i < input.form.length && index == -1)
				if(input.form[i] == input)index = i;
					else i++;
	
			return index;
		}
	
		return true;
	}
	
		
	function fnc_ValidarLogin() {
		if(document.flogin.tlogin.value=="") {
			alert("Informe o nome de seu Usuário.");
			document.flogin.tlogin.focus();
			return false;
		}
		
		if(document.flogin.tsenha.value=="") {

			alert("Informe sua senha.");
			document.flogin.tsenha.focus();
			return false;
		}
		
		return fnc_EnviarReq();
	}
	
	//Envia requisição para a servlet
	
	function fnc_EnviarReq() {
		document.flogin.bentrar.disabled = true;
		document.flogin.bentrar.value = "Processando...";
		document.flogin.method = "POST";
		document.flogin.action = "ValidarLogin.do";                      
		setTimeout('document.flogin.submit();', 200);
	}
	
	function fnc_CapturarTeclaSubmit(e) {

		var pressedKey;
		if(document.all)    { e = window.event; }
		if(document.layers || document.getElementById) { pressedKey = e.which; }
		if(document.all)    { pressedKey = e.keyCode; }
		pressedCharacter = String.fromCharCode(pressedKey);
		   /*alert(' Character = ' + pressedCharacter +
		       ' [Decimal value = ' + pressedKey + ']');
			   */
		if(pressedKey==13 || pressedKey==1) {	
			fnc_ValidarLogin();
		}
	}
	
	
	//Validar Data
	function fncValidarData(string)	{
		if(string.search(/^((0?[1-9]|[12]\d)\/(0?[1-9]|1[0-2])|30\/(0?[13-9]|1[0-2])|31\/(0?[13578]|1[02]))\/(19|20)?\d{2}$/)!=-1)
			return true;
		else
			return false;
	}
	
	function fncValidarPesquisaLicitacao(url, tag)	{
		var param = "";
		if(document.getElementById('dvNrAno').style.visibility == "visible")	{
			if(document.frmPesq.tfNrAno.value=="")	{
				alert("Informe o Número/Ano. ex.: 001/2009");
				document.frmPesq.tfNrAno.focus()
				return false;
			}
			
			param = "nrano="+document.frmPesq.tfNrAno.value;
		}
		
		if(document.getElementById('dvDesc').style.visibility == "visible")	{
			if(document.frmPesq.tfDesc.value=="")	{
				alert("Informe o texto a ser pesquisado.");
				document.frmPesq.tfDesc.focus()
				return false;
			}
			param += "desc="+document.frmPesq.tfDesc.value;
		}
		
		if(document.getElementById('dvDtInicial').style.visibility == "visible")	{
			if(document.frmPesqLicit.tfDtInicial.value=="")	{
				alert("Informe a data Inicial.");
				document.frmPesqLicit.tfDtInicial.focus()
				return false;
			}
			
			if(!fncValidarData(document.frmPesqLicit.tfDtInicial.value))	{
				alert("Informe uma data Inicial válida.");
				document.frmPesqLicit.tfDtInicial.focus()
				return false;
			}
			
			if(document.frmPesqLicit.tfDtFinal.value=="")	{
				alert("Informe a data Final.");
				document.frmPesq.tfDtFinal.focus()
				return false;
			}
			
			if(!fncValidarData(document.frmPesqLicit.tfDtFinal.value))	{
				alert("Informe uma data Final válida.");
				document.frmPesqLicit.tfDtFinal.focus()
				return false;
			}
			
			param += "dtInicial="+document.frmPesqLicit.tfDtInicial.value;
			param += "&dtFinal="+document.frmPesqLicit.tfDtFinal.value;
		}
		
		return fncProcessar(param, url, tag);
	}
		
	function fncImprimir(id, Classe)	{ 
		identity = document.getElementById(id); 
		identity.className=Classe; 
	}
	
	function fncMostrarEsconder(id, mostrar)	{
		document.getElementById(id).style.visibility= mostrar;

	}