$(document).ready(function() {     
     
    //Execute the slideShow, set 'x' seconds for each images
    slideShow(2000);
    
    //Execute the Counter
    $("img.in").hover(
	function() {
		$(this).stop().animate({"opacity": "0"}, "slow");
	},
	function() {
		$(this).stop().animate({"opacity": "1"}, "slow");
	});
	
});
jQuery(function($){
	$("#tweet").tweet({
	  loading_text: "Tweets aan het laden...",
	  refresh_interval: 60,
	  avatar_size: 0,
	  count: 1,
	  fetch: 20,
	  filter: function(t){ return ! /^RT @\w+/.test(t.tweet_raw_text); },
	  query: "#gvhj OR from:Gebouw_vh_Jaar",
	 // username: ["Gebouw_vh_Jaar"],	  
	  
	  template: " {text} <span class=\"from\">From {user} » {retweet_action} </span>"
	});
  }).bind("loaded", function(){
	$(this).find("a.tweet_action").click(function(ev) {
	  window.open(this.href, "Retweet",
				  'menubar=0,resizable=0,width=550,height=420,top=200,left=400');
	  ev.preventDefault();
	});
  });
