// rollover.js
var remote;
function showRolloverInNewWindow(title,image,width,height) {
    windowwidth = width + 60;
    windowheight = height + 170;
    if (windowheight > 580)
	windowheight = 580;
    windowOptions = "directories=0,menubar=1,personalbar=0,status=0,resizable=1,scrollbars=1";
    windowOptions += ",width=" + windowwidth + ",height=" + windowheight;
     windowOptions += ",screenX=0,screenY=0";
     imgstr = '<img border=0 src=' + image + ' width=' + width + ' height=' + height + '>'
     title = unescape(title);
     if (!remote)
	remote = window.open("","fullsize",windowOptions)
     remote.resizeTo(windowwidth,windowheight);
     remote.document.open()
     remote.document.writeln('<html><head><title>' + title + '</title>');
     remote.document.writeln('<LINK REL="stylesheet" HREF="./photos.css">');
     remote.document.writeln('</head><body bgcolor=#ffffff><h1>' + title + '</h1>')
     remote.document.writeln(imgstr)
     remote.document.writeln('<br><hr noshade><br>');
     remote.document.writeln('<a href="javascript:self.close()"><img border=0 src="furniture/close.gif" height=7 width=7>&nbsp;Close this window</a></body></html>');
     remote.document.close();
//     remote.window.moveTo(0,0);

}

function overlayImage (imageID,newimage) {
  document.images[imageID].src = newimage;
}











