Javascript Opera + Safari issue
<p>For some reason this page won't work in Opera + Safari <a href="http://dev.reggi.com/clients/mike2/" rel="nofollow">http://dev.reggi.com/clients/mike2/</a></p>

<p>this is the main code I wrote that I believe is failing:</p>

<pre><code>/*this script finds the multiples of the box_width and makes that the with of the container so the grid can be centred*/
/*sets variables*/
var box_width= 250 + 5 + 5 + 5 + 5;
/*loads the width when page starts*/
$(document).ready(function(){
    var w= $(window).width();
    w-= (w-10) % box_width;
    if (w&lt;box_width) w= box_width;
    $('.variable_window_width').width(w);

});
/*loads the new with onpage resize*/
$(window).bind('load resize', resizeFrame);
function resizeFrame() {
    var w= $(window).width();
    w-=((w-10) % box_width);
    if (w&lt;box_width) w= box_width;
    $('.variable_window_width').width(w);

};

$(function(){
    $("#grid div").corner("4px");
});
</code></pre>
