一篇很好的文章: http://www.diybl.com/course/1_web/webjs/20071021/78981.html 转载于:https://www.cnblogs.com/RickyYan/archive/2009/02/18/1393345.html