
<!-- SCRIPT DA POP UP DIV -->

function fechar(){
    document.getElementById('popup').style.display = 'none';
}
function abrir(){
    document.getElementById('popup').style.display = 'block';
    setTimeout ("fechar()", 12000); // DETERMINA O TEMPO QUE A DIV PERMANECERÁ ABERTA
}

function $get(obj){
	return document.getElementById(obj);
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function Abrenot(arq,larg,alt,janela) {
var features =
'width=' +larg+
',height=' +alt+
',menubar=' +"no"+
',scrollbars=' +"yes"+
',toolbar=' +"no"+
',resizable=' +"no";
window.open(arq,janela,features);
}

function Abre(arq,larg,alt,janela) {
var features =
'width=' +larg+
',height=' +alt+
',menubar=' +"no"+
',scrollbars=' +"no"+
',toolbar=' +"no"+
',resizable=' +"no";
window.open(arq,janela,features);
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}



function Abrenot(arq,larg,alt,janela) {
var features =
'width=' +larg+
',height=' +alt+
',menubar=' +"no"+
',scrollbars=' +"yes"+
',toolbar=' +"no"+
',resizable=' +"no";
window.open(arq,janela,features);
}





function Abrenot(arq,larg,alt,janela) {
var features =
'width=' +larg+
',height=' +alt+
',menubar=' +"no"+
',scrollbars=' +"yes"+
',toolbar=' +"no"+
',resizable=' +"no";
window.open(arq,janela,features);
}
//-->


$(function(){
	$('#btn-cadastrar-email').click(function(){
		setTimeout("$('.box-mensagem').fadeOut(500)", 3000);
		//setTimeout("$('#mensagem').fadeIn(2000)", 3000);
	})
})



