function fn_right_sonagi(ctg){ document.write(' '); document.write('
'); document.write('
'); document.write('

많이 본 건강 기사

'); document.write('
'); document.write('
'); //portal common_ui.js news_common_sonagi_tab("sonagi_tab",["18|건강"],0); document.write('
'); document.write(' '); document.write('
'); } function news_common_sonagi_tab(objname, arrobj, defaulttab) { $.getScript("http://static.joinsmsn.com/portal/data/common/auto/sonagi/article_right_healtch_sonagi.js", function() { tobj=$("#"+objname); str=""; var item=0; for(item=0;item"+item_name+"" str=str+"
    "; for(i=0;i"+item_json.text[i].value+""; } str=str+"
"; } } $("#sonagi_tab").append(str); }); } function fn_view_sonagi_tab(no){ $("#sonagi_tab > h3").removeClass("on"); $("#sonagi_tab_"+no).addClass("on"); $("#sonagi_tab > ol").removeClass("on"); $("#sonagi_tab_list_"+no).addClass("on"); } // 우측 최상단 광고 function fn_right_top_ad(inSn){ if (inSn =="") { inSn = "35"; } document.write(' '); document.write('
'); document.write(' '); document.write('
'); document.write(' '); document.write('
'); } // 쇼핑박스 function fn_right_shoppingbox(){ document.write(''); document.write('
'); document.write(' '); document.write('
'); document.write(''); document.write('
'); } // 추천상담 (faq) function fn_right_faq(count){ document.write('
'); document.write('
'); document.write('

건강상담

'); document.write('
'); document.write('
'); document.write('
    '); document.write('
    '); document.write('
    '); document.write(' 더보기'); document.write('
    '); document.write('
    '); document.write('
    '); //ckey":[],"docid":[],"memid":[],"title":[ $.getScript("http://static.joinsmsn.com/portal/data/healthcare/stat/healthcare_home_faq.js",function() { var tjson; var totcount ; if(typeof(healthmain_faq_list) == "undefined") return; else tjson = healthmain_faq_list; var str = ''; var tobj; totcount = tjson.title.length ; // 총갯수 <= 보여줄갯수 if (totcount <= count) { fcount = 0 ; ecount = totcount ; } else { fcount = Math.floor(Math.random() * (totcount - count )); // 랜덤 ecount = fcount + count ; if (fcount > totcount) // 시작값이 총갯수보다 크면 { fcount = totcount ; } if (ecount > totcount) // 마지막값이 총갯수보다 크면 { ecount = totcount ; } } for (i=fcount ;i"+tjson.title[i].value+"" ; } $("#right_common_webtoon_ul").html(str); $("#healthmain_faq_list").show(); }); } // 눈길가는 건강뉴스 () function fn_right_hnews() { document.write('
    '); document.write('
    '); document.write('

    눈길가는 건강뉴스

    '); document.write('
    '); document.write('
    '); document.write('
      '); document.write('
      '); document.write('
      '); document.write(' 더보기'); document.write('
      '); document.write('
      '); document.write('
      '); $.getScript("http://static.joinsmsn.com/portal/data/healthcare/stat/healthcare_right_hnews.js",function() { /*@healthcare_right_hnews(start)@*/ /*@healthcare_right_hnews(end)@*/ var tjson; if(typeof(healthcare_right_hnews ) == "undefined") return; else tjson = healthcare_right_hnews; var str = ''; var tobj; fcount = tjson.text.length ; for (i=0;i"; str = str + "
      "; str = str + "
      "; str = str + "
      "+ tjson.text[i].value +"
      "; str = str + "
      "+ tjson.content[i].value +"
      "; str = str + "
      "; str = str + ""; }else { str = str + "
    • "+tjson.text[i].value+"
    • "; } } $("#healthcare_right_hnews_ul").html(str); $("healthcare_right_hnews").show(); }); } // 관련 헬스마스터 function fn_right_hmaster(count) { document.write('
      '); document.write('
      '); document.write('

      헬스마스터

      '); document.write('
      '); document.write('
      '); document.write('
        '); document.write('
        '); document.write('
        '); document.write(' 더보기'); document.write('
        '); document.write('
        '); document.write('
        '); //"midx":[],"contcode":[],"title $.getScript("http://static.joinsmsn.com/portal/data/healthcare/stat/healthcare_right_master.js",function() { var tjson; if(typeof(healthmain_master_list) == "undefined") return; else tjson = healthmain_master_list; var str = ''; var tobj; totcount = tjson.title.length ; // 총갯수 <= 보여줄갯수 if (totcount <= count) { fcount = 0 ; ecount = totcount ; } else { fcount = Math.floor(Math.random() * (totcount - count )); // 랜덤 ecount = fcount + count ; if (fcount > totcount) // 시작값이 총갯수보다 크면 { fcount = totcount ; } if (ecount > totcount) // 마지막값이 총갯수보다 크면 { ecount = totcount ; } } for (i=fcount ;i"+tjson.title[i].value+"" ; } $("#right_hmaster_ul").html(str); $("#healthcare_hmaster").show(); }); } // 헬스마스터 function fn_right_plan_series() { document.write('
        '); document.write('
        '); document.write('

        헬스마스터

        '); document.write('
        '); document.write('
        '); document.write('
          '); document.write('
          '); document.write('
          '); document.write(' 더보기'); document.write('
          '); document.write('
          '); document.write('
          '); $.getScript("http://static.joinsmsn.com/portal/data/healthcare/stat/healthcare_plan_series.js",function() { /*@healthcare_plan_series(start)@*/ /*@healthcare_plan_series(end)@*/ var tjson; if(typeof(healthcare_plan_series) == "undefined") return; else tjson = healthcare_plan_series; var str = ''; var tobj; fcount = tjson.link.length ; for (i=0;i"; str = str + "
          "; str = str + "
          "+ tjson.text[i].value +"
          "; //str = str + "
          "+ tjson.text[(i*2)+1].value +"
          "; str = str + "
          "+ tjson.content[i].value +"
          "; str = str + "
          "; str = str + ""; } $("#right_healthcare_plan_series_ul").html(str); $("#healthcare_plan_series").show(); }); } // 연재칼럼 function fn_right_column_series(){ document.write('
          '); document.write('
          '); document.write('

          연재칼럼

          '); document.write('
          '); document.write('
          '); document.write('
            '); document.write('
            '); document.write('
            '); document.write(' 더보기'); document.write('
            '); document.write('
            '); document.write('
            '); $.getScript("http://static.joinsmsn.com/portal/data/healthcare/stat/healthcare_column_series.js",function() { var tjson; if(typeof(healthcare_column_series) == "undefined") return; else tjson = healthcare_column_series; var str = ''; var tobj; fcount = tjson.link.length ; for (i=0;i"; str = str + "
            "; str = str + "
            "+ tjson.text[(i*2)].value +"
            "; str = str + "
            "+ tjson.text[(i*2)+1].value +"
            "; str = str + "
            "+ tjson.content[i].value +"
            "; str = str + "
            "; str = str + ""; } $("#right_healthcare_column_series_ul").html(str); $("#healthcare_column_series").show(); }); } // 건강 푸드 뉴스 function fn_right_health_industrial() { document.write('
            '); document.write('
            '); document.write('
            '); document.write('

            건강·푸드뉴스

            '); document.write('
            '); document.write('
            '); document.write('
            '); document.write('
              '); document.write('
              '); document.write('
              '); document.write('
              '); document.write(' 더보기'); document.write('
              '); document.write('
              '); document.write('
              '); document.write('
              '); $.getScript("http://static.joinsmsn.com/portal/data/healthcare/stat/healthcare_industrial.js",function() { /*@healthcare_industrial(start)@*/ /*@healthcare_industrial(end)@*/ var tjson; if(typeof(healthcare_industrial) == "undefined") return; else tjson = healthcare_industrial; var str = ''; var tobj; fcount = tjson.link.length ; for (i=0;i"; str = str + ""; str = str + ""; str = str + ""+ tjson.text[i].value +""; str = str + ""; } $("#right_healthcare_industrial_ul").html(str); $("#healthcare_industrial").show(); }); } //뉴스레터 function health_right_newsletter() { document.write('
              '); document.write('
              '); document.write('
                '); document.write('
              • '); document.write('
                '); document.write(' '); document.write('
                '); document.write(' '); document.write(' 뉴스레터 신청하기'); document.write('  지난뉴스레터보기'); document.write(' '); document.write(' 매주 목요일 최신 뉴스, 건강정보를 제공해 드립니다.
                '); document.write('
                '); document.write('
              • '); document.write('
              • '); document.write('
                '); document.write('
                기사제보
                '); document.write('
                '); document.write(' '); document.write(' 기사제보 및 e마케팅 문의'); document.write(' '); document.write(' '); document.write(' 건강 의료 전반의 각종 이슈에 대한 기사제보 및 e마케팅은 여기로 문의하세요.'); document.write(' '); document.write('
                '); document.write('
                '); document.write('
              • '); document.write('
              '); document.write('
              '); document.write('
              '); document.write('
              '); } function fn_right_portal_sponsor_link(){ document.write(''); //document.write(""); document.write(""); document.write(''); } //뉴스레터 보기 function view_newsletter() { var r = window.open("http://healthcare.joinsmsn.com/webmail/index.asp","newsletter","status=no, width=780, height=710, left=0, top=0"); if(r) r.focus(); } // imc 배너 function fn_right_imc_banner(){ document.write(''); document.write(''); document.write(''); $.getScript("http://static.joinsmsn.com/portal/data/right/stat/imc_edit_banner_sub.js",function() { /*@edit_banner_sub(start)@*/ /*@edit_banner_sub(end)@*/ var tjson; if(typeof(imc_edit_banner_sub ) == "undefined") return; else tjson = imc_edit_banner_sub; var imc_banner_cnt = tjson.image.length; var imcrdn = parseInt(Math.random()*100)%imc_banner_cnt; var i = imcrdn; var str = ''; $("#banner").html(str); }); } var fSn1 ="35" ; var fSn2 ="36" ; //오른쪽 영역 (메인페이지) function fn_healthcare_right_arti() { //fn_display_right("","health1"); document.write('
              '); fnPutCtag("healthcare"); //Ctag입력 fn_right_top_ad(fSn1); //우측 상단 배너 fn_right_shoppingbox(); //쇼핑박스 fn_right_plan_series(); //헬스마스터 fn_right_column_series(); // 연재칼럼 fn_right_health_industrial(); health_right_newsletter(); fn_right_imc_banner(); document.write('
              '); } //오른쪽 영역 (일반) function fn_healthcare_right() { //fn_display_right("","health1"); document.write('
              '); fnPutCtag("healthcare"); //Ctag입력 fn_right_top_ad(fSn1); // 우측 상단 배너 fn_right_shoppingbox(); // 쇼핑박스 fn_right_sonagi(18); // 많이본 뉴스 fn_right_faq(3); // 건강상담 fn_right_hnews(); // 눈길가는 건강뉴스 () fn_right_hmaster(3); // 헬스마스터 health_right_newsletter(); // 뉴스레터, 기사제보 fn_right_portal_sponsor_link(); //스폰서 링크 fn_right_imc_banner(); if(location.href.indexOf("article.asp")> -1 ) {fn_right_top_ad(fSn2); } // 우측 상단 배너 document.write('
              '); }