	function BWCheck_VL() {  /* Detects version of the client browser */
		var bw = navigator.appName;
		this.bwFull = bw;
		if (bw == "Netscape") this.bw = "ns";
		else if (bw == "Microsoft Internet Explorer") this.bw = "ie";
		else if (bw.toLowerCase() == "opera") this.bw = "op";
		else this.bw = bw;
		this.version = navigator.appVersion
		
		if (this.bw=='ie'){ // Internet Explorer return '4.0 (compatible; MSIE 5.5...'
			var ve = this.version.indexOf("MSIE");
			this.v = parseInt(this.version.substr(ve+4))
		}
		else this.v = parseInt(this.version);

		this.op = (this.bw == "op"); // added by VL
		this.ns = (this.bw == "ns" && this.v >= 4);
		this.ns4 = (this.bw == "ns" && this.v == 4);
		this.ns5 = (this.bw == "ns" && this.v == 5);
		this.ie  = (this.bw == "ie" && this.v >= 4);
		this.ie4 = (this.version.indexOf('MSIE 4') > 0);
		this.ie5 = (this.version.indexOf('MSIE 5') > 0);
		this.ie55 = (this.version.indexOf('MSIE 5.5') > 0); // AT 05.11.00
		this.ie6 = (this.version.indexOf('MSIE 6') > 0); // added by ZM
		this.dom = (document.getElementById) ? true : false;
		this.jsEnabled = navigator.javaEnabled( );
	}

	is = new BWCheck_VL();
	
//	if((!is.ie55 && !is.ie6 && !is.ie5) || !is.dom) {
//		window.location = "/browser_not_allowed.php";
//	}
//	alert(is.jsEnabled);
	if(!is.jsEnabled) {
	//	alert("Rekomenduojame įjungti JavaScript! \nKitaip Jūs negalėsite atlikinėti kaikurios veiksmus...");
	}
	if((!is.ie) || !is.dom) {
	//	window.location = "/browser_not_allowed.php";
	}