(function($){
	
	
	
	
	
	$(document).ready(function() {
				
		
		$(document.createElement("span")).appendTo("#menu-item-24");
		
							   
		$(".slidedeck_frame").click( function() {
			Cufon.replace('.slidedeck .spine', { fontFamily: 'Aller Light' });
		});
							   
							   
		$("a[id*='SlideDeck_Bug']").wrap("<div class='disapear'></div>");
		
		
		
		
		$(".img_full div").not(".img_full div:first").hide();
		$(".img_full :first, .img_thumbnail :first").addClass("active");
		
		$(".img_thumbnail a").click( function() {
			
			img_id = $(this).attr("id");
			img_id = img_id.substring(14);
			
			$(".img_full .active").hide().removeClass("active");
			$(".img_full #img_full_"+img_id).show().addClass("active");
			
			$(".img_thumbnail a").removeClass("active");
			$(this).addClass("active");
			
			
			return false;
			
		});
		
		
		
	});
	
	function setEqualHeight(columns)
	 {
	 var tallestcolumn = 0;
	 columns.each(
	 function()
	 {
	 currentHeight = $(this).height();
	 if(currentHeight > tallestcolumn)
	 {
	 tallestcolumn  = currentHeight;
	 }
	 }
	 );
	 columns.height(tallestcolumn);
	 }
	$(document).ready(function() {
	 setEqualHeight($("#level_3  > div"));
	});
	
})(jQuery);;
