$define([],function(l){var r=function(){return!!(window.ActiveXObject||"ActiveXObject"in window)};return{init:function(){!function(){var e=window.tenant.templateCode;if(e&&0==e.indexOf("ZCEO_FSITE")){var n=window.siteIsPc,t=window.tenant.language,i=window.tenant.domain;if(n||(i=window.tenant.mobileDomain),i||(i=window.location.host),t=(t=t.replace("zh_CN","zh")).replace("zh_HN","zh"),r()){var a=document.getElementsByTagName("head")[0],o=null;(o=document.createElement("link")).setAttribute("rel","alternate"),o.setAttribute("hreflang",t),o.href=window.globalObj.getProtocol()+i+"",a.appendChild(o)}else o=l('<link rel=“alternate” href="'+window.globalObj.getProtocol()+i+'" hreflang="'+t+'" />'),l(l("head")[0]).append(o)}}()}}});