im suprised that the flyers didnt get it not that i would want them to get it because they are in the eastern confrence and i dont want anybody ahead of the leafs ( i doubt that would happen anyway sadly) but the blackhaws were 26th in the league

It seems that there may be a little uncertainty about how they decide who gets the first pick overall. Here is a snippet directly from the current NHL/NHLPA Collective Bargaining Agreement that should help clear it up. I also see that it is listed in the article link at the top of this page:

---------------------------------------------Entry Draft Selection

The order of the selection of the first round of the 2006 Entry Draft and Entry Drafts in the years following, shall be determined as follows:

(a) Clubs that do not make the Playoffs participate in a weighted drawing.(b) The non Playoff Clubs shall be ranked in the inverse order of the Regular Season point totals, with team #1 being the Club with the worst record, team #14 being the club with the best record: