<HTML>
<HEAD>
<TITLE>JUNS COUNTER</TITLE>
<?
$PD_DAY = mktime(21,00,00,12,17,2008);
?>
<SCRIPT type="text/javascript">
<!--
var LASTDAY = <?=$PD_DAY?>;
function D_DayCount() {
var TODAY = new Date();
var D_DAY = parseInt(LASTDAY - (TODAY / 1000));
var DAYS = D_DAY / (60 * 60 * 24);
DAYS = Math.floor(DAYS);
var HOURS = D_DAY / (60 * 60) - (24 * DAYS);
HOURS = Math.floor(HOURS);
var MINUTE = D_DAY / 60 - (24 * 60 * DAYS) - (60 * HOURS);
MINUTE = Math.floor(MINUTE);
var SECOND = D_DAY - (24 * 60 * 60 * DAYS) - (60 * 60 * HOURS) - (60 * MINUTE);
SECOND = Math.floor(SECOND);
document.all["countView"].innerHTML = DAYS + " 일 " + HOURS + " 시간 " + MINUTE + " 분 " + SECOND + " 초";
window.setTimeout("D_DayCount();", 1000);
}
//-->
</script>
</HEAD>
<BODY>
<div id="countView" style="font-size:15pt;"></div>
<script language="JavaScript">D_DayCount();</script>
</BODY>
</html>