
$(function() {

	var showcases_scrollable = $("#showcases div.scrollable").scrollable( { api : true , interval : 2000, loop : true , size : 1, speed : 1000 } );

	/*

	$("#showcases div.scrollable-navigation a.next").click( function (event) {

		event.preventDefault();

		showcases_scrollable.next();

	});

	$("#showcases div.scrollable-navigation a.prev").click( function (event) {

		event.preventDefault();

		showcases_scrollable.prev();

	});

	*/

	var what_we_do_scrollable = $("#what-we-do-links div.scrollable").scrollable({

		api : true,

		interval : 2000,

		loop : true,

		/*

		onSeek: function(index) {

			if (index == 4) {

				setTimeout( function () {

					$("#what-we-do-links").fadeTo(250, 0, function () {

						what_we_do_scrollable.begin();

						setTimeout( function () {

							$("#what-we-do-links").fadeTo(250, 1);

						}, 500);

					});

				}, 2500);

			}

		},

		*/

		size :6,

		speed : 1000,

		vertical: true

	});

});
