function ShowPath() {
	var StartFolder = "mehrow";
	var Server = "www.mehrow.de";
	var Path = window.location.href.split('#')[0].replace('Mehrow','mehrow');
	if (StartFolder != "") {
		var RestBegin = Path.indexOf(StartFolder) + StartFolder.length;
		var RestLength = Path.length - RestBegin;
		var RestEnd = Path.indexOf("?");
		if (RestEnd > 0) RestLength = RestEnd - RestBegin;
		var PathPre = Path.substr(0,RestBegin);
		var Path = Path.substr(RestBegin,RestLength);
	}
	var Levels = Path.split("/");
	Levels[Levels.length-1] = Levels[Levels.length-1].replace(".html","");
	document.write("<table width=640 cellspacing=0 cellpadding=0 ><tr><td colspan=3><hr></td></tr><tr><td width=100 class=standard><small>&copy; <a href=mailto:benedikt@eckelt.de>B. Eckelt</a></td><td align=center class=standard><small>");
	if (window.location.host != "") {
		document.write("<a href=http://"+Server+" target=_top>"+Server+"</a>");
		for (var i = 1; i <= Levels.length-1; i++) {
			document.write(" / <a href=http://"+Server);
			for (var j = 1; j <= i; j++) document.write("/" + Levels[j]);
			document.write(".html target=right>" + Levels[i].replace("_"," ").replace("_"," ").replace("_"," ").replace("_"," ") + "<a>");

		}
	}
	else {
		document.write("<a href="+ PathPre + "/Index.htm target=_top>Mehrow</a>");
		for (var i = 1; i <= Levels.length-1; i++) {
			document.write(" / <a href=" + PathPre);
			for (var j = 1; j <= i; j++) document.write("/" + Levels[j]);
			document.write(".html>" + Levels[i].replace("_"," ").replace("_"," ") + "<a>");
		}
	}
	document.write('</td><td align=right width=100 class=standard>');
	if  (window.location.search!='?Bilder') {
		var c=0;
		for (i=0; i<document.all.tags('a').length; i++) {
			var y = document.getElementsByTagName('a')[i].href.split('.');
			var z = y[y.length-1];
			if (z=='jpg'||z=='gif') var c = c+1;
		}
		if (c>0) document.write('<small><a href='+window.location.href+'?Bilder>Bilder</a>');
	}
	document.write("</td></tr></table>");
}

function ModifyLinks() {
	if (window.location.host != ""){
		for (i=0; i<document.links.length; ++i)
			document.getElementsByTagName("a")[i].href = document.getElementsByTagName("a")[i].href.replace("/mehrow/","/Mehrow/").replace(window.location.host +"/Mehrow","www.mehrow.de");
	}
	else{		
		for (i=0; i<document.links.length; ++i)
			document.getElementsByTagName("a")[i].href = document.getElementsByTagName("a")[i].href.replace('href="','href="http://www.mehrow.de/');
	}
}

function header() {
if (typeof skip=='undefined') {
	if (1==2 && window.location.host!="" && parent.frames.length == 0) {
		document.write("<meta http-equiv='refresh' content='0; URL=http://www.mehrow.de?show=" + window.location.pathname.replace('/Mehrow/','').replace('/mehrow/','') +"'>");
	}
else document.write('<a name=#bottom></a>');
}
}

function footer() {
	if (window.location.search=='?Bilder') {
		document.write('<a id=Bild name=#bottom></a>');
		document.write('<hr align=left width=640><small><u>Bilder auf '+window.location.href.split('?')[0]+'</u></small><br>');
		for (i=0; i<document.all.tags('a').length; i++) {
			var x = document.getElementsByTagName('a')[i].href;
			var y = x.split('.');
			var z = y[y.length-1];
			if (z=='jpg'||z=='gif') document.write('<br><small><img src="'+x+'"><br><table width=640 cellspacing=0 cellpadding=0 border=0><tr><td>'+document.getElementsByTagName('a')[i].title+'</td></tr></table></small>');	
		}
		ShowPath();
		
		document.all.Bild.scrollIntoView('false');
	}
	else ShowPath();
	
}