var timeStr, dateStr, ostStr, x; 
function clock() { 
   now= new Date(); 
   hours = "";
   mins  = "";
   hours = hours + now.getHours();
   mins  = mins  + now.getMinutes();
   

   if (hours.length<=1){
      hours = "0"+hours;
   }
   if (mins.length<=1){
      mins = "0"+mins;
   }

   dateStr = "<span>" +hours+"</span>:<span>"+mins+"</span>"; 
   document.getElementById('clock').innerHTML = ' ' + dateStr + ' '; 
  // Timer = setTimeout("clock()",10); 
} 

