// JavaScript Document
<!--

function showFeature(){

images = new Array();

images[0] = "<img src='images/cs_jody.jpg' width='93' height='93' /><p>The feedback from Jody's work ethic and ability and great from every site he was put into. <a href='client-stories.php#jody'><strong>Jody's Story..</strong></a></p>";

images[1] = "<img src='images/cs_alice.jpg' width='93' height='93' /><p>\"All the staff in the agency were so friendly and helpful that I felt very much at home from the start.\" <a href='client-stories.php#alice'><strong>Alice's Story...</strong></a></p>";

images[2] = "<img src='images/cs_alfred.jpg' width='93' height='93' /><p>Alfred is a temporary employee who joined Three Q Catering in 2004. <a href='client-stories.php#alfred'><strong>Alfred's Story...</strong></a></p>";

images[3] = "<img src='images/cs_stephen.jpg' width='93' height='93' /><p>Stephen was able to see what it was like to work at Palazzo's before he made the decision to take a permanent role there. <a href='client-stories.php#stephen'><strong>Stephen's Story...</strong></a></p>";

images[4] = "<img src='images/cs_robert.jpg' width='93' height='93' /><p>Robert is a talented Chef who has worked with Three Q Catering for over two years. <a href='client-stories.php#robert'><strong>Roberts's Story...</a></strong></p>";

images[5] = "<img src='images/cs_stmarys.jpg' width='93' height='93' /><p>Three Q has supplied St. Mary's Hospital kitchen with chefs and kitchen staff for a number of years.. <a href='client-stories.php#stmarys'><strong>St Mary's Story...</a></strong></p>";

images[6] = "<img src='images/cs_karolyna.jpg' width='93' height='93' /><p>\"When I started working with Three Q Catering I attended their in-house induction programme...\" <a href='client-stories.php#karolyna'><strong>Karolyna's Story...</a></strong></p>";

//returns array
arr = generateNums(images.length-1);

//if j==i 

document.write( "<div class='box'>" + images[arr[0]] + "</div><!-- box-->");
document.write( "<div class='box'>" + images[arr[1]] + "</div><!-- box-->");
document.write( "<div class='box'>" + images[arr[2]] + "</div><!-- box-->");

//done

}
function generateNums(len){
	var arr3Nums = new Array();
	//
	arr3Nums[0] = Math.round(len*Math.random())
	//
	var j = Math.round(len*Math.random())
	while(j == arr3Nums[0]){
		//generate new number until unique one occurs
		j = Math.round(len*Math.random())
	}
	arr3Nums[1]=j;
	//
	var k = Math.round(len*Math.random())
	while(k == arr3Nums[0] || k == arr3Nums[1]){
		//generate new number until unique one occurs
		k = Math.round(len*Math.random())
	}
	arr3Nums[2]=k;
	return arr3Nums;
}
//done

// -->