
/* Merged Plone Javascript file
 * This file is dynamically assembled from separate parts.
 * Some of these parts have 3rd party licenses or copyright information attached
 * Such information is valid for that section,
 * not for the entire composite file
 * originating files are separated by - filename.js -
 */

/* - event-registration.js - */
// http://www.maastrichtcongresbureau.nl/portal_javascripts/event-registration.js?original=1
window.onDOMLoadEvents=new Array();window.DOMContentLoadedInitDone=false;
function addDOMLoadEvent(listener){window.onDOMLoadEvents[window.onDOMLoadEvents.length]=listener}
function DOMContentLoadedInit(){if(window.DOMContentLoadedInitDone) return;window.DOMContentLoadedInitDone=true;var exceptions=new Array();for(var i=0;i<window.onDOMLoadEvents.length;i++){var func=window.onDOMLoadEvents[i];try{func()} catch(e){exceptions[exceptions.length]=e}}
for(var i=0;i<exceptions.length;i++){throw exceptions[i]}}
function DOMContentLoadedScheduler(){if(window.DOMContentLoadedInitDone) return true;if(/KHTML|WebKit/i.test(navigator.userAgent)){if(/loaded|complete/.test(document.readyState)){DOMContentLoadedInit()} else{setTimeout("DOMContentLoadedScheduler()",250)}} else{setTimeout("DOMContentLoadedScheduler()",250)}
return true}
setTimeout("DOMContentLoadedScheduler()",250);if(window.addEventListener){window.addEventListener("load",DOMContentLoadedInit,false);document.addEventListener("DOMContentLoaded",DOMContentLoadedInit,false)} else if(window.attachEvent){window.attachEvent("onload",DOMContentLoadedInit)} else{var _dummy=function(){var $old_onload=window.onload;window.onload=function(e){DOMContentLoadedInit();$old_onload()}}}
/*@cc_on @*/
/*@if (@_win32)
{var proto="src='javascript:void(0)'";if(location.protocol=="https:") proto="src=//0";document.write("<scr"+"ipt id=__ie_onload defer "+proto+"><\/scr"+"ipt>");var script=document.getElementById("__ie_onload");script.onreadystatechange=function(){if(this.readyState=="complete"){DOMContentLoadedInit()}}};/*@end @*/


/* - register_function.js - */
// http://www.maastrichtcongresbureau.nl/portal_javascripts/register_function.js?original=1
var bugRiddenCrashPronePieceOfJunk=(navigator.userAgent.indexOf('MSIE 5')!=-1&&navigator.userAgent.indexOf('Mac')!=-1)
var W3CDOM=(!bugRiddenCrashPronePieceOfJunk&&typeof document.getElementsByTagName!='undefined'&&typeof document.createElement!='undefined');var registerEventListener=function(elem,event,func){jq(elem).bind(event,func)}
var unRegisterEventListener=function(elem,event,func){jq(elem).unbind(event,func)}
var registerPloneFunction=jq;
function getContentArea(){var node=jq('#region-content,#content');return node.length?node[0]:null}


/* - maps-config.js - */
// http://www.maastrichtcongresbureau.nl/portal_javascripts/maps-config.js?original=1
var mapsConfig={google:{apikey:'ABQIAAAAzylU4nrbKK7tmU1GjVJ8UxQuus3wJRoJS76eLRTrVDRXkwCWoxQHoFgtNKg_YR66iMgm6__MrgvCRw',ajaxsearchkey:'',maxinfowidth:440,locationnotfound:'Google maps kan de locatie \'[LOCATION]\' niet vinden',selectablemaptypes:true,defaultmaptype:'normal',maxzoomlevel:18,initialzoomlevel:13,markericons:[{'infoShadowAnchor':[18,25],'name':'Selected','iconSize':[16,16],'iconAnchor':[8,16],'shadowSize':[0,0],'shadow':'http://www.maastrichtcongresbureau.nl/shadow50.png','infoWindowAnchor':[9,2],'icon':'http://www.maastrichtcongresbureau.nl/ioi_selected.gif'},{'infoShadowAnchor':[18,25],'name':'Unselected','iconSize':[16,16],'iconAnchor':[8,16],'shadowSize':[0,0],'shadow':'http://www.maastrichtcongresbureau.nl/shadow50.png','infoWindowAnchor':[9,2],'icon':'http://www.maastrichtcongresbureau.nl/ioi_unselected.gif'}]}};
