$(document).ready(function() {
	$(".scroller").scrollable({
		items: '#tools',
		size: 1,
		clickable: true,
          circular: true
	}).autoscroll({interval: 4000, autoplay: false}).navigator();
	
	$('.bannerContainer')
		.hover(function(e) {
			$(this).find('.textContainer').hoverFlow(e.type, { top: 140},{duration: 'fast'});
		}, 
		function(e) {
			$(this).find('.textContainer').hoverFlow(e.type, { top: 236 },{duration: 'fast'});
		}
	);
});
/* this is to be used with the .cycle plugin
	$('.scroller').cycle({
        fx:      'scrollHorz',
        timeout:  1000,
        speed: 300,
        prev:    '#prev',
        next:    '#next',
        pagerAnchorBuilder: function(idx, slide) {
            // return sel string for existing anchor
            return '#tools .tool:eq(' + (idx) + ')';
        }
    });
	*/