Copy from googleCode project "obanana"