$(function() {

	$('ul.blogarchive li').prepend('<span class=\"pointer\">&#x25B6;</span> ');
	$('ul.blogarchive li ul:not(.current) li').hide();
	$('span.pointer:first', $('ul.blogarchive li ul.current').parent()).html("&#x25BC;");
	$('ul.blogarchive li').click(function(event) {
		$('> ul li', this).slideToggle(500, function() {
			if ($(':visible', this).length == 0) {
				$('span.pointer:first', $(this).parent().parent()).html("&#x25B6;");   
			} else {
				$('span.pointer:first', $(this).parent().parent()).html("&#x25BC;");
			}
		});
		event.stopPropagation();												 
	});
});
