Republicans succeeded this week in pushing through a key piece of President Bush's anti-terror agenda, passing along party lines legislation that would endorse the military program to detain and interrogate terrorists. The administration's allies fell short, however, in their efforts to authorize the terrorism surveillance program championed by Bush. That bill would have to be finished after lawmakers return for a lame-duck session following the November elections. Both chambers this week approved legislation that sets up "military commissions" to prosecute terrorists. It also would prohibit the severe abuse of detainees, like mutilation and rape, but grant the president leeway to decide which other interrogation techniques are permissible, the Associated Press reported. The Senate's 65-34 vote on Thursday followed a House vote of 253-168 on a nearly identical measure a day earlier. To avoid having to reconcile differences between the two bills, which were described as minor, the House planned to vote Friday on the Senate bill and send that version to the president to sign. "The Senate sent a strong signal to the terrorists that we will continue using every element of national power to pursue our enemies and to prevent attacks on America," Bush said in a statement Thursday night.