I have combined Tabbed Document Viewer (http://www.dynamicdrive.com/dynamici...bdocviewer.htm) and Overlapping horizontal tabs (http://www.dynamicdrive.com/style/cs...rizontal-tabs/) as I wanted to have a little more style in the tabs. It works, but not great.

What I need help with is the selected tab never changes - it is always CSS as in the example code. How do I make the selected tab show as selected?

Thanks for your help,