<div align=center>
<div style="height:25px;font-size:12px;color:blue;"><a href="?action=D&Time=2008-10-12 20:57:15">对2008-10-12 20:57:15进行倒记时显示</a></div>
<div style="height:25px;font-size:12px;color:blue;"><a href="?action=S&Time=2005-10-12 20:57:15">对2005-10-12 20:57:15进行顺记时显示</a></div>
</div>
<%
Dim action
action = Request("action")
Select Case action
Case "D"
Call Dtime()
Case "S"
Call Stime()
Case Else
End Select
Sub Dtime()
dim FTime,JTime
FTime = Request("Time")
JTime = DateDiff("s",now(),FTime)
%>
<div align=center>
<div style="height:25px;font-size:12px;color:blue;">距离<%=FTime%>尚有:</div>
<div style="height:25px;font-size:12px;color:red;" id="time1">数据加载中……</div>
</div>
<SCRIPT type=text/javascript>
//opMode为1时表示进行倒记时
//opMode为0时表示进行顺记时
var auctionDate = <%=JTime%>;
var opMode = 1;
var showTime = new Array();
showTime[0] = "time1";
showTime[1] = "time2";
showTime[2] = "time3";
</SCRIPT>
<%
End Sub
Sub Stime()
dim FTime,JTime
FTime = Request("Time")
JTime = DateDiff("s",FTime,now())
%>
<div align=center>
<div style="height:25px;font-size:12px;color:blue;">从<%=FTime%>到现在已经经历了:</div>
<div style="height:25px;font-size:12px;color:red;" id="time1">数据加载中……</div>
</div>
<SCRIPT type=text/javascript>
//opMode为1时表示进行倒记时
//opMode为0时表示进行顺记时
var auctionDate = <%=JTime%>;
var opMode = 0;
var showTime = new Array();
showTime[0] = "time1";
showTime[1] = "time2";
showTime[2] = "time3";
</SCRIPT>
<%
End Sub
%>
<SCRIPT src="commodity.js" type=text/javascript></SCRIPT>