<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  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 && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->

//Generating Pop-up Print Preview page
function getPrint(print_area)
{
	//Creating new page
	var pp = window.open('','','width=680,height=600,left=' + (screen.width-680)/2 + ',top=' + (screen.height-600)/2 + ',marginwidth=' + (screen.width-680)/2 + ',marginheight=' + (screen.height-600)/2 + ',location=no,resizable=yes,menubar=yes,status=no,toolbar=no,scrollbars=yes');
	//Adding HTML opening tag with <HEAD> … </HEAD> portion
	pp.document.writeln('<HTML><HEAD><title>Print Preview</title>')
	pp.document.writeln('<link href="../css/main.css" rel="stylesheet" type="text/css" />')
	pp.document.writeln('<base target="_self"></HEAD>')
	//Adding BodyTag
	pp.document.writeln('<body style="background-image:url(../images/logo_print.gif);background-repeat: no-repeat;" MS_POSITIONING="GridLayout" bottomMargin="0"');
	pp.document.writeln(' leftMargin="0" topMargin="0" rightMargin="0">');
	pp.document.writeln('<br/><br/><br/><br/><br/>');
	//Adding form Tag
	pp.document.writeln('<form method="post">');
	//Creating two buttons Print and Close within a HTML table
	pp.document.writeln('<TABLE width=100%><TR><TD></TD></TR><TR><TD align=right>');
	pp.document.writeln('<INPUT ID="PRINT" class="knop" type="button" value="Print" ');
	pp.document.writeln('onclick="javascript:location.reload(true);window.print();">');
	pp.document.writeln('<INPUT ID="CLOSE" class="knop" type="button" value="Close" onclick="window.close();">');
	pp.document.writeln('</TD></TR><TR><TD></TD></TR></TABLE>');
	//Writing print area of the calling page
	pp.document.writeln(document.getElementById(print_area).innerHTML);
	//Ending Tag of </form>, </body> and </HTML>
	pp.document.writeln('</form></body></HTML>');
	pp.document.getElementById("bttnReturnView3").style.visibility = "hidden"; 
	pp.document.getElementById("bttnGotoView5").style.visibility = "hidden";
	pp.document.getElementById("VoorwaardenJa").disabled = true;
	pp.document.getElementById("machtiging").disabled = true;
	
} 



function mouseOut()
{
var contentID = document.getElementById('printcontent').value;
MM_openBrWindow('webgen.aspx?pageID=50&objectID=' + contentID + '' , '' , 'scrollbars=yes,width=671,height=600');}


<!--

  dynamicanimAttr = "hdynamicanimation"
  animateElements = new Array()
  currentElement = 0
  speed = 1
  stepsZoom = 0
  stepsWord = 8
  stepsFly = 51
  stepsSpiral = 32
  steps = stepsZoom
  step = 1
  outString = ""
  

  function zoom()
  {
   // document.images["img"].width+=2;document.images["img"].height+=2;
   document.getElementById("img").width+=4;
   document.getElementById("img").height+=4;
    
  }

  function hdynAnimation()
  {
    var ms = navigator.appVersion.indexOf("MSIE")
    ie4 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4)
    if(!ie4)
    {
   	
   
        return
    } else {
    	
	    for (index=document.all.length-1; index >= document.body.sourceIndex; index--)
	    {
	      el = document.all[index]
	      animation = el.getAttribute(dynamicanimAttr, false)
	      if(null != animation)
	      {
	        if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord")
	        {
	          ih = el.innerHTML
	          outString = ""
	          i1 = 0
	          iend = ih.length
	          while(true)
	          {
	            i2 = startWord(ih, i1)
	            if(i2 == -1)
	              i2 = iend
	            outWord(ih, i1, i2, false, "")
	            if(i2 == iend)
	              break
	            i1 = i2
	            i2 = endWord(ih, i1)
	            if(i2 == -1)
	              i2 = iend
	            outWord(ih, i1, i2, true, animation)
	            if(i2 == iend)
	              break
	            i1 = i2
	          }
	          document.all[index].innerHTML = outString
	          document.all[index].style.posLeft = 0
	          document.all[index].setAttribute(dynamicanimAttr, null)
	        }
	        
	        if(animation == "zoomIn" || animation == "zoomOut")
	        {
	          ih = el.innerHTML
	          outString = "<SPAN " + dynamicanimAttr + "=\"" + animation + "\" style=\"position: relative; left: 10000;\">"
	          outString += ih
	          outString += "</SPAN>"
	          document.all[index].innerHTML = outString
	          document.all[index].style.posLeft = 0
	          document.all[index].setAttribute(dynamicanimAttr, null)
	        }
	      }
	    }
	    document.getElementById("img").width=86
  		 document.getElementById("img").height=27
	    i = 0
	    for (index=document.body.sourceIndex; index < document.all.length; index++)
	    {
	      el = document.all[index]
	      animation = el.getAttribute(dynamicanimAttr, false)
	      if (null != animation)
	      {
	        if(animation == "flyLeft")
	        {
	          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
	          el.style.posTop = 0
	        }
	        else if(animation == "flyRight")
	        {
	          el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
	          el.style.posTop = 0
	        }
	        else if(animation == "flyTop" || animation == "dropWord")
	        {
	          el.style.posLeft = 0
	          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
	        }
	        else if(animation == "flyBottom")
	        {
	          el.style.posLeft = 0
	          el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
	        }
	        else if(animation == "flyTopLeft")
	        {
	          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
	          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
	        }
	        else if(animation == "flyTopRight" || animation == "flyTopRightWord")
	        {
	          el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
	          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
	        }
	        else if(animation == "flyBottomLeft")
	        {
	          el.style.posLeft = 10000-(offsetLeft(el)+70) -el.offsetWidth
	      	 el.style.posTop = document.body.scrollTop-(offsetTop(el)-50)+600
	        }
	        else if(animation == "flyBottomRight" || animation == "flyBottomRightWord")
	        {
	          el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
	          el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
	        }
	        else if(animation == "spiral")
	        {
	          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
	          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
	        }
	        else if(animation == "zoomIn")
	        {
	          el.style.posLeft = 10000
	          el.style.posTop = 0
	        }
	        else if(animation == "zoomOut")
	        {
	          el.style.posLeft = 10000
	          el.style.posTop = 0
	        }
	        else
	        {
	          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
	          el.style.posTop = 0
	        }
	        el.initLeft = el.style.posLeft
	        el.initTop = el.style.posTop
	        animateElements[i++] = el
	      }
	    }
	    window.setTimeout("animate();", speed)
    }
  }
  
  function offsetLeft(el)
  {
    x = el.offsetLeft
    for (e = el.offsetParent; e; e = e.offsetParent)
      x += e.offsetLeft;
    return x
  } 
  
  function offsetTop(el)
  {
    y = el.offsetTop
    for (e = el.offsetParent; e; e = e.offsetParent)
      y += e.offsetTop;
    return y
  } 
  
  function startWord(ih, i)
  {
    for(tag = false; i < ih.length; i++)
    {
      c = ih.charAt(i)
      if(c == '<')
        tag = true
      if(!tag)
        return i
      if(c == '>')
        tag = false
    }
    return -1
  }
  
  function endWord(ih, i)
  {
    nonSpace = false
    space = false
    while(i < ih.length)
    {
      c = ih.charAt(i)
      if(c != ' ')
        nonSpace = true
      if(nonSpace && c == ' ')
        space = true
      if(c == '<')
        return i
      if(space && c != ' ')
        return i
      i++
    }
    return -1
  }
  
  function outWord(ih, i1, i2, dyn, anim)
  {
    if(dyn)
      outString += "<SPAN " + dynamicanimAttr + "=\"" + anim + "\" style=\"position: relative; left: 10000;\">"
    outString += ih.substring(i1, i2)
    if(dyn)
      outString += "</SPAN>"
  }
  
  function animate()
  {
    el = animateElements[currentElement]
    if(el != null)
    {
	    animation = el.getAttribute(dynamicanimAttr, false)
	    step++
	    if(animation == "spiral")
	    {
	      steps = stepsSpiral
	      v = step/steps
	      rf = 1.0 - v
	      t = v * 2.0*Math.PI
	      rx = Math.max(Math.abs(el.initLeft), 200)
	      ry = Math.max(Math.abs(el.initTop),  200)
	      el.style.posLeft = Math.ceil(-rf*Math.cos(t)*rx)
	      el.style.posTop  = Math.ceil(-rf*Math.sin(t)*ry)
	    }
	    else if(animation == "zoomIn")
	    {
	      steps = stepsZoom
	      el.style.fontSize = Math.ceil(50+50*step/steps) + "%"
	      el.style.posLeft = 0
	    }
	    else if(animation == "zoomOut")
	    {
	      steps = stepsZoom
	      el.style.fontSize = Math.ceil(100+200*(steps-step)/steps) + "%"
	      el.style.posLeft = 0
	    }
	    
	    else
	    {
	      steps = stepsFly
	      if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord")
	         steps = stepsWord
		      dl = el.initLeft / steps
		      dt = el.initTop  / steps
		      el.style.posLeft = el.style.posLeft - dl
		      el.style.posTop = el.style.posTop - dt
		      el.style.height = Math.ceil(50+50*step/steps) + "%"
	    }
	    if (step >= steps) 
	    {
	      el.style.posLeft = 0
	      el.style.posTop = 0
	      currentElement++
	      step = 0
	    }
	    
	    if(currentElement < animateElements.length)
	    	zoom();
	      window.setTimeout("animate();", speed)
		}
  }
//-->

