When the obligation of the employer, under this act, is secured by insurance, the insurance carrier shall be subrogated to all the rights and privileges of the employer under the provisions of this act and of the workmen's compensation law so far as applicable.
K.S.A. 44-5a08