
	var iterator = 0;
	var testimonials = new Array(
		{
			quote: "Very good. The rings look fantastic. Everything I imagined",
			cite: "Merridy P from Kurralta Park"
		},
		{
			quote: "Very happy with your service! Definitely, we will come back",
			cite: "Simone J from Bedford Park"
		},
		{
			quote: "Excellent service and result.",
			cite: "Darren W from St Agnes"
		},
				{
			quote: "Excellent, Highly recommend and great personal service.",
			cite: "Carolyn G from Gilberton"
		},
		{
			quote: "Fantastic service, great workmanship!",
			cite: "Rose M from Rosslyn Park"
		},
		{
			quote: "Excellent  service, great advice, quick and efficient.",
			cite: "Evert H from Glenside"
		},
		{
			quote: "Very attentive to customer needs, excellent attention to detail.",
			cite: "Bevan L from Rostrevor"
		},
		{
			quote: "Excellent!",
			cite: "Pelham A from Millswood"
		},
		{
			quote: "I felt safe dealing with a reliable &amp; honorable jeweller! Will definitely come back again!",
			cite: "Ann W from Glenalta"
		},
		{
			quote: "Richard was very helpful &amp; patient when designing my wedding ring. The service quality was exceptional.",
			cite: "Kimberley H from Sheidow Park"
		},
		{
			quote: "The service is very personal and I really felt comfortable with the jeweller. I would certainly be recommending DDS!",
			cite: "Tony K from Glenside"
		},
		{
			quote: "Fantastic, Richard was very accommodating. The jewellery my fiance and I have purchased is exceptionally good.",
			cite: "Crystal T from Para Hills"
		},
		{
			quote: "We would not hesitate to recommend Richard's services. We have got some beautiful jewellery, perfect!",
			cite: "Anthony L from Para Hills"
		},
		{
			quote: "Excellent, fast, professional and reliable.",
			cite: "Denis I from Hallett Cove"
		}

	);

	function arrayShuffle(theArray) {
	 	var len = theArray.length;
		var i = len;
		 while (i--) {
		 	var p = parseInt(Math.random()*len);
			var t = theArray[i];
	  		theArray[i] = theArray[p];
		  	theArray[p] = t;
	 	}
	};

	$(function(){
		$("#testimonial p ").html(testimonials[window.iterator]['quote']);
		$("#testimonial cite").html(testimonials[window.iterator]['cite']);
		window.iterator++;	
	});

	arrayShuffle(testimonials);

	function switchTestimonial(){
		$("#testimonial").fadeOut(1000, function(){
			$("#testimonial p ").html(testimonials[window.iterator]['quote']);
			$("#testimonial cite").html(testimonials[window.iterator]['cite']);
			if(window.iterator < testimonials.length-1){
				window.iterator++;		
			} else {
				window.iterator = 0;
			}
			
			$(this).fadeIn(1000);
		});
	}

	setInterval(switchTestimonial, 8000);
