﻿// *****************************************************************************
// **                                SETTINGS                                 **
// *****************************************************************************

// 'linka' use this if part of the URL is the same in ALL the links
// In this example all the files are in a subfolder called 'pages'
linka='';

// the filename of the page the menu appears in eg 'menu.html'
thisPage='';

// Do you want to use images for the category bullets?
// If so then specify the path to your images folder from the menu page
imgPath='images/';

// do you want to use images for the category bullets?
lev1img='no';					// insert yes or no

// give image names and dimensions
lev1OpName='open.gif';			// open image name
lev1OpHeight='25';				// image height
lev1OpWidth='20';				// image width

lev1ClosName='closed.gif';		// closed image name
lev1ClosHeight='25';			// image height
lev1ClosWidth='20';				// image width

// do you want to use images for the sub-category bullets?
lev2img='no';		// insert yes or no

// give image names and dimensions
lev2Name='bullet.gif';			// image name
lev2Height='13';				// image height
lev2Width='26';					// image width

// do you want to use a text character for the sub-category bullets?
lev2Char='no';		// insert yes or no

// set bullet character for level 2 bullets
bullet = '&#155; ';

// base target - the frame that the links are targetting
base = '_self';

// *****************************************************************************
// **                             END OF SETTINGS                             **
// *****************************************************************************

// pulls 'page' variable out of URL - do not alter
u=document.location.search.substr(1).split('?') 
for(var i=0;i<u.length;i++){ 
var d=u[i].split('=',2); 
if(d.length == 1)d[1] = ''; 
d[0]=unescape(d[0]).replace(' ','_'); 
if(d[0].substr(d[0].length-2)=='[]'){ 
d[0]=d[0].substr(0,d[0].length-2); 
eval("if(typeof "+d[0]+"=='undefined')"+d[0]+"=Array()"); 
eval(d[0]+".push(unescape('"+d[1]+"'))"); 
}else if(d[0]!=''){ 
eval(d[0]+"=unescape('"+d[1]+"')"); 
}}


// do not alter this bit
function subMenu(name,linkb) {
 this.name = name;
 this.linkb = linkb;
}
document.write('<BASE target="' + base + '">');

// *****************************************************************************
// **                             BUILD MENU DATA                             **
// *****************************************************************************


// ***** Informatie *****

// actueel menu
if (page=='i-ac') {
thisMenu = new Array();
}

// aanmelden menu
if (page=='i-aa') {
thisMenu = new Array();
}

// bezoekersregeling menu
if (page=='i-be') {
thisMenu = new Array();
}

// bestuur Menu
if (page=='i-bs') {
thisMenu = new Array();
}

// contact Menu
if (page=='i-co') {
thisMenu = new Array();
}

// route Menu
if (page=='i-ro') {
thisMenu = new Array();
}

// clubsponsoren Menu
if (page=='i-cs') {
thisMenu = new Array();
}

// links Menu
if (page=='i-li') {
thisMenu = new Array();
}

// vacatures Menu
if (page=='i-va') {
thisMenu = new Array();
}

// ***** De baan *****

// baan menu
if (page=='b-ba') {
thisMenu = new Array();
}

// baaninformatie menu
if (page=='b-bi') {
thisMenu = new Array();
}


// ***** Professional *****

// shop menu
if (page=='s-sh') {
thisMenu = new Array();
}

// buffet menu
if (page=='s-bu') {
thisMenu = new Array();
}

// ***** Foto's *****

//  foto's menu
if (page=='f-fo') {
thisMenu = new Array();
}


// ***** Contact *****

// contact menu
if (page=='c-co') {
thisMenu = new Array();
}

// route menu
if (page=='c-ro') {
thisMenu = new Array();
}


// ***** Leden *****

// bestuur menu
if (page=='l-be') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Mededelingen','http://www.telegolf.nl/club/club.shtml?clubnr=15&page=98&url=http://www.golfclub-hattem.nl/bestuur_mededelingen.php');
thisMenu[1] = new subMenu('Verslagen','http://www.telegolf.nl/club/club.shtml?clubnr=15&page=98&url=http://www.golfclub-hattem.nl/bestuur_jaarverslagen.php');
thisMenu[2] = new subMenu('','');
}

// programma's menu
if (page=='l-pr') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Wedstrijdprogramma','wedstrijden.php');
thisMenu[1] = new subMenu('Damesmiddag','http://www.telegolf.nl/club/club.shtml?clubnr=15&page=98&url=http://www.golfclub-hattem.nl/damesmiddag.php');
thisMenu[2] = new subMenu('Heerenmiddag','http://www.telegolf.nl/club/club.shtml?clubnr=15&page=98&url=http://www.golfclub-hattem.nl/heerenmiddag.php');
thisMenu[3] = new subMenu('Jeugd','http://www.telegolf.nl/club/club.shtml?clubnr=15&page=98&url=http://www.golfclub-hattem.nl/jeugd.php');
thisMenu[4] = new subMenu('','');
}

// commissies menu
if (page=='l-co') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Samenstelling','http://www.telegolf.nl/club/club.shtml?clubnr=15&page=98&url=http://www.golfclub-hattem.nl/samenstelling.php');
thisMenu[1] = new subMenu('Mededelingen','http://www.telegolf.nl/club/club.shtml?clubnr=15&page=98&url=http://www.golfclub-hattem.nl/commissies_mededelingen.php');
thisMenu[2] = new subMenu('','');
}

// wedstrijden Menu
if (page=='l-we') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Mededelingen','http://www.telegolf.nl/club/club.shtml?clubnr=15&page=10');
thisMenu[1] = new subMenu('Inschrijven / startlijsten','http://www.telegolf.nl/club/club.shtml?clubnr=15&page=30');
thisMenu[2] = new subMenu('Uitslagen','http://www.telegolf.nl/club/club.shtml?clubnr=15&page=98&url=http://www.golfclub-hattem.nl/uitslagen.php');
thisMenu[3] = new subMenu('Reglement','http://www.telegolf.nl/club/club.shtml?clubnr=15&page=98&url=http://www.golfclub-hattem.nl/reglement.php');
thisMenu[4] = new subMenu('Foto\'s','http://www.telegolf.nl/club/club.shtml?clubnr=15&page=98&url=http://www.golfclub-hattem.nl/wedstrijden_fotos.php');
thisMenu[5] = new subMenu('','');
}

// handicaps Menu
if (page=='l-ha') {
thisMenu = new Array();
}

// competite menu
if (page=='l-com') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Heren','http://www.telegolf.nl/club/club.shtml?clubnr=15&page=98&url=http://www.golfclub-hattem.nl/competitie_heren.php');
thisMenu[1] = new subMenu('Dames','http://www.telegolf.nl/club/club.shtml?clubnr=15&page=98&url=http://www.golfclub-hattem.nl/competitie_dames.php');
//thisMenu[2] = new subMenu('Jeugd','http://www.telegolf.nl/club/club.shtml?clubnr=15&page=98&url=http://www.golfclub-hattem.nl/competitie_jeugd.php');
thisMenu[2] = new subMenu('','');
}

// ledenlijst Menu
if (page=='l-le') {
thisMenu = new Array();
}

// sponsoren Menu
if (page=='l-pl') {
thisMenu = new Array();
}

