$(function() {
	
	// Give Artist li hover and link defs
	$('#artists li').hover(
		function() {
			$(this).css('background', '#BABDC0');
			$(this).css('cursor', 'pointer');
			$(this).find('a:eq(1)').css('color', '#4D4D4D');
		},
		function() {
			$(this).css('background', '#A7A9AC');
			$(this).css('cursor', 'none');
			$(this).find('a:eq(1)').css('color', '#FFF');
		}
	)
	.click(function() {
		var href = $(this).find('a:first').attr('href');
		document.location = href;
	})
	.find('a.destroy').click(function() {
		return false; // Prevents event propogation
	});
	
	// Blog Archives Expansion/Collapse
	$('.dropper').toggle( 
		function() {
			$(this).nextAll('ul').slideDown('fast');
			$(this).closest('li').css('list-style-image', 'url("/images/grey_pointer_down.gif")');
			return false;
		},
		function() {
			$(this).nextAll('ul').slideUp('fast');
			$(this).closest('li').css('list-style-image', 'url("/images/grey_pointer.gif")');
			return false;
		}
	);
});