$( function(){
	$('#main-rotational .cycleMask .cycle').cycle({
		fx: 'fade'
		,timeout: 7000
		,speed: 200
		,easing: 'easeInBounce'
		,pause: 1
		,pager: '#main-rotational .pager'
		,pagerAnchorBuilder: function(idx, slide) { return '#main-rotational .pager a:eq(' + idx + ')'; } 
		,activePagerClass: 'selected'
		,cleartype: !$.support.opacity
		,cleartypeNoBg: true
	});
	$('#happenings-cycle .cycleMask .cycle').cycle({
		fx: 'scrollVert'
		,timeout: 7000
		,speed: 375
		,easing: 'easeInOutExpo'
		,pager: '#happenings .triggers'
		,pagerAnchorBuilder: function(idx, slide) { return '#happenings .triggers .trigger:eq(' + idx + ')'; } 
		,activePagerClass: 'selected'
		,cleartype: !$.support.opacity
		,cleartypeNoBg: true
	});
	$("#why-wesleyan .btn").click( function(e){ e.preventDefault();
		$("#why-wesleyan dl").load("/action/loadMainWhyWesleyans.php");
	});
});
