$(document).ready(function(){

	$(".blogTafTrigger").click(function(){
		$(this).toggleClass("btt_expanded");
		$(".blogTafExpanded").slideToggle();
	});

	  $("#newsSwitch_01").click(function(){
	  $("#news_01").fadeIn();
	  $("#news_02").hide();
	  $("#news_03").hide();
	  $("#news_04").hide();
	  $("#news_05").hide();
	  $("#newsSwitch_01").addClass("activeStory");
	  $("#newsSwitch_02").removeClass("activeStory");
	  $("#newsSwitch_03").removeClass("activeStory");
	  $("#newsSwitch_04").removeClass("activeStory");
	  $("#newsSwitch_05").removeClass("activeStory");
	  $("#newsReadLink").attr("href","" + $("#readNews1").html());
	});

	$("#newsSwitch_02").click(function(){
	  $("#news_01").hide();
	  $("#news_02").fadeIn();
	  $("#news_03").hide();
	  $("#news_04").hide();
	  $("#news_05").hide();
	  $("#newsSwitch_01").removeClass("activeStory");
	  $("#newsSwitch_02").addClass("activeStory");
	  $("#newsSwitch_03").removeClass("activeStory");
	  $("#newsSwitch_04").removeClass("activeStory");
	  $("#newsSwitch_05").removeClass("activeStory");
	  $("#newsReadLink").attr("href",$("#readNews2").html());
	});

	$("#newsSwitch_03").click(function(){
	  $("#news_01").hide();
	  $("#news_02").hide();
	  $("#news_03").fadeIn();
	  $("#news_04").hide();
	  $("#news_05").hide();
	  $("#newsSwitch_01").removeClass("activeStory");
	  $("#newsSwitch_02").removeClass("activeStory");
	  $("#newsSwitch_03").addClass("activeStory");
	  $("#newsSwitch_04").removeClass("activeStory");
	  $("#newsSwitch_05").removeClass("activeStory");
	  $("#newsReadLink").attr("href",$("#readNews3").html());
	});

	$("#newsSwitch_04").click(function(){
	  $("#news_01").hide();
	  $("#news_02").hide();
	  $("#news_03").hide();
	  $("#news_04").fadeIn();
	  $("#news_05").hide();
	  $("#newsSwitch_01").removeClass("activeStory");
	  $("#newsSwitch_02").removeClass("activeStory");
	  $("#newsSwitch_03").removeClass("activeStory");
	  $("#newsSwitch_04").addClass("activeStory");
	  $("#newsSwitch_05").removeClass("activeStory");
	  $("#newsReadLink").attr("href",$("#readNews4").html());
	});

	$("#newsSwitch_05").click(function(){
	  $("#news_01").hide();
	  $("#news_02").hide();
	  $("#news_03").hide();
	  $("#news_04").hide();
	  $("#news_05").fadeIn();
	  $("#newsSwitch_01").removeClass("activeStory");
	  $("#newsSwitch_02").removeClass("activeStory");
	  $("#newsSwitch_03").removeClass("activeStory");
	  $("#newsSwitch_04").removeClass("activeStory");
	  $("#newsSwitch_05").addClass("activeStory");
	  $("#newsReadLink").attr("href",$("#readNews5").html());
	});

	$("#spotSwitch_01").click(function(){
	  $("#spot_01").fadeIn();
	  $("#spot_02").hide();
	  $("#spot_03").hide();
	  $("#spot_04").hide();
	  $("#spot_05").hide();
	  $("#spotSwitch_01").addClass("activeStory");
	  $("#spotSwitch_02").removeClass("activeStory");
	  $("#spotSwitch_03").removeClass("activeStory");
	  $("#spotSwitch_04").removeClass("activeStory");
	  $("#spotSwitch_05").removeClass("activeStory");
	  $("#spotReadLink").attr("href",$("#readSpot1").html());
	});

	$("#spotSwitch_02").click(function(){
	  $("#spot_01").hide();
	  $("#spot_02").fadeIn();
	  $("#spot_03").hide();
	  $("#spot_04").hide();
	  $("#spot_05").hide();
	  $("#spotSwitch_01").removeClass("activeStory");
	  $("#spotSwitch_02").addClass("activeStory");
	  $("#spotSwitch_03").removeClass("activeStory");
	  $("#spotSwitch_04").removeClass("activeStory");
	  $("#spotSwitch_05").removeClass("activeStory");
	  $("#spotReadLink").attr("href",$("#readSpot2").html());
	});

	$("#spotSwitch_03").click(function(){
	  $("#spot_01").hide();
	  $("#spot_02").hide();
	  $("#spot_03").fadeIn();
	  $("#spot_04").hide();
	  $("#spot_05").hide();
	  $("#spotSwitch_01").removeClass("activeStory");
	  $("#spotSwitch_02").removeClass("activeStory");
	  $("#spotSwitch_03").addClass("activeStory");
	  $("#spotSwitch_04").removeClass("activeStory");
	  $("#spotSwitch_05").removeClass("activeStory");
	  $("#spotReadLink").attr("href",$("#readSpot3").html());
	});

	$("#spotSwitch_04").click(function(){
	  $("#spot_01").hide();
	  $("#spot_02").hide();
	  $("#spot_03").hide();
	  $("#spot_04").fadeIn();
	  $("#spot_05").hide();
	  $("#spotSwitch_01").removeClass("activeStory");
	  $("#spotSwitch_02").removeClass("activeStory");
	  $("#spotSwitch_03").removeClass("activeStory");
	  $("#spotSwitch_04").addClass("activeStory");
	  $("#spotSwitch_05").removeClass("activeStory");
	  $("#spotReadLink").attr("href",$("#readSpot4").html());
	});

	$("#spotSwitch_05").click(function(){
	  $("#spot_01").hide();
	  $("#spot_02").hide();
	  $("#spot_03").hide();
	  $("#spot_04").hide();
	  $("#spot_05").fadeIn();
	  $("#spotSwitch_01").removeClass("activeStory");
	  $("#spotSwitch_02").removeClass("activeStory");
	  $("#spotSwitch_03").removeClass("activeStory");
	  $("#spotSwitch_04").removeClass("activeStory");
	  $("#spotSwitch_05").addClass("activeStory");
	  $("#spotReadLink").attr("href",$("#readSpot5").html());
	});
	$(".glovesoffExpand").click(function(){
	  $("#iq_prod_wrapper").hide();
	  $("#gloves_prod_wrapper").fadeIn();
	  $("#concrobium_prod_wrapper").hide();
	});

	$(".iqExpand").click(function(){
	  $("#iq_prod_wrapper").fadeIn();
	  $("#gloves_prod_wrapper").hide();
	  $("#concrobium_prod_wrapper").hide();
	});

	$(".concrobiumExpand").click(function(){
	  $("#iq_prod_wrapper").hide();
	  $("#gloves_prod_wrapper").hide();
	  $("#concrobium_prod_wrapper").fadeIn();
	});
   $("#callOutPromoImage")
        .mouseover(function() { 
            var src = $(this).attr("src").match(/[^\.]+/) + "2.png";
            $(this).attr("src", src);
        })
        .mouseout(function() {
            var src = $(this).attr("src").replace("2", "");
            $(this).attr("src", src);
        });	
	

});
