Simulation : http://jsfiddle.net/frontenddeveloper/VXg2D/597/