The director of any domestic insurer when acting as its officer, counsel, agent or representative, and also for each occasion of his attendance at meetings of the board or its committees, may receive such compensation as a majority of the board deems just and reasonable.
N.J.S. § 17B:18-51