var isIE = /*@cc_on!@*/false;

$(function(){
$('#t > .topic').css('display','none');

$('.pageContentIn').css('min-height',$('#t > .topic').height());

if(isIE && typeof document.body.style.maxHeight == 'undefined'){
$('.pageContentIn').css('height',$('#t > .topic').height());
}

jump();

$('#pageSelector > li[a]').hover(
    function() {
	$(this).css('cursor','pointer');
	overClass = $(this).attr('class').replace('topic','is');
	$('#pageSelector').find('#topicMessage').addClass(overClass);
    },
    function() {
	$('#pageSelector').find('#topicMessage').removeClass(overClass);
    }
);

});

window.onload = function() {
$('#t > .topic').fadeIn(700);
}

function jump() {
	if(/know/.test(document.referrer) || /closeup/.test(document.referrer) || /interview/.test(document.referrer)) {
		if(isIE && typeof document.body.style.maxHeight == 'undefined'){
		window.scroll(0,387);
		}
		else{
		window.scrollTo(0,387);
		}
	}
}