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';
    
    try{
	if(what==2){
		  document.getElementById("btip").innerHTML = "<h1>Buying Tips <span style='color: #cbcbcb;'>for the experienced player</span></h1>"
    }else if(what==3){
    	  document.getElementById("btip").innerHTML = "<h1>Buying Tips <span style='color: #cbcbcb;'>for the novice player</span></h1>"
    }
    } catch(e){}
	
	
}

window.onload = function() {
	var theDivs2 = document.getElementsByTagName('div');
	for(var j = 1; j < theDivs2.length; j++){
		if(theDivs2[j].id.search('swap2') != -1){
			theDivs2[j].style.display = 'none';
		}
		if(theDivs2[j].id.search('swap3') != -1){
			theDivs2[j].style.display = 'none';
		}
	}
}


