var min=8;
var max=22;

function bigger(p){
	if(p.style.fontSize) {
	    var s = parseInt(p.style.fontSize.replace("px",""));
	} else {
	    var s = 14;
	}
	if(s!=max) {
	    s += 1;
	}
	p.style.fontSize = s+"px";
}

function increaseFontSize() {
	var p = document.getElementById('info');
	bigger(p);	
	var p = document.getElementsByTagName('table');
	for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 14;
      }
      if(s!=max) {
         s += 1;
      }
      p[i].style.fontSize = s+"px"
	}
	
}
function decreaseFontSize() {
    var p = document.getElementById('info');	
	if(p.style.fontSize) {
	    var s = parseInt(p.style.fontSize.replace("px",""));
	} else {
	    var s = 14;
	}
	if(s!=min) {
	    s -= 1;
	}
	p.style.fontSize = s+"px";  
	var p = document.getElementsByTagName('table');
	for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 14;
      }
      if(s!=min) {
         s -= 1;
      }
      p[i].style.fontSize = s+"px"
   } 
}
