function pageLoaded(){
			 $("ul.intro_menu li").animate({top:10},{queue:false,duration:700});
		 }
function animateHauk(){
			$("#hauk").delay(800).animate({top:150,opacity:1},{duration:200}).delay(800).animate({top:135, clip: 'rect(0px 70px 58px 0px)'},{duration:200}).delay(1200).animate({top:125,opacity:0, clip: 'rect(0px 70px 30px 0px)'},{duration:200},function() {

			  });
			  $("#hauk").css({ top: 165 });
		}
		
		function animateHaukSub(){
			$("#hauk").delay(800).animate({top:160,opacity:1},{duration:200}).delay(800).animate({top:145, clip: 'rect(0px 70px 58px 0px)'},{duration:200}).delay(1200).animate({top:135,opacity:0, clip: 'rect(0px 70px 30px 0px)'},{duration:200},function() {

			  });
			  $("#hauk").css({ top: 175 });
		}	 
	 $(document).ready(function(){
		 pageLoaded();
       $("body.intro ul.intro_menu li").hover(function(){
         	$(this).animate({top:0},{queue:false,duration:200});// css("margin-top","0px");
       },function(){
		   $(this).animate({top:10},{queue:false,duration:200});
	   });
	   
	   $("body.subpage ul.intro_menu > li:not(.active) > a").hover(function(){
         	$(this).animate({height:100},{queue:false,duration:200});// css("margin-top","0px");
       },function(){
		   $(this).animate({height:60},{queue:false,duration:200});
	   });
	   
	   $("#hauk").show();
	   $("#hauk").css({ opacity: 0.0 });
	   
	   
		
		
		if($("#extensa_intro div#hauk").length>0){
			
			/*
		  	$( "#hauk") .everyTime ( "6s", function (){ 
	   			animateHauk();
			});
			*/
			self.setInterval("animateHauk()",6000);
			animateHauk(); 
	   }else{
		   /*
		   $( "#hauk") .everyTime ( "6s", function (){ 
	   			animateHaukSub();
			});
			*/
			self.setInterval("animateHaukSub()",6000);
			animateHaukSub(); 
	   }
		
	   //$("#hauk").animate({clip: 'rect(0px 70px 58px 0px)'}); 
	   /*
	   $('.areas_of_work').gradienttext({
			colors: [
				'#FFFFFF',
				'#D5D2D2'
			],
			style: 'horizontal'
		});
		*/
     });
