function startList(a){if(document.all&&document.getElementById){navRoot=document.getElementById(a);for(i=0;i<navRoot.childNodes.length;i++){node=navRoot.childNodes[i];if(node.nodeName=="LI"){node.onmouseover=function(){this.className+=" over"};node.onmouseout=function(){this.className=this.className.replace(" over","")}}}}}AddToInitArray(function(){startList("nav1");startList("nav2")});function onclickNieuwsbrief(){var a=document.getElementById("nlemail").value;if(a!="Uw e-mailadres..."){location.href="/cgi/register.cgi?site=kinderlijkeenvoudig;task=send;email="+encodeURIComponent(a)+";format=html"}return false}function onkeyNieuwsbrief(a){return ifEnter(a,onclickNieuwsbrief)}function ifEnter(c,b){var a;if(window.event){a=window.event.keyCode}else{if(c){a=c.which}else{return true}}if(a==13){b();return false}return true}function fixImg(){var b=document.getElementById("tekst").getElementsByTagName("IMG");for(var c=0;c<b.length;c++){if(b[c].src.indexOf("_ro.")!=-1&&inCMS()){var a=b[c].width;var d=parseInt(b[c].height/2);var e=b[c].src;b[c].src="/gfx/trans.gif";b[c].width=a;b[c].height=d;b[c].onmouseover=imgMouseOver;b[c].onmouseout=imgMouseOut;b[c].style.background="url("+e+") 0 0 no-repeat"}if(b[c].style.background.indexOf("_ro.")!=-1){b[c].onmouseover=imgMouseOver;b[c].onmouseout=imgMouseOut}}}function imgMouseOver(a){a=(a)?a:((event)?event:null);if(a){var c=(a.target)?a.target:((a.srcElement)?a.srcElement:null);if(c){var d=/(\d+)px (\d+)px/.exec(c.style.backgroundPosition);var b=parseInt(c.height);c.style.backgroundPosition=d[1]+"px -"+(b+parseInt(d[2]))+"px"}}}function imgMouseOut(a){a=(a)?a:((event)?event:null);if(a){var c=(a.target)?a.target:((a.srcElement)?a.srcElement:null);if(c){var d=/(\d+)px -(\d+)px/.exec(c.style.backgroundPosition);var b=parseInt(c.height);c.style.backgroundPosition=d[1]+"px "+(parseInt(d[2])-b)+"px"}}}AddToInitArray(function(){fixImg()});function setPageHeight(){document.getElementById("page").style.height="100%";var a=(document.documentElement?document.documentElement:document.body).scrollHeight;if(a<document.body.scrollHeight){a=document.body.scrollHeight}document.getElementById("page").style.height=a+"px"}AddToInitArray(setPageHeight);window.onresize=setPageHeight;function callmeback(a){if(document.getElementById("cmb_naam").value!="Uw naam..."&&document.getElementById("cmb_tel").value!="Uw telefoonnummer..."){location.href="/"+a+"?naam="+encodeURIComponent(document.getElementById("cmb_naam").value)+";tel="+encodeURIComponent(document.getElementById("cmb_tel").value)}return false};
