$.easing.custom = function (x, t, b, c, d) {
	var s = 1.70158;  
	if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; 
	return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; 
	}

$(function() { 
	$("a[rel]").overlay({effect: 'apple'}); 
}); 

$(document).ready(function() {
	$("#flowpanes").scrollable({size: 1, easing: 'custom', speed: 700, clickable: false, activeClass: 'current'}).navigator({navi: "#mainmenu", naviItem: 'a', activeClass: 'current'});
});