function doFirst(){ var btn = document.getElementById('playButton'); var img = document.getElementById('img'); var showVideoDiv = document.getElementById('showVideoDiv'); var myMovie = document.getElementById('myMovie'); var centerside = document.getElementById("centerside"); btn.addEventListener('click', playVideo, false); } function playVideo(){ img.style.display = 'none'; btn.style.display = 'none'; showVideoDiv.style.display = 'block'; myMovie.play(); centerside.style.paddingTop="0px"; } window.addEventListener('load',doFirst,false);

Test 1701


[/su_lightbox]

X
Skip to content