// remap jQuery to $
(function($){})(window.jQuery);

	$(function(){
		$('#slides').slides({
			preload: true,
			preloadImage: '_/img/slider/loading.gif',
			play: 10000,
			pause: 2500,
			slideSpeed: 600,
			hoverPause: true
		});
	});
	
/* trigger when page is ready */
$(document).ready(function (){
	
	$('#testimonials').innerfade({
		speed: 'slow',
		timeout: 12000,
		type: 'sequence',
		containerheight: '40px'
	});
	
	$.localScroll();
	
	$(function() {
	$("").css("opacity","1.0");
	$("").hover(function () {
	$(this).stop().animate({
	opacity: 0.8
	}, "fast");
	},
	function () {
	$(this).stop().animate({
	opacity: 1.0
	}, "fast");
	});
	});
	
	animatedcollapse.addDiv('tour-wrap', 'optional_attribute_string')
	animatedcollapse.init()


	
});

$(window).load(function() {
		$('.flexslider').flexslider({
		  animation: "slide",
		  controlsContainer: ".flexslider-container",
		  slideshowSpeed: 8000,
		  animationDuration: 600
	  });
	});

/* optional triggers

$(window).load(function() {
	
});

$(window).resize(function() {
	
});

*/
