<!--
function AddToFaves_hp(){
	var is_4up = parseInt(navigator.appVersion);
	var is_mac   = navigator.userAgent.toLowerCase().indexOf("mac")!=-1;
	var is_ie   = navigator.userAgent.toLowerCase().indexOf("msie")!=-1;
	var thePage = location.href;
	if (thePage.lastIndexOf('#')!=-1)
		thePage = thePage.substring(0,thePage.lastIndexOf('#'));
	if (is_ie && is_4up && !is_mac) 
		window.external.AddFavorite(thePage,document.title);
	else if (is_ie || document.images)
		booker_hp = window.open(thePage,'booker_','menubar,width=325,height=100,left=140,top=60');
	//booker_hp.focus();
	}

function gotoSITE() {
	var Current = document.sitenav.siteName.selectedIndex;
	if (document.sitenav.siteName.options[Current].value > " ") {
		location.href = document.sitenav.siteName.options[Current].value;
	}
	else {
		alert("You must select a page.  Please try again.")
	}
}

function gotoCINEMA() {
	var Current = document.frmCinema.cinema.selectedIndex;
	if (document.frmCinema.cinema.options[Current].value > " ") {
		location.href = document.frmCinema.cinema.options[Current].value;
	}
	else {
		alert("You must select a page.  Please try again.")
	}
}

function gotoFA() {
	var Current = document.clubs.team.selectedIndex;
	if (document.clubs.team.options[Current].value > " ") {
		location.href = document.clubs.team.options[Current].value;
	}
	else {
		alert("You must select a page.  Please try again.")
	}
}

function gotoLEAGUE() {
	var Current = document.leagues.league.selectedIndex;
	if (document.leagues.league.options[Current].value > " ") {
		location.href = document.leagues.league.options[Current].value;
	}
	else {
		alert("You must select a page.  Please try again.")
	}
}


function popUp(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=300,left = 212,top = 234');");
}

function popUpColours(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=592,height=377');");
}

function popUpColours2(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=359,height=196');");
}

// convert all characters to lowercase to simplify testing
var agt=navigator.userAgent.toLowerCase();

// *** BROWSER VERSION ***
// Note: On IE5, these return 4, so use is_ie5up to detect IE5.
var is_major = parseInt(navigator.appVersion);
var is_minor = parseFloat(navigator.appVersion);

// Note: Opera and WebTV spoof Navigator.  We do strict client detection.
// If you want to allow spoofing, take out the tests for opera and webtv.
var is_moz  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1));
var is_ie   = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));

// Highlight the element pointed by "this" and make the cursor a hand
function Colorize(element){
	element.style.background = '#7C9CC4';
	element.style.color = '#FFFFFF';
	if (is_moz){
		document.body.style.cursor = 'pointer';
	} else {
		document.body.style.cursor = 'hand';
	}
}

// Reverse the colorize
function DeColorize(element){
	element.style.background = 'none';
	element.style.color = '#4B4B4B';
	document.body.style.cursor = '';

}
//-->