fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;
font_variable=" Arial[, 10[, charset[,UNDERLINE]]]" 

if (document.all.apppath.value != null)
{_applicationPath = document.all.apppath.value;}
else
{_applicationPath = "/bfw_web";}

function moreinfopopup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=561,height=400,left=200,top=200,toolbar=no,location=no,status=no,scrollbars=yes');
return false;
}

function versioninfopopup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=365,height=585,left=200,top=200,toolbar=no,location=no,status=no,scrollbars=yes');
return false;
}

function jsgoto(sURL)
{
	document.location = _applicationPath + sURL;
}

function jskey(e)
{ var i;
if (window.event)
   i = window.event.keyCode;
else if (e)
   i = e.which;

if (i == 13)
   window.open(_applicationPath + '/newcatalog.aspx?search=' + document.all.txtSearch.value,'_self');
}

with(menuStyle=new mm_style()){
bordercolor="#CCC79B";
borderstyle="solid";
borderwidth=0;
fontfamily="Helvetica,Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#ffffff";
offbgcolor="#CCC79B";
offcolor="#fff";
onbgcolor="#CCC79B";
oncolor="#a6a068";
padding=2;
pagebgcolor="#8b8b8b";
pagecolor="#ffffff";
separatorcolor="#CCC79B";
separatorsize=1;
separatorwidth=98;
subimage="";
subimagepadding=2;
valign='top';
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=722;
orientation="horizontal";
style=menuStyle;
top=23;
aI("image=" + _applicationPath + "/images/hdr-topnav-bfw.gif;overimage=" + _applicationPath + "/images/hdr-topnav-bfw-on.gif;showmenu=your;");
}

with(milonic=new menuname("your"))
{
style=menuStyle;
	aI("image=" + _applicationPath + "/images/arrowbtop-bfw-off.gif;");
	aI("image=" + _applicationPath + "/images/arrow-bfw-off.gif;overimage=" + _applicationPath + "/images/arrow-bfw-on.gif;text=about you;url=javascript:jsgoto('/Profile/AboutYou.aspx');;");
	aI("image=" + _applicationPath + "/images/arrow-bfw-off.gif;overimage=" + _applicationPath + "/images/arrow-bfw-on.gif;text=order status;url=javascript:jsgoto('/Order/OrderHistory.aspx');;");
	aI("image=" + _applicationPath + "/images/arrowb-bfw-off.gif;");
}

drawMenus();
