<!-- 
window.onerror=null;
function msgPrecosHoteis(){
x="Preços de diárias de hotéis são meramente referenciais\n";
x=x+"e correspondem a diária de 1 pessoa apto. standard.\n\n";
x=x+"Aparecem aqui como: (baixa temporada/alta temporada)\n\n";
x=x+"Alta Temporada: Sextas, Sábados, Feriados, Feriadões,\n";
x=x+" Julho, Dezembro e Eventos Especiais.";
alert(x);
}
//*************************
function ow(url,w,h,s) {popupWin= null;
if (w==null) 
   w="450";
if (h==null)
   h="380";
if (s==null)
   s="1";
popupWin=window.open(url,"w",'toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=yes,scrollbars='+s+',width='+w+',height='+h);
popupWin.onBlur="close()";
if ( (navigator.appName != "Microsoft Internet Explorer") && (navigator.appVersion.substring(0,1) == "3") )
     popupWin.focus();
}
//************************
function slide(obj,ini,fim,ximgname,ximg) {
p=obj.src.lastIndexOf("/");
if (p<0 || p<obj.src.length-4) 
   obj.src=obj.src+'/01';
p=obj.src.lastIndexOf("/");
s=obj.src.substr(0,p+1);
w=obj.src.substr(p+1,2); // (p+3,+4)
n=eval(w)+1;
if (ximg) 
   sn=ximg
else 
  sn=n;
if (sn>fim) sn=ini;
if (sn<10) sn="0"+sn;
obj.src=(s+sn);

eval("flg"+ximgname+"("+sn+")");
}
//*************************
function goTema(xTema) {
  carregando();
  if (top.contents.centro) {
     top.contents.centro.location.src="/grsite/geral?pg=DisplayDicaCapa&NumDica="+xTema;
  }
  top.menu.voltar=-1;
}
//*************************
function openWin(url, name,larg,alt) {
        popupWin= null;
        popupWin=window.open(url,name,'toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=no,scrollbars=1,width='+larg+',height='+alt);
                popupWin.focus();
        }
//*************************
function openMainWin(url, name,larg,alt) {
 xpopupWin= null;
 xpopupWin=window.open(url,name,'toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=no,scrollbars=0,width='+larg+',height='+alt);
 xpopupWin.focus();
}
//***************************
function abreupload(url, name,larg,alt) {
 upopupWin= null;
 upopupWin=window.open(url,name,'toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=yes,scrollbars=1,width='+larg+',height='+alt);
 upopupWin.focus();
}
//***************************
fonte='<font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#ffffff"><b>';
fimfonte='</b></font>';
//***************************
function carrega(frame1,page1,frame2,page2,titsecao) {
alert("Tirar layer [carrega]");
}
//*************************
function carregando(titsecao) {
  top.menu.TurnLayer("centro","Carregando","visible");
}
//*************************
function out() {
document.texto.src='http://www.gramadosite.com.br/transparent.gif';
}
//*************************
function over(imagem) { 
document.texto.src=imagem;
}
//*************************
function linkmenu(op) {
  top.menu.voltar=-2;
  top.menu.proximapaginalnk="";
  top.menu.paginaatual=op;
  top.menu.proximapagina=top.menu.paginaatual+1;

  if (top.menu.proximapagina>12) {
     top.menu.proximapagina=1
     };

  op =op-1;

  // Atualizar o frame do MENU a direita
  TurnLayer("topicos","Carregando","visible");

  top.contents.topicos.location="http://www.gramadosite.com.br/grsite/menudir?pg="+top.menu.opl[op];
  x="http://www.gramadosite.com.br/";
  return (x+top.menu.opsCentro[op]+'&menu='+top.menu.opl[op]);
}
//*************************
function menudir(op) {
  top.menu.voltar=-2;
  top.menu.proximapaginalnk="";
  top.menu.paginaatual=op;
  top.menu.proximapagina=top.menu.paginaatual+1;

  if (top.menu.proximapagina>11) {
     top.menu.proximapagina=1
     };

  op =op-1;

  // Atualizar o frame do MENU a direita
  TurnLayer("topicos","Carregando","visible");

   top.contents.topicos.src="/grsite/menudir?pg="+top.menu.opl[op];
}
//*************************
function TurnLayer(frame,layer,state) {
  xe="false";
  if (document.all) {
     if (top.contents) {
        if (top.contents.centro) {
           yy=top.contents.centro.document.body.scrollTop;
           xp=".style.pixelTop="+yy;
           xe="top.contents."+frame+".document.all['"+layer+"']";
           xs=".style.visibility='"+state+"'";
        }
     }
     }
  else {
     if (top.contents.centro) {
        yy=top.contents.centro.window.pageYOffset;
        xp=".top="+yy;
        xe="top.contents."+frame+".document.layers['"+layer+"']";
        xs=".visibility='"+state+"'"
     }
  };
  if ( eval(xe) ) {
     eval(xe+xp);
     eval(xe+xs); }
  else {
     if ( (!top.frames[2]) ) {
        this.location="/VoceEstaNaGramadoSite.htm";
     }
  }
}
//*************************
function ajuda() {
   if (top.contents.topicos) {
      top.contents.topicos.location="http://www.gramadosite.com.br/ajuda/dir.htm";
   }
   if (top.contents.centro) {
      top.contents.centro.location="http://www.gramadosite.com.br/ajuda/ajuda.htm";
   }
}
//*************************
/* if (window.Event)
  document.captureEvents(Event.MOUSEUP); 
 
function nocontextmenu()  
{
 event.cancelBubble = true
 event.returnValue = false;
 return false;
}

function norightclick(e) 
{
 if (window.Event) 
 {
  if (e.which == 2 || e.which == 3)
  return false;
 }
 else
  if (event.button == 2 || event.button == 3)
  {
   event.cancelBubble = true
   event.returnValue = false;
   return false;
  }
}
 
document.oncontextmenu = nocontextmenu; 
document.onmousedown = norightclick; */
//-->
