programa.css({position: "fixed", top: 0}); } else { programa.css({position: "relative"}); } }); });