http://www.cnblogs.com/o--ok/archive/2012/11/04/JS.html
http://blog.csdn.net/nx8823520/article/details/7513098