$(document).ready(function(){

		$("ul#navbox span, ul#fnav span, #branding span, ul#socialimg span, ul#pmenu span").css("opacity","0");

		$("ul#navbox span, ul#fnav span, #branding span, ul#socialimg span, ul#pmenu span").hover(function (){

			$(this).stop().animate({opacity: 1}, 250);

		},



		function (){

			$(this).stop().animate({opacity: 0}, 300);

		});



//PMENU

		//When page loads...

		$(".tab_content").hide(); //Hide all content

		$("ul#pmenu li:first").addClass("active").show(); //Activate first tab

		$(".tab_content:first").show(); //Show first tab content



		//On Click Event

		$("ul#pmenu li").click(function() {



			$("ul#pmenu li").removeClass("active"); //Remove any "active" class

			$(this).addClass("active"); //Add "active" class to selected tab

			$(".tab_content").hide(); //Hide all tab content



			var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content

			{$(activeTab).show();}

			return false;

		});



});