// Script by Fran&ccedil;ois de Dardel var windowHandle = null; var globalImage = null; var globalImageWidth = null; var globalImageHeight = null; var globalCaption = null;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);}function changeIt(MyImage1, MyImage2) { if (document.images) { document[MyImage1].src = MyImage2; } ;} // -------------------------------------------------------//  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_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/Updated.gif" ALIGN="TOP" ALT="Updated!">' );}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>');}