http://jsfiddle.net/oguzz/u7Ey3/17/