$(document).ready(function() {


	$('.right-column a').hover(function() {
		$(this).parent().siblings().addClass('hovered').children('a').addClass('hovered');
	}, function() {
		$(this).parent().siblings().removeClass('hovered').children('a').removeClass('hovered');
	});
	
	$('.features li').hover(function() {
		$(this).addClass('hovered').css('cursor','pointer');
		if ($(this).hasClass('green')) {
			$(this).css('backgroundPosition','center -161px');
		} else {
			$(this).css('backgroundPosition','0 -400px');
		}
	}, function() {
		$(this).removeClass('hovered').css('cursor','default');
		if ($(this).hasClass('green')) {
			$(this).css('backgroundPosition','center top');
		} else {
			$(this).css('backgroundPosition','0 0');
		}
	}).click(function() {
		window.location = $(this).find('a').attr('href');
	});

	
});
