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(BigSubTransparent=new mm_style()){
separatorcolor="#9b0004";
separatorsize="1";
bordercolor="#ffffff";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial";
fontsize="70%";
fontstyle="normal";
itemheight=15;
itemwidth=70;
offbgcolor="#dadada";
onbgcolor="#9b0004";
offcolor="#000000";
oncolor="#ffffff";
onsubimage="http://www.avalanchedb.com/arrow.gif";
padding=2;
subimage="http://www.avalanchedb.com/arrow.gif";
subimagepadding=3;
}

with(BigTransparent=new mm_style()){
separatorcolor="#9b0004";
separatorsize="1";
bordercolor="#ffffff";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial";
fontsize="70%";
fontstyle="normal";
itemheight=15;
itemwidth=100;
offbgcolor="#dadada";
onbgcolor="#9b0004";
offcolor="#000000";
oncolor="#ffffff";
onsubimage="http://www.avalanchedb.com/arrow.gif";
padding=2;
subimage="http://www.avalanchedb.com/arrow.gif";
subimagepadding=3;
}

with(Big=new mm_style()){
styleid=1;
separatorcolor="#9b0004";
separatorsize="1";
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial Black";
fontsize="60%";
fontstyle="normal";
itemheight=20;
menubgimage="http://www.avalanchedb.com/sheet.gif";
offcolor="#000000";
oncolor="#9b0004";
padding=2;
rawcss="padding-left:10px;padding-right:5px";
subimagepadding=3;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
screenposition="center";
left="offset=-131";
margin=2;
orientation="horizontal";
style=Big;
top=96;
aI("text=HOME;url=http://www.avalanchedb.com/;");
aI("text=FORUMS;target=_blank;url=http://www.avalanchedb.com/forum/index.php;");
aI("showmenu=Current;text=CURRENT;");
aI("showmenu=History;text=HISTORY;");
aI("showmenu=Business;text=BUSINESS;");
aI("showmenu=The System;text=THE SYSTEM;");
aI("showmenu=Media;text=MEDIA;");
aI("showmenu=Info;text=INFO;");
}

with(milonic=new menuname("Current")){
margin=2;
style=BigTransparent;
aI("text=Roster;url=http://www.avalanchedb.com/currentroster.htm;");
aI("text=Statistics;url=http://www.avalanchedb.com/blue/archives/pos/09.htm");
aI("text=Schedule;url=http://www.avalanchedb.com/gamesheets/10-11/10-11.htm;");
}

with(milonic=new menuname("History")){
margin=2;
style=BigTransparent;
aI("text=Player DB;url=http://www.avalanchedb.com/playerdb.htm;");
aI("showmenu=stats;text=Statistics;");
aI("text=Game Sheets;url=http://www.avalanchedb.com/gamesheets/gamesheetproject.htm;");
aI("text=VS Opponent;url=http://www.avalanchedb.com/versus.htm;");
aI("text=Fight Log;url=http://www.avalanchedb.com/fightlog.htm;");
aI("text=Draft History;url=http://www.avalanchedb.com/drafts.htm;");
aI("showmenu=misc;text=Miscellaneous;");
aI("showmenu=Honors;text=Honors;");
aI("showmenu=Record Books;text=Record Books;");
}

with(milonic=new menuname("Business")){
margin=2;
style=BigTransparent;
aI("showmenu=Salary Cap;text=Salary Cap;");
aI("text=Free Agency;url=http://www.avalanchedb.com/freeagency.htm;");
aI("showmenu=transactions;text=Transactions;");
}

with(milonic=new menuname("Salary Cap")){
align="center"
margin=2;
style=BigSubTransparent;
aI("text=2010-11;url=http://www.avalanchedb.com/capmat/11.htm;");
aI("text=2009-10;url=http://www.avalanchedb.com/capmat/10.htm;");
aI("text=2008-09;url=http://www.avalanchedb.com/capmat/9.htm;");
aI("text=2007-08;url=http://www.avalanchedb.com/capmat/8.htm;");
aI("text=2006-07;url=http://www.avalanchedb.com/capmat/7.htm;");
aI("text=2005-06;url=http://www.avalanchedb.com/capmat/6.htm;");

}

with(milonic=new menuname("Transactions")){
align="center"
margin=2;
style=BigSubTransparent;
aI("text=2010-11;url=http://www.avalanchedb.com/transactions/11.htm;");
aI("text=2009-10;url=http://www.avalanchedb.com/transactions/10.htm;");
aI("text=2008-09;url=http://www.avalanchedb.com/transactions/09.htm;");
aI("text=2007-08;url=http://www.avalanchedb.com/transactions/08.htm;");
aI("text=2006-07;url=http://www.avalanchedb.com/transactions/07.htm;");
aI("text=2005-06;url=http://www.avalanchedb.com/transactions/06.htm;");
aI("text=2004-05;url=http://www.avalanchedb.com/transactions/05.htm;");
aI("text=2003-04;url=http://www.avalanchedb.com/transactions/04.htm;");
aI("text=2002-03;url=http://www.avalanchedb.com/transactions/03.htm;");
aI("text=2001-02;url=http://www.avalanchedb.com/transactions/02.htm;");
aI("text=2000-01;url=http://www.avalanchedb.com/transactions/01.htm;");
aI("text=1999-00;url=http://www.avalanchedb.com/transactions/00.htm;");
aI("text=1998-99;url=http://www.avalanchedb.com/transactions/99.htm;");
aI("text=1997-98;url=http://www.avalanchedb.com/transactions/98.htm;");
aI("text=1996-97;url=http://www.avalanchedb.com/transactions/97.htm;");
aI("text=1995-96;url=http://www.avalanchedb.com/transactions/96.htm;");
}

with(milonic=new menuname("Honors")){
margin=2;
style=BigTransparent;
aI("text=Captains;url=http://www.avalanchedb.com/honors/captains.htm;");
aI("text=Stanley Cups;url=http://www.avalanchedb.com/honors/thecup.htm;");
aI("text=Awards;url=http://www.avalanchedb.com/honors/awards.htm;");
aI("text=All-Star Game;url=http://www.avalanchedb.com/honors/allstar.htm;");
aI("text=Retired #'s;url=http://www.avalanchedb.com/honors/retired.htm;");
aI("showmenu=international;text=International;");
}

with(milonic=new menuname("monsters")){
margin=2;
style=BigTransparent;
aI("text=Current Roster;target=_blank;url=http://theahl.com/stats/roster.php?step=&sub=&season_id=30&team_id=373");
aI("showmenu=ahlsched;text=Schedule/Results;");
aI("showmenu=ahlstat;text=Statistics;");}

with(milonic=new menuname("misc")){
margin=2;
style=BigTransparent;
aI("text=GM's & Coaches;url=http://www.avalanchedb.com/misc/coaches.htm;");
aI("text=Affiliations;url=http://www.avalanchedb.com/misc/affiliations.htm;");
aI("text=Arenas/Attendance;url=http://www.avalanchedb.com/misc/arenas.htm;");
aI("text=Goalie Masks;url=http://www.avalanchedb.com/masks/masks.htm;");
aI("showmenu=sweater;text=Sweaters;");
aI("text=Training Camps;url=http://www.avalanchedb.com/misc/tcamps.htm;");
}

with(milonic=new menuname("stats")){
margin=2;
style=BigTransparent;
aI("text=All-Time;url=http://www.avalanchedb.com/blue/stats.htm;");
aI("showmenu=regstat;text=Regular Season;");
aI("showmenu=posstat;text=Playoffs;");
}

with(milonic=new menuname("ahlstat")){
align="center"
margin=2;
style=BigSubTransparent;
aI("text=2009-10;url=http://www.avalanchedb.com/system/monsters/blue/09-10.htm;");
aI("text=2008-09;url=http://www.avalanchedb.com/system/monsters/blue/08-09.htm;");
aI("text=2007-08;url=http://www.avalanchedb.com/system/monsters/blue/07-08.htm;");
}

with(milonic=new menuname("ahlsched")){
align="center"
margin=2;
style=BigSubTransparent;
aI("text=2009-10;url=http://www.avalanchedb.com/system/monsters/schedres/09-10.htm;");
aI("text=2008-09;url=http://www.avalanchedb.com/system/monsters/schedres/08-09.htm;");
aI("text=2007-08;url=http://www.avalanchedb.com/system/monsters/schedres/07-08.htm;");
}

with(milonic=new menuname("regstat")){
align="center"
margin=2;
style=BigSubTransparent;
aI("text=2009-10;url=http://www.avalanchedb.com/blue/archives/reg/09.htm;");
aI("text=2008-09;url=http://www.avalanchedb.com/blue/archives/reg/08.htm;");
aI("text=2007-08;url=http://www.avalanchedb.com/blue/archives/reg/07.htm;");
aI("text=2006-07;url=http://www.avalanchedb.com/blue/archives/reg/06.htm;");
aI("text=2005-06;url=http://www.avalanchedb.com/blue/archives/reg/05.htm;");
aI("text=2003-04;url=http://www.avalanchedb.com/blue/archives/reg/03.htm;");
aI("text=2002-03;url=http://www.avalanchedb.com/blue/archives/reg/02.htm;");
aI("text=2001-02;url=http://www.avalanchedb.com/blue/archives/reg/01.htm;");
aI("text=2000-01;url=http://www.avalanchedb.com/blue/archives/reg/00.htm;");
aI("text=1999-00;url=http://www.avalanchedb.com/blue/archives/reg/99.htm;");
aI("text=1998-99;url=http://www.avalanchedb.com/blue/archives/reg/98.htm;");
aI("text=1997-98;url=http://www.avalanchedb.com/blue/archives/reg/97.htm;");
aI("text=1996-97;url=http://www.avalanchedb.com/blue/archives/reg/96.htm;");
aI("text=1995-96;url=http://www.avalanchedb.com/blue/archives/reg/95.htm;");
}

with(milonic=new menuname("posstat")){
align="center"
margin=2;
style=BigSubTransparent;
aI("text=2008;url=http://www.avalanchedb.com/blue/archives/pos/08.htm;");
aI("text=2006;url=http://www.avalanchedb.com/blue/archives/pos/06.htm;");
aI("text=2004;url=http://www.avalanchedb.com/blue/archives/pos/04.htm;");
aI("text=2003;url=http://www.avalanchedb.com/blue/archives/pos/03.htm;");
aI("text=2002;url=http://www.avalanchedb.com/blue/archives/pos/02.htm;");
aI("text=2001;url=http://www.avalanchedb.com/blue/archives/pos/01.htm;");
aI("text=2000;url=http://www.avalanchedb.com/blue/archives/pos/00.htm;");
aI("text=1999;url=http://www.avalanchedb.com/blue/archives/pos/99.htm;");
aI("text=1998;url=http://www.avalanchedb.com/blue/archives/pos/98.htm;");
aI("text=1997;url=http://www.avalanchedb.com/blue/archives/pos/97.htm;");
aI("text=1996;url=http://www.avalanchedb.com/blue/archives/pos/96.htm;");
}

with(milonic=new menuname("sweater")){
margin=2;
style=BigTransparent;
aI("text=Sweater #'s;url=http://www.avalanchedb.com/numbers.htm;");
aI("text=Technology;url=http://www.avalanchedb.com/masks/sweaters.htm;");
}

with(milonic=new menuname("International")){
margin=2;
style=BigTransparent;
aI("text=Olympics;url=http://www.avalanchedb.com/honors/international/olympics.htm;");
aI("text=World Cup;url=http://www.avalanchedb.com/honors/international/worldcup.htm;");
aI("text=World Champs.;url=http://www.avalanchedb.com/honors/international/worldchamp.htm;");
}


with(milonic=new menuname("Record Books")){
margin=2;
style=BigTransparent;
aI("showmenu=records;text=Records;");
aI("showmenu=topten;text=Top Ten's;");
aI("text=Hat Tricks;url=http://www.avalanchedb.com/records/ht.htm;");
aI("text=Penalty Shots;url=http://www.avalanchedb.com/records/ps.htm;");
}

with(milonic=new menuname("records")){
margin=2;
style=BigTransparent;
aI("text=Regular Season;url=http://www.avalanchedb.com/records/regrec.htm;");
aI("text=Playoffs;url=http://www.avalanchedb.com/records/postrec.htm;");
}

with(milonic=new menuname("topten")){
margin=2;
style=BigTransparent;
aI("text=Regular Season;url=http://www.avalanchedb.com/records/regtop.htm;");
aI("text=Playoffs;url=http://www.avalanchedb.com/records/posttop.htm;");
}

with(milonic=new menuname("The System")){
margin=2;
style=BigTransparent;
aI("text=Players;url=http://www.avalanchedb.com/system/players.htm;");
aI("showmenu=monsters;text=L.E. Monsters;");
aI("text=System Statistics;url=http://www.avalanchedb.com/system/systemstats.htm;");
aI("text=System Schedule;url=http://www.avalanchedb.com/system/systemsched.htm;");
aI("text=Jori's Prospect Blog;target=_blank;url=http://avsprospects.blogspot.com/;");
}

with(milonic=new menuname("Media")){
margin=2;
style=BigTransparent;
aI("text=Audio / Video;url=http://www.avalanchedb.com/media/flvplayer.html;");
aI("text=Photos;url=http://www.avalanchedb.com/photos/photos.htm;");
aI("text=Fantasy Hockey;target=_blank;url=http://hockey.fantasysports.yahoo.com/league/avalanchedb");
}

with(milonic=new menuname("Info")){
margin=2;
style=BigTransparent;
aI("text=Credits;url=http://www.avalanchedb.com/credits/credits.htm;");
aI("text=How To Help;url=http://www.avalanchedb.com/help.htm;");
}

drawMenus();

