//do browser detect stuff

wd = screen.width;
var x,y,z,lyr7,lyr11,lyr10,lyr9;

if (wd == 1280)
{x = 10;  z=800; lyr7=626; lyr11=460;  lyr10=550; lyr9=580;}

if (wd == 1024)
{x = 10;  z=800; lyr7=518; lyr11=518;  lyr10=518; lyr9=441;}

if (wd == 800)
{x=500;  z=620; lyr7=292; lyr11=292;  lyr10=292; lyr9=341;}

if (wd == 640)
{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==3418)
{
offset=lyr7;
}
if(menuLayerRef==3419)
{
offset=lyr11;
}
if(menuLayerRef==3420)
{
offset=lyr10;
}
if(menuLayerRef==9)
{
offset=lyr9;
}


		//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 <=25) {
	  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 >=26) {
 	  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


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

if (isDynamic) {
document.write("<DIV id=\"menu3418\" class=\"menu\" onMouseover=\"activateMenu(3418,100,90)\">\
<table WIDTH=\"100%\" BORDER=\"0\" BGCOLOR=\"#5C4837\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"100%\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"suede-leather-journals.html#suede-leather-journals-with-belt-buckle\">Suede Leather Journals With Belt Buckle</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"suede-leather-journals.html#refillable-leather-journals-with-buckle\">Refillable Leather Journals With Buckle</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"suede-leather-journals.html#suede-leather-journals-with-double-buckle-(refillable)\">Suede Leather Journals with double buckle (refillable)</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"suede-leather-journals.html#suede-leather-journals-with-suede-button-(refillable)\">Suede Leather Journals with suede button (refillable)</A> &#171;</DIV></TD></tr>\
</table>\
</TD></tr></table>\
</DIV>");
document.write("<DIV id=\"menu3419\" class=\"menu\" onMouseover=\"activateMenu(3419,100,90)\">\
<table WIDTH=\"100%\" BORDER=\"0\" BGCOLOR=\"#5C4837\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"100%\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"leather-bound-journals.html#leather-bound-journals\">Leather Bound Journals</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"leather-bound-journals.html#embossed-leather-bound\">Embossed Leather Bound</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"leather-bound-journals.html#stitched-leather-bound-journals\">Stitched Leather Bound Journals</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"leather-bound-journals.html#blue-folder\">Blue Folder</A> &#171;</DIV></TD></tr>\
</table>\
</TD></tr></table>\
</DIV>");
document.write("<DIV id=\"menu3420\" class=\"menu\" onMouseover=\"activateMenu(3420,100,90)\">\
<table WIDTH=\"100%\" BORDER=\"0\" BGCOLOR=\"#5C4837\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"100%\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"leather-writing-journals.html#engraved-leather-journals\">Engraved Leather Journals</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"leather-writing-journals.html#old-leather-journal-with-button\">Old Leather Journal with button</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"leather-writing-journals.html#leather-envelop-journals\">Leather Envelop Journals</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"leather-writing-journals.html#leather-writing-journals-(crocodile-lookalike,-refillable)\">Leather Writing Journals (crocodile lookalike, refillable)</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"leather-writing-journals.html#leather-sleeve\">Leather Sleeve</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"leather-writing-journals.html#leather-writing-journal\">Leather Writing Journal</A> &#171;</DIV></TD></tr>\
</table>\
</TD></tr></table>\
</DIV>");
document.write("<DIV id=\"menu10077858\" class=\"menu\" onMouseover=\"activateMenu(10077858,100,90)\">\
<table WIDTH=\"100%\" BORDER=\"0\" BGCOLOR=\"#5C4837\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"100%\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"leather-journals.html#leather-journal-with-pen\">Leather Journal with Pen</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"leather-journals.html#leather-wave-journal\">Leather Wave Journal</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"leather-journals.html#cross-journal\">Cross Journal</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"leather-journals.html#leather-embossed-journal\">Leather Embossed Journal</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"leather-journals.html#leather-strap-journal-with-magnetic-button\">Leather Strap Journal with Magnetic Button</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"leather-journals.html#braided-leather-journal-in-two-colors\">Braided leather Journal in two colors</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"leather-journals.html#color-leather-journal\">Color Leather Journal</A> &#171;</DIV></TD></tr>\
</table>\
</TD></tr></table>\
</DIV>");
document.write("<DIV id=\"menu10077884\" class=\"menu\" onMouseover=\"activateMenu(10077884,100,90)\">\
<table WIDTH=\"100%\" BORDER=\"0\" BGCOLOR=\"#5C4837\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"100%\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"embossed-leather-journals.html#suede-leather-journal-with-belt-buckle\">Suede Leather Journal With Belt Buckle</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"embossed-leather-journals.html#color-leather-journal-(split-leather)\">Color Leather Journal (Split Leather)</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"embossed-leather-journals.html#color-leather-journal-with-elastic-closure\">Color Leather Journal With Elastic Closure</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"embossed-leather-journals.html#suede-leather-journal-with-bottom-snap\">Suede Leather Journal With Bottom Snap</A> &#171;</DIV></TD></tr>\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"embossed-leather-journals.html#leather-journal-with-belt-buckle\">Leather Journal with Belt Buckle</A> &#171;</DIV></TD></tr>\
</table>\
</TD></tr></table>\
</DIV>");
document.write("<DIV id=\"menu10000784\" class=\"menu\" onMouseover=\"activateMenu(10000784,100,90)\">\
<table WIDTH=\"100%\" BORDER=\"0\" BGCOLOR=\"#5C4837\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"100%\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<tr><TD BGCOLOR=\"#F7F1D6\" CLASS=\"tbl\" HEIGHT=\"16\"><DIV CLASS=\"slnk\"><a HREF\=\"desktop-accessories.html#desktop-accessories\">Desktop Accessories</A> &#171;</DIV></TD></tr>\
</table>\
</TD></tr></table>\
</DIV>");
}
//-->
