   jQuery.easing.easeOutBounce = function (x, t, b, c, d) {
		if ((t/=d) < (1/2.75)) {
			return c*(7.5625*t*t) + b;
		} else if (t < (2/2.75)) {
			return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
		} else if (t < (2.5/2.75)) {
			return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
		} else {
			return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
		}
	};
	
	jQuery.extend( jQuery.easing,
         {easeOutExpo: function (x, t, b, c, d) {return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;}}
    );

  $(function () {

     // Happens when page load
     $(window).load(function() {
          $('#loading').hide(); 
          $('#inner').animate({opacity:'1'},{queue:false,duration:1000}); 

          $('.tailor_ascot').animate({ top:'130px'},2000, 'easeOutBounce');
          $('.tailor_ascot3').animate({ left:'280px'},2000, 'easeOutBounce');
          $('#bo1').animate({ top:'0'},1400, 'easeOutBounce');
          $('#bo2').animate({ top:'0'},1600, 'easeOutBounce');
          $('#bo3').animate({ top:'0'},1800, 'easeOutBounce');
          $('#bo4').animate({ top:'0'},2000, 'easeOutBounce');
          
          setTimeout(
            function(){
            $('#bo5').animate({ top:'0'},2000, 'easeOutBounce');
          }, 1000);
     });
     

     // Top Page Animation          
     $('img.01').hover(function(){
          $('#tip1').stop(true, true).fadeIn(100);
          }, function(){
          $('#tip1').fadeOut(100);
     });
     $('img.02').hover(function(){
          $('#tip2').stop(true, true).fadeIn(100);
          }, function(){
          $('#tip2').fadeOut(100);
     });
     $('img.03').hover(function(){
          $('#tip3').stop(true, true).fadeIn(100);
          }, function(){
          $('#tip3').fadeOut(100);
     });
     $('img.04').hover(function(){
          $('#tip4').stop(true, true).fadeIn(100);
          }, function(){
          $('#tip4').fadeOut(100);
     });
     $('img.05').hover(function(){
          $('#tip5').stop(true, true).fadeIn(100);
          }, function(){
          $('#tip5').fadeOut(100);
     });
     $('img.06').hover(function(){
          $('#tip6').stop(true, true).fadeIn(100);
          }, function(){
          $('#tip6').fadeOut(100);
     });

        
     // Menu Hover Action
     $('#menu img.m01').hover(function(){
          $('#menu_text p.01').show();
          }, function(){
          $('#menu_text p.01').hide();
     });
     $('#menu img.m02').hover(function(){
          $('#menu_text p.02').show();
          }, function(){
          $('#menu_text p.02').hide();
     });
     $('#menu img.m03').hover(function(){
          $('#menu_text p.03').show();
          }, function(){
          $('#menu_text p.03').hide();
     });
     $('#menu img.m04').hover(function(){
          $('#menu_text p.04').show();
          }, function(){
          $('#menu_text p.04').hide();
     });
     $('#menu img.m05').hover(function(){
          $('#menu_text p.05').show();
          }, function(){
          $('#menu_text p.05').hide();
     });
     $('#menu img.m06').hover(function(){
          $('#menu_text p.06').show();
          }, function(){
          $('#menu_text p.06').hide();
     });
               
  });