('body') .height();var yPos = $(window).scrollTop();if( yPos > (totalHeight*.10) && yPos < (totalHeight*.90) ){$(".footer").fadeIn('medium');} else {$('.footer').fadeOut('medium');}});