var min=10;
var max=18;
function vergrootFontSize() {
  var p = document.getElementsByTagName('p');
  for(i=0;i<p.length;i++) {
    if(p[i].style.fontSize) {
      var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=max) {
         s += 2;
      }
      p[i].style.fontSize = s+"px"
   }
   
   
   
  var strong = document.getElementsByTagName('strong');
  for(i=0;i<strong.length;i++) {
    if(strong[i].style.fontSize) {
      var s = parseInt(strong[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=max) {
         s += 2;
      }
      strong[i].style.fontSize = s+"px"
   }
   
   var span = document.getElementsByTagName('span');
  for(i=0;i<span.length;i++) {
    if(span[i].style.fontSize) {
      var s = parseInt(span[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=max) {
         s += 2;
      }
     span[i].style.fontSize = s+"px"
   }
}




function verkleinFontSize() {
   var p = document.getElementsByTagName('p');
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=min) {
         s -= 2;
      }
      p[i].style.fontSize = s+"px"
   }   
   
    var strong = document.getElementsByTagName('strong');
   for(i=0;i<strong.length;i++) {
      if(strong[i].style.fontSize) {
         var s = parseInt(strong[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=min) {
         s -= 2;
      }
      strong[i].style.fontSize = s+"px"
   }   
   
   
   
    var span = document.getElementsByTagName('span');
   for(i=0;i<span.length;i++) {
      if(span[i].style.fontSize) {
         var s = parseInt(span[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=min) {
         s -= 2;
      }
      span[i].style.fontSize = s+"px"
   }   
} 