var outbanner_tong_datas = []; var outbanner_tong_codes = []; outbanner_tong_datas[0] = ''; outbanner_tong_codes[0] = '37902'; var rand_tong_num = Math.floor((Math.random()*outbanner_tong_datas.length)); var banner_HtmlTag = outbanner_tong_datas[rand_tong_num]; banner_HtmlTag += ''; document.write(banner_HtmlTag); $(document).ready(function () { $("#dt_tong_logimg").attr("src", "http://logbanner.hu.co.kr/@files/human_banner/dt_logcount.proc.php?code="+outbanner_tong_codes[rand_tong_num]); }); function clickcount_dt_thum_five(code){ $("#clickcount_dt_thum_five_img").attr('src', 'http://logbanner.hu.co.kr/@files/human_banner/dt_logcount.proc.php?type=clickcount&code='+code); }