// *****************************************************************************

// 'linka' use this if part of the URL is the same in ALL the links
//  a subfolder called 'pages'
linka='';

// the filename of the page the menu appears in eg 'menu.html'
thisPage='lmenu.htm';

// 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='yes';					// insert yes or no

// give image names and dimensions
lev1OpName='open.gif';			// open image name
lev1OpHeight='10';				// image height
lev1OpWidth='16';				// image width

lev1ClosName='closed.gif';		// closed image name
lev1ClosHeight='10';			// image height
lev1ClosWidth='16';				// image width

// do you want to use images for the sub-category bullets?
lev2img='yes';		// insert yes or no

// give image names and dimensions
lev2Name='bullet.gif';			// image name
lev2Height='10';				// image height
lev2Width='16';					// 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 = 'main';

// *****************************************************************************
// **                             END OF SETTINGS                             **
// *****************************************************************************

// pulls 'page' variable out of URL - do not alter
	var x = 0
	page = location.search.substr(1).split("?")
	for (x=0;x<=page.length;x++) {
		eval(page)
		}
page = escape(page);
page = page.slice(7);

// do not alter this bit
function subMenu(name,linkb) {
 this.name = name;
 this.linkb = linkb;
}
document.write('<BASE target="' + base + '">');

// *****************************************************************************
// **                             BUILD MENU DATA                             **
// *****************************************************************************




// afslanken
if (page=='afs') {
parent.window[4].location='afslank.htm'
thisMenu = new Array();

thisMenu[0] = new subMenu('Finally Lifestyle','finally.htm');
thisMenu[1] = new subMenu('Hypoxi','afslhypo.htm');
thisMenu[2] = new subMenu('Warmtecabines','afsltfm.htm');
thisMenu[3] = new subMenu('Ozon-stoom','afslozon.htm');
thisMenu[4] = new subMenu('Vibratietraining','vibra.htm');
thisMenu[5] = new subMenu('Hot circuit','afslcirc.htm');
thisMenu[6] = new subMenu('Beweegbanken','afslslen.htm');
thisMenu[7] = new subMenu('BMI bepalen','afslbmi.htm');
}



// bedrijf
if (page=='bed') {
parent.window[4].location='bedrijven.htm'
thisMenu = new Array();
}


// backcheck
if (page=='bac') {
parent.window[4].location='backcheck.htm'
thisMenu = new Array();
}


// Sport Menu
if (page=='spo') {
parent.window[4].location='sport.htm'
thisMenu = new Array();

thisMenu[0] = new subMenu('Cardiofitness','cardio.htm');
thisMenu[1] = new subMenu('Krachttraining','kracht.htm');
thisMenu[2] = new subMenu('Combifitness','cardio.htm#Combi Fit');
thisMenu[3] = new subMenu('FysioCare','fysio.htm');
thisMenu[4] = new subMenu('Jeugdfitness','cardio.htm#Jeugd fitness');
thisMenu[5] = new subMenu('Vrije Fitness','cardio.htm#Vrijtrainen');
thisMenu[6] = new subMenu('Spinning','spinning.htm');
thisMenu[7] = new subMenu('Squash','squash.htm');
thisMenu[8] = new subMenu('Sportklimmen','klimmen.htm');
thisMenu[9] = new subMenu('Budosport','budo.htm');
thisMenu[10] = new subMenu('Vibratietraining','vibra.htm');
thisMenu[11] = new subMenu('Nordic Walking','nordic.htm');

}

// Groepslessen
if (page=='gro') {
parent.window[4].location='groepsles.htm'
thisMenu = new Array();
thisMenu[0] = new subMenu('Xco-training','xco.htm');
thisMenu[1] = new subMenu('Pilates','pilat.htm');
thisMenu[2] = new subMenu('Body-Balance','bbalance.htm');
thisMenu[3] = new subMenu('Body-Step','bstep.htm');
thisMenu[4] = new subMenu('Body-Pump','bpump.htm');
thisMenu[5] = new subMenu('Body-Jam','bjam.htm');
thisMenu[6] = new subMenu('Body Shape','bshape.htm');
thisMenu[7] = new subMenu('Streetdance','street.htm');
thisMenu[8] = new subMenu('Spinning','spinning.htm');
thisMenu[9] = new subMenu('Kidz Fun','kidz.htm');
thisMenu[10] = new subMenu('Total Body','total.htm');
thisMenu[11] = new subMenu('Zumba','zumba.htm');
}

// Zwemschool
if (page=='zwe') {
parent.window[4].location='veilig.htm'
thisMenu = new Array();
thisMenu[0] = new subMenu('Zwangerschapszwemmen','zwanger.htm');
thisMenu[1] = new subMenu('Babyzwemmen','baby.htm');
thisMenu[2] = new subMenu('ABC zwemles','zwem.htm');
thisMenu[3] = new subMenu('Aquasport','aqua.htm');
}

// Thermae
if (page=='the') {
parent.window[4].location='thermae.htm'
thisMenu = new Array();
thisMenu[0] = new subMenu('Hoe en wat','thermae.htm#Hoe en wat');
thisMenu[1] = new subMenu('Voetenbaden','thermae.htm#Voetenbaden');
thisMenu[2] = new subMenu('Sauna','thermae.htm#Sauna');
thisMenu[3] = new subMenu('Stoombad','thermae.htm#Stoombad');
thisMenu[4] = new subMenu('Dompelbaden','thermae.htm#Dompelbaden');
thisMenu[5] = new subMenu('Frigidarium','thermae.htm#Frigidarium');
thisMenu[6] = new subMenu('Thalasso Toga','thermae.htm#Thalasso');
thisMenu[7] = new subMenu('Zwembaden','thermae.htm#Zwembaden');
thisMenu[8] = new subMenu('Hot Whirlpools','thermae.htm#Whirlpools');
thisMenu[9] = new subMenu('Zonnestudio','thermae.htm#Zonnestudio');
}

// Party
if (page=='par') {
thisMenu = new Array();
parent.window[4].location='party.htm'
}

// Kinderfeestjes
if (page=='kin') {
parent.window[4].location='kinder.htm'
thisMenu = new Array();
thisMenu[0] = new subMenu('Klimfeestje','klimf.htm');
thisMenu[1] = new subMenu('Zwemfeestje','zwemf.htm');
}

// Links
if (page=='lin') {
thisMenu = new Array();
parent.window[4].location='links.htm'
}

// Contact
if (page=='con') {
parent.window[4].location='bereik.htm'
thisMenu = new Array();
thisMenu[0] = new subMenu('Plattegrond','infog.htm');
thisMenu[1] = new subMenu('Openingstijden','open.htm');
thisMenu[2] = new subMenu('Contactformulier','submit.htm');
}

// Kinderopvang
if (page=='opv') {
thisMenu = new Array();
parent.window[4].location='opvangx.htm'
}

// Meerwaarde
if (page=='mee') {
thisMenu = new Array();
parent.window[4].location='meerw.htm'
}

// Vacatures
if (page=='vac') {
thisMenu = new Array();
parent.window[4].location='vacat.htm'
}

// News
if (page=='new') {
thisMenu = new Array();
parent.window[4].location='news.htm'
}
