
function UserFavorite(id) {
	$.post('ajax.php', {mode: "add_favorite",id: id}, UserFavorite_result);
}

function UserFavorite_result(result) {
	if (result == 'logon') {
		redirect('logon/');
	} else {
		show_message(result);
	}
}

function UserReport(id) {

}