Czech President Vaclav Havel on Friday moved his country toward diplomatic ties with Lithuania, saying Prague would establish a representative in the capital of the independence-seeking Soviet republic.

Havel made the announcement after he and leaders from Hungary and Poland pledged to cooperate in dismantling many of the political and economic structures that remain from the decades of communist rule in their fledgling democracies.After the East bloc summit, Hungarian Prime Minister Jozsef Antall said he believed the Warsaw Pact, which plans to scrap its military operations soon, would be dissolved totally by early 1992 at latest.

The one-day meeting gathered Havel, Czech Prime Minister Marian Calfa with Antall, Hungarian President Arpad Goencz, Polish President Lech Walesa and his premier, Jan Krzysztof Bielecki.

The leaders signed pacts on general cooperation and collaboration in free trade and environmental protection.

At a news conference, Walesa and Antall endorsed the efforts of Lithuania, Latvia and Estonia to break with the Kremlin. But neither went as far as Havel.

"Czechoslovakia supports the legal governments and parliaments of the Baltic republics and the republic of Lithuania" in particular, Havel declared, adding Prague would set up "an office of representation" in Vilnius, the Lithuanian capital.

He gave no dates for such an action.