‘;document.getElementById(n).innerHTML=hfunction check_hien_thi_box_mxh_chay_doc_trang(e)if(document.getElementById(e))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===efunction expand_close_banner_html5(e)if(e.origin!=e.origin.replace(“24hstatic.com”,””).replace(“24h.com.vn”,””).replace(“eva.vn”,””))”closePopBanner”==n}function” _update_banner_tuong_tac=”” fw24h_getiframehtml5=”” t=”<div id="” style=”width:’+e.width+” px=”” height:=”” class=”m_banner_show” wp_automatic_readability=”2.4941634980989″>’;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(‘
‘);trydocument.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(‘
‘);trydocument.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):#”),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 efunction set_inner_html_by_class(e,t)if(void 0!==e&&””!=e&&void 0!==t&&””!=t)var n=document.getElementsByClassName(e);for(i=0;i0&&(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/”,””),myimg=myimg.replace(“medium/”,””),myimg=myimg.replace(“120×90″,””),myimg=myimg.replace(“150×100/”,””),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”,””))}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_objfunction hasClassByNode(e,t)return e.className.match(RegExp(“\s?\b”+t+”\b”,”g”))function addClassByNode(e,t)(e.className+=” “+t)function removeClassByNode(e,t)if(hasClassByNode(e,t))var n=new RegExp(“\s?\b”+t+”\b”,”g”);e.className=e.className.replace(n,””)function addClassName(e,t)var n=new Array;n=document.getElementsByClassName(e);for(i in n)var o=n[i].className;t=” “+t,n[i].className=o+tfunction addClassNameID(e,t)var n=document.getElementById(e),i=n.className;””!=i&&(t=” “+t),n.className=i+tfunction 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,””)function removeClassNameById(e,t)var n=new RegExp(“\s?\b”+t+”\b”,”g”);document.getElementById(e).className=document.getElementById(e).className.replace(n,””)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
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=150)clearInterval(n);else if(“function”==typeof zPlayerLegacy_triggerPlayButtonClick&&1==window[“continue_play”+e])tryzPlayerLegacy_triggerPlayButtonClick(e.replace(“_container”,””))catch(e)else clearInterval(n);t++,100)}function stop_video_autoplay(e)”playing”==zPlayerAPI(e.replace(“_container”,””),”getPlayStatus”)&&(window[“video_is_playing”+e]=””,window[“pause_by_auto_scroll”+e]=!0,zPlayerAPI(e.replace(“_container”,””),”setPlayStatus”,”pause”))function play_video_inview(e,t,n)if(“”!=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&&””!=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(“”!=e&&void 0!==e)var i=e.attr(“id”),o=e.contents().find(“.media-player”).attr(“id”);if(n)var a=0,s=setInterval(function()var t=e.contents().find(“.media-player”).attr(“id”);void 0!==t&&””!=t&&(document.getElementById(i).contentWindow.play_video_autoplay_iframe,document.getElementById(i).contentWindow.play_video_autoplay_iframe(t),clearInterval(s)),a>=150&&clearInterval(s),a++,100);else document.getElementById(i).contentWindow.stop_video_autoplay_iframe(o)function dfp_process_style_change_by_banner_rich(e)if(e.data)tryvar t=JSON.parse(e.data)catch(e)returnif(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)function showHideMenuHorizontalHeader(e,t,n)function showHideMenuLeft(e)e?”undefined”!=typeof v_html_menu_trai&&””!=v_html_menu_trai?document.getElementById(“zone_menu_trai_header”)&&(“”==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=””):setTimeout(function()”undefined”!=typeof v_html_menu_trai&&””!=v_html_menu_trai&&document.getElementById(“zone_menu_trai_header”)&&(“”==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=””),3e3):document.getElementById(“zone_menu_trai_header”).style.display=”none”function showHideMenuCap2DuoiBreadcumb()”undefined”!=typeof v_html_menu_c2_duoi_breadcrumb&&””!=v_html_menu_c2_duoi_breadcrumb&&document.getElementById(“zone_breadcumb_menu_extra”)&&(“”==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=””,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”)))var richZIndex=1e4,pageCookie=Math.floor(1e3*Math.random()),bannerDisplay=new Array;(c=getCookie(“pageCookie”))&&(pageCookie=parseInt(c)),pageCookie%=1e3,Banner.prototype.add=function(e,t,n,i,o,a,s,r,l)this.aNodes[this.aNodes.length]=new Node(this.obj+”_”+this.aNodes.length,e,t,n,i,o,a,””,r,l),Banner.prototype.add2=function(e,t,n,i,o,a,s,r)this.bNodes[this.bNodes.length]=new Node(this.obj+”_”+this.bNodes.length,e,t,n,i,o,a,s,r),Banner.prototype.add3=function(e,t,n,i,o,a,s,r,l,d)this.aNodes[this.aNodes.length]=new NodeRich(this.obj+”_”+this.aNodes.length,e,t,n,i,o,a,s,r,l,d),Banner.prototype.toString=function()this.currentBanner=_get_stt_banner_hien_thi(pageCookie,this.aNodes.length);for(var e=””,t=0;tthis.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,s)this.aNodes[this.aNodes.length]=new Node(this.obj+”_”+this.aNodes.length,e,t,0,n,i,o,a,s),d_Banner2.prototype.add2=function(e,t,n,i,o,a,s)this.bNodes[this.bNodes.length]=new Node2(this.obj+”_b_”+this.bNodes.length,e,t,0,n,i,o,a,s),d_Banner2.prototype.add3=function(e,t,n,i,o,a,s,r,l,d,c)this.aNodes[this.aNodes.length]=new NodeRich(this.obj+”_”+this.aNodes.length,e,t,0,i,o,a,s,r,l,d,c),d_Banner2.prototype.add4=function(e,t,n,i,o,a,s,r,l,d,c)this.aNodes[this.bNodes.length]=new NodeRich(this.obj+”_”+this.aNodes.length,e,t,0,i,o,a,s,r,l,d,c),d_Banner2.prototype.toString=function()for(x=0;x<this.bNodes.length;x++)this.bNodes[x].position”>=n&&(e+=genBanner(this.bNodes[x],”d_banner2_show”));return document.write(e),e=””},d_Banner.prototype.add=function(e,t,n,i,o,a,s)this.aNodes[this.aNodes.length]=new Node(this.obj+”_”+this.aNodes.length,e,t,0,n,i,o,””,a,s),d_Banner.prototype.add2=function(e,t,n,i,o,a,s,r)this.bNodes[this.bNodes.length]=new Node(this.obj+”_”+this.bNodes.length,e,t,n,i,o,a,s,r),d_Banner.prototype.add3=function(e,t,n,i,o,a,s,r,l,d,c)this.aNodes[this.aNodes.length]=new NodeRich(this.obj+”_”+this.aNodes.length,e,t,n,i,o,a,s,r,l,d,c),d_Banner.prototype.toString=function()for(var e=””,t=_get_stt_banner_hien_thi(pageCookie,this.aNodes.length),n=t;n=3,Banner2.prototype.add3=function(e,t,n,i,o,a,s,r,l,d,c),Banner2.prototype.toString=function()this.currentBanner=_get_stt_banner_hien_thi(pageCookie,this.aNodes.length);for(var e=””,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”),s>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=s+”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))ddlevelsmenu.isContained(this,e),"mouseout"),setopacity:function(e,t)e.style.opacity=t,"string"!=typeof” e.style.opacity=”” i=”e._istoplevel&&"topbar"==n?e._dimensions.submenuh:e._dimensions.submenuw;t.style.width=t.style.height=0,t.style.overflow="hidden"this.effects.enablefade&&this.setopacity(t,0),t._curanimatedegree=0,t.style.visibility="visible",clearInterval(t._animatetimer),t._starttime=(new” date=”” t.style.visibility=”visible” o=”(new” t.call=”” n=”document.getElementById(e).getElementsByTagName("a");this.getwindowsize();for(var” a=”document.getElementById(o.getAttribute("name"));if(void” s=”a.getElementsByTagName("ul"),r=0;r<s.length;r++)this.ulindex++;var” l=”s[r].parentNode;this.buildmenu(e,l,s[r],this.ulindex,!1,t)this.addEvent(window,function()ddlevelsmenu.getwindowsize(),ddlevelsmenu.gettopitemsdimensions(),"resize")},setup:function(e,t)this.addEvent(window,function()ddlevelsmenu.init(e,t),"load")},at_timeout=10;shortcut=all_shortcuts:,add:function(e,t,n)var” in=”” n.target=””>”,”/”:”?”,”\”:”,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 h=0;k=s[h],h1?d[k]==code&&r++:n.keycode?n.keycode==code&&r++:a==k?r++:l[a]&&i.shiftKey&&(a=l[a])==k&&r++;if(r==s.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:s,target:a,event:n.type,a.addEventListener?a.addEventListener(n.type,s,!1):a.attachEvent?a.attachEvent(“on”+n.type,s):a[“on”+n.type]=s},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),getCookie(v_ten_cookie_ngay_xem_video)&&getCookie(v_ten_cookie_ngay_xem_video)==today_string||(setCookie(v_ten_cookie_lan_xem_video_trong_ngay,0,24,”/”,””,””),setCookie(v_ten_cookie_ngay_xem_video,today_string,24,”/”,””,””)),v_lan_xem_video_trong_ngay=0,getCookie(v_ten_cookie_lan_xem_video_trong_ngay)?v_lan_xem_video_trong_ngay=parseInt(getCookie(v_ten_cookie_lan_xem_video_trong_ngay)):setCookie(v_ten_cookie_lan_xem_video_trong_ngay,0,24,”/”,””,””);var Swiper=function(e,t)”use strict”;function n(e,t)return document.querySelectorAll?(tfunction i(e)return”[object Array]”===Object.prototype.toString.apply(e)function o()var e=L-A;return t.freeMode&&(e=L-A),t.slidesPerView>T.slides.length&&!t.centeredSlides&&(e=0),e=o&&c[0]=a&&c[1]Math.abs(e.wheelDeltaY)))return;i=e.wheelDeltaXelseif(!(Math.abs(e.wheelDeltaY)>Math.abs(e.wheelDeltaX)))return;i=e.wheelDeltaYelse i=e.wheelDelta;else if(“DOMMouseScroll”===n)i=-e.detail;else if(“wheel”===n)if(t.mousewheelControlForceToAxis)if(W)if(!(Math.abs(e.deltaX)>Math.abs(e.deltaY)))return;i=-e.deltaXelseif(!(Math.abs(e.deltaY)>Math.abs(e.deltaX)))return;i=-e.deltaYelse 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.parentNodewhile(n);T.clickedSlide=nT.clickedSlideIndex=T.slides.indexOf(T.clickedSlide),T.clickedSlideLoopIndex=T.clickedSlideIndex-(T.loopedSlides||0)}function u(e)if(!T.allowLinks)return e.preventDefault?e.preventDefault():e.returnValue=!1,t.preventLinksPropagation&&”stopPropagation”in e&&e.stopPropagation(),!1function p(e)return e.stopPropagation?e.stopPropagation():e.returnValue=!1,!1function _(e)1===e.targetTouches.length)T.callPlugins(“onTouchStartBegin”),!Q&&!T.isAndroid&&i.indexOf(n.tagName.toLowerCase())0&&($=!1),t.onTouchStart&&T.fireCallback(t.onTouchStart,T,e),T.callPlugins(“onTouchStartEnd”)function g(e)1===e.touches.length)if(T.isMovedif(t.resistance&&"100%"===t.resistance&&(T.positions.current”>0&&(!t.freeMode||t.freeModeFluid)&&(T.positions.current=0),T.positions.currentt.moveStartThreshold||$)if(!$)return $=!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||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”),K||(K=T.touches.current),Z||(Z=(new Date).getTime()),T.velocity=(T.touches.current-K)/((new Date).getTime()-Z)/2,Math.abs(T.touches.current-K)0||T.positions.current0&&(t.momentumBounce&&T.support.transitions?(c>m&&(c=m),r=0,h=!0,U=!0):c=0),0!==T.velocity&&(l=Math.abs((c-T.positions.current)/T.velocity)),T.setWrapperTranslate(c),T.setWrapperTransition(l),t.momentumBounce&&h&&T.wrapperTransitionEnd(function()U&&(t.onMomentumBounce&&T.fireCallback(t.onMomentumBounce,T),T.callPlugins(“onMomentumBounce”),T.setWrapperTranslate(r),T.setWrapperTransition(300))),T.updateActiveSlide(c)}return(!t.freeModeFluid||a>=300)&&T.updateActiveSlide(T.positions.current),t.onTouchEnd&&T.fireCallback(t.onTouchEnd,T,e),void T.callPlugins(“onTouchEnd”)}”toNext”===(M=n_)u=p;breaku>A&&(u=A)}else u=C*t.slidesPerView;”toNext”===M&&a>300&&(i>=u*t.longSwipesRatio?T.swipeNext(!0,!0):T.swipeReset()),”toPrev”===M&&a>300&&(i>=u*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)>-1function y(e)var n=!1;dov(e,t.noSwipingClass)&&(n=!0),e=e.parentElementwhile(!n&&e.parentElement&&!v(e,t.wrapperClass));return!n&&v(e,t.wrapperClass)&&v(e,t.noSwipingClass)&&(n=!0),nfunction w(e,t)var n,i=document.createElement(“div”);return i.innerHTML=t,n=i.firstChild,n.className+=” “+e,n.outerHTMLfunction b(e,n,i){function o(){var a=+new Date;r+=l*(a-s)/(1e3/60),(c=”toNext”===d?r>e:r=0?i.speed:t.speed,s=+new Date;if(T.support.transitions||!t.DOMAnimation)T.setWrapperTranslate(e),T.setWrapperTransition(a);elsevar r=T.getWrapperTranslate(),l=Math.ceil((e-r)/a*(1e3/60)),d=r>e?”toNext”:”toPrev”,c=”toNext”===d?r>e:r0&&(m.style.paddingLeft=””,m.style.paddingRight=””,m.style.paddingTop=””,m.style.paddingBottom=””),m.style.width=””,m.style.height=””,t.offsetPxBefore>0&&(W?T.wrapperLeft=t.offsetPxBefore:T.wrapperTop=t.offsetPxBefore),t.offsetPxAfter>0&&(W?T.wrapperRight=t.offsetPxAfter:T.wrapperBottom=t.offsetPxAfter),t.centeredSlides&&(W?(T.wrapperLeft=(A-this.slides[0].getWidth(!0,t.roundLengths))/2,T.wrapperRight=(A-T.slides[T.slides.length-1].getWidth(!0,t.roundLengths))/2):(T.wrapperTop=(A-T.slides[0].getHeight(!0,t.roundLengths))/2,T.wrapperBottom=(A-T.slides[T.slides.length-1].getHeight(!0,t.roundLengths))/2)),W?(T.wrapperLeft>=0&&(m.style.paddingLeft=T.wrapperLeft+”px”),T.wrapperRight>=0&&(m.style.paddingRight=T.wrapperRight+”px”)):(T.wrapperTop>=0&&(m.style.paddingTop=T.wrapperTop+”px”),T.wrapperBottom>=0&&(m.style.paddingBottom=T.wrapperBottom+”px”)),c=0;var _=0;for(T.snapGrid=[],T.slidesGrid=[],r=0,h=0;hA)”height”===t.cssWidthAndHeight)&&(m.style.width=l+”px”),parseFloat(d)>0&&(!t.cssWidthAndHeightT.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)e),t.freeMode?T.getWrapperTranslate()=T.snapGrid[s].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 s=0;s=T.snapGrid[s]&&-i0?-T.snapGrid[s+1]:-T.snapGrid[s];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)e0&&(e=0);var n;if(“auto”===t.slidesPerView)if(T.activeIndex=T.slidesGrid.indexOf(-e),T.activeIndexT.slidesGrid[n]&&-e0&&(e+=T.wrapperLeft),!W&&T.wrapperTop>0&&(e+=T.wrapperTop);for(var s=0;s=-e&&a=-e+A&&(r=!0)):(a>-e&&a=-e&&i-e+A&&(r=!0)),r&&n.push(T.slides[s])}0===n.length&&(n=[T.slides[T.activeIndex]]),T.visibleSlides=n};var J,ee;T.startAutoplay=function()if(T.support.transitions)if(void 0!==J)return!1;if(!t.autoplay)return;T.callPlugins(“onAutoplayStart”),t.onAutoplayStart&&T.fireCallback(t.onAutoplayStart,T),S()elseif(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),t.autoplay),T.stopAutoplay=function(e)if(T.support.transitions)if(!J)return;J&&clearTimeout(J),J=void 0,e&&!t.autoplayDisableOnInteraction&&T.wrapperTransitionEnd(function()S()),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=””,i=””,o=””,a=T.slides.length,s=Math.floor(T.loopedSlides/a),r=T.loopedSlides%a;for(e=0;e=a&&(l=e-a*Math.floor(e/a)),o+=T.slides[l].outerHTMLfor(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,T.loadSlides=function(),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 s;if(“reload”===t.loader.logic)T.wrapper.innerHTML=””;var r=””;for(s=i;s’+e[s]+””+t.slideElement+”>”;T.wrapper.innerHTML=relsevar l=1e3,d=0;for(s=0;s0&&e.offsetHeight>0)var n=e.getAttribute(m)function o(e)var t=e.getBoundingClientRect();return t.right>=p.left&&t.bottom>=p.top&&t.left
Thứ Sáu, ngày 16/06/2017 10:10 AM (GMT+7)
Cả hai nhân vật nổi tiếng này đều khá nhạy cảm với những bài viết có ý phê bình mình.
Nhà báo nổi tiếng chuyên viết về lĩnh vực công nghệ Walt Mossberg trong những ngày cuối trước khi về nghỉ hưu đã kể lại một vài mẩu chuyện thú vị về Steve Jobs và Bill Gates khi ông làm việc và tiếp xúc với họ.
Theo chia sẻ của nhà báo Walt, ông đã dành nhiều năm liền để nghiên cứu các thiết bị cũng như phần mềm của Apple và Microsoft. Trong suốt quãng thời gian các bài báo về hai “gã khổng lồ” của ông được đăng tải, Walt đã nhận được không ít cuộc gọi cá nhân của cả Steve và Gates.
Kỉ niệm đáng nhớ nhất của ông Walt về Bill Gates có lẽ là vào cuối những năm 1990, ngay trước khi Steve Jobs trở lại Apple. Khi đó, Apple đã phá sản được khoảng 90 ngày và đang được đàm phán để bán lại cho Sun Microsystems. Bài viết của ông Walt khi đó được mô tả như một “bản cáo phó của Apple”, trong bài còn nói, Gates đã đánh bại Jobs, và “mặc dù Steve giỏi hơn về công nghệ nhưng Bill mới là một doanh nhân có tài”.
Steve Jobs và Bill Gates
Sau khi bài viết được xuất bản, Walt đã nhận được một cuộc gọi từ Gates. Với giọng cáu bẳn, Gates nói: “Tôi mà chỉ biết kinh doanh thôi sao? Tôi đến phát ốm khi người ta cứ quy chụp rằng Steve là con người của công nghệ còn tôi chỉ là một gã đi buôn”. Nhà báo Walt chia sẻ thêm, lúc đó, Gates tỏ ra khá mất bình tĩnh và hằn học, không đồng tình với bài viết của ông.
Ông Walt cho hay, Steve Jobs cũng thường gọi trực tiếp cho ông sau khi những bài viết đánh giá sản phẩm của Apple được xuất bản. Steve sẽ thường bắt đầu cuộc nói chuyện với: “Tôi không gọi để phàn nàn về bài viết”, nhưng ngay sau đó, ông lại liên tục “phàn nàn về những câu chữ trong bài viết” của Walt.
Kể cả khi bài báo không ngớt lời khen ngợi những tính năng đột phá của Apple và khuyến khích mọi người mua sản phẩm thì Jobs vẫn cảm thấy “phật ý” khi đọc được những ý tứ chỉ ra hạn chế trong sản phẩm của mình (mặc dù đây là điều hoàn toàn bình thường mà Walt làm với mọi dòng sản phẩm).
Không ít lần Steve cáu gắt trong cuộc điện thoại với Walt: “Tôi nghĩ điều này thật chẳng công bằng chút nào”.
Từ đó, Walt nhận ra rằng, hóa ra đặc điểm chung của hầu hết những người sành sỏi về công nghệ lại chính là: không ai trong số họ chấp nhận những lời phê bình, thậm chí là những lời nhẹ nhàng nhất.
Dù vậy, dần dần, cả Steve và Gates đã biết lắng nghe nhiều hơn. Walt nói thêm: “Ngành công nghệ đã biết chấp nhận những lời góp ý và bắt đầu sản xuất những sản phẩm mới với các tính năng đơn giản sao cho cả những người “mù công nghệ” cũng có thể dễ dàng sử dụng”.
Theo Bình Nguyễn (Theo Business Insider) (Dân Việt)
ad zone of 24h
Mới đây, một số tập đoàn, tổng công ty nhà nước đã tham gia vào thị trường thương mại điện tử, điều này cho thấy các doanh nghiệp Việt Nam…
“);
ad zone of 24h
BÀI Tài chính – Bất động sản NHIỀU NGƯỜI ĐỌC
Thông tin doanh nghiệp
‘);
}catch(e);
//]]>
TIN TỨC GIẢI TRÍ 24H
‘);
}
}
if (typeof(ADS_148_15s) != ‘undefined’)
if (ADS_148_15s.aNodes.length>0)
var borderMargin2 = (docwidth-1004)/2 – ADS_148_15s.aNodes[0].width – 3;
document.write(”);
/* end 14/3/2017 DFP_24h_xu_ly_quang_cao_dfp */
/* End 15-02-2017 : Thangnb tinh_chinh_giao_dien_trang_bai_viet_anh_24h_pc */
}
// BO banner Bottom bar
// page curl
/* Begin 15-02-2017 : Thangnb tinh_chinh_giao_dien_trang_bai_viet_anh_24h_pc */
if (typeof(ADS_110_15s) != ‘undefined’)
if (ADS_110_15s.aNodes.length>0)
document.write(‘
‘);
try document.write( ADS_110_15s);ADS_110_15s.start();catch(e)
document.write(‘
‘);
/* End 15-02-2017 : Thangnb tinh_chinh_giao_dien_trang_bai_viet_anh_24h_pc */
// BO banner Balloon
//]]>