function SendUserQuestion() {
	JsHttpRequest.query('/ajax', {  'm': 'users->AddQuestion',
        							'module': 'user_expert',
        							'module_id': _userid,
        							'question': $('question').value
        						},
    	function(result, errors) {
			if (result) {
				$('pp2o_check').style.display = 'block';
				if(result['error']) {
					$('pp2o_check').className = 'nf_error';
					$('pp2o_check_text').style.backgroundColor = '#ffffff';
					$('pp2o_check_text').className = 'nf_error_text';
					$('pp2o_check_text').innerHTML = '<span><b>Ошибки:</b></span> <ul style="margin:5px; 0 0 0;"><li>' + result['error'] + '</li></ul>';
					new Effect.Highlight('pp2o_check_text',{duration:1, startcolor:'#ffffff', endcolor:'#F79892'});
					$('pp2o_check_text').style.backgroundColor = '#F79892';
				} else {
                	$('pp2o_check').className = 'nf_ok';
                	$('pp2o_check_text').className = 'nf_ok_text';
                	$('pp2o_check_text').style.backgroundColor = '#ffffff';
                	$('pp2o_check_text').innerHTML = result['ok'];
                	new Effect.Highlight('pp2o_check_text',{duration:1, startcolor:'#ffffff', endcolor:'#CBE8A6'});
                	$('pp2o_check_text').style.backgroundColor = '#CBE8A6';
				}
			}
		},
		true // true - не кешируется
	);
}
function SendUserQuestionNA() {
	JsHttpRequest.query('/ajax', {  'm': 'users->AddQuestion',
        							'module': 'user_expert',
        							'module_id': _userid,
        							'question': $('question').value,
        							'user_name': $('user_name').value,
        							'user_email': $('user_email').value
        						},
    	function(result, errors) {
			if (result) {
				$('pp2o_check').style.display = 'block';
				if(result['error']) {
					$('pp2o_check').className = 'nf_error';
					$('pp2o_check_text').style.backgroundColor = '#ffffff';
					$('pp2o_check_text').className = 'nf_error_text';
					$('pp2o_check_text').innerHTML = '<span><b>Ошибки:</b></span> <ul style="margin:5px; 0 0 0;"><li>' + result['error'] + '</li></ul>';
					new Effect.Highlight('pp2o_check_text',{duration:1, startcolor:'#ffffff', endcolor:'#F79892'});
					$('pp2o_check_text').style.backgroundColor = '#F79892';
				} else {
                	$('pp2o_check').className = 'nf_ok';
                	$('pp2o_check_text').className = 'nf_ok_text';
                	$('pp2o_check_text').style.backgroundColor = '#ffffff';
                	$('pp2o_check_text').innerHTML = result['ok'];
                	new Effect.Highlight('pp2o_check_text',{duration:1, startcolor:'#ffffff', endcolor:'#CBE8A6'});
                	$('pp2o_check_text').style.backgroundColor = '#CBE8A6';
				}
			}
		},
		true // true - не кешируется
	);
}
