<!--
//do browser detect stuff

wd = screen.width;
if (wd == 1024)
{var x = 710;  z=800; layer7=264;layer8=336;}

if (wd == 800)
{var x=500;  z=620; layer7=258;layer8=275;}

if (wd == 640)
{var x=160;  z=460;}

var isNS = (navigator.appName == "Netscape");
var isMacIE = ( (navigator.userAgent.indexOf("IE 4")  > -1) && (navigator.userAgent.indexOf("Mac")  > -1) );
var layerRef = (isNS) ? "document" : "document.all";
var styleRef = (isNS) ? "" : ".style";
var isDynamic = ( (document.layers || document.all) && !isMacIE );

//track which menu is active
var activeMenu = 0;


//display a selected menu
function activateMenu(menuLayerRef, offset, voffset) {

        if (isDynamic && activeMenu != menuLayerRef) {

                if (activeMenu) hideMenu("menu" + activeMenu);

                menuID = "menu" + menuLayerRef;
                activeMenu = menuLayerRef;

if(offset=='x')
{offset = x;}
if(offset=='y')
{offset = y;}
if(offset=='z')
{offset = z;}
if(menuLayerRef==27)
{
offset=layer27;
}
if(menuLayerRef==26)
{
offset=layer26;
}


		//alert(hn);
                hmenuoff = offset;
                vmenuoff = voffset;
                if (isNS) {
                        document[menuID].top = 16 + voffset;
                        document[menuID].left = offset;
                } else {
                        document.all[menuID].style.pixelTop = 25 + voffset;
                        document.all[menuID].style.pixelLeft = offset;
                } // if is NS else

                showMenu(menuID)
        } // if is dynamic and new menu needed
        // kill menu if browser is IE
        if (isDynamic && !isNS) window.event.cancelBubble = true;
} // activateMenu

function showMenu(layerID) {
        eval(layerRef + '["' + layerID + '"]' + styleRef + '.visibility = "visible"');
}


function hideMenu(layerID) {
        eval(layerRef + '["' + layerID + '"]' + styleRef + '.visibility = "hidden"');
}


// get rid of menus when outside menu or button
function killMenu(e) {
  //check if theres a menu active
  if (activeMenu) {
    menuID = "menu" + activeMenu;
    if (isNS) {
	// top menus
        if (activeMenu <=7) {
	  menuX1 = document[menuID].left;
	  menuX2 = menuX1 + document[menuID].clip.right;
	  menuY1 = document[menuID].top - 25;
	  menuY2 = menuY1 + document[menuID].clip.bottom + 15;
	} // if menu 1 through 4
	// side menus
        if (activeMenu >=8) {
 	  menuX1 = 0;
          menuX2 = 1;
	  menuY1 = document[menuID].top;
	  menuY2 = menuY1 + document[menuID].clip.bottom;
        } // if menu 5 or greater
        if ((e.pageX < menuX1) || (e.pageX > menuX2) ||
             (e.pageY < menuY1) || (e.pageY > menuY2)) {
             hideMenu(menuID);
	     activeMenu = 0;
        } // if in menu
    } else { // if not NS
	hideMenu(menuID);
	activeMenu = 0;
    }  //if isNS else
  }  //if activeMenu
}  //function

// initialize the menu system
function init() {
  if (isDynamic) {
    if (isNS) {
	document.captureEvents(Event.MOUSEOUT);
	document.onmouseout = killMenu;
    } else {
	document.onmouseover = killMenu;
    } // if NS else

  } // if dynamic
} // init


/*function hotelname(hname)
{
	hn=hname;
	return hn;

}*/

document.write("</head>\
<body bgcolor=\"#ffffff\" marginwidth=\"0\" marginheight=\"0\" topmargin=\"0\" leftmargin=\"0\" onload=\"init();\">");

if (isDynamic) {
document.write("<DIV id=\"menu10001817\" class=\"menu\" onMouseover=\"activateMenu(10001817,110,90)\">\
<table WIDTH=\"130\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"130\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<tr>\
<TD BGCOLOR=\"#FFDB6B\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\">&nbsp;&nbsp;<a HREF\=\"/smoking-pipes/waterpipes/index.html\"><B>Water Pipe</B></A></TD>\
</tr>\
<tr>\
<TD BGCOLOR=\"#FFDB6B\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\">&nbsp;&nbsp;<a HREF\=\"/smoking-pipes/waterpipes/multichambers-acrylic-waterpipe.html\"><B>Multi Chambers</B></A></TD>\
</tr>\
</table>\
</td></tr></table>\
</DIV>");

document.write("<DIV id=\"menu10001816\" class=\"menu\" onMouseover=\"activateMenu(10001816,110,90)\">\
<table WIDTH=\"130\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"130\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<tr>\
<TD BGCOLOR=\"#FFDB6B\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\">&nbsp;&nbsp;<a HREF\=\"/smoking-pipes/waterpipes/ceramic.html\"><B>Bongs</B></A></TD>\
</tr>\
<tr>\
<TD BGCOLOR=\"#FFDB6B\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\">&nbsp;&nbsp;<a HREF\=\"/smoking-pipes/waterpipes/pipes.html\"><B>Pipes</B></A></TD>\
</tr>\
<tr>\
<TD BGCOLOR=\"#FFDB6B\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\">&nbsp;&nbsp;<a HREF\=\"/smoking-pipes/waterpipes/ceramic-ladyfigure.html\"><B>Ladyfigure</B></A></TD>\
</tr>\
<tr>\
<TD BGCOLOR=\"#FFDB6B\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\">&nbsp;&nbsp;<a HREF\=\"/smoking-pipes/waterpipes/ceramic-skulls-snakes.html\"><B>Skulls and Snakes</B></A></TD>\
</tr>\
<tr>\
<TD BGCOLOR=\"#FFDB6B\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\">&nbsp;&nbsp;<a HREF\=\"/smoking-pipes/waterpipes/ceramic-statues.html\"><B>Statues</B></A></TD>\
</tr>\
</table>\
</td></tr></table>\
</DIV>");

document.write("<DIV id=\"menu10001829\" class=\"menu\" onMouseover=\"activateMenu(10001829,110,90)\">\
<table WIDTH=\"130\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"130\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<tr>\
<TD BGCOLOR=\"#FFDB6B\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\">&nbsp;&nbsp;<a HREF\=\"/smoking-pipes/waterpipes/coloured-glass.html\"><B>Tube Waterpipe</B></A></TD>\
</tr>\
<tr>\
<TD BGCOLOR=\"#FFDB6B\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\">&nbsp;&nbsp;<a HREF\=\"/smoking-pipes/waterpipes/coloured-glass-tube-waterpipe.html\"><B>Standard Waterpipe</B></A></TD>\
</tr>\
<tr>\
<TD BGCOLOR=\"#FFDB6B\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\">&nbsp;&nbsp;<a HREF\=\"/smoking-pipes/waterpipes/coloured-glass-wet-bubblers.html\"><B>Wet Bubblers</B></A></TD>\
</tr>\
</table>\
</td></tr></table>\
</DIV>");

document.write("<DIV id=\"menu10001915\" class=\"menu\" onMouseover=\"activateMenu(10001915,110,90)\">\
<table WIDTH=\"130\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"130\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<tr>\
<TD BGCOLOR=\"#FFDB6B\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\">&nbsp;&nbsp;<a HREF\=\"/smoking-pipes/drypipes/colored-glass-hammers.html\"><B>Hammers</B></A></TD>\
</tr>\
<tr>\
<TD BGCOLOR=\"#FFDB6B\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\">&nbsp;&nbsp;<a HREF\=\"/smoking-pipes/drypipes/coloured-glass-spoons.html\"><B>Spoons</B></A></TD>\
</tr>\
<tr>\
<TD BGCOLOR=\"#FFDB6B\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\">&nbsp;&nbsp;<a HREF\=\"/smoking-pipes/drypipes/inside-out.html\"><B>Thick Inside Out</B></A></TD>\
</tr>\
<tr>\
<TD BGCOLOR=\"#FFDB6B\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\">&nbsp;&nbsp;<a HREF\=\"/smoking-pipes/drypipes/coloured-glass-sherlock.html\"><B>Sherlock</B></A></TD>\
</tr>\
<tr>\
<TD BGCOLOR=\"#FFDB6B\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\">&nbsp;&nbsp;<a HREF\=\"/smoking-pipes/drypipes/coloured-glass-sidecars.html\"><B>Sidecars</B></A></TD>\
</tr>\
</table>\
</td></tr></table>\
</DIV>");

document.write("<DIV id=\"menu10001954\" class=\"menu\" onMouseover=\"activateMenu(10001954,110,90)\">\
<table WIDTH=\"130\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"130\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<tr>\
<TD BGCOLOR=\"#FFDB6B\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\">&nbsp;&nbsp;<a HREF\=\"/smoking-pipes/drypipes/wood-pipes.html\"><B>Wood Smoking Pipe</B></A></TD>\
</tr>\
<tr>\
<TD BGCOLOR=\"#FFDB6B\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\">&nbsp;&nbsp;<a HREF\=\"/smoking-pipes/drypipes/wood-pipes1.html\"><B>Wooden Smoking Pipe</B></A></TD>\
</tr>\
</table>\
</td></tr></table>\
</DIV>");

}
//-->

// 
