/*home.js for use on the home page*/
/*methods herein are used with homepage mbox*/
/*this assumes that /scripts/showHide.js is also included*/

function switchContent(showNumber) {
	for(i = 1; i <=3; i++) {
		if(showNumber == i) {
			show("offerFirstRead" + i);
			show("offerContent" + i);
			document.getElementById("offerTab" + i).className = "active";
		} else {
			hide("offerFirstRead" + i);
			hide("offerContent" + i);
			document.getElementById("offerTab" + i).className = "off";
		}
	}
}	