self.name = "home";
/*
function enviaSenha() {
	if (loga.login.value=='') {
		alert("Preencha o campo Usuário");
		return false;
	}
	formusu.qusuario.value = loga.login.value;
	formusu.submit()
}


function exibeFlash(swf, width, height, flashvar, wmode, cache)
{
    noCache  = cache    || cache    == undefined ? "" : "?" + new Date();
    wmode    = wmode    || wmode    == undefined ? "transparent" : "opaque";
    flashvar =             flashvar == undefined ? "" : flashvar;
    monta_swf  = "";
    monta_swf += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\""+ width +"\" height=\""+ height +"\" title=\"\">";
    monta_swf += "<param name=\"movie\" value=\""+ swf + noCache +"\" />";
    monta_swf += "<param name=\"quality\" value=\"high\" />";
    monta_swf += "<param name=\"wmode\" value=\""+ wmode +"\" />";
    monta_swf += "<param name=\"flashvars\" value=\""+ flashvar +"\" />";
    monta_swf += "<embed src=\""+ swf + noCache +"\" flashvars= \""+ flashvar +"\"quality=\"high\" wmode=\""+ wmode +"\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\""+ width +"\" height=\""+ height +"\"></embed>";
    monta_swf += "</object>";
    document.write(monta_swf);
}
*/

function insereSwf( d,f,h,n){
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width',d,'height',f,'src',h,'quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie',n );
    //d width / f height / h,n path e nome
}
function abreJanela(endereco,w,h) {window.open(endereco,"hdecode_window","width="+w+",height="+h+",screenX=50,screenY=120,top=50,left=120,resizable=yes,,menubar=no,scrollbars=yes,toolbar=no,status=no,directories=no");}
function printIt(str) {
    winId=window.open('','printwin','width=1,height=1');
    winId.document.write(str);
    winId.document.close();
    winId.focus();
    winId.print();
    winId.close();
}
function popupwindow(index){
        y=560;
    if(index==1) {site="refeicao_wdw.htm";}
    if(index==2) {y = 560;site="pack.asp";}
    if(index==3) {site="packshow.asp?cpk=6IOM";}
		if(index==4) {site="packlist.asp?pais=BRASIL";}
    window.open(site,"newwindow","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizeable=0,width=785,height=800")
}
function pop_pack(index) {
    y = screen.availheight;
    if (index=="wdwj") {site="disney_saidas_julho.asp";}
    else{site="packshow.asp?cpk="+index;}
    window.open(site,"newwindow","toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizeable=0,width=785,height=800");
}
function disp() {document.getElementById("mainbody").style.display="none";document.getElementById("waitbody").style.display="block";}
function abrew(w) {
    nw=window.open(w,"login","width=970,height=580,screenX=100,screenY=120,top=0,left=100,resizable=yes,menubar=no,scrollbars=yes,toolbar=no,status=no,");
    nw.focus();
}
function logar() {loga.submit();}
function launch(newURL, newName, newFeatures, orgName) {
    var remote = open(newURL, newName, newFeatures);
    if (remote.opener == null)
    remote.opener = window;
    remote.opener.name = orgName;
    return remote;
}
function hdecode(w,z) {
    hw=window.open("/hprec.asp?codcid="+w+"&codhot="+z,"hw","width=600,height=500,screenX=50,screenY=120,top=50,left=120,resizable=yes,,menubar=no,scrollbars=yes,toolbar=no,status=no");
    hw.focus();
}
function hdecodebox(w,z) {
    hw=window.open("/hprecm2.asp?tcit="+w+"&thot="+z,"hw","width=600,height=500,screenX=50,screenY=120,top=50,left=120,resizable=yes,,menubar=no,scrollbars=yes,toolbar=no,status=no");
    hw.focus();
}
function hdecodeboxGta(w,z,q,s) {
    hw=window.open("/hprecm.asp?tcit="+w+"&thot="+z+"&nomehotel="+q+"&cidade="+s+"&promo=1","hw","width=600,height=500,screenX=50,screenY=120,top=50,left=120,resizable=yes,,menubar=no,scrollbars=yes,toolbar=no,status=no");
    hdecode_window.focus();
}
function launcht(url,winame,features,p){
    var remote = open(url,winame,features,p);
    if (remote.opener == null)
        remote.opener = window;
        remote.opener.name = p;
    return remote;
}
function GetContentWnd(){ return parent;}

function abreNoticia(){
	window.open('noticia.asp','noticia',"width='550',height='450','resizable=yes,,menubar=no,scrollbars=yes,toolbar=no,status=no,directories=no");
}