function Map()
{
	this.version		= 1.1;
	this.ua				= navigator.userAgent.toLowerCase();
	this.isBB			= (this.ua.match('\\bblackberry'))?true:false;
	this.isIE8b			= (this.ua.match('\\msie 8.0'))?true:false;
	this.isIphone 		= (this.ua.match('iphone')||this.ua.match('ipod'))?true:false;
	this.isMac			= (this.ua.match('\\bmac\\b'))?true:false;
	this.isMini			= (this.ua.match('\\bmini\\b'))?true:false;
	this.isMobile		= (this.isBB || this.isMini || this.ua.match('mobile'))?true:false;
	this.isSafari		= (this.ua.match('safari'))?true:false;
	this.isSymbian		= (this.ua.match('symbian'))?true:false;
	this.isOldIE		= (document.all && !window.XMLHttpRequest)?true:false;
	this.userAgentCheck = ( !this.isMini && !this.isBB && !this.ua.match('nitro') && !this.ua.match('playstation') && !this.ua.match('konqueror') && !this.ua.match('windows ce') );// turn off on these platforms
	this.jsenabled 		= ( document.getElementById && window.RegExp && (window.addEventListener || window.attachEvent) && (window.XMLHttpRequest || window.ActiveXObject) && (new Array).push ) ? true : false;
	this.isdisabled		= ((window.location.search && window.location.search.match('js=off')) )?true:false;
	this.jsenabled  	= (this.jsenabled && this.userAgentCheck && !this.isdisabled);
	this.jsSupportLevel = 0;
	this.jsLevel 		= 0;
	this.init = function(){
		var jssl = 0;
		if ((this.isMac && this.isSafari)  || this.isOldIE || this.isIE8b || this.isOldIE || this.isIE8b){this.jsLevel=jssl=1;}
		else if (this.isIphone){this.jsLevel=jssl=2;}
		else {this.jsLevel=jssl=3;};
		if (!this.jsenabled){jssl=0;}
		this.jsSupportLevel = jssl;
	};
	this.init();
	this.info=function(){
		var t = "";
		for (name in this){
			if (name=="info"||name=="init"){continue;}
			t+= name +":"+ this[name]+"\n";
		}
		return t;
	}
}
var map = new Map();
			