wrote javascript functions for header buttons; wrapped all the courses in div id=courses