 
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}//-->

<!--
function changeCase(frmObj) {
var index;
var tmpStr;
var tmpChar;
var preString;
var postString;
var strlen;
tmpStr = frmObj.value.toLowerCase();
strLen = tmpStr.length;
if (strLen > 0)  {
for (index = 0; index < strLen; index++)  {
if (index == 0)  {
tmpChar = tmpStr.substring(0,1).toUpperCase();
postString = tmpStr.substring(1,strLen);
tmpStr = tmpChar + postString;
}
else {
tmpChar = tmpStr.substring(index, index+1);
if (tmpChar == " " && index < (strLen-1))  {
tmpChar = tmpStr.substring(index+1, index+2).toUpperCase();
preString = tmpStr.substring(0, index+1);
postString = tmpStr.substring(index+2,strLen);
tmpStr = preString + tmpChar + postString;
         }
      }
   }
}
frmObj.value = tmpStr;
}
//-->

<!--
function valida_campo()
{
<!--

var nome = document.form.nome.value
if (nome==""){
	alert("Entre com seu nome!");
	document.form.nome.focus()
	return false
	}
var endereco = document.form.endereco.value
if (endereco==""){
	alert("Entre com seu endereço!");
	document.form.endereco.focus()
	return false
	}
var complemento = document.form.complemento.value
if (complemento==""){
	alert("Entre com restante do endereço!");
	document.form.complemento.focus()
	return false
	}
var bairro = document.form.bairro.value
if (bairro==""){
	alert("Entre com seu bairro!");
	document.form.bairro.focus()
	return false
	}
var cidade = document.form.cidade.value
if (cidade==""){
	alert("Entre com seu cidade!");
	document.form.cidade.focus()
	return false
	}
var estado = document.form.estado.value
if (estado==""){
	alert("Entre com seu estado!");
	document.form.estado.focus()
	return false
	}
var telefone = document.form.telefone.value
if (telefone==""){
	alert("Entre com seu telefone!");
	document.form.telefone.focus()
	return false
	}
var identidade = document.form.identidade.value
if (identidade==""){
	alert("Entre com a identidade!");
	document.form.identidade.focus()
	return false
	}
var resposta = document.form.resposta.value
if (resposta==""){
	alert("Entre com a resposta!");
	document.form.resposta.focus()
	return false
	}
var email=document.form.email.value;
if (email==""){
	alert("Entre com seu email!")
	document.form.email.focus()
return false
	}
}
function confere(){
if (document.form.email.value.indexOf('@', 0) == -1 || document.form.email.value.indexOf('.', 0) == -1){ alert("E-mail invalido!");
	document.form.email.focus()
	}
}
//-->


<!--

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);
	}
}
//-->

<!--
var ord = parseInt(Math.random()*1000000000000000000) + "?";
function VerifyForm(){
        if (document.formLogin.user.value.length == 0) {
                alert ("Por favor, preencha o campo 'Apelido'.");
                return false;
        }
	abre2('http://chatter1.ig.com.br/mod_perl/inchat/inchat.pl?screen=main&login=1&room=785&chatter=user&where=:785&user='+escape(document.formLogin.user.value));
        return true;
}
//-->

<!--
function abre2(URL) {
		window.open (URL,'chat','width=790,height=550,top=0,left=0,resizable=1');
}
//-->

<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}


<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->



<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}//-->
