function thishost(relative_page)
{
	/* relativpage ist der Dateiname incl. relativer Pfad */ 
	/* var URL = window.location.href; */
	var URL = document.URL
	if (URL.charAt(URL.length-1)=="/")
		URL=URL.concat("index.html"); /* Dann war das ein index.html */
	switch (top.frames.length)
	{
	case 0:
		/* Wenn das HTML File auf dem Server direkt aufgerufen wurde */
		return URL.substring(0,URL.length-relative_page.length);
		break;
	case 1:
		/* Wenn der Domain von Namesecure umgeleitet wird, */
		/* dann hat das top.document 1 Frame */
		return "http://www.rene.at";
		break;
	default:
		/* Absicherung sonstiger Fälle */
		return "http://www.rene.at";
		break;
	}

}

function bhm_old()
{
// Backup Host Management, bricht auch Frames aus. FrameCount beinhaltet, wieviele Frames die top.WebSeite hat.
if (top.frames.length > FrameCount)
{
top.location.href=window.location.href;
};
if (top.frames.length == 0  || (top.frames.length == FrameCount && (window.location.href.search(/^http:..212.186.11.127/) == -1 && window.location.href.search(/^http:..www.cybercities.com.r.renejaeger/) == -1)))
	document.write("<center><font color=\"FF0000\">Main host not available at the moment - running on BACKUP host<br>Do not bookmark this URL. Some links may not be available or not up to date.<hr></font></center>");
// End Backup Host Management
}

function bhm()
{
	if (top.frames.length!= 1)
		/* Wenn nicht 1 Frame im obersten Document ist, dann werden die Daten vom Backup Host bezogen */
		document.write("<center><font color=\"FF0000\">Main host not available at the moment - running on BACKUP host<br>Do not bookmark this URL. Some links may not be available or not up to date.<hr></font></center>");
}

function unload(startzeit)
{
   var now = new Date();
   var endzeit = now.getTime() - startzeit;
   timewin = window.open("http://webcounter.goweb.de/113900TIME"+endzeit,"TIME","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,height=100,width=100");
}

