' +
+ '
' +
+ '
' +
+ p.totalSeconds.toHMS() + '
' +
+ '
' +
+ ((p.totalSeconds > 0) ? ((p.totalMeters / p.totalSeconds).toKmH() * factor_kmh).toFixed() : 0) + ' ' + unit_kmh + '
' +
+ '
' +
+ (p.totalMeters.toKm() * factor_km).toFixed(2) + ' ' + unit_km + '
' + '
';
+ }
+ popup =
+ '';
return popup;
}
-function load(type,userid,trackid) {
- var url = 'download.php?type='+type+'&userid='+userid+'&trackid='+trackid;
+function load(type, userid, trackid) {
+ var url = 'download.php?type=' + type + '&userid=' + userid + '&trackid=' + trackid;
window.location.assign(url);
}
-function updateSummary(l,d,s) {
+function updateSummary(l, d, s) {
var t = document.getElementById('summary');
- if (latest==0){
- t.innerHTML = '