  var stime=0;
  function snobo_flip() 
  {
    var k=1000;
    delay1=3;
    if (document.all)
    { 
      delay2=16;
      delay3=17;
      delay1*=k;
      delay2*=k;
      delay3*=k;
    }
    else 
    {
      delay2=16;
      delay3=17;
      delay1*=k;
      delay2*=k;
      delay3*=k;    
    }
    
    
    if(document.all)  
      document.write("<div NAME='poll' ID='layer9' style='visibility:hidden; position:absolute; LEFT:250; TOP:150; WIDTH:600; HEIGHT:500; border-style:none; border-width:1px;' align=right>");
    else
      document.write("<div NAME='poll' ID='layer9' style='visibility:hide; position:absolute; LEFT:250; TOP:150; WIDTH:600; HEIGHT:500; border-style:none; border-width:1px;' align=right>");
    
    document.write("<table border='0' cellpadding='0' cellspacing='0'><tr><td align='right' valign='top'><a href='javascript:hideit(9)'><span class='responseheader'>CLOSE<img src='/images/x.gif' width=20px height='20px' border='0'></span></a></td></tr><tr><td align='center' valign='top'><EMBED src='/fla/BelauSnowboarder.swf' loop='false' menu='false' quality='best' scale='exactfit' wmode='transparent' WIDTH='600px' HEIGHT='500px' TYPE='application/x-shockwave-flash'  PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'></EMBED></td></tr></table></div>");
    
    //sho = window.setTimeout("showit(99)",delay1);
    //hid = window.setTimeout("hideit(99)",delay2);
    sho2 = window.setTimeout("showit(9)",1000);    
    hidesnobo = window.setTimeout("hideit(9)",8000);
  }
  
  function welcome2(stime) 
  {
    var k=1000;
    delay3=1;
    delay3*=k;
    sho2 = window.setTimeout("showit(stime)",delay3);    
  }
  
  
  var isCookie = getCookie("snobo_flip");
  
  if (isCookie !=null) 
  {
    var intCookie = parseInt(isCookie);
        
    if (intCookie==1 || intCookie==5) 
    {  
      snobo_flip();
      //alert('(intCookie == ' + getCookie("snobo_flip") +')');
      intCookie++;
      setCookie("snobo_flip",intCookie,exp); 
    }
    else if(intCookie >= 7) // reset cookie value to 0;
    {
      //alert('(intCookie >= 7) :' +getCookie("snobo_flip"));
      intCookie = 0;
      setCookie("snobo_flip",intCookie,exp);
    }
    else
    {
      //alert('else : ' + getCookie("snobo_flip"));
      intCookie++;
      setCookie("snobo_flip",intCookie,exp);
    }    
    
  }
  else 
  {
    var intCookie=1;   
    setCookie("snobo_flip",intCookie,exp);
    //preload();
  }
