// ADD SELECTORS TO ACTIVATE CUFON FONT REPLACEMENT
// Cufon.replace('div.post h1', { fontFamily: 'Rockwell', hover: 'True' });

$(document).ready(function() {
	
	// SHOW RADIO SAMPLE	
	var hiding_radio_default = 0;
	$("#link_listentowork").click(function() { 
		if (hiding_radio_default == 0)
		{
			$("#slide_radio .samples").fadeIn("slow");
			$("#slide_radio .button a").html("<img src=\"interface/images/buton_donelistening.png\" width=\"130\" height=\"129\" alt=\"I'm done listening\" />");
			$("#slide_radio .default_text").hide();
			
			hiding_radio_default = 1;
		} else {
			$("#slide_radio .samples").hide();
			$("#slide_radio .button a").html("<img src=\"interface/images/button_listentowork.png\" width=\"130\" height=\"129\" alt=\"Listen to the Work\" />");
			$("#slide_radio .default_text").fadeIn("slow");
			
			hiding_radio_default = 0;
		}
	});
	
	// SHOW MORE NEWS ITEM
	$(".readmore a").click(function() { 
		var newsid = $(this).parent().parent().parent().attr("id");
		$("#" + newsid + " div.short").hide();
		$("#" + newsid + " div.full").fadeIn("slow");
	});
	
	// SHOW LESS NEWS ITEM
	$(".readless a").click(function() { 
		var newsid2 = $(this).parent().parent().parent().attr("id");
		$("#" + newsid2 + " div.full").hide();
		$("#" + newsid2 + " div.short").fadeIn("slow");
	});
	
	
});

