// (c) 2001-2004 by John Steele - http://www.steelesoftconsulting.com/
function DisplayImage(name, width, height) {  // opens new window to width/height of image
  // navName = navigator.appName;
  // navVersion = navigator.appVersion;
  // navAgen = navigator.userAgent
  centerX = (screen.width - width)/2;
  centerY = (screen.height - height)/2;
  winSet = '"scrollbars=no,resizable=no,status=no,location=no,menubar=no,screenX=' +
           centerX + ',screenY=' + centerY + ',width=' + width + ',height=' + height + '"';
  winStr = '<html><head><title>Image</title></head>' +
           '<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">' +
           '<img src="' + name + '" width="' + width + '" height="' + height + '"></body></html>';
  newWindow = open(name,'Image',winSet);
  if(navigator.appName == 'Netscape' && document.layers)  // need to write twice to Netscape 4.x, why?
    newWindow.document.write(winStr);
  newWindow.document.write(winStr);
  }
function stopError() {
  return true;
  }
window.onerror = stopError;
