jQuery(document).ready((function() {
	jQuery('.single_track_desc_reveal').click(function(e) {
		jQuery(e.target).parent().next().toggle("fast");
	})
	
	jQuery('.single_track_desc_reveal').hover(function() {
		jQuery(this).css({'cursor' : 'pointer'});
	})

	jQuery('.single_track_description').hide();

	// Open all external links in new window
	jQuery(function(){
		jQuery(".popup").click(function() {
	        var width = jQuery(this).attr("windowWidth")
	        var height = jQuery(this).attr("windowHeight")
	        var url = jQuery(this).attr("href")
	        if (jQuery(this).attr("target")) url = jQuery(this).attr("target");
	        var popupWindow = window.open(url, '_blank', 'width='+width+', height='+height+', menubar=no, scrollbars=yes, resizable=yes');
	        popupWindow.focus();
	        return false;
	    });
	});

}));

