//----------DHTML Joomla Menu Created using AllWebMenus PRO ver 5.2-#814---------------
//C:\Users\Lorraine\Maple Moon Web Design Inc\My Webs\TSO Hockey\AllWebMenu\TSOMenu.awm
var awmMenuName='menu';
var awmLibraryBuild=814;
var awmLibraryPath='/plugins/system/awmmenu/awmdata';
var awmImagesPath='/plugins/system/awmmenu/awmdata/menu';
var awmSupported=(navigator.appName + navigator.appVersion.substring(0,1)=="Netscape5" || document.all || document.layers || navigator.userAgent.indexOf('Opera')>-1 || navigator.userAgent.indexOf('Konqueror')>-1)?1:0;
if (awmAltUrl!='' && !awmSupported) window.location.replace(awmAltUrl);
if (awmSupported){
var nua=navigator.userAgent,scriptNo=(nua.indexOf('Chrome')>-1)?2:((nua.indexOf('Safari')>-1)?7:(nua.indexOf('Gecko')>-1)?2:((document.layers)?3:((nua.indexOf('Opera')>-1)?4:((nua.indexOf('Mac')>-1)?5:1))));
var mpi=document.location,xt="";
var mpa=mpi.protocol+"//"+mpi.host;
var mpi=mpi.protocol+"//"+mpi.host+mpi.pathname;
if(scriptNo==1){oBC=document.all.tags("BASE");if(oBC && oBC.length) if(oBC[0].href) mpi=oBC[0].href;}
while (mpi.search(/\\/)>-1) mpi=mpi.replace("\\","/");
mpi=mpi.substring(0,mpi.lastIndexOf("/")+1);
var e=document.getElementsByTagName("SCRIPT");
for (var i=0;i<e.length;i++){if (e[i].src){if (e[i].src.indexOf(awmMenuName+".js")!=-1){xt=e[i].src.split("/");if (xt[xt.length-1]==awmMenuName+".js"){xt=e[i].src.substring(0,e[i].src.length-awmMenuName.length-3);if (e[i].src.indexOf("://")!=-1){mpi=xt;}else{if(xt.substring(0,1)=="/")mpi=mpa+xt; else mpi+=xt;}}}}}
while (mpi.search(/\/\.\//)>-1) {mpi=mpi.replace("/./","/");}
var awmMenuPath=mpi.substring(0,mpi.length-1);
while (awmMenuPath.search("'")>-1) {awmMenuPath=awmMenuPath.replace("'","%27");}
document.write("<SCRIPT SRC='"+awmMenuPath+awmLibraryPath+"/awmlib"+scriptNo+".js'><\/SCRIPT>");
document.write("<SCRIPT SRC='"+awmMenuPath+awmLibraryPath+"/awmserversidemenu.js'><\/SCRIPT>");
var n=null;
awmzindex=1000;
}

var awmImageName='';
var awmPosID='';
var awmSubmenusFrame='';
var awmSubmenusFrameOffset;
var awmOptimize=0;
var awmHash='BKUEBWMQRQSUIIWWKKYYMMCAQOBCMD';
function awmBuildMenu(){
its1=new ItemStyle("name=menu_itemstyle1;textfont0=Tahoma, Arial, Helvetica, sans-serif;textfont1=Tahoma, Arial, Helvetica, sans-serif;textfont2=Tahoma, Arial, Helvetica, sans-serif;textsize0=14px;textsize1=14px;textsize2=14px;textdecor0=B;textdecor1=B;textdecor2=B;color0=#FFFFFF;color1=#FFFFFF;color2=#FFFFFF;padding0=3px 20px 3px 20;padding1=3px 20px 3px 20;padding2=3px 20px 3px 20;bgcolor0=#2F82CC;bgcolor1=#6BA6DE;bgcolor2=#6BA6DE;align0=left;align1=left;align2=left;cursor=hand");
grs1=new GroupStyle("name=menu_groupstyle1;bgcolor=#0900B2;type=1;border=solid;borderwidth=1;bordercolor=#0900B2;itemdistance=1;groupwidth=100");
grs2=new GroupStyle("name=menu_groupstyle2;bgcolor=#0900B2;border=solid;borderwidth=1;bordercolor=#0900B2;itemdistance=1;groupwidth=200;autoScroll=1;alignoffset=-1;groupoffset=-1");
grs3=new GroupStyle("name=menu_groupstyle3;bgcolor=#000066;border=solid;borderwidth=1;bordercolor=#000066;itemdistance=1;autoScroll=1;alignoffset=-1;groupoffset=-1");
menu=new Menu("style=menu_groupstyle1;autoHighlight=1;corner=5;offsety=157");
I12=menu.newItem("style=menu_itemstyle1;itemid=9;text0=TSO Home;url=index.php?option=com_content&view=frontpage&Itemid=1");
I15=menu.newItem("style=menu_itemstyle1;itemid=11;text0=4 on 4 Hockey;url=index.php?option=com_content&view=article&id=9&Itemid=163");
S16=I15.newGroup("style=menu_groupstyle2;groupid=4");
I17=S16.newItem("style=menu_itemstyle1;itemid=12;text0=4 on 4 Spring Hockey;url=index.php?option=com_content&view=article&id=9&Itemid=28");
S18=I17.newGroup("style=menu_groupstyle2;groupid=5");
I19=S18.newItem("style=menu_itemstyle1;itemid=13;text0=2009 Photos;url=index.php?option=com_content&view=article&id=47&Itemid=167");
I20=S18.newItem("style=menu_itemstyle1;itemid=14;text0=Schedule;url=index.php?option=com_content&view=article&id=4&Itemid=43");
I21=S18.newItem("style=menu_itemstyle1;itemid=15;text0=Sponsors;url=index.php?option=com_content&view=article&id=11&Itemid=44");
I22=S18.newItem("style=menu_itemstyle1;itemid=16;text0=Registration Form;url=index.php?option=com_form&form_id=2");
I23=S18.newItem("style=menu_itemstyle1;itemid=17;text0=Location;url=index.php?option=com_content&view=article&id=29&Itemid=66");
I24=S16.newItem("style=menu_itemstyle1;itemid=18;text0=4 on 4 Adult Hockey;url=index.php?option=com_content&view=article&id=50&Itemid=170");
S41=I24.newGroup("style=menu_groupstyle3;groupid=1");
I43=S41.newItem("style=menu_itemstyle1;itemid=1;text0=Adult Registration Form;url=index.php?option=com_form&Itemid=171");
I25=menu.newItem("style=menu_itemstyle1;itemid=19;text0=Brick&#39;s Skills Camps;url=index.php?option=com_content&view=article&id=17&Itemid=67");
I28=menu.newItem("style=menu_itemstyle1;itemid=21;text0=Durham Ice Breakers;url=index.php?option=com_content&view=article&id=8&Itemid=27");
S29=I28.newGroup("style=menu_groupstyle2;groupid=7");
I30=S29.newItem("style=menu_itemstyle1;itemid=22;text0=Vegas &nbsp;AAA;url=index.php?option=com_content&view=article&id=39&Itemid=92");
I45=S29.newItem("style=menu_itemstyle1;itemid=2;text0=Vegas Try-out Registration;url=index.php?option=com_form&Itemid=93");
I31=S29.newItem("style=menu_itemstyle1;itemid=23;text0=Tournament and Game Schedule;url=index.php?option=com_content&view=article&id=2&Itemid=39");
I32=S29.newItem("style=menu_itemstyle1;itemid=24;text0=Coaching Staff;url=index.php?option=com_content&view=article&id=14&Itemid=49");
I33=S29.newItem("style=menu_itemstyle1;itemid=25;text0=DIB Graduates;url=index.php?option=com_content&view=article&id=42&Itemid=159");
I46=S29.newItem("style=menu_itemstyle1;itemid=3;text0=Durham Icebreakers Registration;url=index.php?option=com_form&Itemid=55");
I34=S29.newItem("style=menu_itemstyle1;itemid=26;text0=Fundraiser 2010;url=index.php?option=com_content&view=article&id=49&Itemid=169");
I47=S29.newItem("style=menu_itemstyle1;itemid=4;text0=Fundraiser 2009 - Tucker;url=index.php?option=com_content&view=article&id=40");
I35=menu.newItem("style=menu_itemstyle1;itemid=27;text0=TSO Teamwear;url=index.php?option=com_content&view=article&id=6&Itemid=29");
I36=menu.newItem("style=menu_itemstyle1;itemid=28;text0=Contact Us;url=index.php?option=com_contact&view=category&Itemid=3");
I37=menu.newItem("style=menu_itemstyle1;itemid=29;text0=Links;url=index.php?option=com_weblinks&view=categories&Itemid=23");
}
