http://runjs.cn/code/9ulk0r39 转载于:https://www.cnblogs.com/qq505610307/archive/2013/03/21/2973648.html