show or not, image based on browser width
I am working on a site that will not all fit horizontally in a browser window that is less than 945px. My client is fine with that and wants the current layout. What happens is that 2 images overlap.
I don't want to use screen resolution because the script wouldn't work if a 1024 user had his Favorites panel open, so I'd like to sniff out the current width of the browser window.
And of course it needs to work in all recent browsers. My knowledge of JS is limited thought I'm good with Action Script so I get the idea, and I have reference books to help me, also.
I would greatly appreciate any help I can get.