
function openPicture(imageName,imageWidth,imageHeight,alt,posLeft,posTop) {
var winwidth=imageWidth*1.1;
var winheight=imageHeight*1.1;
newWindow = window.open("","newWindow","resizable=yes,status=yes,width="+winwidth+",height="+winheight+",left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#EFEFEF">'); 
	newWindow.document.write('<div align="center"><img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt='+alt+'>'); 
	newWindow.document.write('</div></body></html>');
	newWindow.document.close();
	newWindow.focus();
}
