// *****************************************************************************
// **                                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='FBS_menu1.html';

// 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='menuimages/';

// 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='17';				// image height
lev1OpWidth='20';				// image width

lev1ClosName='closed.gif';		// closed image name
lev1ClosHeight='17';			// image height
lev1ClosWidth='20';				// 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='17';				// image height
lev2Width='30';					// 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                             **
// *****************************************************************************

// Wir &uuml;ber uns Menu
if (page=='wir') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Das bieten wir','about2.htm');
thisMenu[1] = new subMenu('F&uuml;r Sie sind wir da','about3.htm');
thisMenu[2] = new subMenu('So finden Sie uns','about4.htm');
thisMenu[3] = new subMenu('Impressum','imprint.htm');
}

// Programm Menu
if (page=='programm') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Allgemeines','program2.htm');
thisMenu[1] = new subMenu('Programmheft','program3.htm');
thisMenu[2] = new subMenu('Fachbereiche','program4.htm');
}

// Kursanmeldung Menu
if (page=='kurs') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Anmeldung','anmeld1.htm');
thisMenu[1] = new subMenu('Kurssuche','search1.htm');
thisMenu[2] = new subMenu('Abmeldung','https://ssl.kundenserver.de/fbs-anmeldung.de/abm_reck.php');
thisMenu[3] = new subMenu('Kleingedrucktes','agb0.htm');
}

