function go_Teaminfo(teamid){
	var teamdir=C_RootDir+"datafiles/teams/teamsinfo"+teamid+".html";
	window.open(teamdir);
}
function go_analyse(matchid){
	var analysedir=C_RootDir+"datafiles/analyse/analyse.php?matchid="+matchid;
	window.open(analysedir);
}
function go_markdetail(matchid){
	var detaildir=C_RootDir+"datafiles/odds/markdetail.php?matchid="+matchid+"&cmpyid=28&oddstype=0";
	window.open(detaildir);
}
function getLeagueTeam(LeagID,showEleName){
	var url="";
	
	url="../conn/liveajax.inc.php?doaction=getLeagueTeam&leagid="+LeagID;
	//alert("url="+url);
	send_request(url,showEleName);
}
/*这里开始时UrlEncode和UrlDecode函数*/ 
function UrlEncode(str){ 
  var ret="",tt; 
  var strSpecial="!\"#$%&()*+,/:;<=>?[]^`{|}~%"; 
  for(var i=0;i<str.length;i++){ 
   var chr = str.charAt(i); 
    var c=str2asc(chr); 
    tt += chr+":"+c+"n"; 
    if(parseInt("0x"+c) > 0x7f){ 
      ret+="%"+c.slice(0,2)+"%"+c.slice(-2); 
    }else{ 
      if(chr==" ") 
        ret+="+"; 
      else if(strSpecial.indexOf(chr)!=-1) 
        ret+="%"+c.toString(16); 
      else 
        ret+=chr; 
    } 
  } 
  return ret; 
} 
function UrlDecode(str){ 
  var ret=""; 
  for(var i=0;i<str.length;i++){ 
   var chr = str.charAt(i); 
    if(chr == "+"){ 
      ret+=" "; 
    }else if(chr=="%"){ 
     var asc = str.substring(i+1,i+3); 
     if(parseInt("0x"+asc)>0x7f){ 
      ret+=asc2str(parseInt("0x"+asc+str.substring(i+4,i+6))); 
      i+=5; 
     }else{ 
      ret+=asc2str(parseInt("0x"+asc)); 
      i+=2; 
     } 
    }else{ 
      ret+= chr; 
    } 
  } 
  return ret; 
} 