$(document).ready(function() {
	$(".wordcycle").css("visibility","visible");
	
	$('.fadeProgram').append('<span class="hover"></span>').each(function () {
	  var $span = $('> span.hover', this).css('opacity', 0);
	  $(this).hover(function () {
	    $span.stop().fadeTo(500, 1);
	  }, function () {
	    $span.stop().fadeTo(500, 0);
	  });
	});
	
	$('.fadeUsers').append('<span class="hover"></span>').each(function () {
	  var $span = $('> span.hover', this).css('opacity', 0);
	  $(this).hover(function () {
	    $span.stop().fadeTo(500, 1);
	  }, function () {
	    $span.stop().fadeTo(500, 0);
	  });
	});
	
	$('.fadeResearch').append('<span class="hover"></span>').each(function () {
	  var $span = $('> span.hover', this).css('opacity', 0);
	  $(this).hover(function () {
	    $span.stop().fadeTo(500, 1);
	  }, function () {
	    $span.stop().fadeTo(500, 0);
	  });
	});
	
	$('.fadeCompany').append('<span class="hover"></span>').each(function () {
	  var $span = $('> span.hover', this).css('opacity', 0);
	  $(this).hover(function () {
	    $span.stop().fadeTo(500, 1);
	  }, function () {
	    $span.stop().fadeTo(500, 0);
	  });
	});
	
	$('#subNavArchive a').hover(function() {
	 	$(this).find("h3").css("color", "#5c5b56");
	  	$(this).find("img").fadeTo(333, .5);
	}, function() {
		$(this).find("h3").css("color", "#2e2d27");
	  	$(this).find("img").fadeTo(333, 1);
	});
	
	$('.archive .hentry').hover(function() {
		$(this).find("h2").css("color", "#5c5b56");
		$(this).find(".entry").css("color", "#5c5b56");
		$(this).find("img").fadeTo(333, .6);
	}, function() {
		$(this).find("h2").css("color", "#2e2d27");
		$(this).find(".entry").css("color", "#2e2d27");
	  	$(this).find("img").fadeTo(333, 1);
	});
	
	$('.search .hentry').hover(function() {
	  $(this).find("h2").css("color", "#5c5b56");
		$(this).find(".entry").css("color", "#5c5b56");
		$(this).find("img").fadeTo(333, .6);
	}, function() {
		$(this).find("h2").css("color", "#2e2d27");
		$(this).find(".entry").css("color", "#2e2d27");
	  	$(this).find("img").fadeTo(333, 1);
	});
	
	$('.featuredBox').hover(function() {
	  	$(this).find(".featuredBoxThumbnail img").fadeTo(333, .6);
	  	$(this).find(".featuredBoxTitle").css("color", "#5c5b56");
	}, function() {
	  	$(this).find(".featuredBoxThumbnail img").fadeTo(333, 1);
	 	$(this).find(".featuredBoxTitle").css("color", "#2e2d27");
	});
	
	$('.pagetitle a').hover(function() {
	  $(this).fadeTo(333, .5);
	}, function() {
	  $(this).fadeTo(333, 1);
	});
	
});