
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');
	hideitem('strap6');
	hideitem('strap7');
	hideitem('strap8');
	hideitem('strap9');	
	displayitem(object);
}

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


function externalLinks() {  
 if (!document.getElementsByTagName) return;  
 var anchors = document.getElementsByTagName("a");  
 for (var i=0; i<anchors.length; i++) {  
   var anchor = anchors[i];  
   if (anchor.getAttribute("href") &&  
       anchor.getAttribute("rel") == "external")  
     anchor.target = "_blank";  
 }  
}  
window.onload = externalLinks;
