$(document).ready(function() {
  if($('#twitter').length > 0) {
    new TWTR.Widget({
      id: 'twitter',
      version: 2,
      type: 'profile',
      rpp: 3,
      interval: 6000,
      width: 340,
      height: 215,
      theme: {
    	shell: {
    	  background: 'transparent',
    	  color: '#ffffff'
    	},
    	tweets: {
    	  background: 'transparent',
    	  color: '#ffffff',
    	  links: '#255c94'
    	}
      },
      features: {
    	scrollbar: false,
    	loop: false,
    	live: false,
    	hashtags: true,
    	timestamp: true,
    	avatars: false,
    	behavior: 'all'
      }
    }).render().setUser('kabaaldotorg').start();
	}

  $('#picker div').click(function() {
      $(this).siblings().removeClass('active');
      $(this).addClass('active');
      $('#list a').show();
      if($(this).hasClass("gemaal")) {
          $('#list .digitaal').hide();
      }
      if($(this).hasClass("digitaal")) {
          $('#list .gemaal').hide();
      }
  });
});

