//if browser supports window.innerWidth (Safari and Firefox) if (window.innerWidth) W = window.innerWidth//else if browser supports document.documentElement.clientWidth (IE 6 and Safari) else if (document.documentElement.clientWidth) W = document.documentElement.clientWidth//else if browser supports document.all (IE 4-5.5? I don't have these browsers installed, so I can't test them) else if (document.all) W = document.body.clientWidth/*MacIE5.2 currently shows no magic text :-(W = document.body.clientWidth;...should work on MacIE5.2 because this page: http://www.jpartner.com/PageReq?id=148:283 ...returns a value for it.And an alert window <script type="text/javascript">alert(document.body.clientWidth);</script> returns a value in MacIE5.2.Maybe MacIE5.2 isn't able to understand some other part of this script. I wonder where the javascript error log is for MacIE5.2*///TODO: figure out hw to re-calculate width and re-load MagicText after user resizes browser window.large_pixel_dim = 3.5;large_pixel_pad = 1;baseline = 163; //baseline determines distance (in pixels) from top of browser window to baseline of MagicText.tDesignNotes = new MagicText('Design Notes', [ '#CDD5D6', '#A8C0BB', '#A1A7A5' ], '');tDesignNotes.pixel_xdim = large_pixel_dim;tDesignNotes.pixel_ydim = large_pixel_dim;tDesignNotes.pixel_pad = large_pixel_pad;// centering horizontally code below, placement_fudging moves to right of center if positive, left if negativeplacement_fudging = -80;tDesignNotes.xy( placement_fudging + W / 2, baseline - tDesignNotes.box_height() );