 var windowHandle = null; var globalImage = null; var globalImageWidth = null; var globalImageHeight = null; var globalCaption = null;//Version with &copy; FD loads in Photo.htmlfunction myOpen(localImage,localCaption,imageWidth,imageHeight){     globalImage = localImage;     globalCaption = localCaption;     globalImageWidth = imageWidth;     globalImageHeight = imageHeight;	 windowWidth = imageWidth + 34;	 if (imageHeight > screen.height - 140)			 	windowHeight = screen.height - 50	 else		windowHeight = imageHeight + 110;	 posX = screen.width/2 - imageWidth/2 - 20;     windowHandle = window.open('photo.html','windowName','toolbar=no,location=no,status=no, scrollbars=yes,resizable=no,width='+ windowWidth +',height='+ windowHeight +',top=0,left='+ posX );windowHandle.moveTo(posX,0);}//Version without copyright FD loads in Photo1.html. Size is also different.function myOpen1(localImage,localCaption,imageWidth,imageHeight,whichScreen){     globalImage = localImage;     globalCaption = localCaption;     globalImageWidth = imageWidth;     globalImageHeight = imageHeight;	 windowWidth = imageWidth + 34;	 if (imageHeight > screen.height - 110)			 	windowHeight = screen.height - 50	 else		windowHeight = imageHeight + 80;	 posX = screen.width/2 - imageWidth/2 - 20;//whichScreen gives the name of the window to open: e.g. if whichScreen=1 then photo1.html will open     windowHandle = window.open('photo'+ whichScreen +'.html','windowName','toolbar=no,location=no,status=no, scrollbars=yes,resizable=no,width='+ windowWidth +',height='+ windowHeight +',top=0,left='+ posX );windowHandle.moveTo(posX,0);}//Version for simple window with text onlyfunction myOpen2(localImage){    globalImage = localImage;	posX = screen.width/2 - 205;    windowHandle = window.open(globalImage,'popup','toolbar=yes,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=450,height=400');windowHandle.moveTo(posX,0);}function changeIt(MyImage1, MyImage2) { if (document.images) { document[MyImage1].src = MyImage2; } ;} function displayNavigator(){	var myText=null;	myText ='Your browser is: ' + navigator.appName + '\n' + 'Version ';	myText += navigator.appVersion + '\n';	myText +='Your screen width is '+ screen.width+' pixels'+'\n';	myText +='Colour depth is '+ screen.colorDepth+' bits';	alert(myText);	}// -------------------------------------------------------//  newUntil ()//  Dynamic News//  Written by Jerry Aman, Optima System, Aug 31, 1996. //  Part of the PageSpinner distribution.//  Input:	year, month (1-12) and day (1-31)   // 		Until the last day the new image should be displayed// -------------------------------------------------------function newUntil_img (year, month, day){	now = new Date();	expire = new Date (year, month-1, day, 		now.getHours(), now.getMinutes(), now.getSeconds()+1 );	if ( expire.getTime()  >=  now.getTime())		document.write(		'<IMG SRC="images/New1.gif" ALIGN="TOP" ALT="NEW!">' );}function newUntil_txt (year, month, day){	now = new Date();	expire = new Date (year, month-1, day, 		now.getHours(), now.getMinutes(), now.getSeconds()+1 );	if ( expire.getTime()  >=  now.getTime())		document.write(	'<FONT color="#ff0033"><B> (New) </B></FONT>');}function updateUntil_txt (year, month, day){	now = new Date();	expire = new Date (year, month-1, day, 		now.getHours(), now.getMinutes(), now.getSeconds()+1 );	if ( expire.getTime()  >=  now.getTime())		document.write(	'<FONT color="#009900"><B> (Updated) </B></FONT>');}