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()){
styleid=1;
bordercolor="#ffffff";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial,Verdana, Tahoma, Arial";
fontsize="9pt";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#000000";
headercolor="#000000";
image="";
//background="../../html/imags/red_bar.jpg";
imagepadding=7;
//offbgcolor="#FF0000"; // Menu bgcolor
offcolor="#000000";
//onbgcolor="#FF0000"; // menu on bgcolor
oncolor="#000000";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
overimage="";
padding=6;
//pagebgcolor="#FF0000";
pagecolor="#000000";
//separatorcolor="#FF0000"; // menu tab separator color
//separatorsize=1; // menu tab separator size
subimage=domainPath+"menu/menu2/tarrow.png";
subimagepadding=6;
}


with(submenuStyle=new mm_style()){
bordercolor="#ffffff";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Verdana, Tahoma, Arial";
fontsize="9pt";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#FCFCFC";
offcolor="#000000";
//onbgcolor="#FF0000";
oncolor="#000000";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=4;
//pagebgcolor="#82B6D7";
//pagecolor="black";
//separatorcolor="#000000"; // item separator color
//separatorsize=1;
subimage=domainPath+"/menu/menu2/tarrow.png";
subimagepadding=2;
align="center";
}


with(milonic=new menuname("Main Menu")){
position="relative";
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;

top=0;
left=0;

if(browserpds=="Microsoft Internet Explorer")
top=0;


if(p==true)
aI("text=Home;url="+domainPath+"home.php;");
else
aI("text=Home;url="+domainPath+"index.php;");

aI("text=Browse;url="+domainPath+"browse.php;");
aI("text=Invite;url="+domainPath+"invite_home.php;");
aI("text=Videos;url="+videoPath+"videos.php;");
aI("text=Music;url="+musicPath+"music_home.php;");
aI("text=Forums;url="+xmbPath+"index.php;");
aI("text=Blogs;url="+blogPath+"blogs.php;");
aI("text=Articles;url="+domainPath+"article.php;");
aI("text=Groups;url="+domainPath+"groups_home.php;");
aI("text=Events;url="+domainPath+"event.php;");


if(p==1)
aI("text=Logout;url="+domainPath+"logout.php;");
aI("showmenu=More;text=More;");

}

with(milonic=new menuname("More")){
style=submenuStyle;
aI("text=Mail;url="+domainPath+"inbox_messages.php;");
aI("text=Layout;url="+layoutPath+"layout.php;");
aI("text=Search;url="+domainPath+"search_home.php;");
aI("text=Calendar;url="+calendarPath+"calendar.php;");
aI("text=Classifieds;url="+classifiedPath+"classified.php;");
}

drawMenus();

