
function extraNav(){
	
	var hoverLink = $("#nav li");
	
	$(hoverLink).hover(
      function () {
        $(this).children("ul").show();
      }, 
      function () {
        $(this).children("ul").hide();
      }
    );
	
	var hoverSub = $("#nav li ul");
	
	$(hoverSub).hover(
      function () {
		$(this).parent("li").addClass("is-on");
      }, 
      function () {
		$(hoverSub).parent("li").removeClass("is-on");
      }
    );

}

// Show Hide Component
$(document).ready(function(){
    $(".expanderTitle").click(function () {
		var expanderTarget = $(this).next(".expanderContent");
		$(expanderTarget).slideToggle("normal");
		var expanderButton = this.firstChild;
		$(expanderButton).toggleClass("toggleUp");
    });
	$(".expAll").click(function (){
		$(".expanderContent").slideDown("normal");
		$(".expanderTitle > a").addClass("toggleUp");
	});	
	$(".close").click(function (){
		$(".expanderContent").slideUp("normal");
		$(".expanderTitle > a").removeClass("toggleUp");
	});							 
});
// End of Show Hide Component //

// Zebra Table Strip
$(document).ready(function(){
if($('.zebra-table').length) {
			$(".zebra-table tr:nth-child(even)").addClass("alt");
		}
});
// End Zebra Table Strip //

$(document).ready(function() {
	extraNav();
	
});