	var intCounter = 0, intCount = 0 ;
	var strHorseImage ;
	var intPlayController = 0 ;
	var intPlay = 0, intPlaying = 0 ;
	var MyTimer ;
	
	var horseArray = new Array() ;
	
		
	function timer()
		{
		MyTimer = setTimeout("showGallop()", 10000) //This function controls the speed.
		}
		
	
	function loadArray()
		{
		for (intCount = 0; intCount < 9; intCount++)
			{
			strHorseImage = "images/Template/FlashHolder" + intCount + ".jpg" ;
			horseArray[intCount] = new Image();
			horseArray[intCount].src = strHorseImage ;
			}
			document.getElementById('divImageHolder').style.visibility = "visible" ;
		}
		
	function showGallop()
		{
		document.getElementById('divImageHolder').style.visibility = "visible" ;
		document.getElementById('divImageHolder').src = horseArray[intCounter].src ;

		intCounter++ ;
		if (intCounter == 8)
			{
			intCounter = 0 ;
			clearTimeout(MyTimer) ;
			}
		timer();
		}
		

