Volvo Match Play - latest
A/S | '; } else if (mResult == "T1") { ldbHTML += '' + mScore + ' | '; } else { ldbHTML += ''; } ldbHTML += ' | ' + mName1.replace('/',' ') + ' | '; if (mHoles == "") { ldbHTML += '' + mTime + ' | '; } else { ldbHTML += '' + mHoles + ' | '; } ldbHTML += '' + mName2.replace('/',' ') + ' | '; if (mResult == "-") { ldbHTML += 'A/S | '; } else if (mResult == "T2") { ldbHTML += '' + mScore + ' | '; } else { ldbHTML += ''; } ldbHTML += ''; mType = currMatch.type; } // end if hname1 } ldbHTML += ' |
'; ldbHTML += ''; ldbHTML += '
'; ldbHTML += ''; ldbHTML += '
'; } $(spanName).html(ldbHTML); } function refreshLBD(reloaded) { var spanName = "#matchplay"; var JSONstr = "/Images/golf_leaderboards/matchplay/leaderboard.json?" + Number(new Date().getTime()); $.getJSON(JSONstr, function(data){ renderScbd(data, '', '', spanName); }); // HBX TRACKING if (reloaded == 1 && typeof(window["_hbPageView"] === "function")) { myPN = hbx.pn + " - AUTO RELOAD "; myMLC= hbx.mlc + "/AUTO RELOAD"; _hbPageView(myPN, myMLC); } // OMNITURE TRACKING if (reloaded == 1 && (typeof SKY_TRACKING != "undefined") ) { SKY_TRACKING.autoReloadedContent = true; sky.tracking.launch ( SKY_TRACKING ); } setTimeout("refreshLBD(1);",60000); } $(document).ready(function() { refreshLBD(0); });
Comments
Post a Comment