
document.observe('dom:loaded', function() {

	if (document.location.pathname.match(/^\/k.+(news\/view)/)) {

		var links = $('article_content').down('.newsitem').next();

		SHARETHIS.addEntry({
			'title': 'share',
			'summary': 'Sharing is good for the soul.'
		}, {
			'button': false
		}).attachButton(links.appendChild(new Element('a', {'class': 'socialbutton'})).update(socialButtons.shareText));

		links.appendChild(new Element('a', {
			'href': 'mailto:?body=' + document.location.href + '&subject=' + document.title.replace('\u00BB', '-'),
			'class': 'socialbutton'
		})).update(socialButtons.sendText);
	}
});