var imgPopup = new TipObj('imgPopup');
with (imgPopup) {
 tips.caption = new Array(-50,-25,100,'');
 template = '<div id="galleryCaption">%3%</div>';
 tipStick = 0;
}

function showCap(txt) {
  imgPopup.tips.caption[3] = txt;
  imgPopup.show('caption');
  return false;
}
/*
if (isNS4) document.captureEvents(Event.MOUSEMOVE);
gSaveOnMouseMove = document.onmousemove;
document.onmousemove = function(evt) {
  imgPopup.track(evt);
  if (gSaveOnMouseMove)     gSaveOnMouseMove();
  if (isNS4) return document.routeEvent(evt);
}
*/

function openImgWindow() {
  browserName = navigator.appName;
  scrPos = '';
  if (browserName == "Netscape" )  scrPos = ',screenX=10,screenY=10';
  if (browserName == "Microsoft")  scrPos = ',left=10,top=10';
  open('', 'riWindow',
      'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,'+
      'resizable=1,width=500,height=300,dependent=1'+scrPos,
      true);
	return true;
}


