function popimage(imagesrc,winwidth,winheight,title,comment){
LeftPos = (screen.width) ? (screen.width-winwidth)/2 : 0;
TopPos  = (screen.height) ? (screen.height-winheight)/2 : 0;
var look='width='+winwidth+',height='+winheight+',status=no,menubar=no,scrollbars=yes,resizable=yes,toolbar=no,alwaysRaised=yes,left='+LeftPos+',top='+TopPos
popwin=window.open("","",look);
popwin.document.open();
popwin.document.bgColor = 'black';
popwin.document.write('<html><head><title>'+title+'</title><Style>@import URL("styles/styles.css");</Style></head><body><p align="center"><a name="Top"><img src="'+imagesrc+'"><br>')
popwin.document.writeln('<script language="JavaScript">')
popwin.document.writeln('function closeIt() {')
popwin.document.writeln('self.close();')
popwin.document.writeln('}')
popwin.document.write('</sc')
popwin.document.writeln('ript>')
popwin.document.writeln('<table><tr><td width ="100%" align="left"><H3>'+comment+'</td></tr></table>')
popwin.document.writeln('<center><table><tr><td width="80%" align="center"><a href="#Top" onClick="closeIt()" target="_self"><H2>Close</a></td><td align="right"><a href="#Top" onClick="closeIt()" target="_self"><img src="utilimg/close.gif" border="0" alt="Close"></a></td></tr></table></center>')
popwin.document.write('</body></html>')
popwin.document.close()
}

