<!--
jQuery.noConflict(); 

function setElementHeight() {
jQuery(document).ready(function() {
var minheight = $("body").height()-225;
	
	if(Number(jQuery("#maincontent_outer").height()) < minheight){
	jQuery("#maincontent_outer").height(minheight);
	
}
var theheight = $("body").height() -75;
	jQuery("#leftshadow").height(theheight);
	jQuery("#rightshadow").height(theheight);

 });	


}



function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		home_over = newImage("images/home-over.gif");
		league_over = newImage("images/league-over.gif");
		transfers_over = newImage("images/transfers-over.gif");
		account_over = newImage("images/account-over.jpg");
		contact_over = newImage("images/contact-over.jpg");
		sidenext_over =  newImage("images/side_next.gif");
		patron_over =  newImage("images/patronlogin_over.jpg");
		pub_over =  newImage("images/side_next.gif");
		preloadFlag = true;
	}
}

function OpenPreview(url) 
{	
	newwindow=window.open(url,'name','height=320,width=320,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no');
	if (window.focus) {newwindow.focus()}
	return false;	
}
// -->
