function switchMain(goodMain, badMain)
{
	if ( !checkBrowser())
		window.location.replace( badMain);
	else
		window.location.replace(goodMain);
}