// JavaScript Document

	function scrollDetect(element) {
	  var mydiv = document.getElementById(element);
	  var the_height = mydiv.clientHeight;
	  var shadowLeft = document.getElementById('leftShadow')
	  var shadowRight = document.getElementById('rightShadow')
	  //alert(the_height);
		shadowLeft.style.height = the_height + 'px';
		shadowRight.style.height = the_height + 'px';
		mydiv.style.backgroundPositionX = '0px';
		// positie background image is hoogte - 3000 (hoogte afbeelding) + footer hoogte (35)
		mydiv.style.backgroundPositionY = (the_height - 3000 - 35) + 'px';
	
}

