(a) Each Lender severally agrees to indemnify the Agent (to the extent not reimbursed by the Company) from and against such Lender’s pro rata share (determined as provided below) of any and all liabilities, obligations, losses, damages, actions, judgments, suits, costs, expenses or disbursements of any kind or nature whatsoever that may be imposed on, incurred by, or asserted against the Agent (in its capacity as such) in any way relating to or arising out of this Agreement or any action taken or omitted by the Agent (in its capacity as such) under this Agreement (collectively, the “ Indemnified Costs ”), provided that no Lender shall be liable for any portion of the Indemnified Costs resulting from the Agent’s gross negligence or willful misconduct. Without limitation of the foregoing, each Lender agrees to reimburse the Agent promptly upon demand for its pro rata share of any out-of-pocket expenses (including reasonable counsel fees) incurred by the Agent (in its capacity as such) in connection with the preparation, execution, delivery, administration, modification, amendment or enforcement (whether through negotiations, legal proceedings or otherwise) of, or legal advice in respect of rights or responsibilities under, this Agreement, to the extent that the Agent is not reimbursed for such expenses by the Company. In the case of any investigation, litigation or proceeding giving rise to any Indemnified Costs, this Section 8.08(a) applies whether any such investigation, litigation or proceeding is brought by the Agent, any Lender or a third party. For purposes of this Section 8.08(a), the Lenders’ respective pro rata shares of any amount shall be determined, at any time, according to the sum of (i) the aggregate principal amount of the Advances outstanding at such time and owing to the respective Lenders, (ii) their respective Ratable Shares of the aggregate Available Amount of all Letters of Credit outstanding at such time, (iii) the aggregate unused portions of their Term Commitments at such time and (iv) their respective Unused Revolving Credit Commitments at such time.