<!--//----------------------------------------------------------------------// SUB WINDOW OPENER SCRIPTS//----------------------------------------------------------------------// Last update: 8/1/03// Author: 		 James Khazar// Sample://  openSubWindow(//    	'http://danm.ucsc.edu/media/mfa_show_07/freeman_project_big.jpg',//    	'Freeman_Project',//    	903, 843);var gWindowAgentString=navigator.userAgent.toLowerCase();var myWindow=null;function openSubWindow(theURL,winName,theWidth,theHeight) {		// If it isn't explorer or safari, then take off 13 pixels		//alert(gWindowAgentString);		if (gWindowAgentString.indexOf("safari") !=-1) {			theWidth=theWidth+3;			theHeight=theHeight+5;		}	myFeatureString = "WIDTH=" + theWidth + ", HEIGHT=" + theHeight;		//if (myWindow != null) {		//	myWindow.close();		//}		myWindow=window.open(theURL,"--",myFeatureString);		myWindow.focus();	}//-->function testMe(){	alert("tested");}var picInfo=new Array();picInfo=document.location.search.substr(1).split('&');function resizeWindow() {	var wide=document.getElementById('thePic').width;	var high=document.getElementById('thePic').height;	window.resizeTo(wide+10,high+25);    document.title=(unescape(picInfo[1]));	}// Usage: in link to open window // <img src="whatever" href="javascript:;" alt="Click here for Full Size Pic!" onClick=" // window.open('sampleviewer.html?samples/pictname.jpg&amp;PictTitle','','width=NN,height=NN')"//// Usage: in opened window embed between body tags//	<table>//		<tr>//			<td>//				<script language="JavaScript" type="text/JavaScript">//				document.write('<a href="javascript:window.close(0)"><img id="thePic" src="'+unescape(picInfo[0])+'" border=0></a>');//				</script (close tag)	//			</td>//  </tr>//</table>