
var agt=navigator.userAgent.toLowerCase();
//alert(agt);
var itop;
if (agt.indexOf("msie") != -1)
{
        itop = 140;
}
else if (agt.indexOf("firefox") != -1)
{
        itop = 170;
}
else
{
        itop = 170;
}



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;

with(menuStyle=new mm_style()){
bordercolor="#888888";
borderstyle="solid";
borderwidth=2;
fontfamily="Verdana, Tahoma";
fontsize="130%";
fontstyle="normal";
headerbgcolor="#FB0606";
headercolor="#999999";
offbgcolor="#cccccc";
offcolor="#990000";
onbgcolor="#e8e8e8";
oncolor="#0000CC";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
pagebgcolor="";
pagecolor="0000ff";
separatorcolor="#2D729D";
separatorsize=1;
subimage="bullett.gif";
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
followscroll=0;
left=115;

orientation="horizontal";
style=menuStyle;
top=itop;
aI("text=Home;url=index.htm;");
aI("showmenu=About Us;text=About Us;");
aI("text=Product Range;url=pr1.htm;");
aI("text=Quality;url=list1.htm;");
aI("text=Markets;url=exp.htm;");
aI("text=Contact Us;url=fb.htm;");
}

with(milonic=new menuname("About Us")){
//overflow="scroll";
style=menuStyle;
aI("text=Company Profile;url=his.htm;")
aI("text=Future/Growth;url=fg.htm;")
}

with(milonic=new menuname("Our Products")){
style=menuStyle;
aI("text=Product Range;url=pr1.htm;");
}

with(milonic=new menuname("Quality")){
style=menuStyle;
aI("text=Quality Assurance;url=list1.htm;");
}

with(milonic=new menuname("Bus")){
style=menuStyle;
aI("text=Export Markets;url=exp.htm;");
aI("text=;url=;");

}
with(milonic=new menuname("Markets")){
style=menuStyle;
aI("text=Export Markets;url=1.htm;");
}
with(milonic=new menuname("Contact Us")){
style=menuStyle;
aI("text=Feedback;url=fb.htm;");
}

drawMenus();

