             
       function openWin(urlPath,winHeight,winWidth)
       {
       // STANDARD JSPOPUP-FENSTER       
       var random = new String(Math.random());
       var winIndex = random.substr(3,random.length);
       var positionX = (screen.width/2)-(winWidth/2);
       var positionY = (screen.height/2)-(winHeight/2);
       eval("js_popupHtmlWin"+ winIndex +" = window.open ('/ASP_app/popup/blank.html','popupHtml"+ winIndex +"','width=" + winWidth + ",height=" + winHeight + ",hotkeys=no,status=no,toolbar=no,directories=no,menubar=no,location=no,scrollbars=yes,resizable=yes," + "left=" + positionX +",top="+ positionY + "')");
       eval("js_popupHtmlWin"+ winIndex +".document.location.replace(urlPath)");
       eval("js_popupHtmlWin"+ winIndex +".focus()");
      }
      
       function openSecureWin(urlPath,winHeight,winWidth)
       {
       // STANDARD HTTPS-JSPOPUP-FENSTER       
       var random = new String(Math.random());
       var winIndex = random.substr(3,random.length);
       var positionX = (screen.width/2)-(winWidth/2) - 4;
       var positionY = (screen.height/2)-(winHeight/2)+ 102;
       eval("js_popupHtmlWin"+ winIndex +" = window.open ('/ASP_app/popup/blank.html','popupHtml"+ winIndex +"','width=" + winWidth + ",height=" + winHeight + ",hotkeys=no,status=yes,toolbar=no,directories=no,menubar=no,location=no,scrollbars=yes,resizable=yes," + "left=" + positionX +",top="+ positionY + "')");
       eval("js_popupHtmlWin"+ winIndex +".document.location.replace(urlPath)");
       eval("js_popupHtmlWin"+ winIndex +".focus()");
       }
      
       
       function acPopup(picPath,winHeight,winWidth,picDescr)
       {
       // Grossbilder JSPOPUP-FENSTER
       
       //_______________________
       //Ab hier nichts mehr editieren!
       var winBgColor  = "#ffffff;";
       var winTxtColor = "#000000";
       if (winBgColor == "") {winBgColor   = "#ffffff";}
       if (winBgColor == "#ffffff") {winTxtColor  = "#000000";}
       if (winBgColor == "#E7EAE3") {winTxtColor  = "#22251E";}
       if (winBgColor == "#E3DBD9") {winTxtColor  = "#523B35";}
       if (winBgColor == "#D6DFE8") {winTxtColor  = "#243C60";}
       var picPath = picPath.replace("/AC/","/");
       var positionX = (screen.width/2)-(winWidth/2);
       var positionY = (screen.height/2)-(winHeight/2);
       var html = false;
       if (picDescr.indexOf("<")> -1 && picDescr.indexOf(">")> -1 ){ html=true;};

       eval("js_popupWin = window.open ('/ASP_app/popup/blank.html','popup','width=" + winWidth + ",height=" + winHeight + ",hotkeys=no,status=no,toolbar=no,directories=no,menubar=no,location=no,resizable=yes," + "left=" + positionX +",top="+ positionY + "')");
       js_popupWin.document.open()
       js_popupWin.document.write('<html><head><title>www.aachen.de</title></head>');
       js_popupWin.document.write('<body onload="javascript:if ( (bild.height > document.body.offsetHeight) || (bild.width > document.body.offsetWidth) )document.body.scroll=\'yes\';  else  document.body.scroll=\'no\';" onresize="javascript:if ( (bild.height > document.body.offsetHeight) || (bild.width > document.body.offsetWidth) )document.body.scroll=\'yes\';  else  document.body.scroll=\'no\';" bgcolor=\"'+ winBgColor +'\" leftmargin=\"0\" topmargin=\"0\" marginheight=\"0\" marginwidth=\"0\" ><table align=\"center\" cellpadding=0 cellspacing=0 border=0><tr><td align=\"center\">');
       js_popupWin.document.write('<img id=\'bild\' src=\"' + picPath + '\" border=0 >');
       js_popupWin.document.write('</td></tr><tr>');
       if (html == false) 
        {
          js_popupWin.document.write('<td align=\"center\">');
        }else{
          js_popupWin.document.write('<td>');
        };
       js_popupWin.document.write('<font face=\"Arial, Helvetica, Geneva, sans-serif\" size=\"-1\" color=\"' + winTxtColor + '\">' + picDescr + '</font>');
       js_popupWin.document.write('</td></tr></table></body></html>');
       js_popupWin.document.close();
       js_popupWin.focus();
       }

       // Setzt den Fokus in ein bestimmtes Eingabefeld
       function setzeFocus(formInst, elementInst)
       {
         if (document.forms.length > 1)
         {
           // document.forms[formInst].elements[elementInst].focus();
         }
       }
       

