

/* ------- jQuery Navigation Tabs ------- */


$(document).ready(function() {

	//Page load...
	$(".tab-content").hide(); //Hide all .tab-content divs, and what's inside them...
	$(".tabs li:first").addClass("active").show(); //Make first tab active...
	$(".tab-content:first").show(); //Show the first tab's contents...

	//On Click Event...
	$(".tabs li").click(function() {

		$(".tabs li").removeClass("active"); //Remove the active class from the current tab...
		$(this).addClass("active"); //Add the active class to the newly selected tab...
		$(".tab-content").hide(); //Hide .tab-content...

		var activeTab = $(this).find("a").attr("href"); //Find href attribute to identify the active tab & content...
		$(activeTab).fadeIn(); //Fade in the active content...
		return false;
	});

});


/* ------- jQuery Wysiwyg ------- */


$(function()
{
    $('#wysiwyg').wysiwyg();
});
