The part if ( !cw ) is only written for Mozilla being now the only modern browser not supporting document.body.clientWidth;
Um? Works fine for me.... details? I know a failure case for this when the <body> has some bizarre overflow settings on it, but it works in all other cases I've tried.
