function Bookmarks(){
	var backimg = 'http://zakruti.com/img/zakl.gif';
	var title=encodeURIComponent(document.title);
	var url=encodeURIComponent(location.href);
	var html='';
	var bookmarks = new Array();
	/*url, title, width, height, b1, b2*/
	/*bookmarks[0] = new Array('http://twitter.com/home/?status='+title+' '+url, '��������� � �������', 108, 20 , 24, 0);*/
	bookmarks[0] = new Array('http://vkontakte.ru/share.php?url='+url+'', '��������� ���������', 80, 22, 0, 98);
	bookmarks[1] = new Array('http://connect.mail.ru/share?share_url='+url+'', '��������� � �������� � ���� ����', 90, 22, 24, 47);
	bookmarks[2] = new Array('http://www.google.com/buzz/post', '� ����� �����', 60, 22, 92, 74);
	bookmarks[3] = new Array('http://www.facebook.com/sharer.php?u='+url+'&t='+title+'&src=sp', '������������ � Facebook', 54, 22, 24, 22);
	bookmarks[4] = new Array('http://api.tweetmeme.com/share?url='+url+'&service=bit.ly&source=argumenti', '�������� � �������', 54, 22, 84, 98);
	bookmarks[5] = new Array('http://www.livejournal.com/update.bml?subject='+title+'&event='+url, '�������� � ����� ������', 18, 22, 106, 23);
	bookmarks[6] = new Array('http://www.liveinternet.ru/journal_post.php?action=n_add&cnurl='+url+'&cntitle='+title, '�������� � LiveInternet', 18, 22, 82, 23);
	bookmarks[7] = new Array('http://smi2.ru/add/?url='+url+'&precaption='+title, '������������ � ���2', 23, 22, 28, 73);	        	bookmarks[8] = new Array('http://bobrdobr.ru/addext.html?url='+url+'&title='+title, '��������', 20, 22, 48, 74);	
	
	
	var length = bookmarks.length;
	
	for (i=0; i < length; i++) {
		html += '<a target="_blank" href="'+bookmarks[i][0]+'"><img src="http://zakruti.com/img/zerro.gif" width="'+bookmarks[i][2]+'" height="'+bookmarks[i][3]+'" alt="" title="'+bookmarks[i][1]+'" style="border:0;padding:0;margin:0 4px 0 0;background:url('+backimg+') no-repeat -'+bookmarks[i][4]+'px -'+bookmarks[i][5]+'px"/></a>';
	}
	
	document.getElementById('bookmarks').innerHTML = html;
	
	
}
Bookmarks();