// Gallery script.
// With image cross fade effect for those browsers that support it.
// Script copyright (C) 2004 www.cryer.co.uk.
// Script is free to use provided this copyright header is included.
      function LoadGallery(pictureName,imageFile,titleCaption,captionText)
      {
			if (document.all)
  			{
				document.getElementById(pictureName).style.filter="blendTrans(duration=1)";
				document.getElementById(pictureName).filters.blendTrans.Apply();
 			}
			document.getElementById(pictureName).src = imageFile;
			if (document.all)
 			{
 				document.getElementById(pictureName).filters.blendTrans.Play();
			}
			document.getElementById(titleCaption).innerHTML=captionText;
      }
//If you are targeting IE or you do not like the fade effect then you could remove the code required for the fade effect and the above JavaScript would then reduce down to:

// Gallery script.
// With image cross fade effect for those browsers that support it.
// Script copyright (C) 2004 www.cryer.co.uk.
// Script is free to use provided this copyright header is included.
//function LoadGallery(pictureName,imageFile,titleCaption,captionText)
//{
//  document.getElementById(pictureName).src = imageFile;
 // document.getElementById(titleCaption).innerHTML=captionText;
//}


