// remap jQuery to $
(function($){})(window.jQuery);

// Pause plug, use for delaying animaions
$.fn.pause = function(duration) {
    $(this).animate({ dummy: 1 }, duration);
    return this;
};

/* trigger when page is ready */
$(document).ready(function (){

	$('#topheader #logo').animate({
       left: '0px',
       opacity:1 }, {
       duration: 1000, 
       easing: 'easeInOutQuint'
     });
     
  	$('#topheader p').pause(200).animate({
       left: '0px',
       opacity:1 }, {
       duration: 1000, 
       easing: 'easeInOutQuint'
     });
     
     $('#contentwrap').pause(800).animate({
       opacity:1 }, {
       duration: 1000
     });  

});


/* optional triggers

$(window).load(function() {
	
});

$(window).resize(function() {
	
});

*/
