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(topMenuStyle=new mm_style()){
  align="right";
  bordercolor="white";
  borderstyle="solid";
  borderwidth=10;
  fontfamily="Tahoma, Verdana, Arial, Helvetica";
  fontsize="60%";
  fontstyle="normal";
  fontweight="bold";
  headerbgcolor="#ffffff";
  headercolor="#000000";
  itemwidth=120;
  offbgcolor="white";
  offcolor="#000066";
  onbgcolor="#000066";
  oncolor="white";
  padding=3;
  separatorcolor="#FF9933";
  separatorsize=1;
}

with(menuStyle=new mm_style()){
  bordercolor="#FF9933";
  borderstyle="solid";
  borderwidth=2;
  fontfamily="Tahoma, Verdana, Arial, Helvetica";
  fontsize="60%";
  fontstyle="normal";
  fontweight="bold";
  headerbgcolor="#ffffff";
  headercolor="#000000";
  offbgcolor="white";
  offcolor="#000066";
  onbgcolor="#000066";
  oncolor="white";
  padding=4;
  separatorcolor="#FF9933";
  separatorsize=1;
}

with(milonic=new menuname("Academics")){
  style=menuStyle;
  aI("text=Bachelor of Science Programs;url=/ugprog;showmenu=Undergrad;");
  aI("text=Masters and Doctoral Programs;url=/gradprog;showmenu=Graduate;");
  aI("text=Applying to the University;showmenu=Applying;");
}

with(milonic=new menuname("Undergrad")){
  style=menuStyle;
  aI("text=Overview of Undergraduate Program;url=/ugprog;");
  aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Electrical Engineering;url=/ugprog/electrical;showmenu=Elect;");
  aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Computer Engineering;url=/ugprog/computer;showmenu=Computer;");
  aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Biomedical Engineering;url=/ugprog/biomedical;showmenu=Biomed;");
  aI("text=International Engineering Program;url=http://www.uri.edu/iep;");
  aI("text=Undergrad Mailing List;url=http://webmail.ele.uri.edu/mailman/listinfo/ugrads;");
  aI("text=Apply Online;url=http://www.uri.edu/admission/;");
}

with(milonic=new menuname("Graduate")){
  style=menuStyle;
  aI("text=Overview of Graduate Program;url=/gradprog");
  aI("text=Graduate School;url=http://www.uri.edu/gsadmis;");
  aI("text=Graduate Mailing List;url=http://webmail.ele.uri.edu/mailman/listinfo/grads;");
  aI("text=Thesis and Dissertation Info;showmenu=Thesis;");
}

with(milonic=new menuname("Applying")){
  style=menuStyle;
  aI("text=Undergraduate Application;url=http://www.uri.edu/admission/;");
  aI("text=Graduate Application;url=http://www.uri.edu/gsadmis;");
}

with(milonic=new menuname("Thesis")){
  style=menuStyle;
  aI("text=Guide to Writing your Thesis in Latex;url=/info/thesis/guide;");
  aI("text=List of Doctoral Dissertations;url=/programs/grad/phdtitles.html;");
  aI("text=List of Masters Theses;url=/programs/grad/mstitles.html;");
}

with(milonic=new menuname("Biomed")){
  style=menuStyle;
  aI("text=Curriculum;url=/ugprog/biomedical/curriculum.html;");
  aI("text=Objectives and Outcomes;url=/ugprog/biomedical/objectives.html;");
  aI("text=Biomed Homepage;url=http://bme.ele.uri.edu;");
}

with(milonic=new menuname("Computer")){
  style=menuStyle;
  aI("text=Curriculum;url=/ugprog/computer/curriculum.html;");
  aI("text=Objectives and Outcomes;url=/ugprog/computer/objectives.html;");
}

with(milonic=new menuname("Elect")){
  style=menuStyle;
  aI("text=Curriculum;url=/ugprog/electrical/curriculum.html;");
  aI("text=Objectives and Outcomes;url=/ugprog/electrical/objectives.html;");
}

with(milonic=new menuname("People")){
  style=menuStyle;
  aI("text=Faculty;url=/people/faculty.html;");
  aI("text=Staff;url=/people/staff.html;");
  aI("text=Students;url=/people/students/students_list.html;");
  aI("text=Visual Directory;url=/people/visual.html;");
}

with(milonic=new menuname("Courses")){
  style=menuStyle;
  aI("text=Spring 2008 Courses;url=/schedule/s08;");
  aI("text=Fall 2007 Courses;url=/schedule/f07;");
  aI("text=ELE and BME Catalog Descriptions;url=/courses/desc/coursesrch.html?c=ELE,BME;showmenu=SubCourses;");
  aI("text=University Catalog Listing all Courses;url=http://www.uri.edu/catalog/cataloghtml/courses/fast.html;");
  aI("text=Course Homepages;url=/courses/homepages.html;");
}

with(milonic=new menuname("SubCourses")){
  style=menuStyle;
  aI("text=ELE and BME Undergraduate Catalog Descriptions;url=/courses/desc/coursesrch.html?c=ELE1,ELE2,ELE3,ELE4,BME1,BME2,BME3,BME4;");
  aI("text=ELE Graduate Catalog Descriptions;url=/courses/desc/coursesrch.html?c=ELE5,ELE6;");
  aI("text=Search by Catalog Number;url=/courses/desc/coursesrch.html;");
}


