function checkBrowser(){ 
var userAgent = navigator.userAgent.toLowerCase();

	if (userAgent.indexOf('msie 8')!= -1 || userAgent.indexOf('msie 7')!= -1 || userAgent.indexOf('msie 6')!= -1 || userAgent.indexOf('msie 5.5')!= -1){
		return true;
	}else{
		goErrorPage(0,0)
		return false;
	}

	var testcookie = 'jscookietest=valid';
		document.cookie = testcookie;
	if (document.cookie.indexOf(testcookie) == -1) {
		//top.location = '../error/browser/nocookies.asp';
		alert("No Cookies")
		return false;
	}

	document.cookie = testcookie + ';expires=' + new Date(0).toGMTString();

	if (userAgent.indexOf('msie')!= -1 && document.all) {
		var control = (userAgent.indexOf('msie 5') != -1) ? 'Microsoft.XMLHTTP' : 'Msxml2.XMLHTTP';
		try {
		new ActiveXObject(control);
		}
		catch (e) {
		top.location = '../error/browser/noactivex.asp';
		return false;
		}
	}

	return true;
}
function goErrorPage(id,title){
var errorPage = "../error/default.asp?id="+id+"&t="+title
top.location = errorPage;
}