  var min=12;
  var max=16;
  function increaseFontSize() {
     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 t = document.getElementsByTagName('td');
     for(i=0;i<t.length;i++) {
        if(t[i].style.fontSize) {
           var r = parseInt(t[i].style.fontSize.replace("px",""));
        } else {
           var r = 12;
        }
        if(r!=max) {
           r += 2;
        }
        t[i].style.fontSize = r+"px"
     }
  }
  function decreaseFontSize() {
     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 p = document.getElementsByTagName('td');
     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"
     }   

  }
