divs = new Array ("myspace", "open", "entrance", "specialinfo");
var divs_temp="";
var a=0;
var i=0;
var rand = 10*Math.random();
rand = Math.round(rand);
for (i=0;i<=rand;i++) {
	divs_temp = divs.shift();
	divs.push(divs_temp);
}

function swap_content_right() {
	divs_temp = divs.shift();
	divs.push(divs_temp);
	document.getElementById(divs[0]).style.display = "block";
	document.getElementById(divs[1]).style.display = "none";
	document.getElementById(divs[2]).style.display = "none";
	document.getElementById(divs[3]).style.display = "none";
	setTimeout("swap_content_right ()", 5000);
}
