var browser		= navigator.appName
var ver			= navigator.appVersion
var thestart	= parseFloat(ver.indexOf("MSIE"))+1 //This finds the start of the MS version string.
var brow_ver	= parseFloat(ver.substring(thestart+4,thestart+7)) //This cuts out the bit of string we need.

if ((browser=="Microsoft Internet Explorer") && (brow_ver < 7)) //By default the min. IE ver is set to 8. Change as desired.
	{
	window.location="http://www.mayhew.org/ieredirect/"; //URL to redirect to.
	}
else
if ((browser=="Microsoft Internet Explorer") && (brow_ver == 7))
	{
	alert("We've detected that you are using an older version of Internet Explorer (IE-7)." + '\n' + "Please be aware that this site might not display properly for you." + '\n' + "Please consider upgrading to IE-8");
	}


//-->
