<!--

//do browser detect stuff

wd = screen.width;
if (wd == 1024)
var x = 289;
if (wd == 800)
{var x=177;}
if (wd == 640)
var x=96;

var isNS = (navigator.appName == "Netscape");
var IE4 = (0 <= navigator.userAgent.indexOf('MSIE 4.')) ? true : false ;
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 );
var xposs,yposs;

//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;
				offset = xposs;
				voffset = yposs;
                hmenuoff = offset;
                vmenuoff = voffset;
                if (isNS) {
                        document[menuID].top = voffset;
                        document[menuID].left = offset;

			document[menuID].zIndex = 2;
                } else {
                        document.all[menuID].style.pixelTop = 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 <=30) {
	  menuX1 = document[menuID].left;
	  menuX2 = menuX1 + document[menuID].clip.right;
	  menuY1 = document[menuID].top;
	  menuY2 = menuY1 + document[menuID].clip.bottom;
	//alert(menuX1+"  "+menuX2+"  "+menuY1+"  "+menuY2);
	} // if menu 1 through 4
	// side menus
        if (activeMenu >=31) {
 	  menuX1 = 0;
          menuX2 = 245;
	  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;
	document.captureEvents(Event.MOUSEMOVE); 
	document.onmousemove = ch;
    } else {
	document.onmouseover = killMenu;
	document.onmousemove = ch;
    } // if NS else
		
  } // if dynamic
} // init

function ch(e)
{
if(isNS)
{
xposs = e.pageX-30;
yposs = e.pageY;
}else{
	if(IE4)
	{
		if((event.x+120)>wd)
		{
		xposs = event.x-120;
		yposs = event.y;
		}else{
		xposs = event.x;
		yposs = event.y
		}
	}else{
	if((event.x+120)>wd)
	{
		xposs = (event.x + document.body.scrollLeft)-120;
		yposs = event.y + document.body.scrollTop;
	}
	else{
		xposs = event.x + document.body.scrollLeft;
		yposs = event.y + document.body.scrollTop;
		}
	}
}
}


document.write("</head>\
<body bgcolor=\"#CC9933\" BACKGROUND=\"gifs/rrgupta-inside-bg.gif\" marginwidth=\"0\" marginwidth=\"0\" marginheight=\"2\" topmargin=\"2\" leftmargin=\"0\" onload=\"init();\">");

if (isDynamic) {
document.write("<DIV id=\"menu1\" class=\"menu\" onMouseover=\"activateMenu(1,153,190)\">\
<A href=\"leather-animals.html\">&nbsp;&nbsp;<b>&#187;</b>&nbsp;Leather Animals</A><BR>\
</DIV>"); 

document.write("<DIV id=\"menu2\" class=\"menu\" onMouseover=\"activateMenu(2,153,190)\">\
<A href=\"brass-animal-statue.html\">&nbsp;&nbsp;<b>&#187;</b>&nbsp;Brass Animals</A><BR>\
<A href=\"brass-figures.html\">&nbsp;&nbsp;<b>&#187;</b>&nbsp;Brass Figures</A><BR>\
<A href=\"brass-candle-holder.html\">&nbsp;&nbsp;<b>&#187;</b>&nbsp;Brass Misc.</A><BR>\
</DIV>");

document.write("<DIV id=\"menu3\" class=\"menu\" onMouseover=\"activateMenu(3,153,190)\">\
<A href=\"soapstone-sculpture.html\">&nbsp;&nbsp;<b>&#187;</b>&nbsp;Soap stone Animals</A><BR>\
<A href=\"soap-stone-artifact.html\">&nbsp;&nbsp;<b>&#187;</b>&nbsp;Soap stone Box</A><BR>\
</DIV>");

document.write("<DIV id=\"menu4\" class=\"menu\" onMouseover=\"activateMenu(4,153,190)\">\
<A href=\"picture-photo-frames.html\">&nbsp;&nbsp;<b>&#187;</b>&nbsp;Photo Frames</A><BR>\
<A href=\"decorative-gift-item-accessories.html\">&nbsp;&nbsp;<b>&#187;</b>&nbsp;Gift Item Animals</A><BR>\
<A href=\"keychain-key-ring.html\">&nbsp;&nbsp;<b>&#187;</b>&nbsp;Gift Item Dolls</A><BR>\
</DIV>");

document.write("<DIV id=\"menu5\" class=\"menu\" onMouseover=\"activateMenu(5,153,190)\">\
<A href=\"embroidered-fashion-shoulder-bag.html\">&nbsp;&nbsp;<b>&#187;</b>&nbsp;Bags</A><BR>\
<A href=\"designer-ladies-evening-bags.html\">&nbsp;&nbsp;<b>&#187;</b>&nbsp;Decorated Bags</A><BR>\
</DIV>");


document.write("<DIV id=\"menu6\" class=\"menu\" onMouseover=\"activateMenu(6,153,190)\">\
<A href=\"embroidered-cushion-cover.html\">&nbsp;&nbsp;<b>&#187;</b>&nbsp;Cushion Covers</A><BR>\
<A href=\"cotton-bed-sheet-linen-and-spread.html\">&nbsp;&nbsp;<b>&#187;</b>&nbsp;Bed Sheets</A><BR>\
<A href=\"curtains.html\">&nbsp;&nbsp;<b>&#187;</b>&nbsp;Curtains</A><BR>\
</DIV>");


document.write("<DIV id=\"menu7\" class=\"menu\" onMouseover=\"activateMenu(7,153,190)\">\
<A href=\"wrought-iron-furniture.html\">&nbsp;&nbsp;<b>&#187;</b>&nbsp;Wrought Iron Beds</A><BR>\
<A href=\"fancy-iron-wooden-beds.html\">&nbsp;&nbsp;<b>&#187;</b>&nbsp;Wooden Beds</A><BR>\
</DIV>");






}


//-->
