
function displayitem(object) {
	if (document.layers && document.layers[object] != null)
		document.layers[object].display = 'block';
	
	if (document.all)
		document.all[object].style.display = 'block';
	
	if (document.getElementById)
		document.getElementById(object).style.display = "block";
	}

function hideitem(object) {
	if (document.layers && document.layers[object] != null)
		document.layers[object].display = 'none';
	
	if (document.all)
		document.all[object].style.display = 'none';
	
	if (document.getElementById)
		document.getElementById(object).style.display = "none";
	}

function showWord(object) {
	hideitem('strap1');
	hideitem('strap2');
	hideitem('strap3');
	hideitem('strap4');
	hideitem('strap5');
	displayitem(object);
}

var maxnum = 5;
function RunWords() {
if (x > maxnum) {x = 1;}
divid = "strap"+x;
showWord(divid);
x = x+1;
setTimeout("RunWords()", 2500);
}