//function fsize(size,unit,id){//  var vfontsize = document.getElementById(id);//  if(vfontsize){//   vfontsize.style.fontSize = size + unit;//  }//}

//var textsize = 100%;//function changetextsize(up){//  if(up){//   textsize = parseFloat(textsize)+2;//  }else{//   textsize =parseFloat(textsize)-2;//  }//}

var min=8;var max=18;function increaseFontSize() {   var p = document.getElementsByTagName('div');   for(i=0;i<p.length;i++) {      if(p[i].style.fontSize) {         var s = parseInt(p[i].style.fontSize.replace("em",""));      } else {         var s = 12;      }      if(s!=max) {         s += 1;      }      p[i].style.fontSize = s+"px"   }}function decreaseFontSize() {   var p = document.getElementsByTagName('div');   for(i=0;i<p.length;i++) {      if(p[i].style.fontSize) {         var s = parseInt(p[i].style.fontSize.replace("em",""));      } else {         var s = 12;      }      if(s!=min) {         s -= 1;      }      p[i].style.fontSize = s+"px"   }   }
