      function popup(w,h,site) {
        x = screen.availWidth/2-w/2;
        y = screen.availHeight/2-h/2;
        var popupWindow = window.open(
            '','','width='+w+',height='+h+',left='+x+',top='+y+',screenX='+x+',screenY='+y);
        popupWindow.document.write('<html><head></head><body style="margin: 0; padding: 0; background-image: url('+site+'); background-repeat: no-repeat; background-position: center 10px;"></body></html>');
      }
