$(document).ready(function(){
	
	/*--------------------------------------------------------------------------|
	|								HYPHENATOR									|
	|	In order to avoid unnecessary blank space we use Hyphenator.js to		|
	|	hyphenate long words at the end of lines. This chunk of code...			|
	|		A) Automagically adds the class "hyphenate" to necessary paragrahps	|
	|		   so that Hyphenator knows to hyphenate them.						|
	|		B) Runs Hyphenator.													|
	---------------------------------------------------------------------------*/
	// We want to hyphenate all justified text,
	// so add it to everything that's justified
	$('#midcol p').addClass('hyphenate');
	$('#leftcol p').addClass('hyphenate');
    Hyphenator.run(); // now that they all have the class, run hyphenator to hyphenate
    
	
	/*--------------------------------------------------------------------------|
	|								LOAD TWEETS									|
	|	The following chunk of code displays tweets in whatever element has		|
	|	the .tweet class (usually a div).										|
	---------------------------------------------------------------------------*/    
	$(function(){
		$(".tweet").tweet({
			join_text: "auto",
			username: "GreenLivingDC",
			avatar_size: 48,
			count: 3,
			auto_join_text_default: "we said,",
			auto_join_text_ed: "we",
			auto_join_text_ing: "we were",
			auto_join_text_reply: "we replied",
			auto_join_text_url: "we were checking out",
			loading_text: "loading tweets..."
		});
	});

}); //$(document).ready(function(){
