// determine image span height $curtainheight=41 + $addheight; $mountainheight=0 + $addheight; $backgroundheight=520 + $addheight; ?>