// JavaScript Document
<!--
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=650,height=500,scrollbars=yes');
return false;
}
//-->
<!--
function reviews(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=430,height=520,scrollbars=yes');
return false;
}
//-->
<!--
function book(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=805,height=800,scrollbars=yes');
return false;
}
//-->

function showWait(red) {
  //divMain.style.display = 'none';
  //divWait.style.display = '';
  redstr = "_red";
  // (red) ? "_red" : "";
  /* waitPage = "<table valign=center width=100% height=100%>" +
             "<tr><td align=center><table width=400>"     +
             "<tr><td align=center><font class='text'><img name='i4vegas_inter' src='/img/waiting" + redstr + ".gif' width='400' height='100' border='0' ></font></td></tr>"          +
             "</table></td></tr></table>"; */
  waitPage = "<table valign=center width=100% height=600>" +
             "<tr><td align=center><BR/>" +
"<table width=\"360\" height=\"260\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td align=center><img width='350' height='250' src=\"http://www.earlyvegas.com/images/searching.gif\" alt=\"\"></td></tr><td align=center><img src=\"http://www.earlyvegas.com/images/loader.gif\"</td</tr></table>" +
             "</td></tr></table>";
 Mac = navigator.userAgent.indexOf("Mac") != -1;
 Msie = navigator.userAgent.indexOf("MSIE") != -1;
 if (!(Mac && Msie)) {
  if (document.documentElement && document.all)
    document.body.innerHTML = waitPage;
  else if (document.all)
    document.body.innerHTML = waitPage;
  else if (document.getElementById)
    document.documentElement.innerHTML = waitPage;
  else if (contentDocument)
    contentDocument.body.innerHTML  = waitPage
 }
}

function showWaitD() {
 setTimeout('showWait(false)', 500);
}

function showWait2(red) {
  //divMain.style.display = 'none';
  //divWait.style.display = '';
  redstr = "_red";
  // (red) ? "_red" : "";
  waitPage = "<table valign=center width=100%>" +
             "<tr><td align=center><table width=400>"     +
             "<tr><td align=center><font class='text'><img name='inter' src='/img/waiting" + redstr + ".gif' width='400' height='300' border='0' ></font></td></tr>"          +
             "</table></td></tr></table>";
  if (waitdiv = document.getElementById("waitdiv")) {
   waitdiv.style.visibility = 'visible';
   waitdiv.innerHTML = waitPage;
  }
}

function showWaitD2() {
 setTimeout('showWait2(false)', 500);
}

/*function showWaitD(red) {
 setTimeout('showWait('+red+')', 500);
}*/