function checadetran(){
	var	nome = document.motores.placa.value;
	var	nomereturn = isNaN(nome);
		if(nome==""){
				alert('VAZIO')
				return false
			}else{
				if(nomereturn){
					alert('LETRA')
					return false
				}else{
					return true
				}
			}
		}
	
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

function chat(){

	nome = document.chatform.name.value;
	room = document.chatform.room.value;

	if (nome.length == 0){
		alert("Você deve informar o seu nick (apelido) antes de entrar no Mixx Chat");
		document.chatform.name.focus();
		return (false);
	}
	if (document.all)
		var xMax = screen.width, yMax = screen.height;    else
	if (document.layers)
		var xMax = window.outerWidth, yMax = window.outerHeight;        else
	var xMax = 640, yMax=480;
	var xOffset = (xMax)/2, yOffset = (yMax)/2;
	window.open("http://chat4.mixx.com.br/default.htm?name=" + nome + "&room=" + room ,"batepapo","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=" + xMax + ",height=" + (yMax-60) + "screenX=0,screenY=0,top=0,left=0");
		}
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


function chat2(){

	nome = document.chatform2.name.value;
	room = document.chatform2.room.value;

	if (nome.length == 0){
		alert("Você deve informar o seu nick (apelido) antes de entrar no Mixx Chat");
		document.chatform2.name.focus();
		return (false);
	}
	if (document.all)
		var xMax = screen.width, yMax = screen.height;    else
	if (document.layers)
		var xMax = window.outerWidth, yMax = window.outerHeight;        else
	var xMax = 640, yMax=480;
	var xOffset = (xMax)/2, yOffset = (yMax)/2;
	window.open("http://chat4.mixx.com.br/default.htm?name=" + nome + "&room=" + room ,"batepapo","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=" + xMax + ",height=" + (yMax-60) + "screenX=0,screenY=0,top=0,left=0");
		}
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

//-----------------------------------------------------------------------

function astral(){
	var sigid = document.astral.signos.selectedIndex;

	if (sigid == 0)
		signo = "";
	else
		signo = "#" + document.astral.signos.options[sigid].value;
	
	parent.location.href= "/horoscopo/" + signo;
}
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

function classificados(){
	var secaoid = document.classificados.secoes.selectedIndex;
	
	if (secaoid == 0)
		secao = "";
	else
		secao = "?idSecao=" + document.classificados.secoes.options[secaoid].value;

	parent.location.href = "http://classificados.mixx.com.br/secao/" + secao;
}
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

function enquete1(voto, qual) {
	window.open("/ssi/enquete/r_enquete.asp?voto=" + voto + "&qual=" + qual ,"Enquete","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=350,height=300");
}
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

function enquete(opt, valor,idPergunta) {
	if(opt == "v"){
		if(valor.length==0){
			alert("Você deve escolher uma opção!");
		}else{
			window.open("/enquete/send_enquete.asp?intRespostaID=" + valor + "&idp=" + idPergunta ,"Enquete","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=350,height=400");
		}
	}

	if(opt == "r"){
		window.open("/enquete/resultados.asp?ID=" + valor + "&idp=" + idPergunta,"Enquete","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=350,height=400");
	}

}
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

function alerta() {
	window.open("/poup/pombaloca/alerta.htm","Janela","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=346,height=254");
}
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

function Lnoticia(not) {
	if (document.all)
		var xMax = screen.width, yMax = screen.height;    else
	if (document.layers)
		var xMax = window.outerWidth, yMax = window.outerHeight;        else
	var xMax = 640, yMax=480;
	window.open(not ,"mixx","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=550,height=450,screenX="+(xMax-565)+",screenY=0,top=0,left="+(xMax-565));
}
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

function Remote(pag, wid, hei) {
    var remote = null
    remote = window.open(pag ,'AVISO','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,menubar=no,width=' + wid + ',height=' + hei);
    if (remote != null) {
	remote.location.href = pag
    }
}
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
function janela(){
var PegaCookie = document.cookie;
if (PegaCookie.indexOf("home=JaExibiu") == -1)
{
	window.open("/poup/home/mixx_mail.htm","HomeWindow","scrollbars=no,resizible=no,toolbar=no,location=no,status=no,menubar=no,width=250,height=300,top=140,left=155");document.cookie="home=JaExibiu";
   }
}
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
