User:Hutchy68/foreground.js

$(window).bind("load", function {    var footer = $("footer.row");    var pos = footer.position;    var height = $(window).height;    height = height - pos.top;    height = height - footer.height;    if (height > 0) {        footer.css({ 'position': 'fixed', 'bottom': '0', 'width': '100%' });   } });