function freshbrainToggle(selector) {
  $(selector).toggle('fast');
}


$(document).ready(function(){  
  // We use the jquery plugin called suckerfish to get the great
  // suckerfish style drop down menus working across multiple
  // browsers.
	$("#header ul").superfish({
	  hoverClass: 'hover',
	  animation: {height:"show"},
	  speed: 1
	});
	
  // These are some helpers for the simple form mode. Simple
  // form mode is just a simplified representation of the original
  // form. These just help expand on that simplicity without a lot
  // of additional code.
	$("form.simple-form fieldset").removeClass('collapsed');
	
	// Shorten the length of any file field.
	$('input').each(function() {
	  if ($(this).attr('type') == 'file') {
	    $(this).attr('size', '30');
	  }
	})
});
