Display Tabbed Items

Hey, have you ever been to a site like www.rediff.com and observed that clicking on a particular tab will display news about that tab ? (See illustration below)

Illustration 1: Clicking on 'Headlines' will display all headlines


Illustration 2: Clicking on 'New' will display all general news


Illustration 3: Clicking on 'Business' will display all business news


Check out the link to find out how to code something similar!
http://javascript.biologyformhtcet.com/display_tabbed_items.html