

		// This is the only important thing here - you need to
		// specify where the animation images are - once online
		// this will just be /images.

		var animationStills = "images/animation/";

		// The number of images doesnt have
		// to be set, at the moment theres 5 - if you want more or less
		// just copy and paste one of the lines in the block below.

		var Pic = new Array();

		Pic[0] = animationStills + "1.jpg";
		Pic[1] = animationStills + "2.jpg";
		Pic[2] = animationStills + "3.jpg";
		Pic[3] = animationStills + "4.jpg";
		Pic[4] = animationStills + "5.jpg";
		Pic[5] = animationStills + "6.jpg";

		// e.g. to have 6 just add the line Pic[5] = animationStills + "6.jpg" here
		// notice that the array index starts at 0, so the first number in the line
		// will be 1 less than the actual image number, e.g. index 0 is image 1.jpg..

		// You can set the length of time each frame in the animation
		// stays up before it fades to the next here (in milliseconds)
		var slideShowSpeed = 2000;

		// You can set how long it takes the animation to fade to the next image here (in seconds)
		var crossFadeDuration = 2;

		var t;
		var j = 0;
		var p = Pic.length;

		var preLoad = new Array();

		for (i = 0; i < p; i++){
		   preLoad[i] = new Image();
		   preLoad[i].src = Pic[i];
		}

		function runSlideShow(){

		   target = document.getElementById("animation");

		   if (1==1){
		      target.style.filter="blendTrans(duration=2)";
		      target.style.filter="blendTrans(duration=crossFadeDuration)";
		      target.filters.blendTrans.Apply();
		   }

		   if(j < p){
		   	target.src = preLoad[j].src;
		   }

		   if (1==1){
		      target.filters.blendTrans.Play();
		   }

		   j = j + 1;
		   //if (j > (p-1)) j=0;
		   if(j <= p){
		   	t = setTimeout('runSlideShow()', slideShowSpeed);
		   }
		   if (j > p){
		    target.style.filter="blendTrans(duration=2)";
		    target.style.filter="blendTrans(duration=crossFadeDuration)";
		    target.filters.blendTrans.Apply();
		    target.src = animationStills + "1.jpg";
		    target.filters.blendTrans.Play();
		   }
		}

    	function changeURL(target){
 			document.URL=target;
		}
