var current_testimonial = 0;
		var testimonials = new Array();		
		
		// set content here
		testimonials[0] = '<p>"James and his team have been outstanding, very professional yet also flexible to fit around our needs. The finished videos look great and I would have no hesitation recommending the Oxford Digital Media team to others."</p><p class="attribution"><b>Tameron Chappell</b></p>';
		testimonials[1] = '<p>"Oxford Digital Media have great techniques and highly professional skills, which is why their videos are so great to watch. I have used their service and would use it again in the future as the short films made by them are very attractive and so exceedingly popular."</p><p class="attribution"><b>Dr. Allen, Fine Treatment</b></p>';
		testimonials[2] = '<p>"My experience of the service provided by Oxford Digital Media was extremely positive all the way through my transaction with them. They are friendly, straightforward, professional, patient and business like. The end product is of excellent quality and I thoroughly recommend their services."</p><p class="attribution"><b>Angela Austin. Autistic Spectrum Solutions</b></p>';


						
		function display_testimonial()
		{
			// work out next testimonial
			if (current_testimonial + 1 >= testimonials.length) 
			{
			    current_testimonial = 0;
			} 
			else 
			{
			    current_testimonial++;
			}
			
			// fade out
			new Effect.Morph('placeholder', 
			{
				duration: .3,
				afterFinish: function() 
				{
					// set new content
					$('placeholder').update(testimonials[current_testimonial]);		
					
					// fade in		
					new Effect.Morph('placeholder', {duration: .3});					
				}
			});		

		}
		
		document.observe("dom:loaded", function() 
		{
			// set the first testimonial
			$('placeholder').update(testimonials[0]);
		
			// set to rotate
			setInterval('display_testimonial();', 6000); // every 4 seconds		  
		});
