/**
 * @author Christoph
 */
buildTabs = function(){
    // tabs
    $('#playerTabs').tabs();
    $('#infoContainer').tabs();
}

$(document).ready(function(){
    // scrolling subtitle
    $('#subtitleContainer marquee').marquee().mouseover(function(){
        $(this).trigger('stop');
    }).mouseout(function(){
        $(this).trigger('start');
    });
    
    // hover states on buttons
    $('#playerControl button,#slideControl button').hover(function(){
        $(this).addClass('ui-state-hover');
    }, function(){
        $(this).removeClass('ui-state-hover');
    });
});
