function incRec(n) { if (n.nodeType == 1) {  if (n.currentStyle) { fs=n.currentStyle["fontSize"]; } else { var style = window.getComputedStyle(n, null); fs = style.getPropertyValue("font-size"); } if (fs) { var sub = fs.indexOf('p'); var px=fs.substring(0,sub); var val=px-0; if (val>=fr_max_size) { n.style.fontSize=val+"px"; } else { var inc=val+fr_increment; n.style.fontSize=inc+"px"; } } var children = n.childNodes; for(var i=0; i < children.length; i++) {incRec(children[i]);} } } function decRec(n) { if (n.nodeType == 1) {  if (n.currentStyle) { fs=n.currentStyle["fontSize"]; }  else  { var style = window.getComputedStyle(n, null);  fs = style.getPropertyValue("font-size"); } if (fs) { var sub = fs.indexOf('p');  var px=fs.substring(0,sub);  var val=px-0; if (val<=fr_min_size) {  n.style.fontSize=val+"px"; } else { var inc=val-fr_increment; n.style.fontSize=inc+"px"; } } var children = n.childNodes; for(var i=0; i < children.length; i++) {	decRec(children[i]); } } }   
function Increment() { var nodo = document.getElementById(fr_id); incRec(nodo); } function Decrement() { var nodo = document.getElementById(fr_id); decRec(nodo); } 

