function openPict(imageName,imageWidth,imageHeight,text) {
	w=imageWidth+30;
	h=imageHeight+80;
	newWindow = window.open("","newWindow","width="+w+",height="+h+",left=0,top=0");
	newWindow.document.open();
	newWindow.document.write('<html><body bgcolor="#FFFFFF" leftmargin="0" topmargin="10" marginheight="0" marginwidth="0" onBlur="self.close()">'); 
	newWindow.document.write('<p align=center><img src='+imageName+' width='+imageWidth+' height='+imageHeight+'><br>'+text+'</p>'); 
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}
