function meizzTime(nowdate)
{
var mei = new Date(nowdate);
mei.setTime(mei.getTime() + 1000);
mei1=mei;
var h = (mei.getHours() > 9) ? mei.getHours() : "0" + mei.getHours();
var m = (mei.getMinutes() > 9) ? mei.getMinutes() : "0" + mei.getMinutes();
var s = (mei.getSeconds() > 9) ? mei.getSeconds() : "0" + mei.getSeconds();
document.getElementById("clock").innerText = h +":"+ m +":"+ s;
setTimeout("meizzTime(mei1)", 1000);
}