/*	filename: tab.js
	Note, when adding or removing a city, be sure to add it in all three lines below. The one at the top should be the selected city.
*/

function switchTab(showThis) {
	$('sanfranciscoTab').style.display='none';
	$('bostonTab').style.display='none';
	$('floridaTab').style.display='none';
	$('colorado10Tab').style.display='none';
	$(showThis).style.display='';

	$('tcsanfrancisco').className = '';
	$('tcboston').className = '';
	$('tcflorida').className = '';
	$('tccolorado10').className = '';

	if (showThis=='bostonTab') {
		$('tcboston').className = 'selectedboston';
	} else if (showThis=='colorado10Tab') {
		$('tccolorado10').className = 'selectedcolorado10';	
	} else if (showThis=='floridaTab') {
		$('tcflorida').className = 'selectedflorida';	
	} else {
		$('tcsanfrancisco').className = 'selectedsanfrancisco';
	}
	
	//setCookie('ta_last_tab', showThis, 14);
}

