Thanks, document.body.clientWidth and .clientHeight was what I needed (i.e window.innerWidth for Netscape). screen is something else, and innerHeight or innerWidth with IE5 Felix