//Cufon.replace('.featured-content h2, .featured-news h3');

jQuery(function($) {
	$(document).ready(function() {
		$('#navigation li:last-child, .featured-jobs ul li:last-child').addClass('last');
		$('#menu-footer-menu li:last-child span').replaceWith('');
		
		$('.widecolumn .semi-transparent').fadeTo(0, 0.5).hover(function() {
			$(this).stop(true, true).fadeTo(200, 1);
		},
		function() {
			$(this).stop(true, true).fadeTo(200, 0.5);
		});
		
		$('.featured-job').hover(function() {
			var full_color_image = $(this).find('.full-color');
			full_color_image.css('z-index', '20');
			full_color_image.fadeIn(200);
		},
		function() {
			$(this).find('.full-color').fadeOut(200);
		});
	});
	
	$(window).load(function() {
		var featured_news = $('.featured-news');
		var feeds = $('.feeds.fr');
		
		if (featured_news.height() > feeds.height()) {
			feeds.height(featured_news.height());
		} else {
			featured_news.height(feeds.height());
		}
	});
});
