function showContent(newImage,x,force) {
	if(current==x||force==true) {
		hideContent();
		document.getElementById('bottomcontent').style.backgroundImage='url(Images/'+newImage+')';
		document.getElementById('content'+x).style.display='block';
	}
}
function swapImage(offImage,onImage,x) {
	hideContent();
	document.getElementById('bottomcontent').style.backgroundImage='url(Images/'+offImage+')';
	current = x;
	setTimeout('showContent("'+onImage+'",'+x+',false)', 6000);
}
function hideContent() {
	for (x=0;x<8;x++)
		document.getElementById('content'+x).style.display='none';
}
var current = 0;