function objBrowser() {
  strAgt = navigator.userAgent.toLowerCase(); 
  this.version = navigator.appVersion;
  this.major = parseInt(this.version); 
  this.minor = parseFloat(this.version);
  this.os = "other";
  if (strAgt.indexOf("win")!=-1) this.os="win";
  if (strAgt.indexOf("mac")!=-1) this.os="mac";
  if (strAgt.indexOf("x11")!=-1) this.os="unix";
  if (strAgt.indexOf("linux")!=-1) this.os="linux";
  this.browser = ((strAgt.indexOf('mozilla')!=-1) && (strAgt.indexOf('spoofer')==-1) && (strAgt.indexOf('compatible') == -1) && (strAgt.indexOf('opera')==-1) && (strAgt.indexOf('webtv')==-1) && (strAgt.indexOf('hotjava')==-1))?"nav":((strAgt.indexOf("msie") != -1) && (strAgt.indexOf("opera") == -1))?"ie":"other";
  this.dom=document.getElementById?1:0;
  this.ie5=(this.version.indexOf("MSIE 5")>-1 && this.dom)?1:0;
  this.ie4=(document.all && !this.dom)?1:0;
  this.iepc=(this.os != "mac" &&  (this.ie4 || this.ie5)==1)
  this.ie4mac=((this.os == "mac") &&  (this.ie4)==1)
  this.ns5=(this.dom && this.major >= 5) ?1:0;
  this.ns5mac=((this.os == "mac") && (this.ns5)==1)
  this.iemac=((this.os == "mac") && (this.ie5 || this.ns5)==1)
  this.ns4=(document.layers && !this.dom)?1:0;
  this.supportedbrowser = (this.ie5 || this.ie4 || this.ns4 || this.ns5);
} 
var objClient;
var isIE3Mac = false;
if ((navigator.appVersion.indexOf("Mac")!=-1) && (navigator.userAgent.indexOf("MSIE")!=-1) && (parseInt(navigator.appVersion)==3))
	isIE3Mac = true
else
	objClient = new objBrowser(); 
