(function() {
	var style = document.createElement('link');
	style.type = 'text/css';
	style.rel = 'stylesheet';
	style.href = 'http://www.emu-shop.com/share/style.css';
	style.media = 'screen';
    var s = document.getElementsByTagName('link')[0];
	s.parentNode.insertBefore(style, s);
	
	var desc = encodeURIComponent('Pure Emu Oil: Natural Arthritis Pain Relief, Eczema, Psoriasis & more...');
	if($('meta[name="description"]').attr("content").length) {
		desc = encodeURIComponent($('meta[name="description"]').attr("content"));
	}
	
	var share = document.createElement('div');
	var html = '<div class="text"></div><a href="http://www.linkedin.com/shareArticle?mini=true&url=' + encodeURIComponent(window.location.href) + '&title=' + encodeURIComponent(document.title) + '&summary=' + desc + '" target="_blank" rel="nofollow"><div class="smallButton linkedin"></div></a><a href="http://www.facebook.com/share.php?t=' + encodeURIComponent(document.title) + '&u=' + encodeURIComponent(window.location.href) + '" target="_blank" rel="nofollow"><div class="smallButton facebook"></div></a><a href="http://twitter.com/home?status=' + encodeURIComponent(document.title) + '+-+' + encodeURIComponent(window.location.href) + '" target="_blank" rel="nofollow"><div class="smallButton twitter"></div></a><div style="clear:both;"></div><a href="https://twitter.com/QuantumHealthAU" target="_blank" rel="nofollow"><div class="Button twitter"></div></a><a href="http://www.facebook.com/pages/Quantum-Health/125379064232926" target="_blank" rel="nofollow"><div class="Button facebook"></div></a><a href=javascript:void(0);" rel="nofollow"><div class="Button google"></div><div id="googlePlusWrap"><div class="g-plusone" data-annotation="none" data-size="tall"></div></div></a>';
	share.id='shareUs';
	share.innerHTML = html;
	var arr = document.body.childNodes;
	document.body.insertBefore(share, arr[arr.length-1]);
	
	var po = document.createElement('script');
	po.type = 'text/javascript';
	po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0];
	s.parentNode.insertBefore(po, s);
})();
