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(main=new mm_style()){
styleid=1;
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="11px";
fontstyle="normal";
itemheight=25;
menubgimage="http://www.weican.ca/images/menu/menu-background.gif";
offcolor="#4D4D4D";
offbgcolor="transparent";
offborder="transparent";
oncolor="#ffffff";
//onborder="1px solid #000000";
overbgimage="http://www.weican.ca/images/menu/menu-background-over.gif";
padding=0;
rawcss="padding-left:10px;padding-right:5px";
subimagepadding=3;
subimage="http://www.weican.ca/images/menu/arrowdn-g.gif";
onsubimage="http://www.weican.ca/images/menu/arrowdn-w.gif";
}


with(dropdown=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="11px";
fontstyle="normal";
itemheight=22;
offbgcolor="#898989";
offcolor="#ffffff";
oncolor="#000000";
//ondecoration="underline";
onbgcolor="#CECECE";
onborder="1px solid #ffffff";
onsubimage="http://www.weican.ca/images/menu/arrowdn-w.gif";
padding=2;
subimage="http://www.weican.ca/images/menu/arrowdn-g.gif";
subimagepadding=3;
pagebgcolor="#CECECE";
pagecolor="#000000";
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
//left=10;
//margin=2;
orientation="horizontal";
style=main;
//top=10;
aI("image=http://www.weican.ca/images/menu/navigationbartext2.gif;");
aI("text=&nbsp;Home&nbsp;;url=http://www.weican.ca/;");
aI("showmenu=About;text=&nbsp;About&nbsp;");
aI("showmenu=Strategic Focus;text=&nbsp;Strategic Focus&nbsp;;url=http://www.weican.ca/projects/;");
aI("text=&nbsp;News&nbsp;;url=http://www.weican.ca/news/;");
aI("showmenu=FAQs;text=&nbsp;FAQs&nbsp;;");
aI("text=&nbsp;Contact Us&nbsp;;url=http://www.weican.ca/contact/;");
aI("showmenu=Search;text=&nbsp;Search&nbsp;;");
}

with(milonic=new menuname("About")){
margin=3;
menuwidth=100
style=dropdown;
aI("text=People;url=http://www.weican.ca/about/people.php;");
aI("text=Purpose;url=http://www.weican.ca/about/mission.php;");
aI("text=Facilities;url=http://www.weican.ca/about/facilities.php;");
aI("text=Accomodations;url=http://www.weican.ca/about/accomodations.php;");
aI("text=Structure;url=http://www.weican.ca/about/structure.php;");
aI("text=Governance;url=http://www.weican.ca/about/governance.php;");
}

with(milonic=new menuname("Strategic Focus")){
margin=3;
menuwidth=120
style=dropdown;
aI("text=Current projects;url=http://www.weican.ca/projects/current_projects.php;");
aI("text=Historical projects;url=http://www.weican.ca/projects/historical_projects.php;");
aI("text=Visiting academics;url=http://www.weican.ca/projects/vpp.php;");
aI("text=Funding;url=http://www.weican.ca/projects/funding.php;");
}

with(milonic=new menuname("FAQs")){
margin=3;
menuwidth=100
style=dropdown;
aI("text=Links;url=http://www.weican.ca/links/links.php;");
aI("text=Photos;url=http://www.weican.ca/gallery/;");
aI("text=Careers;url=http://www.weican.ca/faq/careers.php;");
}

with(milonic=new menuname("Search")){
margin=3;
style=dropdown;
//top="offset=2";
aI("text=`<FORM ACTION=http://www.google.com/search id=searchbox_007109405984982688744:atl2ylsxmle name=search style='margin:0px;'><table><tr><td class=backW>Website Search</td></tr><tr><td class=backW><input type=hidden name=cx value=007109405984982688744:atl2ylsxmle><input type=hidden name=cof value=FORID:0><input name=q size=11></td></tr><tr><td><input type=submit name=sa value=Search></td></tr></table></form>`;type=form;align=center;onbgcolor=;onborder=;");
}

drawMenus();


