jQuery(document).ready(function() {
	jQuery('.widget-title, .post-title, .page-title').each(function() {
	   var h = $(this).html();
	   var index = h.indexOf(' ');
	   if(index == -1) {
		   index = h.length;
	   }
	   $(this).html('<span class="oranje">' + h.substring(0, index) + '</span>' + h.substring(index, h.length));
	});
	
	jQuery(".home-blocks ul li.clickBox img").hover(function() {
			jQuery(this).stop().animate({"opacity": "0"}, 500);
		},
		function() {
			jQuery(this).stop().animate({"opacity": "1"}, 500);
	});	
	
	jQuery(".home-blocks ul li:last").addClass('last');
});
