<!-- 奥运代码开始 -->
<img src="http://mimg.163.com/index/new/wuhuan.gif" width="32" height="16">
<Script Language="JavaScript">
var timedate= new Date("August 8,2008");
var times="北京奥运会";
var now = new Date();
var date = timedate.getTime() - now.getTime();
var time = Math.floor(date / (1000 * 60 * 60 * 24));
if (time >= 0) ;
document.write("<font style='font-size:12px;line-height:18px;color:#000000'>离2008"+times+"开幕还有</font><font style='color:#F5A100;line-height:25px;font-family:Verdana;font-size:20px;'><b>"+time +"</b></font><font style='font-size:12px;line-height:18px;color:#000000'>天</font> ");
</Script>
<!-- 奥运代码结束 -->
效果演示
http://mail.126.com/2008count/126_ch.htm