_menuOpenDelay=300
_menuCloseDelay=600
_subOffsetTop=0
_subOffsetLeft=0
_followSpeed=5
_followRate=40
_scrollAmount=3
_scrollDelay=25

//darker blue is..
with(MainStyle=new mm_style()){
bordercolor="#000000";
borderstyle="solid";
borderwidth=0;
fontsize=12;
fontstyle="normal";
fontweight="bold";
fontfamily="Arial";
padding=0;
align="right";
}

with(style2=new mm_style()){
offcolor="#000000";
offbgcolor="#CECFCE";
oncolor="#000000";
onbgcolor="#5AA2C6";
fontsize=10;
borderstyle='solid';
borderwidth=1;
bordercolor="#000000";
separatorcolor="#000000";
separatorsize=1;
fontstyle="normal";
fontfamily="Arial,Sans-serif";
padding=3;
headercolor="#ffffff";
headerbgcolor="#c1014a";
subimage="http://robogames.net/images/MoreDots.gif";
onsubimage="http://robogames.net/images/MoreDotsOver.gif";
submimagepadding="2";
}

with(milonic=new menuname("mainmenu")){
top=0;
left=0;
screenposition="center";style=MainStyle;
alwaysvisible=1;
//alignment="center";
orientation="horizontal";
aI("image=http://robogames.net/images/01-home.gif;overimage=http://robogames.net/images/01-home.gif;url=http://robogames.net/index.php;");
aI("showmenu=News;image=http://robogames.net/images/02-news.gif;overimage=http://robogames.net/images/02-news.gif;url=http://robogames.net/news.php;");
aI("showmenu=Media;image=http://robogames.net/images/03-media.gif;overimage=http://robogames.net/images/03-media.gif;url=http://robogames.net/videos.php;");
aI("showmenu=Shop;image=http://robogames.net/images/04-shop.gif;overimage=http://robogames.net/images/04-shop.gif;url=http://robogames.net/shop.php;");
aI("showmenu=Events;image=http://robogames.net/images/05-events.gif;overimage=http://robogames.net/images/05-events.gif;url=http://robogames.net/events.php;");
aI("showmenu=Education;image=http://robogames.net/images/06-education.gif;overimage=http://robogames.net/images/06-education.gif;");
aI("showmenu=Competing;image=http://robogames.net/images/07-competing.gif;overimage=http://robogames.net/images/07-competing.gif;url=http://robogames.net/competing.php;");
aI("showmenu=Sponsor;image=http://robogames.net/images/08-sponsor.gif;overimage=http://robogames.net/images/08-sponsor.gif;url=http://robogames.net/sponsors.php;");
aI("showmenu=Results;image=http://robogames.net/images/09-results.gif;overimage=http://robogames.net/images/09-results.gif;url=http://robogames.net/2009.php;");
aI("showmenu=Language;image=http://robogames.net/images/10-language.gif;overimage=http://robogames.net/images/10-language.gif;url=http://robogames.net/japanese.php;");
aI("showmenu=Community;image=http://robogames.net/images/11-community.gif;overimage=http://robogames.net/images/11-community.gif;");
aI("showmenu=About;image=http://robogames.net/images/12-about.gif;overimage=http://robogames.net/images/12-about.gif;url=http://robogames.net/contact.php;");
}

with(milonic=new menuname("News")){
itemwidth=180;style=style2;
aI("text=All News Articles;url=http://robogames.net/news.php;")
aI("text=TV videos;url=http://robogames.net/news.php#001;")
aI("text=Written Highlights;url=http://robogames.net/news.php#100;")
aI("text=Detailed Coverage;url=http://robogames.net/news.php#200;")
aI("text=Press Releases;url=http://robogames.net/news.php#400;")
}

with(milonic=new menuname("Media")){
itemwidth=180;style=style2;
aI("text=Videos;url=http://robogames.net/videos.php;")
aI("text=Photos 2009;url=http://robogames.net/photos-2009.php;")
aI("text=Photos 2004-2008;url=http://robogames.net/pix;")
}

with(milonic=new menuname("Shop")){
itemwidth=180;style=style2;
aI("text=Buy Tickets;url=http://robogames.net/buy.php;")
aI("text=T-Shirts and Swag;url=http://robogames.net/buy-shirts.php;")
aI("text=Robot Danger Sticker;url=http://robogames.net/buy-sticker.php;")
aI("text=Trading Cards;url=http://robogames.net/buy-cards.php;")
//aI("text=RoboNova Android;url=http://robogames.net/buy-rn1.php;")
//aI("text=Robot Kits;url=http://robogames.net/buy-ollo.php;")
//aI("text=Classes;url=http://robogames.net/classes.php;")
aI("text=Make a Donation;url=http://robogames.net/donate.php;")
}

with(milonic=new menuname("Events")){
itemwidth=180; style=style2;
aI("text=List of Competitions;url=http://robogames.net/events.php;")
}

with(milonic=new menuname("Education")){
itemwidth=180; style=style2;
//aI("text=RoboGames for Schools;url=http://robogames.net/education.php;showmenu=Outreach;")
//aI("text=Classes;url=http://robogames.net/classes.php;")
aI("text=Published Papers;url=http://robogames.net/papers/papers-2007.php;")
//aI("text=Call for Papers;url=http://robogames.net/cfp.php;")
}

with(milonic=new menuname("Outreach")){
itemwidth=180; style=style2;
aI("text=Middle Schools;url=http://robogames.net/middleschools.php;")
aI("text=High Schools;url=http://robogames.net/highschools.php;")
aI("text=Universities;url=http://robogames.net/universities.php;")
aI("text=Sumo Course;url=http://robogames.net/sumo_course.php;")
aI("text=Combat Program;url=http://robogames.net/combot_course.php;")
aI("text=Humanoid Program;url=http://robogames.net/humanoid.php;")
}

with(milonic=new menuname("Competing")){
itemwidth=180; style=style2;
aI("text=Events at RoboGames;url=http://robogames.net/events.php;")
aI("text=How to Compete;url=http://robogames.net/competing.php;")
aI("text=Registration;url=http://robogames.net/registration.php;")
aI("text=Badges;url=http://robogames.net/badges.php;")
aI("text=Official Hotel;url=http://robogames.net/hotel.php;")
}

with(milonic=new menuname("Sponsor")){
itemwidth=180; style=style2;
aI("text=How to Sponsor;url=http://robogames.net/sp-become.php;")
aI("text=Renting Booth Space;url=http://robogames.net/sp-booth.php;")
aI("text=Current Sponsors;url=http://robogames.net/sp-current.php;")
}

with(milonic=new menuname("Results")){
itemwidth=180; style=style2;
aI("text=2009;url=http://robogames.net/2009.php;")
aI("text=2008;url=http://robogames.net/2008.php;")
aI("text=2007;url=http://robogames.net/2007.php;")
aI("text=2006;url=http://robogames.net/2006.php;")
aI("text=2005;url=http://robogames.net/2005.php;")
aI("text=2004;url=http://robogames.net/2004.php;")
}

with(milonic=new menuname("Language")){
itemwidth=180; style=style2;
aI("text=Japanese;url=http://robogames.net/japanese.php;")
}

with(milonic=new menuname("Community")){
itemwidth=180; style=style2;
//aI("text=Forum;url=http://robogames.net/forum.php;")
//aI("text=Blogs;url=http://robogames.net/forum.php;")
//aI("text=Builders;url=http://robogames.net/forum.php;")
}

with(milonic=new menuname("About")){
itemwidth=180; style=style2;
//aI("text=All About RoboGames;url=http://robogames.net/about.php;")
//aI("text=People;url=http://robogames.net/people.php;")
aI("text=Contact Us;url=http://robogames.net/contact.php;")
aI("text=Subscribe;url=http://robogames.net/subscribe.php;")
}

drawMenus();