function openGalleryWindow( imagepath, title, imagewidth, imageheight, imagestring )
{
    top.focus();
    if ( typeof closeup == "object") { closeup.close(); }
    closeup = window.open("","","height="+imageheight+",width="+imagewidth);
    closeup.document.write("<html><head><title>" + title + "</title></head><body marginwidth=\"0\" marginheight=\"0\" topmargin=\"0\" leftmargin=\"0\"><img src=\"" + imagepath + "\"" + imagestring + " /></body></html>");
    closeup.focus();
}

