Cool, worked like a charm. I wish more sites would use this. There is one problem in my case. The body tag is in a separate document that is included in every page on our site. Is there any other event that I could use to trigger the function? I'm still learning JS and couldn't come up with anything else that's automatic. (Actually I am working on an online JS tutorial right now in another browser window
It's working right now, but it's calling the function on every page on our site, which isn't a problem but I might like to modify it to focus different elements on different pages.
Thanks,