socializ('http://e-chainik.ru','echainik');
function socializ(u,t) {

	var f = '/images/i/'; /* путь к папке с изображениями кнопок */

	document.write('<div id="socializ"></div>');
	var s = $('#socializ');

	s.append(
		'<table><tr><td><a href="http://twitter.com/home?status=RT @e-chainik.ru ' + t + ' - ' + u + '" title="Добавить в Twitter" rel="nofollow"><img src="' + f + 'twitter.png" alt="" /></a>' +
		'<a href="http://www.facebook.com/sharer.php?u=' + u + '" title="Поделиться в Facebook" rel="nofollow"><img src="' + f + 'facebook.png" alt="" /></a>' +
		'<a href="http://vkontakte.ru/share.php?url=' + u + '" title="Поделиться ВКонтакте" rel="nofollow"><img src="' + f + 'vkontakte.png" alt="" /></a>' +
		'<a href="http://connect.mail.ru/share?share_url=' + u + '" title="Поделиться в Моем Мире" rel="nofolow"><img src="' + f + 'moy-mir.png" alt="" /></a>' +
		'<a href="http://www.livejournal.com/update.bml?event=' + u + '&subject=' + t + '" title="Опубликовать в своем блоге livejournal.com" rel="nofollow"><img src="' + f + 'livejournal.png" alt="" /></a>' +
		'<a href="http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=' + u + '&title=' + t + '" title="Сохранить закладку в Google" rel="nofollow"><img src="' + f + 'google.png" alt="" /></a>' +
        '<a href="http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st._surl=' + u + '" title="Поделиться в Одноклассниках" rel="nofollow"><img src="' + f + 'odnoklassniki.png" alt="" /></a></td><td width=85px><a href="http://ebaytoday.ru/?puebtdid=24046" target="_blank"><img src="' + f + '2.gif" alt="" /></a></td></tr></table>'
	);

	s.find('a').attr({target: '_blank'}).css({opacity: 0.5}).hover(
		function() { $(this).css({opacity: 1}); },
		function() { $(this).css({opacity: 0.7}); }
	);
	s.hover(
		function() { $(this).find('a').css({opacity: 0.7}); },
		function() { $(this).find('a').css({opacity: 0.5}); }
	);

}
