function Browser()
		{
			this.useragent 				= navigator.userAgent;
		//	this.app       				= navigator.appName;
		//	this.ver       				= parseInt(navigator.appVersion.toLowerCase());
		//	this.ver_minor  			= parseFloat(this.ver);
		//	this.ver_major  			= parseInt(this.ver_minor);
		this.isNS4 					= (document.layers) ? true : false;
		this.isIE4  				= (this.useragent.indexOf("MSIE 4")			>= 0);// (document.all && !document.getElementById)
		this.isIE5 					= (this.useragent.indexOf("MSIE 5") 		>= 0 && this.useragent.indexOf("MSIE 5.5")	<  0);
		this.isIE55 				= (this.useragent.indexOf("MSIE 5.5") 	>= 0);
		this.isIE6  				= (this.useragent.indexOf("MSIE 6") 		>= 0);	
		this.isOP6 					= (this.useragent.indexOf("Opera/6") 		>= 0 || this.useragent.indexOf("Opera 6")	>= 0) ? true : false;
		this.isOP6inIEmode 			= (this.useragent.indexOf("MSIE 5") 		>= 0 && this.useragent.indexOf("Opera 6") 	>= 0) ? true : false;
		this.isOP7 					= (this.useragent.indexOf("Opera 7") 		>= 0) ? true : false;
		this.isNS6 					= (this.useragent.indexOf("Netscape6")	>= 0) ? true : false;
		this.isNS7 					= (this.useragent.indexOf("Netscape/7")	>= 0) ? true : false;
		this.isMozilla 				= (this.useragent.indexOf("Mozilla")	 	>= 0 && 
	
		this.useragent.indexOf("Gecko") 			>= 0 &&
		this.useragent.indexOf("MSIE") 			<  0 && 
		this.useragent.indexOf("Netscape") 	<  0) ? true : false;		

		this.isOP   = (this.isOP6 || this.isOP6inIEmode || this.isOP7);
		if (this.isOP) {
			this.isIE4 = false;
			this.isIE5 = false;
			this.isIE55= false;
			this.isIE6 = false;
		}
		this.isIE = (this.isIE4 || this.isIE5 || this.isIE55 || this.isIE6 && (!this.isOP6 || !this.isOP6inIEmode));

		this.isW3C = (document.getElementById) ? true : false
	}
