I need a javascript like the one at expedia. Basically When you click on flight it will go to that booking area.

Flight Hotel Cruise Car Vacation

Im lost on how to do this. Anyone?