/***********************************************
* Omni Slide Menu script - © John Davenport Scheuer
* very freely adapted from Dynamic-FX Slide-In Menu (v 6.5) script- by maXimus
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full original source code
* as first mentioned in http://www.dynamicdrive.com/forums
* username:jscheuer1
***********************************************/

//One global variable to set, use true if you want the menus to reinit when the user changes text size (recommended):
resizereinit=true;

menu[1] = {
id:'menu1', //use unique quoted id (quoted) REQUIRED!!
bartext: '      Site Navigation      ', //'<img src="bar.jpg">', //'Menu',
menupos:'right',
menutop: 25,
menuleft: '28.3%',
menuspeed: 10,
menupause: 1000,
menufont: "georgia",
fontsize: "75%",
barfontweight: "bold",
barcolor: '#330011',
barbgcolor: '#7B68EE',
baralign: "center", // Draw Bar text alignment 'left', 'center', 'right', 'top' etc
hdingcolor: '#ffdead',
hdingbgcolor: '#bb0044',
hdingwidth: 237,
hdingvalign: 'middle',
hdingtxtalign: 'center',
allowtransparent: true,
kviewtype:'absolute',
keepinview: 100,
wrapbar: false,
outbrdwidth: 3,
outbrdstyle: "outset", <!-- "solid", "dashed", "outset", "none" etc etc -->
outbrdcolor: '#ff0000',
borderwidth: 2,
borderstyle: "solid", <!-- "solid", "dashed", "outset", "none" etc etc -->
bordercolor: '#0000ff',



menuItems:[ // REQUIRED!!
//[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
["Menu"], //create header
//["Home", "index.html", ""],
["News Archive", "archive.html",""],
["News Letters", "e-news.html", "_new"],
["Regatta Results", "results.html",""],
["Safety Bulletins", "safetybulletins.html", ""],//["Executive Committee", "exec.html",""],
["Reference Documents"],
["RNZ Reference Documents","reference_docs.html",""],

["WRA Constitution", "wra_rules.pdf", "_new"],
["EW Navigation Safety Bylaw 2009", "http://www.ew.govt.nz/Policy-and-plans/Navigation-safety-bylaw/Navigation-Safety-Bylaw-2009/", "_new"],
["Maritime Rules Part 22", "http://www.maritimenz.govt.nz/Rules/Rule-documents/Part22-maritime-rule.pdf", "_new"],

["Information and Contacts"],
["Member Clubs", "clubs.html", ""],
["Schools", "schools.html", ""],
["Waikato RPC / KRI", "non_clubs.html", ""],
["External Links"],
//["River Level at Hamilton", "http://www.ew.govt.nz/riverlevelsandrainfall/cgi-bin/hydwebserver.cgi/points/details?point=44&catchment=17&trType=1&trParam=0", "_new"],
//["7 Day Weather Forecasts", "http://www.metvuw.com/forecast/forecast.php?type=rain&region=nzni&noofdays=7", "_new"],
["Rowing Photos", "http://www.rowingphotos.co.nz", "_new"],
["Kolourcare Rowing Photos", "http://www.kolourcare.co.nz", "_new"],

//["FAQ", "http://www.dynamicdrive.com/faqs.htm", "", 1, "no"], //create two column row, requires d_colspan:2 (the default)
//["Email", "http://www.dynamicdrive.com/contact.htm", "",1],

["Rowing Links", "", ""], //create header
["Rowing New Zealand", "http://www.rowingnz.com", "_new"],
//["NZ Secondary Schools Rowing Assn", "http://www.schoolrowing.org.nz", "_new"],
["rowIT Regatta results", "http://www.rowit.co.nz", "_new"],
["Waikato RPC", "http://www.wrpc.co.nz/", "_new"],
//["World Rowing Site (FISA)", "http://www.worldrowing.com/", "_new"] //no comma after last entry
  
]}; // REQUIRED!! do not edit or remove

/*
menu[2] = {
id:'menu2', //use unique quoted id (quoted) REQUIRED!!
bartext: 'Site Navigation', //'<img src="bar.jpg">', //'Menu',
menupos:'top',
menutop: 400,
menuleft: '10%',
menuspeed: 30,
menupause: 1500,
menufont: "georgia",
fontsize: "65%",
barfontweight: "bold",
barcolor: '#340000',
barbgcolor: '#7B68EE',
baralign: "center", // Draw Bar text alignment 'left', 'center', 'right', 'top' etc
hdingcolor: '#ffdead',
hdingbgcolor: '#751544',
hdingwidth: 150,
hdingvalign: 'middle',
hdingtxtalign: 'center',
allowtransparent: true,
kviewtype:'absolute',
keepinview: 100,
wrapbar: true,
outbrdwidth: 3,
outbrdstyle: "outset", <!-- "solid", "dashed", "outset", "none" etc etc -->
outbrdcolor: '#ff0000',
borderwidth: 2,
borderstyle: "solid", <!-- "solid", "dashed", "outset", "none" etc etc -->
bordercolor: '#0000ff',



menuItems:[ // REQUIRED!!
//[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
["Menu"], //create header
["Home", "index.html", ""],
["News Archive", "archive.html",""],
//["News Letters", "newsletters.html", ""],
//["Safety Bulletins", "sb.pdf", ""],
["Documents", "", ""],
["Constitution", "WRA rules.pdf", "_blank"],
["Training Safety Code", "tsc.pdf", "_blank"],
["Regatta Safety Code", "rsc.pdf", "_blank"],
["Rules of Racing", "ror.pdf", "_blank"],
["Regulations for Regattas", "rfr.pdf", "_blank"],
//["Clubs"],
//["Member Clubs", "clubs.html", ""],
//["Schools"],
//["Schools", "schools.html", ""],
//["External Links"],
//["Rowing Links", "links.html", ""],


//["FAQ", "http://www.dynamicdrive.com/faqs.htm", "", 1, "no"], //create two column row, requires d_colspan:2 (the default)
//["Email", "http://www.dynamicdrive.com/contact.htm", "",1],

["External Links", "", ""], //create header
["Rowing New Zealand", "http://www.rowingnz.com", "_new"],
["Secondary Schools Site", "http://www.schoolrowing.org.nz", "_new"],
["rowIT Regatta results", "http://www.rowit.co.nz", "_new"],
//["Coding Forums", "http://www.codingforums.com", "_new"]  //no comma after last entry

]}; // REQUIRED!! do not edit or remove
*/
////////////////////Stop Editing/////////////////

make_menus();