function closeTechniques(){
	$('.technique-type').each(function(){
		$(this).find('ul').hide();
	})
}

jQuery(document).ready(function($) {
	$('a.lightbox').lightBox();
	$('input[title!=""]').hint();
	
	// Call stylesheet init so that all stylesheet changing functions 
	// will work.
	$.stylesheetInit();
	
	// This code loops through the stylesheets when you click the link with 
	// an ID of "toggler" below.
	$('#toggler').bind(
		'click',
		function(e)
		{
			$.stylesheetToggle();
			return false;
		}
	)
	
	closeTechniques();
	
	$('a.technique-head').toggle(
		function () {
			$(this).next().slideDown();
			return false;
		},
		function () {
			$(this).next().slideUp();
			return false;
		}
	);
	
});
