
var ccn="clicker";var clcn="in";var opcn="out";function togglePlusMinus(el){var next=el.nextSibling;el.className=el.className.replace(new RegExp(opcn+"\\b"),"");el.className=el.className.replace(new RegExp(clcn+"\\b"),"");while(next.nodeType!=1)next=next.nextSibling;next.style.display=((next.style.display=="none")?"block":"none");el.className+=((next.style.display=="block")?" "+opcn:" "+clcn);}
function togglePlus(el){var next=el.nextSibling;el.className=el.className.replace(new RegExp(opcn+"\\b"),"");el.className=el.className.replace(new RegExp(clcn+"\\b"),"");while(next.nodeType!=1)next=next.nextSibling;next.style.display="block";el.className+=" "+opcn;}
function toggleByTag(tname){var ccn="clicker";var clickers=document.getElementsByTagName(tname);for(i=0;i<clickers.length;i++){if(clickers[i].className=="out"){clickers[i].className=ccn;clickers[i].className+=" "+clcn;clickers[i].onclick=function(){togglePlusMinus(this)}}
if(clickers[i].className=="clicker in"){togglePlusMinus(clickers[i]);}}}
function toggleById(el){var ccn="clicker";var clicker=document.getElementById(el);clicker.className+=" "+ccn;clicker.onclick=function(){togglePlusMinus(this)}
togglePlus(clicker);}
function createToggle(clickerId,flagId){var clicker=document.getElementById(clickerId);clicker.onclick=function(){toggleClicker(this,flagId)};applyClickerState(clicker,flagId);}
function toggleClicker(clicker,flagId){var flag=document.getElementById(flagId);flag.value=(flag.value=='true'?'false':'true');applyClickerState(clicker,flagId);}
function applyClickerState(clicker,flagId){var next=clicker.nextSibling;while(next.nodeType!=1){next=next.nextSibling;}
var flag=document.getElementById(flagId);if(flag.value=='true'){clicker.className='clicker out';next.style.display="block";}else{clicker.className='clicker in';next.style.display="none";flag.value='false';}}
function naarTop(){if(document.body.scrollHeight>document.body.clientHeight){setTimeout('1000',document.getElementById("naartop").style.display="block");}else{setTimeout('1000',document.getElementById("naartop").style.display="none");}}
function homelinkGreyOut(){if(location.pathname.indexOf("/pagina/nieuws/homepage.nl")!=-1||location.pathname==''||location.pathname=='index.html'||location.pathname=='/'){document.getElementById("homelink").style.color='#CCCCCC';document.getElementById("homelink").href='#';}}
function jspBlockPlaceHolder(){if(location.pathname.indexOf("/anwbcms/preview/")!=-1){document.write("<div style=\"border:3px dotted #002280; min-width:150px; min-height:150px; width:100%; height:100%; position:relative; text-align:center;\">\n");document.write("<h1>Programmablok</h1>\n");document.write("</div>\n");}}
function MM_reloadPage(init){if(init==true)with(navigator){if((appName=="Netscape")&&(parseInt(appVersion)==4)){document.MM_pgW=innerWidth;document.MM_pgH=innerHeight;onresize=MM_reloadPage;}}
else if(innerWidth!=document.MM_pgW||innerHeight!=document.MM_pgH)location.reload();}
MM_reloadPage(true);function MM_findObj(n,d){var p,i,x;if(!d)d=document;if((p=n.indexOf("?"))>0&&parent.frames.length){d=parent.frames[n.substring(p+1)].document;n=n.substring(0,p);}
if(!(x=d[n])&&d.all)x=d.all[n];for(i=0;!x&&i<d.forms.length;i++)x=d.forms[i][n];for(i=0;!x&&d.layers&&i<d.layers.length;i++)x=MM_findObj(n,d.layers[i].document);if(!x&&document.getElementById)x=document.getElementById(n);return x;}
function MM_showHideLayers(){var i,p,v,obj,args=MM_showHideLayers.arguments;for(i=0;i<(args.length-2);i+=3)if((obj=MM_findObj(args[i]))!=null){v=args[i+2];if(obj.style){obj=obj.style;v=(v=='show')?'visible':(v='hide')?'hidden':v;}
obj.visibility=v;}}
function MM_dragLayer(objName,x,hL,hT,hW,hH,toFront,dropBack,cU,cD,cL,cR,targL,targT,tol,dropJS,et,dragJS){var i,j,aLayer,retVal,curDrag=null,NS=(navigator.appName=='Netscape'),curLeft,curTop;if(!document.all&&!document.layers)return false;retVal=true;if(!NS&&event)event.returnValue=true;if(MM_dragLayer.arguments.length>1){curDrag=MM_findObj(objName);if(!curDrag)return false;if(!document.allLayers){document.allLayers=new Array();with(document)if(NS){for(i=0;i<layers.length;i++)allLayers[i]=layers[i];for(i=0;i<allLayers.length;i++)if(allLayers[i].document&&allLayers[i].document.layers)
with(allLayers[i].document)for(j=0;j<layers.length;j++)allLayers[allLayers.length]=layers[j];}else for(i=0;i<all.length;i++)if(all[i].style&&all[i].style.position)allLayers[allLayers.length]=all[i];}
curDrag.MM_dragOk=true;curDrag.MM_targL=targL;curDrag.MM_targT=targT;curDrag.MM_tol=Math.pow(tol,2);curDrag.MM_hLeft=hL;curDrag.MM_hTop=hT;curDrag.MM_hWidth=hW;curDrag.MM_hHeight=hH;curDrag.MM_toFront=toFront;curDrag.MM_dropBack=dropBack;curDrag.MM_dropJS=dropJS;curDrag.MM_everyTime=et;curDrag.MM_dragJS=dragJS;curDrag.MM_oldZ=(NS)?curDrag.zIndex:curDrag.style.zIndex;curLeft=(NS)?curDrag.left:curDrag.style.pixelLeft;curDrag.MM_startL=curLeft;curTop=(NS)?curDrag.top:curDrag.style.pixelTop;curDrag.MM_startT=curTop;curDrag.MM_bL=(cL<0)?null:curLeft-cL;curDrag.MM_bT=(cU<0)?null:curTop-cU;curDrag.MM_bR=(cR<0)?null:curLeft+cR;curDrag.MM_bB=(cD<0)?null:curTop+cD;curDrag.MM_LEFTRIGHT=0;curDrag.MM_UPDOWN=0;curDrag.MM_SNAPPED=false;document.onmousedown=MM_dragLayer;document.onmouseup=MM_dragLayer;if(NS)document.captureEvents(Event.MOUSEDOWN|Event.MOUSEUP);}else{var theEvent=((NS)?objName.type:event.type);if(theEvent=='mousedown'){var mouseX=(NS)?objName.pageX:event.clientX+document.body.scrollLeft;var mouseY=(NS)?objName.pageY:event.clientY+document.body.scrollTop;var maxDragZ=null;document.MM_maxZ=0;for(i=0;i<document.allLayers.length;i++){aLayer=document.allLayers[i];var aLayerZ=(NS)?aLayer.zIndex:aLayer.style.zIndex;if(aLayerZ>document.MM_maxZ)document.MM_maxZ=aLayerZ;var isVisible=(((NS)?aLayer.visibility:aLayer.style.visibility).indexOf('hid')==-1);if(aLayer.MM_dragOk!=null&&isVisible)with(aLayer){var parentL=0;var parentT=0;if(!NS){parentLayer=aLayer.parentElement;while(parentLayer!=null&&parentLayer.style.position){parentL+=parentLayer.offsetLeft;parentT+=parentLayer.offsetTop;parentLayer=parentLayer.parentElement;}}
var tmpX=mouseX-(((NS)?pageX:style.pixelLeft+parentL)+MM_hLeft);var tmpY=mouseY-(((NS)?pageY:style.pixelTop+parentT)+MM_hTop);var tmpW=MM_hWidth;if(tmpW<=0)tmpW+=((NS)?clip.width:offsetWidth);var tmpH=MM_hHeight;if(tmpH<=0)tmpH+=((NS)?clip.height:offsetHeight);if((0<=tmpX&&tmpX<tmpW&&0<=tmpY&&tmpY<tmpH)&&(maxDragZ==null||maxDragZ<=aLayerZ)){curDrag=aLayer;maxDragZ=aLayerZ;}}}
if(curDrag){document.onmousemove=MM_dragLayer;if(NS)document.captureEvents(Event.MOUSEMOVE);curLeft=(NS)?curDrag.left:curDrag.style.pixelLeft;curTop=(NS)?curDrag.top:curDrag.style.pixelTop;MM_oldX=mouseX-curLeft;MM_oldY=mouseY-curTop;document.MM_curDrag=curDrag;curDrag.MM_SNAPPED=false;if(curDrag.MM_toFront){eval('curDrag.'+((NS)?'':'style.')+'zIndex=document.MM_maxZ+1');if(!curDrag.MM_dropBack)document.MM_maxZ++;}
retVal=false;if(!NS)event.returnValue=false;}}else if(theEvent=='mousemove'){if(document.MM_curDrag)with(document.MM_curDrag){var mouseX=(NS)?objName.pageX:event.clientX+document.body.scrollLeft;var mouseY=(NS)?objName.pageY:event.clientY+document.body.scrollTop;newLeft=mouseX-MM_oldX;newTop=mouseY-MM_oldY;if(MM_bL!=null)newLeft=Math.max(newLeft,MM_bL);if(MM_bR!=null)newLeft=Math.min(newLeft,MM_bR);if(MM_bT!=null)newTop=Math.max(newTop,MM_bT);if(MM_bB!=null)newTop=Math.min(newTop,MM_bB);MM_LEFTRIGHT=newLeft-MM_startL;MM_UPDOWN=newTop-MM_startT;if(NS){left=newLeft;top=newTop;}
else{style.pixelLeft=newLeft;style.pixelTop=newTop;}
if(MM_dragJS)eval(MM_dragJS);retVal=false;if(!NS)event.returnValue=false;}}else if(theEvent=='mouseup'){document.onmousemove=null;if(NS)document.releaseEvents(Event.MOUSEMOVE);if(NS)document.captureEvents(Event.MOUSEDOWN);if(document.MM_curDrag)with(document.MM_curDrag){if(typeof MM_targL=='number'&&typeof MM_targT=='number'&&(Math.pow(MM_targL-((NS)?left:style.pixelLeft),2)+
Math.pow(MM_targT-((NS)?top:style.pixelTop),2))<=MM_tol){if(NS){left=MM_targL;top=MM_targT;}
else{style.pixelLeft=MM_targL;style.pixelTop=MM_targT;}
MM_SNAPPED=true;MM_LEFTRIGHT=MM_startL-MM_targL;MM_UPDOWN=MM_startT-MM_targT;}
if(MM_everyTime||MM_SNAPPED)eval(MM_dropJS);if(MM_dropBack){if(NS)zIndex=MM_oldZ;else style.zIndex=MM_oldZ;}
retVal=false;if(!NS)event.returnValue=false;}
document.MM_curDrag=null;}
if(NS)document.routeEvent(objName);}return retVal;}
if(window.Layer&&window.Document&&!window.Document.prototype.getElementById){var eventWatch=function(){var e=Event[arguments[0].substring(2).toUpperCase()];if(arguments[2]){this.captureEvents(e);}else{this.releaseEvents(e);}return arguments[2];};window.Document.prototype.getElementById=function(){if(this.layers[arguments[0]]){return this.layers[arguments[0]];}for(var c=0;c<this.layers.length;c++){var f=this.layers[c].document.getElementById(arguments[0]);if(f){return f;}}if(this.anchors[arguments[0]]){this.anchors[arguments[0]].offsetParent=this.layer;this.anchors[arguments[0]].parentElement=this.layer;this.anchors[arguments[0]].offsetLeft=this.anchors[arguments[0]].x;this.anchors[arguments[0]].offsetTop=this.anchors[arguments[0]].y;return this.anchors[arguments[0]];}if(this.images[arguments[0]]){this.images[arguments[0]].offsetParent=this.layer;this.images[arguments[0]].parentElement=this.layer;this.images[arguments[0]].offsetLeft=this.images[arguments[0]].x;this.images[arguments[0]].offsetTop=this.images[arguments[0]].y;return this.images[arguments[0]];}if(this.forms[arguments[0]]){return this.forms[arguments[0]];}for(var c=0;c<this.forms.length;c++){var f=this.forms[c].elements[arguments[0]];if(f){return f;}}if(this.applets[arguments[0]]){return this.applets[arguments[0]];}if(this.embeds[arguments[0]]){return this.embeds[arguments[0]];}return null;};window.Layer.prototype.onload=function(){this.document.layer=this;if(this.parentLayer!=window){this.offsetParent=this.parentLayer;this.parentElement=this.parentLayer;}this.offsetWidth=this.clip.width;this.offsetHeight=this.clip.height;this.watch("innerHTML",function(){this.document.open();this.document.write(arguments[2]);this.document.close();return arguments[2];});if(this.onmousedown){this.captureEvents(Event.MOUSEDOWN);}if(this.onmouseup){this.captureEvents(Event.MOUSEUP);}if(this.onclick){this.captureEvents(Event.CLICK);}if(this.ondblclick){this.captureEvents(Event.DBLCLICK);}this.watch("onmousedown",eventWatch);this.watch("onmouseup",eventWatch);this.watch("onclick",eventWatch);this.watch("ondblclick",eventWatch);this.style=new Object();this.style.layer=this;if(this.visibility=="show"){this.style.visibility="visible";}else if(this.visibility=="hide"){this.style.visibility="hidden";}else{this.style.visibility=this.visibility;}this.style.watch("visibility",function(){if(arguments[2]=="visible"){this.layer.visibility="show";}else if(arguments[2]=="hidden"){this.layer.visibility="hide";}else{this.layer.visibility=arguments[2];}return arguments[2];});this.style.left=this.left;if(this.offsetLayer){this.offsetLeft=this.pageX-this.offsetLayer.pageX;}else{this.offsetLeft=this.pageX;}this.style.watch("left",function(){this.layer.left=arguments[2];if(this.layer.offsetLayer){this.layer.offsetLeft=this.layer.pageX-this.layer.offsetLayer.pageX;}else{this.layer.offsetLeft=this.layer.pageX;}return arguments[2];});this.style.top=this.top;if(this.offsetLayer){this.offsetTop=this.pageY-this.offsetLayer.pageY;}else{this.offsetTop=this.pageY;}this.style.watch("top",function(){this.layer.top=arguments[2];if(this.layer.offsetLayer){this.layer.offsetTop=this.layer.pageY-this.layer.offsetLayer.pageY;}else{this.layer.offsetTop=this.layer.pageY;}return arguments[2];});this.style.zIndex=this.zIndex;this.style.watch("zIndex",function(){this.layer.zIndex=arguments[2];return arguments[2];});this.style.backgroundColor=this.bgColor;this.style.watch("backgroundColor",function(){if(arguments[2]){this.layer.bgColor=arguments[2];}else{this.layer.bgColor=null;}return arguments[2];});this.style.watch("clip",function(){var clipArray=arguments[2].substring(arguments[2].indexOf("(")+1,arguments[2].indexOf(")")).split(" ");this.layer.clip.left=parseFloat(clipArray[3]);this.layer.clip.top=parseFloat(clipArray[0]);this.layer.clip.right=parseFloat(clipArray[1]);this.layer.clip.bottom=parseFloat(clipArray[2]);return arguments[2];});};window.document.watch("onkeydown",eventWatch);window.document.watch("onkeyup",eventWatch);window.document.watch("onkeypress",eventWatch);window.document.watch("onmouseover",eventWatch);window.document.watch("onmouseout",eventWatch);window.document.watch("onmousedown",eventWatch);window.document.watch("onmouseup",eventWatch);window.document.watch("onclick",eventWatch);window.document.watch("ondblclick",eventWatch);window.document.watch("onmousemove",eventWatch);}else if(!window.document.getElementById&&window.document.all){window.document.getElementById=function(){return this.all[arguments[0]];};}
endHTMLs=new Array();function endHTML(){var e=endHTMLs[endHTMLs.length-1];endHTMLs.length--;return e;}if(window.document.layers){layerStartHTML=function(){var styleArray=new Array();if(arguments[1]){styleArray=arguments[1].split(";");}for(var c=0;c<styleArray.length;c++){var a=styleArray[c].split(":");styleArray[a[0]]=a[1];}var s='';var e='';if(styleArray["position"]=="absolute"){s+='<layer';}else if(styleArray["position"]=="relative"){s+='<ilayer';if(styleArray["z-index"]){s+=' z-index="'+styleArray["z-index"]+'"';}else{s+=' z-index="0"';}s+='>';s+='<layer';}else{s+='<ilayer';}if(arguments[0]){s+=' name="'+arguments[0]+'"';}if(styleArray["visibility"]){if(styleArray["visiblity"]=="hidden"){s+=' visibility="hide"';}else if(styleArray["visiblity"]=="visible"){s+=' visibility="show"';}else{s+=' visibility="'+styleArray["visibility"]+'"';}}if(styleArray["left"]){s+=' left="'+styleArray["left"]+'"';}if(styleArray["top"]){s+=' top="'+styleArray["top"]+'"';}if(styleArray["width"]){s+=' width="'+styleArray["width"]+'"';}if(styleArray["height"]){s+=' height="'+styleArray["height"]+'"';}if(styleArray["z-index"]){s+=' z-index="'+styleArray["z-index"]+'"';}else{s+=' z-index="0"';}if(styleArray["background-color"]){s+=' bgcolor="'+styleArray["background-color"]+'"';}if(styleArray["background-image"]){s+=' background="'+(styleArray["background-image"].substring(styleArray["background-image"].indexOf("(")+1,styleArray["background-image"].indexOf(")")))+'"';}s+='>';if(styleArray["position"]=="absolute"){e+='</layer>';}else if(styleArray["position"]=="relative"){e+='</layer>';e+='</ilayer>';}else{e+='</ilayer>';}endHTMLs[endHTMLs.length]=e;return s;};}else{layerStartHTML=function(){var s='';var e='';s+='<div';if(arguments[0]){s+=' id="'+arguments[0]+'"';}s+=' style="';if(window.document.all&&(!arguments[1]||arguments[1].indexOf("width")<0)){s+="width:1;";}if(arguments[1]){s+=arguments[1];}s+='"';s+='>';e+='</div>';endHTMLs[endHTMLs.length]=e;return s;};}function imageHTML(){var s='';s+='<img';if(arguments[0]){if(document.layers){s+=' name="'+arguments[0]+'"';}else{s+=' id="'+arguments[0]+'"';}}if(arguments[1]){s+=' src="'+arguments[1]+'"';}if(arguments[2]){s+=' alt="'+arguments[2]+'"';}s+=' hspace="0"';s+=' vspace="0"';s+=' border="0"';s+='>';return s;}
browser=new Object();browser.mac=navigator.appVersion.toLowerCase().indexOf('mac')>=0;browser.win=navigator.appVersion.toLowerCase().indexOf('win')>=0;browser.unix=navigator.appVersion.toLowerCase().indexOf('unix')>=0;browser.ie=navigator.appName.toLowerCase().indexOf('microsoft internet explorer')>=0;browser.ns=navigator.appName.toLowerCase().indexOf('netscape')>=0;if(browser.ns){browser.version=parseFloat(navigator.appVersion);}if(browser.ie){browser.version=parseFloat(navigator.appVersion.substring(navigator.appVersion.toLowerCase().indexOf("msie")+4));}if(document.all){getWindowWidth=new Function('return window. document. body. clientWidth;');getWindowHeight=new Function('return window. document. body. clientHeight;');getPageWidth=new Function('return window. document. body. scrollWidth;');getPageHeight=new Function('return window. document. body. scrollHeight;');getScrollX=new Function('return window. document. body. scrollLeft;');getScrollY=new Function('return window. document. body. scrollTop;');}else{getWindowWidth=new Function('return window. innerWidth;');getWindowHeight=new Function('return window. innerHeight;');getPageWidth=new Function('return window. document. width;');getPageHeight=new Function('return window. document. height;');getScrollX=new Function('return window. pageXOffset;');getScrollY=new Function('return window. pageYOffset;');}function getPageX(){var t=0;for(var l=arguments[0];l;l=l.offsetParent){t+=l.offsetLeft;}return t;};function getPageY(){var t=0;for(var l=arguments[0];l;l=l.offsetParent){t+=l.offsetTop;}return t;};UICount=0;function UI(){return"UI"+(new Date()).valueOf()+"UI"+(UICount++);}
window.eNodeCollection=new Array();function ENode(){this.toString=new Function("return 'window. eNodeCollection[ "+window.eNodeCollection.length+" ]';");window.eNodeCollection[window.eNodeCollection.length]=this;this.childNodes=new Array();this.attributes=new Object();if(arguments[0]){for(i in arguments[0]){this.attributes[i]=arguments[0][i];}}this.firstChild=null;this.lastChild=null;this.previousSibling=null;this.nextSibling=null;this.parentNode=null;};ENode.prototype.appendChild=function(){if(this.lastChild){this.lastChild.nextSibling=arguments[0];arguments[0].previousSibling=this.lastChild;}this.lastChild=arguments[0];this.lastChild.parentNode=this;if(!this.hasChildNodes()){this.firstChild=this.lastChild;}this.childNodes[this.childNodes.length]=this.lastChild;return this.lastChild;};ENode.prototype.hasChildNodes=function(){return this.childNodes.length!=0;};pathToRoot="/";imageDir=pathToRoot+"images/";amImageDir=imageDir;plImageDir=imageDir;generiekImageDir=imageDir;generiekImagesDir=generiekImageDir;styleDir=pathToRoot+"styles/";fileInfo="";window.mouseoverAan=false;function getFormValue(){return arguments[0].elements[arguments[1]];}
function getFormElementValue(_element){var d=new Array();if(_element.value){return _element.value;}
else if(_element.options){for(var c=0;c<_element.options.length;c++)
if(_element.options[c].selected)
d[d.length]=_element.options[c].value;}
else{for(var c=0;c<_element.length;c++)
if(_element[c].checked)
d[d.length]=_element[c].value;}
return d.join(", ");}
if(browser.version<4){document.location.href=pathToRoot+"browser.html";}
eImageCollection=new Array();function EImage(){this.toString=new Function("return 'eImageCollection[ ' + eImageCollection. length + ' ]';")
eImageCollection[eImageCollection.length]=this;this.src=null;}
EImage.prototype.load=function(){with(this.image=new Image()){src=this.src;this.src=src;}}
function loadEImages(){for(var c=0;c<eImageCollection.length;c++){eImageCollection[c].load();}}
function eImageArray(){var a=new Array();for(var c=0;c<arguments.length;c++){with(a[c]=new EImage()){src=arguments[c];}}
return a;}
multiImageCollection=new Array();function MultiImage(){this.toString=new Function('return "multiImageCollection[ '+multiImageCollection.length+' ]";')
multiImageCollection[multiImageCollection.length]=this;this.images=arguments[0];this.alt=arguments[1];this.imageIndex=0}
MultiImage.prototype.HTML=function(){this.currentImageIndex=this.imageIndex;var s='';s+=imageHTML(this.imageId=UI(),this.images[this.currentImageIndex].src,this.alt);return s;}
MultiImage.prototype.init=function(){this.image=window.document.getElementById(this.imageId);}
MultiImage.prototype.step=function(){if(this.imageIndex!=this.currentImageIndex&&this.image){this.currentImageIndex=this.imageIndex;if(window.mouseoverAan){this.image.src=this.images[this.currentImageIndex].src;}
else{this.image.src=this.images[this.currentImageIndex&!1].src;}}}
MultiImage.prototype.set=function(){this.imageIndex=arguments[0];this.step();}
function moImageHTML(){var m=new MultiImage(arguments[0]);m.alt=arguments[2]
addInitFunction(new Function(m+". init();"));var s='';s+='<a';s+=' href="'+arguments[1]+'"';s+=' onmouseover="'+m+'. set( 1 );"'
s+=' onmouseout="'+m+'. set( 0 );"'
s+='>';s+=m.HTML();s+='</a>';return s;}
layerTransitionCollection=new Array();function LayerTransition(){this.toString=new Function('return "layerTransitionCollection[ '+layerTransitionCollection.length+' ]";')
layerTransitionCollection[layerTransitionCollection.length]=this;this.layerId=UI();this.speed=0.5;}
LayerTransition.prototype.init=function(){this.layer=window.document.getElementById(this.layerId);this.visible=this.layer.style.visibility!="hidden";this.visibleWidth=this.visible?this.layer.offsetWidth:0;this.visibleHeight=this.visible?this.layer.offsetHeight:0;}
LayerTransition.prototype.step=function(){if(!this.transition){return false;}
if(this.transition=="snapIn"){this.visible=true;this.visibleWidth=this.layer.offsetWidth;this.visibleHeight=this.layer.offsetHeight;if(document.all){this.layer.style.visibility="hidden";}
this.layer.style.clip="rect(0px "+this.layer.offsetWidth+"px "+this.layer.offsetHeight+"px 0px)";this.layer.style.visibility="inherit";this.transition="";}
else if(this.transition=="snapOut"){this.visible=false;this.visibleWidth=0;this.visibleHeight=0;this.layer.style.visibility="hidden";this.transition="";}
else if(this.transition=="wipeInFromTop"){this.visible=true;this.visibleHeight+=(this.layer.offsetHeight-this.visibleHeight)*this.speed;this.layer.style.clip="rect(0px "+this.layer.offsetWidth+"px "+this.visibleHeight+"px 0px)";this.layer.style.visibility="inherit";if(this.layer.offsetHeight-this.visibleHeight<=1){this.transition="snapIn";}}
else if(this.transition=="wipeInFromLeft"){this.visible=true;this.visibleWidth+=(this.layer.offsetWidth-this.visibleWidth)*this.speed;this.layer.style.clip="rect(0px "+this.visibleWidth+"px "+this.layer.offsetHeight+"px 0px)";this.layer.style.visibility="inherit";if(this.layer.offsetWidth-this.visibleWidth<=1){this.transition="snapIn";}}
return true;}
function generiekHTML(){var s='';s+=moImageHTML(new eImageArray(generiekImageDir+"but_zoeken_out.gif",generiekImageDir+"but_zoeken_over.gif"),"/zoeken/index.html","Zoeken");s+='<IMG src="/images/spacer.gif" width="3" height="10" hspace="0" vspace="0" border="0" alt="">';s+=moImageHTML(new eImageArray(generiekImageDir+"but_contact_out.gif",generiekImageDir+"but_contact_over.gif"),"/contact/index.html","Contact");s+='<IMG src="/images/spacer.gif" width="3" height="10" hspace="0" vspace="0" border="0" alt="">';s+=moImageHTML(new eImageArray(generiekImageDir+"but_help_out.gif",generiekImageDir+"but_help_over.gif"),"/help/index.html","Help");if(arguments[0]){s+='<IMG src="/images/spacer.gif" width="3" height="10" hspace="0" vspace="0" border="0" alt="">';s+=moImageHTML(new eImageArray(generiekImageDir+"but_print_out.gif",generiekImageDir+"but_print_over.gif"),"/print/index.html","Print");}
else{s+='<IMG src="/images/gen_spacer1.gif" width="39" height="17" hspace="0" vspace="0" border="0" alt="">';}
s+='<IMG src="/images/gen_spacer2.gif" width="13" height="17" hspace="0" vspace="0" border="0" alt="">';s+='<br>';s+='<IMG src="/images/spacer.gif" width="10" height="3" hspace="0" vspace="0" border="0" alt="">';s+='<br>';s+=moImageHTML(new eImageArray(generiekImageDir+"but_forum_out.gif",generiekImageDir+"but_forum_over.gif"),"javascript: popForum();","Forum");s+='<IMG src="/images/spacer.gif" width="3" height="10" hspace="0" vspace="0" border="0" alt="">';s+=moImageHTML(new eImageArray(generiekImageDir+"but_nieuws_out.gif",generiekImageDir+"but_nieuws_over.gif"),"/nieuws/index200.html","Nieuws");s+='<IMG src="/images/spacer.gif" width="3" height="10" hspace="0" vspace="0" border="0" alt="">';s+=moImageHTML(new eImageArray(generiekImageDir+"but_mijnanwb_out.gif",generiekImageDir+"but_mijnanwb_over.gif"),"/mijnanwb/index.html","Mijn ANWB");s+='<IMG src="/images/gen_spacer2.gif" width="13" height="17" hspace="0" vspace="0" border="0" alt="">';return s;}
initFunctions=new Array();function init(){loadEImages();for(var c=0;c<initFunctions.length;c++){initFunctions[c]();}
setInterval("step();",50);}
function addInitFunction(){initFunctions[initFunctions.length]=arguments[0];}
stepFunctions=new Array();function step(){for(var c=0;c<stepFunctions.length;c++){stepFunctions[c]();}}
function addStepFunction(){stepFunctions[stepFunctions.length]=arguments[0];}
function middenSpacerHTML(){var s='';s+='<img';s+=' src="'+imageDir+'spacer.gif"';s+=' width="'+Math.floor((getWindowWidth()-800)/2)+'"';s+=' height="10"';s+=' hspace="0"';s+=' vspace="0"';s+=' border="0"';s+=' alt="">';return s;}
function naarTopHTML(){addInitFunction(new Function('window. document. getElementById( naarTopLayerId ). style. visibility = getPageHeight() > getWindowHeight() ? "inherit" : "hidden";'));var s='';s+=layerStartHTML(naarTopLayerId=UI(),null);s+='<a';s+=' href="#top"';s+=' class="copyright"';s+='>';s+='top';s+=' </a>';s+=endHTML();return s;}
function kleurenBalkInit(){window.kleurenBalkImage=window.document.getElementById("kleurenbalk");}
addInitFunction(kleurenBalkInit);function welkomHTML(){addInitFunction(welkomInit);var s='';s+=layerStartHTML(window.welkomLayerId=UI(),"position:absolute;visibility:hidden;z-index:500;");s+='<table width="200" height="37" border="0" cellspacing="0" cellpadding="4" bgcolor="#02a3da">';s+='<tr>';s+='<td class="welkom">';s+='Welkom '+arguments[0];s+='</td>';s+='</tr>';s+='</table>';s+=endHTML();return s;}
function welkomInit(){window.welkomLayer=window.document.getElementById(window.welkomLayerId);if(document.layers){window.welkomLayer.onmousedown=welkomHide;}
else{window.welkomLayer.onclick=welkomHide;}
window.welkomLayer.style.visibility="inherit";window.welkomLayer.style.top=getPageY(window.kleurenBalkImage)+26;window.welkomLayer.style.left=getPageX(window.kleurenBalkImage)+360;window.welkomTimeout=setTimeout('welkomHide();',5000);}
function welkomHide(){if(window.welkomTimeout){clearTimeout(window.welkomTimeout);}
window.welkomLayer.style.visibility="hidden";if(window.logoLayer){window.logoLayer.style.visibility="inherit";}}
function logoHTML(){if(document.referrer.indexOf(document.location.hostname)>=0){return"";}
addInitFunction(logoInit);var s='';s+=layerStartHTML(window.logoLayerId=UI(),"position:absolute;visibility:hidden;z-index:500;");s+=imageHTML(null,imageDir+"anwb_logo_100.gif");s+=endHTML();return s;}
function logoInit(){window.logoLayer=window.document.getElementById(window.logoLayerId);if(!window.welkomLayerId){window.logoLayer.style.visibility="inherit";}
window.logoLayer.style.top=getPageY(window.kleurenBalkImage)+26;window.logoLayer.style.left=getPageX(window.kleurenBalkImage)+470;}
sURLBase="http://route.anwb.nl/routeplanner/servlet/rp?action=10";sConfig='anwb';function MapOfPc(country,pc)
{var sRedirUrl=sURLBase;sRedirUrl+="&country="+country;sRedirUrl+="&zip="+pc;var _width=750;var _height=460;var anwbPopup=window.open(sRedirUrl,UI(),"toolbar=1,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=1,width="+_width+",height="+_height+"");anwbPopup.focus();}
function mapOfCoordinate(lat,lon,descr,level)
{var sRedirUrl=sURLBase;sRedirUrl+="&lat="+lat;sRedirUrl+="&lon="+lon;sRedirUrl+="&name="+descr;sRedirUrl+="&zoom="+level;var _width=750;var _height=460;var anwbPopup=window.open(sRedirUrl,UI(),"toolbar=1,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=1,width"+_width+",height="+_height+"");anwbPopup.focus();}
function MapOfAddress(country,street,city)
{var sRedirUrl=sURLBase;sRedirUrl+="&country="+country;sRedirUrl+="&street="+street;sRedirUrl+="&city="+city;var _width=750;var _height=460;var anwbPopup=window.open(sRedirUrl,UI(),"toolbar=1,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=1,width="+_width+",height="+_height+"");anwbPopup.focus();}
function openNewWindow(sURL){var sOptions="toolbar=yes,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=640,height=400";window.open(sURL,'',sOptions);}
function popupFile(_url,_width,_height){if(!_width){_width=650;}
if(!_height){_height=460;}
var anwbPopup=window.open(_url,UI(),"toolbar=1,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=1,width="+_width+",height="+_height+"");anwbPopup.focus();}
function popupFilePrint(_url,_width,_height){if(!_width){_width=650;}
if(!_height){_height=460;}
var anwbPopup=window.open(_url,UI(),"toolbar=1,scrollbars=1,location=0,statusbar=0,menubar=1,top=0,left=0,resizable=1,width="+_width+",height="+_height+"");anwbPopup.focus();}
function popupLogin(){popupFile(pathToRoot+"autorisatie/login.html",420,460);}
function popupRoute(fromwhere){if(fromwhere){fromwhere=='homepage'?url='http://www.anwb.nl/clickout/redirect.jsp?pif=homepage.routeplanner&id=680552':url='http:\/\/route.anwb.nl';}else{url='http:\/\/route.anwb.nl';}
popupFile(url,750,460);}
function popupForum(){popupFile(pathToRoot+"forum/",750,460);}
function popupPrint(_url){popupFile(_url,720,460);}
function popupKassabon(){popupFile(pathToRoot+"webwinkel/kasabon.html",420,400);}
var popupPlaatjeLadend=null;var popupPlaatjeLadend_width=null;var popupPlaatjeLadend_height=null;var popupPlaatjeLadend_title=null;var popupPlaatjeLadend_onderschrift=null;function popupPlaatje(_titel,_plaatje,_w,_h,_onderschrift){popupPlaatjeLadend=new Image();popupPlaatjeLadend.src=_plaatje;popupPlaatjeLadend_width=_w?_w:null;popupPlaatjeLadend_height=_h?_h:null;popupPlaatjeLadend_title=_titel;popupPlaatjeLadend_onderschrift=_onderschrift;popupPlaatjeLadedLuisteren();}
function popupPlaatjeLadedLuisteren(){if(popupPlaatjeLadend_width&&popupPlaatjeLadend_height){window.open(pathToRoot+"popupplaatje.html?titel="+escape(popupPlaatjeLadend_title)+"&plaatje="+escape(popupPlaatjeLadend.src)+(popupPlaatjeLadend_onderschrift?("&onderschrift="+escape(popupPlaatjeLadend_onderschrift)):""),UI(),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+(popupPlaatjeLadend_width+150)+",height="+(popupPlaatjeLadend_height+180));}
else{popupPlaatjeLadend_width=popupPlaatjeLadend.width;popupPlaatjeLadend_height=popupPlaatjeLadend.height;setTimeout("popupPlaatjeLadedLuisteren();",30);}}
function gotoOption(_select){if(_select.options[_select.selectedIndex].value)
document.location.href=_select.options[_select.selectedIndex].value;}
function replaceSpace(inTxt){var spaceIndex=0;var outTxt="";for(var c=0;c<inTxt.length;c++)
outTxt+=inTxt.charAt(c)==" "?"+":inTxt.charAt(c);return outTxt;}
function getSearchArgs(){var args=new Array()
var a=new Array();var aa=new Array();var s=unescape(document.location.search.substring(1,document.location.search.length));a=s.split("&");for(c=0;c<a.length;c++){aa=a[c].split("=");args[aa[0]]=aa[1];}
return args;}
searchArgs=getSearchArgs();function popupWR(url)
{var waveRunnerPopUpUrl=(url==null)?'http://aanbiedingen.waverunner.nl/start.aspx?layout=1&u=3198&if=link.lastmintues':url;var popupWRCookie="callmebackwr";var callMeBackPopUpUrl='/formulieren/callmebackwr/';if(showWindow())
{if(getMyCookie(popupWRCookie)==0)
{window1=window.open(callMeBackPopUpUrl,'ANWB','height=650,width=800,alwaysLowered=no,alwaysRaised=no,dependent=no,location=no,menubar=no,status=no,titlebar=no,resizable=no,scrollbars=no,left=,top=');setMyCookie(popupWRCookie,1,1);}}
window2=window.open(waveRunnerPopUpUrl,'ANWB2','height=600,width=800,alwaysLowered=no,alwaysRaised=no,dependent=no,location=no,menubar=no,status=no,titlebar=no,resizable=no,scrollbars=no,left=,top=');}
function showWindow()
{var date=new Date();var dateStart=new Date();var dateEnd=new Date();var dayofweek=date.getDay();var day=date.getDate();var month=date.getMonth();var year=date.getYear();var feestdagen=new Array(11);feestdagen[0]=new Date(2006,3,29);feestdagen[1]=new Date(2006,4,25);feestdagen[2]=new Date(2006,5,5);feestdagen[3]=new Date(2006,11,25);feestdagen[4]=new Date(2006,11,26);feestdagen[5]=new Date(2007,3,9);feestdagen[6]=new Date(2007,3,30);feestdagen[7]=new Date(2007,4,17);feestdagen[8]=new Date(2007,4,28);feestdagen[9]=new Date(2007,11,25);feestdagen[10]=new Date(2007,11,26);if(dayofweek==0)return false;for(var i=0;i<feestdagen.length;i++)
{var day2=feestdagen[i].getDate();var month2=feestdagen[i].getMonth();var year2=feestdagen[i].getYear();if(day==day2&&month==month2&&year==year2)
{return false;}}
dateStart.setHours(8);dateStart.setMinutes(30);dateEnd.setHours(16);dateEnd.setMinutes(30);if(dayofweek==6)
{if(date>dateStart&&date<dateEnd)
{return true;}
else
{return false;}}
dateStart.setHours(8);dateStart.setMinutes(00);dateEnd.setHours(19);dateEnd.setMinutes(30);if(date>dateStart&&date<dateEnd)
{return true;}
else
{return false;}}
function setMyCookie(cookieName,cookieValue,hours)
{var expire=new Date();expire.setTime(new Date().getTime()+3600000*hours);document.cookie=cookieName+"="+escape(cookieValue)+";expires="+expire.toGMTString();}
function getMyCookie(cookieName)
{thisCookie=document.cookie.split("; ");for(i=0;i<thisCookie.length;i++)
{if(cookieName==thisCookie[i].split("=")[0])
{return thisCookie[i].split("=")[1];}}
return 0;}
var forms=new Array();function myForm(_id){if(!forms[_id])
forms[_id]=findForm(_id,document);forms[_id].validate=Form_validate;forms[_id].requestSubmit=new Function('if( this. validate() ) this. submit();');forms[_id].resetExtra=new Function('for( var c = 0; c < this. elements. length; c++ ) validateElement( this. elements[ c ], true, "" );');forms[_id].getElementValue=form_getElementValue;return forms[_id];}
function findForm(_id,_scope){if(_scope.forms[_id])
return _scope.forms[_id];if(document.layers)
for(var c=0;c<_scope.layers.length;c++){var found=findForm(_id,_scope.layers[c].document);if(found)
return found;}
return false;}
function form_getElementValue(_elementId){var d=new Array();if(this.elements[_elementId].value){return this.elements[_elementId].value;}
else if(this.elements[_elementId].options){for(var c=0;c<this.elements[_elementId].options.length;c++)
if(this.elements[_elementId].options[c].selected)
d[d.length]=this.elements[_elementId].options[c].value;}
else{for(var c=0;c<this.elements[_elementId].length;c++)
if(this.elements[_elementId][c].checked)
d[d.length]=this.elements[_elementId][c].value;}
return d.join(", ");}
function getElementValue(_element){var d=new Array();if(_element.value){return _element.value;}
else if(_element.options){for(var c=0;c<_element.options.length;c++)
if(_element.options[c].selected)
d[d.length]=_element.options[c].value;}
else{for(var c=0;c<_element.length;c++)
if(_element[c].checked)
d[d.length]=_element[c].value;}
return d.join(", ");}
function Form_validate(){var error="";if(this.validateExtra)
this.validateExtra();for(var c=0;c<this.elements.length;c++){if(this.elements[c].onchange)
this.elements[c].onchange();if(this.elements[c].error){if(!error)
this.elements[c].focus();error+=this.elements[c].error;error+="\n";}}
if(error)
alert(error);return!error;}
jsLoaded=true;function writeFlash(){}