//  Testimonials array

tArray = new Array();
tArray[0] = new Array();
tArray[0]["delay"] = "8000";
tArray[0]["quote"] = "Cody Pools ranks 13th in the nation in the Top 50 Pool Builders";

tArray[1] = new Array();
tArray[1]["delay"] = "8000";
tArray[1]["quote"] = "Cody Pools wins Silver Award for Best Poolscape at the 2010 Austin Max Awards";

tArray[2] = new Array();
tArray[2]["delay"] = "8000";
tArray[2]["quote"] = "Cody Pools wins Best Poolscape at the 2009 San Antonio Summit Awards";

tArray[3] = new Array();
tArray[3]["delay"] = "8000";
tArray[3]["quote"] = "Cody Pools wins International Awards of Excellence Design Award for 2009";



var nNum = 0;
var oldskool = false;

if (document.all||document.getElementById) {
	document.write('<span id="QuoteIE" style="width:342px"></span>');
}
else if (document.layers) {
	document.write('<ilayer id="QuoteNSParent"><layer width="240" id="QuoteNSChild"></layer></ilayer>');
	}
else { oldskool = true; ShowQuote();
}

nothing = ShowQuote();

function ShowQuote() {
	rNum = Math.floor((Math.random()*tArray.length)-.01);
	if (rNum < 0) {rNum=0;}
	
	qblock ='<table border="0" cellpadding="2" cellspacing="0"><tr><td align=left><font face="Arial, Helvetica, sans-serif" size="1px" color="#000000"><span class="testimony">&quot;';
	qblock += tArray[rNum]["quote"];
	qblock += '&quot;</span></font></td></tr>';
	qblock +='<tr><td align=left><font face="Arial, Helvetica, sans-serif" size="1px" color="#000000">';
	qblock += '</font></td></tr></table>';
	
	if (document.layers) {
		qpos = document.QuoteNSParent;
		qtemp= qpos.document.QuoteNSChild;
		qtemp.document.write(qblock);
		qtemp.document.close();
	} else if (document.all) {
		QuoteIE.innerHTML = qblock;
	} else if (document.getElementById) {
		document.getElementById("QuoteIE").innerHTML = qblock;
	}


	if (!oldskool) {
		setTimeout("ShowQuote()",tArray[rNum]["delay"]);
	}

}





