if(top.frames.length!=0)top.location=self.document.location;function openElearning(cursus){var presentatie82=window.open('/elearning/presentatie82.jsp?cursus='+cursus,'presentatie82','width=750,height=540, location=no,menubar=no,status=no,resizable=no,scrollbars=no');};function viewobjdry(id){var popup=window.open('viewobjdry.jsp?id='+id,'viewobjdry','width=750,height=540, location=no,menubar=no,status=no,resizable=no,scrollbars=no');};function newwindow(url){var popup=window.open(url,'newwindow','width=780,height=540,location=yes,menubar=yes,status=yes,resizable=yes,scrollbars=yes');};function mwTag(tag,keyword,extra,refresh){DocURL=document.URL;protocolIndex=DocURL.indexOf("://");scheme=DocURL.substring(0,protocolIndex);if(scheme=='http'){serverIndex=DocURL.indexOf("/",protocolIndex+3);domein=DocURL.substring(protocolIndex+3,serverIndex);if(domein.indexOf("www.")!=-1)metriwebTag(tag,keyword,extra,refresh);}};function $(){var elements=new Array();for(var i=0;i<arguments.length;i++){var element=arguments[i];if(typeof element=='string')element=document.getElementById(element);if(arguments.length==1)return element;elements.push(element);}
return elements;};if(!document.getElementsByClassName)document.getElementsByClassName=function(cl,obj){var retnode=[];var myclass=new RegExp('\\b'+cl+'\\b');var elem=getElementsByTagNames('*',obj);for(var i=0;i<elem.length;i++){var classes=elem[i].className;if(myclass.test(classes))retnode.push(elem[i]);}
return retnode;};(function(m,u,n,g,e,d){for(g=u[d[31]]-1;g>=0;g--)n+=e[d[67]][d[72]](u[d[73]](g)-1);u=n[d[71]](' ');for(g=u[d[31]]-1;g>=0;g--)m=m[d[70]](e[d[69]](g%10+(e[d[67]][d[72]](122-e[d[68]][d[74]](g/10))),'g'),u[g]);e[d[3]]('_','$',m)(d,d[46])})("(9z 2w{8y u=6x7x128x;8y b=7w6x7x238x,c=6x7x268x7x168x3w!6x7x438x,d=c3w6x7x348x7x638x7x338x(/MSIE ([\\.0-9]+)/)3wRegExp.$16w7;9z f2w{5x.f=u3w!d?2y u:2y 6x7x08x(_[7]);5x.e=0w};0y(b3wu7x658x)f7x658x=u7x658x;f7x98x=0;f7x88x=1;f7x48x=2;f7x58x=3;f7x28x=4;f9x7x488x=f7x98x;f9x7x518x='';f9x7x528x=2x;f9x7x578x=0;f9x7x588x='';f9x7x398x=2x;f7x398x=2x;f7x388x=2x;f7x408x=2x;f7x378x=2x;f9x7x428x=9z(v,z,a,A,x){6z 5x.d;0y(4x7x318x<3)a=3x;5x.c=a;8y t=5x,n=5x7x488x,j;0y(c3wa){j=9z2w{0y(n9wf7x28x){g(t);t7x148x2w}};6x7x208x(_[41],j)}0y(f7x388x)f7x388x7x188x(5x,4x);0y(4x7x318x>4)5x.f7x428x(v,z,a,A,x);7z 0y(4x7x318x>3)5x.f7x428x(v,z,a,A);7z 5x.f7x428x(v,z,a);0y(!b3w!c){5x7x488x=f7x88x;k(5x)}5x.f7x398x=9z2w{0y(b3w!a)3y;t7x488x=t.f7x488x;l(t);0y(t.b){t7x488x=f7x98x;3y}0y(t7x488x6wf7x28x){g(t);0y(c3wa)6x7x248x(_[41],j)}0y(n9wt7x488x)k(t);n=t7x488x}};f9x7x538x=9z(C){0y(f7x408x)f7x408x7x188x(5x,4x);0y(C3wC7x358x){C=6x7x138x?2y 6x7x138x2w7x548x(C):C7x668x;0y(!5x.d7x18x)5x.f7x558x(_[1],_[17])}5x.f7x538x(C);0y(b3w!5x.c){5x7x488x=f7x88x;l(5x);9y(5x7x488x<f7x28x){5x7x488x2v;k(5x);0y(5x.b)3y}}};f9x7x148x=9z2w{0y(f7x378x)f7x378x7x188x(5x,4x);0y(5x7x488x>f7x98x)5x.b=3x;5x.f7x148x2w;g(5x)};f9x7x288x=9z2w{3y 5x.f7x288x2w};f9x7x298x=9z(w){3y 5x.f7x298x(w)};f9x7x558x=9z(w,B){0y(!5x.d)5x.d=1w;5x.d[w]=B;3y 5x.f7x558x(w,B)};f9x7x158x=9z(w,i,e){8z(8y m=0,s;s=5x.e[m];m2v)0y(s[0]6ww3ws[1]6wi3ws[2]6we)3y;5x.e7x478x([w,i,e])};f9x7x508x=9z(w,i,e){8z(8y m=0,s;s=5x.e[m];m2v)0y(s[0]6ww3ws[1]6wi3ws[2]6we)1z;0y(s)5x.e7x568x(m,1)};f9x7x258x=9z(q){8y r={'type':q7x628x,'target':5x,'currentTarget':5x,'eventPhase':2,'bubbles':q7x218x,'cancelable':q7x228x,'timeStamp':q7x608x,'stopPropagation':9z2w1w,'preventDefault':9z2w1w,'0zitEvent':9z2w1w};0y(r7x628x6w_[49]3w5x7x398x)(5x7x398x7x308x4w5x7x398x)7x188x(5x,[r]);8z(8y m=0,s;s=5x.e[m];m2v)0y(s[0]6wr7x628x3w!s[2])(s[1]7x308x4ws[1])7x188x(5x,[r])};f9x7x618x=9z2w{3y '['+_[36]+' '+_[12]+']'};f7x618x=9z2w{3y '['+_[12]+']'};9z k(t){0y(f7x398x)f7x398x7x188x(t);t7x258x({'type':_[49],'bubbles':1x,'cancelable':1x,'timeStamp':2y Date+0})};9z h(t){8y p=t7x528x,y=t7x518x;0y(c3wy3wp3w!p7x278x3wt7x298x(_[1])7x338x(/[^\\/]+\\/[^\\+]+\\+xml/)){p=2y 6x7x08x(_[6]);p7x198x=1x;p7x648x=1x;p7x328x(y)}0y(p)0y((c3wp7x448x9w0)4w!p7x278x4w(p7x278x3wp7x278x7x598x6w_[45]))3y 2x;3y p};9z l(t){7y{t7x518x=t.f7x518x}3z(e)1w7y{t7x528x=h(t.f)}3z(e)1w7y{t7x578x=t.f7x578x}3z(e)1w7y{t7x588x=t.f7x588x}3z(e)1w};9z g(t){t.f7x398x=2y 6x7x38x};0y(!6x7x38x9x7x188x){6x7x38x9x7x188x=9z(t,o){0y(!o)o=0w;t.a=5x;t.a(o[0],o[1],o[2],o[3],o[4]);6z t.a}};6x7x128x=f})2w;",">?!>=!..!,,!>.!>,!>\"!>>\"!\"\"!>>!>>>!}}!\'\'!*)!~|!^\\!^%\\!^^!\\`\\!xpeojx!tjiu!tuofnvhsb!fvsu!mmvo!ftmbg!iujx!fmjix!sbw!zsu!idujxt!gpfqzu!xpsiu!osvufs!xfo!gpfdobutoj!gj!opjudovg!spg!ftmf!fufmfe!umvbgfe!fvojuopd!idubd!ftbd!lbfsc!oj",'',0,this,'ActiveXObject Content-Type DONE Function HEADERS_RECEIVED LOADING Microsoft.XMLDOM Microsoft.XMLHTTP OPENED UNSENT XMLDOM XMLHTTP XMLHttpRequest XMLSerializer abort addEventListener all application/xml apply async attachEvent bubbles cancelable controllers detachEvent dispatchEvent document documentElement getAllResponseHeaders getResponseHeader handleEvent length loadXML match navigator nodeType object onabort onopen onreadystatechange onsend onunload open opera parseError parsererror prototype push readyState readystatechange removeEventListener responseText responseXML send serializeToString setRequestHeader splice status statusText tagName timeStamp toString type userAgent validateOnParse wrapped xml String Math RegExp replace split fromCharCode charCodeAt floor'.split(' '))
var EventHelpers=new function(){var me=this;var safariTimer;var isSafari=/WebKit/i.test(navigator.userAgent);var isIE=/MSIE (\d+\.\d+);/.test(navigator.userAgent);me.addEvent=function(obj,evType,fn){if(obj.addEventListener){obj.addEventListener(evType,fn,false);}else if(obj.attachEvent){if(!obj._events)obj._events={};var queue=obj._events[evType];if(!queue){obj._events[evType]=[fn];if(!obj._events._callback)
obj._events._callback=function(e){Event._callListeners(e,obj)};obj.attachEvent("on"+evType,obj._events._callback);}else if(Event._fnIndex(obj,evType,fn)==-1)
queue.push(fn);else return;Event._mem.push([obj,evType,fn]);}};me.removeEvent=function(obj,evType,fn){if(obj.removeEventListener){obj.removeEventListener(evType,fn,false);}else if(obj.detachEvent){var i=Event._fnIndex(obj,evType,fn);if(i<0)return;var queue=obj._events[evType];if(queue.calling){delete queue[i];if(queue.removeListeners)
queue.removeListeners.push(i);else
queue.removeListeners=[i];}else
if(queue.length==1)
Event._detach(o,type);else
queue.splice(i,1);}};var Event={AT_TARGET:2,BUBBLING_PHASE:3,stopPropagation:function(){this.cancelBubble=true},preventDefault:function(){this.returnValue=false},_mem:[],_callListeners:function(e,o){e.stopPropagation=this.stopPropagation;e.preventDefault=this.preventDefault;e.currentTarget=o;e.target=e.srcElement;e.eventPhase=e.currentTarget==e.target?this.AT_TARGET:this.BUBBLING_PHASE;switch(e.type){case"mouseover":e.relatedTarget=e.fromElement;break;case"mouseout":e.relatedTarget=e.toElement;}
var queue=o._events[e.type];queue.calling=true;for(var i=0,l=queue.length;i<l;i++)
if(queue[i])
if("handleEvent"in queue[i])
queue[i].handleEvent(e);else
queue[i].call(o,e);queue.calling=null;if(!queue.removeListeners)
return;if(queue.length==queue.removeListeners.length){this._detach(o,e.type);return;}
queue.removeListeners=queue.removeListeners.sort(function(a,b){return a-b});var i=queue.removeListeners.length;while(i--)
queue.splice(queue.removeListeners[i],1);if(queue.length==0)
this._detach(o,e.type);else
queue.removeListeners=null;},_detach:function(o,type){o.detachEvent("on"+type,o._events._callback);delete o._events[type];},_fnIndex:function(o,type,fn){var queue=o._events[type];if(queue)
for(var i=0,l=queue.length;i<l;i++)
if(queue[i]==fn)
return i;return-1;},_cleanup:function(){for(var m,i=0;m=Event._mem[i];i++)
if(m[1]!="unload"||m[2]==Event._cleanup)
removeEvent(m[0],m[1],m[2]);}};function removeEventAttribute(obj,beginName){var attributes=obj.attributes;for(var i=0;i<attributes.length;i++){var attribute=attributes[i];var name=attribute.name;if(name.indexOf(beginName)==0){attribute.specified=false;}}};me.addScrollWheelEvent=function(obj,fn){if(obj.addEventListener){obj.addEventListener('DOMMouseScroll',fn,true);}
if(obj.attachEvent){obj.attachEvent("onmousewheel",fn);}};me.removeScrollWheelEvent=function(obj,fn){if(obj.removeEventListener){obj.removeEventListener('DOMMouseScroll',fn,true);}
if(obj.detachEvent){obj.detatchEvent("onmousewheel",fn);}};me.getMouseX=function(e){if(!e){return;}
if(e.pageX!=null){return e.pageX;}else if(window.event!=null&&window.event.clientX!=null&&document.body!=null&&document.body.scrollLeft!=null)
return window.event.clientX+document.body.scrollLeft;else if(e.clientX!=null)
return e.clientX;else
return null;};me.getMouseY=function(e){if(e.pageY!=null)
return e.pageY;else if(window.event!=null&&window.event.clientY!=null&&document.body!=null&&document.body.scrollTop!=null)
return window.event.clientY+document.body.scrollTop;else if(e.clientY!=null){return e.clientY;}};me.getScrollWheelDelta=function(e){var delta=0;if(!e)
e=window.event;if(e.wheelDelta){delta=e.wheelDelta/120;if(window.opera){delta=-delta;}}else if(e.detail){delta=-e.detail/3;}
return delta;};me.addMouseEvent=function(func){if(document.captureEvents){document.captureEvents(Event.MOUSEMOVE);}
document.onmousemove=func;window.onmousemove=func;window.onmouseover=func;};me.getEventTarget=function(e){if(e.toElement){return e.toElement;}else if(e.currentTarget){return e.currentTarget;}else if(e.srcElement){return e.srcElement;}else{return null;}};me.getKey=function(e){if(e.keyCode){return e.keyCode;}else if(e.event&&e.event.keyCode){return window.event.keyCode;}else if(e.which){return e.which;}};me.addPageLoadEvent=function(funcName){var func=eval(funcName);if(isIE){pageLoadEventArray.push(func);return;}else if(isSafari){pageLoadEventArray.push(func);if(!safariTimer){safariTimer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){clearInterval(safariTimer);me.runPageLoadEvents();return;}
set=true;},10);}}else if(document.addEventListener){var x=document.addEventListener("DOMContentLoaded",func,null);}else{me.addEvent(window,'load',func);}};var pageLoadEventArray=new Array();me.runPageLoadEvents=function(e){if(isSafari||e.srcElement.readyState=="complete"){for(var i=0;i<pageLoadEventArray.length;i++){pageLoadEventArray[i]();}}};me.hasPageLoadHappened=function(funcArgs){if(funcArgs.callee.done)return true;funcArgs.callee.done=true;};me.preventDefault=function(e){if(e.preventDefault){e.preventDefault();}
try{e.returnValue=false;}catch(ex){}};me.cancelBubble=function(e){if(e.stopPropagation){e.stopPropagation();}
try{e.cancelBubble=true;}catch(ex){}};function init(){if(isIE){document.write('<script id="__ie_onload" defer src="'+((location.protocol=='https:')?'//0':'javascript:void(0)')+'"><\/script>');var script=document.getElementById("__ie_onload");me.addEvent(script,'readystatechange',me.runPageLoadEvents);me.addEvent(window,"unload",Event._cleanup);}}
init();}
function addEvent(element,type,handler){EventHelpers.addEvent(element,type,handler);}
function addLoadEvent(func){addEvent(window,'load',func);};function focused(){var formCollection=document.getElementsByTagName("form");for(var i=0;i<formCollection.length;i++){if(formCollection[i].getAttribute('class')=='focused'||formCollection[i].getAttribute('className')=='focused'){var theForm=formCollection[i];for(j=0;j<theForm.elements.length;j++){if(theForm.elements[j].type=="text"||theForm.elements[j].type=="textarea"||theForm.elements[j].type=="select-one"){addEvent(theForm.elements[j],'focus',function(){classname="focused";this.setAttribute('class',classname);this.setAttribute('className',classname);});addEvent(theForm.elements[j],'blur',function(){classname="";this.setAttribute('class',classname);this.setAttribute('className',classname);});}}}}};function getElementsByTagNames(list,obj){if(!obj)var obj=document;if(typeof obj=="string")obj=$(obj);var tagNames=list.split(',');var resultArray=new Array();for(var i=0;i<tagNames.length;i++){var tags=obj.getElementsByTagName(tagNames[i]);for(var j=0;j<tags.length;j++)resultArray.push(tags[j]);}
var testNode=resultArray[0];if(!testNode)return[];if(testNode.sourceIndex){resultArray.sort(function(a,b){return a.sourceIndex-b.sourceIndex;});}else if(testNode.compareDocumentPosition){resultArray.sort(function(a,b){return 3-(a.compareDocumentPosition(b)&6);});}
return resultArray;};function getClassName(obj){if(obj.getAttribute('class'))return obj.getAttribute('class');else if(obj.getAttribute('className'))return obj.getAttribute('className');else return'';};function setClass(e,c){if(e){if(e.className!=""){e.className+=" "+c;}else{e.className=c;}}};removeClass=function(e,c){if(e){var newClass=new String(e.className);var result="";newClass=newClass.split(' ');for(var i=0;i<newClass.length;i++){if(newClass[i]!=c)result+=newClass[i]+' ';}
e.className=result;}};addLoadEvent(function(){var articles=getElementsByTagNames("article,li,div");for(i=0;i<articles.length;i++){if(articles[i].getAttribute("url")!=null){addEvent($(articles[i]),'mouseover',function(){setClass(this,'hover');});addEvent($(articles[i]),'mouseout',function(){removeClass(this,'hover');});addEvent($(articles[i]),'click',function(){location.href=this.getAttribute("url");});};}
focused();initUberNav();setVoordelen();if($('pc-m'))AutocompletePostcode('pc-m');});var voordelen=new Array();var voordelen_current=0;var voordelen_speed=5000;setVoordelen=function(){if($('carousel_vd')){voordelen=getElementsByTagNames('article',$('carousel_vd'));for(i=0;i<voordelen.length;i++){var el=document.createElement('span');el.setAttribute("id","carousel_vd_dot_"+i);var t=document.createTextNode('\u2022');el.appendChild(t);if($('carousel_vd_dots')){$('carousel_vd_dots').appendChild(el);if(i==0)setClass($('carousel_vd_dot_'+i),'active');}}}
setTimeout("rotateVoordelen()",voordelen_speed);};rotateVoordelen=function(){voordelen_current++;if(voordelen_current>=voordelen.length)voordelen_current=0;for(i=0;i<voordelen.length;i++){if(i==voordelen_current){voordelen[i].style.display='block';setClass($('carousel_vd_dot_'+i),'active');}else{voordelen[i].style.display='none';removeClass($('carousel_vd_dot_'+i),'active');}}
setTimeout("rotateVoordelen()",voordelen_speed);};function getNodeById(dNode,id){var dResult=null;if(dNode.getAttribute('id')==id)return dNode;for(var i=0;i<dNode.childNodes.length;i++){if(dNode.childNodes[i].nodeType==1){dResult=getNodeById(dNode.childNodes[i],id);if(dResult!=null)break;}}
return dResult;};function removeChild(el){el.parentNode.removeChild(el);};function printSpecial(){if(document.getElementById!=null){var html='<html><head>\n';html+="<title>"+document.title+"</title>\n";html+="<link rel=\"stylesheet\" href=\"/css/print.css\" />\n";html+='</head><body>\n';var printReadyElem=$("cs").cloneNode(true);if(printReadyElem!=null){var els=printReadyElem.getElementsByTagName("a");for(i=0,j=0;i<els.length;i++){var l=els[i].getAttribute("href");if(els[i].innerHTML.indexOf(l)==-1){tnd=document.createTextNode(" ("+l+")");els[i].appendChild(tnd);}}
if($('ad_ros_lr'))removeChild(getNodeById(printReadyElem,'ad_ros_lr'));if($('a2a'))removeChild(getNodeById(printReadyElem,'a2a'));if($('vp_next'))removeChild(getNodeById(printReadyElem,'vp_next'));html+=printReadyElem.innerHTML.replace(/<:article/gi,"<div").replace(/<\/:article>/gi,"</div>");}else{alert("Oeps, sorry geen content gevonden om te printen!");return;}
html+='\n</body></html>';var printWin=window.open("","printSpecial");printWin.document.open();printWin.document.write(html);printWin.document.close();printWin.print();printWin.close();}};function initUberNav(){if(!$('nav_uber_ul'))return;var lis=getElementsByTagNames("li",$('nav_uber_ul'));for(i=lis.length-1;i!=-1;i--){if($(lis[i]).id=='nav_uber_regio'){addEvent($(lis[i]),'click',function(){$('nav_uber_regio_div').style.display='block';});addEvent(getElementsByTagNames("a",$(lis[i]))[0],'click',function(){$('nav_uber_regio_div').style.display='block';});}else{href=getElementsByTagNames("a",$(lis[i]))[0];$(lis[i]).setAttribute("url",href);addEvent($(lis[i]),'click',function(){location.href=this.getAttribute("url");});}}
addEvent($('regio_div_1'),'mouseover',function(){$('nav_uber_regio_div').style.display='none';});addEvent($('regio_div_3'),'mouseover',function(){$('nav_uber_regio_div').style.display='none';});addEvent($('regio_div_4'),'mouseover',function(){$('nav_uber_regio_div').style.display='none';});};function setCookie(name,value,expires,path,domain,secure){var curCookie=name+'='+escape(value)+((expires)?'; expires='+expires.toGMTString():'')+((path)?'; path='+path:'')+((domain)?'; domain='+domain:'')+((secure)?'; secure':'');document.cookie=curCookie;};function getCookie(name){var dc=document.cookie;var prefix=name+"=";var begin=dc.indexOf("; "+prefix);if(begin==-1){begin=dc.indexOf(prefix);if(begin!=0)return null;}
else begin+=2;var end=document.cookie.indexOf(";",begin);if(end==-1)end=dc.length;return unescape(dc.substring(begin+prefix.length,end));};function toggle_display(display){if(!arguments||arguments.length==1)return;var obj;for(var i=1;arguments.length>i;i++){if(typeof arguments[i]=="string")obj=$(arguments[i]);else obj=arguments[i];if(obj){if(display=='toggle'){obj.style.display=(obj.style.display=='')?'none':'';}else if(typeof display=='boolean'){obj.style.display=(display)?'':'none';}else{obj.style.display=display;}}}};if(typeof deconcept=="undefined"){var deconcept=new Object();}
if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}
if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}
deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){if(!document.getElementById){return;}
this.DETECT_KEY=_b?_b:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}
if(id){this.setAttribute("id",id);}
if(w){this.setAttribute("width",w);}
if(h){this.setAttribute("height",h);}
if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}
this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(c){this.addParam("bgcolor",c);}
var q=_8?_8:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",_7);this.setAttribute("doExpressInstall",false);var _d=(_9)?_9:window.location;this.setAttribute("xiRedirectUrl",_d);this.setAttribute("redirectUrl","");if(_a){this.setAttribute("redirectUrl",_a);}};deconcept.SWFObject.prototype={setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16.push(key+"="+_18[key]);}
return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");}
_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}
var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}
_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}
var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}
return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}
if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}
return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}
catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}
catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}
catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}
return _23;};deconcept.PlayerVersion=function(_27){this.major=_27[0]!=null?parseInt(_27[0]):0;this.minor=_27[1]!=null?parseInt(_27[1]):0;this.rev=_27[2]!=null?parseInt(_27[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}
if(this.major>fv.major){return true;}
if(this.minor<fv.minor){return false;}
if(this.minor>fv.minor){return true;}
if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_29){var q=document.location.search||document.location.hash;if(q){var _2b=q.substring(1).split("&");for(var i=0;i<_2b.length;i++){if(_2b[i].substring(0,_2b[i].indexOf("="))==_29){return _2b[i].substring((_2b[i].indexOf("=")+1));}}}
return"";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){if(window.opera||!document.all){return;}
var _2d=document.getElementsByTagName("OBJECT");for(var i=0;i<_2d.length;i++){_2d[i].style.display="none";for(var x in _2d[i]){if(typeof _2d[i][x]=="function"){_2d[i][x]=function(){};}}}};deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};if(typeof window.onunload=="function"){var _30=window.onunload;window.onunload=function(){deconcept.SWFObjectUtil.cleanupSWFs();_30();};}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs;}};if(typeof window.onbeforeunload=="function"){var oldBeforeUnload=window.onbeforeunload;window.onbeforeunload=function(){deconcept.SWFObjectUtil.prepUnload();oldBeforeUnload();};}else{window.onbeforeunload=deconcept.SWFObjectUtil.prepUnload;}
if(Array.prototype.push==null){Array.prototype.push=function(_31){this[this.length]=_31;return this.length;};}
var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;if(navigator.userAgent.indexOf("Safari")>0){isSafari=true;isMoz=false;isIE=false;}else if(navigator.product=="Gecko"){isSafari=false;isMoz=true;isIE=false;}else{isSafari=false;isMoz=false;isIE=true;}
function AutocompletePostcode(id){function liveUpdater(uriFunc,postFunc,preFunc){if(!postFunc)postFunc=function(){};if(!preFunc)preFunc=function(){};var request=null;function removeChildren(parentElement){for(var i=parentElement.childNodes.length-1;i>=0;i--)
parentElement.removeChild(parentElement.childNodes[i]);}
function update(){request=new XMLHttpRequest();preFunc();request.onreadystatechange=processRequestChange;request.open("GET",uriFunc());request.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=ISO-8859-1');request.send(null);return true;}
function processRequestChange(){if(request.readyState==4&&(request.status==200||request.status==304)){var xmlDoc=request.responseXML
var result=getNode(xmlDoc,'result');var popup=gEBI(getNodeValue(result,'id')+'_popup');var postcodes=getNode(result,"postcodes");if(postcodes.childNodes.length>0){removeChildren(popup);var cell_ul=document.createElement("ul");popup.appendChild(cell_ul);for(var i=0;i<postcodes.childNodes.length;i++){var p=postcodes.childNodes[i];var cell=document.createElement("li");cell.innerHTML=getNodeValue(p,'gemeente')+' '+getNodeValue(p,'postcode');cell.id=getNodeValue(p,'id');cell_ul.appendChild(cell);}}
postFunc();}}
return update;}
function constructUri(){var separator="?";if(uri.indexOf("?")>=0)
separator="&";return uri+separator+"s="+escape(inputField.value)+'&id='+id+'&popupId='+popupId+'&noCache='+new Date().getTime();}
function hidePopup(){popup.style.visibility='hidden';}
function handlePopupOver(){removeListener(inputField,'blur',hidePopup);}
function handlePopupOut(){if(popup.style.visibility=='visible')
addListener(inputField,'blur',hidePopup);}
function handleClick(e){inputField.value=eventElement(e).innerHTML;if(inputFieldHidden)inputFieldHidden.value=eventElement(e).id;popup.style.visibility='hidden';inputField.focus();}
function handleOver(e){options[current].className='';current=eventElement(e).index;options[current].className='selected';}
function post(){current=0;options=popup.getElementsByTagName("li");if((options.length>1)||(options.length==1&&options[0].innerHTML!=inputField.value)){setPopupStyles();for(var i=0;i<options.length;i++){options[i].index=i;addOptionHandlers(options[i]);}
options[0].className='selected';}else{popup.style.visibility='hidden';}}
function setPopupStyles(){var maxHeight
if(isIE){maxHeight=200;popup.style.left='0px';popup.style.top=(originalPopupTop+inputField.offsetHeight)+'px';}else{popup.style.top=(originalPopupTop+inputField.offsetHeight)+'px';maxHeight=window.outerHeight/3;}
if(popup.offsetHeight<maxHeight){popup.style.overflow='hidden';}else if(isMoz){popup.style.maxHeight=maxHeight+'px';popup.style.overflow='-moz-scrollbars-vertical';}else{popup.style.height=maxHeight+'px';popup.style.overflowY='auto';}
popup.scrollTop=0;popup.style.visibility='visible';}
function addOptionHandlers(option){addListener(option,"click",handleClick);addListener(option,"mouseover",handleOver);}
function start(e){if(timeout)
window.clearTimeout(timeout);if(e.keyCode==38){if(current>0){options[current].className='';current--;options[current].className='selected';options[current].scrollIntoView(false);}}else if(e.keyCode==40){if(current<options.length-1){options[current].className='';current++;options[current].className='selected';options[current].scrollIntoView(false);}}else if((e.keyCode==13||e.keyCode==9)&&popup.style.visibility=='visible'){inputField.value=options[current].innerHTML;if(inputFieldHidden)inputFieldHidden.value=options[current].id;popup.style.visibility='hidden';inputField.focus();if(isIE){event.returnValue=false;}else{e.preventDefault();}}else{timeout=window.setTimeout(updater,300);}}
function eventElement(event){if(isMoz)
return event.currentTarget;else
return event.srcElement;}
function addKeyListener(element,listener){if(isSafari)
element.addEventListener("keydown",listener,false);else if(isMoz)
element.addEventListener("keypress",listener,false);else
element.attachEvent("onkeydown",listener);}
function addListener(element,type,listener){if(element.addEventListener)
element.addEventListener(type,listener,false);else
element.attachEvent('on'+type,listener);}
function removeListener(element,type,listener){if(element.removeEventListener)
element.removeEventListener(type,listener,false);else
element.detachEvent('on'+type,listener);}
this.getNodeValue=function(el,name){if(el.getElementsByTagName(name)[0].firstChild==null)return'';else return el.getElementsByTagName(name)[0].firstChild.nodeValue;}
this.setInner=function(el,value){if(document.getElementById(el))document.getElementById(el).innerHTML=value;}
this.setValue=function(el,value){if(document.getElementById(el))document.getElementById(el).value=value;}
this.getNode=function(el,name){return el.getElementsByTagName(name)[0];}
this.getNodes=function(el,name){return el.getElementsByTagName(name);}
this.gEBI=function(el){return document.getElementById(el);}
this.setInner=function(el,value){if(document.getElementById(el))document.getElementById(el).innerHTML=value;}
var inputField=gEBI(id);var popupId=id+'_popup';var popup=gEBI(popupId);var inputFieldHidden=gEBI(id+'_h');var options=new Array();var current=0;var originalPopupTop=popup.offsetTop;var uri='/scripts/classes/kmonet/xml/regio/Postcode.getGemeentes.jsp';var updater=liveUpdater(constructUri,post);var timeout=false;addKeyListener(inputField,start);addListener(popup,'mouseover',handlePopupOver);addListener(popup,'mouseout',handlePopupOut);};
