$(document).ready(function() {

//--- Makes seperate lines of links function as one

	$('.tour-info-link').bind('mouseenter mouseleave', function() {
		$(this).toggleClass('hover');
	});


//--- Home Page: Equalize column heights

	var south_col = $('.south .screen').height();
	var west_col = $('.west .screen').height();
	var north_col = $('.north .screen').height();
	var equal = 200;
	
	if(south_col > equal) {
		equal = south_col;
	}

	if(west_col > equal) {
		equal = west_col;
	}	

	if(north_col > equal) {
		equal = north_col;
	}

	$("#choose-path .screen").each(function() {
		$(this).css('height',equal);
	});

//--- Home Page:  fade column background
	
	$('.south').bind('mouseenter', function() {
		$(this).find('.screen').animate({backgroundColor:"#E3C091"},  300);
	}).bind('mouseleave', function() {
		$(this).find('.screen').animate({backgroundColor:"#D8CCB3"}, 100);
	});
	$('.west').bind('mouseenter', function() {
		$(this).find('.screen').animate({backgroundColor:"#E3C091"},  300);
	}).bind('mouseleave', function() {
		$(this).find('.screen').animate({backgroundColor:"#C2C794"}, 100);
	});
	$('.north').bind('mouseenter', function() {
		$(this).find('.screen').animate({backgroundColor:"#E3C091"},  300);
	}).bind('mouseleave', function() {
		$(this).find('.screen').animate({backgroundColor:"#BBBC9C"}, 100);
	});



});
