Where do you find go goggles in Pokemon emerald?

After you beat Flannery (GYM Leader in Lavaridge Town) your rival will give you Go Googles.