Warning: Missing argument 3 for write(), called in /www/wwwroot/betwayq.com/incs/robot.php on line 68 and defined in /www/wwwroot/betwayq.com/incs/data.php on line 487
// JavaScript Document
var shooterFlag = false ;
function changeSoccerRank(index)
{
if(index ==0)
{
$$("lisrank0").className = "on";
$$("lisrank1").className = "";
$$("divsrank0").style.display = "block";
$$("divsrank1").style.display = "none";
}
else
{
$$("lisrank0").className = "";
$$("lisrank1").className = "on";
$$("divsrank0").style.display = "none";
$$("divsrank1").style.display = "block";
if(!shooterFlag)
{
IniShooter();
shooterFlag = true;
}
}
}
function LoadTeamRank(value)
{
if(typeof(Content)!="undefined" && Content!=null ) Content = null;
$$("lnkTeamRank").href = "//" + DATAHOST + "/matches_data/" + value.replace(/[^0-9]+/g, '') +"/gb/index.shtml";
$$("soccerRank1_c").innerHTML="
Loading...
";
LoadJS("//" + DATAHOST +"/jfb/js/gb/" + value +".js?f=" + new Date().valueOf(),ShowTeamRank);
}
function ShowTeamRank()
{
var ulTeamRank = $$("soccerRank1_c");
var strHTML="";
if(typeof(Content)!="undefined" && Content !=null )
{
for(var i=0;i";
else
strHTML +="";
strHTML+="" + (i+1) +"";
strHTML+="" + Content[i][1] + "" + ( Content[i][3]>0?"(扣" +Content[i][3] +"分)":"") +"";
strHTML+="" + (Content[i][2] - Content[i][3]) +"";
strHTML+="";
}
}
ulTeamRank.innerHTML=strHTML;
}
function IniShooter()
{
var selShooterRank = $$("selShooterRank");
for(var i=0;i
Loading...";
LoadJS("//" + DATAHOST +"/shooter/gb/" + value +".js?f=" + new Date().valueOf(),ShowShooterRank);
}
function ShowShooterRank()
{
var ulShooterRank = $$("soccerRank2_c");
var strHTML="";
if(typeof(Shooters)!="undefined" && Shooters !=null )
{
for(var i=0;i";
else
strHTML +="";
strHTML+="" + Shooters[i][0] +"";
strHTML+="" + Shooters[i][2] +"";
strHTML+="" + Shooters[i][3] +"";
strHTML +="";
}
}
ulShooterRank.innerHTML=strHTML;
}