	var min = 8;
	var max = 18;
	
	function increaseFontSize() {
		increaseFontSizeForTag('div');
		increaseFontSizeForTag('p');
		increaseFontSizeForTag('a');
	}
	
	function increaseFontSizeForTag( tagName ) {
	   var p = document.getElementsByTagName(tagName);
	   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() {
		decreaseFontSizeForTag('div');
		decreaseFontSizeForTag('p');
		decreaseFontSizeForTag('a');
	}
	
	function decreaseFontSizeForTag( tagName ) {
	   var p = document.getElementsByTagName(tagName);
	   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";
	   }   
	}
