fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=150;
_menuOpenDelay=150;
_subOffsetTop=5;
_subOffsetLeft=-5;

var imgnm1='showmenu=News;text=&nbsp;News;url=../news/newshome.aspx';


with(menuStyle_1=new mm_style()){
borderstyle="solid";
borderwidth=1;
bordercolor ="#001168";
fontfamily="Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif";
fontsize="11px";
fontstyle="normal";
fontweight="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#daeef7";
offcolor="#000000";
onbgcolor="#0f9fc8";
oncolor="#FFFFFF";
outfilter="randomdissolve(duration=0.2)";
padding=5;
pagecolor="#136780";
separatorcolor="#136780";
separatorsize=1;
separatorpadding=0;
subimagepadding=1;
itemwidth=150;
align = "left";
//bgimage="images/menubg.gif"
}
with(menuStyle_2=new mm_style()){
borderstyle="solid";
borderwidth=1;
bordercolor ="#001168";
fontfamily="Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif";
fontsize="11px";
fontstyle="normal";
fontweight="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#daeef7";
offcolor="#000000";
onbgcolor="#0f9fc8";
oncolor="#FFFFFF";
outfilter="randomdissolve(duration=0.2)";
padding=5;
pagecolor="#136780";
separatorcolor="#136780";
separatorsize=1;
separatorpadding=0;
subimagepadding=0;
itemwidth=180;
align = "left";
//bgimage="images/menubg.gif"
}


with(menuStyle=new mm_style()){
borderwidth=0;
fontfamily="Tahoma, Verdana, Arial";
fontsize="12px";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="";
offcolor="#136780";
onbgcolor="";
oncolor="#FFFFFF";
//outfilter="randomdissolve(duration=0.3)";
padding=5;
pagecolor="black";
separatorcolor="#999999";
separatorsize=0;
subimagepadding=0;
separatorwidth =0; 
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
position="relative";
orientation="horizontal";
style=menuStyle;

top=10;
aI("text=;");

aI(imgnm1);
}

with(milonic=new menuname("News"))
{

style=menuStyle_1;
aI("text=Corporate News;url=../news/news.aspx?SecId=8&SubSecId=0")
aI("text=Economy News;url=../news/news.aspx?SecId=12&SubSecId=44,45")
aI("text=Political News;url=../news/news.aspx?SecId=17&SubSecId=0")
aI("text=IPO &amp; MF News;url=../news/news.aspx?SecId=IPO&SubSecId=IPO")
aI("text=Hot Pursuit / Stock Action;url=../news/news.aspx?SecId=2&SubSecId=0")
aI("text=Stock Alert;url=../news/news.aspx?SecId=1&SubSecId=2")
//aI("text=Analyst Poll;url=../news/news.aspx?SecId=19&SubSecId=0")

}

drawMenus();