var activeSwap = 1;
var activeSwap2= 1;

function initfchange(){
	document.getElementById('swapContent' + activeSwap).style.display = 'block';
	//document.getElementById('swapContent' + activeSwap).style.visibility = 'visible';
	document.getElementById('whiteactive1').style.backgroundColor = '#f2f2f2';
	document.getElementById('whiteactive1').style.color = '#f37a1f';
}

function fchange(swapTo){
if(swapTo!=activeSwap){
	document.getElementById('whiteactive'+activeSwap).style.backgroundColor = '#f2f2f2';
	document.getElementById('whiteactive'+activeSwap).style.color = '#656565';
	document.getElementById('swapContent' + activeSwap).style.display = 'none';
	document.getElementById('swapContent' + activeSwap).style.visibility = 'hidden';
	document.getElementById('swapContent' + swapTo).style.display = 'block';
	document.getElementById('swapContent' + swapTo).style.visibility = 'visible';
	activeSwap=swapTo;
}
}
function fover(swapTo){
	document.getElementById('whiteactive'+swapTo).style.backgroundColor = '#f2f2f2';
	document.getElementById('whiteactive'+swapTo).style.color = '#f37a1f';
}
function fout(swapTo){
	if(swapTo!=activeSwap){
	document.getElementById('whiteactive'+swapTo).style.backgroundColor = '#f2f2f2';
	document.getElementById('whiteactive'+swapTo).style.color = '#656565';
	}
}


AddToOnloadHandler(initfchange);