function fff(parent) {
  if (navigator.userAgent.match(/Firefox/)) {
    var cont = (!parent) ? document.getElementById('cont') : parent;

    if (cont.hasChildNodes()) {
      var obj = cont.childNodes;
      for (var i=0, len=obj.length; i<len; i++) {
        try {
          var fsize = Number(parseInt(getStyle(obj[i],'font-size')));
          obj[i].style.fontSize = Number(fsize*0.85)+'px';
        } catch(e) {}
        if (obj[i].hasChildNodes()) {
          fff(obj[i]);
        }
      }
    }
  }
}

function camelize(s) {
  var oStringList = s.split('-');
  if (oStringList.length == 1) return oStringList[0];

  var camelizedString = s.indexOf('-') == 0
    ? oStringList[0].charAt(0).toUpperCase() + oStringList[0].substring(1)
    : oStringList[0];

  for (var i = 1, len = oStringList.length; i < len; i++) {
    var s = oStringList[i];
    camelizedString += s.charAt(0).toUpperCase() + s.substring(1);
  }
  return camelizedString;
}

function getStyle(node,style) {
  var value = node.style[camelize(style)];
  if (!value) {
    if (document.defaultView && document.defaultView.getComputedStyle) {
      var css = document.defaultView.getComputedStyle(node, null);
      value = css ? css.getPropertyValue(style) : null;
    } else if (node.currentStyle) {
      value = node.currentStyle[camelize(style)];
    }
  }
  return value == 'auto' ? null : value;
}