<script type='text/javascript'>
var eventMethod = window.addEventListener ? "addEventListener" : "attachEvent";
var eventer = window[eventMethod];
var messageEvent = eventMethod == "attachEvent" ? "onmessage" : "message";

eventer(messageEvent,function(e) {
if (e.data.indexOf('resize_request::') != -1) {
    var height = e.data.replace('resize_request::', '');
    document.getElementById('requestFrame').style.height = height+'px';
} else if (e.data.indexOf('resize_booking::') != -1) {
    var height = e.data.replace('resize_booking::', '');
    document.getElementById('bookingFrame').style.height = height+'px';
}
} ,false);
</script>
<script type='text/javascript'>
if($(window).width() > 1050){
window.onscroll = function() {headerFixed()};

var header = document.getElementById("navi");
var sticky = header.offsetTop;

function headerFixed() {
  if (window.pageYOffset > sticky) {
    header.classList.add("sticky");
  } else {
    header.classList.remove("sticky");
  }
}
}
</script>