function setStats(){
if(typeof(playerStats)!="undefined" && playerStats!=null){
var tb =$$("stat_tb");
var flag = false;
var totalStats = [0,0,0,0,0,0];
for(var i =0 ; i' + playerStats["QHyX9p++kuMV186QLNkq3fkaE7gKcMi8X95sYsM5"][vs
[2]] + '' + ( vs[6]==1?'':'');
cell = row.insertCell(-1);
//cell.className = "m_t1";
cell.innerHTML = '' + vs[4]
+ '-' +vs[5] + '';
cell = row.insertCell(-1);
//cell.className = "m_t2";
cell.innerHTML = '' + playerStats["QHyX9p++kuMV186QLNkq3fkaE7gKcMi8X95sYsM5"][vs
[3]] + '' + ( vs[6]==0?'':'');
cell = row.insertCell(-1);
//cell.className = "m_t1";
cell.style.color = "#008800";
cell.style.fontWeight = "bold";
cell.innerHTML = stats[0];
cell = row.insertCell(-1);
//cell.className = "m_t1";
cell.innerHTML = stats[1];
cell = row.insertCell(-1);
//cell.className = "m_t1";
cell.innerHTML = stats[2];
cell = row.insertCell(-1);
//cell.className = "m_t1";
cell.innerHTML = stats[3];
cell = row.insertCell(-1);
cell.style.color = "#FF0000";
cell.innerHTML = stats[4];
if (typeof(intime) != 'undefined'){
cell = row.insertCell(-1);
if (typeof(intime[gameId]) != 'undefined'){
cell.innerHTML = intime[gameId].minutes;
totalStats[5]+= parseInt(intime[gameId].minutes);
}
}
totalStats[0]+= parseInt(stats[0]);
totalStats[1]+= parseInt(stats[1]);
totalStats[2]+= parseInt(stats[2]);
totalStats[3]+= parseInt(stats[3]);
totalStats[4]+= parseInt(stats[4]);
flag = true;
}
if(flag){
row =tb.insertRow(-1);
row.align ="center";
cell = row.insertCell(-1);
cell.colSpan = 5;
cell.innerHTML = TOTAL_STR;
cell= row.insertCell(-1);
//cell.className = "m_t1";
cell.style.color = "#008800";
cell.style.fontWeight = "bold";
cell.innerHTML = totalStats[0];
cell = row.insertCell(-1);
//cell.className = "m_t1";
cell.innerHTML = totalStats[1];
cell = row.insertCell(-1);
//cell.className = "m_t1";
cell.innerHTML = totalStats[2];
cell = row.insertCell(-1);
//cell.className = "m_t1";
cell.innerHTML = totalStats[3];
cell = row.insertCell(-1);
cell.style.color = "#FF0000";
cell.innerHTML = totalStats[4];
if (totalStats[5] > 0){
$$('stat_intime').style.display = '';
}
}
$$("stat_div").style.display = "";
}
}