///////////////////////////////////////////// //functies tbv mouseover effecten homepage // //////////////////////////////////////////// function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&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 x) { eval(v); } else { eval(vUit); } var xPos = s + x - 50; // Pijltje verbergen als er niet gescrolled hoeft te worden... if (xPos < x) xPos = x; // Tot 50 pixels boven het einde van de pagina ophouden met scrollen (net boven de disclaimer) if (xPos+100 < d) eval(objectX+xPos); eval(objectY+y); setTimeout("movePijltje("+l+")",50) } /* counter voor forumberichten */ function TrackCount(fieldObj,countFieldName,maxChars) { var countField = eval("fieldObj.form."+countFieldName); var diff = maxChars - fieldObj.value.length; if (diff < 0) { fieldObj.value = fieldObj.value.substring(0,maxChars); diff = maxChars - fieldObj.value.length; } countField.value = diff; } /* */ function LimitText(fieldObj,maxChars) { var result = true; if (fieldObj.value.length >= maxChars) result = false; if (window.event) window.event.returnValue = result; return result; } /* */ function maxlen(waarde,len) { if (waarde.value.length > len) { waarde.value = waarde.value.substr(0,len+1); return false; } } /////////////////////////////////////////// //autoresizeing popup voor afbeeldingen // ///////////////////////////////////////// // Script Source: CodeLifter.com // Copyright 2003 // Do not remove this notice. // SETUPS: // =============================== // Set the horizontal and vertical position for the popup PositionX = 100; PositionY = 100; // Set these value approximately 20 pixels greater than the // size of the largest image to be used (needed for Netscape) defaultWidth = 500; defaultHeight = 500; // Set autoclose true to have the window close automatically // Set autoclose false to allow multiple popup windows var AutoClose = true; // Do not edit below this line... // ================================ if (parseInt(navigator.appVersion.charAt(0))>=4){ var isNN=(navigator.appName=="Netscape")?1:0; var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;} var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY; var optIE='scrollbars=no,width=150,height=100,left='+PositionX+',top='+PositionY; function popImage(imageURL,imageTitle){ if (isNN){imgWin=window.open('about:blank','',optNN);} if (isIE){imgWin=window.open('about:blank','',optIE);} with (imgWin.document){ writeln('Loading...');writeln(''); writeln('var isNN,isIE;');writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){'); writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}'); writeln('function reSizeToImage(){');writeln('if (isIE){');writeln('window.resizeTo(100,100);'); writeln('width=100-(document.body.clientWidth-document.images[0].width);'); writeln('height=100-(document.body.clientHeight-document.images[0].height);'); writeln('window.resizeTo(width,height);}');writeln('if (isNN){'); writeln('window.innerWidth=document.images["George"].width;');writeln('window.innerHeight=document.images["George"].height;}}'); writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln(''); if (!AutoClose) writeln('') else writeln(''); writeln(''); close(); }} ///////////////////////////////////////////// //functies tbv tekstversie menu // //////////////////////////////////////////// function openMenuLink (link) { var sid = 0; if (sid > 0) { document.location.href = link + '?sid='+sid; } else { document.location.href = link; } } function changeState(id,ouder,hoofditems) { /*for(i=1;i <= hoofditems; i++) { if( i != ouder) { var obj = document.getElementById(i); obj.className = 'collapsed'; } } */ var obj = document.getElementById(id); var objImg = document.getElementById("img"+id); if (obj.className == 'expanded') { obj.className = 'collapsed'; if(objImg != null) objImg.src = '/afb/plus.gif'; } else { obj.className = 'expanded'; if(objImg != null) objImg.src = '/afb/minus.gif'; } } function zetDatumHiddenField(veldnaam) { dag = eval("document.formulier." + veldnaam + "Day.value;"); maand = eval("document.formulier." + veldnaam + "Month.value;"); year = eval("document.formulier." + veldnaam + "Year.value;"); eval("document.formulier." + veldnaam + ".value = '" + dag + "-" + maand + "-" + year + "';"); } function printWindow(uri) { var popup = window.open('?printen=', 'popup', 'height=3,width=3,top=2000, left=300, status=no,toolbar=no, menubar=no,location=no'); } function copyPrintContent() { var header = ''; var footer = ''; var content = document.getElementById("lichaam").innerHTML; var page = header + content + footer; window.printFrame.focus(); window.printFrame.document.open(); window.printFrame.document.write(page); window.printFrame.document.close(); }