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="#003300";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#CCCC99";
offcolor="#009900";
onbgcolor="#669900"; 
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#669966";
pagecolor="black";
separatorcolor="#CCCC99";
separatorsize=1;
subimage="http://www.milonic.com/menuimages/arrow.gif";
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
//aI("text=Home;text=Home;url=/ipday/index.html;");
aI("text=Overview;text=Overview;url=overview.html;");
aI("showmenu=Events;text=Events;");
aI("showmenu=Contact;text=Contact;");
//aI("showmenu=Gallery;text=Gallery;");
aI("showmenu=Publications;text=Publications;");
aI("showmenu=Award & Competitions;text=Award & Competitions;");
aI("showmenu=Previous;text=Previous Event;");
aI("text=World IP Day;text=World IP Day;url=http://www.wipo.int/ip-outreach/en/ipday/posters.html;");
//aI("text=Bahasa;text=Bahasa;url=/ipday/overview2.html;");
}

with(milonic=new menuname("Events")){
style=menuStyle;
aI("text=At a glance;url=glance.html;");
aI("showmenu=Expo;text=Expo;");
aI("text=Seminar;url=seminar.html;");
//aI("text=Presentation of National IP Award;url=/ipday/event/presentation.html;");
aI("text='Kembara';url=kembara.htm;");
aI("text=IP Corners;url=ipcorners.htm;");
aI("text=Product Launching;url=;");
}

with(milonic=new menuname("Contact")){
style=menuStyle;
aI("text=Secretariat;url=secretariat.html;");
}

with(milonic=new menuname("Expo")){
style=menuStyle;
aI("text=Exhibition Info;url=expo.html;");
aI("text=Exhibitors;url=pempamer.html;");
aI("text=Stage Activities;url=pentas.htm;");
}

drawMenus();

//with(milonic=new menuname("Gallery")){
//style=menuStyle;
//aI("text=Photos;url=/ipday/gallery/photos.html;");
//aI("text=Video;url=http://www2.myipo.gov.my/;");
//}

with(milonic=new menuname("Publications")){
style=menuStyle;
aI("text=Pictures;url=pics.html;");
aI("text=News & Press Release;url=news&press.htm;");
//aI("text=Press Release;url=http://www.myipo.gov.my/v1/ipday/publication/press.html;");
}

with(milonic=new menuname("Award & Competitions")){
style=menuStyle;

aI("text=Overview;url=award.html;");
aI("text=Entries;url=entries.html;");
aI("text=Winners;url=;");
aI("text=Past Winners;url=winner.html;");
}

with(milonic=new menuname("Previous")){
style=menuStyle;
aI("text=HHIN 2008;url=/ipday/overview2.html;");
aI("showmenu=HHIN 2007;text=HHIN 2007;");
aI("showmenu=HHIN 2006;text=HHIN 2006;");
aI("showmenu=HHIN 2005;text=HHIN 2005;");
}

with(milonic=new menuname("HHIN 2005")){
style=menuStyle;
aI("text=Majlis Pelancaran;url=/ipday/previous/2005/launching2.html;");
aI("text=Ekspo;url=/ipday/previous/2005/expo2.html;");
aI("text=Seminar;url=/ipday/previous/2005/seminar2.html;");
aI("text=Lain-Lain Aktiviti;url=/ipday/previous/2005/game2.html;");
aI("text=Keratan Akhbar;url=/ipday/publication/akhbar05.html;");
//aI("text=Pertandingan Rekacipta;url=/ipday/previous/2005/invention2.html;");
//aI("text=Majlis Makan Malam;url=/ipday/previous/2005/dinner2.html;");
}

with(milonic=new menuname("HHIN 2006")){
style=menuStyle;
aI("text=Majlis Pelancaran;url=/ipday/previous/2006/launching2.html;");
aI("text=Ekspo;url=/ipday/previous/2006/expo2.html;");
aI("text=Seminar;url=/ipday/previous/2006/seminar2.html;");
aI("text=Pertandingan Rekacipta;url=/ipday/previous/2006/invention2.html;");
aI("text=Majlis Makan Malam;url=/ipday/previous/2006/dinner2.html;");
aI("text=Video;url=/ipday/previous/2006/video2.html;");
aI("text=Keratan Akhbar;url=/ipday/publication/akhbar06.html;");
}

with(milonic=new menuname("HHIN 2007")){
style=menuStyle;
aI("text=Majlis Pelancaran;url=/ipday/previous/2007/launching2.html;");
aI("text=Teks Ucapan;url=/ipday/publication/speech2.html;");
aI("text=Ekspo;url=/ipday/previous/2007/expo2.html;");
aI("text=Seminar;url=/ipday/previous/2007/seminar2.html;");
//aI("text=Invention Competition;url=/ipday/previous/2007/invention.html;");
aI("text=Penyampaian Anugerah;url=/ipday/previous/2007/award2.html;");
//aI("text=Dinner Ceremony;url=/ipday/previous/2007/dinner.html;");
}
drawMenus();

