// JavaScript Document

	var janela;

	

	function novajanela(titulo) {

		popup = window.open('','janela','toolbar=no,location=no,status=no,scrollbar=yes,resizable=no,width=200,height=150');

		doc = popup.document;

		texto ='<html><head><title>'+titulo+'</title></head>';

		texto+='<script>';

			texto+='function fecha() {';

			texto+='	self.close();}';

			texto+='<\/script>';

			texto+='<body>';

			texto+='<p></p>';

			texto+='<p align="center"><font size="3"><strong>Seminário de Intercessão Profética!';

			texto+='<br>1 e 2 de Fevereiro.<br>'; 

			texto+='<br>Tel. para contato 27565834.</font></p>'; 

			texto+='<p align="center"><a href="JavaScript: fecha();">';

			texto+='Fechar</a></p>'; 		

			doc.write(texto);

			doc.close; 

			self.janela=popup; 

		} 



		function fecha() {

			self.janela.close(); 

		} 



		function adeus() { 

			alert("Obrigado por vir nos visitar!");

		} 

		

defaultStatus=" :: Ministério Graça e Apostolado ::. Apostólo Marcos Gomes ::. Reinando em Vida  'Em Excelência ' ::. "



function data_atual() {

	hoje = new Date()

	dia = hoje.getDate()

	dias = hoje.getDay()

	mes = hoje.getMonth()

	ano = hoje.getYear()



	if (dia < 10)

		dia = "0" + dia



	if (ano < 2000)

		ano = 1900 + ano



	function NArray (n) {

		this.length = n

	}



	NomeDia = new NArray(7)



	NomeDia[0] = "Domingo"

	NomeDia[1] = "Segunda"

	NomeDia[2] = "Ter&ccedil;a"

	NomeDia[3] = "Quarta"

	NomeDia[4] = "Quinta"

	NomeDia[5] = "Sexta"

	NomeDia[6] = "S&aacute;bado"

	

	NomeMes = new NArray(12)

	

	NomeMes[0] = "janeiro"

	NomeMes[1] = "fevereiro"

	NomeMes[2] = "mar&ccedil;o"

	NomeMes[3] = "abril"

	NomeMes[4] = "maio"

	NomeMes[5] = "junho"

	NomeMes[6] = "julho"

	NomeMes[7] = "agosto"

	NomeMes[8] = "setembro"

	NomeMes[9] = "outubro"

	NomeMes[10] = "novembro"

	NomeMes[11] = "dezembro"

	document.write (NomeDia[dias] + ", " + dia + " de " + NomeMes[mes] + " de " + ano)

}



function quadro(dochtml, largura, altura, scroll) {

	if(navigator.appName == "Netscape") { 

		sec = window.open(dochtml,'_blank','scrollbars=' + scroll + ',toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,height='+ altura +',width='+ largura +',top=51,left=5'); 

		window.sec.focus(); 

	} 

	else { 

		window.open(dochtml,'_blank','scrollbars=' + scroll + ',toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=no,copyhistory=no,height=' + altura + ',width=' + largura + ',top=51,left=5'); 

	}

}



function abrir(dochtml) {

	if(navigator.appName == "Netscape") {

		sec = window.open(dochtml,'_blank','scrollbars=yes,toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,height=450,width=750,top=51,left=5');

		window.sec.focus(); 

	} 

	else {

		window.open(dochtml,'_blank','scrollbars=yes,toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,height=450,width=750,top=51,left=5'); 

	}

}



function admin(dochtml) {

	if(navigator.appName == "Netscape") { 

		sec = window.open(dochtml,'_blank','scrollbars=yes,toolbar=yes,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,height=338,width=770,top=115,left=0');

		window.sec.focus(); 

	} 

	else { 

		window.open(dochtml,'_blank','scrollbars=yes,toolbar=yes,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,height=338,width=770,top=115,left=0'); 

	}

}



		function nova_janela(url) {

			window.open(url,"chat","toolbar=0,menubar=0,location=0,status=0,scrollbars=no,width=480,height=500");

		}



		function janela_cod(url) {

			window.open(url,"codigo","toolbar=0,menubar=0,location=0,status=0,scrollbars=yes,width=750,height=550");

		}

		

		

    	function popupEventos (theURL,winName,features) {

        window.open (theURL, 'Eventos', 'toolbar=no,scrollbars=yes,location=no,status=no,resizable=yes,width=600,height=450');

    	}

    	function popupArtigos (theURL,winName,features) {

        window.open (theURL, 'Eventos', 'toolbar=no,scrollbars=yes,location=no,status=no,resizable=yes,width=600,height=450');

    	}	

		



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_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 P7_HScroller(el,dr,tx,ox,spd) { //v1.6 by PVII

 var g,gg,fr,sp,pa='',slw=true,m=false,w,ww,lx,rx;tx=parseInt(tx);

 if((g=MM_findObj(el))!=null){gg=(document.layers)?g:g.style;}else{return;}

 if(dr=="Stop"){if(g.toMove){clearTimeout(g.p7Magic);}g.toMove=false;}

 if((parseInt(navigator.appVersion)>4 || navigator.userAgent.indexOf("MSIE")>-1)&& !window.opera){pa="px";}

 if(navigator.userAgent.indexOf("NT")>-1 || navigator.userAgent.indexOf("Windows 2000")>-1){slw=false;}

 if(spd=="Slow"){sp=(slw)?2:1;fr=(slw)?40:30;}else if(spd=="Medium"){sp=(slw)?4:1;fr=(slw)?40:10;

 }else{sp=(slw)?8:4;fr=(slw)?40:10;}if(spd=="Warp"){sp=5000;}var xx = parseInt(gg.left);if(isNaN(xx)){

 if(g.currentStyle){xx=parseInt(g.currentStyle.left);}else if(document.defaultView){

 xx=parseInt(document.defaultView.getComputedStyle(g,"").getPropertyValue("left"));}else{xx=0;}}

 if(document.all || document.getElementById){w=parseInt(g.offsetWidth);if(!w){w=parseInt(g.style.pixelWidth);}

 if(g.hasChildNodes){for(wx=0;wx<g.childNodes.length;wx++){ww=parseInt(g.childNodes[wx].offsetWidth);

 if(ww>w){w=ww;}}}}else if(document.layers){w=parseInt(g.clip.width);}lx=tx-w+parseInt(ox);rx=tx;

 if(dr=="Right"){if(xx>lx){m=true;xx-=sp;if(xx<lx){xx=lx;}}}

 if(dr=="Left"){if(xx<rx){m=true;xx+=sp;if(xx>rx){xx=rx;}}}

 if(dr=="Reset"){gg.left=tx+pa;if(g.toMove){clearTimeout(g.p7Magic);}g.toMove=false;}

 if(m){gg.left=xx+pa;if(g.toMove){clearTimeout(g.p7Magic);}g.toMove=true;

  eval("g.p7Magic=setTimeout(\"P7_HScroller('"+el+"','"+dr+"',"+tx+","+ox+",'"+spd+"')\","+fr+")");

 }else{g.toMove=false;}

}

	