/***********************************************************************************
* (c) Ger Versluis 2000 version simple 4 April 2002 *
* You may use this script on non commercial sites. *
* For info write to menus@burmees.nl *
* You may remove all comments for faster loading *
***********************************************************************************/
var URL=location.href;
var pos_1=URL.lastIndexOf('/'); //position of last slash
var sub1=URL.substring(0,pos_1); //substring, strip off filename
var fileName=URL.substring(pos_1+1,URL.length);
var NoOffFirstLineMenus=7; // Number of main menu items
// Colorvariables:
// Color variables take HTML predefined color names or "#rrggbb" strings
//For transparency make colors and border color ""
var LowBgColor="white"; // Background color when mouse is not over
var HighBgColor="#DBEBFA"; // Background color when mouse is over
var FontLowColor="#000066"; // Font color when mouse is not over
var FontHighColor="#000066"; // Font color when mouse is over
var BorderColor="#999999"; // Border color
var BorderWidth=1; // Border width
var BorderBtwnElmnts=0; // Border between elements 1 or 0
var FontFamily="verdana,arial,sans-serif" // Font family menu items
var FontSize=8; // Font size menu items
var FontBold=0; // Bold menu items 1 or 0
var FontItalic=0; // Italic menu items 1 or 0
var MenuTextCentered="left"; // Item text position left, center or right
var MenuCentered="center"; // Menu horizontal position can be: left, center, right, justify,
// leftjustify, centerjustify or rightjustify. PartOfWindow determines part of window to use
var MenuVerticalCentered="top"; // Menu vertical position top, middle,bottom or static
var ChildOverlap=0; // horizontal overlap child/ parent
var ChildVerticalOverlap=0; // vertical overlap child/ parent
if (fileName == "home.htm") var StartTop = 201;
else var StartTop = 141;
// var StartTop=141; // Menu offset x coordinate
var StartLeft=0; // Menu offset y coordinate
var VerCorrect=0; // Multiple frames y correction
var HorCorrect=0; // Multiple frames x correction
var LeftPaddng=16; // Left padding
var TopPaddng=2; // Top padding
var FirstLineHorizontal=1; // First level items layout horizontal 1 or 0
var MenuFramesVertical=1; // Frames in cols or rows 1 or 0
var DissapearDelay=1000; // delay before menu folds in
var TakeOverBgColor=1; // Menu frame takes over background color subitem frame
var FirstLineFrame="navig"; // Frame where first level appears
var SecLineFrame="space"; // Frame where sub levels appear
var DocTargetFrame="space"; // Frame where target documents appear
var TargetLoc=""; // span id for relative positioning
var UnfoldsOnClick=0; // Level 1 unfolds onclick/ onmouseover
var BaseHref="http://www.diving.ca/english/html/"; // BaseHref lets you specify the root directory for relative links.
// The script precedes your relative links with BaseHref
// For instance:
// when your BaseHref= "http://www.MyDomain/" and a link in the menu is "subdir/MyFile.htm",
// the script renders to: "http://www.MyDomain/subdir/MyFile.htm"
// Can also be used when you use images in the textfields of the menu
// "MenuX=new Array("
"
// For testing on your harddisk use syntax like: BaseHref="file:///C|/MyFiles/Homepage/"
// var Arrws=[BaseHref+"tri.gif",5,10,BaseHref+"tridown.gif",10,5];
var Arrws=[BaseHref+"",5,10,BaseHref+"",10,5];
// Arrow source, width and height.
// If arrow images are not needed keep source ""
var MenuUsesFrames=0; // MenuUsesFrames is only 0 when Main menu, submenus,
// document targets and script are in the same frame.
// In all other cases it must be 1
var PartOfWindow=.8; // PartOfWindow: When MenuCentered is justify, sets part of window width to stretch to
// Below some pretty useless effects, since only IE5+ supports them
// I provided 3 effects: MenuSlide, MenuShadow and MenuOpacity
// If you don't need MenuSlide just leave in the line var MenuSlide="";
// delete the other MenuSlide statements
// In general leave the MenuSlide you need in and delete the others.
// Above is also valid for MenuShadow and MenuOpacity
// You can also use other effects by specifying another filter for MenuShadow and MenuOpacity.
// You can add more filters by concanating the strings
var MenuSlide="";
// var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.5, transition=19)";
var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.3, wipeStyle=1)";
var MenuShadow="";
// var MenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#888888, offX=2, offY=2, positive=1)";
// var MenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=135, strength=3)";
var MenuOpacity="";
// var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=85)";
function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}
// Menu tree:
// MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width);
Menu1=new Array("About Us","","",4,16,94);
Menu1_1=new Array("Our Objectives","about.htm","",0,16,185);
Menu1_2=new Array("DPC Directory","","",3,16,0);
Menu1_2_1=new Array("Staff","staff.htm","",0,16,150);
Menu1_2_2=new Array("Board of Directors","directors.htm","",0,16,0);
Menu1_2_3=new Array("Committees","committees.htm","",0,16,0);
Menu1_3=new Array("DPC Business Documents","minutes.htm","",0,16,0);
Menu1_4=new Array("Annual General Meeting","agm/2009/agm09.htm","",0,16,0);
Menu2=new Array("Athletes & Coaches","","",6,0,152);
Menu2_1=new Array("National Senior Team","senior2011.htm","",0,16,168);
Menu2_2=new Array("National Junior Team","junior2011.htm","",0,16,0);
Menu2_3=new Array("Rankings","ranking.htm","",0,16,0);
Menu2_4=new Array("Coaches","coaches.htm","",0,16,0);
Menu2_5=new Array("Senior Qualifying Divers","seniorQual.htm","",0,16,0);
Menu2_6=new Array("Junior Qualifying Divers","juniorQual.htm","",0,16,0);
Menu3=new Array("Competitions","","",5,16,116);
Menu3_1=new Array("2012","","",3,16,100);
Menu3_1_1=new Array("International and National","2012_I&N_S.htm","",0,16,180);
Menu3_1_2=new Array("Provincial and Local","2012_P&L.htm","",0,16,180);
Menu3_1_3=new Array("National Qualifying Standards","natQual.htm","",0,32,200);
Menu3_2=new Array("2011","","",2,16,100);
Menu3_2_1=new Array("International and National","2011_I&N_S.htm","",0,16,180);
Menu3_2_2=new Array("Provincial and Local","2011_P&L.htm","",0,16,0);
Menu3_2_3=new Array("National Qualifying Standards","natQual.htm","",0,32,200);
Menu3_3=new Array("2013-2016","","",1,16,100);
Menu3_3_1=new Array("International and National","2013-2016_I&N_S.htm","",0,16,180);
Menu3_4=new Array("Archive","","",16,16,100);
Menu3_4_1=new Array("2010 International/National","2010_I&N_S.htm","",0,16,180);
Menu3_4_2=new Array("2010 Povincial and Local","2010_P&L.htm","",0,16,0);
Menu3_4_3=new Array("2009 International/National","2009_I&N_S.htm","",0,16,180);
Menu3_4_4=new Array("2009 Povincial and Local","2009_P&L.htm","",0,16,0);
Menu3_4_5=new Array("2008 International/National","2008_I&N_S.htm","",0,16,180);
Menu3_4_6=new Array("2008 Provincial and Local","2008_P&L.htm","",0,16,0);
Menu3_4_7=new Array("2007 International/National","2007_I&N_S.htm","",0,16,180);
Menu3_4_8=new Array("2007 Provincial and Local","2007_P&L.htm","",0,16,0);
Menu3_4_9=new Array("2006 International/National","2006_I&N_S.htm","",0,16,180);
Menu3_4_10=new Array("2006 Provincial and Local","2006_P&L.htm","",0,16,0);
Menu3_4_11=new Array("2005 International/National","2005_I&N_S.htm","",0,16,180);
Menu3_4_12=new Array("2005 Provincial and Local","2005_P&L.htm","",0,16,0);
Menu3_4_13=new Array("2004 International/National","2004_I&N_S.htm","",0,16,180);
Menu3_4_14=new Array("2004 Provincial and Local","2004_P&L.htm","",0,16,0);
Menu3_4_15=new Array("2003","2003Competitions.htm","",0,16,100);
Menu3_4_16=new Array("2002","2002Competitions.htm","",0,16,100);
Menu3_5=new Array("Results","results.htm","",0,16,100);
Menu4=new Array("Resources","","",3,16,100);
Menu4_1=new Array("Member Resources","","",8,16,150);
Menu4_1_1=new Array("DPC Awards","awards.htm","",0,16,180);
Menu4_1_2=new Array("Athletes Manual","athletesmanual.htm","",0,16,0);
Menu4_1_3=new Array("Employment Opportunities","jobs.htm","",0,16,0);
Menu4_1_4=new Array("Policies and Forms","policies.htm","",0,16,0);
Menu4_1_5=new Array("Health & Wellness","health.htm","",0,16,0);
Menu4_1_6=new Array("Coach Certification","nccp.htm","",0,16,0);
Menu4_1_7=new Array("Officials","officials.htm","",0,16,180);
Menu4_1_8=new Array("Rule Book 2011-2012","RuleBook.htm","",0,16,0);
Menu4_2=new Array("Alumni/Member News","alumni.htm","",0,16,0);
Menu4_3=new Array("Diving 101","","",2,16,0);
Menu4_3_1=new Array("Yesterday and Today","past.htm","",0,16,185);
Menu4_3_2=new Array("Spectator Guide","spectatorguide.htm","",0,16,185);
Menu5=new Array("Media","","",5,16,80);
Menu5_1=new Array("Bios","senior.htm","",0,16,180);
Menu5_2=new Array("Awards","awardsRCVD.htm","",0,16,120);
Menu5_3=new Array("Canadian Diving Records","records.htm","",0,16,120);
Menu5_4=new Array("Photos","","",8,16,180);
Menu5_4_1=new Array("2007 Junior Nationals","events/jr07pics.htm","",0,16,200);
Menu5_4_2=new Array("2007 Canada Cup","events/cc07pics.htm","",0,16,200);
Menu5_4_3=new Array("2007 Worlds","events/worldspics.htm","",0,16,200);
Menu5_4_4=new Array("2007 World Trials","events/wsn07pics.htm","",0,16,200);
Menu5_4_5=new Array("2006 Junior Nationals","agnpics.htm","",0,16,180);
Menu5_4_6=new Array("2006 Canada Cup","CanadaCup/ccpics.htm","",0,16,180);
Menu5_4_7=new Array("2006 Commonwealth Games","cwgphoto.htm","",0,16,180);
Menu5_4_8=new Array("2005 World's","competitionshots.htm","",0,16,180);
Menu5_5=new Array("News Releases","","",2,16,120);
Menu5_5_1=new Array("2011","release_2011.htm","",0,16,120);
Menu5_5_2=new Array("Archive","","",9,16,0);
Menu5_5_2_1=new Array("2010","release_2010.htm","",0,16,180);
Menu5_5_2_2=new Array("2009","release_2009.htm","",0,16,180);
Menu5_5_2_3=new Array("2008","release_2008.htm","",0,16,180);
Menu5_5_2_4=new Array("2007","release_2007.htm","",0,16,180);
Menu5_5_2_5=new Array("2006","release_2006.htm","",0,16,180);
Menu5_5_2_6=new Array("2005","release_2005.htm","",0,16,180);
Menu5_5_2_7=new Array("2004","release_2004.htm","",0,16,180);
Menu5_5_2_8=new Array("2003","release_2003.htm","",0,16,180);
Menu5_5_2_9=new Array("2002","release_2002.htm","",0,16,180);
Menu6=new Array("Sponsors","sponsors.htm","",0,16,96);
Menu7=new Array("Partners & Links","","",2,16,136);
Menu7_1=new Array("Affiliated Organizations","affiliated.htm","",0,16,160);
Menu7_2=new Array("Provincial Sections
& Member Clubs","provOrg.htm","",0,32,0);