
<!--Inํcio c๓digo enquete-->
<!--
function Abre(url, width, height)
{
window.open(url,"_blank","resizable=yes,toolbar=no,status=no,menubar=no,scrollbars=yes,width=" + width + ",height=" + height)
}
function Fun_Enviar(formID)
{
	var formularios = document.forms.length;
	for(i=0;i<formularios;i++)
		{
		if(document.forms[i].name==formID)
		{
		var formulario = i;
		break;
		}
	}
	var num_respostas = document.forms[formulario].opcao.length;
	var resposta = num_respostas;
	var respostas = "";
	for(i=0;i<num_respostas;i++)
		{
		if(document.forms[formulario].opcao[i].checked)
			{
			resposta = i;
			if(respostas)
			{
				respostas=respostas + "&";
			}
			else
			{
				respostas=respostas + "?";
			}
			respostas=respostas + "opcao=" + document.forms[formulario].opcao[i].value;
		}
	}
	if(resposta==num_respostas)
	{
	alert("Uma op็ใo deve ser escolhida!");
	}
	else
	{
	Abre("http://www.enquetes.com.br/enquete.asp" + respostas,400,340);
	}
}
//-->


<!--Inํcio c๓digo google-->
 
<!--
function loadGoogle() {
  var w, h, x, y;
  w = 700
  h = 450
  x = (screen.width - w) / 2
  y = ((screen.height - h) / 2) - 40
  
  var WinGoogle = new Object();
  WinGoogle = window.open('', 'BuscaGoogle', 'width='+w+',height='+h+',top='+y+',left='+x+',scrollbars=yes,menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes')
  return true;
}
// -->
<!--fim c๓digo google-->




function Maximo(campo){
	if(campo.value.length > 255){ 
	alert("Este Campo s๓ permite 255 caracteres !");
	campo.focus();
	return false;

	}
}

<!--Inํcio c๓digo cor formulario ao clicar-->

function mudacor(name){      
	document.all[name].style.backgroundColor="#3399FF";
}  

function normalcor(name){
	document.all[name].style.backgroundColor="#FF7100";    
}  



function cinza(name){      
	document.all[name].style.backgroundColor="#E7E6E4";
}  

function branco(name){
	document.all[name].style.backgroundColor="#ffffff";    
}  

function azul(name){
	document.all[name].style.backgroundColor="#ABD5FE";    
}  

function laranja(name){      
	document.all[name].style.backgroundColor="#FAC576";
}  


<!--fim c๓digo cor formulario ao clicar-->



<!--
function janela(nome,wd,hg){
    wjan=window.open(nome+".htm","janela", "toolbar=no,location=no,top=0,left=0,directories=no,status=yes,menubar=no,scrollbars=no,menubar=no,width="+wd+",height="+hg);  
}

function menuselect(num_select){
  if (parent.leftFrame){
     parent.leftFrame.defimgs((num_select*2)-1,'gal'+num_select+'on.gif');
  }
} 
  //-->


<!--Inํcio c๓digo popup alb๚m-->
<!--
function popUp(URL) {
 day = new Date();
 id = day.getTime();
 eval("page" + id + " = window.open(URL, '" + id + "', 'width=500,height=500');");
}
//-->
<!--Fim c๓digo popup alb๚m-->


<!--c๓digo alb๚m efeito passa o mouse-->
<!--
function mo(o){o.className=='sx'?o.className='so': o.className=o.className; }
function mx(o){o.className=='so'?o.className='sx': o.className=o.className; }
function mc(o){o.className='sc'; }
//-->
<!--fim c๓digo alb๚m efeito passa o mouse-->



<!--///////////INอCIO JANELAS ///////////////-->
<!--
function abrefesta(g)
{
        winStr = g;
        win = window.open
(winStr,'portf','toolbar=no,titlebar=no,scrollbars=yes,location=no,directories=no,status=no,menubar=no,copyhistory=no,width=550,height=500,top=0,left=0');
        win.focus();
}
//-->

<!--
function abrelogo(img)
{
        winStr = img;
        win = window.open
(winStr,'abrelogo','toolbar=no,titlebar=no,location=no,directories=no,status=no,scrollbars=no,menubar=no,copyhistory=no,width=460,height=200,top=100,left=150');
        win.focus();
}
//-->

<!--
function abretorpedo(img)
{
        winStr = img;
        win = window.open
(winStr,'abretorpedo','toolbar=no,titlebar=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,copyhistory=no,width=300,height=500,top=100,left=150');
        win.focus();
}
//-->



<!--
function abreagenda(img)
{
        winStr = img;
        win = window.open
(winStr,'agenda','toolbar=no,titlebar=no,location=no,directories=no,status=no,scrollbars=no,menubar=no,copyhistory=no,width=330,height=460,top=100,left=150');
        win.focus();
}
//-->


<!--
function abreconta(img)
{
        winStr = img;
        win = window.open
(winStr,'agenda','toolbar=no,titlebar=no,location=no,directories=no,status=no,scrollbars=no,menubar=no,copyhistory=no,width=290,height=230,top=100,left=150');
        win.focus();
}
//-->


<!--
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
//-->


<!--	
	function roll(imageName, imageState) {
	        if (document.images) document [imageName].src=imageName+"_"+imageState+".gif";
	}
	
	function newwin(pagename) {
		alert ('Please press CTRL-P (PC) or Apple-P (Mac)\nto print the following page or copy and\npaste the form into an email and fill it out.');
		window.open(pagename,"attend","width=700,height=500,scrollbars=1,scrolling=yes,resizable=1,status=no");
	}

	function newwin_noprint(pagename, width, height) {
		window.open(pagename,"attend","width="+width+",height="+height+",scrollbars=1,scrolling=yes,resizable=1,status=no,");
	}
//  -->



<!--///////////FIM JANELAS ///////////////-->


<!--
function MM_openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}
//-->






<!--
<!--

 function valida() {

<!--บบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบ-->

				if (document.cadastro.nome.value !="")
				{
					if (document.cadastro.nome.value.length < 10)
					{
						alert("Por Favor preencha Seu nome Completo.");
						document.cadastro.nome.focus();
						return false;
					}
				}
				else
				{
					alert("Por Favor preencha seu nome.");
					document.cadastro.nome.focus();
					return false;
				}



<!--บบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบ-->

				if (document.cadastro.email.value !="")
				{
					email=document.cadastro.email.value;
					if (email.indexOf("@",0) == -1)
					{
						alert("Por Favor preencha Seu E-mail Completo.");
						document.cadastro.email.focus();
						return false;
					}
				}
				else
				{
					alert("Por Favor preencha seu Email.");
					document.cadastro.email.focus();
					return false;
				}


<!--บบบบบบบบ celular บบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบ-->
				if (document.cadastro.celular.value.length < 8)
				{
					alert("Por Favor preencha o seu celular com 8 n๚meros.");
					document.cadastro.celular.focus();
					return false;
				}
<!--บบบบบบบบ ddd บบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบ-->
				if (document.cadastro.ddd.value.length < 2)
				{
					alert("Por Favor preencha o ddd da sua cidade com 2 numeros.");
					document.cadastro.ddd.focus();
					return false;
				}
				
<!--บบบบบบบบ tel fixo บบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบ-->
				if (document.cadastro.tel_fixo.value.length < 8)
				{
					alert("Por Favor preencha seu tel de contato com 8 n๚meros.");
					document.cadastro.tel_fixo.focus();
					return false;
				}
<!--บบบบบบบบ ddd บบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบ-->
				if (document.cadastro.ddd.value.length < 2)
				{
					alert("Por Favor preencha o ddd da sua cidade com 2 numeros.");
					document.cadastro.ddd.focus();
					return false;
				}




<!--บบบบบบบบ recadastro บบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบ-->

	if (cadastro.recadastro.value == -1)

				{

				    alert("Escolha o tipo de cadastro do evento.");

				    cadastro.recadastro.focus();

				    return false;

				}




<!--บบบบบบบบ tema_festa บบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบ-->
				if (document.cadastro.tema_festa.value.length < 5)
				{
					alert("Por Favor preencha o tema do seu evento.");
					document.cadastro.tema_festa.focus();
					return false;
				}
<!--บบบบบบบบ dia_festa บบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบ-->
				if (document.cadastro.dia_festa.value.length < 27)
				{
					alert("Por Favor preencha o dia da festa exatamente como o exemplo do campo.");
					document.cadastro.dia_festa.focus();
					return false;
				}

<!--บบบบบบบบ estado บบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบ-->

	if (cadastro.estado.value == -1)

				{

				    alert("Preencha Seu Estado!");

				    cadastro.estado.focus();

				    return false;

				}

<!--บบบบบบบบ cidade บบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบ-->
				if (document.cadastro.cidade.value.length < 3)
				{
					alert("Por Favor preencha a cidade do evento.");
					document.cadastro.cidade.focus();
					return false;
				}
<!--บบบบบบบบ bairro บบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบ-->
				if (document.cadastro.bairro.value.length < 3)
				{
					alert("Por Favor preencha o bairro do evento.");
					document.cadastro.bairro.focus();
					return false;
				}

<!--บบบบบบบบ ingresso บบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบ-->
				if (document.cadastro.ingresso.value.length < 3)
				{
					alert("Por Favor preencha o valor do ingresso.");
					document.cadastro.ingresso.focus();
					return false;
				}

<!--บบบบบบบบบTermosบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบ-->

				if ((cadastro.termos[0].checked == false) && (cadastro.termos[1].checked == false))

                                {

                	        alert("Selecione os termos de condi็ใo!");

					cadastro.termos[0].focus();

					return false;

				}
<!--บบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบบ-->
			
		cadastro.enviar.disabled=true;

             }
// -->



function MM_popupMsg(msg) { //v1.0
  alert(msg);
}
//-->



<!--
  function Eins()
    {window.status = "                [   -  -  -  -  -  - ]=[  Para fazer, tem que ser bem feito. Metal๚rgica Fidelis !!!  ]=[   -  -  -  -  -  - ]  ";
    setTimeout("Zwei()",60);
    }
  function Zwei()
    {window.status = "                [  -  -  -  -  -  -  ]=[  Para fazer, tem que ser bem feito. Metal๚rgica Fidelis !!!  ]=[  -  -  -  -  -  -  ]  ";
    setTimeout("Drei()",60);
    }
  function Drei()
    {window.status = "                [ -  -  -  -  -  -   ]=[  Para fazer, tem que ser bem feito. Metal๚rgica Fidelis !!!   ]=[ -  -  -  -  -  -   ]  ";
    setTimeout("Eins()",60);
    }
  Eins();
// -->
