var textlist = Array ("Pray for the Fusion club:", "Please pray on Wednesday evening from 6:05 to 6:20 pm for the Fusion club at Bethany.");
	counter = -1;


	function newmessage () {
		counter ++;
		messageindex = counter % textlist.length;
		if (textlist[messageindex]) {
			buildstring (messageindex, 0);
		} else {
			newmessage ();
		}
	}

	function buildstring (messageindex, chars) {
		message = textlist[messageindex].substring (0, chars);

		output = '';
		output += ' ';
		if (textlist[messageindex]) output += '<p class="announce">' + message + '</p>';
		else output += message;



		document.getElementById ('announce').innerHTML = output;

		if (chars <= textlist[messageindex].length) {
			chars ++;
			setTimeout ("buildstring (" + messageindex + ", " + chars + ")", 50);
		} else setTimeout ("newmessage ()", 5000);
	}

	newmessage ();


