// gallery.js - Functions for displaying content in a popup window

function pic(url, desc) {

 if(desc) {
  url="gallery.php?img=" + url + "&desc=" + escape(desc);
  var win=window.open(url, "kwpic", "width=600, height=530, status=no, resizable=yes");
 } else {
  url="gallery.php?img=" + url;
  var win=window.open(url, "kwpic", "width=600, height=500, status=no, resizable=yes");
 }
}
