of unemployment assistance and other departments, authorities, agencies and divisions, which have federal or other funds allocated to them for this purpose, for that portion of insurance premiums and plan costs as the secretary determines should be borne by such funds, and shall notify the comptroller of the amounts to be transferred, after similar determination, from the several state or other fu