jQuery.noConflict();jQuery(document).ready(function($){
	$('#side-inner h3.h3archive').append(' +/-').css("cursor","pointer").next().hide();
	$('#side-inner h3.current-archive').next().show();
	$('#side-inner h3.h3archive').click(function(){
		var $nextUL = $(this).next();
		var $visibleSiblings = $nextUL.siblings('ul:visible');
		if ($visibleSiblings.length ) {
			$visibleSiblings.slideUp('fast', function() {
			$nextUL.slideToggle('fast');		 });		
			} else {
			$nextUL.slideToggle('fast');
		}
	});


	// Shrink over-sized thumbs
	$('img.size-thumbnail').height(75).width(75);

	// Show/Hide TOC for series
	$('.series_toc ol').hide();
	$('.series_toc h3').attr("title","Show other images in this set").css("cursor","pointer").append(" Series +/-").click(function(){
		$('.series_toc ol').toggle("slow");
	});

	$('#comments-header').hide();
	$('#commenttoggle').attr("title","Show/hide comments").click(function(){
		$('#comments-header').toggle("fast");
	});

	$('#metamore').hide();
	$('#metamoretoggle').attr("title","Show/hide more information about this picture.").click(function(){
		$('#metamore').toggle("fast");
	});

	$('a.tooltip').tooltip(function (el) {
          return el.anchor_title;
									 });

});	