“)>-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
‘.length)).indexOf(“src=”);var i=(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,r,s,l,d){if(void 0===s&&(s=0),1==e)return 1!=r&&(r=0),void top.write_outsite_video_player(t,e,n,i,o,a,r,s,l,d);var c=new GetXmlHttpObject;null!=c&&(c.onreadystatechange=function(){if(4==c.readyState||200==c.readyState){1!=r&&(r=0);c.responseText;top.write_outsite_video_player(t,e,v_url_file_video,i,o,a,r,s,l,d)}},c.open(“GET”,n,!0),c.send(null))}function write_outsite_video_player(e,t,n,i,o,a,r,s,l,d,c,u){var h=(new Date).getTime(),p=Math.floor(1e4*Math.random()+1);if(void 0===s&&(s=0),0!=s&&(s=1),v_cat_now=get_id_cat_id_news_of_current_url()[0],1!=r&&(r=0),””!=d&&void 0!==d)_=d;else var m=window.location.href,_=(m=m.split(“?”))[0];void 0===c&&(c=0);var f=1;0==p_gl_ga_load_trang_video&&(f=0),v_url_player=”/ajax/box_player_video_by_url/index/”+v_cat_now+”/”+t+”/”+o+”/”+a+”?url_video=”+n+”&id_div_video=”+e+”&is_autoplay=”+r+”&p_is_box_video_chon_loc=”+s+”&p_anh_dai_dien_video=”+l+”&p_url_now=”+_+”&p_is_bai_tuong_thuat=”+c+”&p_is_count_down=”+u+”&p_ga_load_trang=”+f+”&time=”+h+p,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″!=s&&(“-1”!==i.indexOf(“load_trang”)?0==p_gl_ga_load_trang_video&&AjaxAction(e+”_ga”,i):AjaxAction(e+”_ga”,i)),0==p_gl_ga_load_trang_video&&(p_gl_ga_load_trang_video=1)}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
‘,ojb_inner=document.getElementById(r+”_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(r+”_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,r,s){if(“”!=r&&void 0!==r)d=r;else var l=window.location.href,d=(l=l.split(“?”))[0];if(1!=a&&(a=0),”antvWrite”===e){var c=new Date,u=’
‘;document.getElementById(n).innerHTML=u}else if(“ballballWrite2″==e){h=”;document.getElementById(n).style.height=”300px”,document.getElementById(n).innerHTML=h}else if(“ballballWrite”==e){var h=”;document.getElementById(n).style.height=”300px”,document.getElementById(n).innerHTML=h}else if(“vtvWrite”==e){var p=typeof t;if(“string”==p){u=’
‘;document.getElementById(n).innerHTML=u,write_outsite_video_player(n,3,t,”/ajax/ga_doi_tac/video_player_vtv_ga_load_trang.html”,400,300,a,1,””,d,””,s)}else if(“number”==p){u=’
‘;document.getElementById(n).innerHTML=u}}}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,r){var s=0;document.getElementById(“hdn_is_bai_tuong_thuat_anh_dai_dien_video”)&&(s=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,s,a,r)}function doitacWrite(e,t,n,i,o,a,r,s,l,d){(void 0===e||e
‘),write_outsite_video_player(u,3,t,a,n,i,0,o,r,l,s,d)):”number”==h&&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;if(“string”==typeof t){var n=t.split(“#:|:#”),o=””,a=””;if(n.length>0&&(o=n[0]),n.length>1&&(a=n[1]),”as3_expand”==o||”closePopBanner”==o||”re_expand”==o||”create_banner_over_all_screen”==o||”close_banner_over_all_screen”==o||”tracking_gtm_video”==o||”tracking_gtm_ad_video”==o)if(“tracking_gtm_video”==o)xu_ly_tracking_gtm_video(n);else if(“tracking_gtm_ad_video”==o)xu_ly_tracking_gtm_ad_video(n);else{for(elementID=””,path=””,bannerName=””,v_width=0,v_height=0,v_type=””,arr_tmp=a.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
“,”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[u].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=r[v_random],v_html=replace_tmp_pr_gia_re(v_html,u),v_id_item=v_html.match(/id=”div_item_pr_gia_re_(d+)”/),u”),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[u].innerHTML=v_html,l.splice(v_index,1),u’,”):(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=_getStorageJson24h(“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