<!--
if(typeof(encode) == "undefined" || encode == null)		var encode = 'CN';

function xy_PopOddsEurop(id){
	var nWin = window.open("http://odds.xunying.com/peilvdetail.php?mid=" + id + "&encode="+encode);
	nWin.focus();
}
function xy_PopOddsAsia(id){
	var nWin = window.open("http://odds.xunying.com/oddscurve.php?mid=" + id + "&flag=yz&encode="+encode);
	nWin.focus();
}
function xy_PopOddsDetail(id,cid,flag){
	var nWin = window.open("http://odds.xunying.com/oddsdetail.php?mid=" + id + "&c="+cid+"&flag="+flag+"&encode="+encode);
	nWin.focus();
}
function xy_PopAnalyse(id){
	if((document.getElementById('useOldAnalyse') != null) && document.getElementById('useOldAnalyse').checked){
		var nWin = window.open("/datafiles/analyse/analyse_" + id + ".htm");
	} else {
		var path = Math.floor(id/10000);
		var nWin = window.open("http://www.xunying.com/analyse/"+path+"/analyse"+(encode == "CE" ? '' : encode)+"_" + id + ".htm");
	}
	nWin.focus();
}
function xy_PopOldAnalyse(id){
	var nWin = window.open("http://www.xunying.com/datafiles/analyse/analyse_" + id + ".htm");
	nWin.focus();
}
function xy_PopTeamDetail(id){
	var nWin = window.open("http://www.xunying.com/datafiles/teaminfo.php?tid=" + id + "&encode="+encode);
	nWin.focus();
}
function xy_PopPlayerDetail(id){
	var nWin = window.open("http://www.xunying.com/datafiles/player/player.php?pid=" + id + "&encode="+encode);
	nWin.focus();
}
function xy_PopGoalDetail(id){
	var nWin = window.open("http://data.xunying.com/matchs/mdetail.php?mid=" + id + "&encode="+encode);
	nWin.focus();
}
function setLanguage(encode){
	var url = window.location.href;
	url = url.replace(/encode=[A-Z0-9]*/g,"encode="+encode);
	window.location.href=url;
}
//-->