	/*********************************************/	
	var is = new 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.version = navigator.appVersion;
		this.v       = parseInt(this.version);
		this.ns     =  (this.b=="ns" && this.v>=4);
		var myNS = new String(window.navigator.appVersion);
		this.ns472   = (this.b=="ns" && myNS.substring(0, 4) == "4.72");
		this.ns473   = (this.b=="ns" && myNS.substring(0, 4) == "4.73");
		this.ns474   = (this.b=="ns" && myNS.substring(0, 4) == "4.74");
		this.ns475   = (this.b=="ns" && myNS.substring(0, 4) == "4.75");
		this.ns476   = (this.b=="ns" && myNS.substring(0, 4) == "4.76");
		this.ns477   = (this.b=="ns" && myNS.substring(0, 4) == "4.77");
		this.ns478   = (this.b=="ns" && myNS.substring(0, 4) == "4.78");
		this.ns479   = (this.b=="ns" && myNS.substring(0, 4) == "4.79");
		this.ns480   = (this.b=="ns" && myNS.substring(0, 3) == "4.8");
		this.ns4   = (this.b=="ns" && this.v==4);
		this.ns479   = (this.b=="ns" && myNS.substring(0, 4) == "4.79");
		this.ns480   = (this.b=="ns" && myNS.substring(0, 3) == "4.8");
		this.ns5   = (this.b=="ns" && this.v==5);	
		this.ns610 = (this.b=="ns" && window.navigator.productSub == 20010726);
		this.ns621 = (this.b=="ns" && window.navigator.productSub == 20011128);
		this.ns622 = (this.b=="ns" && window.navigator.productSub == 20020314);
		this.ns623	= (this.b=="ns" && window.navigator.productSub == 20020508);
		this.ns6     = (this.ns610 || this.ns621 || this.ns622 || this.ns623 ? true : false);
		this.ns701 = (this.b=="ns" && window.navigator.productSub == 20021120); 
		this.ns702 = (this.b=="ns" && window.navigator.productSub == 20030208); 
		this.ns710 = (this.b=="ns" && window.navigator.productSub == 20030624 ); 
		this.ns7    = (this.ns701 || this.ns702 || this.ns710 ? true : false);
		this.ie      =  (this.b=="ie" && this.v>=4);
		this.ie4    = (this.version.indexOf('MSIE 4')>0);
		this.ie5    = (this.version.indexOf('MSIE 5')>0);
		this.min   = ( this.ns||this.ie);
		this.msWin = (navigator.userAgent.indexOf("Win")>0);
	}
	/*********************************************/	
	
	if(!is.ie) {
		HTMLElement.prototype.__defineGetter__("innerText", function ( ) {
		    var rng = document.createRange( );
		    rng.selectNode(this);
		    return rng.toString( );
		});
		
		HTMLElement.prototype.__defineSetter__("innerText", function(newTxt) {
		    var rng = document.createRange( );
		    rng.selectNodeContents(this);
		    rng.deleteContents( );
		    this.appendChild(document.createTextNode(newTxt));
		    return newTxt;
		});
	}