// --------------------------------------------------------------------------
// - reloc.js                                                               -
// -   repoint browser to frameset inserting current URL as content         -
// --------------------------------------------------------------------------
// - (c) 2oo2-2oo6 by Andreas Thul <andi@shadowfire.de>                     -
// -     http://www.shadowfire.de                                           -
// -                                                                        -
// - If you ever improve this file, please leave the original copyright     -
// -   intact and send me a copy of your improvements! :)                   -
// --------------------------------------------------------------------------
// - 06.04.2002: initial release.                                           -
// - 08.09.2003: patch to enable php relocating                             -
// - 13.08.2005: added function MsgBox                                      -
// - 30.05.2006: switched from perl to php                                  -
// --------------------------------------------------------------------------

if (self == top) {

	var reloccgi = "/reloc.php";

	// var current = unescape(window.location.pathname);
	var current = escape(document.URL);
	var reloc = reloccgi+"?reloc="+current;
	location.replace(reloc);
	}

function MsgBox (textstring) {
	if (confirm ('Sicher?')) { return true; }
	else { return false; }
	}

flag=1;
function ExtraInfo() {

	if (flag==0) {
		document.getElementById("extrainfo").style.display="none";
		flag=1;
		}
	else {
		document.getElementById("extrainfo").style.display="block";
		flag=0;
		}
	}
