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="#FFFFFF";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="65%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#FFFFFF";
onbgcolor="#FF3366";
oncolor="#FFFFFF";
offbgcolor="#FF9966";
offcolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
pagecolor="#FFFFFF";
pagebgcolor="#ff9900";
separatorcolor="#FFFFFF";
separatorsize=1;
subimage="http://www.polyu.edu.hk/ro/RO-home1/arrow.gif";
subimagepadding=2;

}
//--------------------------------------

with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=290;
left=10;
alwaysvisible=1;
//followscroll="1";
//orientation="horizontal";
orientation="vertical";
position="relative"
aI("fontsize=11px;text=About the Research Office ;showmenu=AboutRO_menu;");
aI("fontsize=11px;text=RO Notices ;showmenu=RONotice_menu;");
aI("fontsize=11px;text=Forms for Downloading;showmenu=Form_menu;");
aI("fontsize=11px;text=Frequently Asked Questions;showmenu=FAQ_menu;");
aI("fontsize=11px;text=Handbooks;showmenu=handbook_menu;");
}



//--------------------------------------

with(milonic=new menuname("Form_menu")){
style=menuStyle;
//overflow="scroll";
aI("text=For Research Studies ;url=https://www2.polyu.edu.hk/ro/PolyU/homepage/newROForm01.html;");
aI("text=For Research and Grants Support ;url=https://www2.polyu.edu.hk/ro/PolyU/homepage/newROForm02.html;");
aI("text=For Ethical Clearance ;url=https://www2.polyu.edu.hk/ro/PolyU/homepage/newROForm03.html;");
}

//--------------------------------------

with(milonic=new menuname("FAQ_menu")){
style=menuStyle;
//overflow="scroll";
aI("text=Admission Matters ;url=newROFAQ_adm.html;");
aI("text=Student Matters ;url=https://www2.polyu.edu.hk/ro/PolyU/homepage/newROFAQ_stud.html;");
aI("text=Project Matters (For staff only) ;url=https://www2.polyu.edu.hk/ro/Staff/homepage/newROFAQ_proj.html;");
}

//--------------------------------------

with(milonic=new menuname("RONotice_menu")){
style=menuStyle;
//overflow="scroll";
aI("text=Year 2009 ;url=https://www2.polyu.edu.hk/ro/PolyU/homepage/newRONotice2009.html;");
aI("text=Year 2008 ;url=https://www2.polyu.edu.hk/ro/PolyU/homepage/newRONotice2008.html;");
aI("text=Year 2007 ;url=https://www2.polyu.edu.hk/ro/PolyU/homepage/newRONotice2007.html;");
aI("text=Year 2006 ;url=https://www2.polyu.edu.hk/ro/PolyU/homepage/newRONotice2006.html;");
aI("text=Year 2005 ;url=https://www2.polyu.edu.hk/ro/PolyU/homepage/newRONotice2005.html;");
aI("text=Year 2004 ;url=https://www2.polyu.edu.hk/ro/PolyU/homepage/newRONotice2004.html;");
}

//--------------------------------------

with(milonic=new menuname("handbook_menu")){
style=menuStyle;
//overflow="scroll";
aI("text=Research Student Handbook (via myPolyU);url=https://my.polyu.edu.hk/Director/jsp/app/com/polyu/jsp/search_rshb2_frame.jsp?theme=blue;target=_new;");
aI("text=Handbook for Non-local Research Students ;url=http://www.polyu.edu.hk/ro/publication/Non-localHB/;target=_new;");
aI("text=Research Handbook (via myPolyU) ;url=https://my.polyu.edu.hk/Director/jsp/app/com/polyu/jsp/search_rshb_frame.jsp?theme=blue;target=_new;");
}

//--------------------------------------

with(milonic=new menuname("AboutRO_menu")){
style=menuStyle;
//overflow="scroll";
aI("text=Vision, Mission, Strategic Goals and Role ;url=newRO901.html;");
aI("text=Staff Directory ;url=newRO902.html;");
}

//--------------------------------------

drawMenus();

