function fixH2(h2) {
  BWIDTH = 536-15;
  offset = h2.innerHTML.length*9-BWIDTH;
  h2.style.backgroundPosition = ""+offset+"px 0";
}
function fixH2InContent(div) {
  var h2s = div.getElementsByTagName("h2");
  for (var i=0;i<h2s.length;i++) fixH2(h2s[i]);
}

