var min=9;
var max=16;
function increaseFontSize(e) {
   var p = document.getElementsByTagName(e);
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=max) {
         s += 1;
      }
      p[i].style.fontSize = s+"px"
   }
}
function decreaseFontSize(e) {
   var p = document.getElementsByTagName(e);
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=min) {
         s -= 1;
      }
      p[i].style.fontSize = s+"px"
   }
}
function chst(i) {
	var id = document.getElementById(i);
	if(id.href = 'style.css') {
		id.href = 'contrast.css';
	}
	else {
		id.href = 'style.css';
	}
}
