2;
                hours = hours < 10 ? '0' + hours : hours;
                var minutes = myDate.getMinutes();
                minutes = minutes < 10 ? '0' + minutes : minutes;
                var myTime = hours + " " + ampm + " : " + minutes +
                    " : " + myDate.getMilliseconds();
                //  document.write("\tCurrent time is : " + myTime);
                document.getElementById("hour").innerHTML = hours;
                document.getElementById("min").innerHTML = minutes;
        