﻿// JScript File
function walkDownStairs()
{
    var contentHeight, newContentHeight, landingRepeat;
    contentHeight = document.getElementById("container").offsetHeight;
    landingRepeat = Math.floor((contentHeight-149)/163);
    newContentHeight = 163*landingRepeat+440;
//    alert("contentHeight = " + contentHeight + "\n landingRepeat = " + landingRepeat + "\n newContentHeight = " + newContentHeight);
    document.getElementById("container").style.height = newContentHeight+"px";
    document.getElementById("stair_bottom").style.display = "block";
}
