$(function(){jQuery(document).ready(function(){jQuery("#avatar1").html(_userdata["avatar"])});jQuery(document).ready(function(){jQuery("#avatar2").html(_userdata["avatar"])});$(function($){$li=$('.nav .Acm-tv').parent();$li.hover(function(){$(this).find('.Acm-tv').stop(false,true).slideDown(210)},function(){$(this).find('.Acm-tv').stop(false,true).slideUp(290)})});$(document).ready(function(){$("a#fa_notifications").click(function(){$("#notif_list").slideToggle("200")})});$(document).ready(function(){$("button.navbar-toggle").click(function(){$(".collapse").slideToggle("200")})});$(function($){$span=$('.subLink').parent();$span.hover(function(){$(this).find('.subLink').stop(false,true).slideDown(220)},function(){$(this).find('.subLink').stop(false,true).slideUp(90)})});$('a#fa_notifications').before('
');function treatvar(nom){var trouve=xhr.responseText.replace(RegExp("^.+{"+nom+"}<\/strong> : (.*?) \(.*?\)<\/span>
<\/li>.+$"),'$1');if(xhr.responseText==trouve)return;var children=document.getElementsByTagName('*')||document.all;var v=new Array();var i=-1;while(++i')});function $FA_selectCode(a){var e=a.parentNode.parentNode.getElementsByTagName('CODE')[0],s,r;if(window.getSelection){s=window.getSelection();if(s.setBaseAndExtent)s.setBaseAndExtent(e,0,e,e.innerText.length-1);else{if(window.opera&&e.innerHTML.substring(e.innerHTML.length-4)=='
')e.innerHTML=e.innerHTML+' ';r=document.createRange();r.setStart(e.firstChild,0);r.setEnd(e,e.childNodes.length);s.removeAllRanges();s.addRange(r)}}else if(document.getSelection){s=document.getSelection();r=document.createRange();r.selectNodeContents(e);s.removeAllRanges();s.addRange(r)}else if(document.selection){r=document.body.createTextRange();r.moveToElementText(e);r.select()}}$(function(){$('.codebox dt').not(".spoiler > dt, .hidecode dt").html('Code: Chọn tất cả')});$(function(){if(!$.sceditor)return;toolbar=toolbar.replace(/source/,'maximize|source');toolbar=toolbar.replace(/link/,'link,unlink');$(function(){var sce=$('#text_editor_textarea').sceditor('instance'),fa=document.getElementById('fa_toolbars');$('.sceditor-button-maximize')[0].onclick=function(){if(!fa)return;sce.maximize()&&(fa.style.display='none');!sce.maximize()&&(fa.style.display='')}})});(function($){'use strict';$.sceditor.locale["vi"]={"Bold":"Chữ in đậm","Italic":"Chữ in nghiêng","Underline":"Chữ gạch chân","Strikethrough":"Chữ gạch ngang","Align left":"Căn trái","Center":"Căn giữa","Align right":"Căn phải","Justify":"Căn đều","Bullet list":"Tạo danh sách có dấu đầu đòng","Numbered list":"Tạo danh sách đánh số","Insert a horizontal rule":"Tạo dòng kẻ cách ngăn","Insert a Quote":"Trích dẫn","Code":"Code","Spoiler":"Đặt nội dung vào giữa thẻ spoiler, Ví dụ [spoiler=Tiêu đề]Nội dung[/spoiler]","Hidden":"Ẩn nội dung phải trả lời bài mới thấy được, Ví dụ [hide]Nội dung muốn ẩn[/hide]","Insert a table":"Thêm bảng","Host an image":"Up ảnh","Insert an image":"Chèn ảnh từ url","Insert an email":"Chèn mail","Insert a link":"Chèn link","Unlink":"Gỡ bỏ link","Insert a YouTube video":"Chèn video từ Youtube","Insert a Dailymotion Video":"Chèn video từ Dailymotion","Flash":"Chèn Flash","Format Headers":"Thẻ tiêu đề","Font Size":"Kích cỡ phông chữ","Font Color":"Màu chữ","Font Name":"Phông chữ","Remove Formatting":"Xóa định dạng","Subscript":"Thêm số mũ dưới chân","Superscript":"Thêm số mũ trên đầu","Horizontal scrolling":"Làm nội dung chạy từ phải qua trái","Vertical scrolling":"Hiệu làm nội dung chạy từ dưới lên trên","Random":"Chọn ngẫu nhiên","Dices roll":"Dices roll","Insert an emoticon":"Biểu tượng","Insert current date":"Ngày hiện tại","Insert current time":"Thời gian hiện tại","Paste Text":"Insert unformatted text","Switch Editor Mode":"Sử dụng BBcode Editor","color_dark_red":"Đỏ sẫm","color_red":"Đỏ","color_orange":"Cam","color_brown":"Nâu","color_yellow":"Vàng","color_green":"Xanh lá cây","color_olive":"Xanh oliu","color_cyan":"Màu lục lam","color_blue":"Xanh","color_dark_blue":"Xanh đen","color_indigo":"Chàm","color_violet":"Tím","color_grey":"Grey","color_white":"Trắng","color_black":"Đen","More":"Xem thêm","Insert":"Chèn","URL:":"URL","Invalid YouTube video":"Url không hợp lệ","Author (optional)":"Nguồn trích (Vd: Tên tác giả...)","Title (optional)":"Tiêu đề (Vd: Click để xem)","Cols:":"Số hàng","Rows:":"Số cột","Width (optional):":"Rộng (Có thể để trống)","Height (optional):":"Cao (Có thể để trống)","Description (optional):":"Mô tả (Văn bản)","Paste your text inside the following box:":"Dán văn bản của bạn trong ô này","Border":"Độ rộng của viền","dateFormat":"day.month.year"}})(jQuery);