// wait until document is fully scriptable
$(document).ready(function() {

	// select #flowplanes and make it scrollable. use circular and navigator plugins
	$("#scroll").scrollable({
		items: '#tools',
		size: 1,
		clickable: false,
		vertical: true
	}).navigator({
		// select #thumbs to be used as navigator
		navi: "#thumbs",
		// select A tags inside the navigator to work as items (not direct children)
		naviItem: 'a',
		// assign "current" class name for the active A tag inside navigator
		activeClass: 'current'
	});
	
	/*// enable tooltip for "servicio" element. use the "slide" effect 
    $(".servicio").tooltip({ 
		effect: 'slide',
		offset: [160,-110]
	}); */
	
	//Fancybox	
	$("a.zoom").fancybox({
		'overlayShow'			: true,
		'hideOnOverlayClick'    : true,
		'hideOnContentClick'    : true,
		'overlayOpacity'        : 0,
		'speedIn'               : 500,
		'speedOut'              : 650,
		'transitionIn'			: 'elastic',
		'transitionOut'			: 'elastic',
		'easingIn'				: 'easeOutBack',
		'easingOut'				: 'easeInBack'
	}); 
});
