Selecting a default wi-fi connection
You can change the preferred network simply by dragging it to the top of the list.

Lion: System Preferences -> Network -> Wi-Fi  -> Advanced

Older OS: System Preferences -> Network -> Airport  -> Advanced