// Start delay
$.fn.delay = function(time, callback){
    jQuery.fx.step.delay = function(){};
    return this.animate({delay:1}, time, callback);
}

// Start jqeury
$(document).ready(function () { 
				
// Header slide in
$("#header").delay(1300, function () {
	$('.slide-in').animate(  {
    	'marginLeft' : "+=557px"
	}, 700);

	});
 
// Didgeridoo Slide Panel
$(".top-didge-slide").click(function(){
	  $("#panel").slideToggle("slow");
	  $(this).toggleClass("panel-down");
	});

// Media items show/hide
	$(".media-item-open").hide();
	$(".opcl-button").click(function() {
		$(this).prev().slideToggle ("slow");
			$(this).toggleClass("opened-media");
	});

// FAQ CATS
    $(".tab").click(function () {  
        $(".active").removeClass("active");  
        	$(this).addClass("active");  
        $(".faqgroup").slideUp();   
        var content_show = $(this).attr("title");  
        $("#"+content_show).slideDown();  
    });  	
	
// FAQ items show/hide
	$(".answer").hide();
	$(".question").click(function() {
		$(this).next().slideToggle (300);
	});

});