Prime Minister Ehud Olmert of Israel vowed that Israel would '' continue doing whatever is necessary to achieve our goals , '' to drive Hezbollah from the border with Lebanon and to secure the release of captured Israeli soldiers . ''