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";
bordercolor="#8B78D3";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="65%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#FFFFFF";
onbgcolor="#036";
oncolor="#FFFFFF";
offbgcolor="#8B78D3";
offcolor="#FFFFFF";
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="#006";
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=RO Newsletters/RC Bulletins ;url=newRONewsletter.html;");
aI("fontsize=11px;text=Opportunities for Postgraduate Research;showmenu=Opp_menu;");
}




//--------------------------------------

with(milonic=new menuname("Opp_menu")){
style=menuStyle;
//overflow="scroll";
aI("text=Hong Kong PhD Fellowship Scheme ;url=http://www.polyu.edu.hk/ro/hkphd-fellowship/;target=_new;");
aI("text=Research Student Attachment Programme ;url=http://www.polyu.edu.hk/ro/main_attachment-pro.html;target=_blank;");
aI("text=Postdoctoral Fellowships Scheme ;url=http://www.polyu.edu.hk/ro/main_pdf-scheme.html;target=_blank;");
aI("text=Joint Supervision Scheme with the Chinese Mainland, Taiwan and Macao Universities ;url=http://www.polyu.edu.hk/ro/main_jsc-scheme.html;target=_blank;");
}

//--------------------------------------

with(milonic=new menuname("RONotice_menu")){
style=menuStyle;
//overflow="scroll";
aI("text=Year 2012 ;url=newRONotice2012.html;");
aI("text=Year 2011 ;url=newRONotice2011.html;");
aI("text=Year 2010 ;url=newRONotice2010.html;");
aI("text=Year 2009 ;url=newRONotice2009.html;");
aI("text=Year 2008 ;url=newRONotice2008.html;");
aI("text=Year 2007 ;url=newRONotice2007.html;");
aI("text=Year 2006 ;url=newRONotice2006.html;");
aI("text=Year 2005 ;url=newRONotice2005.html;");
aI("text=Year 2004 ;url=newRONotice2004.html;");
}

//--------------------------------------

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();


