应用定时器实现JavaScript的延期执行或重复执行

使用定时器实现JavaScript的延期执行或重复执行

具体见blog:http://blog.****.net/siyue_qi/article/details/2463409