) {
            mins = '0' + mins;
        }
        if (secs < 10) {
            secs = '0' + secs;
        }
        return hours + ":" + mins + ":" + secs
    }

    function windowHidden() {
        return document.hidden || document.webkitHidden || false;
    }

    function processParams() {
        var params = {};
        var q = document.URL.split('?')[1];
        if (q != undefined) {
            q = q.split('&');
            for (var i = 0; i < q.length; i++) {
                var pv = q[i].split