var min=8;
var max=15;
 
function increaseFontSize() {
 var p = document.getElementsByTagName('body');
 var t = 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 = 11;
  }
  if(s!=max) {
    s += 1;
  }
  p[i].style.fontSize = s+"px"
  for (j=0;j<t.length;j++)
   t[j].style.fontSize = s+"px"
 }
}   function decreaseFontSize() {
 var p = document.getElementsByTagName('body');
 var t = 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 = 11;
  } if(s!=min) {
     s -= 1;
  }
  p[i].style.fontSize = s+"px"
  for (j=0;j<t.length;j++)
   t[j].style.fontSize = s+"px"    }
}
