﻿var now = new Date();var days = new Array('Chủ nhật','Thứ 2','Thứ 3','Thứ 4','Thứ 5','Thứ 6','Thứ 7');var months = new Array('1','2','3','4','5','6','7','8','9','10','11','12');var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();function fourdigits(number)	{return (number < 1000) ? number + 1900 : number;}today =  days[now.getDay()] + ", "+date +"/"+ months[now.getMonth()] + "/" +(fourdigits(now.getYear()));function clock() {if (!document.layers && !document.all) return;var digital = new Date();var hours = digital.getHours();var minutes = digital.getMinutes();var seconds = digital.getSeconds();var amOrPm = "AM";if (hours > 11) amOrPm = "PM";if (hours > 12) hours = hours - 12;if (hours == 0) hours = 12;if (minutes <= 9) minutes = "0" + minutes;if (seconds <= 9) seconds = "0" + seconds;dispTime = hours + ":" + minutes + ":" + seconds + " " + amOrPm;if (document.layers) {document.layers.pendule.document.write(dispTime);document.layers.pendule.document.close();}else if (document.all)pendule.innerHTML = dispTime;setTimeout("clock()", 1000);}
document.write("<TABLE style=\"BORDER-COLLAPSE: collapse\" borderColor=#097a05 height=115 cellSpacing=0 cellPadding=0 width=800 border=1><TR height=\"115\"><TD><IMG height=\"100%\" src=\"images/Banner.jpg\" width=\"100%\" border=0></TD></TR></TABLE><TABLE cellSpacing=0 cellPadding=0 width=800 border=0><TR height=14><TD width=\"40%\" bgColor=#097a05 height=20><DIV style=\"font-family:Arial; font-size:9pt; color:#FFFFFF; text-align:left;\">&nbsp;&nbsp;"+today+"&nbsp;&nbsp;<SPAN id=pendule></SPAN></DIV></TD><TD width=\"60%\" bgColor=#097a05 height=20><DIV class=tieude style=\"WIDTH: 525px; HEIGHT: 16px\"align=right><FONT style=\"FONT-SIZE: 9pt\" face=Arial color=#ffffff>");
document.write("<A class=header href=\"Diembao.asp\">Điểm báo ngày |</A>");
document.write("<A class=header href=\"Diembao_tonghop.asp\"> Bản tin tổng hợp ngày |</A>");
document.write("<A class=header href=\"\desktop.aspx\"> Trang chủ &nbsp;</A>");
document.write("</FONT></DIV></TD></TR></TABLE>");
