http://jsfiddle.net/leoliaolei/L4zTu/1/
Anonymous
Don't force yourself or others to reimplement functionality.