$(document).ready(function(){

    // hide focus-info
    $("#focus-info").hide();
    $("#focus-info-frnt").hide();
    //$("#news-hider").slideToggle("slow");
    //$("#events-hider").slideToggle("slow");
	
	// focus-info control
	$("a#focus-i").click(function(event){	
		// show selected menu
		$("#focus-info").slideToggle("slow");
		// turn button off
		return false;
});

// focus-info control
$("a#focus-i-frnt").click(function(event) {
    // show selected menu
    $("#focus-info-frnt").slideToggle("slow");
    // turn button off
    return false;
});

// focus-info control
$("a#focus-i-focused").click(function(event) {
    // show selected menu
$("#focus-info-focused").slideToggle("slow");
    // turn button off
    return false;
});

    // news panel control
    $("a#show-news").click(function(event) {
        // show selected menu
        $("#news-hider").slideToggle("slow");
        // turn button off
        return false;
    });

    // events panel control
    $("a#show-events").click(function(event) {
        // show selected menu
        $("#events-hider").slideToggle("slow");
        // turn button off
        return false;
    });


    // events panel control
    $("a#show-testimonial").click(function(event) {
        // show selected menu
    $("#testimonial-hider").slideToggle("slow");
        // turn button off
        return false;
    });

    	
    /*
    	
    // Set focus control
    $("ul.focuslist li a").click(function(event){
    		
    if( $(this).is(".unfocus") ) {
    // unfocus all
    $(this).parents("li").siblings("li.focused").removeClass("focused");
    } else {
    // set as focused & remove focus from any other element
    $(this).parents("li").toggleClass("focused");
    $(this).parents("li").siblings("li.focused").removeClass("focused");
    // temp add focus link class
    $(this).toggleClass("fl");
    }
    // turn button off
    return true;
    });
    	
    */
	
	
	// booking form pop up
	$(".trigger").click(function(){
	/*
		if ( $(".popup").css("display") == "block" ) {
			$(".popup").fadeOut( 1000 );
		} else {
			$(".popup").fadeIn( 1000 );
		}
	*/
		$(".popup").slideToggle("slow");
	});
	
	
	

	// end all this stuff	
});
