Today, everyone and his cousin supports the "freedom agenda." Of course, yesterday it was just George W. Bush, Tony Blair, and a band of neocons who dared challenge the notion that Arabs are uniquely allergic to democracy. Indeed, the left spent the better part of the Bush years excoriating the freedom agenda as either fantasy or U.S. imperialism.

Now it seems everyone, even the left, is enthusiastic about Arab democracy. Fine. Fellow travelers are welcome. But simply being in favor of freedom is not enough. With Egypt in turmoil and in the midst of a perilous transition, we need foreign-policy principles to ensure democracy for the long run.

No need to reinvent the wheel. We've been through something analogous. After World War II, Western Europe was newly freed but unstable. The democracy we favored for the continent faced internal and external threats from communist totalitarians. The United States adopted the Truman Doctrine, which declared its intention to defend these newly free nations.

This meant not just protecting allies at the periphery, such as Greece and Turkey, from insurgency and external pressure, but also supporting democratic elements within Western Europe against powerful and determined domestic communist parties.

The communists were not just the most organized and disciplined. In France, they became the largest postwar party; in Italy, the second-largest. Under the Truman Doctrine, U.S. presidents used every instrument available, including massive assistance to democratic parties - covert and overt, financial and diplomatic - to keep the communists out of power.

nolead begins

The new totalitarianism

As the states of the Arab Middle East throw off decades of dictatorship, their democratic future faces a major threat from the new totalitarianism: Islamism. As in Soviet days, the threat is internal and external. Iran, a mini-version of the old Soviet Union, has its own allies and satellites - Syria, Lebanon, and Gaza - and its own agents operating to extend Islamist influence and undermine pro-Western, secular states. That's precisely why, in this revolutionary moment, Iran boasts of an Islamist wave sweeping the Arab world.

We need a foreign policy that not only supports freedom in the abstract, but is guided by long-range, practical principles to achieve it - a freedom doctrine composed of the following elements:

The United States supports democracy throughout the Middle East. It will use its influence to help democrats everywhere throw off dictatorial rule.

Democracy is more than just elections. It requires a free press, the rule of law, the freedom to organize, the establishment of independent political parties, and the peaceful transfer of power. Therefore, the transition to democracy and initial elections must allow time for these institutions, most notably political parties, to establish themselves.

The only U.S. interest in the internal governance of these new democracies is to protect them against totalitarians, foreign and domestic. The recent Hezbollah coup in Lebanon and the Hamas dictatorship in Gaza dramatically demonstrate how anti-democratic elements that achieve power democratically can destroy the democracy that empowered them.

Therefore, just as America once helped keep European communist parties out of power, it will be U.S. policy to oppose the inclusion of totalitarian parties - the Muslim Brotherhood or, for that matter, communists - in any government in newly liberated Arab states.

nolead begins

Another long struggle

We may not have the power to prevent this. So be it. The brotherhood may today be so relatively strong in Egypt, for example, that a seat at the table is inevitable. But under no circumstances should a presidential spokesman say, as did Robert Gibbs, that the new order "has to include a whole host of important non-secular actors." Why gratuitously legitimize Islamists? Instead, Americans should be urgently supporting secular democratic parties in Egypt and elsewhere with training, resources, and diplomacy.

We are, unwillingly again, parties to a long twilight struggle, this time with Islamism - most notably Iran, its proxies, and its potential allies. We should be clear-eyed about our preferred outcome - real democracies governed by committed democrats - and develop policies to see this through.

A freedom doctrine is a freedom agenda given direction by guiding principles. Truman did it. So can we.

Charles Krauthammer is a Washington

Post columnist. He can be reached at letters@charleskrauthammer.com.