Onscroll not working

Hi,

I wonder why the below script is not working in Unbounce. Please help!

<script>

// When the user scrolls down 300px from the top of the document, show the button
window.onscroll = function() {scrollFunction()};

function scrollFunction() {
if (document.body.scrollTop > 300 || document.documentElement.scrollTop > 300) {
window.document.getElementById("#lp-pom-button-5067").style.display = “block”;
} else {
window.document.getElementById("#lp-pom-button-5067").style.display = “none”;
}
}

}
</script>

Try remove the # from the getElementbyID