function whatBrowser() {
	if (navigator.userAgent.match(/firefox/i)) {
		document.getElementById('firefox').style.display = "block";
			if (navigator.userAgent.match(/mac/i)) {
				document.getElementById('mac_ss').style.display = "block";
			}
			else if (navigator.userAgent.match(/windows/i)) {
					document.getElementById('windows_ss').style.display = "block";
			}
	} else {
		if (navigator.userAgent.match(/mac/i)) {
			changeVersion('mac');
		}
		else if (navigator.userAgent.match(/windows/i)) {
			changeVersion('windows');
		}
	}
}


function changeVersion(showThis) {
	document.getElementById(showThis).style.display = "block";
	if (showThis == 'windows') {
		document.getElementById('windows_ss').style.display = "block";
		document.getElementById('mac_ss').style.display = "none";
		document.getElementById('mac').style.display = "none";
		document.getElementById('firefox').style.display = "none";
		document.getElementById('toggle_faq').style.display = "block";
	}

	if (showThis == 'mac') {
		document.getElementById('mac_ss').style.display = "block";
		document.getElementById('windows_ss').style.display = "none";
		document.getElementById('windows').style.display = "none";
		document.getElementById('firefox').style.display = "none";
		document.getElementById('toggle_faq').style.display = "block";
	}

}

initFunctions(whatBrowser);
