<!--to hiding script from old browsers

/*for barbet 5.x*/
/*Set Up Object*/
var bAgent = navigator.userAgent;
var bName = navigator.appName;
var bPlugins = navigator.plugins;
var d = document;

function sniffer(){
	/*OS*/
	this.Win = bAgent.indexOf("Win",0) != -1 ? 1 :0;
	this.Mac = bAgent.indexOf("Mac",0) != -1 ? 1 :0;
	this.MacOSX = ((bAgent.indexOf("Mozilla") != -1) && (bAgent.indexOf("Mac OS X") != -1)) ? 1 :0;
	if(bPlugins){for(i=0;i<bPlugins.length;i++){if(this.Mac && (bPlugins[i].filename.indexOf("QuickTime Plugin.plugin")!=-1)){this.MacOSX=true;}}}

	/*Browser*/
	this.IE = ((bAgent.indexOf("MSIE") != -1) && (bAgent.indexOf("Opera") == -1)) ? 1 :0;
	this.NS = ((bName == "Netscape") && (bAgent.indexOf("Opera") == -1)) ? 1 :0;
	this.NC = ((bName == "Netscape") && (bAgent.indexOf("Gecko") == -1) && (bAgent.indexOf("Opera") == -1)) ? 1 :0;
	this.Gecko = (bAgent.indexOf("Gecko") != -1) ? 1 :0;
	this.Moz = ((bAgent.indexOf("Gecko") != -1) && (bAgent.indexOf("Safari",0) == -1)) ? 1 :0;
	this.OPERA = bAgent.indexOf("Opera",0) != -1 ? 1 :0;
	this.SAFARI = bAgent.indexOf("Safari",0) != -1 ? 1 :0;
	this.ICAB = bAgent.indexOf("iCab",0) != -1 ? 1 :0;

	this.IE3 = (bAgent.indexOf('MSIE 3.',0) != -1);
	this.MacIE4 = (this.Mac && (bAgent.indexOf('MSIE 4.',0) != -1));
	this.MacIE45 = (this.Mac && (bAgent.indexOf('MSIE 4.5',0) != -1));
	this.MacIE5 = (this.Mac && (bAgent.indexOf('MSIE 5.',0) != -1));
	this.NS60 = (bAgent.indexOf("Netscape6/6.0") != -1);
	this.NS6 = (bAgent.indexOf("Netscape6/") != -1);
	this.NS7 = (bAgent.indexOf("Netscape/7") != -1);

	/*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;

// account hiding script from old browsers-->
