var webRoot = (location.href.indexOf('192.168.0.2') >= 0 || location.href.indexOf('iron') >= 0) ? '/deko/sargasso/' : '/';

var preloaderImage = new Image();
preloaderImage.src = webRoot + 'img/await.gif';

var Engine = {
	detect: function() {
		var UA = navigator.userAgent;
		this.isKHTML = /Konqueror|Safari|KHTML/.test(UA);
		this.isGecko = (/Gecko/.test(UA) && !this.isKHTML);
		this.isOpera = /Opera/.test(UA);
		this.isMSIE  = (/MSIE/.test(UA) && !this.isOpera);
		this.isMSIE7 = this.isMSIE && !(/MSIE 6\./.test(UA) && !this.isOpera);
	}
}
Engine.detect();