. . "such dividends as may be declared from time to time by the board of directors out of funds legally available for distribution, and, in the event of" . .