function AddFavorites(id) {
	$.get('/system/php/service.php', {f: 'addfav', id: id}, function(data) {
		m = data.split(":");
		if (m[0] == 'error') {
			alert(m[1]);
//			window.open('/private/reg.phtml','namewin','0, 0, yes, yes, yes, yes, yes, yes, yes, '+window.width+', '+window.height);
		} else {
			alert("Страница добалена в закладки.");
		}
	});
}
function addComment(num, last_comment, date, sign){
/*	$.ajax({
		type: 'POST',
		url: url,
		data: { text: last_comment, name: "Vkontakte", f:"comment_add", id:$('#comments input[name="id"]').val(), parent: 0, is_vkontakte:1}
	});*/
}

