var loadBaseInfoOK = false;
var loadProfileOK = false;
var loadGloryOK = false;
var loadBestOK = false;
var loadCoachOK = false;
function loadBaseInfo(){
if(!loadBaseInfoOK){
if (typeof(teamInfo)!="undefined")
{
var obj = $$("baseInfo_tb");
var row,cell;
teamName = teamInfo["qbfmETFIren8pHh1W84agDn7zsxnE5LOsdX+bkdNCn3UA"];
if(teamInfo["qbfmETFIren8pCh9XMBLjGz9zJkxQMib+ZlX+bkd"]!="" && teamInfo["qbfmETFIren8pHh1W84agDn7zsxnE5LOsdX+bkdNCn3UA"] !=teamInfo["qbfmETFIren8pCh9XMBLjGz9zJkxQMib+ZlX+bkd"] ){
teamName += "(" + teamInfo["qbfmETFIren8pCh9XMBLjGz9zJkxQMib+ZlX+bkd"] +")";
}
row = obj.insertRow(-1);
cell = row.insertCell(-1);
cell.colSpan=2;
cell.className = "qdtt1";
//cell.innerHTML = teamName.replace("&","&");
cell.innerHTML = teamName + '
';
obj.insertRow(-1);
row = obj.insertRow(-1);
row.insertCell(-1).colSpan=2;
row =obj.insertRow(-1);
row.id="trInfoStats";
row.style.display = "none";
row.insertCell(-1).colSpan=2;
if(teamInfo["qbfmETFIren8pC8nVJ0chm77z84xFMfL+JJc66AZCSf3REB6fFLDI1ZB"]!=""){
row =obj.insertRow(-1);
cell = row.insertCell(-1);
cell.innerHTML = ESTABLISH_DATA_STR;
cell.align="right";
cell = row.insertCell(-1);
cell.innerHTML = teamInfo["qbfmETFIren8pC8nVJ0chm77z84xFMfL+JJc66AZCSf3REB6fFLDI1ZB"];
}
if(teamInfo["qbfmETFIren8pCJwW8wc1T2qnZhgRJWYpJJa96EWHznnaEp2fw"]!=""){
row =obj.insertRow(-1);
cell = row.insertCell(-1);
cell.innerHTML = COUNTRY_STR;
cell.align="right";
cell = row.insertCell(-1);
cell.innerHTML = parseInt(teamInfo["qbfmETFIren8pH5xCc1P1TqmypkyRMGfZJa96EWHznnXkw"])>0 ? '' + teamInfo["qbfmETFIren8pCJwW8wc1T2qnZhgRJWYpJJa96EWHznnaEp2fw"] + '' : teamInfo["qbfmETFIren8pCJwW8wc1T2qnZhgRJWYpJJa96EWHznnaEp2fw"];
}
if(teamInfo["qbfmETFIren8pH8gXs4Y12yqnMo7FJHLpMda8aABNCn3UA"]!=""){
row =obj.insertRow(-1);
cell = row.insertCell(-1);
cell.innerHTML = CITY_STR;
cell.align="right";
cell = row.insertCell(-1);
cell.innerHTML =teamInfo["qbfmETFIren8pH8gXs4Y12yqnMo7FJHLpMda8aABNCn3UA"];
}
if(teamInfo["qbfmETFIren8pC4mX8FN1Timyp9mFZXIrJFK7LUcAj7zaEp2fw"]!=""){
row =obj.insertRow(-1);
cell = row.insertCell(-1);
cell.innerHTML = STADIUM_STR;
cell.align="right";
cell = row.insertCell(-1);
if (teamInfo["qbfmETFIren8pHpzWsgQhGmvzp01QJOe+pBU+aQ"]!="")
cell.innerHTML = '' + teamInfo["qbfmETFIren8pC4mX8FN1Timyp9mFZXIrJFK7LUcAj7zaEp2fw"] + '';
else
cell.innerHTML = teamInfo["qbfmETFIren8pC4mX8FN1Timyp9mFZXIrJFK7LUcAj7zaEp2fw"];
}
if (teamInfo["qbfmETFIren8pHlxD51N0mWqys47EsaZsRa+aQZCCLqTg"] != ""){
row =obj.insertRow(-1);
cell = row.insertCell(-1);
cell.innerHTML = CAPACITY_STR;
cell.align="right";
cell = row.insertCell(-1);
cell.innerHTML =teamInfo["qbfmETFIren8pHlxD51N0mWqys47EsaZsRa+aQZCCLqTg"];
}
if (teamInfo["qbfmETFIren8pCtyWsgehmj9nJkyFMiepZdYLAKDjjtaEp2fw"] != ""){
row =obj.insertRow(-1);
cell = row.insertCell(-1);
cell.innerHTML = ADDRESS_STR;
cell.align="right";
cell = row.insertCell(-1);
cell.innerHTML =teamInfo["qbfmETFIren8pCtyWsgehmj9nJkyFMiepZdYLAKDjjtaEp2fw"];
}
if (teamInfo["qbfmETFIren8pCImVcgRgjisyco0EJKfpZlObYLAj7"] != "" ){
row =obj.insertRow(-1);
cell = row.insertCell(-1);
cell.innerHTML = WEBSITE_STR;
cell.align="right";
cell = row.insertCell(-1);
cell.style.wordBreak = "break-all";
cell.innerHTML = '' + teamInfo["qbfmETFIren8pCImVcgRgjisyco0EJKfpZlObYLAj7"] + '';
}
if (teamInfo["qbfmETFIren8pCInCsEfg2mvz8kyQ8PP+pRc9bURBw"]!=""){
row =obj.insertRow(-1);
cell = row.insertCell(-1);
cell.innerHTML =EMAIL_STR;
cell.align="right";
cell = row.insertCell(-1);
cell.style.wordBreak = "break-all";
cell.innerHTML = '' + teamInfo["qbfmETFIren8pCInCsEfg2mvz8kyQ8PP+pRc9bURBw"] + '';
}
if (teamInfo["qbfmETFIren8pCt8Cc4dgz2tyZ0xFMmbpJVY7rMZDC4"]!=""){
row =obj.insertRow(-1);
cell = row.insertCell(-1);
cell.innerHTML = PLAYER_AGE_STR;
cell.align="right";
cell = row.insertCell(-1);
cell.innerHTML = teamInfo["qbfmETFIren8pCt8Cc4dgz2tyZ0xFMmbpJVY7rMZDC4"] + AVERAGE_STR;
}
if (typeof(teamInfo["qbfmETFIren8pHkkX8gdhTr+mMoxFMmeqsNNbUVNDvsXkt6"]) != "undefined" && teamInfo["qbfmETFIren8pHkkX8gdhTr+mMoxFMmeqsNNbUVNDvsXkt6"]!="0"){
row =obj.insertRow(-1);
cell = row.insertCell(-1);
cell.innerHTML = TEAM_PRICE_STR;
cell.align="right";
cell = row.insertCell(-1);
cell.innerHTML = teamPriceFormat(lang, teamInfo["qbfmETFIren8pHkkX8gdhTr+mMoxFMmeqsNNbUVNDvsXkt6"], teamInfo["qbfmETFIren8pH8kVcse1Tqnm85gFpOeZRNbUVNDvsXkt6R27SMFBB4MXB"]);
}
if (teamInfo["qbfmETFIren8pCkhDswd12qpmssyQ8jJpJhV97MX"] == 1)
$$("logo_img").src = "//data-img.7m.com.cn/football/team/"+teamId+".jpg?x-oss-process=image/resize,m_fill,w_112,h_112";
else if (teamInfo["qbfmETFIren8pCkhDswd12qpmssyQ8jJpJhV97MX"] == 2)
$$("logo_img").src = "//data-img.7m.com.cn/football/team/"+teamId+".gif?x-oss-process=image/resize,m_fill,w_112,h_112";
else
$$("logo_img").src = "//data.7m.com.cn/team_data/share_Img/err.gif";
size_Img($$("logo_img"));
$$("mainshirt").innerHTML = "
" + MAINSHIRT_STR + "";
$$("awayshirt").innerHTML = "
" + AWAYSHIRT_STR + "";
if(teamInfo["qbfmETFIren8pH52Dcgd1WSmzpkxFpHO+sRe9LsKEhT8Xk8"] !="" ){
$$("tag2").style.display = "";
}
if(teamInfo["qbfmETFIren8pCIkWchPgj+sy8g3RsnJ+sBbacMNCn3UA"] !=""){
$$("tag3").style.display = "";
}
if(teamInfo["qbfmETFIren8pHp0DsFPjT6tm8phQ5Kb+JJJ6rseAif7aEp2fw"] !=""){
$$("tag4").style.display = "";
}
if(typeof(teamInfo["qbfmETFIren8pHghXswQjGj9yZkxEMHO+Zdax70c"]) !="undefined"){
$$("tag5").style.display = "";
}
}
loadBaseInfoOK = true;
}
}
function loadGlory(){
if (!loadGloryOK){
$$("glory_td").innerHTML = teamInfo["qbfmETFIren8pH52Dcgd1WSmzpkxFpHO+sRe9LsKEhT8Xk8"];
loadGloryOK = true;
}
}
function loadBest(){
if (!loadBestOK){
$$("best_td").innerHTML = teamInfo["qbfmETFIren8pCIkWchPgj+sy8g3RsnJ+sBbacMNCn3UA"];
loadBestOK = true;
}
}
function loadProfile(){
if(!loadProfileOK){
$$("profile_td").innerHTML = teamInfo["qbfmETFIren8pHp0DsFPjT6tm8phQ5Kb+JJJ6rseAif7aEp2fw"];
loadProfileOK = true;
}
}
function loadCoach(){
if (!loadCoachOK){
var obj = $$("coach_tb");
if (teamInfo["qbfmETFIren8pCokWZlNhT6owMs7EcTJZJax7oZBi7BVUF4"]!=""){
obj.rows[1].cells[0].innerHTML =teamInfo["qbfmETFIren8pCokWZlNhT6owMs7EcTJZJax7oZBi7BVUF4"];
}
if(teamInfo["qbfmETFIren8pH8gVZtNjGyuwZ01EMDLqpJax7gXDCQ"]==1 || teamInfo["qbfmETFIren8pH8gVZtNjGyuwZ01EMDLqpJax7gXDCQ"]==2 ){
$$("e_coach_photo").src ="//data.7m.com.cn/player_data/" + teamInfo["qbfmETFIren8pHghXswQjGj9yZkxEMHO+Zdax70c"] + "/logo_img/player_photo" + (teamInfo["qbfmETFIren8pH8gVZtNjGyuwZ01EMDLqpJax7gXDCQ"] == 1 ? ".jpg" : ".gif");
}else{
$$("e_coach_photo").src ="//data.7m.com.cn/player_data/share_img/err.gif";
}
obj = document.getElementById("coach_tb2");
var row,cell;
if (teamInfo["qbfmETFIren8pCwhDZpIgGj+ycg7HZHM8dax7YRGT2U0lm"]!=""){
row =obj.insertRow(-1);
row.vAlign = "top";
cell=row.insertCell(-1);
cell.width = "80px";
cell.innerHTML = "" + BIRTHDAY_STR + "";
cell=row.insertCell(-1);
cell.innerHTML = teamInfo["qbfmETFIren8pCwhDZpIgGj+ycg7HZHM8dax7YRGT2U0lm"];
}
if (teamInfo["qbfmETFIren8pCp8XJtL0DqmnZ1hEcnLpcNax7cXHiXqRVFAemTA"]!=""){
row =obj.insertRow(-1);
row.vAlign = "top";
cell=row.insertCell(-1);
cell.width = "80px";
cell.innerHTML = "" + PLAYER_DATA_TITLE[0] + "";
cell=row.insertCell(-1);
cell.innerHTML = teamInfo["qbfmETFIren8pCp8XJtL0DqmnZ1hEcnLpcNax7cXHiXqRVFAemTA"];
}
if (teamInfo["qbfmETFIren8pHl9Ws8bgjqrm8pmFZTJcJax7cUHinBVUF4"]!=""){
row =obj.insertRow(-1);
row.vAlign = "top";
cell=row.insertCell(-1);
cell.width = "80px";
cell.innerHTML = "" + IN_CLUB_STR + "";
cell=row.insertCell(-1);
cell.innerHTML =teamInfo["qbfmETFIren8pHl9Ws8bgjqrm8pmFZTJcJax7cUHinBVUF4"];
}
if (teamInfo["qbfmETFIren8pHl3WZtMgmmuz583FZSdpMRax74XAiX6Vlx6"]!=""){
row =obj.insertRow(-1);
row.vAlign = "top";
cell=row.insertCell(-1);
cell.width = "80px";
cell.innerHTML = "" + JOIN_DATA_STR + "";
cell=row.insertCell(-1);
cell.innerHTML =teamInfo["qbfmETFIren8pHl3WZtMgmmuz583FZSdpMRax74XAiX6Vlx6"];
}
if (teamInfo["qbfmETFIren8pH51XMsegm6mwMk2E5aa+pBax7IXGSb7RUtzbW4IEtD"] != ""){
row =obj.insertRow(-1);
row.vAlign = "top";
cell=row.insertCell(-1);
cell.width = "80px";
cell.innerHTML = "" + PREVIOUS_CLUB_STR + "";
cell=row.insertCell(-1);
cell.innerHTML =teamInfo["qbfmETFIren8pH51XMsegm6mwMk2E5aa+pBax7IXGSb7RUtzbW4IEtD"];
}
if (teamInfo["qbfmETFIren8pHonXJwZ0Tmuy58yQJHOrJZax7sWCC79W119R2OJQ"] != ""){
row =obj.insertRow(-1);
row.vAlign = "top";
cell=row.insertCell(-1);
cell.width = "80px";
cell.innerHTML = "" + ONCE_CLUB_STR + "";
cell=row.insertCell(-1);
cell.innerHTML =teamInfo["qbfmETFIren8pHonXJwZ0Tmuy58yQJHOrJZax7sWCC79W119R2OJQ"];
}
if (teamInfo["qbfmETFIren8pCN9XpkRhD7+ncRmEpSarpZax7MUBDnnaEp2fw"] != ""){
row =obj.insertRow(-1);
row.vAlign = "top";
cell=row.insertCell(-1);
cell.width = "80px";
cell.innerHTML = "" + PERSONAL_HONOURS_STR + "";
cell=row.insertCell(-1);
cell.innerHTML =teamInfo["qbfmETFIren8pCN9XpkRhD7+ncRmEpSarpZax7MUBDnnaEp2fw"];
}
if ( teamInfo["qbfmETFIren8pC12VctK1Wr5nMphFMme+JVax7wdAiz2Qw"]!=""){
row =obj.insertRow(-1);
row.vAlign = "top";
cell=row.insertCell(-1);
cell.width = "80px";
cell.innerHTML = "" + PLAYER_DATA_TITLE[3] + "";
cell=row.insertCell(-1);
cell.innerHTML =teamInfo["qbfmETFIren8pC12VctK1Wr5nMphFMme+JVax7wdAiz2Qw"];
}
if (teamInfo["qbfmETFIren8pH4kW8kdgWWpnZg3FJSa+JVax6MdAiz2Qw"]!="" ){
row =obj.insertRow(-1);
row.vAlign = "top";
cell=row.insertCell(-1);
cell.width = "80px";
cell.innerHTML = "" + PLAYER_DATA_TITLE[4] + "";
cell=row.insertCell(-1);
cell.innerHTML =teamInfo["qbfmETFIren8pH4kW8kdgWWpnZg3FJSa+JVax6MdAiz2Qw"];
}
if (teamInfo["qbfmETFIren8pCojCswagDmpzJhkEsGf+Jlax6QKBC33W01AemTA"]!="" )
{
row =obj.insertRow(-1);
row.vAlign = "top";
cell=row.insertCell(-1);
cell.width = "80px";
cell.innerHTML = "" + PROFILE_STR + "";
cell=row.insertCell(-1);
cell.innerHTML =teamInfo["qbfmETFIren8pCojCswagDmpzJhkEsGf+Jlax6QKBC33W01AemTA"];
}
loadCoachOK = true;
}
}
function showMap()
{
var LANG_CODE = {"gb":"zh-CN","big":"zh-TW","en":"en", "vn":"vi", "th":"th", "kr":"ko"};
if(typeof(ADVISIBLE)!="undefined" && ADVISIBLE==true){
var mapwin = window.open('', "_blank", '');
mapwin.document.open('text/html', 'replace');
teamInfo["qbfmETFIren8pHpzWsgQhGmvzp01QJOe+pBU+aQ"]=teamInfo["map"].replace("maps.google.com","ditu.google.cn") ;
var code = '';
mapwin.document.writeln(code);
mapwin.document.close();
}
}