$(function(){$('
').insertBefore('#text_editor_textarea');$("img.i_icon_quote").click(function(){$("#text_edit").show();$("#html_edit").hide();$('#text_editor_textarea, #text_editor_iframe').remove();var ttytu=$(this).parent().attr("href");var xhets=ttytu+' '+'#text_editor_textarea';$("#baxambalap").load(xhets);$(this).parent().attr("href","#quickreply");$('#text_editor_textarea:gt(0)').remove()});}); var CopyrightNoticeEn = 'Copyright © by FmVi. All Rights Reserved. Use, modification, and/or distribution of this script is not allowed without direct permission from baivong (gialangsangai2000@yahoo.com). This entire copyright notice must remain in the original, copied, or modified script'; var CopyrightNoticeVi = 'Bản quyền © FmVi. Giữ toàn quyền. Việc sử dụng, sửa đổi , và / hoặc phân phối mã này mà không được phép trực tiếp từ baivong (gialangsangai2000@yahoo.com) là không được phép. Toàn bộ thông báo bản quyền này phải được giữ nguyên khi sao chép, hoặc sửa đổi'; $(function () { $(".postbody").find("div:first").each(function () { if ($(this).height() >= 350) { $(this).after('

Xem toàn bộThu gọnTắt chức năng thu gọnBật chức năng thu gọn

'); $(this).addClass("baivietdai"); $(".baivietdai").height(315); } }); if (my_getcookie("thugonbaiviet") == "yes") { $(".fullOn, .viewhide").show(); $(".fullOff, .viewfull").hide(); $(".baivietdai").height("100%"); } $(".viewfull").click(function () { $(this).parent().prev().height("100%"); $(this).hide().next().show(); }); $(".viewhide").click(function () { $(this).parent().prev().animate({ height: "315px" }, 1000); $(this).hide().prev().show(); }); $(".fullOff").click(function () { my_setcookie("thugonbaiviet", "yes", true); $(".baivietdai").height("100%"); $(".fullOn, .viewhide").show(); $(".fullOff, .viewfull").hide(); }); $(".fullOn").click(function () { my_setcookie("thugonbaiviet", "no", true); $(".baivietdai").animate({ height: "315px" }, 1000); $(".fullOn, .viewhide").hide(); $(".fullOff, .viewfull").show(); }); }); $(function () { $("a[href^='http://www.youtube.com']").each(function () { $(this).replaceWith('' + $(this).text() + ''); }); }); $(function(){ $("a[href*='/u']").each(function(){ if($(this).text().length >= 1){ $(this).wrap(''); }; }); var chuthotfmvi = $(".authorfmvi:first").text(); $(".authorfmvi").each(function(){ if($(this).text() == chuthotfmvi){ $(this).before(''); }; }); }); $(function(){ $(".chuThread").each(function(index){ $(this).after("["+index+"] "); }); });