﻿	var min=65;
	var standard=75;
	var max=85;
function increaseFontSize() {
   var p = document.getElementsByTagName('body');
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("%",""));
      } else {
         var s = 75;
      }
      if(s!=max) {
         s += 10;
      }
      p[i].style.fontSize = s+"%"
   }
}

function resetFontSize() {
         var p = document.getElementsByTagName('body');
         for(i=0;i<p.length;i++) {
            if(p[i].style.fontSize) {
               var s = parseInt(p[i].style.fontSize.replace("%",""));
            } else {
               var s = 75;
            }
            p[i].style.fontSize = standard+"%";
         }
}

function decreaseFontSize() {
   var p = document.getElementsByTagName('body');
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("%",""));
      } else {
         var s = 75;
      }
      if(s!=min) {
         s -= 10;
      }
      p[i].style.fontSize = s+"%"
   }   
}