San Francisco Frontiers - US, European stock markets look to ring out year with gains