onload = function() {
firstFocus('list');
innerHeight = document.getElementById('response').Height;
outerHeight = document.getElementById('videoWindow').Height;
window.addEventListener("keydown", subNav, false);
var shiftContent = setInterval(function() {
innerHeight = document.getElementById('response').Height;
outerHeight = document.getElementById('videoWindow').Height;
if(innerHeight > outerHeight) {
stepsInt = (innerHeight/outerHeight);
steps = stepsInt < Math.round(stepsInt) ? Math.round(stepsInt) : Math.round(stepsInt)+1;
if(stepCounter >= steps) {
moveTop('response', '0px');
stepCounter = 0;
}
else {
moveTop('response', '-' + stepCounter * outerHeight + 'px');
}
++stepCounter;
}
}, 5000);
}