http://jsfiddle.net/PpDFf/91/embedded/result/

implemented