added  tab code

Added tabs to index.php and initial javascript to activate tab
functionality