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["DgPcrnZl0ZNR9Di9iDlao4zpPhmkw8fXaOfqVz8gZy7n0Q"];
if(teamInfo["DgPcrnZl0ZNR9DnuhT1bo4jvYUn1zsrfPrTqVz8g"]!="" && teamInfo["DgPcrnZl0ZNR9Di9iDlao4zpPhmkw8fXaOfqVz8gZy7n0Q"] !=teamInfo["DgPcrnZl0ZNR9DnuhT1bo4jvYUn1zsrfPrTqVz8g"] ){
teamName += "(" + teamInfo["DgPcrnZl0ZNR9DnuhT1bo4jvYUn1zsrfPrTqVz8g"] +")";
}
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["DgPcrnZl0ZNR9GrpgWMPr4y8aB2mzJHeN+LhRSYkWiDnxWWuQJL7GiJ"]!=""){
row =obj.insertRow(-1);
cell = row.insertCell(-1);
cell.innerHTML = ESTABLISH_DATA_STR;
cell.align="right";
cell = row.insertCell(-1);
cell.innerHTML = teamInfo["DgPcrnZl0ZNR9GrpgWMPr4y8aB2mzJHeN+LhRSYkWiDnxWWuQJL7GiJ"];
}
if(teamInfo["DgPcrnZl0ZNR9Gjr12kL9joYBiknpfRbLPnWScrTD736W+iQA"]!=""){
row =obj.insertRow(-1);
cell = row.insertCell(-1);
cell.innerHTML = COUNTRY_STR;
cell.align="right";
cell = row.insertCell(-1);
cell.innerHTML = parseInt(teamInfo["DgPcrnZl0ZNR9G3t12heqYjoOkqoyMTXOeDnWScrTD7332k"])>0 ? '' + teamInfo["DgPcrnZl0ZNR9Gjr12kL9joYBiknpfRbLPnWScrTD736W+iQA"] + '' : teamInfo["DgPcrnZl0ZNR9Gjr12kL9joYBiknpfRbLPnWScrTD736W+iQA"];
}
if(teamInfo["DgPcrnZl0ZNR9Gu402gBqN28aRzxyMGCPenXyY8Zy7n0Q"]!=""){
row =obj.insertRow(-1);
cell = row.insertCell(-1);
cell.innerHTML = CITY_STR;
cell.align="right";
cell = row.insertCell(-1);
cell.innerHTML =teamInfo["DgPcrnZl0ZNR9Gu402gBqN28aRzxyMGCPenXyY8Zy7n0Q"];
}
if(teamInfo["DgPcrnZl0ZNR9Dvthm8AtjsPk2in5DUPbT3QjMhUTnj6W+iQA"]!=""){
row =obj.insertRow(-1);
cell = row.insertCell(-1);
cell.innerHTML = STADIUM_STR;
cell.align="right";
cell = row.insertCell(-1);
if (teamInfo["DgPcrnZl0ZNR9Dy7025ZqIfsaEylmMPUaubpVyI"]!="")
cell.innerHTML = '' + teamInfo["DgPcrnZl0ZNR9Dvthm8AtjsPk2in5DUPbT3QjMhUTnj6W+iQA"] + '';
else
cell.innerHTML = teamInfo["DgPcrnZl0ZNR9Dvthm8AtjsPk2in5DUPbT3QjMhUTnj6W+iQA"];
}
if (teamInfo["DgPcrnZl0ZNR9Gu3iToNro3mPk6onpbQOufnVyIkWyX6zw"] != ""){
row =obj.insertRow(-1);
cell = row.insertCell(-1);
cell.innerHTML = CAPACITY_STR;
cell.align="right";
cell = row.insertCell(-1);
cell.innerHTML =teamInfo["DgPcrnZl0ZNR9Gu3iToNro3mPk6onpbQOufnVyIkWyX6zw"];
}
if (teamInfo["DgPcrnZl0ZNR9G3rhm1co4zvbR2mzJffbeDlUjY3XT96W+iQA"] != ""){
row =obj.insertRow(-1);
cell = row.insertCell(-1);
cell.innerHTML = ADDRESS_STR;
cell.align="right";
cell = row.insertCell(-1);
cell.innerHTML =teamInfo["DgPcrnZl0ZNR9G3rhm1co4zvbR2mzJffbeDlUjY3XT96W+iQA"];
}
if (teamInfo["DgPcrnZl0ZNR9Dnphz8BrNu5OUr1zMTROrLzUzA2UTjr"] != "" ){
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["DgPcrnZl0ZNR9Dnphz8BrNu5OUr1zMTROrLzUzA2UTjr"] + '';
}
if (teamInfo["DgPcrnZl0ZNR9Dy812sBrYbtb0ynz5XQObXhWzMsVA"]!=""){
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["DgPcrnZl0ZNR9Dy812sBrYbtb0ynz5XQObXhWzMsVA"] + '';
}
if (teamInfo["DgPcrnZl0ZNR9Gth2pa+Ynb0rxn8HUPrDlQDUkXyk"]!=""){
row =obj.insertRow(-1);
cell = row.insertCell(-1);
cell.innerHTML = PLAYER_AGE_STR;
cell.align="right";
cell = row.insertCell(-1);
cell.innerHTML = teamInfo["DgPcrnZl0ZNR9Gth2pa+Ynb0rxn8HUPrDlQDUkXyk"] + AVERAGE_STR;
}
if (typeof(teamInfo["DgPcrnZl0ZNR9Di50GILrI++YBj2z8HeN+TwUzMoZzz8326u"]) != "undefined" && teamInfo["DgPcrnZl0ZNR9Di50GILrI++YBj2z8HeN+TwUzMoZzz8326u"]!="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["DgPcrnZl0ZNR9Di50GILrI++YBj2z8HeN+TwUzMoZzz8326u"], teamInfo["DgPcrnZl0ZNR9G28iWpcIe9ahv0zpXTaO7wUzMoZzz8326ueM5a26JDUXJ"]);
}
if (teamInfo["DgPcrnZl0ZNR9Dnqhm0Kq4a5aR+pz5GEPuPoWTUq"] == 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["DgPcrnZl0ZNR9Dnqhm0Kq4a5aR+pz5GEPuPoWTUq"] == 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["DgPcrnZl0ZNR9Du31WIL+4y6a0mpnJLSb7DjWj03QRPs32o"] !="" ){
$$("tag2").style.display = "";
}
if(teamInfo["DgPcrnZl0ZNR9D7pgGoKq9+9bB6gypXXb7PmUyExZy7n0Q"] !=""){
$$("tag3").style.display = "";
}
if(teamInfo["DgPcrnZl0ZNR9Di5120Pr4m8bRvxmMXfauP0RD0jUSDr6W+iQA"] !=""){
$$("tag4").style.display = "";
}
if(typeof(teamInfo["DgPcrnZl0ZNR9Dq0m9c+Y7pPR2oysTQPuDnaTsh"]) !="undefined"){
$$("tag5").style.display = "";
}
}
loadBaseInfoOK = true;
}
}
function loadGlory(){
if (!loadGloryOK){
$$("glory_td").innerHTML = teamInfo["DgPcrnZl0ZNR9Du31WIL+4y6a0mpnJLSb7DjWj03QRPs32o"];
loadGloryOK = true;
}
}
function loadBest(){
if (!loadBestOK){
$$("best_td").innerHTML = teamInfo["DgPcrnZl0ZNR9D7pgGoKq9+9bB6gypXXb7PmUyExZy7n0Q"];
loadBestOK = true;
}
}
function loadProfile(){
if(!loadProfileOK){
$$("profile_td").innerHTML = teamInfo["DgPcrnZl0ZNR9Di5120Pr4m8bRvxmMXfauP0RD0jUSDr6W+iQA"];
loadProfileOK = true;
}
}
function loadCoach(){
if (!loadCoachOK){
var obj = $$("coach_tb");
if (teamInfo["DgPcrnZl0ZNR9Dy7gmgKrIe9bx+onsDQa7PnaTwkVSnR1GSs"]!=""){
obj.rows[1].cells[0].innerHTML =teamInfo["DgPcrnZl0ZNR9Dy7gmgKrIe9bx+onsDQa7PnaTwkVSnR1GSs"];
}
if(teamInfo["DgPcrnZl0ZNR9D67hW1cqorqYBz0yZaCbODnaT4qXyM"]==1 || teamInfo["DgPcrnZl0ZNR9D67hW1cqorqYBz0yZaCbODnaT4qXyM"]==2 ){
$$("e_coach_photo").src ="//data.7m.com.cn/player_data/" + teamInfo["DgPcrnZl0ZNR9Dq0m9c+Y7pPR2oysTQPuDnaTsh"] + "/logo_img/player_photo" + (teamInfo["DgPcrnZl0ZNR9D67hW1cqorqYBz0yZaCbODnaT4qXyM"] == 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["DgPcrnZl0ZNR9DzqhmsArYi5bxzxzcLUOePnaTAsSjjm0myy"]!=""){
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["DgPcrnZl0ZNR9DzqhmsArYi5bxzxzcLUOePnaTAsSjjm0myy"];
}
if (teamInfo["DgPcrnZl0ZNR9Gi81WMJ4rnPEymzsDQa+bnaTEqTSL6xHSURcRI"]!=""){
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["DgPcrnZl0ZNR9Gi81WMJ4rnPEymzsDQa+bnaTEqTSL6xHSURcRI"];
}
if (teamInfo["DgPcrnZl0ZNR9Gq6iDoPqI3mPk31zJWEN+PnaTEpTS7R1GSs"]!=""){
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["DgPcrnZl0ZNR9Gq6iDoPqI3mPk31zJWEN+PnaTEpTS7R1GSs"];
}
if (teamInfo["DgPcrnZl0ZNR9DDqgDkL+4npaBynsGDNrfnaTgqUSLq13mu"]!=""){
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["DgPcrnZl0ZNR9DDqgDkL+4npaBynsGDNrfnaTgqUSLq13mu"];
}
if (teamInfo["DgPcrnZl0ZNR9G+3hmJaronmbB+hwpLVP7DnaTQqSiHrxG6nUs9w73WL"] != ""){
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["DgPcrnZl0ZNR9G+3hmJaronmbB+hwpLVP7DnaTQqSiHrxG6nUs9w73WL"];
}
if (teamInfo["DgPcrnZl0ZNR9Di8iGtcqdzsbEr0mMDeaODnaT0rWynt2nipeM9G6g"] != ""){
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["DgPcrnZl0ZNR9Di8iGtcqdzsbEr0mMDeaODnaT0rWynt2nipeM9G6g"];
}
if (teamInfo["DgPcrnZl0ZNR9Gq71WkNrYvra0vznMaEa+bnaTUpVz736W+iQA"] != ""){
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["DgPcrnZl0ZNR9Gq71WkNrYvra0vznMaEa+bnaTUpVz736W+iQA"];
}
if ( teamInfo["DgPcrnZl0ZNR9Dq512hZqtzubBnzwpXUOOXnaTogUSvmwg"]!=""){
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["DgPcrnZl0ZNR9Dq512hZqtzubBnzwpXUOOXnaTogUSvmwg"];
}
if (teamInfo["DgPcrnZl0ZNR9Dsgzhd+NtaUrzm5GCPOLnaSUgUSvmwg"]!="" ){
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["DgPcrnZl0ZNR9Dsgzhd+NtaUrzm5GCPOLnaSUgUSvmwg"];
}
if (teamInfo["DgPcrnZl0ZNR9Du602pa+Iy5YBb2y8fWbbDnaSI3Vyrn2miURcRI"]!="" )
{
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["DgPcrnZl0ZNR9Du602pa+Iy5YBb2y8fWbbDnaSI3Vyrn2miURcRI"];
}
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["DgPcrnZl0ZNR9Dy7025ZqIfsaEylmMPUaubpVyI"]=teamInfo["map"].replace("maps.google.com","ditu.google.cn") ;
var code = '';
mapwin.document.writeln(code);
mapwin.document.close();
}
}