//this is a browser sniffer used for calApp. It sends pre IE7 browsers to the redirect page

//var browser = navigator.appName; //find the browser name

//alert(browser); //popup with the browser name

if(navigator.appName == "Microsoft Internet Explorer"){
	//alert("You are using IE");
	//alert(navigator.appName + " | " + navigator.appVersion); //"MSIE 7 || MSIE 8"
	//if browser is IE AND IE7, or 8 continue, else redirect
	if(navigator.appVersion.search("MSIE 8") != -1 || navigator.appVersion.search("MSIE 7") != -1){
		//alert('you passed, continue');
		
	}else{
		//alert('redirect to other page');
		window.location = 'http://activities.byui.edu/talent/old_browser.htm';
	}
}else{
	//alert("you are using a different browser than IE");
}