NEW YORK, Oct 22 (Reuters) - Technology shares advanced on Friday after positive earnings from Baidu Inc ( BIDU.O ) and SanDisk ( SNDK.O ) helped push the S&P 500 and Nasdaq toward a third straight week of gains. Profit at SanDisk, a maker of flash memory ...