function WPImageOld(src, width, height)
{
  width += 20;
  height += 60;
  w = ((width < screen.width) ? width : (screen.width - 40));
  h = ((height < screen.height) ? height : (screen.height - 60));

  opts = 'width=' + w + ',height=' + h +',resizable=yes';

  window.open('./../image.php?im=' + escape(src.replace(/ /g,'+')), 'img', opts);
}


