function go_news()
		{
			win = window.open ('http://www.ukbetting.co.uk/poker','640','480','yes','yes');
			win.focus ();
		}

function BrowserInfo()
{
	this.ver=navigator.appVersion;
	this.dom=document.getElementById?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ns6=(this.dom && parseInt(this.ver) >= 5 && parseInt(this.ver) < 7)?1:0;
	this.ns7=(this.dom && parseInt(this.ver) >= 7 && parseInt(this.ver) < 8)?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.w3c=(this.ie5 || this.ie6 || this.ns6);
	this.ie=(this.ie4 || this.ie5 || this.ie6);
	this.ns=(this.ns4 || this.ns6);
	this.bw=(this.ie4 || this.ie5 || this.ie6 || this.ns4 || this.ns6);
	this.dhtml=(this.ie || this.ns7);
	return this;
}

var UserBrowser = new BrowserInfo();


function URLEncode( )
{
	// The Javascript escape and unescape functions do not correspond
	// with what browsers actually do...
	var SAFECHARS = "0123456789" +					// Numeric
					"ABCDEFGHIJKLMNOPQRSTUVWXYZ" +	// Alphabetci
					"abcdefghijklmnopqrstuvwxyz" +
					"-_.!~*'()";					// RFC2396 Mark characters
	var HEX = "0123456789ABCDEF";
	var plaintext = window.location.href;
	var encoded = "";
	for (var i = 0; i < plaintext.length; i++ ) {
		var ch = plaintext.charAt(i);
			    if (ch == " ") {
		    encoded += "+";				// x-www-urlencoded, rather than %20
		} else if (SAFECHARS.indexOf(ch) != -1) {
		    encoded += ch;
		} else {
		    var charCode = ch.charCodeAt(0);
			if (charCode > 255) {
			    alert( "Unicode Character '" + ch + "' cannot be encoded using standard URL encoding.\n" +
				        "(URL encoding only supports 8-bit characters.)\n" +
						"A space (+) will be substituted." );
				encoded += "+";
			} else {
				encoded += "%";
				encoded += HEX.charAt((charCode >> 4) & 0xF);
				encoded += HEX.charAt(charCode & 0xF);
			}
		} 
	} // for

	document.write('<img src="http://weblog.rivalsdm.com/nocache/trans.gif?' + encoded + '" width=1 height=1 border=0>');
	
	return false;
}

