isMac = (navigator.appVersion.indexOf("Mac")!=-1) ? true : false;
NS4 = (document.layers) ? true : false;
IEmac = ((document.all)&&(isMac)) ? true : false;
IE4plus = (document.all) ? true : false;
IE4 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 4.")!=-1)) ? true : false;
IE5 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 5.")!=-1)) ? true : false;
IE6 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 6.")!=-1)) ? true : false;
IE7 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 7.")!=-1)) ? true : false;
ver4 = (NS4 || IE4plus) ? true : false;
NS6 = (!document.layers) && (navigator.userAgent.indexOf('Netscape')!=-1)?true:false;
// Redirect for less than IE6, NS6 or below
if (IEmac || IE4 || IE5 || NS4 || NS6) {
	window.location = "upgrade.php";
}
if (IEmac) {
	//alert("IEmac");
}
if (IE4) {
	//alert("IE4");
}
if (IE5) {
	//alert("IE5");
}
if (NS4) {
	//alert("NS4");
}
if (NS6) {
	//alert("NS6");
}