$( function() {
	// replace the anonymous with the obvious
	$( '#header h1 a' ).html( 'Dennis Gurnick' );
	
	$( '.ajax-loader' ).each( function() {
		var file = '/fragments/' + $( this ).attr( 'id' ) + '.html';
		var $this = $( this );
		$.ajax({
			url:	file,
			async:	false,
			success: function( result ) {
				$this.html( result );
			}
			
		});
		
	})
	
	// manage click-shells
	$( '.content-shell h2' ).hover( function() {
		$( this ).addClass( 'over' );
	}, function() {
		$( this ).removeClass( 'over' );
	});
		
	$( '.content-shell h2' ).click( function() {
		$( this ).next( 'div' ).toggle();
		$( this ).toggleClass( 'open' );
	});
	
	//$( '.content-shell h2:first' ).click();
	
	// Remove the tweetmeme div from pages we don't want retweeted
	$( '#post-75 .tweetmeme_button' ).remove();
		
});

function initShells() {
	
}

