function showtime () 
{
					var now = new Date();
				 
				    var year=now.getYear();
				    
				    if (year < 1000)
				        year+=1900
				    
				    var day=now.getDay();
				    var month=now.getMonth();
				    var daym=now.getDate();
				    
				    if (daym<10)
				        daym="0"+daym;
				        
				    var dayarray=new Array("Ch&#7911; nh&#7853;t","Th&#7913; hai","Th&#7913; ba","Th&#7913; t&#432;","Th&#7913; n&#259;m","Th&#7913; 6","Th&#7913; b&#7843;y");
				    var montharray=new Array("1","2","3","4","5","6","7","8","9","10","11","12");
				    
				    timeValue =(dayarray[day]+", " + daym + "/" +montharray[month]+ '/' +year + ', ');
				 
				 

				  var hours = now.getHours();
				  var minutes = now.getMinutes();
				  var seconds = now.getSeconds()
				
				  //timeValue += "  " + ((hours >12) ? hours -12 :hours)
				  timeValue += "   " +hours
				  timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
				  timeValue += ((seconds < 10) ? ":0" : ":") + seconds;
				  //timeValue += (hours >= 12) ? " P.M" : " A.M";

				  if(document.getElementById("current")){
				  		var idclock = document.getElementById("current");
				  		idclock.innerHTML = timeValue;
				  }
				
				  setTimeout("showtime()",1000);
			}
