jQuery(document).ready(function($) {
	// jQuery code here
	$('#slideshow img:first').fadeIn(700, function() {
		$('#slideshow').cycle();
	});

	$(".boxite").hover(function() {
		$(this).children(".boxmeta").slideDown("slow") ;
	}, function() {
		$(this).children(".boxmeta").slideUp("3000");
	});
	if($(".fancybox").exists()) {
		$(".fancybox").fancybox();
	}
	$('#test').rssfeed('http://www.facebook.com/feeds/page.php?id=336057393088095&format=rss20', {
    limit: 5
  });
});



window.log = function(){
  log.history = log.history || [];
  log.history.push(arguments);
  if(this.console){
    console.log( Array.prototype.slice.call(arguments) );
  }
};

jQuery.fn.exists = function(){return jQuery(this).length>0;} // Usage: if($(".element").exists()) { /* do something */ }
