function writeFlash(nazwa,x,y,kolor,klasa) {
   if (klasa==null) { klasa="flash";}

  t = '<object class="' + klasa + '" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" ';
  
  t = t + 'width="';
  t = t + x;
  t = t + '" height="';
  t = t + y;
  t = t + '" align="middle">\n';
  
  t = t + '<param name="allowScriptAccess" value="sameDomain" />\n';
  t = t + '<param name="movie" value="' + nazwa + '" />\n';
  t = t + '<param name="quality" value="high" />\n';

  if (kolor) {
    t = t + '<param name="bgcolor" value="' + kolor + '" />\n';
  } else {
    t = t + '<param name="wmode" value="transparent" />\n';  
  }

  t = t + '<embed src="' + nazwa + '" quality="high" width="';
  t = t + x +'" height="' + y + '" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"';
  
  if (kolor) {
    t = t + ' bgcolor="' + kolor + '"';
  } else {
    t = t + ' wmode="transparent"';
  }  
  
  t = t + '/>\n';
  
  t = t + '</object>';
    
  document.write (t);

}

if (parseInt(navigator.appVersion.substring(0,1))>=4)
{
  menu01 = new Image (); menu01.src ="images/m01.gif";
  menu01o = new Image (); menu01o.src ="images/m01_.gif";
  menu02 = new Image (); menu02.src ="images/m02.gif";
  menu02o = new Image (); menu02o.src ="images/m02_.gif";
  menu03 = new Image (); menu03.src ="images/m03.gif";
  menu03o = new Image (); menu03o.src ="images/m03_.gif";
  menu04 = new Image (); menu04.src ="images/m04.gif";
  menu04o = new Image (); menu04o.src ="images/m04_.gif";
    menu05 = new Image (); menu05.src ="images/m05.gif";
  menu05o = new Image (); menu05o.src ="images/m05_.gif";
}

function change(image1,image2)
{
  document.images[image1].src = eval (image2 + ".src");
  return true;
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function WinOpen(url,x,y) {
  var options = "toolbar=no,menubar=no,scrollbars=no,resizable=no,width=" + x + ",height=" + y;
  msgWindow=window.open(url,"WinOpen",options);
  msgWindow.focus();
}

function defaultstatus() {
	window.status = "Hotel Classic";
	}