
var gblTextItems = new Array( 
    "<strong><em>&quot;We've made close friends with really sincere Christians at Koinonia!&quot;</em></strong><br />- S.F.,  Koinonia member for 17 years",
    "<strong><em>Koinonia is our 'extended family'!&nbsp;&nbsp;They love and care for me as Brothers and Sisters should, and...I have the opportunity to return the favor as they have needs.&nbsp;&nbsp;We are celebrating over 32 years in this church fellowship.&quot;</em></strong><br />- S.R., Koinonia member for 32 years",
    "<strong><em>&quot;Koinonia is family, sharing, caring, fellowhip and worshipping!&quot;</em></strong><br />- S.H., Koinonia member for 29 years",
    "<strong><em>&quot;We value the Christ-centered and peace loving mature Christian fellowship at Koinonia.&quot;</em></strong><br />- G. family, Koinonia members for 6 months",
    "<strong><em>&quot;We love the people. Feels like a family. Pastor Rich is great. We know God sent us here.&quot;</em></strong><br />- B. family, Koinonia members for 3 months",
    "<strong><em>&quot;Koinonia is my church home and my church family.&quot;</em></strong><br />- R.T., Koinonia member for 15 years",
    "<strong><em>&quot;We've made close friends with really sincere Christians at Koinonia!&quot;</em></strong><br />- S.F.,  Koinonia member for 17 years"
    );
var gblTextItemnum = 0;

//window.onload = initTextRotators;

function initTextRotators() {
	rotateText1();
}

function rotateText1() {
	var currentObject = "";
	var newObject = "";
	var elementid1 = "testimonialbox1";
	var elementid2 = "testimonialbox2";
	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 = "testimonialbox1";
	var elementid2 = "testimonialbox2";
	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 > 6)
	{
		gblTextItemnum = 0;
	}
//	setTimeout("rotateText1()",25000);
	setTimeout("rotateText1()",12000);
}

