// objBrowser constructor

function objBrowser(){
	this.mac=(navigator.userAgent.indexOf("Mac")>-1)?1:0;
	this.dom=document.getElementById?(this.mac&&navigator.appVersion.indexOf("MSIE")>-1?0:1):0;
	this.opera5=(navigator.userAgent.indexOf("Opera")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom && !this.opera5)?1:0;
	this.ie5=(navigator.appVersion.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0; 
	this.ie6=(navigator.appVersion.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
	this.ie7=(navigator.appVersion.indexOf("MSIE 7")>-1 && this.dom && !this.opera5)?1:0;
 	this.ie=this.ie4||this.ie5||this.ie6||this.ie7;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.ns6=(this.dom && parseInt(navigator.appVersion) >= 5)?1:0;
  this.mistakeInCSS1=(this.ie4 || (this.ie5 && !this.mac))?1:0 // browsers with the uncorrect interpretation of style.width and style.height

	return this;
}
