// embed Twitter components (avoids xhtml validation issues)
c = document.getElementById('twbut');
if (c !== null) {
    e = document.createElement('a');
    e.setAttribute('href', 'http://twitter.com/share');
    e.setAttribute('class', 'twitter-share-button');
    e.setAttribute('data-count', 'horizontal');
    c.appendChild(e);
}

