(Reuters) - The S&P 500 and the Nasdaq rose to record levels on Friday, buoyed by gains in technology stocks, while each of the major indexes were on track to close out the quarter with solid gains.