$(document).ready(function() {

	$('.post p').each(function(){
		if($(this).html() === '&nbsp;') {
	    	$(this).remove();
		} else if($(this).html() === '<br>') {
	    	$(this).remove();
		}
	});

	stretch_sidebar_content();
	
	Shadowbox.init({
		skipSetup: true,
	});
	Shadowbox.setup("#doc14", {
		player: "iframe",
		height: 500,
		width: 393,
		displayCounter: false,
		title: ''
	});
	Shadowbox.setup("#doc15", {
		player: "iframe",
		height: 500,
		width: 393,
		displayCounter: false,
		title: ''
	});
	

	
});
function stretch_sidebar_content() {
	var conth = $('#content').height()
	var sideh = $('#sidebar').height()
	if ( sideh < conth ) {
		$('#sidebar').height( conth );
	}
}



