function popupImage(url, x, y, scroll)
{
  ua   = window.navigator.userAgent;
  ns   = (document.layers) ? 1 : 0;
  mz   = (ua.indexOf("zilla") >= 0) ? 1 : 0;
  pcie = (ua.indexOf( "MSIE " ) >= 0 && ua.indexOf("Win") >= 0) ? 1 : 0;

  // Grrr...
  if(ns || pcie || mz) { x += 15; y += 15; }
  if(mz) { x += 10; y += 10; } 

  noise = Math.round((Math.random() * 10000) + 1);

  pictureWindow = open(url, "pictureWindow" + noise, "width=" + x + ",height=" + y + ",scrollbars=" + ((scroll) ? "yes" : "no") + ",status=no,toolbar=no,resizable=yes");

  return false;
}