<!-- BEGIN JAVASCRIPT
function windowopen(fileName, wide, high, pTitle)
{
	var winsize;
	var scrolls = 0;
	var difference = 100;

	if( high > screen.height - difference){
		high = screen.height - difference;
		scrolls = 1;
	}
	else
		if ( wide > screen.width - difference ){
			wide = screen.width - 100;
			scrolls = 1;
		}
		else{
			scrolls = 0;
			high += 20;
		}

	var top1 = (screen.height-high)/2;
	var left1 = (screen.width-wide)/2;

	winsize = window.open( "", "Pics",
	 "width="+wide+",height="+high+",resizable,scrollbars="+scrolls+",left="+left1+",top="+top1+"");

	winsize.document.write('<html><head><title>' + pTitle + '</title>');
	winsize.document.write('<STYLE>cursor:hand;</STYLE></head>');

	winsize.document.write('<BODY style="margin:0">');

	winsize.document.write('<img src="' + fileName + '" >');

	winsize.document.write('<div style="position:relative;bottom:02px;width:'+wide+';text-align:center;color:black;font:bold 90% arial;background-color:white;">');
	winsize.document.write('&lt;&lt;<a style="color:#000;font-weight:bold;text-decoration:none;" href="#" onclick="window.close();">Close Window</a>&gt;&gt;');
	winsize.document.write('</div></body></html>');

	winsize.document.close();

	winsize.focus();
}
// END JAVASCRIPT -->