// JavaScript Document
function jogo(origem,swf,width,height) {
document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='"+width+"' height='"+height+"' id='barra' align='middle'><param name='allowScriptAccess' value='sameDomain' /><param name='movie' value='"+origem+"/j/"+swf+"' /><param name='menu' value='false' /><param name='quality' value='high' /><param name='scale' value='default' /><embed src='"+origem+"/j/"+swf+"' menu='false' quality='high' scale='default' bgcolor='#FFFFFF' width='"+width+"' height='"+height+"' name='barra' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object>")
}

function popUp(URL){
winpops=window.open(URL,"","width=350,height=297,left=100,top=100,status=0,scrollbars=0,resizable=1,menubar=0,location=0,toolbar=0")
}

function popUp2(URL){
winpops=window.open(URL,"","width=300,height=390,left=100,top=100,status=0,scrollbars=0,resizable=1,menubar=0,location=0,toolbar=0")
}

function popRecoverPassword(URL){
winpops=window.open(URL,"","width=440,height=200,left=100,top=100,status=0,scrollbars=0,resizable=1,menubar=0,location=0,toolbar=0")
}

function popReportGame(URL){
winpops=window.open(URL,"","width=300,height=430,left=100,top=100,status=0,scrollbars=0,resizable=1,menubar=0,location=0,toolbar=0")
}

function popRecoverPassword(URL){
winpops=window.open(URL,"","width=440,height=200,left=100,top=100,status=0,scrollbars=0,resizable=1,menubar=0,location=0,toolbar=0")
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function changeSelect(flag) {
    if (flag == 1) {
     if (document.theForm.comments.value ==
document.theForm.comments.defaultValue) {
        document.theForm.comments.select();
     }
  }
 if (flag == 2) {
     document.theForm.comments.value = 
          document.theForm.comments.value;
  }
    }
