
var gblTextItems = new Array( 
    "&quot;Brainstorm Web Design has been a tremendous resource for our non-profit agency.  The expertise and quality of service offered is exceptional.  Thanks to Brainstorm Web Design's hard work and diligence, our agency has a wonderful and user friendly website, with capabilities to quickly and easily update our information.<br /><br />I encourage you to learn more about Brainstorm Web Design…a reputable and dependable company.&quot;<div id='clientname'>Christy Johnson, Executive Director<br />Community Alliance Against Family Abuse</div>",
	"&quot;Brainstorm Web Design's concept and execution of our new website development was innovative, timely and effective. Steve has actively supported our agency by providing on-line cart support for conference registrations and donations, as well as upgrades we have requested to enhance functionality.<br /><br />His support has been most responsive and effective. I highly recommend Brainstorm Web Design's services to anyone desiring to implement a website designed to portray a professional image to the public.&quot;<div id='clientname'>Harland C. Robinson, Executive Director<br />Arizona Hospice and Palliative Care Organization</div>",
    "<br />&quot;We are very pleased with Brainstorm's work in developing our website, www.unitedwayofpc.org. I receive compliments from other non-profits on not only how well-organized and user-friendly the site is, but also on its professional and attractive appearance.&quot;<div id='clientname'>Bill Ludeke, Executive Director<br />United Way of Pinal County</div>",
    "<br />&quot;Steve, you've done a great job giving my website just what it needed – it's eye catching, colorful and informative.  I've gotten inquiries from all over the United States.<br /><br />Thanks again for a job well done.&quot;<div id='clientname'>Stephanie McCormick, Owner<br />SewColorful Quilts</div>"
    );
var gblTextItemnum = 0;

window.onload = initTextRotators;

function initTextRotators() {
	rotateText1();
}

function rotateText1() {
	var currentObject = "";
	var newObject = "";
	var elementid1 = "hometestimonials1";
	var elementid2 = "hometestimonials2";
	if (gblTextItemnum % 2)
	{
		currentObject = document.getElementById(elementid1); 
		newObject = document.getElementById(elementid2); 
	}
	else 
	{
		currentObject = document.getElementById(elementid2); 
		newObject = document.getElementById(elementid1); 
	}

	$(currentObject).slideUp(1000);

	setTimeout("rotateText1b()",1000);

}
function rotateText1b() {
	var currentObject = "";
	var newObject = "";
	var elementid1 = "hometestimonials1";
	var elementid2 = "hometestimonials2";
	if (gblTextItemnum % 2)
	{
		currentObject = document.getElementById(elementid1); 
		newObject = document.getElementById(elementid2); 
	}
	else 
	{
		currentObject = document.getElementById(elementid2); 
		newObject = document.getElementById(elementid1); 
	}

	newObject.innerHTML = gblTextItems[gblTextItemnum];
	$(newObject).slideDown(1000);

	gblTextItemnum = gblTextItemnum + 1;
	if (gblTextItemnum > 3)
	{
		gblTextItemnum = 0;
	}
	setTimeout("rotateText1()",12000);
}


