$(window).resize(function () {
setHeightWidth();
});
function setHeightWidth() {
var winHeight = $(window).height();
var topHeight = 80;
var bottomHeight = 50;
var topPadding = (parseInt(winHeight) - topHeight - bottomHeight - 672);
if (topPadding > 0) {
$("#bottom").addClass("bot_pf");
}
}
setHeightWidth();
});
function setHeightWidth() {
var winHeight = $(window).height();
var topHeight = 80;
var bottomHeight = 50;
var topPadding = (parseInt(winHeight) - topHeight - bottomHeight - 672);
if (topPadding > 0) {
$("#bottom").addClass("bot_pf");
}
}