added some more functionality. Getting javascript errors on page sometimes, sometimes not getting any at all. Error is: Uncaught TypeError: Cannot read property 'options' of null VM7167:1
Uncaught TypeError: Cannot read property 'attachEvent' of null