// JavaScript Document


// Slideshow
	$(document).ready(function(){
		$('.fpics').cycle({ 
			prev:   '#prev',
			next:   '#next',
			fx:      'fade', 
			speed:	  1500, 
			timeout:  5000,
			random:   1
		});
	});	
	$(document).ready(function(){
		$('.spics').cycle({ 
			prev:   '#sprev',
			next:   '#snext',
			fx:      'fade', 
			speed:	  500, 
			timeout:  4000,
			random:   1
		});
	});	
	$(document).ready(function(){
		$('.ppics').cycle({ 
			prev:   '#pprev',
			next:   '#pnext',
			fx:      'fade', 
			speed:	  500, 
			timeout:  4000,
			random:   1
		});
	});
	
	
// FAQs
	$(document).ready(function(){
		
			//Hide (Collapse) the toggle containers on load
			$(".toggle_container").hide(); 
		
			//Switch the "Open" and "Close" state per click
			$("h3.trigger").toggle(function(){
				$(this).addClass("active");
				}, function () {
				$(this).removeClass("active");
			});
		
			//Slide up and down on click
			$("h3.trigger").click(function(){
				$(this).next(".toggle_container").slideToggle("fast");
			});
		
		});
		
		
		
// Read more
		$(document).ready(function(){
		
			//Hide (Collapse) the toggle containers on load
			$(".outlet-container").hide(); 
		
			//Switch the "Open" and "Close" state per click
			$("a.trigger").toggle(function(){
				$(this).addClass("active");
				}, function () {
				$(this).removeClass("active");
			});
		
			//Slide up and down on click
			$("a.trigger").click(function(){
				$(this).next(".outlet-container").slideToggle("fast");
			});
		
		});
                
                
// Shadow box
    Shadowbox.init({
        language: 'en',
        players:  ['iframe, img']
    });
