Advertising and affiliate revenues thrust the Viacom business forward