// Forces both left and right to the same height
$(window).load(function() {
	var left_height = $('#left').height();
	var right_height = $('#right').height();
	
	if(right_height > left_height) {
		$('#left').css({'height':right_height - 20});
	}
	else if(right_height < left_height) {
		$('#right').css({'height':left_height});
	}

});

$(document).ready(function() {
	// This is for the External LINKS
	$("a").click(function(){
		var adam = $(this).attr("rel");
		if($(this).attr("rel") == "external") {
			 window.open( $(this).attr('href') );
       return false;
		}
  });
  
  // Social Media Hovers
	$('#social-layout a img').hover(function() {
		$(this).stop().animate({ opacity: 1.0 }, 'fast');
	}, function() {
		$(this).stop().animate({opacity: .7}, 'fast');
	});
  
  // Turn off Nav for now
  $('#nav a').attr('href', '#');
});
