// *****************************************************************************
// **                                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.htm'
thisPage='menu.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='jsmenu/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='20';				// image height
lev1OpWidth='10';				// image width

lev1ClosName='closed.gif';		// closed image name
lev1ClosHeight='20';			// image height
lev1ClosWidth='10';				// 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='16';				// image height
lev2Width='20';					// 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 = 'RUnten';

// *****************************************************************************
// **                             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                             **
// *****************************************************************************

// Startseite(Home)?
if (page=='home') {
thisMenu = new Array();
thisMenu = open('home/','RUnten');
}

// Begegnungsseite?
if (page=='beg') {
thisMenu = new Array();
thisMenu = open('begegnung/','RUnten');
}

// Newsseite
// Seite vorerst außer Betrieb
//if (page=='news') {
//thisMenu = new Array();
//thisMenu = open('news/','RUnten');
//}

// Zeitzeugen-Menü
if (page=='zzn') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Werner Frank','zeitzeugen/frank.htm');
thisMenu[1] = new subMenu('Hanna Hamburger','zeitzeugen/hamb.htm');
thisMenu[2] = new subMenu('Manfred Pfefferle','zeitzeugen/pfefferle.htm');
}

// Persönlichkeiten-Menü
if (page=='pers') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Selma Rosenfeld','persoenlichkeiten/rosenfeld.htm');
}

// Jüdische Geschichte
if (page=='ges') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Historie','geschichte/');
thisMenu[1] = new subMenu('Aufarbeitung','geschichte/aufarbeitung.htm');
}

// Jüdische Einrichtungen
if (page=='ein') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Friedhof','friedhof/');
thisMenu[1] = new subMenu('Alte Synagoge','einrichtungen/synalt.htm');
thisMenu[2] = new subMenu('Neue Synagoge','einrichtungen/synneu.htm');
thisMenu[3] = new subMenu('Wohnhäuser','einrichtungen/haeuser.htm');
thisMenu[4] = new subMenu('Mikwe (Jordanbad)','einrichtungen/mikwe.htm');
thisMenu[5] = new subMenu('Jüdische Schule','einrichtungen/schule.htm');
}

// weitere Projekte-Menü?
if (page=='proj') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Buch','projekte/buch.htm');
thisMenu[1] = new subMenu('Gedenkstein','projekte/gedenkstein.htm');
thisMenu[2] = new subMenu('Denkmal Aktiv','projekte/denkmalaktiv.htm');
}

// Literaturtipps
if (page=='litt') {
thisMenu = new Array();
thismenu = open('links/literatur.htm','RUnten');
}
// Links
if (page=='lin') {
thisMenu = new Array();
thismenu = open('links/','RUnten');
}

// Gästebuch
if (page=='gb') {
thisMenu = new Array();
thisMenu = open('guestbook/','RUnten');
}

// Presse?
if(page=='pr') {
thisMenu = new Array();
thisMenu = open('presse/','RUnten');
}


// Info & Kontakt?
if (page=='inf') {
thisMenu = new Array();
thisMenu = open('info/','RUnten');
}
