
// Support for jQuery features
// Steve Knoblock Saturday, June 06, 2009

$(document).ready(function() {

	// faq
	$('#faq').find('dd').hide().end().find('dt').click(function() {
		$(this).next().slideToggle();
	});

	// profile
	$('a.toggle').click(function(){
		$('#more_profile').toggle();
			moretext = this.text;
			if ( moretext == '(more)' ) { moretext = '(less)'; } else { moretext = '(more)'; }
			$('#more_link').text(moretext);
			return false;
		});

	// bulletin truncator
	$(function() {
		$('.bulletin_text').truncate({max_length: 140, more: 'more', less: 'less'});
	});

	// populate search location field
	populateElement('#location', 'City, State or Zip');


});

