//stick the footer at the bottom of the page if we're on an iPad/iPhone due to viewport/page bugs in mobile webkitif(navigator.platform == 'iPad' || navigator.platform == 'iPhone' || navigator.platform == 'iPod'){     $("#sidebarwrap-tree").css("position", "absolute");};
