/* BERATUNGSRING */

if(top!=self) top.location=self.location;

	// Kein CSS-Switch mehr
	// Nur noch eine CSS einbinden

	document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="styles/pcie.css">');


	// Funktionen

	function OpenBox(filename) {
		var Win = null;
		var chasm = screen.availWidth;
		var mount = screen.availHeight;
		var w = 500;
		var h = 340;

		Win = window.open('','_blank','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,screenX=100,screenY=50,width=' + w + ',height=' + h + ',left=' + ((chasm - w - 10) * .5) + ',top=' + ((mount - h - 30) * .5));

		Win.location.href = filename;
	}

	function Delete(name){
		if(name.checked == true){
			Check = confirm('Wollen Sie diesen Eintrag wirklich löschen?');
			if(Check == true) name.checked = true;
			else name.checked = false;
		}
	}

	function Fotothek(src,w,h){
		var breite = (screen.width - w) / 2;
		var hoehe = (screen.height - h) / 2;
		window.open(src,"fotothek"+w+h,"toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=no,width="+w+",height="+h+",top="+hoehe+",left="+breite);
	}

	function PopUpFeuer(src,w,h){
		var breite = (screen.width - w) / 2;
		var hoehe = (screen.height - h) / 2;
		window.open(src,"","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width="+w+",height="+h+",top="+hoehe+",left="+breite);
	}