<!--
var urlname = document.URL;
var ppp = urlname.lastIndexOf("/");
var hilftext = "\\ ";
var backslash=hilftext.substr(0,1);

if(ppp < 10) ppp = urlname.lastIndexOf(backslash);

var datei = urlname.substr(ppp+1);

if(datei == "index.html" || datei == "") {
	rest=urlname.substr(1,ppp-1);
	var qqq = rest.lastIndexOf("/");
	if(qqq < 10) qqq = rest.lastIndexOf(backslash);
	verz=rest.substr(qqq+1);
	datei = verz + "/index.html";
}

var urlteil1 = urlname.substr(0,ppp);
var urlteil2 = "X";
var letzte4 = urlteil1.substr(urlteil1.length-4);
var letzte5 = urlteil1.substr(urlteil1.length-5);
var letzte8 = urlteil1.substr(urlteil1.length-13,9);
//	alert(letzte8);
var inMem = 0;
var inGB = 0;
var inFO = 0;
var inAngebot = 0;

if (letzte4 == "team")	inMem=1;

if (letzte5 == "Teams")	inMem=1;

if (letzte8 == "angebote/")	inAngebot=1;
if (letzte8 == "angebote\\")	inAngebot=1;

if (letzte5 == "ebuch")	{
	inMem=1;
	inGB = 1;
}

if (letzte5 == "forum")	{
	inMem=1;
	inFO = 1;
}

var pref = "../";

if (inMem == 1)		pref = "../";
if (inAngebot == 1)	pref = "../../";


function mymailadrt(parm,text) {
	na = "info";
	pr = "dieseifenblase.de";
	ma = "<a href=\"mailto:" + na + "@" + pr + "\"" + parm + " onmouseover=\"showBallon('%Mail an die Seifenblase', 0, 150, 'yellow'); return true;\" onmouseout=\"hideBallon(); return true;\">" + text + "</a>";
	document.write(ma);
}

function java_error() {
	alert('Die Startseite konnte leider nicht automatisch eingestellt werden.\nBitte stellen Sie Ihre Startseite manuell ein.');
}

function Auswahl(site) {
	parent.focus();
	if (site != "") {
		if ((site.substr(0,5) == "http:") 
		   |(site == "suchbild/index.html")
		   |(site == "lemmings.html")
		   |(site == "../suchbild/index.html")
		   |(site == "../lemmings.html")) {
			F1 = window.open(site,"_blank");
		} else {
			self.location=site;
		}
	}
}

function einzelpunkt(refdatei, text, titel, ziel, neu) {
	Ziel = refdatei;
	lpref = pref;
	document.writeln("<tr>");
	document.writeln("<td>");
	cdatei = (refdatei.substr(0,5) != "html/") ? datei : "html/" + datei;
	if (refdatei.substr(0,15) == "html/protected/") cdatei = "html/protected/" + datei;
//	einzelpunkt("Galerie/index.html", "Bildergalerien", "Fotogalerie", "_blank", 0);
	if (text == "Bildergalerien" && lokal) {
		lpref = "";
		Ziel = "file://D:/Dietrich's Galerie/index.html";
	}
//	alert("refdatei=" + refdatei + ", datei=" + datei + ", cdatei=" + cdatei);
	if (refdatei != cdatei) {
		Stil="color:black; text-decoration:none;";
		if (refdatei.substr(0,4) == "http") {
			document.writeln("<font class=\"navigationsschrift\"><a href=\"" + Ziel + "\" target=\"" + ziel + "\" style=\"" + Stil + "\" onmouseover=\"showBallon('%" + titel + "', 0, 150, 'yellow'); return true;\" onmouseout=\"hideBallon(); return true;\"><b>" + text + "</b></a></font>");
		} else {
			document.writeln("<font class=\"navigationsschrift\"><a href=\"" + lpref + Ziel + "\" target=\"" + ziel + "\" style=\"" + Stil + "\" onmouseover=\"showBallon('%" + titel + "', 0, 150, 'yellow'); return true;\" onmouseout=\"hideBallon(); return true;\"><b>" + text + "</b></a></font>");
		}
	} else {
//		alert ("***TREFFER***");
		document.writeln("<font class=\"navigationsschrift\" style=\"background-color:#FFFF00\" color=\"red\"><b>" + text + "</b></a></font>");
	}
	if (neu > 0) {
		document.writeln("<img src=\"" + lpref + "images/new05.gif\" alt=\"neu\">");
	}
	document.writeln("</td>");
	document.writeln("</tr>");
}

function startauswahl(nam, pix) {
	document.writeln("<tr>");
	document.writeln("<td>");
	document.writeln("<select name=\"" + nam + "\" onchange=\"var seite=this.options[this.selectedIndex].value;this.options[0].selected=true;Auswahl(seite);\" style=\"width:" + pix + "px; font:bold 10pt arial; text-decoration:none; BACKGROUND-COLOR:#ffffcc; color:brown\" size=\"1\">");
	document.writeln("<option value=\"\">" + nam + "</option>");
}

function endeauswahl(nix) {
	document.writeln("</select>");
	document.writeln("</td>");
	document.writeln("</tr>");
}

function luecke(hoehe) {
	document.writeln("<tr>");
	document.writeln("<td height=\"" + hoehe + "\"></td>");
	document.writeln("</tr>");
}

function optionspunkt(verz, refdatei, Text) {
	cdatei = (refdatei.substr(0,5) != "html/") ? datei : "html/" + datei;
	if (refdatei != cdatei) {
		if (refdatei.substr(0,4) != "http") {
			refdatei = pref + verz + refdatei;
		}
		document.writeln("<option value=\"" + refdatei + "\">" + Text + "</option>");
	} else {
		document.writeln("<option style=\"color:red;background-color:yellow;\" value=\"\">" + Text + "</option>");
	}
}

function navigation(html401, xhtml1) {
/*	alert(urlteil1);
	alert("Datei=" + urlteil);
	alert(letzte5);

	if (inMem == 1)	alert("Unterverzeichnis")
	else	alert("Hauptverzeichnis");
*/
	document.writeln("<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" width=\"120\"><tbody><form>");

	luecke(20);

	/* automatische Startseiteneinstellung: */
/*	document.writeln("<tr>");
	document.writeln("<td>");
	var aufruf="setzeStartseite();";
	document.writeln("<font face=\"Arial,Helvetica,Geneva,Swiss,SunSans-Regular\"><a class=\"chlnk\" style=\"cursor:hand\" href onClick=\"" + aufruf + "\" title=\"www.agneshaie.de zur Startseite machen\" style=\"color:black; text-decoration:none; a:hover { text-decoration:none; font-weight:bold; background-color:#FFFF00; }\"><b>AUTO</b></a></font>");
	document.writeln("</td>");
	document.writeln("</tr>");
*/
	einzelpunkt("index.html", "<img src=\"" + pref + "images/clown_klein.gif\" border=\"0\">", "Zum Anfang - &Ouml;ffnungszeiten", "_self", 0);

	luecke(40);

	einzelpunkt("html/start.html", "Start (Schrank)", "Startseite", "_self", 0);

	luecke(5);

	einzelpunkt("html/spielzeug.html", "Spielzeug", "Spielsachen Firmenliste", "_self", 0);

	luecke(5);

	einzelpunkt("html/mode.html", "Mode", "Mode f&uuml;r Kinder und Damen - Firmenliste", "_self", 0);

	luecke(5);

	einzelpunkt("html/ballons.html", "Geschenk-<br>&nbsp;&nbsp;&nbsp;ballons", "Geschenke im Ballon verpackt", "_self", 0);

	/*
	startauswahl("Angebote", 110);
	optionspunkt("", "html/angebote.html","&Uuml;bersicht");
	document.writeln("<option value=\"\">&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;</option>");
	optionspunkt("angebote/2007/", "04.html", "April 2007");
	optionspunkt("angebote/2007/", "03.html", "M&auml;rz 2007");
	optionspunkt("angebote/2007/", "02.html", "Februar 2007");
	optionspunkt("angebote/2007/", "01.html", "Januar 2007");
	optionspunkt("angebote/2006/", "12.html", "Dezember 2006");
	optionspunkt("angebote/2006/", "11.html", "November 2006");
	optionspunkt("angebote/2006/", "10.html", "Oktober 2006");
	optionspunkt("angebote/2006/", "09.html", "September 2006");
	optionspunkt("angebote/2006/", "08.html", "August 2006");
	optionspunkt("angebote/2006/", "07.html", "Juli 2006");
	optionspunkt("angebote/2006/", "06.html", "Juni 2006");
	optionspunkt("angebote/2006/", "05.html", "Mai 2006");
	*/
	/*
	optionspunkt("angebote/2006/", "04.html", "April 2006");
	optionspunkt("angebote/2006/", "03.html", "M&auml;rz 2006");
	optionspunkt("angebote/2006/", "02.html", "Februar 2006");
	optionspunkt("angebote/2006/", "01.html", "Januar 2006");
	optionspunkt("angebote/2005/", "dez05.html", "Dezember 2005");
	optionspunkt("angebote/2005/", "nov05.html", "November 2005");
	optionspunkt("angebote/2005/", "okt05.html", "Oktober 2005");
	optionspunkt("angebote/2005/", "sep05.html", "September 2005");
	optionspunkt("angebote/2005/", "aug05.html", "August 2005");
	optionspunkt("angebote/2005/", "jul05.html", "Juli 2005");
	optionspunkt("angebote/2005/", "jun05.html", "Juni 2005");
	optionspunkt("angebote/2005/", "mai05.html", "Mai 2005");
	optionspunkt("angebote/2005/", "apr05.html", "April 2005");
	optionspunkt("angebote/2005/", "mrz05.html", "M&auml;rz 2005");
	optionspunkt("angebote/2005/", "feb05.html", "Februar 2005");
	optionspunkt("angebote/2005/", "jan05.html", "Januar 2005");
	optionspunkt("angebote/2004/", "dez04.html", "Dezember 2004");
	optionspunkt("angebote/2004/", "nov04.html", "November 2004");
	optionspunkt("angebote/2004/", "okt04.html", "Oktober 2004");
	optionspunkt("angebote/2004/", "sep04.html", "September 2004");
	optionspunkt("angebote/2004/", "aug04.html", "August 2004");
	optionspunkt("angebote/2004/", "jul04.html", "Juli 2004");
	*/
	/*
	document.writeln("<option value=\"\">&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;</option>");
	optionspunkt("angebote/", "wunsch.html", "Rundum");
	optionspunkt("angebote/", "wunsch.html", "&nbsp;&nbsp;&nbsp;&nbsp;Wunschkorb");
	optionspunkt("angebote/", "wunsch.html", "&nbsp;&nbsp;&nbsp;&nbsp;Service");
	endeauswahl("");
	*/

	startauswahl("Team", 100);
	optionspunkt("", "html/team.html", "&Uuml;bersicht");
	document.writeln("<option value=\"\">&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;</option>");
	optionspunkt("team/", "christa.html", "Christa");
	optionspunkt("team/", "christa.html", "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;van Bebber");
	document.writeln("<option value=\"\">&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;</option>");
	optionspunkt("team/", "brigitte.html", "Brigitte Pohl");
	optionspunkt("team/", "christel.html", "Christel Mantel");
	endeauswahl("");

	luecke(5);

	einzelpunkt("html/laden.html", "Das Gesch&auml;ft", "Foto und Lagebeschreibung", "_self", 0);

	luecke(5);

	einzelpunkt("html/multimedia.html", "Multimedia", "z.B. Desktop Hintergrund", "_self", 0);

	luecke(5);

//	einzelpunkt("gaestebuch/index.html", "G&auml;stebuch", "unser G&auml;stebuch", "_self", 0);
//	einzelpunkt("forum/index.html", "Forum", "Diskussionsforum", "_self", 0);

	luecke(5);

//	document.writeln("<tr>");
//	document.writeln("<td><font face=\"Arial,Helvetica,Geneva,Swiss,SunSans-Regular\"><b>");
//	mymailadrt(" style=\"color:brown; text-decoration:none;\"","eMAIL");
//	document.writeln("</b></font></td>");
//	document.writeln("</tr>");

	einzelpunkt("html/mail.html", "eMail", "Nachricht an die Seifenblase", "_self", 0);

	luecke(5);

	einzelpunkt("html/impress.html", "Impressum", "Impressum", "_self", 0);
	einzelpunkt("html/disclaim.html", "Disclaimer", "Haftungsausschluss", "_self", 0);

	luecke(5);

	if (html401 == 1) {
		document.writeln("<tr>");
		document.writeln("<td><a href=\"http://validator.w3.org/check/referer\"><img border=\"0\" src=\"" + pref + "images/valid-html401.gif\" alt=\"Valid HTML 4.01!\" height=\"31\" width=\"88\"></a></td>");
		document.writeln("</tr>");
	}

	if (xhtml1 == 1) {
		document.writeln("<tr>");
		document.writeln("<td><a href=\"http://validator.w3.org/check/referer\"><img border=\"0\" src=\"" + pref + "images/valid-xhtml10.gif\" alt=\"Valid XHTML 1.0 Strict!\" height=\"31\" width=\"88\"></a></td>");
		document.writeln("</tr>");
	}

	document.writeln("<tr>");
	document.writeln("<td>&nbsp;&nbsp;&nbsp;<a href=\"http://www.spamming-warfare.de\" target=\"_blank\" onmouseover=\"showBallon('Hier erfahren Sie, was Sie gegen Spam tun k&ouml;nnen', 1, 200, 'yellow'); return true;\" onmouseout=\"hideBallon(); return true;\"><img src=\"" + pref + "images/gs_schwarz.png\" border=\"0\" width=\"43\" height=\"20\" alt=\"\"></a></td>");
	document.writeln("</tr>");

	document.writeln("</form></tbody></table>");
}
// -- End code -->
