
 
      var isIE_PNG = (navigator.appName == "Microsoft Internet Explorer" && navigator.userAgent.indexOf('Opera') == -1);
      function pngImage(imgSource)
      {
        if(isIE_PNG) document.write('<img src="assets/pixel.gif" border="0" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='+imgSource+');">');
        else document.write("<img src="+imgSource+" border='0'>");
      }
      
	function beiBeruehrungLoeschen(feld)
	{
		document.getElementById(feld).value="";
	}

	function popup_wechseln_zentriert(neuname,breite,hoehe,url)
	{
		var links=(screen.width-breite)/2;
		var oben=(screen.height-hoehe)/2;
		neuname=window.open(url,neuname,'width='+breite+',height='+hoehe+',resizable=yes,status=yes,scrollbars,left='+links+',top='+oben);
//		window.setTimeout("window.close()",100);
	}	
	function popup_zentriert(neuname,breite,hoehe,url)
	{
		var links=(screen.width-breite)/2;
		var oben=(screen.height-hoehe)/2;
		neuname=window.open(url,neuname,'width='+breite+',height='+hoehe+',resizable=yes,status=yes,scrollbars,left='+links+',top='+oben);
	}
			function newWindow(name,width,height,scroll){
                if(scroll) {
				    scroll = ", scrollbars";}

                    newWin = window.open(name,"fenster","width="+width+", left=100, top=100, height="+height+scroll);
		            newWin.creator = self;
                }

            function openWindow() {
	            bname=navigator.appName
	            if (bname.indexOf("Microsoft")!=-1) {
		            newWindow('opening.htm',318,525,false);
	            }
             } 
   
