var serverPort = '80';
serverPort = (serverPort == '80') ? '' : ':' + serverPort;
var widgetContext = 'http://carnavalskaart.omroepbrabant.nl'+serverPort+'/poiwidget';
var createScriptElement = function() {
var head = document.getElementsByTagName("head")[0];
var script = document.createElement("script");
script.id = "poiwidget_setsize";
script.type = "text/javascript";
var scriptSrc = widgetContext + "/conf/loadXssConfig.action?"+(new Date()).getTime()+ '&id=c6a87a543a1821ec9684ceb506718604' + queryStr;
script.src = scriptSrc;
head.appendChild(script);
};
var requestConfig = function() {
if(widgetframe.src.indexOf('index.jsp') != -1) {
createScriptElement();
}
};
var setFrameSize = function(width, height) {
widgetframe.width = width;
widgetframe.height = height;
};
var widgetframeId = 'widgetframec6a87a543a1821ec9684ceb506718604';
if (window.navigator.vendor == "Apple") {
document.write('');
}
else {
document.write('');
}
var widgetframe = document.getElementById(widgetframeId);
var queryStr = '';
if('null' != 'null'){
queryStr = '&w=null&h=null&lng=nl&minLat=null&minLon=null&maxLat=null&maxLon=null';
queryStr = queryStr + '&catsIds=null&groupsOrder=null&layer=null&p=null&pw=null';
}
var src = widgetContext + '/index.jsp?' + 'location=' + encodeURIComponent(window.location.protocol + "//" + window.location.host) + '&id=c6a87a543a1821ec9684ceb506718604' + queryStr;
widgetframe.src = src;