window.onload = function(){ $("#jet-popup-2195").delay(5000).fadeOut("slow", function() { $(this).remove(); }); }