Sensex Gains Over 500 Points To Close Near Day's High