function changeCarouselText(_this){	
	var textSlides = glow.dom.get(".monthView");
	textSlides.removeClass("current");
	var activeSlide = parseInt(_this.id.substring(10));
	if (activeSlide == 0 || activeSlide == 4 ||activeSlide == 8 || activeSlide == 12){
		textSlides[0].className += " current";
		return false;
	}
	if (activeSlide == 1 || activeSlide == 5 ||activeSlide == 9 || activeSlide == 13){
		textSlides[1].className += " current";
		return false;
	}
	if (activeSlide == 2 || activeSlide == 6 ||activeSlide == 10 || activeSlide == 14){
		textSlides[2].className += " current";
		return false;
	}
	if (activeSlide == 3 || activeSlide == 7 ||activeSlide == 11 || activeSlide == 15){
		textSlides[3].className += " current";
		return false;
	}	
}
glow.ready(function() {
	var mainLinks = glow.dom.get(".rightColTabs ul li a");
	mainLinks.each(function (i){
		glow.events.addListener(this, "click", function() {return changeCarouselText(this)});
		this.id = "page-slide" + i;	
	});

})