参考:
http://cache.baidu.com/c?m=9d78d513d9d431df4f9996697d65c012684380122ba1d2020fd28449e3732a365017e5ac57530770a4d13b275fa0131aacb22173441e3dedc0df883d8de8c97e689f27432141d95c588d4ee9901579dc70ce07bcb242a1edaf2fc2add4d9d55750c8050029d4a6df580b14c96ea41466e9a18e48620556e5b3&p=882a934f91891dc31cbe9b7f490d&user=baidu
http://cache.baidu.com/c?m=9d78d513d9d431df4f9996697d65c012684380122ba1d2020fd28449e3732a365017e5ac57530770a4d13b275fa0131aacb22173441e3dedc0df883d8de8c97e689f27432141d95c588d4ee9901579dc70ce07bcb242a1edaf2fc2add4d9d55750c8050029d4a6df580b14c96ea41466e9a18e48620556e5b3&p=882a934f91891dc31cbe9b7f490d&user=baidu
https://developer.mozilla.org/en/Code_snippets/File_I%2F%2FO