>  sh=screen.availHeight;
>  sw=screen.availWidth;
>  ch=document.body.clientHeight;
>  cw=document.body.clientWidth;
>  if(!cw){ch=sh-132;cw=sw-8}


What does this test really test?  Under what conditions is 
body.clientWidth zero (or null?)?

> Does it work in MSIE?


No.  MSIE does not support getComputedStyle()


Reply via email to