// JavaScript Document

var rand1 = 0;
	var useRand = 0;
	news = new Array;
	news[1] = "<p class='testimonialsContent'><a href='testimonials.html#testi1'>We have trusted Anne from OIS Financial with all our life insurance needs for the past 6 years! Anne is always there to answer...</a><span>Jamie and Kia Robertson</span></p>";
	news[2] = "<p class='testimonialsContent'><a href='testimonials.html#testi2'>Anne Nikiforuk is a consummate professional. She is easy to do business with, knows the Insurance providers and their products, listens...</a><span>Doug</span></p>";
	news[3] = "<p class='testimonialsContent'><a href='testimonials.html#testi3'>We have enjoyed your excellent and friendly service for a number of years; we always know that you will find the best coverage and price...</a><span>Orville and Maureen Endicott</span></p>";
	news[4] = "<p class='testimonialsContent'><a href='testimonials.html#testi4'>SRMRM Travel Insurance administrators and CHARTIS Insurance Company of Canada are pleased and honoured to work...</a><span>John Ingle</span></p>";
	news[5] = "<p class='testimonialsContent'><a href='testimonials.html#testi5'>In December 2008 a serious health problem occurred while snowbirding and we had to return to Canada immediately.</a><span>Jack &amp; Alice Hodge<br />Okanagan Falls, BC</span></p>";
	
	
	
function swapNews() 
{
	var newsnum = news.length - 1;
	do 
	{
		var randnum = Math.random();
		rand1 = Math.round((newsnum - 1) * randnum) + 1;
	} 
	while (rand1 == useRand);
	useRand = rand1;
	//document.randimg.src = images[useRand].src;
	document.getElementById('testiArea').innerHTML = news[useRand];
}

	
	
	
	
	
	
	