jQuery(document).ready(function($) {
	if($('ul.people').length) {
		$('ul.people li div').BrandZoom({ crop_size: 20, speed_hover: 120, speed_unhover: 180, unit: 'px' });
	}
	
	if($('#print').length) { //if we're on home page
		$('#print').cycle({fx:'fade'});
	}

	if($('#scroller').length) {
		// main vertical scroll
		$("#scroller").scrollable({
			// basic settings
			vertical: true,
			// up/down keys will always control this scrollable
			keyboard: 'static',
			// assign left/right keys to the actively viewed scrollable
			onSeek: function(event, i) {
				horizontal.eq(i).data("scrollable").focus();
			}
		// main navigator (thumbnail images)
		}).navigator("#main_navi");
	
		// horizontal scrollables. each one is circular and has its own navigator instance
		var horizontal = $(".scrollable").scrollable({ circular: true }).navigator(".navi");
		
		// when page loads setup keyboard focus on the first horzontal scrollable
		horizontal.eq(0).data("scrollable").focus();
	}

});

