function pw(file,width,height,scrollbars,menubar){
window.open(file,'','toolbar=no,left=100,top=100,status=no,width='+width+',height='+height+',scrollbars='+scrollbars+',directories=no,location=no,resizable=no,menubar='+menubar+'');
} 

 var win;
  function showPICT(picture, title) {
 	var x = 650;
 	var y = 430;
 	var str = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width="+x+",height="+y+"";
	var z = parseFloat(navigator.appVersion);
  	var  title = title.replace("^", "\'");

	win = window.open("", "win", str);
	win.moveTo(25,25);


	win.document.write("<html><head><link href=/csw/css/csw.css rel=stylesheet type=text/css></head><title>");
	win.document.write(title);
	win.document.write("</title>")
	win.document.write("<" + "script language=\"Javascript\">");
    win.document.write("function resize() {");
  	win.document.write("var height = win.document.images[2].height;");
	win.document.write("var width = win.document.images[2].width;");
	win.document.write("var winHeight = height + 100;");
	win.document.write("var winWidth = width + 40;");
	win.document.write("if(winHeight >600){");
	win.document.write("	winHeight = 250;");
	win.document.write("}");
	win.document.write("if(winWidth > 800){");
	win.document.write("	winWidth = 250;");
	win.document.write("}");
	win.document.write("win.resizeTo(winWidth, winHeight);");
    win.document.write("}");
    win.document.write("</");
    win.document.write("script>");
	win.document.write("<body  onload=\"javascript:resize()\"><br><center><img src=\"");
	win.document.write(picture);
	win.document.write("\"><br><br>");
	win.document.write("<img src=\"/csw/img/arrow_blk.gif\" width=\"11\" height=\"11\" hspace=\"5\" align=\"absmiddle\">");
	win.document.write("<a href=\"javascript:window.close()\" class=whiteLink>CLOSE WINDOW</a></center><br></body></html>");

	if (navigator.appName.substring(0.8) == "Netscape" || z > 4){
 		this.win.focus();
 	}
 }
