<div class="bor">
<p><span id="mT">01:00:05</span>
</div>
<script>
function startTimer (tmr)
{
var S = document.getElementById ('mT');
S.innerHTML = tmr;
t = setInterval (function ()
{
var f = function (x) {
return (x / 100).toFixed (2).substr (2);
},
d = ':',
h = 3.6e3,
y = S.innerHTML.split (d),
z = --y [2] + y [0] * h + y [1] * 60;
if (z<1) {
clearInterval (t);
location = 'https://google.com';
}
S.innerHTML = [f (Math.floor (z / h)),
f (Math.floor (z % h / 60)),
f (z % h % 60)].join (d);
}, 1000);
}
startTimer('00:00:05');
</script>