$(function () {
		
    $(".elevator a").mouseenter(function(){
      $('a.level2').removeClass('fake');
    }).mouseleave(function(){
      $('a.level2').addClass('fake');
    });
    
    
    $('.elevator a#entj').hover(
	  function () {
	    $('.box').hide();
	    $('.box2').hide();
	    $('#box-entj').fadeIn();
	    $('#box2-entj').fadeIn();
	  }, 
	  function () {
	    $('#box-entj').fadeOut();
	    $('#box2-entj').fadeOut();
	  }
	);    
	
	$('.elevator a#estj').hover(
	  function () {
	    $('.box').hide();
	    $('.box2').hide();
	    $('#box-estj').fadeIn();
	    $('#box2-estj').fadeIn();
	  }, 
	  function () {
	    $('#box-estj').fadeOut();
	    $('#box2-estj').fadeOut();
	  }
	);
	
	$('.elevator a#esfj').hover(
	  function () {
	    $('.box').hide();
	    $('.box2').hide();
	    $('#box-esfj').fadeIn();
	    $('#box2-esfj').fadeIn();
	  }, 
	  function () {
	    $('#box-esfj').fadeOut();
	    $('#box2-esfj').fadeOut();
	  }
	);
	
	$('.elevator a#intj').hover(
	  function () {
	    $('.box').hide();
	    $('.box2').hide();
	    $('#box-intj').fadeIn();
	    $('#box2-intj').fadeIn();
	  }, 
	  function () {
	    $('#box-intj').fadeOut();
	    $('#box2-intj').fadeOut();
	  }
	);
	
	$('.elevator a#enfj').hover(
	  function () {
	    $('.box').hide();
	    $('.box2').hide();
	    $('#box-enfj').fadeIn();
	    $('#box2-enfj').fadeIn();
	  }, 
	  function () {
	    $('#box-enfj').fadeOut();
	    $('#box2-enfj').fadeOut();
	  }
	);    
	
	$('.elevator a#istj').hover(
	  function () {
	    $('.box').hide();
	    $('.box2').hide();
	    $('#box-istj').fadeIn();
	    $('#box2-istj').fadeIn();
	  }, 
	  function () {
	    $('#box-istj').fadeOut();
	    $('#box2-istj').fadeOut();
	  }
	);
	
	$('.elevator a#estp').hover(
	  function () {
	    $('.box').hide();
	    $('.box2').hide();
	    $('#box-estp').fadeIn();
	    $('#box2-estp').fadeIn();
	  }, 
	  function () {
	    $('#box-estp').fadeOut();
	    $('#box2-estp').fadeOut();
	  }
	);
	
	$('.elevator a#istp').hover(
	  function () {
	    $('.box').hide();
	    $('.box2').hide();
	    $('#box-istp').fadeIn();
	    $('#box2-istp').fadeIn();
	  }, 
	  function () {
	    $('#box-istp').fadeOut();
	    $('#box2-istp').fadeOut();
	  }
	);
	
	
	$('.elevator a#enfp').hover(
	  function () {
	    $('.box').hide();
	    $('.box2').hide();
	    $('#box-enfp').fadeIn();
	    $('#box2-enfp').fadeIn();
	  }, 
	  function () {
	    $('#box-enfp').fadeOut();
	    $('#box2-enfp').fadeOut();
	  }
	);    
	
	$('.elevator a#intp').hover(
	  function () {
	    $('.box').hide();
	    $('.box2').hide();
	    $('#box-intp').fadeIn();
	    $('#box2-intp').fadeIn();
	  }, 
	  function () {
	    $('#box-intp').fadeOut();
	    $('#box2-intp').fadeOut();
	  }
	);
	
	$('.elevator a#infj').hover(
	  function () {
	    $('.box').hide();
	    $('.box2').hide();
	    $('#box-infj').fadeIn();
	    $('#box2-infj').fadeIn();
	  }, 
	  function () {
	    $('#box-infj').fadeOut();
	    $('#box2-infj').fadeOut();
	  }
	);
	
	$('.elevator a#isfp').hover(
	  function () {
	    $('.box').hide();
	    $('.box2').hide();
	    $('#box-isfp').fadeIn();
	    $('#box2-isfp').fadeIn();
	  }, 
	  function () {
	    $('#box-isfp').fadeOut();
	    $('#box2-isfp').fadeOut();
	  }
	);
	
	
	$('.elevator a#isfj').hover(
	  function () {
	    $('.box').hide();
	    $('.box2').hide();
	    $('#box-isfj').fadeIn();
	    $('#box2-isfj').fadeIn();
	  }, 
	  function () {
	    $('#box-isfj').fadeOut();
	    $('#box2-isfj').fadeOut();
	  }
	);    
	
	$('.elevator a#esfp').hover(
	  function () {
	    $('.box').hide();
	    $('.box2').hide();
	    $('#box-esfp').fadeIn();
	    $('#box2-esfp').fadeIn();
	  }, 
	  function () {
	    $('#box-esfp').fadeOut();
	    $('#box2-esfp').fadeOut();
	  }
	);
	
	$('.elevator a#entp').hover(
	  function () {
	    $('.box').hide();
	    $('.box2').hide();
	    $('#box-entp').fadeIn();
	    $('#box2-entp').fadeIn();
	  }, 
	  function () {
	    $('#box-entp').fadeOut();
	    $('#box2-entp').fadeOut();
	  }
	);
	
	$('.elevator a#infp').hover(
	  function () {
	    $('.box').hide();
	    $('.box2').hide();
	    $('#box-infp').fadeIn();
	    $('#box2-infp').fadeIn();
	  }, 
	  function () {
	    $('#box-infp').fadeOut();
	    $('#box2-infp').fadeOut();
	  }
	);
    
    
	/*$('.c').corner();*/
 	
	
});
