		$(document).ready(function() {
			var announcementDelay = 1;
			announcementDelay = announcementDelay * 1000;
			/*BEGIN CAROUSEL TOOLTIP*/
			$('.cs-button-slides').betterTooltip({speed: 10, delay: 0});
			/*END CAROUSEL TOOLTIP*/
		
	
		/*BEGIN ANNOUNCEMENT*/
			$(".showAnnouncement").click(function () {
				if ($(".showAnnouncement").html()=="Open"){
					$(".announcement").show("slide", { direction: "right" }, 1000);
				}
				else {
					$(".announcementContainer").addClass("noShow")
					$(".showAnnouncement").addClass("noShow")
					$(".cs-button-slides").removeClass("noShow");
					$("#cs-navigation-slides").removeClass("noShow");
					$("#stopCarousel").html("false");
					$(".announcement").hide("slide", { direction: "right" }, 1000);
					$('#slides').children().not('#cs-title-slides').css({ 'opacity' : .75 }).end().not('#cs-title-slides').css({ 'opacity' : .75 });
					/*$('#cs-title-slides').css({ 'opacity' : 1 }).end().children().css({ 'opacity' : .25 });*/
					$('#cs-title-slides').css({ 'display': 'block' });
					$('.carouselHeader').css({ 'opacity' : 1 });
					$('.cs-text-with-link').css({ 'opacity' : 1 });
					$('.readMore').css({ 'opacity' : 1 });
				}
			});
			
			if($(".announcementContainer").length > 0)
			{
				$(".announcement").hide("slide", { direction: "right" }, 0);
			setTimeout(function(){
				$(".announcementContainer").removeClass("noShow");
				$('#slides').children().not('#cs-title-slides').css({ 'opacity' : 0 }).end().not('#cs-title-slides').css({ 'opacity' : 0.25 });
				$('#cs-title-slides').css({ 'display' : 'none' });
				$(".announcement").show("slide", { direction: "right" }, 1000);
				
			},announcementDelay);
			setTimeout(function(){
				$(".showAnnouncement").removeClass("noShow");
			},(announcementDelay + 1000));//set how soon after pageload announcement slides out
			$(".cs-button-slides").addClass("noShow");
			$("#cs-navigation-slides").addClass("noShow");
			$("#stopCarousel").html("true");
			/*END ANNOUNCEMENT*/
			}
			
			
			
		});


