San Francisco Frontiers - Stock markets gain, dollar down before US inflation data