(Have I mentioned that I simply hate netscape?)

Anyone know how to automatically resize a spacer or any image for that matter, particularly the width?

I need the get the size of the window that the page is being displayed, subtract 300px and set the spacer width equal to that number...

Any ideas?