Palestinians took stock on Monday of the devastation from a three-week war in the Gaza Strip as a cease-fire took hold and Israeli forces pressed on with their gradual withdrawal from the Hamas-ruled territory.

A spokesman for Hamas's armed wing, his face masked by a checkered Arab scarf, vowed it would replenish its arsenal of rockets and other weapons, in defiance of any Israeli or international efforts to cut off smuggling routes.

Bulldozers cleared rubble from streets and the Palestinian Central Bureau of Statistics said the total repair bill would be at least $1.9 billion.

A source in the Hamas administration in the Gaza Strip said 5,000 homes, 16 government buildings and 20 mosques were destroyed and 20,000 houses damaged. Israel claimed Palestinians used mosques as weapons depots.

Saudi King Abdullah announced the kingdom would donate $1 billion for reconstruction in the Gaza Strip. Israel reopened three border crossings to enable more basic goods to be transferred to the territory of 1.5 million Palestinians.

A Palestinian boy stands next to his family's house, destroyed during Israel's offensive, in Jabalya in the northern Gaza Strip on Monday as Israeli forces were pulling out of the area.

Military officials said troops and tanks that had poured into the enclave on Jan. 3 as part of an offensive to counter Palestinian rocket attacks were gradually leaving, though they remained ready to tackle any flare-ups in fighting.

Israel and Hamas separately declared cease-fires on Sunday, the Hamas movement demanding an Israeli pullout within a week.

Palestinians emerged from hiding, shocked at the killing of more than 1,300 fellow residents of Gaza and at the widespread destruction of homes and government infrastructure.

"We want a solution that would guarantee Israeli tanks do not return to kill us," said Yehya Aziz, a 22-year-old Gaza resident.

Gaza medical officials said the Palestinian death toll included at least 700 civilians. Israel, which accused Hamas of endangering non-combatants by operating in densely populated areas, said hundreds of gunmen were among the dead. Hamas's armed wing challenged the figure, saying it lost 48 fighters.

Ten Israeli soldiers were killed as well as three Israeli civilians hit by rockets, Israel says. Western powers had pushed for a cease-fire. While publicly sympathetic to Israel's security concerns, they had voiced alarm at mounting civilian casualties and hardship in the Gaza Strip.

The crisis clouded the last days of the Bush administration. It spelled Middle East challenges that US President-elect Barack Obama, who is to be sworn in today, may find no less insurmountable than those faced by his predecessors.

REUTERS GAZA