function popimage(imagesrc,winwidth,winheight,title,description){
mwinwidth=winwidth-30;
mwinheight=winheight-10;
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/popwin.css");</Style></head><body><div id="image" align="center" style="position:absolute;top:0px;left:5px;width:'+mwinwidth+'px;height:'+mwinheight+'px;background-color:white;z-index:1"><a name="Top"><img src="'+imagesrc+'" align="center"><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="center"><H2>'+description+'</td></tr></table>')
popwin.document.writeln('<center><table><tr><td width="80%" align="center"><a href="#Top" onClick="closeIt()" target="_self"><H5>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('</div></body></html>')
popwin.document.close()
}

