window.fbAsyncInit=function(){FB.init({appId:'115529881875622',status:true,cookie:true,xfbml:true}); };
(function() {scrpt_gen(document.location.protocol +'//connect.facebook.net/ru_RU/all.js','fb-root');}());
function fb_check() {if (window.FB) {
FB.Event.subscribe('comment.create', function(response) {a=scrpt_gen("/mail.js?i=fbcomm&u="+nwlh+"&t=Добавлен комментарий fb: ",'fb-root');});
FB.Event.subscribe('comment.remove', function(response) {a=scrpt_gen("/mail.js?i=fbcomm&u="+nwlh+"&t=Удален комментарий fb: ",'fb-root');});
FB.Event.subscribe('edge.create', function(response) {a=scrpt_gen("/mail.js?i=fblike&u="+response+"&t=Нажат Like fb: ",'fb-root');});
if (window.intervalID) {clearInterval(intervalID)} return true;} else return false;}
var wlh=window.location.href+'?'; var nwlh = wlh.indexOf('#')>=0 ? wlh.substring(0,wlh.indexOf('#')) : wlh.substring(0,wlh.indexOf('?'));
var ha=document.body.getElementsByTagName("H1"); var htxt = !ha[0] ? document.title.substring(0,80) : ha[0].innerHTML.substring(0,80);
if (!fb_check()) {var intervalID = setInterval(fb_check,500)};
document.write('<fb:like href="'+nwlh+'" send="false" width="550" show_faces="false"></fb:like><hr class="light">');
document.write('<table width="100%" border="0"><tr><td width="505"><fb:comments href="'+nwlh+'" num_posts="8" width="500"></fb:comments></td>')
document.write('<td align="center" valign="top"><span class="smaller">Поделись!<br><br></span>');
document.write('<a rel="nofollow" target="_blank" class="spell" href="http://twitter.com/home?status=');
document.write(encodeURIComponent('От @door_STAL : '+htxt+'... Детали: ')+nwlh);
document.write('" title="Добавить в Twitter"><img src="/design/ico/snw_t.gif" alt="Опубликовать в twitter" width="28" height="28" border="0"></a>&nbsp;');
document.write('<a rel="nofollow" target="_blank" class="spell" href="http://vkontakte.ru/share.php?url='+nwlh+'"><img src="/design/ico/snw_vc.gif" width="28" height="28" title="Рассказать во ВКонтакте" border="0"></a>&nbsp;');
document.write('<a rel="nofollow" target="_blank" class="spell" href="http://www.livejournal.com/update.bml?event='+nwlh+'&subject=');
document.write(encodeURIComponent('Компания СТАЛ: '+htxt+'...'));
document.write('"><img src="/design/ico/snw_lj.gif" title="Записать в livejournal" width="28" height="28" border="0"></a>&nbsp;');
document.write('</td></tr></table>');
