Stock Market Closes Near Weekly Highs