<!--
var randomOrder = 1;
var imgArray = new Array();
imgArray[0] = "rhs/rhs2.jpg";
imgArray[1] = "rhs/rhs3.jpg";
imgArray[2] = "rhs/rhs4.jpg";
imgArray[3] = "rhs/rhs5.jpg";
imgArray[4] = "rhs/rhs6.jpg";
imgArray[5] = "rhs/rhs7.jpg";
imgArray[6] = "rhs/rhs8.jpg";
imgArray[7] = "rhs/rhs9.jpg";
imgArray[8] = "rhs/rhs10.jpg";
imgArray[9] = "rhs/rhs11.jpg";
imgArray[10] = "rhs/rhs12.jpg";
imgArray[11] = "rhs/rhs13.jpg";

if (randomOrder == 1) {
	var t = Math.floor(Math.random() * imgArray.length);
} else {
	var t = 0;
}
function changeSlide() {
	tf = 0;
	$("#slide").fadeOut(100, function() {
		document.images.slide.src=imgArray[t];
	});
	$("#slide").load(function() {
		$("#slide").fadeIn(1000);
	});
	if (t < imgArray.length) {
		if (randomOrder == 1) {
			t = Math.floor(Math.random() * imgArray.length);
		} else {
			t++;
		}
	} else {
		t = 0;
	}
	setTimeout("changeSlide()",7000)
}

function changeImage(theimg, theurl) {
	$("#img1").fadeOut(100, function() {
		document.getElementById(theimg).src = theurl;
	});
	$("#img1").load(function() {
		$("#img1").fadeIn(1000);
	});
}

function changeQuote() {

    var quotes = [
        '"We have not been disappointed, and it is only going to get better. We love our garden!"<br/><br/><b>John and Jan Lawrence</b><br/>Weston-super-Mare',
        '"I would recommend their services to anyone"<br/><br/><b>Jonathan and Lana Ward</b><br/>Pucklechurch, Bristol',
        '"Thank you for a fantastic job"<br/><br/><b>Sean and Felicity Williamson</b><br/>Weston-super-Mare',
        '"Will recommend to anyone who asks"<br/><br/><b>Paul and Helen Robbins</b><br/>Weston-super-Mare',
        '"The garden looks amazing, feels very welcoming and is well used"<br/><br/><b>Ann Ramsey</b><br/>Springboard',
        '"I was very pleased with the standard of the workmanship"<br/><br/><b>Jackie Broom</b><br/>Weston-super-Mare',
        '"Clean, considerate, professional but friendly"<br/><br/><b>Miss Ann Baker</b><br/>Weston-super-Mare',
        '"Almost a shame I haven\'t got more garden work for them to do"<br/><br/><b>Paul and Helen Robbins</b><br/>Weston-super-Mare',
        '"You are gentlemen with talented green fingers"<br/><br/><b>John & Jan Lawrence</b>',
        '"We will certainly be recommending you to our friends and family. Thank you so much - super job"<br/><br/><b>Colin & Wendy Pullinger</b><br/>Axbridge, Somerset',
        '"You have done a brilliant job - the garden looks fantastic"<br/><br/><b>Malcolm, Helen and Hannah</b><br/>Bruton, Somerset',
        '"There was good communication and the standard of work was exceptional."<br/><br/><b>Jenny Kingston, Clevedon Children\'s Centre</b><br/>The Barn, Clevedon'
    ];

    var r = Math.round(Math.random() * (quotes.length-1));
    document.getElementById("quotediv").innerHTML = "<span class=\"quotetext\">" + quotes[r] + "</span>";

    setTimeout("changeQuote()", 7000);
}

//-->
