function openPictureWindow(imgURL,imageWidth,imageHeight,altName,posLeft,posTop) {
var locstr, newWindow;
	locstr = "resizable=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop;
	newWindow = window.open("","newWindow",locstr);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+altName+'</title>'); 
	newWindow.document.write('<script language="JavaScript1.2"> ');
	newWindow.document.write('  if (window.Event) document.captureEvents(Event.MOUSEUP); ');
	newWindow.document.write('  function nocontextmenu() { ');
	newWindow.document.write('  	event.cancelBubble = true; ');
	newWindow.document.write('  	event.returnValue = false; ');
	newWindow.document.write('  	return false; ');
	newWindow.document.write('  } ');
	newWindow.document.write('  function norightclick(e) { ');
	newWindow.document.write('  	if (window.Event) { ');
	newWindow.document.write('  		if (e.which == 2 || e.which == 3) ');
	newWindow.document.write('  			return false; ');
	newWindow.document.write('  	} ');
	newWindow.document.write('  	else ');
	newWindow.document.write('  		if (event.button == 2 || event.button == 3) { ');
	newWindow.document.write('  			event.cancelBubble = true; ');
	newWindow.document.write('  			event.returnValue = false; ');
	newWindow.document.write('  			return false; ');
	newWindow.document.write('  		} ');
	newWindow.document.write('  } ');
	newWindow.document.write('  document.oncontextmenu = nocontextmenu; ');
	newWindow.document.write('  document.onmousedown = norightclick; ');
	newWindow.document.write('</script>');
	newWindow.document.write('<body bgcolor="#000000" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">');
	newWindow.document.write('<img src="'+imgURL+'" width="'+imageWidth+'" height="'+imageHeight+'" alt="'+altName+'">'); 
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}