$(document).ready(function(){	
	$(".infobox").click(function() {	
		$(this).find(".excerpt").slideToggle('slow');
	});
	
	if ($.browser.safari) {
		$(".infobox").css("position","relative");
	}
	
	$('.thecontent').each(function() {
		width = $(this).find('img').width();
		width = (778 - width)/2;
		
		if ($.browser.safari) {
			$(this).find('img').css("position","relative");
			$(this).find('img').css("bottom","21px");
		}
		
		if ($.browser.msie) {}
		else {
			$(this).find('.infobox').css("margin-left",width+"px");
		}
	});		
});

/*
jQuery.easing.easeOutQuart = function (x, t, b, c, d) {
	if ($.browser.safari) {}
	else {
		$(".infobox").hide().fadeIn();
	}
	return -c * ((t=t/d-1)*t*t*t - 1) + b;
};

jQuery(function( $ ){	
$('#content-padder').serialScroll({
		items:'li',
		prev:'#lastBtn',
		next:'#nextBtn',
		offset:0,
		start:0,
		duration:3000,
		force:true,
		stop:true,
		lock:false,
		cycle:false,
		easing:'easeOutQuart', 
		jump: false
	});
});
*/
