﻿// JScript File

imagename='';
function enlrge(imgnme) {
    lrgewin=window.open("about:blank","","height=200,width=200")
    imagename=imgnme;
    setTimeout('update()',500)
}
function win(fileName)
{
    myFloater=window.open('','myWindow','scrollbars=auto,status=no,width=400,height=300')
    myFloater.location.href=fileName;
}
function update() 
{
    doc=lrgewin.document;
    doc.open('text/html');
    doc.write('<HTML><HEAD><TITLE>Additional Images<\/TITLE><\/HEAD><BODY bgcolor="white" onLoad="if  (self.resizeTo)self.resizeTo((document.images[0].width+10),(document.images[0].height+80))" topmargin="4" leftmargin="0" rightmargin="0" bottommargin="0"><table width=""' + document.images[0].width + '" height="' + document.images[0].height +'"border="0" cellspacing="0" cellpadding="0"><tr><td>');
    doc.write('<IMG SRC="' + imagename + '"><\/td><\/tr><tr><td><form name="viewn"><input type="image" src="images/close.gif" align="right" value="Close Window" onClick="self.close()"><\/td><\/tr><\/table>');
    doc.write('<\/form><\/BODY><\/HTML>');
    doc.close();
}
