@sachin: yes, wifi takes higher priority than 3G when both are on. wifi can be can be set to always scan for available access points (and prompts you) when the preferred access points are not available.