$(function(){
	$(".col3 h2.widgettitle").append("<strong class='tit-mais'> +</strong><strong class='tit-menos'> -</spastrongn>")
	$(".col3 h2.widgettitle").prepend("<a href='#' class='tit-a'>");
	$(".col3 h2.widgettitle").append("</a>");
	$(".col3 .widgettitle .tit-a").click(function(){
		var qual = $(this).parent("h2:first").html();
		
		if(qual == '<a href="#" class="tit-a"></a>Recommended<strong class="tit-mais"> +</strong><strong class="tit-menos"> -</strong>'){
			$("#gdtttermslist-4 .gdtt-widget").toggle();
			$(this).parent("h2:first").toggleClass("tit-active");
		}
		if(qual == '<a href="#" class="tit-a"></a>Artists<strong class="tit-mais"> +</strong><strong class="tit-menos"> -</strong>'){
			$("#taglist").toggle();
			$(this).parent("h2:first").toggleClass("tit-active");
		}
		if(qual == '<a href="#" class="tit-a"></a>Show / Event<strong class="tit-mais"> +</strong><strong class="tit-menos"> -</strong>'){
			$("#gdtttermslist-3 .gdtt-widget").toggle();
			$(this).parent("h2:first").toggleClass("tit-active");
		}
		if(qual == '<a href="#" class="tit-a"></a>Genre<strong class="tit-mais"> +</strong><strong class="tit-menos"> -</strong>'){
			$(".widget_categories ul:first").toggle();
			$(this).parent("h2:first").toggleClass("tit-active");
		}
		console.log(qual);
		return false;
	});
});
