


var $j = jQuery.noConflict();



$j(document).ready(function(){


		
		$j('#infotrigger').click(function() {
  		$j('html,body').animate({ scrollTop: 0 }, 500); 
		$j('body').addClass('noscroll');
		});
		
		

		$j('#infotrigger').toggle(function() {
	
			
  			$j('.headertext').animate({ 
			height: $j(window).height(),
			minHeight: '1080px',
			}, 
			1000, 'easeInOutQuint', 
			function() { // Animation complete.
			});
			
		$j('.about-trigger').animate({
   			top: '65px',
			right: '50px',
			fontSize: '33px',
			paddingLeft: '6px',
			width: '27px',
			height: '33px',
  		}, 1000, 'easeInOutQuint', function() {
    	// Animation complete.
 		});
		
		$j('.about-contact').animate({
   			top: '75px',
			right: '110px',
  		}, 1000, 'easeInOutQuint', function() {
    	// Animation complete.
 		});
		
		$j('.logo img').animate({
   			width: '250px',
			marginTop: '50px',
			marginLeft: '50px',
  		}, 1000, 'easeInOutQuint', function() {
    	// Animation complete.
 		});
		
		
		
  
}, function() {
		
		$j('body').removeClass('noscroll');
		
  		$j('.headertext').animate({
   			 height: '14px',
			 minHeight: '14px',
  			}, 1000, 'easeInOutQuint', function() {
    		// Animation complete.
 			});
			
			
			$j('.about-trigger').animate({
			top: '3px',
   			bottom: '3px',
			right: '72px',
			fontSize: '15px',
			paddingLeft: '3px',
			width: '12px',
			height: '15px',
  		}, 1000, 'easeInOutQuint', function() {
    	// Animation complete.
 		});
		
		$j('.about-contact').animate({
   			top: '-150px',
  		}, 1000, 'easeInOutQuint', function() {
    	// Animation complete.
 		});
		
		$j('.logo img').animate({
   			width: '89px',
			marginTop: '0px',
			marginLeft: '0px',
  		}, 1000, 'easeInOutQuint', function() {
    	// Animation complete.
 		});
		
	
		});






});


