      function popup(w,h,site) {
//        x = screen.availWidth/2-w/2;
//        y = screen.availHeight/2-h/2;
        x = screen.availWidth/4-w/2;
        y = screen.availHeight/2-h/2;

          bild = '<img src=\"'+site+'\" width=\"'+w+'\" height=\"'+h+'\" border=\"0\" alt=\"\" onclick=\"window.close()\">';
          sitea = '<html><head><title>R+B Technik - Partnerschaft in der Technik</title></head><body text=\"#000000\" bgcolor=\"#FFFFFF\" topmargin=\"0\" bottommargin=\"0\" rightmargin=\"0\" leftmargin=\"0\" link=\"#000000\" alink=\"#000000\" vlink=\"#000080\"><table cellspacing=\"0\" cellpadding=\"0\" height=\"100%\" width=\"100%\" bgcolor=\"#E8E8E8\"><tr><td height=\"100%\" valign=\"top\" width=\"100%\">';
          siteb = '</td></tr></table></body></html>';

          site2 = sitea + bild + siteb;

        var popupWindow = window.open('','','width='+w+',height='+h+',left='+x+',top='+y+',screenX='+x+',screenY='+y);
        popupWindow.document.write(site2);
      }
