window.onload = DMLLoad;

function DMLLoad() {
  objecten = document.all;
  for (i=0;i<objecten.length;i++) 
    if (formaat = objecten[i].getAttribute("formaat")) {
      if (isNaN(parseInt(formaat)))
        formaat = parseInt(formaat.substr(0,formaat.length-1));
      else
        formaat = parseInt(formaat);
      formaat = formaat / 100;
      objecten[i].style.width = Math.round(objecten[i].width * formaat,0); 
    }
} 
