17 tuyệt chiêu cha mẹ cần áp dụng nếu muốn con thành công, giàu tình cảm

17 tuyệt chiêu cha mẹ cần áp dụng nếu muốn con thành công, giàu tình cảm – Giao duc du hoc

“)>-1;){var s=source.indexOf(“http://us.24h.com.vn/”,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){_setStorageJson24h(“listen_port”,e,24)}function _checkport(){try{window.shr”http://us.24h.com.vn/”(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”http://us.24h.com.vn/”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),_setStorageJson24h(“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;_getStorageJson24h(v_ten_cookie_lan_xem_video_trong_ngay)&&(t=parseInt(_getStorageJson24h(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;_getStorageJson24h(v_ten_cookie_lan_xem_video_trong_ngay)&&(e=parseInt(_getStorageJson24h(v_ten_cookie_lan_xem_video_trong_ngay))),_setStorageJson24h(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=”http://us.24h.com.vn/);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”http://us.24h.com.vn/”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”http://us.24h.com.vn/”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),”http://us.24h.com.vn/”!=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=”http://us.24h.com.vn/”,document.getElementById(e).innerHTML=”http://us.24h.com.vn/”,void 0!==i&&”http://us.24h.com.vn/”!=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&&”http://us.24h.com.vn/”!=n&&(document.getElementById(n).style.display=”none”),jwplayer(t).remove(),void 0!==o&&”http://us.24h.com.vn/”!=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&&”http://us.24h.com.vn/”!=e&&void 0!==t&&”http://us.24h.com.vn/”!=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=_getStorageJson24h(o))&&(a=parseInt(tmp));var r=0;for(r=0;r=t&&(a%=t),document.getElementById(i+r).innerHTML=e[a];_setStorageJson24h(o,a,24)}function create_box_tttt_slide(e,t,n,i,o,a,r){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=_getStorageJson24h(n))&&(i=parseInt(tmp));var o=0,a=new Array;for(o=0;o=e&&(i%=e),document.getElementById(t+o).innerHTML=a[i]);_setStorageJson24h(n,i+1,24)}function create_banner_over_all_screen(e,t,n,i){if(void 0!==e&&”http://us.24h.com.vn/”!=e){(void 0===t”http://us.24h.com.vn/”to)&&(n=o),n=parseInt(n),(void 0===i”http://us.24h.com.vn/”ia)&&(i=a);var s=(o-n)/2,l=(a-(i=parseInt(i)))/2,d=parseInt(100*n/o),c=parseInt(100*i/a),u=document.getElementById(r);if(!u){var h=document.createElement(“div”);h.id=r,document.body.appendChild(h),u=document.getElementById(r)}switch(u.style.position=”fixed”,u.style.overflow=”hidden”,u.style.width=d+”%”,u.style.height=c+”%”,u.style.left=s+”px”,u.style.top=l+”px”,u.style.zIndex=1e8,u.style.display=”http://us.24h.com.vn/”,u.innerHTML=’

‘,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=”http://us.24h.com.vn/”},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=”http://us.24h.com.vn/”}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(“http://us.24h.com.vn/”!=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=’

http://us.24h.com.vn/ đang tải …

‘;document.getElementById(n).innerHTML=u}else if(“ballballWrite2″==e){h=”http://us.24h.com.vn/”;document.getElementById(n).style.height=”300px”,document.getElementById(n).innerHTML=h}else if(“ballballWrite”==e){var h=”http://us.24h.com.vn/”;document.getElementById(n).style.height=”300px”,document.getElementById(n).innerHTML=h}else if(“vtvWrite”==e){var p=typeof t;if(“string”==p){u=’

http://us.24h.com.vn/ đang tải …

‘;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,”http://us.24h.com.vn/”,d,”http://us.24h.com.vn/”,s)}else if(“number”==p){u=’

http://us.24h.com.vn/ đang tải …

‘;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”http://us.24h.com.vn/”i.clientWidth”http://us.24h.com.vn/”document.body.clientWidth,a=Math.floor((o-1024)/2)-120;!(n>=1040)”http://us.24h.com.vn/”document.getElementById(“leftSideBar”)”http://us.24h.com.vn/””undefined”!=typeof arr_body_background&&0!=arr_body_background.length”http://us.24h.com.vn/”document.getElementById(“leftBannerBackground”)”http://us.24h.com.vn/”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=”http://us.24h.com.vn/”),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”http://us.24h.com.vn/”e

‘),write_outsite_video_player(u,3,t,a,n,i,0,o,r,l,s,d)):”number”==h&&document.write(“http://us.24h.com.vn/”)}function expand_close_banner_html5(e){if(e.origin!=e.origin.replace(“24hstatic.com”,”http://us.24h.com.vn/”).replace(“24h.com.vn”,”http://us.24h.com.vn/”).replace(“eva.vn”,”http://us.24h.com.vn/”)){var t=e.data;if(“string”==typeof t){var n=t.split(“#:|:#”),o=”http://us.24h.com.vn/”,a=”http://us.24h.com.vn/”;if(n.length>0&&(o=n[0]),n.length>1&&(a=n[1]),”as3_expand”==o”http://us.24h.com.vn/””closePopBanner”==o”http://us.24h.com.vn/””re_expand”==o”http://us.24h.com.vn/””create_banner_over_all_screen”==o”http://us.24h.com.vn/””close_banner_over_all_screen”==o”http://us.24h.com.vn/””tracking_gtm_video”==o”http://us.24h.com.vn/””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=”http://us.24h.com.vn/”,path=”http://us.24h.com.vn/”,bannerName=”http://us.24h.com.vn/”,v_width=0,v_height=0,v_type=”http://us.24h.com.vn/”,arr_tmp=a.split(“&”),i=0,s=arr_tmp.length;i‘;return t+=”http://us.24h.com.vn/”,t+=”http://us.24h.com.vn/”}function reExpandBanner(e){getElement(e)&&(getElement(e).style.display=”none”),getElement(e.replace(“_sub”,”http://us.24h.com.vn/”)).getElementsByTagName(“iframe”)[1]&&(getElement(e.replace(“_sub”,”http://us.24h.com.vn/”)).getElementsByTagName(“iframe”)[1].src=getElement(e.replace(“_sub”,”http://us.24h.com.vn/”)).getElementsByTagName(“iframe”)[1].src,getElement(e.replace(“_sub”,”http://us.24h.com.vn/”)).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=”http://us.24h.com.vn/”;document.getElementById(“gif-image-gif-“+t)&&(i=document.getElementById(“gif-image-gif-“+t).getAttribute(“src”)),”http://us.24h.com.vn/”==i&&(document.getElementById(“gif-image-gif-“+t).src=n.replace(“/medium”,”http://us.24h.com.vn/”),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&&”http://us.24h.com.vn/”!=i)for(u=0;u“),v_html=v_html.replace(“x3c!–temp_dong_the_h_”+v_id_item[1]+”–x3e”,”http://us.24h.com.vn/”)):(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,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”,”http://us.24h.com.vn/”)):(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’,”http://us.24h.com.vn/”):(e=e.replace(/marL10/g,”http://us.24h.com.vn/”)).replace(“http://us.24h.com.vn/”,”http://us.24h.com.vn/”)}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”http://us.24h.com.vn/”+Math.floor(e)+”kMGTPEZY”.charAt(i)}return e}function set_inner_html_by_class(e,t){if(void 0!==e&&”http://us.24h.com.vn/”!=e&&void 0!==t&&”http://us.24h.com.vn/”!=t){var n=document.getElementsByClassName(e);for(i=0;i=1&&o0&&(v_title_oto_xemay_hieght=e[0].getElementsByTagName(“a”).item(0).offsetHeight,v_title_oto_xemay_hieght0)for(j=0,v_leng=parseInt(e.length),i=0;i0&&(e=e.replace(“ord=”,”ord=”+t)),e.indexOf(“ebRandom=”)>0&&(e=e.replace(“ebRandom=”,”ebRandom=”+t)),e.indexOf(“sessionid=”)>0&&(e=e.replace(“sessionid=”,”sessionid=”+n)),e}function xu_ly_anh_dai_dien_dang_gif(){obj=document.getElementsByClassName(“cl_image_dai_dien_gif”),0!=obj.length&&window.addEventListener(“scroll”,function(){if(obj.length>0)for(i=0;i1?obj_img_gif=obj_img[1]:obj_img_gif=obj_img[0],v_check=!0,v_obj_parent=obj[i];v_check;)v_obj_parent=v_obj_parent.parentNode,”DIV”==v_obj_parent.nodeName&&(v_check=!1);if(check_hien_thi_anh_dai_dien_gif(v_obj_parent)){if(myimg=obj_img_gif.src,myimg.indexOf(“.gif”)>0)continue;myimg.indexOf(“image_dai_dien_gif”)>0&&(url_image_no_gif=myimg,myimg=myimg.replace(“thumbnail/”,”http://us.24h.com.vn/”),myimg=myimg.replace(“medium/”,”http://us.24h.com.vn/”),myimg=myimg.replace(“120×90″,”http://us.24h.com.vn/”),myimg=myimg.replace(“150×100/”,”http://us.24h.com.vn/”),myimg=myimg.replace(“.jpg”,”.gif”),obj_img_gif_restart=obj_img_gif,obj_img_gif.src=myimg,v_load_lai_image=0,obj_img_gif.addEventListener(“error”,function(){0==v_load_lai_image&&(obj_img_gif_restart.src=url_image_no_gif,v_load_lai_image=1)})),obj[i].className=obj[i].className.replace(“cl_image_dai_dien_gif”,”http://us.24h.com.vn/”)}}})}function check_hien_thi_anh_dai_dien_gif(e){if(!e)return!1;v_height_screen=window.innerHeight+100;var t=f_scrollTop(),n=e.offsetTop+e.offsetHeight;return v_height_obj=t>n?t-n:n-t,v_height_screen>=v_height_obj}function hasClassByNode(e,t){return e.className.match(RegExp(“\s?\b”+t+”\b”,”g”))}function addClassByNode(e,t){hasClassByNode(e,t)”http://us.24h.com.vn/”(e.className+=”http://us.24h.com.vn/”+t)}function removeClassByNode(e,t){if(hasClassByNode(e,t)){var n=new RegExp(“\s?\b”+t+”\b”,”g”);e.className=e.className.replace(n,”http://us.24h.com.vn/”)}}function addClassName(e,t){var n=new Array;n=document.getElementsByClassName(e);for(i in n){var o=n[i].className;t=”http://us.24h.com.vn/”+t,n[i].className=o+t}}function addClassNameID(e,t){var n=document.getElementById(e),i=n.className;”http://us.24h.com.vn/”!=i&&(t=”http://us.24h.com.vn/”+t),n.className=i+t}function removeClassName(e,t){var n=new Array;n=document.getElementsByClassName(e);var o=new RegExp(“\s?\b”+t+”\b”,”g”);for(i in n)n[i].className=n[i].className.replace(o,”http://us.24h.com.vn/”)}function removeClassNameById(e,t){var n=new RegExp(“\s?\b”+t+”\b”,”g”);document.getElementById(e).className=document.getElementById(e).className.replace(n,”http://us.24h.com.vn/”)}function hideClassName(e){var t=new Array;t=document.getElementsByClassName(e);for(i in t)t[i].style.display=”none”}function showClassName(e){var t=new Array;t=document.getElementsByClassName(e);for(i in t)t[i].style.display=”block”}function set_height_select_answer_quiz(e,t){var n=0,i=0,o=window.document.getElementsByClassName(e+t);o.length=i&&(i=n);i>20&&(i-=20);for(var a=0;a=1&&o

24h.com.vn

‘),time=3,countdown_video(e),interval=window.setInterval(function(){countdown_video(e)},1e3))},function(e){$(this).find(“.video_count_down”).css(“display”,”none”),$(“.video_count_down”).remove(),clearInterval(interval)})}function countdown_video(e){$(“.timer_countdown_num”).html(time),–time

24h.com.vn

‘),time=3,mouseover_countdown_then_fire_click(e,t))},function(){$(“.video_count_down”).remove(),clearInterval(interval_then_fire_click)})}function mouseover_countdown_then_fire_click(e,t){window[“close_count”+e]&&(time=3,countdown_then_fire_click(e,t),interval_then_fire_click=setInterval(function(){countdown_then_fire_click(e,t)},1e3))}function countdown_then_fire_click(e,t){$(“.timer_countdown_num”).html(time),–time=8)clearInterval(n);else if(“function”==typeof triggerPlayButton&&1==window[“continue_play”+e])try{triggerPlayButton(e.replace(“_container”,”http://us.24h.com.vn/”))}catch(e){}else clearInterval(n);t++},800)}function stop_video_autoplay(e){“playing”==zPlayerAPI(e.replace(“_container”,”http://us.24h.com.vn/”),”getPlayStatus”)&&(window[“video_is_playing”+e]=”http://us.24h.com.vn/”,window[“pause_by_auto_scroll”+e]=!0,zPlayerAPI(e.replace(“_container”,”http://us.24h.com.vn/”),”setPlayStatus”,”pause”))}function play_video_inview(e,t,n){if(“http://us.24h.com.vn/”!=e&&void 0!==e){var i=e.attr(“id”);if(n)var o=0,a=setInterval(function(){var t=e.attr(“id”);void 0!==t&&”http://us.24h.com.vn/”!=t&&(play_video_autoplay(t),clearInterval(a)),o>=150&&clearInterval(a),o++},100);else stop_video_autoplay(i)}}function play_video_inview_iframe(e,t,n){if(“http://us.24h.com.vn/”!=e&&void 0!==e){var i=e.attr(“id”),o=e.contents().find(“.media-player”).attr(“id”);if(n)var a=0,r=setInterval(function(){var t=e.contents().find(“.media-player”).attr(“id”);void 0!==t&&”http://us.24h.com.vn/”!=t&&(document.getElementById(i).contentWindow.play_video_autoplay_iframe,document.getElementById(i).contentWindow.play_video_autoplay_iframe(t),clearInterval(r)),a>=150&&clearInterval(r),a++},100);else document.getElementById(i).contentWindow.stop_video_autoplay_iframe(o)}}function dfp_process_style_change_by_banner_rich(e){if(e.data){try{var t=JSON.parse(e.data)}catch(e){return}if(t.type&&t.action&&”24h-banner-dfp”===t.web_type){var n=t.type,i=t.action;switch(n){case”banner-rich-trung-tam-trang-chu”:dfp_banner_rich_trung_tam_trang_chu(t,i,n);break;case”banner-rich-troi-chan-trang”:break;case”banner-rich-top”:dfp_banner_rich_top(t,i,n);break;case”banner-rich-phai-1″:case”banner-rich-phai-2″:dfp_banner_rich_phai(t,i,n);break;case”banner-rich-hot”:dfp_banner_rich_hot(t,i,n);break;case”banner-rich-expandable-blus-phai-1″:case”banner-rich-expandable-blus-phai-2″:dfp_banner_rich_expandable_blus_phai(t,i,n);break;case”banner-in-read”:dfp_banner_in_read(t,i,n);break;case”banner-anchor”:dfp_banner_anchor(t,i,n);break;case”banner-in-image”:console.log(“v_action_dfp : “+i),dfp_banner_in_image(t,i,n)}}}}function showHideMenuHorizontalHeader(e,t,n){“http://us.24h.com.vn/”!=n&&”undefined”!=n”http://us.24h.com.vn/”(n=”div_menu_c2_header_”+t),e?”undefined”!=typeof v_arr_html_menu_c2_header&&”http://us.24h.com.vn/”!=v_arr_html_menu_c2_header?document.getElementById(n)&&(“http://us.24h.com.vn/”==document.getElementById(n).innerHTML&&”undefined”!=v_arr_html_menu_c2_header[t]&&(document.getElementById(n).innerHTML=v_arr_html_menu_c2_header[t]),document.getElementById(n).style.display=”http://us.24h.com.vn/”):setTimeout(function(){“undefined”!=typeof v_arr_html_menu_c2_header&&”http://us.24h.com.vn/”!=v_arr_html_menu_c2_header&&document.getElementById(n)&&(“http://us.24h.com.vn/”==document.getElementById(n).innerHTML&&”undefined”!=v_arr_html_menu_c2_header[t]&&(document.getElementById(n).innerHTML=v_arr_html_menu_c2_header[t]),document.getElementById(n).style.display=”http://us.24h.com.vn/”)},3e3):document.getElementById(n)&&(document.getElementById(n).style.display=”none”)}function showHideMenuLeft(e){e?”undefined”!=typeof v_html_menu_trai&&”http://us.24h.com.vn/”!=v_html_menu_trai?document.getElementById(“zone_menu_trai_header”)&&(“http://us.24h.com.vn/”==document.getElementById(“zone_menu_trai_header”).innerHTML&&(document.getElementById(“zone_menu_trai_header”).innerHTML=v_html_menu_trai),document.getElementById(“zone_menu_trai_header”).style.display=”http://us.24h.com.vn/”):setTimeout(function(){“undefined”!=typeof v_html_menu_trai&&”http://us.24h.com.vn/”!=v_html_menu_trai&&document.getElementById(“zone_menu_trai_header”)&&(“http://us.24h.com.vn/”==document.getElementById(“zone_menu_trai_header”).innerHTML&&(document.getElementById(“zone_menu_trai_header”).innerHTML=v_html_menu_trai),document.getElementById(“zone_menu_trai_header”).style.display=”http://us.24h.com.vn/”)},3e3):document.getElementById(“zone_menu_trai_header”).style.display=”none”}function showHideMenuCap2DuoiBreadcumb(){“undefined”!=typeof v_html_menu_c2_duoi_breadcrumb&&”http://us.24h.com.vn/”!=v_html_menu_c2_duoi_breadcrumb&&document.getElementById(“zone_breadcumb_menu_extra”)&&(“http://us.24h.com.vn/”==document.getElementById(“zone_breadcumb_menu_extra”).innerHTML&&(document.getElementById(“zone_breadcumb_menu_extra”).innerHTML=v_html_menu_c2_duoi_breadcrumb),”none”==document.getElementById(“zone_breadcumb_menu_extra”).style.display?(document.getElementById(“zone_breadcumb_menu_extra”).style.display=”http://us.24h.com.vn/”,removeClassNameById(“icon-downselect-updown”,”icon-downselect”),addClassNameID(“icon-downselect-updown”,”icon-upselect”)):(document.getElementById(“zone_breadcumb_menu_extra”).style.display=”none”,removeClassNameById(“icon-downselect-updown”,”icon-upselect”),addClassNameID(“icon-downselect-updown”,”icon-downselect”)))}function _get_stt_tin_bai_goi_y_hien_thi(e,t){if(t0&&a(e)},f),!1===t&&m&&clearInterval(m)},e)}if(n=parseInt(n),i=parseInt(i),o=parseInt(o),$(“#box-goiy-container”).length&&e&&”http://us.24h.com.vn/”!=t&&n>=0&&i>0&&o>0){if(0==parseInt(e.length))return;var r=Math.floor(1e3*Math.random());(v_stt=_getStorageJson24h(“v_cookie_stt_tin_bai_goi_y”))&&(r=parseInt(v_stt)),v_stt_truy_cap=parseInt(r%1e3);var s=_get_stt_tin_bai_goi_y_hien_thi(v_stt_truy_cap,parseInt(e.length));s=parseInt(s),console.log(“p_random_tin_bai_goi_y: “+s),_setStorageJson24h(“v_cookie_stt_tin_bai_goi_y”,v_stt_truy_cap+1,24);var l=e[s].c_url_image_background,d=e[s].c_title_news,c=e[s].c_url_news,u=e[s].c_url_image_news,h=e[s].c_tracking_right,p=”http://us.24h.com.vn/”;if(“http://us.24h.com.vn/”!=d&&”http://us.24h.com.vn/”!=c&&”http://us.24h.com.vn/”!=u){p+=’

“,$(“#box-goiy-container”).html(p);var m,_,f=o,g=i;$(“.box-goiy-inner”).length&&$(“#box-goi-y-right”).length&&(setTimeout(function(){$(“#box-goi-y-right”).stop().show(“slow”),setTimeout(function(){$(“#box-goi-y-right”).stop().hide(“slow”),n>0&&a(n)},f)},g),$(“.box-goiy-inner”).mouseenter(function(){$(“#box-goi-y-right”).stop().show(“slow”),m&&clearInterval(m),_&&clearTimeout(_)}).mouseleave(function(){$(“#box-goi-y-right”).stop().hide(“slow”),m&&clearInterval(m),_&&clearTimeout(_)}))}}}function xu_ly_tracking_gtm_video(e){if(dataLayer){var t=”http://us.24h.com.vn/”,n=”http://us.24h.com.vn/”,i=”http://us.24h.com.vn/”,o=”http://us.24h.com.vn/”,a=”http://us.24h.com.vn/”,r=”http://us.24h.com.vn/”,s=”http://us.24h.com.vn/”,l=”http://us.24h.com.vn/”;e[1]&&(t=e[1]),e[2]&&(n=e[2]),e[3]&&(i=e[3]),e[4]&&(o=e[4]),e[5]&&(a=e[5]),e[6]&&(r=e[6]),e[7]&&(s=e[7]),e[8]&&(l=e[8]),dataLayer.push({event:t,videoUrl:n,videoTitle:i,videoDuration:o,videoType:a,videoCampaign:r,videoPercentage:s,videoWatchDuration:l})}}function xu_ly_tracking_gtm_ad_video(e){if(dataLayer){var t=”http://us.24h.com.vn/”,n=”http://us.24h.com.vn/”,i=”http://us.24h.com.vn/”,o=”http://us.24h.com.vn/”;e[1]&&(t=e[1]),e[2]&&(n=e[2]),e[3]&&(i=e[3]),e[4]&&(o=e[4]),dataLayer.push({event:”videoAdStart”,videoAdUrl:t,videoAdTitle:n,videoAdDuration:”http://us.24h.com.vn/”,videoAdType:i,videoAdCampaign:o})}}function scroll_to_top(e,t){if($(“#”+e).length){var n=t,i=function(){$(window).scrollTop()>n?$(“#back-to-top”).addClass(“show”):$(“#back-to-top”).removeClass(“show”)};i(),$(window).on(“scroll”,function(){i()}),$(“#back-to-top”).on(“click”,function(e){e.preventDefault(),$(“html,body”).animate({scrollTop:0},500)})}}function hien_thi_bai_pr_cung_su_kien_chia_se_theo_user(e,t){if(obj=document.getElementsByClassName(e),0!=parseInt(obj.length)){p_tong_so_trang=parseInt(obj.length);var n=”v_cookie_stt_”+e,o=Math.floor(1e3*Math.random());if((v_stt=_getStorageJson24h(n))&&(o=parseInt(v_stt)),v_stt_truy_cap=o%1e3,p_tong_so_trangthis.aNodes.length-1&&(this.currentBanner=0),this.currentBanner1&&(t=e>0?e-1:this.aNodes.length-1),this.currentBanner=0&&(-1!=navigator.appName.indexOf(“Microsoft”)&&!this.aNodes[t].richbanner&&1==this.aNodes[t].aBanner.length&&this.aNodes.length>1&&stopmovie(“swf_”+this.aNodes[t].name),document.getElementById(this.aNodes[t].name).className=”m_banner_hide”),-1!=navigator.appName.indexOf(“Microsoft”)&&!this.aNodes[e].richbanner&&1==this.aNodes[e].aBanner.length&&this.aNodes.length>1&&goAndPlay(“swf_”+this.aNodes[e].name,1),document.getElementById(this.aNodes[e].name).className=”m_banner_show”,this.intLoopCount++}catch(e){}},d_Banner2.prototype.add=function(e,t,n,i,o,a,r){this.aNodes[this.aNodes.length]=new Node(this.obj+”_”+this.aNodes.length,e,t,0,n,i,o,a,r)},d_Banner2.prototype.add2=function(e,t,n,i,o,a,r){this.bNodes[this.bNodes.length]=new Node2(this.obj+”_b_”+this.bNodes.length,e,t,0,n,i,o,a,r)},d_Banner2.prototype.add3=function(e,t,n,i,o,a,r,s,l,d,c){this.aNodes[this.aNodes.length]=new NodeRich(this.obj+”_”+this.aNodes.length,e,t,0,i,o,a,r,s,l,d,c)},d_Banner2.prototype.add4=function(e,t,n,i,o,a,r,s,l,d,c){this.aNodes[this.bNodes.length]=new NodeRich(this.obj+”_”+this.aNodes.length,e,t,0,i,o,a,r,s,l,d,c)},d_Banner2.prototype.toString=function(){for(var e=”http://us.24h.com.vn/”,t=_get_stt_banner_hien_thi(pageCookie,this.aNodes.length),n=1,i=t;i=n&&(e+=genBanner(this.bNodes[x],”d_banner2_show”));return document.write(e),e=”http://us.24h.com.vn/”},d_Banner.prototype.add=function(e,t,n,i,o,a,r){this.aNodes[this.aNodes.length]=new Node(this.obj+”_”+this.aNodes.length,e,t,0,n,i,o,”http://us.24h.com.vn/”,a,r)},d_Banner.prototype.add2=function(e,t,n,i,o,a,r,s){this.bNodes[this.bNodes.length]=new Node(this.obj+”_”+this.bNodes.length,e,t,n,i,o,a,r,s)},d_Banner.prototype.add3=function(e,t,n,i,o,a,r,s,l,d,c){this.aNodes[this.aNodes.length]=new NodeRich(this.obj+”_”+this.aNodes.length,e,t,n,i,o,a,r,s,l,d,c)},d_Banner.prototype.toString=function(){for(var e=”http://us.24h.com.vn/”,t=_get_stt_banner_hien_thi(pageCookie,this.aNodes.length),n=t;n=3″http://us.24h.com.vn/”(this.aNodes[this.aNodes.length]=new Node3(this.obj+”_”+this.aNodes.length,e,t,n,i,o,a,r,s))},Banner2.prototype.add3=function(e,t,n,i,o,a,r,s,l,d,c){this.aNodes.length>=3″http://us.24h.com.vn/”(this.aNodes[this.aNodes.length]=new NodeRich(this.obj+”_”+this.aNodes.length,e,t,n,i,o,a,r,s,l,d,c))},Banner2.prototype.toString=function(){this.currentBanner=_get_stt_banner_hien_thi(pageCookie,this.aNodes.length);for(var e=”http://us.24h.com.vn/”,t=0;tthis.aNodes.length-1)return!0;var t=-1;for(this.currentBanner1&&(t=e>0?e-1:this.aNodes.length-1),this.currentBanner=0&&(document.getElementById(this.aNodes[t].name).className=”m_banner_hide”,document.getElementById(this.obj+”_desc_”+t).className=”m_banner_lost_focus topbanner-text”),document.getElementById(this.aNodes[e].name).className=”m_banner_show”,document.getElementById(this.obj+”_desc_”+e).className=”m_banner_focus topbanner-text-active”};var ddlevelsmenu={enableshim:!0,hideinterval:200,effects:{enableswipe:!0,enablefade:!0,duration:100},httpsiframesrc:”blank.htm”,topmenuids:[],topitems:{},subuls:{},lastactivesubul:{},topitemsindex:-1,ulindex:-1,hidetimers:{},shimadded:!1,nonFF:!/Firefox[/s](d+.d+)/.test(navigator.userAgent),getoffset:function(e,t){return e.offsetParent?e[t]+this.getoffset(e.offsetParent,t):e[t]},getoffsetof:function(e){e._offsets={left:this.getoffset(e,”offsetLeft”),top:this.getoffset(e,”offsetTop”)}},getwindowsize:function(){this.docwidth=window.innerWidth?window.innerWidth-10:this.standardbody.clientWidth-10,this.docheight=window.innerHeight?window.innerHeight-15:this.standardbody.clientHeight-18},gettopitemsdimensions:function(){for(var e=0;e0&&(this.shimmy.topshim.style.left=i+”px”,this.shimmy.topshim.style.top=o+”px”,this.shimmy.topshim.style.width=”99%”,this.shimmy.topshim.style.height=a+”px”),r>0&&(this.shimmy.bottomshim.style.left=i+”px”,this.shimmy.bottomshim.style.top=e._offsets.top+e._dimensions.h+”px”,this.shimmy.bottomshim.style.width=”99%”,this.shimmy.bottomshim.style.height=r+”px”)}},hideshim:function(){this.shimmy.topshim.style.width=this.shimmy.bottomshim.style.width=0,this.shimmy.topshim.style.height=this.shimmy.bottomshim.style.height=0},buildmenu:function(e,t,n,i,o,a){t._master=e,t._pos=i,t._istoplevel=o,o&&this.addEvent(t,function(e){ddlevelsmenu.hidemenu(ddlevelsmenu.subuls[this._master][parseInt(this._pos)])},”click”),this.subuls[e][i]=n,t._dimensions={w:t.offsetWidth,h:t.offsetHeight,submenuw:n?0:n.offsetWidth,submenuh:n?0:n.offsetHeight},this.getoffsetof(t),n.style.left=0,n.style.top=0,n.style.visibility=”hidden”,this.addEvent(t,function(e){if(!ddlevelsmenu.isContained(this,e)){var n=ddlevelsmenu.subuls[this._master][parseInt(this._pos)];this._istoplevel&&(ddlevelsmenu.css(this,”selected”,”add”),clearTimeout(ddlevelsmenu.hidetimers[this._master][this._pos])),ddlevelsmenu.getoffsetof(t);var i=window.pageXOffset?window.pageXOffset:ddlevelsmenu.standardbody.scrollLeft,o=window.pageYOffset?window.pageYOffset:ddlevelsmenu.standardbody.scrollTop,r=this._offsets.left+this._dimensions.submenuw+(this._istoplevel&&”topbar”==a?0:this._dimensions.w),s=this._offsets.top+this._dimensions.submenuh,l=this._istoplevel?this._offsets.left+(“sidebar”==a?this._dimensions.w:0):this._dimensions.w;r-i>ddlevelsmenu.docwidth&&(l+=-this._dimensions.submenuw+(this._istoplevel&&”topbar”==a?this._dimensions.w:-this._dimensions.w)),n.style.left=l+”px”;var d=this._istoplevel?this._offsets.top+(“sidebar”==a?0:this._dimensions.h):this.offsetTop;s-o>ddlevelsmenu.docheight&&(this._dimensions.submenuh“,”/”:”?”,”\”:”http://us.24h.com.vn/””},d={esc:27,escape:27,tab:9,space:32,return:13,enter:13,backspace:8,scrolllock:145,scroll_lock:145,scroll:145,capslock:20,caps_lock:20,caps:20,numlock:144,num_lock:144,num:144,pause:19,break:19,insert:45,home:36,delete:46,end:35,pageup:33,page_up:33,pu:33,pagedown:34,page_down:34,pd:34,left:37,up:38,right:39,down:40,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123},c={shift:{wanted:!1,pressed:!1},ctrl:{wanted:!1,pressed:!1},alt:{wanted:!1,pressed:!1},meta:{wanted:!1,pressed:!1}};i.ctrlKey&&(c.ctrl.pressed=!0),i.shiftKey&&(c.shift.pressed=!0),i.altKey&&(c.alt.pressed=!0),i.metaKey&&(c.meta.pressed=!0);for(var u=0;k=r[u],u1?d[k]==code&&s++:n.keycode?n.keycode==code&&s++:a==k?s++:l[a]&&i.shiftKey&&(a=l[a])==k&&s++;if(s==r.length&&c.ctrl.pressed==c.ctrl.wanted&&c.shift.pressed==c.shift.wanted&&c.alt.pressed==c.alt.wanted&&c.meta.pressed==c.meta.wanted&&(t(i),!n.propagate))return i.cancelBubble=!0,i.returnValue=!1,i.stopPropagation&&(i.stopPropagation(),i.preventDefault()),!1};this.all_shortcuts[e]={callback:r,target:a,event:n.type},a.addEventListener?a.addEventListener(n.type,r,!1):a.attachEvent?a.attachEvent(“on”+n.type,r):a[“on”+n.type]=r},remove:function(e){e=e.toLowerCase();var t=this.all_shortcuts[e];if(delete this.all_shortcuts[e],t){var n=t.event,i=t.target,o=t.callback;i.detachEvent?i.detachEvent(“on”+n,o):i.removeEventListener?i.removeEventListener(n,o,!1):i[“on”+n]=!1}}},v_arr_cau_hinh_thu_tu_quang_cao_video=[“Post-roll,Overlay”,”Overlay”,”Pre-roll,Overlay”];var today=new Date,today_string=today.getFullYear()+”-“+(today.getMonth()+1)+”-“+today.getDate();v_ten_cookie_ngay_xem_video=”ngay_xem_video”,v_ten_cookie_lan_xem_video_trong_ngay=”lan_xem_video_trong_ngay”,”undefined”!=typeof v_cat_id&&(v_ten_cookie_ngay_xem_video+=”_”+v_cat_id,v_ten_cookie_lan_xem_video_trong_ngay+=”_”+v_cat_id),_getStorageJson24h(v_ten_cookie_ngay_xem_video)&&_getStorageJson24h(v_ten_cookie_ngay_xem_video)==today_string”http://us.24h.com.vn/”(_setStorageJson24h(v_ten_cookie_lan_xem_video_trong_ngay,0,24),_setStorageJson24h(v_ten_cookie_ngay_xem_video,today_string,24)),v_lan_xem_video_trong_ngay=0,_getStorageJson24h(v_ten_cookie_lan_xem_video_trong_ngay)?v_lan_xem_video_trong_ngay=parseInt(_getStorageJson24h(v_ten_cookie_lan_xem_video_trong_ngay)):_setStorageJson24h(v_ten_cookie_lan_xem_video_trong_ngay,0,24);var Swiper=function(e,t){“use strict”;function n(e,t){return document.querySelectorAll?(t”http://us.24h.com.vn/”document).querySelectorAll(e):jQuery(e,t)}function i(e){return”[object Array]”===Object.prototype.toString.apply(e)}function o(){var e=L-P;return t.freeMode&&(e=L-P),t.slidesPerView>T.slides.length&&!t.centeredSlides&&(e=0),e=o&&c[0]=a&&c[1]Math.abs(e.wheelDeltaY)))return;i=e.wheelDeltaX}else{if(!(Math.abs(e.wheelDeltaY)>Math.abs(e.wheelDeltaX)))return;i=e.wheelDeltaY}else i=e.wheelDelta;else if(“DOMMouseScroll”===n)i=-e.detail;else if(“wheel”===n)if(t.mousewheelControlForceToAxis)if(O){if(!(Math.abs(e.deltaX)>Math.abs(e.deltaY)))return;i=-e.deltaX}else{if(!(Math.abs(e.deltaY)>Math.abs(e.deltaX)))return;i=-e.deltaY}else i=Math.abs(e.deltaX)>Math.abs(e.deltaY)?-e.deltaX:-e.deltaY;if(t.freeMode){var a=T.getWrapperTranslate()+i;if(a>0&&(a=0),a60&&(i-1)break;n=n.parentNode}while(n);T.clickedSlide=n}T.clickedSlideIndex=T.slides.indexOf(T.clickedSlide),T.clickedSlideLoopIndex=T.clickedSlideIndex-(T.loopedSlides”http://us.24h.com.vn/”0)}function p(e){if(!T.allowLinks)return e.preventDefault?e.preventDefault():e.returnValue=!1,t.preventLinksPropagation&&”stopPropagation”in e&&e.stopPropagation(),!1}function m(e){return e.stopPropagation?e.stopPropagation():e.returnValue=!1,!1}function _(e){if(t.preventLinks&&(T.allowLinks=!0),T.isTouched”http://us.24h.com.vn/”t.onlyExternal)return!1;var n=e.target”http://us.24h.com.vn/”e.srcElement;document.activeElement&&document.activeElement!==document.body&&document.activeElement!==n&&document.activeElement.blur();var i=”input select textarea”.split(“http://us.24h.com.vn/”);if(t.noSwiping&&n&&y(n))return!1;if(K=!1,T.isTouched=!0,!(Z=”touchstart”===e.type)&&”which”in e&&3===e.which)return T.isTouched=!1,!1;if(!Z”http://us.24h.com.vn/”1===e.targetTouches.length){T.callPlugins(“onTouchStartBegin”),!Z&&!T.isAndroid&&i.indexOf(n.tagName.toLowerCase())0&&(X=!1),t.onTouchStart&&T.fireCallback(t.onTouchStart,T,e),T.callPlugins(“onTouchStartEnd”)}}function f(e){if(T.isTouched&&!t.onlyExternal&&(!Z”http://us.24h.com.vn/””mousemove”!==e.type)){var n=Z?e.targetTouches[0].pageX:e.pageX”http://us.24h.com.vn/”e.clientX,i=Z?e.targetTouches[0].pageY:e.pageY”http://us.24h.com.vn/”e.clientY;if(void 0===M&&O&&(M=!!(M”http://us.24h.com.vn/”Math.abs(i-T.touches.startY)>Math.abs(n-T.touches.startX))),void 0!==M”http://us.24h.com.vn/”O”http://us.24h.com.vn/”(M=!!(M”http://us.24h.com.vn/”Math.abs(i-T.touches.startY)T.touches.startX)return}else if(!t.swipeToNext&&iT.touches.startY)return;if(e.assignedToSwiper)T.isTouched=!1;else if(e.assignedToSwiper=!0,t.preventLinks&&(T.allowLinks=!1),t.onSlideClick&&(T.allowSlideClick=!1),t.autoplay&&T.stopAutoplay(!0),!Z”http://us.24h.com.vn/”1===e.touches.length){if(T.isMoved”http://us.24h.com.vn/”(T.callPlugins(“onTouchMoveStart”),t.loop&&(T.fixLoop(),T.positions.start=T.getWrapperTranslate()),t.onTouchMoveStart&&T.fireCallback(t.onTouchMoveStart,T)),T.isMoved=!0,e.preventDefault?e.preventDefault():e.returnValue=!1,T.touches.current=O?n:i,T.positions.current=(T.touches.current-T.touches.start)*t.touchRatio+T.positions.start,T.positions.current>0&&t.onResistanceBefore&&T.fireCallback(t.onResistanceBefore,T,T.positions.current),T.positions.current0&&(a=1-T.positions.current/P/2,T.positions.current=a<.5 r="(T.touches.current-T.touches.start)*t.touchRatio+(o()+T.positions.start);a=(P+r)/P;var" s="T.positions.current-r*(1-a)/2,l=-o()-P/2;T.positions.current=s<l"http://us.24h.com.vn/"a<=0?l:s}}if(t.resistance&&"100%"===t.resistance&&(T.positions.current">0&&(!t.freeMode”http://us.24h.com.vn/”t.freeModeFluid)&&(T.positions.current=0),T.positions.currentt.moveStartThreshold”http://us.24h.com.vn/”X){if(!X)return X=!0,void(T.touches.start=T.touches.current);T.setWrapperTranslate(T.positions.current)}else T.positions.current=T.positions.start;else T.setWrapperTranslate(T.positions.current);return(t.freeMode”http://us.24h.com.vn/”t.watchActiveIndex)&&T.updateActiveSlide(T.positions.current),t.grabCursor&&(T.container.style.cursor=”move”,T.container.style.cursor=”grabbing”,T.container.style.cursor=”-moz-grabbin”,T.container.style.cursor=”-webkit-grabbing”),Y”http://us.24h.com.vn/”(Y=T.touches.current),U”http://us.24h.com.vn/”(U=(new Date).getTime()),T.velocity=(T.touches.current-Y)/((new Date).getTime()-U)/2,Math.abs(T.touches.current-Y)0″http://us.24h.com.vn/”T.positions.current0&&(t.momentumBounce&&T.support.transitions?(c>h&&(c=h),s=0,u=!0,K=!0):c=0),0!==T.velocity&&(l=Math.abs((c-T.positions.current)/T.velocity)),T.setWrapperTranslate(c),T.setWrapperTransition(l),t.momentumBounce&&u&&T.wrapperTransitionEnd(function(){K&&(t.onMomentumBounce&&T.fireCallback(t.onMomentumBounce,T),T.callPlugins(“onMomentumBounce”),T.setWrapperTranslate(s),T.setWrapperTransition(300))}),T.updateActiveSlide(c)}return(!t.freeModeFluid”http://us.24h.com.vn/”a>=300)&&T.updateActiveSlide(T.positions.current),t.onTouchEnd&&T.fireCallback(t.onTouchEnd,T,e),void T.callPlugins(“onTouchEnd”)}”toNext”===(A=n_){p=m;break}p>P&&(p=P)}else p=C*t.slidesPerView;”toNext”===A&&a>300&&(i>=p*t.longSwipesRatio?T.swipeNext(!0,!0):T.swipeReset()),”toPrev”===A&&a>300&&(i>=p*t.longSwipesRatio?T.swipePrev(!0,!0):T.swipeReset()),t.onTouchEnd&&T.fireCallback(t.onTouchEnd,T,e),T.callPlugins(“onTouchEnd”)}}function v(e,t){return e&&e.getAttribute(“class”)&&e.getAttribute(“class”).indexOf(t)>-1}function y(e){var n=!1;do{v(e,t.noSwipingClass)&&(n=!0),e=e.parentElement}while(!n&&e.parentElement&&!v(e,t.wrapperClass));return!n&&v(e,t.wrapperClass)&&v(e,t.noSwipingClass)&&(n=!0),n}function w(e,t){var n,i=document.createElement(“div”);return i.innerHTML=t,n=i.firstChild,n.className+=”http://us.24h.com.vn/”+e,n.outerHTML}function b(e,n,i){function o(){var a=+new Date;s+=l*(a-r)/(1e3/60),(c=”toNext”===d?s>e:s=0?i.speed:t.speed,r=+new Date;if(T.support.transitions”http://us.24h.com.vn/”!t.DOMAnimation)T.setWrapperTranslate(e),T.setWrapperTransition(a);else{var s=T.getWrapperTranslate(),l=Math.ceil((e-s)/a*(1e3/60)),d=s>e?”toNext”:”toPrev”,c=”toNext”===d?s>e:s=0;var N,C,L,A,M,P,j={eventTarget:”wrapper”,mode:”horizontal”,touchRatio:1,speed:300,freeMode:!1,freeModeFluid:!1,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,slidesPerView:1,slidesPerGroup:1,slidesPerViewFit:!0,simulateTouch:!0,followFinger:!0,shortSwipes:!0,longSwipesRatio:.5,moveStartThreshold:!1,onlyExternal:!1,createPagination:!0,pagination:!1,paginationElement:”span”,paginationClickable:!1,paginationAsRange:!0,resistance:!0,scrollContainer:!1,preventLinks:!0,preventLinksPropagation:!1,noSwiping:!1,noSwipingClass:”swiper-no-swiping”,initialSlide:0,keyboardControl:!1,mousewheelControl:!1,mousewheelControlForceToAxis:!1,useCSS3Transforms:!0,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,loop:!1,loopAdditionalSlides:0,roundLengths:!1,calculateHeight:!1,cssWidthAndHeight:!1,updateOnImagesReady:!0,releaseFormElements:!0,watchActiveIndex:!1,visibilityFullFit:!1,offsetPxBefore:0,offsetPxAfter:0,offsetSlidesBefore:0,offsetSlidesAfter:0,centeredSlides:!1,queueStartCallbacks:!1,queueEndCallbacks:!1,autoResize:!0,resizeReInit:!1,DOMAnimation:!0,loader:{slides:[],slidesHTMLType:”inner”,surroundGroups:1,logic:”reload”,loadAllSlides:!1},swipeToPrev:!0,swipeToNext:!0,slideElement:”div”,slideClass:”swiper-slide”,slideActiveClass:”swiper-slide-active”,slideVisibleClass:”swiper-slide-visible”,slideDuplicateClass:”swiper-slide-duplicate”,wrapperClass:”swiper-wrapper”,paginationElementClass:”swiper-pagination-switch”,paginationActiveClass:”swiper-active-switch”,paginationVisibleClass:”swiper-visible-switch”};t=t”http://us.24h.com.vn/”{};for(var H in j)if(H in t&&”object”==typeof t[H])for(var D in j[H])D in t[H]”http://us.24h.com.vn/”(t[H][D]=j[H][D]);else H in t”http://us.24h.com.vn/”(t[H]=j[H]);T.params=t,t.scrollContainer&&(t.freeMode=!0,t.freeModeFluid=!0),t.loop&&(t.resistance=”100%”);var O=”horizontal”===t.mode,z=[“mousedown”,”mousemove”,”mouseup”];T.browser.ie10&&(z=[“MSPointerDown”,”MSPointerMove”,”MSPointerUp”]),T.browser.ie11&&(z=[“pointerdown”,”pointermove”,”pointerup”]),T.touchEvents={touchStart:T.support.touch”http://us.24h.com.vn/”!t.simulateTouch?”touchstart”:z[0],touchMove:T.support.touch”http://us.24h.com.vn/”!t.simulateTouch?”touchmove”:z[1],touchEnd:T.support.touch”http://us.24h.com.vn/”!t.simulateTouch?”touchend”:z[2]};for(var W=T.container.childNodes.length-1;W>=0;W–)if(T.container.childNodes[W].className)for(var F=T.container.childNodes[W].className.split(/s+/),R=0;R=0;n–)e===T.slides[n]&&(t=n);return t},e.isActive=function(){return e.index()===T.activeIndex},e.swiperSlideDataStorage”http://us.24h.com.vn/”(e.swiperSlideDataStorage={}),e.getData=function(t){return e.swiperSlideDataStorage[t]},e.setData=function(t,n){return e.swiperSlideDataStorage[t]=n,e},e.data=function(t,n){return void 0===n?e.getAttribute(“data-“+t):(e.setAttribute(“data-“+t,n),e)},e.getWidth=function(t,n){return T.h.getWidth(e,t,n)},e.getHeight=function(t,n){return T.h.getHeight(e,t,n)},e.getOffset=function(){return T.h.getOffset(e)},e},T.calcSlides=function(e){var n=!!T.slides&&T.slides.length;T.slides=[],T.displaySlides=[];for(var i=0;i=0;i–)T._extendSwiperSlide(T.slides[i]);!1!==n&&(n!==T.slides.length”http://us.24h.com.vn/”e)&&(s(),r(),T.updateActiveSlide(),T.params.pagination&&T.createPagination(),T.callPlugins(“numberOfSlidesChanged”))},T.createSlide=function(e,n,i){n=n”http://us.24h.com.vn/”T.params.slideClass,i=i”http://us.24h.com.vn/”t.slideElement;var o=document.createElement(i);return o.innerHTML=e”http://us.24h.com.vn/””http://us.24h.com.vn/”,o.className=n,T._extendSwiperSlide(o)},T.appendSlide=function(e,t,n){if(e)return e.nodeType?T._extendSwiperSlide(e).append():T.createSlide(e,t,n).append()},T.prependSlide=function(e,t,n){if(e)return e.nodeType?T._extendSwiperSlide(e).prepend():T.createSlide(e,t,n).prepend()},T.insertSlideAfter=function(e,t,n,i){return void 0!==e&&(t.nodeType?T._extendSwiperSlide(t).insertAfter(e):T.createSlide(t,n,i).insertAfter(e))},T.removeSlide=function(e){if(T.slides[e]){if(t.loop){if(!T.slides[e+T.loopedSlides])return!1;T.slides[e+T.loopedSlides].remove(),T.removeLoopedSlides(),T.calcSlides(),T.createLoop()}else T.slides[e].remove();return!0}return!1},T.removeLastSlide=function(){return T.slides.length>0&&(t.loop?(T.slides[T.slides.length-1-T.loopedSlides].remove(),T.removeLoopedSlides(),T.calcSlides(),T.createLoop()):T.slides[T.slides.length-1].remove(),!0)},T.removeAllSlides=function(){for(var e=T.slides.length,t=T.slides.length-1;t>=0;t–)T.slides[t].remove(),t===e-1&&T.setWrapperTranslate(0)},T.getSlide=function(e){return T.slides[e]},T.getLastSlide=function(){return T.slides[T.slides.length-1]},T.getFirstSlide=function(){return T.slides[0]},T.activeSlide=function(){return T.slides[T.activeIndex]},T.fireCallback=function(){var e=arguments[0];if(“[object Array]”===Object.prototype.toString.call(e))for(var n=0;n0&&(h.style.paddingLeft=”http://us.24h.com.vn/”,h.style.paddingRight=”http://us.24h.com.vn/”,h.style.paddingTop=”http://us.24h.com.vn/”,h.style.paddingBottom=”http://us.24h.com.vn/”),h.style.width=”http://us.24h.com.vn/”,h.style.height=”http://us.24h.com.vn/”,t.offsetPxBefore>0&&(O?T.wrapperLeft=t.offsetPxBefore:T.wrapperTop=t.offsetPxBefore),t.offsetPxAfter>0&&(O?T.wrapperRight=t.offsetPxAfter:T.wrapperBottom=t.offsetPxAfter),t.centeredSlides&&(O?(T.wrapperLeft=(P-this.slides[0].getWidth(!0,t.roundLengths))/2,T.wrapperRight=(P-T.slides[T.slides.length-1].getWidth(!0,t.roundLengths))/2):(T.wrapperTop=(P-T.slides[0].getHeight(!0,t.roundLengths))/2,T.wrapperBottom=(P-T.slides[T.slides.length-1].getHeight(!0,t.roundLengths))/2)),O?(T.wrapperLeft>=0&&(h.style.paddingLeft=T.wrapperLeft+”px”),T.wrapperRight>=0&&(h.style.paddingRight=T.wrapperRight+”px”)):(T.wrapperTop>=0&&(h.style.paddingTop=T.wrapperTop+”px”),T.wrapperBottom>=0&&(h.style.paddingBottom=T.wrapperBottom+”px”)),c=0;var _=0;for(T.snapGrid=[],T.slidesGrid=[],s=0,u=0;uP){if(t.slidesPerViewFit)T.snapGrid.push(c+T.wrapperLeft),T.snapGrid.push(c+f-P+T.wrapperLeft);else for(var w=0;wP)if(t.slidesPerViewFit)T.snapGrid.push(c),T.snapGrid.push(c+f-P);else if(0!==P)for(var b=0;b0&&(O?T.wrapperLeft=C*t.offsetSlidesBefore:T.wrapperTop=C*t.offsetSlidesBefore),t.offsetSlidesAfter>0&&(O?T.wrapperRight=C*t.offsetSlidesAfter:T.wrapperBottom=C*t.offsetSlidesAfter),t.offsetPxBefore>0&&(O?T.wrapperLeft=t.offsetPxBefore:T.wrapperTop=t.offsetPxBefore),t.offsetPxAfter>0&&(O?T.wrapperRight=t.offsetPxAfter:T.wrapperBottom=t.offsetPxAfter),t.centeredSlides&&(O?(T.wrapperLeft=(P-C)/2,T.wrapperRight=(P-C)/2):(T.wrapperTop=(P-C)/2,T.wrapperBottom=(P-C)/2)),O?(T.wrapperLeft>0&&(h.style.paddingLeft=T.wrapperLeft+”px”),T.wrapperRight>0&&(h.style.paddingRight=T.wrapperRight+”px”)):(T.wrapperTop>0&&(h.style.paddingTop=T.wrapperTop+”px”),T.wrapperBottom>0&&(h.style.paddingBottom=T.wrapperBottom+”px”)),L=O?l+T.wrapperRight+T.wrapperLeft:d+T.wrapperTop+T.wrapperBottom,parseFloat(l)>0&&(!t.cssWidthAndHeight”http://us.24h.com.vn/””height”===t.cssWidthAndHeight)&&(h.style.width=l+”px”),parseFloat(d)>0&&(!t.cssWidthAndHeight”http://us.24h.com.vn/””width”===t.cssWidthAndHeight)&&(h.style.height=d+”px”),c=0,T.snapGrid=[],T.slidesGrid=[],u=0;u0&&(!t.cssWidthAndHeight”http://us.24h.com.vn/””height”===t.cssWidthAndHeight)&&(T.slides[u].style.width=a+”px”),parseFloat(r)>0&&(!t.cssWidthAndHeight”http://us.24h.com.vn/””width”===t.cssWidthAndHeight)&&(T.slides[u].style.height=r+”px”)}T.initialized?(T.callPlugins(“onInit”),t.onInit&&T.fireCallback(t.onInit,T)):(T.callPlugins(“onFirstInit”),t.onFirstInit&&T.fireCallback(t.onFirstInit,T)),T.initialized=!0}},T.reInit=function(e){T.init(!0,e)},T.resizeFix=function(e){T.callPlugins(“beforeResizeFix”),T.init(t.resizeReInit”http://us.24h.com.vn/”e),t.freeMode?T.getWrapperTranslate()=T.snapGrid[r].toFixed(2)&&-iT.snapGrid[a]&&-o0&&(i=0),i!==o&&(b(i,”prev”,{runCallbacks:e}),!0)},T.swipeReset=function(e){void 0===e&&(e=!0),T.callPlugins(“onSwipeReset”);var n,i=T.getWrapperTranslate(),a=C*t.slidesPerGroup;o();if(“auto”===t.slidesPerView){n=0;for(var r=0;r=T.snapGrid[r]&&-i0?-T.snapGrid[r+1]:-T.snapGrid[r];break}}-i>=T.snapGrid[T.snapGrid.length-1]&&(n=-T.snapGrid[T.snapGrid.length-1]),iC&&(n=0),n!==i&&(b(n,”reset”,{runCallbacks:e}),!0)},T.swipeTo=function(e,n,i){e=parseInt(e,10),T.callPlugins(“onSwipeTo”,{index:e,speed:n}),t.loop&&(e+=T.loopedSlides);var a=T.getWrapperTranslate();if(!(e>T.slides.length-1″http://us.24h.com.vn/”e0&&(e=0);var n;if(“auto”===t.slidesPerView){if(T.activeIndex=T.slidesGrid.indexOf(-e),T.activeIndexT.slidesGrid[n]&&-e=0?a.classList.add(t.slideVisibleClass):a.classList.remove(t.slideVisibleClass);T.slides[T.activeIndex].classList.add(t.slideActiveClass)}else{var r=new RegExp(“\s*”+t.slideActiveClass),s=new RegExp(“\s*”+t.slideVisibleClass);for(n=0;n=0&&(T.slides[n].className+=”http://us.24h.com.vn/”+t.slideVisibleClass);T.slides[T.activeIndex].className+=”http://us.24h.com.vn/”+t.slideActiveClass}if(t.loop){var l=T.loopedSlides;T.activeLoopIndex=T.activeIndex-l,T.activeLoopIndex>=T.slides.length-2*l&&(T.activeLoopIndex=T.slides.length-2*l-T.activeLoopIndex),T.activeLoopIndex’+t.paginationElement+”>”;T.paginationContainer.innerHTML=i}T.paginationButtons=n(“.”+t.paginationElementClass,T.paginationContainer),e”http://us.24h.com.vn/”T.updatePagination(),T.callPlugins(“onCreatePagination”),t.paginationClickable&&S()},T.updatePagination=function(e){if(t.pagination&&!(T.slides.length=T.slides.length-2*T.loopedSlides&&(l=T.slides.length-2*T.loopedSlides-l,l=Math.abs(l)),s.push(l)}for(r=0;r0&&(e+=T.wrapperLeft),!O&&T.wrapperTop>0&&(e+=T.wrapperTop);for(var r=0;r=-e&&a=-e+P&&(s=!0)):(a>-e&&a=-e&&i-e+P&&(s=!0)),s&&n.push(T.slides[r])}0===n.length&&(n=[T.slides[T.activeIndex]]),T.visibleSlides=n};var Q,ee;T.startAutoplay=function(){if(T.support.transitions){if(void 0!==Q)return!1;if(!t.autoplay)return;T.callPlugins(“onAutoplayStart”),t.onAutoplayStart&&T.fireCallback(t.onAutoplayStart,T),B()}else{if(void 0!==ee)return!1;if(!t.autoplay)return;T.callPlugins(“onAutoplayStart”),t.onAutoplayStart&&T.fireCallback(t.onAutoplayStart,T),ee=setInterval(function(){t.loop?(T.fixLoop(),T.swipeNext(!0,!0)):T.swipeNext(!0,!0)”http://us.24h.com.vn/”(t.autoplayStopOnLast?(clearInterval(ee),ee=void 0):T.swipeTo(0))},t.autoplay)}},T.stopAutoplay=function(e){if(T.support.transitions){if(!Q)return;Q&&clearTimeout(Q),Q=void 0,e&&!t.autoplayDisableOnInteraction&&T.wrapperTransitionEnd(function(){B()}),T.callPlugins(“onAutoplayStop”),t.onAutoplayStop&&T.fireCallback(t.onAutoplayStop,T)}else ee&&clearInterval(ee),ee=void 0,T.callPlugins(“onAutoplayStop”),t.onAutoplayStop&&T.fireCallback(t.onAutoplayStop,T)},T.loopCreated=!1,T.removeLoopedSlides=function(){if(T.loopCreated)for(var e=0;eT.slides.length&&(T.loopedSlides=T.slides.length);var e,n=”http://us.24h.com.vn/”,i=”http://us.24h.com.vn/”,o=”http://us.24h.com.vn/”,a=T.slides.length,r=Math.floor(T.loopedSlides/a),s=T.loopedSlides%a;for(e=0;e=a&&(l=e-a*Math.floor(e/a)),o+=T.slides[l].outerHTML}for(e=0;e=T.slides.length-T.loopedSlides)&&T.slides[e].setData(“looped”,!0);T.callPlugins(“onCreateLoop”)}},T.fixLoop=function(){var e;T.activeIndex=2*T.loopedSlides”http://us.24h.com.vn/”T.activeIndex>T.slides.length-2*t.slidesPerView)&&(e=-T.slides.length+T.activeIndex+T.loopedSlides,T.swipeTo(e,0,!1))},T.loadSlides=function(){var e=”http://us.24h.com.vn/”;T.activeLoaderIndex=0;for(var n=t.loader.slides,i=t.loader.loadAllSlides?n.length:t.slidesPerView*(1+t.loader.surroundGroups),o=0;o‘+n[o]+”http://us.24h.com.vn/”+t.slideElement+”>”;T.wrapper.innerHTML=e,T.calcSlides(!0),t.loader.loadAllSlides”http://us.24h.com.vn/”T.wrapperTransitionEnd(T.reloadSlides,!0)},T.reloadSlides=function(){var e=t.loader.slides,n=parseInt(T.activeSlide().data(“swiperindex”),10);if(!(ne.length-1)){T.activeLoaderIndex=n;var i=Math.max(0,n-t.slidesPerView*t.loader.surroundGroups),o=Math.min(n+t.slidesPerView*(1+t.loader.surroundGroups)-1,e.length-1);if(n>0){var a=-C*(n-i);T.setWrapperTranslate(a),T.setWrapperTransition(0)}var r;if(“reload”===t.loader.logic){T.wrapper.innerHTML=”http://us.24h.com.vn/”;var s=”http://us.24h.com.vn/”;for(r=i;r’+e[r]+”http://us.24h.com.vn/”+t.slideElement+”>”;T.wrapper.innerHTML=s}else{var l=1e3,d=0;for(r=0;ro?T.wrapper.removeChild(T.slides[r]):(l=Math.min(c,l),d=Math.max(c,d))}for(r=i;rd&&((u=document.createElement(t.slideElement)).className=t.slideClass,u.setAttribute(“data-swiperindex”,r),u.innerHTML=e[r],T.wrapper.appendChild(u))}}T.reInit(!0)}},T.calcSlides(),t.loader.slides.length>0&&0===T.slides.length&&T.loadSlides(),t.loop&&T.createLoop(),T.init(),a(),t.pagination&&T.createPagination(!0),t.loop”http://us.24h.com.vn/”t.initialSlide>0?T.swipeTo(t.initialSlide,0,!1):T.updateActiveSlide(0),t.autoplay&&T.startAutoplay(),T.centerIndex=T.activeIndex,t.onSwiperCreated&&T.fireCallback(t.onSwiperCreated,T),T.callPlugins(“onSwiperCreated”)}};Swiper.prototype={plugins:{},wrapperTransitionEnd:function(e,t){“use strict”;function n(s){if(s.target===a&&(e(o),o.params.queueEndCallbacks&&(o._queueEndCallbacks=!1),!t))for(i=0;i0″http://us.24h.com.vn/”o0″http://us.24h.com.vn/”o1,m.top=0-p.offset,m.left=0-p.offset,y=u(n,25),w=u(s,50),s(),c(p.breakpoints,function(e){if(e.width>=window.screen.width)return h=e.src,!1}),t()}function t(){r(p.selector),v&&(v=!1,p.container&&c(p.container,function(e){l(e,”scroll”,y)}),l(window,”resize”,w),l(window,”resize”,y),l(window,”scroll”,y)),n()}function n(){for(var t=0;t0&&e.offsetHeight>0){var n=e.getAttribute(h)”http://us.24h.com.vn/”e.getAttribute(p.src);if(n){var i=n.split(p.separator),o=i[g&&i.length>1?1:0],a=new Image;c(p.breakpoints,function(t){e.removeAttribute(t.src)}),e.removeAttribute(p.src),a.onerror=function(){p.error&&p.error(e,”invalid”),e.className=e.className+”http://us.24h.com.vn/”+p.errorClass},a.onload=function(){“img”===e.nodeName.toLowerCase()?e.src=o:e.style.backgroundImage=’url(“http://us.24h.com.vn/”+o+”http://us.24h.com.vn/”)’,e.className=e.className+”http://us.24h.com.vn/”+p.successClass,p.success&&p.success(e)},a.src=o}else p.error&&p.error(e,”missing”),e.className=e.className+”http://us.24h.com.vn/”+p.errorClass}}function o(e){var t=e.getBoundingClientRect();return t.right>=m.left&&t.bottom>=m.top&&t.lefti;i++){var r=t.charCodeAt(i);n[2*i]=r>>>8,n[2*i+1]=r%256}return n},decompressFromUint8Array:function(e){if(null===e”http://us.24h.com.vn/”void 0===e)return a.decompress(e);for(var n=new Array(e.length/2),i=0,o=n.length;o>i;i++)n[i]=256*e[2*i]+e[2*i+1];var r=[];return n.forEach(function(e){r.push(t(e))}),a.decompress(r.join(“http://us.24h.com.vn/”))},compressToEncodedURIComponent:function(e){return null==e?”http://us.24h.com.vn/”:a._compress(e,6,function(e){return i.charAt(e)})},decompressFromEncodedURIComponent:function(t){return null==t?”http://us.24h.com.vn/”:”http://us.24h.com.vn/”==t?null:(t=t.replace(/ /g,”+”),a._decompress(t.length,32,function(n){return e(i,t.charAt(n))}))},compress:function(e){return a._compress(e,16,function(e){return t(e)})},_compress:function(e,t,n){if(null==e)return”http://us.24h.com.vn/”;var i,o,a,r={},s={},l=”http://us.24h.com.vn/”,d=”http://us.24h.com.vn/”,c=”http://us.24h.com.vn/”,u=2,h=3,p=2,m=[],_=0,f=0;for(a=0;ai;i++)_i;i++)_=_>=1}else{for(o=1,i=0;p>i;i++)_=_i;i++)_=_>=1}0==–u&&(u=Math.pow(2,p),p++),delete s[c]}else for(o=r[c],i=0;p>i;i++)_=_>=1;0==–u&&(u=Math.pow(2,p),p++),r[d]=h++,c=String(l)}if(“http://us.24h.com.vn/”!==c){if(Object.prototype.hasOwnProperty.call(s,c)){if(c.charCodeAt(0)i;i++)_i;i++)_=_>=1}else{for(o=1,i=0;p>i;i++)_=_i;i++)_=_>=1}0==–u&&(u=Math.pow(2,p),p++),delete s[c]}else for(o=r[c],i=0;p>i;i++)_=_>=1;0==–u&&(u=Math.pow(2,p),p++)}for(o=2,i=0;p>i;i++)_=_>=1;for(;;){if(_o;o+=1)u[o]=o;for(r=0,l=Math.pow(2,2),d=1;d!=l;)s=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=i(g.index++)),r|=(s>0?1:0)*d,d>=1,0==g.position&&(g.position=n,g.val=i(g.index++)),r|=(s>0?1:0)*d,d>=1,0==g.position&&(g.position=n,g.val=i(g.index++)),r|=(s>0?1:0)*d,de)return”http://us.24h.com.vn/”;for(r=0,l=Math.pow(2,m),d=1;d!=l;)s=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=i(g.index++)),r|=(s>0?1:0)*d,d>=1,0==g.position&&(g.position=n,g.val=i(g.index++)),r|=(s>0?1:0)*d,d>=1,0==g.position&&(g.position=n,g.val=i(g.index++)),r|=(s>0?1:0)*d,d>>8,n[2*i+1]=r%256}return n},decompressFromUint8Array:function(e){if(null===e”http://us.24h.com.vn/”void 0===e)return a.decompress(e);for(var n=new Array(e.length/2),i=0,o=n.length;i>=1}else{for(o=1,i=0;i

>=1}0==–u&&(u=Math.pow(2,p),p++),delete s[c]}else for(o=r[c],i=0;i

>=1;0==–u&&(u=Math.pow(2,p),p++),r[d]=h++,c=String(l)}if(“http://us.24h.com.vn/”!==c){if(Object.prototype.hasOwnProperty.call(s,c)){if(c.charCodeAt(0)>=1}else{for(o=1,i=0;i

>=1}0==–u&&(u=Math.pow(2,p),p++),delete s[c]}else for(o=r[c],i=0;i

>=1;0==–u&&(u=Math.pow(2,p),p++)}for(o=2,i=0;i

>=1;for(;;){if(_>=1,0==g.position&&(g.position=n,g.val=i(g.index++)),r|=(s>0?1:0)*d,d>=1,0==g.position&&(g.position=n,g.val=i(g.index++)),r|=(s>0?1:0)*d,d>=1,0==g.position&&(g.position=n,g.val=i(g.index++)),r|=(s>0?1:0)*d,de)return”http://us.24h.com.vn/”;for(r=0,l=Math.pow(2,m),d=1;d!=l;)s=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=i(g.index++)),r|=(s>0?1:0)*d,d>=1,0==g.position&&(g.position=n,g.val=i(g.index++)),r|=(s>0?1:0)*d,d>=1,0==g.position&&(g.position=n,g.val=i(g.index++)),r|=(s>0?1:0)*d,d=0;n–)if(l(t[n])){var i=t[n].split(“=”),o=unescape(i[0]);e(unescape(i[1]),o)}}function o(e){e&&a(e)&&(d.cookie=escape(e)+”=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/”)}function a(e){return new RegExp(“(?:^|;\s*)”+escape(e).replace(/[-.+*]/g,”\$&”)+”\s*\=”).test(d.cookie)}var r=e(“../src/util”),s=r.Global,l=r.trim;t.exports={name:”cookieStorage”,read:function(e){if(!e”http://us.24h.com.vn/”!a(e))return null;var t=”(?:^|.*;\s*)”+escape(e).replace(/[-.+*]/g,”\$&”)+”\s*\=\s*((?:[^;](?!;))*[^;]?).*”;return unescape(d.cookie.replace(new RegExp(t),”$1″))},write:function(e,t){e&&(d.cookie=escape(e)+”=”+escape(t)+”; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/”)},each:i,remove:o,clearAll:function(){i(function(e,t){o(t)})}};var d=s.document},{“../src/util”:16}],19:[function(e,t,n){“use strict”;function i(){return a.localStorage}function o(e){return i().getItem(e)}var a=e(“../src/util”).Global;t.exports={name:”localStorage”,read:o,write:function(e,t){return i().setItem(e,t)},each:function(e){for(var t=i().length-1;t>=0;t–){var n=i().key(t);e(o(n),n)}},remove:function(e){return i().removeItem(e)},clearAll:function(){return i().clear()}}},{“../src/util”:16}],20:[function(e,t,n){“use strict”;t.exports={name:”memoryStorage”,read:function(e){return i[e]},write:function(e,t){i[e]=t},each:function(e){for(var t in i)i.hasOwnProperty(t)&&e(i[t],t)},remove:function(e){delete i[e]},clearAll:function(e){i={}}};var i={}},{}],21:[function(e,t,n){“use strict”;function i(e){for(var t=a.length-1;t>=0;t–){var n=a.key(t);e(a[n],n)}}var o=e(“../src/util”).Global;t.exports={name:”oldFF-globalStorage”,read:function(e){return a[e]},write:function(e,t){a[e]=t},each:i,remove:function(e){return a.removeItem(e)},clearAll:function(){i(function(e,t){delete a[e]})}};var a=o.globalStorage},{“../src/util”:16}],22:[function(e,t,n){“use strict”;function i(e){return e.replace(/^d/,”___$&”).replace(d,”___”)}var o=e(“../src/util”).Global;t.exports={name:”oldIE-userDataStorage”,write:function(e,t){if(!l){var n=i(e);s(function(e){e.setAttribute(n,t),e.save(a)})}},read:function(e){if(!l){var t=i(e),n=null;return s(function(e){n=e.getAttribute(t)}),n}},each:function(e){s(function(t){for(var n=t.XMLDocument.documentElement.attributes,i=n.length-1;i>=0;i–){var o=n[i];e(t.getAttribute(o.name),o.name)}})},remove:function(e){var t=i(e);s(function(e){e.removeAttribute(t),e.save(a)})},clearAll:function(){s(function(e){var t=e.XMLDocument.documentElement.attributes;e.load(a);for(var n=t.length-1;n>=0;n–)e.removeAttribute(t[n].name);e.save(a)})}};var a=”storejs”,r=o.document,s=function(){if(!r”http://us.24h.com.vn/”!r.documentElement”http://us.24h.com.vn/”!r.documentElement.addBehavior)return null;var e,t,n,i=”script”;try{(t=new ActiveXObject(“htmlfile”)).open(),t.write(“document.w=window”+i+’>’),t.close(),e=t.w.frames[0].document,n=e.createElement(“div”)}catch(t){n=r.createElement(“div”),e=r.body}return function(t){var i=[].slice.call(arguments,0);i.unshift(n),e.appendChild(n),n.addBehavior(“#default#userData”),n.load(a),t.apply(this,i),e.removeChild(n)}}(),l=(o.navigator?o.navigator.userAgent:”http://us.24h.com.vn/”).match(/ (MSIE 8|MSIE 9|MSIE 10)./),d=new RegExp(“[!”#$%&'()*+,/\\:;?@[\]^`{|}~]”,”g”)},{“../src/util”:16}],23:[function(e,t,n){“use strict”;function i(){return a.sessionStorage}function o(e){return i().getItem(e)}var a=e(“../src/util”).Global;t.exports={name:”sessionStorage”,read:o,write:function(e,t){return i().setItem(e,t)},each:function(e){for(var t=i().length-1;t>=0;t–){var n=i().key(t);e(o(n),n)}},remove:function(e){return i().removeItem(e)},clearAll:function(){return i().clear()}}},{“../src/util”:16}]},{},[1])(1)});//]]>

Thứ Sáu, ngày 13/10/2017 03:00 AM (GMT+7)

Theo Linh Trang (Theo Businessinsider) (Dân Việt)

BỘ SƯU TẬP ẢNH KHÁC

BÀI Giáo dục – du học NHIỀU NGƯỜI ĐỌC

Thông tin doanh nghiệp