var MENUE_links = -6;
var MENUE_oben = 0;

if(navigator.userAgent.indexOf("Firefox")>0) {
    MENUE_links = -6;
    MENUE_oben = 0;
   //document.write("fire<br>");
}
if(navigator.userAgent.indexOf("MSIE")>0) {
   MENUE_links = -8;
   MENUE_oben = -14;
}
if(navigator.userAgent.indexOf("Opera")>0) {
    MENUE_links = -6;
    MENUE_oben = 0;
}

var HPTM_Out  = 'grau0.jpg'; //Hintergrund Menue-Item MouseOut
var HPTM_Over = 'grau0.jpg'; //Hintergrund Menue-Item MouseOver(Hover)
var HPTM_Down = 'grau0.jpg'; //Hintergrund Menue-Item MouseDown

var UM_1_Out  = 'grau0.jpg'; //Hintergrund Menue-Item MouseOut
var UM_1_Over = 'grau0.jpg'; //Hintergrund Menue-Item MouseOver(Hover)
var UM_1_Down = 'grau0.jpg'; //Hintergrund Menue-Item MouseDown

var MENUE_PfeilOut  = 'http://bottig.at/grau00.jpg';
var MENUE_PfeilOver = 'http://bottig.at/grau01.jpg';
var MENUE_PfeilDown = 'http://bottig.at/grau00.jpg';

var MENUE_TFOut  = '#ffeeee'; //Textfarbe Menu-Item MouseOut
var MENUE_TFOver = '#ffcccc'; //Textfarbe Menu-Item MouseOver
var MENUE_TFDown = '#ffaaaa'; //Textfarbe Menu-Item MouseDown

var MENUE_PfeilTop   = 6;
var MENUE_PfeilRight = 0;


var MENUE_ItemWidth   = 150;
var MENUE_ItemHeight  = 18;
var MENUE_UMItemWidth = 160;

var MENUE_ItemSpace = 0;  	//Platz zwischen den Einträgen in einem Block
var space =0;  			//Platz zwischen den einzelnen Blöcken

if(navigator.userAgent.indexOf("Firefox")>0) {
    MENUE_ItemHeight = 19;
	MENUE_ItemSpace = -1;
}
if(navigator.userAgent.indexOf("MSIE")>0) {
   MENUE_ItemHeight = 17;
   MENUE_ItemSpace = 1;
}
if(navigator.userAgent.indexOf("Opera")>0) {
    MENUE_ItemHeight = 17;
	MENUE_ItemSpace = 1;
}


var MENUE_ShowTextInTitle = true; //gibt an, ob die Beschriftung (z.b. Termine) im Titel (wird bei manchen Browsern in der 
				//Statuszeile bei anderen nur in einem Kaestchen bei der Maus angezeigt) enthalten ist
var MENUE_TitleDivider = ' | '; //ist das Zeichen, das die Beschriftung von der Linkadresse (bzw. der Beschreibung) trennt; 
				//macht sich nur bemerkbar wenn 'ShowTextInTitle' auf 'true' gesetzt ist

var MENUE_jumpTop = -500; //Position von wo weg das Menu hineingeschoben werden soll (nur bei der Startseite)
var MENUE_jumpPixel = 10;
var MENUE_jumpZeit = 5;
var MENUE_wackelZeit = 10;
var MENUE_wackelPositions = new Array(5,10,15,20,15,10,5,0,-5,-10,-15,-20,-15,-10,-5,0,5,10,5,0,-5,-10,-5,0);

var MENUE_moveZeit  = 50;
var MENUE_moveTeil  = 10;

var MENUE_collapseTime = 750;

function BLOCK_menu() {
	/*BLOCK_item(Beschriftung, Adr.,  Target*/
BLOCK_block('SERIEN','Die Arbeiten','');
	BLOCK_block('vor 2004','Die Serien','');
    	BLOCK_item('Die Serie der Märchen','http://bottig.at/bilder/index_maerchen.htm','');
    	BLOCK_item('Die ...einander-Serie','http://bottig.at/bilder/index_einander.htm','');
    	BLOCK_item('Die sieben Göttinnen','http://bottig.at/bilder/index_goettinnen.htm','');
    	BLOCK_item('Die sequentielle Serie','http://bottig.at/bilder/index_sequ.htm','');
    	BLOCK_item('Das letzte Abendma(h)len','http://bottig.at/bilder/index_abendmahl.htm','');
	BLOCK_endblock();
	BLOCK_block('vor 2009','Die Serien','');
    	BLOCK_item('Die Gesellschaftsserie','http://bottig.at/bilder/index_soz_theol.htm','');
    	BLOCK_item('Die Gelbe Serie','http://bottig.at/bilder/index_gelbeserie.htm','');
		BLOCK_item('Virtuelle Existenz','http://bottig.at/bilder/index_schwa_qua.htm','');
    	BLOCK_item('15er-Serie','http://bottig.at/bilder/index_15erserie.htm','');
    	BLOCK_item('Aus dem Tagebuch','http://bottig.at/bilder/index_tb.htm','');
	BLOCK_endblock();
	BLOCK_block('nach 2009','Die Serien','');
    	BLOCK_item('Die Welterklärung','http://bottig.at/bilder/index_erklaerung.htm','');
    	BLOCK_item('Die Wolkenbilder','http://bottig.at/bilder/index_wolken.htm','');
    	BLOCK_item('Die Außenseiter','http://bottig.at/bilder/index_aussenseiter.htm','');
    	BLOCK_item('Die Fensterbilder','http://bottig.at/bilder/index_fenster.htm','');
    	BLOCK_item('Die Spagat-Serie','http://bottig.at/bilder/index_spagat.htm','');
    	BLOCK_item('Die Serie "absurd"','http://bottig.at/bilder/index_absurd.htm','');
	BLOCK_endblock();
/*	BLOCK_block('TEXTE','Die Texte','');
    	BLOCK_item('Mag. Prokop','sab.htm','');
    	BLOCK_item('Mag. Bottig','selbst.htm','');
    	BLOCK_item('Mag. Hub','helmut.htm','');
	BLOCK_endblock();*/
BLOCK_endblock();

BLOCK_block('LINUREN','Die Dokumente','');
/*    BLOCK_item('Bilderliste','liste.htm','');*/
    	BLOCK_item('LINA geht','http://bottig.at/bilder/linuren/lina_geht.htm','');
    	BLOCK_item('Der Einkauf','http://bottig.at/bilder/linuren/padua/index_padua.htm','');
    	BLOCK_item('Die Reise','http://bottig.at/bilder/linuren/reise/index_reise.htm','');
    	BLOCK_item('Padua','http://bottig.at/bilder/linuren/padua/index_padua.htm','');
/*    BLOCK_item('Austellungen','helmut.htm','');*/
BLOCK_endblock();
BLOCK_block('DOKUMENTATION','Austellungen','');
    BLOCK_item('Biographie','http://bottig.at/index_lebenslauf.html','');
/*		BLOCK_item('\"Tagebuch\"','tagebuch/index_tagebuch.htm','');
		BLOCK_item('\"Wolken\", \"Fenster\"','wolken/index_wolken.htm','');
		BLOCK_item('\"Kopfstoß\"','http://bottig.at/aktuell/15erserie/index_15erserie.htm','');*/
/*    BLOCK_item('Austellungen','helmut.htm','');*/
BLOCK_endblock();
BLOCK_block('&OElig;VRE','Das Gesamtschaffen','');
    BLOCK_item('Übersicht','http://bottig.at/index_allebilder.php','');
BLOCK_endblock();
BLOCK_block('AKTUELL','Austellungen','');
		BLOCK_item('JOHANNESHOF ','http://bottig.at/index_reinisch.html','');
		BLOCK_item('Gasthaus Kaiser','http://bottig.at/bilder/index_waldegg.htm','');
/*		BLOCK_item('\"Wolken\", \"Fenster\"','wolken/index_wolken.htm','');
		BLOCK_item('\"Kopfstoß\"','http://bottig.at/aktuell/15erserie/index_15erserie.htm','');*/
/*    BLOCK_item('Austellungen','helmut.htm','');*/
BLOCK_endblock();
BLOCK_endMenu();
}


var MENUE_styleItemWidth   = MENUE_ItemWidth;
var MENUE_styleItemHeight  = MENUE_ItemHeight;// + MENUE_ItemSpace;
var MENUE_styleUMItemWidth = MENUE_UMItemWidth;
if((!document.all && navigator.userAgent.indexOf("Netscape") && window.netscape) || (navigator.userAgent.indexOf("Konqueror") && document.getElementById && !document.all && !window.netscape && !window.opera)) {
	MENUE_styleItemHeight  -= 8;
	MENUE_styleItemWidth   -= 8;
	MENUE_styleUMItemWidth -= 8;
}

var MENUE_s = ''+'<style type="text/css">'+'.BLOCK_m {'
+'	font-family:verdana,tahoma,arial,verdana,helvetica;'
+'	font-size:11px;'
+'	color:' + MENUE_TFOut + ';'
//+'	font-weight:bold;'
+'	text-align:center;'
+'	text-decoration:none;'
+'	overflow:hidden;'
+'	width:' + MENUE_styleItemWidth + 'px;'
+'	height:' + MENUE_styleItemHeight + 'px;'
+'	padding:1px;'
+'	background-image:url(' + HPTM_Out + ');'
+'	background-repeat:repeat-x;'
+'	cursor:pointer;'
+'	border:0px solid #aaaaaa;'
+'}'

+'.BLOCK_um {'
+'	font-family:verdana,tahoma,arial,verdana,helvetica;'
+'	font-size:11px;'
+'	color:' + MENUE_TFOut + ';'
//+'	font-weight:bold;'
+'	text-align:center;'
+'	text-decoration:none;'
+'	overflow:hidden;'
+'	width:' + MENUE_styleUMItemWidth + 'px;'
+'	height:' + MENUE_styleItemHeight + 'px;'
+'	padding:1px;'
+'	background-image:url(' + UM_1_Out + ');'
+'	background-repeat:repeat-x;'
+'	cursor:pointer;'
+'	filter:alpha(opacity=85);' 
+'	border:0px solid #aaaaaa;'
+'}'

+'<'+'/'+'s'+'t'+'y'+'l'+'e'+'>';

document.write(MENUE_s);


var MENUE_BGImOut  = new Image; MENUE_BGImOut.src  = HPTM_Out;
var MENUE_BGImOver = new Image; MENUE_BGImOver.src = HPTM_Over;
var MENUE_BGImDown = new Image; MENUE_BGImDown.src = HPTM_Down;

var MENUE_UBGImOut  = new Image; MENUE_UBGImOut.src  = UM_1_Out;
var MENUE_UBGImOver = new Image; MENUE_UBGImOver.src = UM_1_Over;
var MENUE_UBGImDown = new Image; MENUE_UBGImDown.src = UM_1_Down;

var MENUE_LDPfeilOut  = new Image; MENUE_LDPfeilOut.src  = MENUE_PfeilOut;
var MENUE_LDPfeilOver = new Image; MENUE_LDPfeilOver.src = MENUE_PfeilOver;
var MENUE_LDPfeilDown = new Image; MENUE_LDPfeilDown.src = MENUE_PfeilDown;


var MENUE_MenueEbene = 0;
var MENUE_EbenenTop  = new Array();
MENUE_EbenenTop[0]   = (-1) * (MENUE_ItemHeight + MENUE_ItemSpace);
var MENUE_ElementIDs = new Array();
MENUE_ElementIDs[0]  = new Array();

//write-script begin
function BLOCK_beginMenu(MENUE_seitenbild,MENUE_sbbreite) {
	document.write('<div id="GPM1O_menu" style="position:absolute; left:' + MENUE_links + 'px; top:' + 1 + MENUE_real_top + 'px; z-index:50"><img src="' + MENUE_seitenbild + '" style="position:absolute; top:0px; left:0px;">');
	document.write('<div style="position:absolute; top:5px; left:' + MENUE_sbbreite + ';">');
}

function BLOCK_endMenu() {
	document.write('</div></div>');
}

function BLOCK_endblock() {
	MENUE_MenueEbene--;
	document.write('</div>');
}

function BLOCK_item(MENUE_beschriftung,MENUE_adresse,MENUE_target) {
	if(MENUE_MenueEbene >= 1) BLOCK_Uitem(MENUE_beschriftung,MENUE_adresse,MENUE_target)
	else {
		MENUE_EbenenTop[MENUE_MenueEbene] += (MENUE_ItemHeight + MENUE_ItemSpace);

		document.write('	<div class="BLOCK_m" '
						+'style="position:absolute; left:0px; top:' + MENUE_EbenenTop[MENUE_MenueEbene] + 'px;" '
						+'onClick="BLOCK_verLINKe(\'' + MENUE_adresse + '\',\'' + MENUE_target + '\')" '
						+'onMouseOver="this.style.backgroundImage=\'url(\'+MENUE_BGImOver.src+\')\'; this.style.color=\''+MENUE_TFOver+'\'; window.status=\'' + BLOCK_pathTitle(MENUE_beschriftung,MENUE_adresse) + '\'; BLOCK_collapseAll(' + MENUE_MenueEbene + ');" '
						+'onMouseOut= "this.style.backgroundImage=\'url(\'+MENUE_BGImOut.src +\')\'; this.style.color=\''+MENUE_TFOut+'\';  BLOCK_nostatus()" '
						+'onMouseDown="this.style.backgroundImage=\'url(\'+MENUE_BGImDown.src+\')\'; this.style.color=\''+MENUE_TFDown+'\';" '
						+'onMouseUp=  "this.style.backgroundImage=\'url(\'+MENUE_BGImOver.src+\')\'; this.style.color=\''+MENUE_TFOver+'\';">'
						+ MENUE_beschriftung
						+'</div>');
	}
}

function BLOCK_Uitem(MENUE_beschriftung,MENUE_adresse,MENUE_target) {
	MENUE_EbenenTop[MENUE_MenueEbene] += (MENUE_ItemHeight + MENUE_ItemSpace);

	document.write('	<div class="BLOCK_um" '
					+'style="position:absolute; left:0px; top:' + MENUE_EbenenTop[MENUE_MenueEbene] + 'px;" '
					+'onClick="BLOCK_verLINKe(\'' + MENUE_adresse + '\',\'' + MENUE_target + '\')" '
					+'onMouseOver="this.style.backgroundImage=\'url(\'+MENUE_UBGImOver.src+\')\'; this.style.color=\''+MENUE_TFOver+'\'; window.status=\'' + BLOCK_pathTitle(MENUE_beschriftung,MENUE_adresse) + '\'; BLOCK_collapseAll(' + MENUE_MenueEbene + ');" '
					+'onMouseOut= "this.style.backgroundImage=\'url(\'+MENUE_UBGImOut.src +\')\'; this.style.color=\''+MENUE_TFOut+'\';  BLOCK_nostatus()" '
					+'onMouseDown="this.style.backgroundImage=\'url(\'+MENUE_UBGImDown.src+\')\'; this.style.color=\''+MENUE_TFDown+'\';" '
					+'onMouseUp=  "this.style.backgroundImage=\'url(\'+MENUE_UBGImOver.src+\')\'; this.style.color=\''+MENUE_TFOver+'\';">'
					+ MENUE_beschriftung
					+'</div>');
}

function BLOCK_block(MENUE_beschriftung,MENUE_beschreibung) {
	if(MENUE_MenueEbene >= 1) BLOCK_Ublock(MENUE_beschriftung,MENUE_beschreibung)
	else {
		var MENUE_MenueId = BLOCK_formID();

		MENUE_EbenenTop[MENUE_MenueEbene] += (MENUE_ItemHeight + MENUE_ItemSpace);

		document.write('	<div id="GPM1O_Item' + MENUE_MenueId + '" class="BLOCK_m" '
						+'style="position:absolute; left:0px; top:' + MENUE_EbenenTop[MENUE_MenueEbene] + 'px;" '
						+'onMouseOver="BLOCK_collapseAll(' + MENUE_MenueEbene + '); BLOCK_expandM(\'GPM1O_Block' + MENUE_MenueId + '\'); this.style.backgroundImage=\'url(\'+MENUE_BGImOver.src+\')\'; this.style.color=\''+MENUE_TFOver+'\'; document.getElementById(\'GPM1O_Pfeil' + MENUE_MenueId + '\').src = MENUE_LDPfeilOver.src; window.status=\'' + BLOCK_infoTitle(MENUE_beschriftung,MENUE_beschreibung) + '\'" '
						+'onMouseOut="                   BLOCK_collapseM(\'GPM1O_Block' + MENUE_MenueId + '\',' + MENUE_MenueEbene + '); this.style.backgroundImage=\'url(\'+MENUE_BGImOut.src +\')\'; this.style.color=\''+MENUE_TFOut +'\'; document.getElementById(\'GPM1O_Pfeil' + MENUE_MenueId + '\').src = MENUE_LDPfeilOut.src;  BLOCK_nostatus()">'
						+ MENUE_beschriftung
						+'<img id="GPM1O_Pfeil' + MENUE_MenueId + '" src="' + MENUE_LDPfeilOut.src + '" style="position:absolute; top:' + MENUE_PfeilTop + 'px; right:' + MENUE_PfeilRight + '0px;">'
						+'</div>');

		document.write('	<div id="GPM1O_Block' + MENUE_MenueId + '" '
						+'style="position:absolute; left:' + (MENUE_ItemWidth+MENUE_ItemSpace) + 'px; top:' + MENUE_EbenenTop[MENUE_MenueEbene] + 'px; visibility:hidden;"'
						+'onMouseOver="BLOCK_expandM(\'GPM1O_Block' + MENUE_MenueId + '\');                           document.getElementById(\'GPM1O_Item' + MENUE_MenueId + '\').style.backgroundImage=\'url(\'+MENUE_BGImDown.src+\')\'; document.getElementById(\'GPM1O_Item' + MENUE_MenueId + '\').style.color=\''+MENUE_TFDown+'\'; document.getElementById(\'GPM1O_Pfeil' + MENUE_MenueId + '\').src = MENUE_LDPfeilDown.src;" '
						+'onMouseOut="BLOCK_collapseM(\'GPM1O_Block' + MENUE_MenueId + '\',' + MENUE_MenueEbene + '); document.getElementById(\'GPM1O_Item' + MENUE_MenueId + '\').style.backgroundImage=\'url(\'+MENUE_BGImOut.src +\')\'; document.getElementById(\'GPM1O_Item' + MENUE_MenueId + '\').style.color=\''+MENUE_TFOut +'\'; document.getElementById(\'GPM1O_Pfeil' + MENUE_MenueId + '\').src = MENUE_LDPfeilOut.src;">');

		MENUE_ElementIDs[MENUE_MenueEbene][MENUE_ElementIDs[MENUE_MenueEbene].length] = MENUE_MenueId;

		MENUE_MenueEbene++;
		MENUE_EbenenTop[MENUE_MenueEbene] = (-1) * (MENUE_ItemHeight + MENUE_ItemSpace);
		MENUE_ElementIDs[MENUE_divIDcount] = new Array();
	}
}

function BLOCK_Ublock(MENUE_beschriftung,MENUE_beschreibung) {
		var MENUE_MenueId = BLOCK_formID();

		MENUE_EbenenTop[MENUE_MenueEbene] += (MENUE_ItemHeight + MENUE_ItemSpace);

		document.write('	<div id="GPM1O_Item' + MENUE_MenueId + '" class="BLOCK_um" '
						+'style="position:absolute; left:0px; top:' + MENUE_EbenenTop[MENUE_MenueEbene] + 'px;" '
						+'onMouseOver= "BLOCK_collapseAll(' + MENUE_MenueEbene + '); BLOCK_expandM(\'GPM1O_Block' + MENUE_MenueId + '\'); this.style.backgroundImage=\'url(\'+MENUE_UBGImOver.src+\')\'; this.style.color=\''+MENUE_TFOver+'\'; document.getElementById(\'GPM1O_Pfeil' + MENUE_MenueId + '\').src = MENUE_LDPfeilOver.src; window.status=\'' + BLOCK_infoTitle(MENUE_beschriftung,MENUE_beschreibung) + '\'" '
						+'onMouseOut="                    BLOCK_collapseM(\'GPM1O_Block' + MENUE_MenueId + '\',' + MENUE_MenueEbene + '); this.style.backgroundImage=\'url(\'+MENUE_UBGImOut.src +\')\'; this.style.color=\''+MENUE_TFOut +'\'; document.getElementById(\'GPM1O_Pfeil' + MENUE_MenueId + '\').src = MENUE_LDPfeilOut.src;  BLOCK_nostatus()">'
						+ MENUE_beschriftung
						+'<img id="GPM1O_Pfeil' + MENUE_MenueId + '" src="' + MENUE_LDPfeilOut.src + '" style="position:absolute; top:' + MENUE_PfeilTop + 'px; right:' + MENUE_PfeilRight + 'px;">'
						+'</div>');


		document.write('	<div id="GPM1O_Block' + MENUE_MenueId + '" '
						+'style="position:absolute; left:' + (MENUE_UMItemWidth+MENUE_ItemSpace) + 'px; top:' + MENUE_EbenenTop[MENUE_MenueEbene] + 'px; visibility:hidden;"'
						+'onMouseOver="BLOCK_expandM(\'GPM1O_Block' + MENUE_MenueId + '\');                           document.getElementById(\'GPM1O_Item' + MENUE_MenueId + '\').style.backgroundImage=\'url(\'+MENUE_UBGImDown.src+\')\'; document.getElementById(\'GPM1O_Item' + MENUE_MenueId + '\').style.color=\''+MENUE_TFDown+'\'; document.getElementById(\'GPM1O_Pfeil' + MENUE_MenueId + '\').src = MENUE_LDPfeilDown.src;" '
						+'onMouseOut="BLOCK_collapseM(\'GPM1O_Block' + MENUE_MenueId + '\',' + MENUE_MenueEbene + '); document.getElementById(\'GPM1O_Item' + MENUE_MenueId + '\').style.backgroundImage=\'url(\'+MENUE_UBGImOut.src +\')\'; document.getElementById(\'GPM1O_Item' + MENUE_MenueId + '\').style.color=\''+MENUE_TFOut +'\'; document.getElementById(\'GPM1O_Pfeil' + MENUE_MenueId + '\').src = MENUE_LDPfeilOut.src;">');

		MENUE_ElementIDs[MENUE_MenueEbene][MENUE_ElementIDs[MENUE_MenueEbene].length] = MENUE_MenueId;

		MENUE_MenueEbene++;
		MENUE_EbenenTop[MENUE_MenueEbene] = (-1) * (MENUE_ItemHeight + MENUE_ItemSpace);
		MENUE_ElementIDs[MENUE_divIDcount] = new Array();
}


var MENUE_divIDcount = 0;
function BLOCK_formID(MENUE_text) {
	MENUE_divIDcount++;
	return 'GPM1O_MenueID'+MENUE_divIDcount;
}

function BLOCK_space(MENUE_hoehe) {
	/*if(MENUE_hoehe == undefined) MENUE_hoehe = 10;
*/
	if(MENUE_hoehe == '') MENUE_hoehe = 8;
	MENUE_EbenenTop[MENUE_MenueEbene] += MENUE_hoehe;
}

function BLOCK_expandM(MENUE_MenuBlockId) {
	document.getElementById(MENUE_MenuBlockId).style.visibility = 'visible';
	clearTimeout(document.getElementById(MENUE_MenuBlockId).MENUE_MausTimeout);
}

function BLOCK_collapseM(MENUE_MenuBlockId,MENUE_MenEb) {
	document.getElementById(MENUE_MenuBlockId).MENUE_MausTimeout = setTimeout('document.getElementById("' + MENUE_MenuBlockId + '").style.visibility="hidden"',(MENUE_collapseTime-MENUE_MenEb*100));
}

function BLOCK_collapseAll(MENUE_menuEbene) {
	var MENUE_aktME = MENUE_menuEbene;
	while(MENUE_aktME < MENUE_ElementIDs.length) {
		BLOCK_collapseEbene(MENUE_ElementIDs[MENUE_aktME]);
		MENUE_aktME++;
	}
}

function BLOCK_collapseEbene(MENUE_menuArray) {
	var MENUE_miCNT = 0;
	while(MENUE_miCNT < MENUE_menuArray.length) {
		document.getElementById('GPM1O_Block' + MENUE_menuArray[MENUE_miCNT]).style.visibility = 'hidden';
		MENUE_miCNT++;
	}
}

function BLOCK_infoTitle(MENUE_beschriftung,MENUE_beschreibung) {
	var MENUE_beschriftung2 = '';
	if(MENUE_ShowTextInTitle) MENUE_beschriftung2 = MENUE_beschriftung + MENUE_TitleDivider;
	return MENUE_beschriftung2 + MENUE_beschreibung;
}

function BLOCK_nostatus() {
	window.status = '';
}

MENUE_verlinkeCounter = 0;
function BLOCK_verLINKe(MENUE_adresse,MENUE_anzeige) {
	if(MENUE_anzeige == 'neu' || MENUE_anzeige == 'new' || MENUE_anzeige == '_blank' || MENUE_anzeige == 'tw') {
		MENUE_verlinkeCounter++;
		window.open( MENUE_adresse, 'GPM1W_Neues' + MENUE_verlinkeCounter + 'Fenster', 'dependent=no, location=yes, menubar=yes, resizable=yes, scrollbars=yes, status=yes, toolbar=yes');
	}
	else if(MENUE_anzeige == 'fenster' || MENUE_anzeige == '_top'  || MENUE_anzeige == '_parent')   parent.location.href = MENUE_adresse;
	/*else if(MENUE_anzeige == 'frame'   || MENUE_anzeige == '_self' || MENUE_anzeige == 'undefined') window.location.href = MENUE_adresse;
*/
	else if(MENUE_anzeige == 'frame'   || MENUE_anzeige == '_self' || MENUE_anzeige == '' ) window.location.href = MENUE_adresse;
	else eval(MENUE_anzeige).location.href = MENUE_adresse;
}

function BLOCK_pathTitle(MENUE_beschriftung,MENUE_text) {
	var MENUE_beschriftung2 = '';
	if(MENUE_ShowTextInTitle) MENUE_beschriftung2 = MENUE_beschriftung + MENUE_TitleDivider;
	return MENUE_beschriftung2 + BLOCK_makeAbsolute(MENUE_text);
}

function BLOCK_makeAbsolute(MENUE_text) {
	var MENUE_absoluteFilename = MENUE_text;
	/*if(MENUE_text == '#' || MENUE_text == '' || MENUE_text == undefined) MENUE_absoluteFilename = window.location.href;
*/
	if(MENUE_text == '#' || MENUE_text == '') MENUE_absoluteFilename = window.location.href;
	else if(MENUE_text.charAt(0) == '?') {
		var MENUE_activeFile = window.location.href;
		if(MENUE_activeFile.indexOf('?') != -1) MENUE_activeFile = MENUE_activeFile.slice(0,MENUE_activeFile.indexOf('?'));
		MENUE_absoluteFilename = MENUE_activeFile + MENUE_text;
	}
	else {
		if(MENUE_text.search('://') == -1) {
			var MENUE_activeDir = window.location.href;
			if(MENUE_activeDir.indexOf('?') != -1) MENUE_activeDir = MENUE_activeDir.slice(0,MENUE_activeDir.indexOf('?'));
			MENUE_activeDir = BLOCK_getNextDir(MENUE_activeDir);
			var MENUE_adresse1  = MENUE_text.replace('\\','/');
			var MENUE_adresse1  = MENUE_adresse1.replace('/./','/');
			if(MENUE_adresse1.charAt(0) == '/') MENUE_adresse1 = MENUE_adresse1.slice(1,MENUE_adresse1.length);
			while(MENUE_adresse1.charAt(0) == '.' && MENUE_adresse1.charAt(1) == '.' && MENUE_adresse1.charAt(2) == '/') {
				MENUE_adresse1  = MENUE_adresse1.slice(3,MENUE_adresse1.length);
				MENUE_activeDir = BLOCK_getNextDir(MENUE_activeDir);
			}
			var MENUE_adresse1  = MENUE_adresse1.replace('./','');
			MENUE_absoluteFilename = MENUE_activeDir + '/' + MENUE_adresse1;
		}
	}
	return MENUE_absoluteFilename;
}

function BLOCK_getNextDir(MENUE_text) {
	if(MENUE_text.lastIndexOf('/') != -1) return (MENUE_text.slice(0,(MENUE_text.lastIndexOf('/'))));
	else return MENUE_text;
}


var MENUE_real_top = MENUE_oben;
if(document.getElementById('startseite')) {
	MENUE_real_top = MENUE_jumpTop;
	MENUE_muf = true;
}

BLOCK_menu();

