var min=14;
var max=17;
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 = min;
      }
      if(s!=max) {
         s += 1;
      }
      p[i].style.fontSize = s+"px"
   }
   
    var ul = document.getElementsByTagName('li');
   for(y=0;y<ul.length;y++) {
      if(ul[y].style.fontSize) {
         var t = parseInt(ul[y].style.fontSize.replace("px",""));
      } else {
         var t = min;
      }
      if(t!=max) {
         t += 1;
      }
      ul[y].style.fontSize = t+"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 = min;
      }
      if(s!=min) {
         s -= 1;
      }
      p[i].style.fontSize = s+"px"
   }
   
  var ul = document.getElementsByTagName('li');
   for(y=0;y<ul.length;y++) {
      if(ul[i].style.fontSize) {
         var t = parseInt(ul[y].style.fontSize.replace("px",""));
      } else {
         var t = min;
      }
      if(t!=min) {
         t -= 1;
      }
      ul[y].style.fontSize = t+"px"
   }
}
