$(document).ready(function() {

	// Show/hide the description box based on click.
	$('#id_1-hide_in_directory').bind('change', function() {
	      $('#id_1-description').parent().toggle();
	});

	$('.help').hide();

	// Show/hide help fields.
	$('input').focus(function() {

		var help_text = $(this).siblings('.help');
		help_text.fadeIn()
		$(this).blur(function() { help_text.fadeOut(); });
	});

	// Setup any select multiples which are on the form.
	//$("select[multiple]").asmSelect();

});