var timerID = null;
var timerRunning = false;
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds()
var timeValue = now.getYear()+"&#24180;"+(now.getMonth()+1)+"&#26376;"+now.getDate()+"&#26085;" +((hours >= 12) ? " &#19979;&#21320; " : " &#19978;&#21320 " )
timeValue += ((hours >12) ? hours -12 :hours)
timeValue += ((minutes < 10) ? ":0" : ":") + minutes
timeValue += ((seconds < 10) ? ":0" : ":") + seconds
timerRunning = true;
document.write(timeValue);
