>>242 >>229
http://codepad.org/tUKVDJeA