Refactored setSplash function to accept params setting propertion of screeheight and the specifiers for the div to be targeted, and moved function into global scripts so can be used on other pages.