
//--
//--

	var browser = new _browser();

	function isIE()
	{
		return (browser.agent == 'IE');
	}

//--

	function popWindow(sURL)
	{
		window.open(sURL);

		return false;
	}

//--

	function _browser()
	{
		var UA = navigator.userAgent;
		var r;

		r = /^Mozilla\/(\d+)\.?(\d*).*(Linux|Mac_68000|Mac_PowerPC|Unix|Windows)\s+(\w*)\s+(\d+\.?\d*)/.exec(UA);

		if(r)
		{
			this.agent = (navigator.appName == 'Netscape' ? 'NS' : 'MC');
			this.version = r[1];
			this.minorversion = r[2];
			this.platform = r[3];
			this.os = r[4];
			this.osversion = r[5];

			r = /MSIE\s+(\d+)\.?(\d*)/.exec(UA);

			if(r)
			{
				this.agent = 'IE';
				this.version = r[1];
				this.minorversion = r[2];
			}
			else
			{
				r = /Netscape6\/(\d+)\.?(\d*)/.exec(UA);

				if(r)
				{
					this.agent = 'NN';
					this.version = r[1];
					this.minorversion = r[2];
				}
			}
		}
	}

//--
