     var hold_color = '';
     var max_splash = 9;
    UserWidth = (window.screen.availWidth) ? window.screen.availWidth : window.screen.width; 
    UserHeight = (window.screen.availHeight) ? window.screen.availHeight : window.screen.height; 
    var widthpad=0;
    var heightpad=0;
    var scrollh=0;
    var scrollv=0;
    var timer = null;
    var currentRequest = null;
    var caption = null;
    var target = null;
    var imageURL = null;
    if (navigator.appName.indexOf("Netscape") != -1) { widthpad=0; heightpad=0; scrollh=16; scrollv=16;}
    else if (navigator.appName.indexOf("Opera") != -1) { widthpad=12; heightpad=28; scrollh=16; scrollv=16;}
    else if (navigator.appName.indexOf("Microsoft") != -1) { widthpad=12; heightpad=28; scrollh=16; scrollv=16;}
    else { widthpad=12; heightpad=20; scrollh=16;}
     
      function launchRemote (iimageURL,icaption,itarget)
      {
         imageURL = iimageURL;
         image = new Image();
         image.src = imageURL;
         target = itarget;
         caption = icaption;
         if (currentRequest) clearTimeout(timer);
         currentRequest = new Image();
         currentRequest.src = imageURL;       
         setTimeout(readResponse, 10);         
      }

      function readResponse() 
      {
         if (!currentRequest.complete) 
         {
            timer = setTimeout(readResponse, 5);
            return;
         }
         width=currentRequest.width;
         height=currentRequest.height;
         if (!caption) caption="Enlargement";
         if (!target) target="Enlarge";
         width+= widthpad;    
         height+= heightpad; 
         var scrolling=0;
         var topping=0;
         var lefting=0;

  var myScript = "<html>\n" + 
    "<head>\n" + 
    "<title>" + caption + "\</title>\n" +
    "</sc"+"ript></he"+"ad><bo"+"dy " +
    "style=\"margin: 0px; padding: 0px;\">\n\n" + 
    "<img src=\"" + imageURL + "\" alt=\"" + caption + "\" title=\"" + caption + "\" name=\"enlargement\">\n" + 
    "</b"+"ody></h"+"tml>"
    swidth = currentRequest.width;
    sheight = currentRequest.height;
    if (swidth>UserWidth) {swidth=UserWidth;sheight+=scrollh;scrolling=1;lefting=1;} 
    if (sheight>UserHeight) {sheight=UserHeight;swidth+=scrollv;scrolling=1;topping=1;}
    props = "width=" + swidth + ",height=" + sheight + ",scrollbars="+scrolling+",status=0,resizable";
    cleft = (screen.width - swidth) / 2;
    ctop  = (screen.height - sheight) / 2;
    if (cleft < 0) cleft = 0;
    if (ctop < 0) ctop = 0;
    if (topping) ctop = 0;
    if (lefting) cleft = 0;
    props+=",top="+ctop+",left="+cleft;
    var imageWindow = window.open ("",target,props);
    imageWindow.document.write (myScript)
    imageWindow.document.close ();
    if (window.focus) imageWindow.focus();
    return false;
    
      }      


