	// this is a short Browsercheck

	function BrowserCheck() {
		var b = navigator.appName
		if (b=="Netscape") this.b = "ns"
		else if (b=="Microsoft Internet Explorer") this.b = "ie"
		else this.b = b
		this.v = parseInt(navigator.appVersion)
		this.ns = (this.b=="ns" && this.v>=4)
		this.ns4 = (this.b=="ns" && this.v==4)
		this.ns5 = (this.b=="ns" && this.v==5)
		this.ie = (this.b=="ie" && this.v>=4)
		this.ie4 = (navigator.userAgent.indexOf('MSIE 4')>0)
		this.ie5 = (navigator.userAgent.indexOf('MSIE 5')>0)
		if (this.ie5) this.v = 5
		this.min = (this.ns||this.ie)
	
	    var u = navigator.userAgent;
		
	    this.isMac  = (u.indexOf("Mac"  )>0);
	    this.isIE   = (u.indexOf("MSIE" )>0);
	    this.isNS   = (u.indexOf("Gecko")>0);
	    //-----
	    this.isIE5  = false;
	    this.isIE50 = false;
	    this.isIE55 = false;
	    this.isIE6  = false;
	    this.isIE60 = false;
	    this.isIE7  = false;
	    this.isIE70 = false;
	    //-----
	    this.isNS6  = false;
	    this.isNS7  = false;
		this.NT		= false;
	    //-----
	    if(this.isIE){
	      var i    = navigator.appVersion.indexOf("MSIE");
	      var temp = navigator.appVersion.substring(i+5,i+8);
	      this.isIE50   = (temp=="5.0");
	      this.isIE55   = (temp=="5.5");
	      this.isIE60   = (temp=="6.0");
	      this.isIE70   = (temp=="7.0");
	      this.isIE5    = temp.charAt(0) == "5";
	      this.isIE6    = temp.charAt(0) == "6";
	      this.isIE7    = temp.charAt(0) == "7";
		  
		  i    	   = navigator.appVersion.indexOf("NT");
		  temp     = navigator.appVersion.substring(i+3,i+6);
		  this.NT       = (temp>="5.0");
		  temp     = navigator.appVersion.substring(i+8,i+11);
	      this.temp		= temp;
	    };
	    if(this.isNS){
	      this.isNS6    = (u.indexOf("Netscape6" )>0||u.indexOf("rv:0.")>0);
	      this.isNS7    = (u.indexOf("Netscape/7")>0||u.indexOf("rv:1.")>0);
	    }
	    this.isIEMac  = this.isMac && this.isIE;
	    this.isIE5Mac = this.isMac && this.isIE5;	
	}
	
	// automatically create the "is" object
	is = new BrowserCheck()

