$(document).ready(function () {
	$('.content span.pullquote').each(function () {
		$(this).parent().before('<blockquote class="pullquote">'+$(this).text()+'</blockquote');
	});
	$('.content .figure a').lightBox();
	
	// show the content that does nothing with javascript disabled
	$('.options a:hidden').css('display','block');
	
	
	// fix the min-height/menu problem for short entries
	// wouldn't it be wonderful if css could do this?
	$('.main_entry').css('min-height', '0px');
	var t = parseInt($('.aside.subnavigation').css('top')) + parseInt($('.aside.subnavigation').height()) + 100 + 25;
	if ($('.options').length > 0 && parseInt($('.options').position().top) < t) $('.options').css('top', t + 'px');
	$('.comment_count .options').css('top', 'auto');
});