var howMany = 11;
var quote = new Array(howMany);
var quoteName = new Array(howMany);
var imageName = new Array(howMany);

	quote[0]="\"We can advise you on the best way to finance a plan that will suit your circumstances\"";
	quote[1]="\"We were not sure if we could afford the care needed, but LRH-Homes made it easy to understand how we could give Dad the best quality of life at LRH-Homes\"";
	quote[2]="\"LRH-Homes really do make me feel that this is <strong>my home</strong>\"";
	quote[3]="\"The staff are always friendly and caring\"";
	quote[4]="\"Nothing is too much trouble\"";
	quote[5]="\"I had viewed several homes looking for a place for my mother but stopped looking once I had seen LRH-Homes\"";
	quote[6]="\"The activities program is excellent\"";
	quote[7]="\"The Home organises outings and trips to places I could not go to by myself\"";
	quote[8]="\"The entertainment program of singers and musicians really brighten up my day\"";
	quote[9]="\"The food is excellent\"";
	quote[10]="\"As a visiting professional I visit many homes in the borough and this is definitely the best by far\"";
	
	quoteName[0]="Ms Mary Anne MacLellan";
	quoteName[1]="&nbsp;";
	quoteName[2]="&nbsp;";
	quoteName[3]="&nbsp;";
	quoteName[4]="&nbsp;";
	quoteName[5]="&nbsp;";
	quoteName[6]="&nbsp;";
	quoteName[7]="&nbsp;";
	quoteName[8]="&nbsp;";
	quoteName[9]="&nbsp;";
	quoteName[10]="&nbsp;";

	imageName[0]="image_1.jpg";
	imageName[1]="image_2.jpg";
	imageName[2]="image_3.jpg";
	imageName[3]="image_4.jpg";
	imageName[4]="image_5.jpg";
	imageName[5]="image_6.jpg";
	imageName[6]="image_7.jpg";
	imageName[7]="image_8.jpg";
	imageName[8]="image_9.jpg";
	imageName[9]="image_10.jpg";
	imageName[10]="image_1.jpg";

function rndnumber(){
	var randscript = -1;
	 while (randscript < 0 || randscript > howMany || isNaN(randscript)){
		randscript = parseInt(Math.random()*(howMany));
	 }
	return randscript;
}
quo = rndnumber();
quoteMain = quote[quo];
quoteName = quoteName[quo];
imageName = imageName[quo];
//document.write(quox);


document.write("<img src=\"images\/random\/"+imageName+"\" alt=\"\" width=\"159\" height=\"154\" \/>");
document.write("<div class=\"quote\">"+quoteMain+"</div><div class=\"quoteRef\">"+quoteName+"</div>");

