function openPicWin(imageName,imageWidth,imageHeight,alt,sBord) {  // v4.01
if (document.getElementById) {
	var winWidth = imageWidth + 30;
	if (!alt) {
		var winHeight = imageHeight + 20;
	} else {
		var winHeight = imageHeight + 50;
	}
	if (!sBord) {
		var sBord = '';
	} else {
		sBord = ' style="border:none"';
	}
	newWindow = window.open("","newWindow","width="+winWidth+",height="+winHeight+",scrollbars=no,left=0,top=0");
	newWindow.document.open();
	newWindow.document.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n');
	newWindow.document.write('<html xmlns="http://www.w3.org/1999/xhtml">\n');
	newWindow.document.write('<head>\n');
	newWindow.document.write('<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n');
	newWindow.document.write('<title>'+alt+'</title>\n');
	newWindow.document.write('<link href="/pictures.css" rel="stylesheet" type="text/css" />\n');
	newWindow.document.write('</head>\n');
	newWindow.document.write('<body onBlur="self.close()">\n'); 
	newWindow.document.write('<div id="wrap">\n');
	newWindow.document.write('<p>');
	newWindow.document.write('<img src="'+imageName+'" width="'+imageWidth+'" height="'+imageHeight+'" alt="'+alt+'"'+sBord+' /></p>\n');
	if (alt) {
		newWindow.document.write('<p>'+alt+'</p>\n');
	}
	newWindow.document.write('</div>\n');
	newWindow.document.write('</body>\n');
	newWindow.document.write('</html>\n');
	newWindow.document.close();
	newWindow.focus();
  return false;
 } else {
  return true;
 }
}
