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="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#E9F0F7";
offcolor="#000000";
//onbgcolor="#99B3CC";
onbgcolor="DDE7E7";
oncolor="#000099";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=0)";
padding=4;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#999999";
separatorsize=1;
subimage="/js/arrow.gif";
subimagepadding=2;
}


with(milonic=new menuname("Main Menu"))
{
	alwaysvisible=1;
	orientation="horizontal";
	style=menuStyle;
	
	top=toppos;
	left=leftpos;
	aI("text=Home;url=/web/academic/colleges/ce/ce.htm;");
	aI("showmenu=Academic Departments;text=Departments");
	aI("showmenu=Offered Programs;text=Offered Programs;");
	aI("text=Research;");
	aI("text=People;");
}

with(milonic=new menuname("Academic Departments"))
{
	orientation="vertical";
	style=menuStyle;
	aI("text=Electrical Engineering Department;");
	aI("text=Civil Engineering Department;");
	aI("text=Chemical Engineering Department;");
	aI("text=Mechanical Engineering Department;");
	
}

with(milonic=new menuname("Offered Programs"))
{
	orientation="vertical";
	style=menuStyle;
	aI("text=Electrical Engineering;url=/web/academic/offered_programs/offered_programs.htm?xmlfile=bachelor_aee.xml;");
	aI("text=Civil Engineering;url=/web/academic/offered_programs/offered_programs.htm?xmlfile=bachelor_civiles.xml;");
	aI("text=Chemical Engineering;url=/web/academic/offered_programs/offered_programs.htm?xmlfile=bachelor_ces.xml;");
	aI("text=Mechanical Engineering;url=/web/academic/offered_programs/offered_programs.htm?xmlfile=bachelor_mes.xml;");
}

drawMenus();

