function calcParallax(tileheight, speedratio, scrollposition) { return ((tileheight) – (Math.floor(scrollposition / speedratio) % (tileheight+1))); } window.onload = function() { window.onscroll = function() { var posY = (document.documentElement.scrollTop) ? document.documentElement.scrollTop : window.pageYOffset; var firstWrapping = document.getElementById(‘firstWrapping’); var firstWrappingpara