var temp;

$(window).scroll(function () { 
      
	  if($("body").scrollTop()<temp){
		  $("#Top").stop(true, true).animate({top:"0px"},"slow");
	  
	  $("#Top").stop(true, true).animate({top:"-20px"},"slow");
	  }
	  else{
	  $("#Top").stop(true, true).animate({top:"-70px"});
	  
	  $("#Top").stop(true, true).animate({top:"-20px"},"slow");
	  }
	  temp=$("body").scrollTop();
	  })
