function big_dispatches_subscribe(v_form, i_auth) {
	$('#disp-comment').html("");

	$("#gizmo\\.dispatches").append("<div class=\"vrl\"></div>");
	$("#gizmo\\.dispatches .vrl").fadeTo('fast', 0.66);

	lLt.getInstance().ajaxForm(v_form, "big_onDispatchesSubscribe", (""+i_auth));
}
function big_onDispatchesSubscribe(the_responce, s_status, s_auth) {
	if (s_status == 'success') {
		if (parseInt(s_auth)) {
			$('#disp-comment').css('margin', "8px 0px");
			$('#disp-comment').html("Параметры подписки успешно изменены");
		} else {
			var doc = the_responce.responseXML;
			var arr_result = doc.getElementsByTagName('result');
			var arr_unsubscribe_link = doc.getElementsByTagName('unsubscribe_link');
			if (arr_result.length) {
				$('#disp-comment').html(arr_result[0].childNodes[0].nodeValue);
			} else if (arr_unsubscribe_link.length) {
				$('#disp-comment').html("Этот адрес уже подписан, для того, чтобы отписаться, можно <a href=\"" + (arr_unsubscribe_link[0].childNodes[0].nodeValue) + "\">перейти по ссылке</a>.");
			}
		}
	} else {
		if (parseInt(s_auth)) {
			$('#disp-comment').css('margin', "8px 0px");
			$('#disp-comment').html("Невозможно изменить параметры подписки: ошибка связи с сервером (" + s_status + ")");
		} else {
			$('#disp-comment').html("Подписка не произведена: ошибка связи с сервером (" + s_status + ")");
		}
	}
	$("#gizmo\\.dispatches .vrl").remove();
}
