oM=new makeCM("oM"); oM.resizeCheck=1; oM.rows=1;  oM.onlineRoot="";
oM.pxBetween=0; // between menu items
oM.fillImg="/images/cm_fill.gif";
// fromTop -- how high from the top of the page, consider graphics and margins
oM.fromTop=86;
//oM.fromTop=97; // just enough to remove white space
//oM.fromLeft=0;
oM.fromLeft=10;
oM.wait=300; oM.zIndex=400;
oM.useBar=1; 

//oM.barWidth="100%";
// cm_page.x2 is the width of window
// want at least 762
oM.barWidth=cm_page.x2-20;
if (oM.barWidth < 762) {
	oM.barWidth="762";
}
//oM.barWidth="762";

oM.barHeight="menu";
//oM.barX=20;
oM.barX="menu";
oM.barY="menu";
oM.barClass="clBar";
oM.barBorderX=0; oM.barBorderY=0; // 0-no border around menu items
//oM.level[0]=new cm_makeLevel(90,21,"clT","clTover",1,1,"clB",0,"bottom",0,0,0,0,0);
//myCoolMenu.level[x]=new cm_makeLevel(width, height, regClass, overClass, borderX, 
//                                     borderY, borderClass, rows, align, offsetX, 
//                                     offsetY, arrow, arrowWidth, arrowHeight)
oM.level[0]=new cm_makeLevel(80,21,"clT","clTover",1,1,"clB",0,"bottom",0,0,0,0,0);
//oM.level[1]=new cm_makeLevel(102,22,"clS","clSover",1,1,"clB",0,"right",0,0,"menu_arrow.gif",10,10);
oM.level[1]=new cm_makeLevel(102,22,"clS","clSover",1,1,"clB",0,"right",0,0,"/images/menu_arrow.gif",10,10);
oM.level[2]=new cm_makeLevel(110,22,"clS2","clS2over");
oM.level[3]=new cm_makeLevel(140,22);

//myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, 
//                    regImage, overImage, regClass, overClass , align, rows, 
//                    nolink, onclick, onmouseover, onmouseout)
//link: 'javascript:{loadPage("$URL")}' to load in complete new window
//oCMenu.makeMenu('top1','','Your txt here','your.htm','frmMain','YOUCANSETTHEWIDHTHERE')

oM.makeMenu('m1','','Home','/','',60);
//oM.makeMenu('m2','','Forums','javascript:{loadPage("/vb")}','',60);
oM.makeMenu('m2','','Multimedia','','');
oM.makeMenu('m3','','Schedule','/php/schedule.php?season=20042005');
oM.makeMenu('m4','','Team','','',60);
oM.makeMenu('m5','','News','/news','',60);
oM.makeMenu('m6','','History','',60);
oM.makeMenu('m7','','Hockey East','','',90);
oM.makeMenu('m8','','Merrimack','');
oM.makeMenu('m9','','Links','','',60);

//oM.makeMenu('m10','m3','Internet Broadcast','javascript:{loadPage("http://www.1490wccm.com")}','',140);

//oM.makeMenu('m11','m4','Coach Mark Dennehy','/20052006/dennehy.php','',140);
//oM.makeMenu('m12','m4','Assistant Coaches','/20042005/coaches.php','',140);
//oM.makeMenu('m13','m4','Outlook','/20032004/outlook.php','',140);
oM.makeMenu('m14','m4','Roster/Players','/php/roster.php?season=20042005','',140);
//oM.makeMenu('m14','m4','Photo Gallery','/gallery','',140);
//oM.makeMenu('m15','m4','Quick Info','/php/quickinfo.php?season=20042005','',140);

//oM.makeMenu('m17','m16','Schedule','/php/schedule.php?season=20022003','',140);
//oM.makeMenu('m18','m16','Roster','/php/roster.php?season=20022003','',140);
//oM.makeMenu('m19','m16','Photos','/gallery/20022003/','',140);

//oM.makeMenu('m16','m6','Records & Honors','/Records/','',140);
//oM.makeMenu('m17','m15','Team','/Records/team.php');

oM.makeMenu('m20','m7','Official Site','javascript:{loadPage("http://www.hockeyeastonline.com/home.shtml")}','',120);
oM.makeMenu('m21','m7','Standings','javascript:{loadPage("http://www.hockeyeastonline.com/standings.html")}','',120);
oM.makeMenu('m22','m7','Statistics','javascript:{loadPage("http://www.hockeyeastonline.com/statistics.html")}','',120);
oM.makeMenu('m23','m7','Warrior Gift Shop','javascript:{loadPage("http://www.cartserver.com/afl.cgi?c=s-4539&u=www.sportdesigns.com/heashop&a=warho2")}','',120);
//oM.makeMenu('m23','m7','Warrior Gift Shop','javascript:{loadPage("http://www.cartserver.com/afl.cgi?c=a-5635&u=www.sportdesigns.com/heashop&a=warho2")}','',120);

oM.makeMenu('m24','m8','College Site','javascript:{loadPage("http://www.merrimack.edu")}');
oM.makeMenu('m25','m8','Blue Line Club','javascript:{loadPage("http://www.merrimack.edu/generator.php?id=1215")}');

oM.makeMenu('m26','m9','Eagle-Tribune','javascript:{loadPage("http://www.eagletribune.com/")}');
//oM.makeMenu('m36','m9','WCCM Radio','javascript:{loadPage("http://www.1490wccm.com")}');
//oM.makeMenu('m27','m9','USCHO','javascript:{loadPage("http://www.uscho.com/")}');
oM.makeMenu('m41','m9','CHN','javascript:{loadPage("http://www.collegehockeynews.com/")}');
oM.makeMenu('m28','m9','INCH','javascript:{loadPage("http://www.insidecollegehockey.com/")}');
oM.makeMenu('m41','m9','CHN','javascript:{loadPage("http://www.collegehockeynews.com/")}');
oM.makeMenu('m42','m9','Warrior Rink Rat Blog','javascript:{loadPage("http://warriorrinkrat.blogspot.com/")}');
//oM.makeMenu('m29','m9','Rule Book','javascript:{loadPage("http://www.nihoa.com/rulebook/")}');
oM.makeMenu('m30','m9','NCAA Rule Book','javascript:{loadPage("http://www.ncaa.org/library/rules.html")}');
oM.makeMenu('m31','m9','Other Links','javascript:{loadPage("http://www.uafhockey.com/ehockey.html")}');
oM.makeMenu('m32','m9','Contact Us','mailto:info@warriorhockey.org');

oM.makeMenu('m33','m2','Message Board','javascript:{loadPage("/vb")}','',140);
oM.makeMenu('m34','m2','Internet Broadcast','javascript:{loadPage("http://www.teamline.cc/teampages.php?teamcode=1845")}','',140);
//oM.makeMenu('m35','m2','Photo Gallery','/gallery','',140);

oM.makeMenu('m36','m8','Ticket Info','javascript:{loadPage("http://www.merrimack.edu/generator.php?id=335")}');

oM.makeMenu('m37','m6','History/Records','/history/');
oM.makeMenu('m38','m6','2004-2005','/20042005/');
oM.makeMenu('m39','m6','2003-2004','/20032004/');
oM.makeMenu('m40','m6','2002-2003','/20022003/');

//oM.makeMenu('m1','','News','/news/?m=1');
//oM.makeMenu('m2','','Projects','/projects/?m=2');
//oM.makeMenu('m3','','Scripts','/script/?m=3');
//oM.makeMenu('m4','','Schedule','0203/schedule.html');
//oM.makeMenu('m5','','Forums','/forums/?m=5');
//oM.makeMenu('m6','','Resources','/resources/?m=6');
//oM.makeMenu('m7','','dhtmlcentral','/dhtmlcentral/?m=7');

//oM.makeMenu('m8','m1','Newest news','/news/?');
//oM.makeMenu('m9','m1','Archive','/news/?archive=1');
//oM.makeMenu('m10','m2','CoolMenus','/projects/coolmenus/?m=10','',120,0);
//oM.makeMenu('m11','m2','DHTML Library','/projects/lib/?m=11','',120,0);
//oM.makeMenu('m12','m2','DHTML Guestbook','/projects/guestbook/?m=12','',120,0);
//oM.makeMenu('m13','m3','New scripts','/script/search.asp?new=1');
//oM.makeMenu('m14','m3','All scripts','/script/?m=14');
//oM.makeMenu('m15','m3','Categories','/txt/?m=15');
//oM.makeMenu('m16','m15','Menu','/script/search.asp?category=menu');
//oM.makeMenu('m17','m15','Text','/script/search.asp?category=text');
//oM.makeMenu('m18','m15','Animation','/script/search.asp?category=animation');
//oM.makeMenu('m19','m15','Other','/script/search.asp?category=other');
//oM.makeMenu('m20','m5','CoolMenus 3','/forums/forum.asp?FORUM_ID=2&CAT_ID=1&Forum_Title=CoolMenus+3');
//oM.makeMenu('m21','m5','General','/forums/forum.asp?FORUM_ID=6&CAT_ID=1&Forum_Title=General+DHTML+issues');
//oM.makeMenu('m22','m5','Scripts','/forums/forum.asp?FORUM_ID=4&CAT_ID=1&Forum_Title=DHTML+Scripts');
//oM.makeMenu('m23','m5','Crossbrowser','/forums/forum.asp?FORUM_ID=3&CAT_ID=1&Forum_Title=Crossbrowser+DHTML');
//oM.makeMenu('m24','m5','dhtmlcentral.com','/forums/forum.asp?FORUM_ID=5&CAT_ID=1&Forum_Title=dhtmlcentral%2Ecom');
//oM.makeMenu('m25','m5','Off topic','/forums/forum.asp?FORUM_ID=9&CAT_ID=1&Forum_Title=Off%2Dtopic');
//oM.makeMenu('m27','m6','Links','/resources/default.asp?m=27');
//oM.makeMenu('m28','m6','Web books','/resources/books.asp?m=28');
//oM.makeMenu('m29','m6','Web software','/resources/software.asp?m=29');
//oM.makeMenu('m39','m7','About','/txt/?m=39');
//oM.makeMenu('m40','m7','Advertise','/txt/?m=40');
//oM.makeMenu('m41','m7','Site sponsor','/txt/?m=41');
//oM.makeMenu('m42','m7','Contributors','/dhtmlcentral/contributors.asp?m=42');
//oM.makeMenu('m43','m7','Newsletter','/dhtmlcentral/newsletter.asp?m=43');
//oM.makeMenu('m44','m7','Members','/forums/members.asp?m=44');
//oM.makeMenu('m45','m7','Copyright','/txt/?m=45');
//oM.makeMenu('m26','m5','Active topics','/forums/active.asp?m=26');

// --------

//That is the array that specifies where your Top level menu Items will be, so if 
//you want to move Ansprechpartner further right you would change the last part of 
//the array from avail+"*5-5" to something like avail+"*6"

//basically what is happening is you are setting a variable to 100px + 
//( the page width - 150) / the numebr of menus)

//The array can utilise this variable many times in many ways such the first 
//menu item is 100 the second = the variable + (-5) the third = (the variable * 2) -1 
//and so on.

//var avail="190+((cmpage.x2-235)/7)";
//oM.menuPlacement=new Array(192,avail+"-11",avail+"*2-8",avail+"*3-12",avail+"*4-7",avail+"*5-9",avail+"*6+5")
//oM.menuPlacement=0;
oM.menuPlacement="center";
oM.construct()

