<script type="text/javascript">
$(document).ready(function ()
{
document.addEventListener("hidekeyboard", onHide, false);
document.addEventListener("showkeyboard", onShow, false);
});
function onHide()
{
$("#footer").show();
}
function onShow()
{
$("#footer").hide();
}
</script>