//This is where this script comes from //

	  // When the document loads do everything inside here ...
	  $(document).ready(function(){
		
		// When a main tab link is clicked
		$("a.tab").hover(function () {
			
			
			// switch all tabs off
			$(".active").removeClass("active");
			
			// switch this tab on
			$(this).addClass("active");
			
			// hide content
			$(".maintabcontent").hide();
			
			// fadeIn this content
			var content_show = $(this).attr("rel");
			$("#"+content_show).fadeIn();
		  
		});
	
	  });
	  
