So did I.
The President (Peres) is directly elected, and will be the one to decide who gets the first shot at forming a government, Livni or Bibi. The heads of each of the parties are elected in a separate election, a few months ago. In todays election, voters vote for a party, though obviously the campaign revolves about individuals.