window.addEvent('domready', function() {

$ES('div.inset').each( function(element) {
    element.addClass('shadowed');
});

// TODO: This is a total hack to support Internet Explorer 6.
// Is there a better way?
if (window.ie6) {
    function fixup_node_height(id) {
        var node = $(id);
        if (node) node.style.height = node.parentNode.clientHeight + 'px';
    }
    fixup_node_height('bluebar');
    fixup_node_height('sidebar');
}

});
