	
	
	function MyBrowserInfo(){	

			var tt_u = "undefined";
			
			//createing an object with info about browsers?
	
			this.tt_db = (document.compatMode && document.compatMode != "BackCompat")? document.documentElement : document.body? document.body : null;
			this.tt_n = navigator.userAgent.toLowerCase();
			this.tt_nv = navigator.appVersion;
			
			// Browser flags
			this.tt_op = !!(window.opera && document.getElementById);
			this.tt_op6 = this.tt_op && !document.defaultView;
			this.tt_op7 = this.tt_op && !this.tt_op6;
			this.tt_ie = this.tt_n.indexOf("msie") != -1 && document.all && this.tt_db && !this.tt_op;
			this.tt_ie6 = this.tt_ie && parseFloat(this.tt_nv.substring(this.tt_nv.indexOf("MSIE")+5)) >= 5.5;
			this.tt_n4 = (document.layers && typeof document.classes != this.tt_u);
			this.tt_n6 = (!this.tt_op && document.defaultView && typeof document.defaultView.getComputedStyle != tt_u);
			this.tt_w3c = !this.tt_ie && !this.tt_n6 && !this.tt_op && document.getElementById;
	
			this.ffox =  (navigator.userAgent.indexOf("Firefox")!=-1);
			
	}
