Cufon.replace('h1', { textShadow: '#333333 1px 1px' });
Cufon.replace('h2', { });
Cufon.replace('h3', { });
Cufon.replace('h4', { });
Cufon.replace('h5', { });

$(document).ready(function() {
    $('.sidebar-discount').corner();
});

//$(document).ready(function() {
//    var containerHeightStart = $('#container-background').height();

//    $('.sidebar-block-banner').corner();
//    $(window).resize(function() {
//        setContainerHeight();
//    });
//    setContainerHeight();

//    function setContainerHeight()
//    {
//        divHeight = $('#container-background').height();
//        windowHeight = $(window).height();
//        if (divHeight < windowHeight) {
//            $('#container-background').height(windowHeight);
//        } else {
//            $('#container-background').height(containerHeightStart);
//        }
//    }
//});