“)>-1;){var s=source.indexOf(“”,s),e_e=source.indexOf(“>”,e);scripts.push(source.substring(s_e+1,e)),source=source.substring(0,s)+source.substring(e_e+1)}for(var i=0;i=1040?(link1.style.width=w1+”px”,link1.style.height=t+”px”,link1.style.left=left1+”px”,link1.style.display=”block”,link2.style.width=w2+”px”,link2.style.height=t+”px”,link2.style.left=left2+”px”,link2.style.display=”block”):link1.style.display=”none”}}function ie6_recreate_background(){window.addEventListener?window.addEventListener(“load”,recreateLinkBackground,!1):window.attachEvent(“onload”,recreateLinkBackground)}function cookieSetListenPort(e){setCookie(“listen_port”,e,24,”/”,””,””)}function _checkport(){try{window.shr||(window.shr=new SWFHttpRequest),shr.open(“GET”,”http://www.24h.com.vn/upload/test_port.html”,!0),shr.onreadystatechange=function(){4==this.readyState&&cookieSetListenPort(200==this.status||206==this.status?String(this.responseText).match(/^8008$/)?”8008″:”80″:”80″)},shr.send(null)}catch(e){}}function changhomeimg(e){for(i=1;i=arr_body_background.length&&(e=0),setCookie(“current_body_background”,e,24,”/”,””,””),document.getElementsByTagName(“body”)[0].style.background=”url(“+arr_body_background[e].bg_image+”) no-repeat fixed center top”,document.getElementById(“background_bg_link”).innerHTML=arr_body_background[e].bg_link,recreateLinkBackground()}}function get_kieu_quang_cao_video(e){var t=0;getCookie(v_ten_cookie_lan_xem_video_trong_ngay)&&(t=parseInt(getCookie(v_ten_cookie_lan_xem_video_trong_ngay))),1==e&&++t;var n=v_arr_cau_hinh_thu_tu_quang_cao_video[0];return void 0!==v_arr_cau_hinh_thu_tu_quang_cao_video[t]&&(n=v_arr_cau_hinh_thu_tu_quang_cao_video[t]),n}function set_cookie_xem_video(){var e=0;getCookie(v_ten_cookie_lan_xem_video_trong_ngay)&&(e=parseInt(getCookie(v_ten_cookie_lan_xem_video_trong_ngay))),setCookie(v_ten_cookie_lan_xem_video_trong_ngay,e+1,24,”/”,””,””)}function antvWriteBackPlayer(e){setTimeout(function(){var t=document.getElementById(e+”_get_video”).innerHTML,n=t.indexOf(‘

‘);n=(t=t.substr(n+’

‘.length)).indexOf(“src=”);var%20i=(t=t.substr(n+”src=”.length)).toLowerCase().indexOf(“.mp4″),o=t.substr(0,i+”.mp4″.length);top.write_outsite_video_player(e,1,o)},1500)}function antvWrite(e,t,n,i,o){(void 0===t||t

‘)}function _get_video_outsite(e,t,n,i,o,a,s,r,l,d){if(void 0===r&&(r=0),1==e)return 1!=s&&(s=0),void top.write_outsite_video_player(t,e,n,i,o,a,s,r,l,d);var c=new GetXmlHttpObject;null!=c&&(c.onreadystatechange=function(){if(4==c.readyState||200==c.readyState){1!=s&&(s=0);c.responseText;top.write_outsite_video_player(t,e,v_url_file_video,i,o,a,s,r,l,d)}},c.open(“GET”,n,!0),c.send(null))}function write_outsite_video_player(e,t,n,i,o,a,s,r,l,d,c,h){var m=(new Date).getTime(),u=Math.floor(1e4*Math.random()+1);if(void 0===r&&(r=0),0!=r&&(r=1),v_cat_now=get_id_cat_id_news_of_current_url()[0],1!=s&&(s=0),””!=d&&void 0!==d)_=d;else var p=window.location.href,_=(p=p.split(“?”))[0];void 0===c&&(c=0),v_url_player=”/ajax/box_player_video_by_url/index/”+v_cat_now+”/”+t+”/”+o+”/”+(1!=r?a-40:a)+”?url_video=”+n+”&id_div_video=”+e+”&is_autoplay=”+s+”&p_is_box_video_chon_loc=”+r+”&p_anh_dai_dien_video=”+l+”&p_url_now=”+_+”&p_is_bai_tuong_thuat=”+c+”&p_is_count_down=”+h+”&time=”+m+u,document.getElementById(e).style.width=o+”px”,document.getElementById(e).style.height=a+3+”px”,document.getElementById(e).style.display=””,document.getElementById(e).innerHTML=”,void 0!==i&&””!=i&&”1″!=r&&AjaxAction(e+”_ga”,i)}function jwplayer6_stop_ads_preroll(e,t,n,i,o){setTimeout(function(){void 0!==n&&””!=n&&(document.getElementById(n).style.display=”none”),jwplayer(t).remove(),void 0!==o&&””!=o&&(document.getElementById(o).style.display=”block”),jwplayer(i).playlistItem(0)},1e3*e)}function set_inner_html_by_class(e,t){if(void 0!==e&&””!=e&&void 0!==t&&””!=t){var n=document.getElementsByClassName(e);for(i=0;i=500?n.style.left=”25px”:n.style.left=(500-t.clientWidth)/2+25+”px”}function pr_2015_random_item(e,t,n,i,o){var a=Math.floor(Math.random()*t);(tmp=getCookie(o))&&(a=parseInt(tmp));var s=0;for(s=0;s=t&&(a%=t),document.getElementById(i+s).innerHTML=e[a];setCookie(o,a,24,”/”,””,””)}function create_box_tttt_slide(e,t,n,i,o,a,s){window[“Swiper_”+e]=new Swiper(“.”+t,{speed:400,mode:n,slidesPerView:i,autoplay:o,loop:!0,autoplayDisableOnInteraction:!1})}function prev_box_4t_slide(e){window[“Swiper_”+e].swipePrev()}function next_box_4t_slide(e){window[“Swiper_”+e].swipeNext()}function random_item(e,t,n){var i=Math.floor(Math.random()*e);(tmp=getCookie(n))&&(i=parseInt(tmp));var o=0,a=new Array;for(o=0;o=e&&(i%=e),document.getElementById(t+o).innerHTML=a[i]);setCookie(n,i+1,24,”/”,””,””)}function create_banner_over_all_screen(e,t,n,i){if(void 0!==e&&””!=e){(void 0===t||to)&&(n=o),n=parseInt(n),(void 0===i||ia)&&(i=a);var r=(o-n)/2,l=(a-(i=parseInt(i)))/2,d=parseInt(100*n/o),c=parseInt(100*i/a),h=document.getElementById(s);if(!h){var m=document.createElement(“div”);m.id=s,document.body.appendChild(m),h=document.getElementById(s)}switch(h.style.position=”fixed”,h.style.overflow=”hidden”,h.style.width=d+”%”,h.style.height=c+”%”,h.style.left=r+”px”,h.style.top=l+”px”,h.style.zIndex=1e8,h.style.display=””,h.innerHTML=”,ojb_inner=document.getElementById(s+”_inner”),t){case 1:ojb_inner.style.marginLeft=”-“+n+”px”;break;case 2:ojb_inner.style.marginLeft=n+”px”;break;case 3:ojb_inner.style.marginTop=”-“+i+”px”;break;case 4:ojb_inner.style.marginTop=i+”px”;break;case 5:ojb_inner.style.marginLeft=”-“+n+”px”,ojb_inner.style.marginTop=”-“+i+”px”;break;case 6:ojb_inner.style.marginLeft=n+”px”,ojb_inner.style.marginTop=”-“+i+”px”;break;case 7:ojb_inner.style.marginLeft=”-“+n+”px”,ojb_inner.style.marginTop=i+”px”;break;case 8:ojb_inner.style.marginLeft=n+”px”,ojb_inner.style.marginTop=i+”px”}t>0&&setInterval(slide_banner_over_all_screen,1),setTimeout(function(){document.getElementById(s+”_iframe”).innerHTML=”},333)}}function slide_banner_over_all_screen(){ojb_inner=document.getElementById(“div_banner_over_all_screen_inner”);var e=parseInt(ojb_inner.style.marginLeft),t=parseInt(ojb_inner.style.marginTop);0!=e&&(Math.abs(e)0?e-=25:e+=25),ojb_inner.style.marginLeft=e+”px”,0!=t&&(Math.abs(t)0?t-=25:t+=25),ojb_inner.style.marginTop=t+”px”}function close_banner_over_all_screen(){var e=”div_banner_over_all_screen”;ojb=document.getElementById(e),ojb.style.zIndex=0,ojb.style.display=”none”,document.getElementById(e+”_iframe”).innerHTML=””}function insert_video_title(e,t,n){document.getElementById(e).innerHTML=t[n]}function insert_video_player(e,t,n,i,o,a,s,r){if(“”!=s&&void 0!==s)d=s;else var l=window.location.href,d=(l=l.split(“?”))[0];if(1!=a&&(a=0),”antvWrite”===e){var c=new Date,h=”;document.getElementById(n).innerHTML=h}else if(“ballballWrite2″==e){m=”;document.getElementById(n).style.height=”300px”,document.getElementById(n).innerHTML=m}else if(“ballballWrite”==e){var m=”;document.getElementById(n).style.height=”300px”,document.getElementById(n).innerHTML=m}else if(“vtvWrite”==e){var u=typeof t;if(“string”==u){h=”;document.getElementById(n).innerHTML=h,write_outsite_video_player(n,3,t,”/ajax/ga_doi_tac/video_player_vtv_ga_load_trang.html”,400,300,a,1,””,d,””,r)}else if(“number”==u){h=”;document.getElementById(n).innerHTML=h}}}function check_hien_thi_box_mxh_chay_doc_trang(e){if(document.getElementById(e)){var t=document.getElementById(e),n=f_clientWidth(),i=document.documentElement,o=window.innerWidth||i.clientWidth||document.body.clientWidth,a=Math.floor((o-1024)/2)-120;!(n>=1040)||document.getElementById(“leftSideBar”)||”undefined”!=typeof arr_body_background&&0!=arr_body_background.length||document.getElementById(“leftBannerBackground”)||document.getElementById(“rightBannerBackground”)?t.style.display=”none”:(t.style.display=”block”,t.style.left=a+”px”,t.style.top=”135px”)}}function vtvWrite(e,t,n,i,o,a,s){var r=0;document.getElementById(“hdn_is_bai_tuong_thuat_anh_dai_dien_video”)&&(r=document.getElementById(“hdn_is_bai_tuong_thuat_anh_dai_dien_video”).value),void 0===a&&(a=””),doitacWrite(3,e,t,n,i,”/ajax/ga_doi_tac/video_player_vtv_ga_load_trang.html”,o,r,a,s)}function doitacWrite(e,t,n,i,o,a,s,r,l,d){(void 0===e||e

‘),write_outsite_video_player(h,3,t,a,n,i,0,o,s,l,r,d)):”number”==m&&document.write(”)}function expand_close_banner_html5(e){if(e.origin!=e.origin.replace(“24hstatic.com”,””).replace(“24h.com.vn”,””).replace(“eva.vn”,””)){var t=e.data.split(“#:|:#”),n=””,o=””;if(t.length>0&&(n=t[0]),t.length>1&&(o=t[1]),”as3_expand”==n||”closePopBanner”==n||”re_expand”==n||”create_banner_over_all_screen”==n||”close_banner_over_all_screen”==n){for(elementID=””,path=””,bannerName=””,v_width=0,v_height=0,v_type=””,arr_tmp=o.split(“&”),i=0,s=arr_tmp.length;i‘;return t+=”,t+=””}function reExpandBanner(e){getElement(e)&&(getElement(e).style.display=”none”),getElement(e.replace(“_sub”,””)).getElementsByTagName(“iframe”)[1]&&(getElement(e.replace(“_sub”,””)).getElementsByTagName(“iframe”)[1].src=getElement(e.replace(“_sub”,””)).getElementsByTagName(“iframe”)[1].src,getElement(e.replace(“_sub”,””)).getElementsByTagName(“iframe”)[1].style.display=”block”)}function hien_thi_banner_background_2_ben(){if(“undefined”!=typeof ADS_149_15s&&ADS_149_15s.aNodes.length>0){e=(docwidth-1004)/2-ADS_149_15s.aNodes[0].width-6;document.write(‘

‘);try{document.write(ADS_149_15s),ADS_149_15s.start()}catch(e){}for(document.write(“

“),i=0;i0){e=(docwidth-1004)/2-ADS_150_15s.aNodes[0].width-6;document.write(‘

‘);try{document.write(ADS_150_15s),ADS_150_15s.start()}catch(e){}for(document.write(“

“),i=0;i1024)for(i=0;i=0&&(e=e.substr(0,t));var n=e.split(“-“);return e=n[n.length-1],v_arr_url_now=e.split(“a”),v_cat_now=parseInt(v_arr_url_now[0].substr(1)),v_id_news_now=parseInt(v_arr_url_now[1]),[v_cat_now,v_id_news_now]}function resize_iframe_profile(e){arr_function=e.data.split(“#:|:#”),2==arr_function.length&&(v_function=arr_function[0],v_param=arr_function[1],”set_lich_thi_dau_doi_bong_livescore”==v_function&&(v_height=parseInt(v_param),document.getElementById(“id_lich_thi_dau_doi_bong_livescore”).style.height=v_height+”px”))}function check_hien_thi_anh_gif(e){if(!e)return!1;var t=f_scrollTop()+50,n=e.offsetTop+e.offsetHeight+50;return t>=e.offsetTop&&t0&&document.getElementById(“non-gif-img-image-gif-“+t)){var n=document.getElementById(“non-gif-img-image-gif-“+t).src,i=””;document.getElementById(“gif-image-gif-“+t)&&(i=document.getElementById(“gif-image-gif-“+t).getAttribute(“src”)),””==i&&(document.getElementById(“gif-image-gif-“+t).src=n.replace(“/medium”,””),document.getElementById(“gif-image-gif-“+t).style.display=”none”)}}),window.addEventListener(“scroll”,function(){if(e>0)for(max_loop=parseInt(t)+parseInt(e),i=t;i=12&&””!=i)for(h=0;h“),v_html=v_html.replace(“x3c!–temp_dong_the_h_”+v_id_item[1]+”–x3e”,””)):(v_html=v_html.replace(“

“,”x3c!–temp_mo_the_h_”+v_id_item[1]+”–x3e”),v_html=v_html.replace(“

“,”x3c!–temp_dong_the_h_”+v_id_item[1]+”–x3e”)),a[h].innerHTML=v_html,d.splice(v_index,1),v_stt=l.indexOf(v_random),l.splice(v_stt,1),o[c]=v_id_item[1],c++):(v_index=Math.floor(Math.random()*l.length),v_random=l[v_index],v_html=s[v_random],v_html=replace_tmp_pr_gia_re(v_html,h),v_id_item=v_html.match(/id=”div_item_pr_gia_re_(d+)”/),h”),v_html=v_html.replace(“x3c!–temp_dong_the_h_”+v_id_item[1]+”–x3e”,””)):(v_html=v_html.replace(“

“,”x3c!–temp_mo_the_h_”+v_id_item[1]+”–x3e”),v_html=v_html.replace(“

“,”x3c!–temp_dong_the_h_”+v_id_item[1]+”–x3e”)),a[h].innerHTML=v_html,l.splice(v_index,1),h’,”):(e=e.replace(/marL10/g,””)).replace(”,””)}function thiet_lap_hien_thi_bai_pr_gia_re_chia_se_theo_user(e){var t=Math.floor(1e3*Math.random());if((v_stt=getCookie(“v_cookie_stt_pr_gia_re”))&&(t=parseInt(v_stt)),v_stt_truy_cap=t%1e3,e=1e3){for(i=-1;e>=1e3;++i)e/=1e3;return””+Math.floor(e)+”kMGTPEZY”.charAt(i)}return e}function set_inner_html_by_class(e,t){if(void 0!==e&&””!=e&&void 0!==t&&””!=t){var n=document.getElementsByClassName(e);for(i=0;i=1&&o Thứ Bảy, ngày 17/06/2017 18:09 PM (GMT+7) Theo Thủy Nguyên (Tổng hợp) (Dân Việt) ad zone of 24h Mời bạn quay lại trang Phim