function openImagePopup(image, comment) {
  var top = screen.height;
  var left = screen.width;
  posx = ((left/2)-400);
  posy = ((top/2)-300);

  myPopup = window.open("imgPopup.php?img=" + image + "&imgComment=" + comment,"Image",'title=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=800,height=600,screenX='+posx+',screenY='+posy+',left='+posx+',top='+posy+'');
  myPopup.focus();
}
