The International Monetary Fund is happy to play a behind the scenes role in resolving the European debt crisis, which needs to be tackled with fiscal consolidation and structural reforms, the lender's chief Christine Lagarde said on Friday.

Largarde, in Brazil for the last leg of a Latin American visit to drum up support for more global cooperation, said the risk of contagion from the crisis had materialized.

I'm very happy if the IMF is in the middle of it, but in an effective way, not necessarily a visible way, Lagarde said in the recording of a Globo News TV news show in Sao Paulo.

Lagarde urged euro zone countries to find a collective, comprehensive solution to the crisis or risk enduring a lost decade.

European leaders are scrambling for a definitive end to a spreading debt crisis that is dragging down global growth and could even spell the end of the 17-nation euro zone.

The crisis has boosted the role of emerging economies on the world stage, but could also prompt some to take protectionist measures, Lagarde said.

(Reporting by Todd Benson; Writing by Alonso Soto)