			if(navigator.appName == "Netscape") {
			document.write('<layer id="clock"></layer>');
			}
			DaysofWeek = new Array()
			  DaysofWeek[0]="Ch&#7911; nh&#7853;t";
			  DaysofWeek[1]="Th&#7913; 2";
			  DaysofWeek[2]="Th&#7913; 3";
			  DaysofWeek[3]="Th&#7913; 4";
			  DaysofWeek[4]="Th&#7913; 5";
			  DaysofWeek[5]="Th&#7913; 6";
			  DaysofWeek[6]="Th&#7913; 7";
			
			Months = new Array()
			  Months[0]="1";
			  Months[1]="2";
			  Months[2]="3";
			  Months[3]="4";
			  Months[4]="5";
			  Months[5]="6";
			  Months[6]="7";
			  Months[7]="8";
			  Months[8]="9";
			  Months[9]="10";
			  Months[10]="11";
			  Months[11]="12";
			
			
			function upclock(){
			var dte = new Date();
			var hrs = dte.getHours();
			var min = dte.getMinutes();
			var sec = dte.getSeconds();
			var day = DaysofWeek[dte.getDay()];
			var date = dte.getDate();
			var month = Months[dte.getMonth()];
			var year = dte.getFullYear();
			
			var col = ":";
			var spc = " ";
			var com = ",";
			var sep = "/";
			var apm;
			var ngay = "Ng&agrave;y: ";
			
			if (date == 1 || date == 21 || date == 31)
			  {ender = "<sup>st</sup>"}
			else
			if (date == 2 || date == 22)
			  {ender = "<sup>nd</sup>"}
			else
			if (date == 3 || date == 23)
			  {ender = "<sup>rd</sup>"}
			
			else
			  {ender = "<sup>th</sup>"}
			
			
			
			if (hrs == 0) hrs=24;
			if (hrs<=9) hrs="0"+hrs;
			if (min<=9) min="0"+min;
			if (sec<=9) sec="0"+sec;
			if(navigator.appName == "Netscape") {
			document.clock.document.write( hrs+col+min+col+sec+spc+spc+day+com+spc+ngay+date+sep+month+sep+year);
			document.clock.document.close();
			}
			if (navigator.appVersion.indexOf("MSIE") != -1 || navigator.userAgent.indexOf("Firefox") != -1){
				document.all.clock.innerHTML = hrs+col+min+col+sec+spc+spc+day+com+spc+ngay+date+sep+month+sep+year;
			}
			}
			setInterval("upclock()",1000);

