jQuery(document).ready(function() {
   // do stuff when DOM is ready
   // Hide header_movie when window is too narrow
function seeWidth() {
	w=($(window).width());                                      
   if (w<820){$("#header_movie").hide();}
   else{$("#header_movie").show();}
   }

 // initial call of seeWidth function on load.
   seeWidth();
   
 // call of seeWidth on window resize
 $(window).resize(function(){
	seeWidth();                                      
   });
 
// hide, then animate in the content
   $("#mainContent").hide();
   $("#mainContent").animate({"opacity":"show"}, 750);
 });           