function swap(what){
	var theDivs = document.getElementsByTagName('div');
	
	for(var i = 0; i < theDivs.length; i++){
		if(theDivs[i].id.search('swap') == 0){
			theDivs[i].style.display = 'none';
		}
	}
	document.getElementById('swap'+what).style.display = 'block';
	
	for(var j = 0; j < 4; j++){
		document.getElementById('li'+j).className = '';	
	}
	document.getElementById('li'+what).className = 'on';
}

window.onload = function() {
	var theDivs2 = document.getElementsByTagName('div');
	for(var j = 0; j < theDivs2.length; j++) {
		if(theDivs2[j].id.search('swap') != -1) {
			theDivs2[j].style.display = 'none';
		}
	}
	document.getElementById('swap0').style.display = 'block';
}
