	var dorthin = null;
	var w = 0;
	var h = 0;
	
	function popup(datei,name,w,h,alt) {
	        if (window.screen) {
	        var hori = screen.availWidth;
	        var verti = screen.availHeight;
	        dorthin = window.open(datei,name,'width='+ w  +',height='+ h +',left='+((hori - w)* .5) +',top='+((verti - h+35)* .5))			
			dorthin.document.open();
			dorthin.document.write('<html><title>Geigenberger - '+alt+'</title><meta http-equiv="imagetoolbar" content="no"><body style="background-color:#7D2145; margin:0px 0px 0px 0px; padding:0px 0px 0px 0px;" onblur="self.close()" onclick="self.close()">');
			dorthin.document.write('<img src='+datei+' style="width:'+w+'; height:'+h+'; border:0px;" onclick="self.close()">');
			dorthin.document.write('</body></html>');
			dorthin.document.close();
			dorthin.focus()
	}
	}
	
	function popUp(URL,name,w,h) {
			day = new Date();
			id = day.getTime();
			eval("page" + id + " = window.open(URL, '" + name + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width='+w+',height='+h+',left=392,top = 358');");
	}
	
	function popUpAngebot(URL,name) {
			day = new Date();
			id = day.getTime();
			eval("page" + id + " = window.open(URL, '" + name + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=650,height=500,left=342,top=270');");
	}
