function updateLiveticker() {
    location.reload();
}

function updateLivetickerTime() {
    var thespan = document.getElementById("refreshDate");
    
    // Datum aktualisieren
    var now         = new Date();
    
    if(now.getHours() < 10) {
        var hours = "0" + now.getHours();
    }
    else {
        var hours = now.getHours();
    }
    
    if(now.getMinutes() < 10) {
        var minutes = "0" + now.getMinutes();
    }
    else {
        var minutes = now.getMinutes();
    }
    
    if(now.getSeconds() < 10) {
        var seconds = "0" + now.getSeconds();
    }
    else {
        var seconds = now.getSeconds();
    }
    
    var actualDate  = hours + ":" + minutes;
    
    thespan.innerHTML = actualDate;
}
