Domestic equity benchmarks opened on a flat note on Friday, but gained afterwards, after relief in global oil prices and US President Donald Trump's ceasefire announcement between Israel and Lebanon. Sensex opened at 77,976, down 12 points, or 0.02 per cent, while Nifty began the session up 30 points, or 0.13 per cent, at 24,165.