if ($.browser.msie && parseInt($.browser.version, 10) < 9){
        
}
else {
    Cufon.replace('#topnav a, #bottomnav a, span#searchtext, .tx-indexedsearch-title a', {hover:true});
}


$(document).ready(function(){
    // initialize scrollable  
    $("div.scrollable").scrollable({   
        size: 1,
        autoplay: true,
        circular: true,
        steps: 1,
        interval: 25000,
        disabledClass: "disabled",
        hoverClass: "active",
        loop: false,
        keyboardSteps: 1,
        easing: 'swing'
    }).navigator().autoscroll();
    
    // custom easing called "custom"
    $.easing.custom = function (x, t, b, c, d) {
        var s = 1.70158; 
        if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
        return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
    }
});

