');
$(this).find("a[href^='http'][href*='youtu'][href*='be']").appendTo($(this).prev().find("span.imgytblist"));
$(this).prev().find(".imgytblist a[href^='http'][href*='youtu'][href*='be']").each(function () {
$(this).replaceWith('')
});
var a = $(this).prev().find(".imgytblist img"),
b = $(this).prev().find(".imgytblist"),
g = $(this).prev().find(".listytbFMvi"),
c = $(this).prev().find(".scrollFMviLeft"),
d = $(this).prev().find(".scrollFMviRight"),
f = $(this).prev().find(".showytbFMvi");
$(this).prev().find(".imgytblist img:first").css("opacity", "0.25");
var h = $(this).prev().find(".imgytblist img:first").attr("src").slice(26, 37);
f.html('');
a.click(function () {
var a = $(this).attr("src").slice(26, 37);
f.html('');
$(this).css("opacity", "0.25")
});
a = 120 * a.length + 2;
if (a > g.css("width").match("[0-9]+")) {
b.width(a);
var e = b.css("left").match("[0-9]+"),
i = -a + 590;
c.hover(function () {
c = setInterval(function () {
b.css("left", e++);
0 < e && clearInterval(c)
},
10)
},
function () {
clearInterval(c)
});
d.hover(function () {
d = setInterval(function () {
e == i && clearInterval(d);
b.css("left", e--)
},
10)
},
function () {
clearInterval(d)
})
}
$(this).remove()
})
});
$(document).ready(function () {
$(" ").insertBefore("span#text_edit input.button2[value='Others']");
$(".postbody").each(function () {
$(this).html($(this).html().replace(/\[zippy]/gi, ""));
$(".postbody a[href$='[/zippy]']").each(function () {
var a = $(this).text().slice(0, $(this).text().indexOf("[/zippy]"));
$(this).replaceWith('
');
});
});
});
function fmvizippy() {
var name = prompt("Nhập vào đây liên kết đến tập tin zippyshare", "");
if (name != null && name != "" && name.indexOf("zippyshare.com") != -1 && name.indexOf("http") != -1 && name.indexOf("file.html") != -1) {
bbfontstyle('[zippy]' + name, '[/zippy]');
return false;
} else {
alert("Liên kết bạn nhập vào không đúng");
return false;
}
}