
	var sAgent = navigator.userAgent.toLowerCase();
	
	function isIe() {
		return (!isPresto() && !isGecko() && document.all) ? true : false;
	}
	
	function isIe6() {
		return (!isPresto() && !isGecko() && document.all && !/MSIE (7|8)/.test(navigator.userAgent)) ? true : false;
	}

	function isGecko() {
		return sAgent.match(/gecko/i);
	}

	function isPresto() {
		return sAgent.match(/presto/i);
	}
