
 $(document).ready(function(){
    // Using multiple unit types within one animation.
	  var oh = $("#myForm").height()+30;
	  var ow = $("#myForm").width()+30;
	  var fow = $("#everything").width();
	  var foh = $("#everything").outerHeight();
	  var w = $(window).height();
	  var wd = $(window).width();
	  var h = (w / 2) - (oh /2);
	  var ww = (wd / 2) - (ow /2);
    jQuery.easing.def = "easeOutBounce";
      $("#go").animate({ 
        opacity: 0
      }, 8500  ).animate({ 
        opacity: 0
      }, 850 );
	  $("#overlay").css("visibility","visible").animate({ 
        opacity: 0
      }, 8500 ).animate({ 
        opacity: 0.4
      }, 850 );
      $("#close").animate({ 
        opacity: 0
      }, 8500 ).animate({ 
        opacity: 1
      }, 850 );
      $("#myForm").animate({ 
		left: ww+'px',
        opacity: 0
      }, 8500 ).animate({ 
        opacity: 1,
		top: h+'px'
      }, 850 );

  });