$(function () {
var article_li = $("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews3").find(".w-adNews-imgs>ul>li");
var article_prev = $("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews3").find(".w-adNews-imgs>.adNews3prev");
var article_next = $("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews3").find(".w-adNews-imgs>.adNews3next");
var article_image = $("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews3").find(".w-adNews-imgs>ul");
if (article_li.length > 0 && article_prev.length > 0 && article_next.length > 0) {
article_prev.click(function () {
if (article_image.find("li:visible").prev("li").length > 0) {
article_image.find("li:visible").hide(0, function () {
$(this).prev("li").show(0, function () {
});
})
}
});
article_next.click(function () {
if (article_image.find("li:visible").next("li").length > 0) {
article_image.find("li:visible").hide(0, function () {
$(this).next("li").show(0, function () {
});
})
}
});
}
$("#article-3939f4d850eca3b4250f34c0e2e1cacf .news-h>.news-kind").remove();
if ($(".w-adNews7").length > 0) {
$(".w-adNews7").each(function () {
var adimgw = $(this).find(".adNewsR").width();
var adimgh = $(this).find(".adNewsL").outerHeight(true);
var txtH = $(this).find('.adNewsR .news-com:first').outerHeight(true) + 20;
adimgh -= txtH;
$(this).find(".w-news-img .aspectRatio").css("padding-bottom", (adimgh * 1.0 / adimgw) * 100 + "%");
});
}
if ($("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews11").length > 0) {
$("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews11").listRow({
row:3,
rowList: ".w-adNews-in ul>li",
rowFind: ".news-sum"
});
}
if ($("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews12").length > 0) {
var html3939f4d850eca3b4250f34c0e2e1cacf = $("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews15").find('.w-adNews-in').html();
var slideX3939f4d850eca3b4250f34c0e2e1cacf = function () {
$("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews12").slideNew({
mainCell: ".w-adNews-in ul",
autoPage: false,
effect: "topMarquee",
interTime: 50,
delayTime: 0,
autoPlay: true,
scroll: 1,
vis: 5
});
};
slideX3939f4d850eca3b4250f34c0e2e1cacf();
$(window).resize(function () {
$("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews12").find('.w-adNews-in').html(html3939f4d850eca3b4250f34c0e2e1cacf);
slideX3939f4d850eca3b4250f34c0e2e1cacf();
});
}
if ($("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews13").length > 0) {
var html3939f4d850eca3b4250f34c0e2e1cacf = $("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews15").find('.w-adNews-in').html();
var slideX3939f4d850eca3b4250f34c0e2e1cacf = function () {
$("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews13").slideNew({
mainCell: ".w-adNews-in ul",
autoPage: false,
effect: "topLoop",
interTime: 3000,
delayTime: 500,
autoPlay: true,
scroll: 1,
vis: 1
});
};
slideX3939f4d850eca3b4250f34c0e2e1cacf();
$(window).resize(function () {
$("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews13").find('.w-adNews-in').html(html3939f4d850eca3b4250f34c0e2e1cacf);
slideX3939f4d850eca3b4250f34c0e2e1cacf();
});
}
if ($("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews14").length > 0) {
var html3939f4d850eca3b4250f34c0e2e1cacf = $("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews15").find('.w-adNews-in').html();
var slideX3939f4d850eca3b4250f34c0e2e1cacf = function () {
$("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews14").slideNew({
mainCell: ".w-adNews-in ul",
autoPage: false,
effect: "topLoop",
interTime: 3000,
delayTime: 500,
autoPlay: true,
scroll: 1,
vis: 8
});
};
slideX3939f4d850eca3b4250f34c0e2e1cacf();
$(window).resize(function () {
$("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews14").find('.w-adNews-in').html(html3939f4d850eca3b4250f34c0e2e1cacf);
slideX3939f4d850eca3b4250f34c0e2e1cacf();
});
}
if ($("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews15").length > 0) {
var obj = $("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews15").find('.w-adNews-in');
var html3939f4d850eca3b4250f34c0e2e1cacf = obj.html();
var slideX3939f4d850eca3b4250f34c0e2e1cacf = function () {
$("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews15").slideNew({
mainCell: ".w-adNews-in ul",
autoPage: false,
effect: "fold",
interTime: 5000,
delayTime: 500,
autoPlay: true,
scroll: 1,
vis: 1
});
};
slideX3939f4d850eca3b4250f34c0e2e1cacf();
$(window).resize(function () {
$("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews15").find('.w-adNews-in').html(html3939f4d850eca3b4250f34c0e2e1cacf);
slideX3939f4d850eca3b4250f34c0e2e1cacf();
$("#article-3939f4d850eca3b4250f34c0e2e1cacf>.w-adNews15").find('.w-adNews-in').find("img").each(function () {
$.AutoImageSize($(this));
});
});
}
});