//This functions fixes an issue with gecko not middle alligning td entries correctlyvar UA = new String(navigator.userAgent);if (UA.indexOf('Gecko') > 0 && UA.indexOf('KHTML') == -1) {	document.write('<style type="text/css">#hs-list td { padding-top: 3px; }</style>')	}function swapCountryFlag(country) {	if (country == '') { return; }	var image = country.split(',');	document.getElementById('country-flag').src = '/images/flags/' + image[0];	document.getElementById('country-flag').alt = image[1];	document.getElementById('country-flag').title =  image[1];	}	function gotoCountryList(country) {	window.location.href = '/quinn/hs/topplayersbycountry/' + country;	return true;	}function toggleInfo(){	var infoElement = document.getElementById( "more-info" );	var infoSwitch = document.getElementById( "more-info-switch" );		Effect.toggle($('more-info'),'blind',{duration:0.3});		if ( infoElement.style.display == "none" ) {		infoSwitch.style.backgroundImage = "url( /images/arrow-7-blue-down.gif )";		infoSwitch.style.backgroundPosition = "0 5px";	} else {		infoSwitch.style.backgroundImage = "url( /images/arrow-7-blue.gif )";		infoSwitch.style.backgroundPosition = "0 3px";	}}function load(statspage) {	new Ajax.Request('/qu-hs/' + statspage + '.php', {onSuccess:display, asynchronous:true});	return;	}	function display(t) {	Element.hide('container');	Element.update('container', t.responseText);	new Effect.Appear('container');	return;	}
