function NNCheck(version) {
	if((navigator.appName.indexOf('Netscape') >= 0)
	&& (version <= parseInt(navigator.appVersion.substring(0, 3)))) {
		return true;
	} else {
		return false;
	}
}

function IECheck(version) {
	if((navigator.appName.indexOf('Microsoft Internet Explorer') >= 0)
	&& (version <= parseInt(navigator.appVersion.substring(22, 25)))) {
		return true;
	} else {
		return false;
	}
}

function MinorVerCheck() {
	if(IECheck(4)) {
		str = typeof(navigator.appMinorVersion);
		if(str.indexOf("undefined") < 0) {
			return true;
		}
	}
	return false;
}

function PlatformCheck() {
	if(NNCheck(4) || IECheck(4)) {
		str = typeof(navigator.platform);
		if(str.indexOf("undefined") < 0) {
			return true;
		}
	}
	return false;
}

function CPUClassCheck() {
	if(IECheck(4)) {
		str = typeof(navigator.cpuClass);
		if(str.indexOf("undefined") < 0) {
			return true;
		}
	}
	return false;
}

function ScrSizeCheck() {
	if(NNCheck(4) || IECheck(4)) {
		str = typeof(screen.height);
		if(str.indexOf("undefined") < 0) {
			str = typeof(screen.width);
			if(str.indexOf("undefined") < 0) {
				return true;
			}
		}
	}
	return false;
}

function ColorBitCheck() {
	if(NNCheck(4)) {
		str = typeof(screen.pixelDepth);
		if(str.indexOf("undefined") < 0) {
			return true;
		}
	} else if(IECheck(4)) {
		str = typeof(screen.colorDepth);
		if(str.indexOf("undefined") < 0) {
			return true;
		}
	}
	return false;
}