/* Declare a namespace for the site */
var Site = window.Site || {};

/* Create a closure to maintain scope of the '$'
   and remain compatible with other frameworks.  */
(function($) {
	
	//same as $(document).ready();
	$(function() {
		// Using custom configuration
		$("#carousel .slider").carouFredSel({
			items       : 1,
			auto 		: {
				pauseOnHover: true,
				pauseDuration: 5000
			},
			
			scroll 		: {
				fx		: "fade"
			},

			pagination  : {
				container   : "#bullets",
				anchorBuilder   : function( nr, item ) {
					return "<span class='bullet'>&bull;</span>";
				}
			}
		});	
		$(".tweet").tweet({
        	username: "deondernemers",
        	list: "websitetweets",
			//username: ["deondernemers", "lykle", "ronaldmulder", "twfountain", "profitbird", "stadslichten", "newbusinesslabs"],
			avatar_size: 0,
			count: 6,
			loading_text: "tweets laden..."
			}).bind("loaded",function(){$(this).find("a").attr("target","_blank");});
		});


	$(window).bind("load", function() {
		
		
	
	});
	
})(jQuery);
