
if (jQuery()) {	
	jQuery(document).ready(function() {
		if (jQuery('#additionalContent').height() < jQuery('#page').height()) {
			jQuery('#additionalContent').height(jQuery('#page').height());
			jQuery('#additionalContent').css('border-bottom','0').css('margin-bottom','0');
		}
	
		jQuery('.postmetadata').css('opacity','0.3').hover(function() {jQuery(this).css('opacity', '1');}, function() {jQuery(this).css('opacity', '0.3');});

		jQuery('.post-edit-link').each(function() {
			if (jQuery(this).parents('.postmetadata') == null || jQuery(this).parents('.postmetadata').length == 0) {
				jQuery(this).css('opacity','0.3').hover(function() {jQuery(this).css('opacity', '1');}, function() {jQuery(this).css('opacity', '0.3');});				
			}	
		});
	
		var color = "#9932cb";

		var logoAnimation = function animateLogo() {
			if (color == "#9932cb") {
				color = "#69029b";    
    		} else {
    			color = "#9932cb";
    		}
   	 	changeColor(color);
		}	
		function changeColor(newColor) {
			jQuery("#header h1 a").animate({
       		color: newColor
    		}, 2000);
    		setTimeout(logoAnimation, 2000);			
		}
	
		setTimeout(logoAnimation, 2000);
	
	});
}