<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>SiTec Booking Engine iFrame</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="https://fo.sitec.com/be/assets/favicon.ico" />
<link href="https://fo.sitec.com/be/assets/open-sans.css" rel="stylesheet">
<link href="https://fo.sitec.com/be/assets/material-icons.css" rel="stylesheet">
<link href="https://fo.sitec.com/be/styles.css" rel="stylesheet">
</head>
<body>
<fo-booking-engine id="be" dbname="DEMO" azure="true"></fo-booking-engine>
<script>
function getPara(name) {
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href); if (results == null) {
return null;
}
else {
return decodeURI(results[1]) || 0;
}
}
function setPara(el, para) {
const val = getPara(para);
if (val)
el.setAttribute(para, val);
}
var el = document.getElementById('be');
var para = ['dbname', 'language', 'perscount', 'persons', 'from', 'to', 'category',
'arrangement', 'promocode', 'promobutton']; para.forEach(p => {
setPara(el, p);
});
</script>
<script src="https://fo.sitec.com/be/fo-booking-engine-es2015.js" type="module"></script>
</body>
</html>