


/* Set Up Object
================================================== */
	var bAgent = navigator.userAgent;
	var bName = navigator.appName;
	var bPlugins = navigator.plugins;
	var d = document;
	
	function sniffer(){

/* Object
================================================== */
		/*NS4 = 1, IE4 = 2, IE5+,OPERA5,7 = 3, NS6+,SAFARI,OPERA6 = 4, others = 0*/
		this.checkObj = d.all?(d.getElementById?3:2):(d.getElementById?4:(d.layers?1:0));
		this.allObj = ((this.checkObj == 1) || (this.checkObj == 2) || (this.checkObj == 3) || (this.checkObj == 4));
		this.checkObj4 = (d.getElementById && !d.all) ? 1 :0;
		this.checkObj3 = (d.getElementById && d.all) ? 1 :0;
		this.checkObj2 = (d.all && !d.getElementById) ? 1 :0;
		this.checkObj1 = d.layers ? 1 :0;

/* Compat Mode*
================================================== */
		this.modeStandard = d.compatMode == "CSS1Compat" ? 1 : 0;
		this.modeQuirks = d.compatMode == "BackCompat" ? 1 : 0;
		
		this.WinIE6s = (this.Win && this.IE && this.modeStandard && ((bAgent.indexOf('MSIE 6.',0) != -1)||(bAgent.indexOf('MSIE 7.',0) != -1)));
		this.WinIE6q = (this.Win && this.IE &&this. modeQuirks && ((bAgent.indexOf('MSIE 6.',0) != -1)||(bAgent.indexOf('MSIE 7.',0) != -1)));
		
		return this;
	}
	var usr = new sniffer;

