▲
신현식씨 별세·
신보순(스포츠조선 편집국장)
만순 미순씨 부친상·
최우영씨 빙부상·
정은이 김은숙씨 시부상=5일 신촌세브란스병원, 발인 7일 오전 7시20분. (02)2227-7500
※ 저작권자 ⓒ 파이낸셜뉴스, 무단전재-재배포 금지
";
mfbRootHtml +="
";
$("#mFbRoot").html(mfbRootHtml);
$("#mFbRoot").css('display','block');
mwDouKnowHtml +="";
$("#zoomwidget_add_mb").html(mwDouKnowHtml);
$("#zoomwidget_add_mb").css('display','block');
//mTitleTopHtml="";
//$("#mTitletop").html(mTitleTopHtml);
mRightTopHtml +="
mRightTopHtml +="";
mRightTopHtml +="
";
//mRightTopHtml +="";
//$("#mTitletop").css('display','block');
if($("#article_content").find('div.box_img').length<=2){
if($("#article_content").find('div.box_img').length==0){
var subtitle = $("#article_content").find('div.art_subtit').html();
$("#article_content").find('div.art_subtit').empty();
$("#article_content").not('div.box_img').find('br').first().after(mRightTopHtml);
$("#article_content").find('div.art_subtit').append(subtitle);
}else if($("#article_content").find('div.box_img').length==1){
var subtitle = $("#article_content").find('div.art_subtit').html();
$("#article_content").find('div.art_subtit').empty();
$("#article_content").not('div.box_img').find('br').first().after(mRightTopHtml);
$("#article_content").find('div.art_subtit').append(subtitle);
}else{
var subtitle = $("#article_content").find('div.art_subtit').html();
console.log('1111')
var obj = $("#article_content").find('div.box_img').eq(0).next();
var cnt =0;
for (var i = 0; i <4; i++) {
if($(obj)[0].nodeName.toLowerCase()=='div'){
if($(obj).hasClass('box_img')){
cnt =i;
}
}
obj=$(obj).next();
}
console.log(cnt);
if(cnt<4&&cnt!=0){
if($("#article_content").find('div.box_img').eq(1).length==1){
console.log(1111111111111);
var obj =$("#article_content").find('div.box_img').eq(1).next();
for (var i = 0; i <4; i++) {
if($(obj)[0].nodeName.toLowerCase()=='br'){
$(obj).after(mRightTopHtml);
break;
}
obj=$(obj).next();
}
}
}else{
if($("#article_content").find('div.box_img').eq(0).length==1){
var obj =$("#article_content").find('div.box_img').eq(0).next();
for (var i = 0; i <4; i++) {
if($(obj)[0].nodeName.toLowerCase()=='br'){
$(obj).after(mRightTopHtml);
break;
}
obj=$(obj).next();
}
}
}
if($("#article_content").find('div.art_subtit').length==1){
$("#article_content").find('div.art_subtit').empty();
$("#article_content").find('div.art_subtit').append(subtitle);
}
}
}
}else{
$("#mFbRoot").html('');
$("#mFbRoot").css('display','none');
//$("#mTitletop").html('');
// $("#mTitletop").css('display','none');
$("#zoomwidget_add_mb").html('');
$("#zoomwidget_add_mb").css('display','none');
fbRootHtml +="
";
fbRootHtml +="";
fbRootHtml +="
";
wDouKnowHtml +="";
$("#FbRoot").html(fbRootHtml);
$("#FbRoot").css('display','block');
$("#zoomwidget_add").html(wDouKnowHtml);
$("#zoomwidget_add").css('display','block');
$("#mr_ad").html('');
$("#mr_ad").remove();
}
//if($("#article_content").find('div.art_subtit').length==1){
});
var clipboard = new Clipboard('.url');
clipboard.on('success', function(e) {
console.log(e);
});
clipboard.on('error', function(e) {
console.log(e);
});
function fn_getPollHtml(pollid){
$.ajax({
type: "GET",
url: "/popPoll/"+pollid+"?now=2022-07-05 12:29:31",
cache : false,
async : true,
dataType: "html",
success: function(data) {
if(data.trim() != ''){
if($("#poll_layer").children().length>0){
$("#poll_layer").empty();
$("#poll_layer").append(data);
if($("#poll_layer").css('display')==='none'){
$("#poll_layer").css('display',"block");
}
}else{
$("#poll_layer").empty();
$("#poll_layer").html(data);
if($("#poll_layer").css('display')==='none'){
$("#poll_layer").css('display',"block");
}
}
}
},
error: function (request, status, error) {
console.log("request.responseText",request.responseText);
//alert(request.responseText);
}
});
}
function loadImg(){
var description = [
"/resources/images/moasisshop/bnr_mos2106_1.jpg",
"/resources/images/moasisshop/bnr_mos2106_2.jpg",
"/resources/images/moasisshop/bnr_mos2106_3.jpg"
];
var descriptionm = [
"/resources/images/moasisshop/bnr_mos_m2107_1.jpg",
"/resources/images/moasisshop/bnr_mos_m2107_2.jpg",
"/resources/images/moasisshop/bnr_mos_m2107_3.jpg"
];
var descriptionH = [
"https://www.fnnews.com/redirect?utm_source=moasis_03&utm_medium=topsmall&utm_campaign=drforhair_folligen_plus_shampoo500_3ea&url=https://www.topsmall.net/shop/detail.php?pno=0C314B1BBB0E9354A72753A479E196E3&rURL=https%3A%2F%2Fwww.topsmall.net%2Fshop%2Fbig_section.php%3Fcno1%3D1274&ctype=1&cno1=1274",
"https://www.fnnews.com/redirect?utm_source=moasis_03&utm_medium=topsmall&utm_campaign=drforhair_seasalt_scaler_300g&url=https://www.topsmall.net/shop/detail.php?pno=5FDB81013E74B3BB0C0E0CE50249C0CA&rURL=https%3A%2F%2Fwww.topsmall.net%2Fshop%2Fbig_section.php%3Fcno1%3D1274&ctype=1&cno1=1274",
"https://www.fnnews.com/redirect?utm_source=moasis_03&utm_medium=topsmall&utm_campaign=ts_shampoo_3ea_Aset&url=https://www.topsmall.net/shop/detail.php?pno=C263ECE839AAA8C274B4F8A6A9317F15&rURL=https%3A%2F%2Fwww.topsmall.net%2Fshop%2Fbig_section.php%3Fcno1%3D1274&ctype=1&cno1=1274"
];
var size = description.length
var x = Math.floor(size*Math.random());
console.log("ig=="+description[x])
$("#evt_imgpc").attr('src',description[x]);
$("#pchref").attr("href",descriptionH[x]);
$("#evt_imgmb").attr('src',descriptionm[x]);
$("#mbhref").attr("href",descriptionH[x])
}