function addCorners() {
  var h = document.getElementById('main-content');
  h = h.getElementsByTagName('h2');
  if(!h) return;
  for(var i=0;i<h.length;i++)
  {
    if(h[i].className.indexOf('add-corner') != -1)
    {
      var sp = document.createElement('span');
      sp.className = 'title';
      sp.appendChild(document.createTextNode(h[i].innerHTML));
      var sp_a = document.createElement('span');
      sp_a.className = 'corner-after';
      h[i].removeChild(h[i].firstChild);
      h[i].appendChild(sp);
      h[i].appendChild(sp_a);
    }
  }
}

if (isJsEnabled())
  addLoadEvent(addCorners);
