http://www.cnblogs.com/fish-li/archive/2011/07/03/2096903.html http://blog.csdn.net/fangaoxin/article/details/6952954