
function nova(mypage,myname){
settings='width=755,height=505,top=0,left=0,scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
window.open(mypage,myname,settings);
}
function coisa(mypage){
settings='width=755,height=505,top=0,left=0,scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
window.open(mypage,"nova",settings);
}

<!-- Begin
var windowW=800 // wide
var windowH=600 // high
var windowX = 5 // from left
var windowY = 5 // from top
var urlPop = "jogo.php"
var title =  "JOGO"
// set this to true if the popup should close
// upon leaving the launching page; else, false
var autoclose = true
// do not edit below this line
s = "width="+windowW+",height="+windowH;
var beIE = document.all?true:false

function openFrameless1() {
	alert ("Atenção, devido ao aumento expressivo da quantidade de jogos e impossibilidade financeira de ampliar o serviço, encerraremos as partidas entre os dias 17/10/2004 e 31/10/2004!");
}
function openFrameless() {
if (beIE) {
NFW = window.open("","popFrameless","fullscreen,"+s);
NFW.blur();
window.focus();
NFW.resizeTo(windowW,windowH);
NFW.moveTo(windowX,windowY);
var frameString=""+
"<html>"+
"<head>"+
"<title>"+title+"</title>"+
"</head>"+
"<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
"<frame name='top' src='"+urlPop+"' scrolling=no>"+
"<frame name='bottom' src='about:blank' scrolling='no'>"+
"</frameset>"+
"</html>";
NFW.document.open();
NFW.document.write(frameString);
NFW.document.close();

}
else {
NFW = window.open(urlPop,"popFrameless","scrollbars,"+s);
NFW.blur();
window.focus();
NFW.resizeTo(windowW,windowH);
NFW.moveTo(windowX,windowY);
}
NFW.focus();

}



function validaPrompt (Ctrl, string)
{
        alert (string);
        Ctrl.focus();
        Ctrl.select();
        return;
}


function enviar(){

                   Ctrl = document.formulario.aceite;
		if (Ctrl.value == "naoaceito")
		{
                validaPrompt (Ctrl, "Você precisa ler a licença e concordar com os seus termos, para poder ter acesso ao código fonte do TRUCO LIVRE!");
                return false;
        } else

                   Ctrl = document.formulario.Email;
		if (Ctrl.value == ""|| Ctrl.value.indexOf('@' , 0) == -1 || Ctrl.value.indexOf('.',1) == -1)
		{
                validaPrompt (Ctrl, "Informe o E-mail de contato válido, por favor.");
                return false;
        } else

         Ctrl = document.formulario.Cidade;
        if (Ctrl.value == "" || Ctrl.value.indexOf ('"null"' , 0) != -1)
                {
                validaPrompt (Ctrl, "Informe o nome de sua Cidade, por favor.");
                return false;
        } else

                        Ctrl = document.formulario.Idade;
        if (Ctrl.value == "" || Ctrl.value.indexOf ('"null"' , 0) != -1)
                {
                validaPrompt (Ctrl, "Informe sua idade, por favor.");
                return false;
        } else

       Ctrl = document.formulario.Sexo;
        if (Ctrl.value == "" )
                {
                 alert  ("Informe o seu Sexo, por favor.");
                return false;
              } else

       Ctrl = document.formulario.username;
       Ctrl0=Ctrl.value.charCodeAt(0);
       Ctrl1=Ctrl.value.charCodeAt(1);
       Ctrl2=Ctrl.value.charCodeAt(2);
       Ctrl3=Ctrl.value.charCodeAt(3);
       Ctrl4=Ctrl.value.charCodeAt(4);
       Ctrl5=Ctrl.value.charCodeAt(5);
       Ctrl6=Ctrl.value.charCodeAt(6);
       Ctrl7=Ctrl.value.charCodeAt(7);
       Ctrl8=Ctrl.value.charCodeAt(8);
       Ctrl9=Ctrl.value.charCodeAt(9);
       Ctrl10=Ctrl.value.charCodeAt(10);
       Ctrl11=Ctrl.value.charCodeAt(11);
       Ctrl12=Ctrl.value.charCodeAt(12);
       if (
          ((Ctrl0>0 && Ctrl0 < 48) || (Ctrl0 > 57 && Ctrl0< 95) || (Ctrl0 > 122))||
          ((Ctrl1>0 && Ctrl1 < 48) || (Ctrl1 > 57 && Ctrl1< 95) || (Ctrl1 > 122))||
          ((Ctrl2>0 && Ctrl2 < 48) || (Ctrl2 > 57 && Ctrl2< 95) || (Ctrl2 > 122))||
          ((Ctrl3>0 && Ctrl3 < 48) || (Ctrl3 > 57 && Ctrl3< 95) || (Ctrl3 > 122))||
          ((Ctrl4>0 && Ctrl4 < 48) || (Ctrl4 > 57 && Ctrl4< 95) || (Ctrl4 > 122))||
          ((Ctrl5>0 && Ctrl5 < 48) || (Ctrl5 > 57 && Ctrl5< 95) || (Ctrl5 > 122))||
          ((Ctrl6>0 && Ctrl6< 48)  || (Ctrl6 > 57 && Ctrl6< 95) || (Ctrl6 > 122))||
          ((Ctrl7>0 && Ctrl7 < 48) || (Ctrl7 > 57 && Ctrl7< 95) || (Ctrl7 > 122))||
          ((Ctrl8>0 && Ctrl8 < 48) || (Ctrl8 > 57 && Ctrl8< 95) || (Ctrl8 > 122))||
          ((Ctrl9>0 && Ctrl9 < 48) || (Ctrl9 > 57 && Ctrl9< 95) || (Ctrl9 > 122))||
          ((Ctrl10>0 && Ctrl10 < 48) || (Ctrl10 > 57 && Ctrl10< 95) || (Ctrl10 > 122))||
          ((Ctrl11>0 && Ctrl11 < 48) || (Ctrl11 > 57 && Ctrl11< 95) || (Ctrl11 > 122))||
          ((Ctrl12>0 && Ctrl12 < 48) || (Ctrl12 > 57 && Ctrl12< 95) || (Ctrl12 > 122))||
          (Ctrl.value == "" ))



              {validaPrompt (Ctrl, "Informe o Nome de Usuário sem caracteres especiais, maiúsculas, espaços e acentuações, por favor.\nO único caractere separador aceito é o underline \'_\'");
         return false;
              }


              else


	 document.formulario.submit()}


