jQuery(document).ready(function($) {
    $.getScript('http://widgets.twimg.com/j/2/widget.js', function() {
        var oTweet = new TWTR.Widget({
            id: 'twitter-inner',
            version: 2,
            type: 'search',
            search: '#solo11',
            title: '#solo11',
            interval: 6000,
            width: 233,
            height: 300,
            theme: {
              shell: {
                background: '#FFFFFF',
                color: '#000000'
              },
              tweets: {
                background: '#FFFFFF',
                color: '#000000',
                links: '#B92255'
              }
            },
            features: {
              scrollbar: false,
              loop: false,
              live: true,
              hashtags: true,
              timestamp: false,
              avatars: true,
              toptweets: false,
              behavior: 'default'
          }
        }).render().start();
    });

    $(function(){
      $("div.tabs ul.ajax li a:not(.ignore)").click(function(e){
        // prevent default behaviour
        e.preventDefault();

        // deselect current selected tab
        $(this).parent().siblings(".selected").each(function(){
          $(this).removeClass("selected");
        });
        // select new tab
        $(this).parent().addClass("selected");

        // hide current div
        $("div.tabs-content").hide();
        // show new div
        $("div#" + $(this).attr("id") + "-content").show();
      });
    });
});


