// ganze Seite laden, nicht in einem fremden Frame laden
	if(top!=self)
	top.location=self.location;
	
	
	/*******************/
	/* PopUpWindow(..) */
	/*******************/
	function PopUpWindow(File, MyWidth, MyHeight)
	{
		var PopUpWitdh = MyWidth;
		var PopUpHeight = MyHeight;
		var PopUpDetails = ""; 
		
		var PopUpPositionWidth = screen.width /2;
		var PopUpPositionHeight = screen.height /2;
		
		// PopUpPsoition ermitteln (zentriert)
		PopUpPositionWidth = PopUpPositionWidth - (PopUpWitdh / 2);
		PopUpPositionHeight = PopUpPositionHeight - (PopUpHeight / 2);
	
		// Fensterinformationen zusammenstellen
		PopUpDetails = PopUpDetails + "width=" + PopUpWitdh + ",";
		PopUpDetails = PopUpDetails + "height=" + PopUpHeight + ",";
		
		PopUpDetails = PopUpDetails + "top=" + PopUpPositionHeight + ",";
		PopUpDetails = PopUpDetails + "left=" + PopUpPositionWidth;
		
		PopUpTarget = File;
		
		F1 = window.open(PopUpTarget, "File", PopUpDetails);
	}
	

	function OpenPicture(File, Width, Height)
	{
		Info  = "width=" + Width + ", height=" + Height + ", menubar=no, location=no, status=no, toolbar=no, left=-2, top=-2";
		Body  = "<html><head></head><body background=" + File + ">";
		//Body += "<a HREF='javaScript:self.close()'>Close</a>";
		Body += "</body></html>";
		
		Fenster = window.open('', 'Bild', Info);
		Fenster.document.open();
		Fenster.document.write(Body);
		Fenster.document.close();
	}

	function OpenDownload(File, Width, Height)
	{
		Info  = "width=" + Width + ", height=" + Height + ", menubar=no, location=no, status=no, toolbar=no, left=-2, top=-2";
		Body  = "<html><head></head><body background=" + File + ">";		
		Body += "</body></html>";
		
		Fenster = window.open('', 'Bild', Info);
		Fenster.document.open();
		Fenster.document.write(Body);
		Fenster.document.close();
	}
