// ************************
// JavaScript Browser Check
// ************************

var doBrowserCheck = true;

if (navigator.cookieEnabled)
{
	if (getCookie("nobrowsercheck") == "true")
		doBrowserCheck = false;
}
else
{
	if (document.URL.toLowerCase().indexOf("nobrowsercheck") == -1)
		doBrowserCheck = false;
}
	
// Check if the browser-check is being bypassed
if (doBrowserCheck == true)
{
	// Minimum Requirements: IE7 / Firefox3 / Safari3 / Chrome2 / Opera9
	if (!is_ie7up && !is_fx3up && !is_safari3up && !is_chrome2up && !is_opera9up)
	{
		// Redirect to the Browser Check page
		currentURL = document.URL;
		if (top.location == self.location)
			top.location.href = "/browsercheck.htm?" + currentURL 
	}
}