    today=new Date();
    var hours = today.getHours();
    var minutes = today.getMinutes();
    var seconds = today.getSeconds();
    var timeValue = "" + ((hours >12) ? hours -12 :hours); timeValue += ((minutes < 10) ? "<BLINK>:</BLINK>0" : "<BLINK>:</BLINK>") + minutes+"";
    timeValue += (hours >= 12) ? " pm" : " am";
    function initArray(){
    this.length=initArray.arguments.length
    for(var i=0;i<this.length;i++)
    this[i+1]=initArray.arguments[i] }
    var d=new initArray("<font color=red>Sunday","<font color=#999999>Monday","<font color=#999999>Tuesday","<font color=#999999>Wednesday","<font color=#999999>Thursday","<font color=#999999>Friday","<font color=green>Saturday"); document.write("",today.getYear(),"-","",today.getMonth()+1,"-","",today.getDate(),"  ",d[today.getDay()+1]," </font>",timeValue);