
function show(obj){ 
document.getElementById(obj).style.visibility="visible"; 
} 
function hide(obj){ 
document.getElementById(obj).style.visibility = "hidden"; 
} 

/*<!--

//do browser detect stuff

wd = screen.width;
if (wd == 1024)
var x = 400;
if (wd == 800)
{var x=312;}
if (wd == 640)
var x=190;

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) {
        alert("out side of netscape");
        if (isDynamic && activeMenu != menuLayerRef) {
alert("inside of netscape")
                if (activeMenu) hideMenu("menu" + activeMenu);
                
                menuID = "menu" + menuLayerRef;
                activeMenu = menuLayerRef;
		
		//alert(hn);
                hmenuoff = offset;
                vmenuoff = voffset;
                if (isNS) {
                        document.getElementById[menuID].top = 16 + voffset;
                        document.getElementById[menuID].left = offset + 8 ;
                } 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.getElementById[menuID].left;
	  menuX2 = menuX1 + document.getElementById[menuID].clip.right;
	  menuY1 = document.getElementById[menuID].top - 25;
	  menuY2 = menuY1 + document[menuID].clip.bottom + 15;
	} // if menu 1 through 4
	// side menus
        if (activeMenu >=8) {
 	  menuX1 = 0;
          menuX2 = 245;
	  menuY1 = document.getElementById[menuID].top;
	  menuY2 = menuY1 + document.getElementById[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) { 
	alert("aa gaya");
	document.getElementById[menuID].captureEvents(Event.MOUSEOUT); 
	document.getElementById[menuID].onmouseout = killMenu;
    } else {
	document.onmouseover = killMenu;
    } // if NS else
		
  } // if dynamic
} // init


/*function hotelname(hname)
{	
	hn=hname;
	return hn;

}*/


/*
document.write("</head>\
<body onload=\"init();\">");

if (isDynamic) {
        document.write("<DIV id=\"menu1\" class=\"menu\" onMouseover=\"activateMenu(1,x,250)\">\
<A href=\"liveproducts/pages/ballfountain/1.htm\" target=mainFrame><B class=\"bld\">&#187;Ball Fountain</B></A><BR>\
<A href=\"liveproducts/pages/balloverball/1.htm\" target=mainFrame><B class=\"bld\">&#187;Ball Over Ball</B></A><BR>\
<A href=\"liveproducts/pages/balloverdisc/1.htm\" target=mainFrame><B class=\"bld\">&#187;Ball Over Disc</B></A><BR>\
<A href=\"liveproducts/pages/dancingdoll/1.htm\" target=mainFrame><B class=\"bld\">&#187;Dancing Doll</B></A><BR>\
<A href=\"liveproducts/pages/dancingpillar/1.htm\" target=mainFrame><B class=\"bld\">&#187;Dancing Pillar</B></A><BR>\
<A href=\"liveproducts/pages/fourinonepillar/1.htm\" target=mainFrame><B class=\"bld\">&#187;Multi Pillar</B></A><BR>\
<A href=\"liveproducts/pages/pillaroverpillar/1.htm\" target=mainFrame><B class=\"bld\">&#187;Pillar Over Pillar</B></A><BR>\
<A href=\"liveproducts/pages/rotatingcube/1.htm\" target=mainFrame><B class=\"bld\">&#187;Rotating Cube</B></A><BR>\
<A href=\"liveproducts/pages/rotatingring/1.htm\" target=mainFrame><B class=\"bld\">&#187;Rotating Ring</B></A><BR>\
<A href=\"liveproducts/pages/tableballfountain/1.htm\" target=mainFrame><B class=\"bld\">&#187;Table Ball Fountain</B></A><BR>\
</DIV>");

document.write("<DIV id=\"menu2\" class=\"menu\" onMouseover=\"activateMenu(2,x,250)\">\
<A href=\"staticproducts/pages/balusters/1.htm\" target=mainFrame><B class=\"bld\">&#187;Balusters</B></A><BR>\
<A href=\"staticproducts/pages/centretableleg/1.htm\" target=mainFrame><B class=\"bld\">&#187;Centre Table</B></A><BR>\
<A href=\"staticproducts/pages/dome/1.htm\" target=mainFrame><B class=\"bld\">&#187;Dome</B></A><BR>\
<A href=\"staticproducts/pages/fireplace/1.htm\" target=mainFrame><B class=\"bld\">&#187;Fire Place</B></A><BR>\
<A href=\"staticproducts/pages/flowervases/1.htm\" target=mainFrame><B class=\"bld\">&#187;Flower Vases</B></A><BR>\
<A href=\"staticproducts/pages/football/1.htm\" target=mainFrame><B class=\"bld\">&#187;Hollow Ball</B></A><BR>\
<A href=\"staticproducts/pages/fruitbowl/1.htm\" target=mainFrame><B class=\"bld\">&#187;Fruit Bowl</B></A><BR>\
<A href=\"staticproducts/pages/gardenfountain/1.htm\" target=mainFrame><B class=\"bld\">&#187;Garden Fountain</B></A><BR>\
<A href=\"staticproducts/pages/modulartable/1.htm\" target=mainFrame><B class=\"bld\">&#187;Modular Table</B></A><BR>\
<A href=\"staticproducts/pages/pillar/1.htm\" target=mainFrame><B class=\"bld\">&#187;Pillar</B></A><BR>\
<A href=\"staticproducts/pages/shivling/1.htm\" target=mainFrame><B class=\"bld\">&#187;Shivling & Temple</B></A><BR>\
<A href=\"staticproducts/pages/washbasin/1.htm\" target=mainFrame><B class=\"bld\">&#187;Wash Basin</B></A><BR>\
<A href=\"staticproducts/pages/misc/1.htm\" target=mainFrame><B class=\"bld\">&#187;Misc.</B></A><BR>\
</DIV>");

document.write("<DIV id=\"menu3\" class=\"menu\" onMouseover=\"activateMenu(3,x,250)\">\
<A href=\"videoproducts/pages/ballfountain/1.htm\" target=mainFrame><B class=\"bld\">&#187;Ball Fountain</B></A><BR>\
<A href=\"videoproducts/pages/balloverdisc/1.htm\" target=mainFrame><B class=\"bld\">&#187;Ball Over Disc</B></A><BR>\
<A href=\"videoproducts/pages/dancingdoll/1.htm\" target=mainFrame><B class=\"bld\">&#187;Dancing Doll</B></A><BR>\
<A href=\"videoproducts/pages/fourinonepillar/1.htm\" target=mainFrame><B class=\"bld\">&#187;6-in-1 Pillar</B></A><BR>\
<A href=\"videoproducts/pages/pillaroverpillar/1.htm\" target=mainFrame><B class=\"bld\">&#187;Pillar Over Pillar</B></A><BR>\
<A href=\"videoproducts/pages/rotatingcube/1.htm\" target=mainFrame><B class=\"bld\">&#187;Rotating Cube</B></A><BR>\
<A href=\"videoproducts/pages/rotatingring/1.htm\" target=mainFrame><B class=\"bld\">&#187;Rotating Ring</B></A><BR>\
</DIV>");

}

//-->
*/