After trading sideways for most of the session on Friday, stocks picked up in the afternoon to end with solid gains heading into the long weekend. The Dow Jones Industrial Average (DJINDICES: ^DJI) gained 45 points or 0.2%, and the S&P 500 (SNPINDEX: ^GSPC) added 9 points, or 0.4%. Both indexes rose by better than 2% for the week and are nearing year-to-date highs.