jQuery.fn.delay = function(time,func){
  this.each(function(){
  setTimeout(func,time);
});
return this;
};

$(function(){
  $(".movie").hoverIntent({
	sensitivity: 3, 
	interval: 500, 
	over: makeTall, 
	timeout: 1000, 
	out: makeShort
  });
  
  $(".movie").mouseenter(function(){
	$(this).delay(500,function(){							
	$(".movnotice").animate({ 
	top: "0px",
	}, 500 );
	});
  });
														   
  $(".movie").mouseleave(function(){
	$(".movnotice").animate({ 
	top: "-49px",
	}, 500 );
  });	
  
  $('#content a').hover(
	function(){$(this).find('div.jq-checkpointSubhead:hidden').fadeIn(500);},
	function(){$(this).find('div.jq-checkpointSubhead:visible').fadeOut(500);}
  );	
  
  $('.playbutton').hover(function() {
	$(this).animate({
	top:"260px"
  });
  },
  function() {
	$(this).animate({
	top:"280px"
	});
  });
$("#splash").tabs();

var fx = $('#splash').tabs('option', 'fx');
var spinner = $('#splash').tabs('option', 'spinner');
var cache = $('#splash').tabs('option', 'cache');

$('#splash').tabs('option', 'fx', { opacity: 'toggle' });
});

$('#splash').tabs('option', 'spinner', 'Retrieving data...');


$('#splash').tabs('option', 'cache', true);

function makeTall(){  $(".movie").animate({"height":800},500);}
function makeShort(){ $(".movie").animate({"height":504},500);}