function socializ(u,t,q) {

	var m1 = 150; /* расстояние от начала страницы до плавающей панели */
	var m2 = 150; /* расстояние от верха видимой области страницы до плавающей панели */
	var f = '/wp-content/plugins/socializ-floating-panel/i/'; /* путь к папке с изображениями кнопок */

	document.write('<div id="socializ"></div>');
	var s = $('#socializ');
	s.css({top: m1});
	function margin() {
		var top = $(window).scrollTop();
		if (top+m2 < m1) {
			s.css({top: m1-top});
		} else {
			s.css({top: m2});
		}
	}
	$(window).scroll(function() { margin(); })

	s.append(
		'<a href="http://twitter.com/home?status=RT @Shapranov ' + t + ' ' + u + '" title="Поделиться в Twitter" target="_blank"><img src="' + f + 'twitter.png" alt="" /></a>' +
		'<a href="http://www.facebook.com/sharer.php?u=' + u + '" title="Поделиться на Facebook" target="_blank"><img src="' + f + 'facebook.png" alt="" /></a>' +		
		'<a href="http://vkontakte.ru/share.php?url=' + u + '" title="Поделиться в Контакте" target="_blank"><img src="' + f + 'vkontakte.png" alt="" /></a>' +
		'<a href="http://www.odnoklassniki.ru/dk?st.cmd=addShare&st._surl=' + q + '&title=' + t + '" title="Поделиться в Одноклассниках" target="_blank"><img src="http://blog.bloggers.su/odnoklassniki.png" width="32" height="32" alt="" /></a>' +
		'<a href="http://my.ya.ru/posts_add_link.xml?title=' + t + '&URL=' + u + '" title="Поделиться на Яндексе" target="_blank"><img src="' + f + 'yandex.png" alt="" /></a>' +
		'<a href="http://connect.mail.ru/share?share_url=' + u + '" title="Поделиться в Моем Мире" target="_blank"><img src="' + f + 'moy-mir.png" alt="" /></a>' +
		'<a href="http://www.livejournal.com/update.bml?event=' + u + '&subject=' + t + '" title="Поделиться в Живом Журнале" target="_blank"><img src="' + f + 'livejournal.png" alt="" /></a>' +
	'');

	s.find('a').css({opacity: 0.7}).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.7}); }
	);

}
