// stylesheet check
  // function adjustStyle(height) {
  //     height = parseInt(height);
  //  var urlsheet = jQuery("#size-stylesheet").attr('alt');
  //     if (height < 700) {
  //        jQuery("#size-stylesheet").attr("href", urlsheet + "/stylesheets/screen-height-lower.css");
  // 
  //     } else {
  //    var urlsheet = jQuery("#size-stylesheet").attr('alt');
  //        jQuery("#size-stylesheet").attr("href", urlsheet + "/stylesheets/screen-height-800.css");
  //     }
  // }
  // 
  // jQuery(function() {
  //     adjustStyle(jQuery(window).height());
  //     jQuery(window).resize(function() {
  //         adjustStyle(jQuery(this).height());
  //     });
  // });
  // 

jQuery.noConflict();
jQuery(document).ready(function($) {
	
  $('.homelink, .title').click(function() {
    window.location.href = $(this).attr('link');
  });
  
  $('.portfolio_right a img:first').addClass('active');  // voorbereiding
  
  $('.portfolio_left .title').hover(function() {
    var id = $(this).attr('imageid')
    var image = ".portfolio_right #" + id + ' img'
    $('.portfolio_right .active').removeClass('active');
    $(image).addClass('active');

  });
  
  
  $("#tweets").tweet({
        username: "Plfotografie",
        join_text: "auto",
        avatar_size: 0,
        intro_text: 0,
        count: 4,
        fetch: 5,
        filter: function(t){ return ! /^@\w+/.test(t["tweet_raw_text"]); },
        auto_join_text_default: " - ", 
        auto_join_text_ed: " - ",
        auto_join_text_ing: " - ",
        auto_join_text_reply: " - ",
        auto_join_text_url: " - ",
        loading_text: "Onze tweets worden geladen",
      
    });

});



