function loadAsyncScript(c,d){var b=document.getElementsByTagName("head")[0];var a=document.createElement("script");a.setAttribute("type","text/javascript");a.setAttribute("src",c);a.setAttribute("async",true);b.appendChild(a);if(document.all){a.onreadystatechange=function(){var e=this.readyState;if(e==="loaded"||e==="complete"){d()}}}else{a.onload=function(){d()}}}var isie=(navigator.appName=="Microsoft Internet Explorer");function refertomobile(e){var c=new Array("iphone","ipod","ipad","android","mobile","blackberry","webos","incognito","webmate","bada","nokia","lg","ucweb","skyfire");var b=navigator.userAgent.toLowerCase();var a=false;for(var d=0;d<c.length;d++){if(b.indexOf(c[d])!=-1){a=true;break}}if(a==true){window.location.href=e;return false}}function isWeixin(){var a=navigator.userAgent.toLowerCase();if(a.match(/MicroMessenger/i)=="micromessenger"){return true}else{return false}}function ismobile(){var c=new Array("iphone","ipod","ipad","android","mobile","blackberry","webos","incognito","webmate","bada","nokia","lg","ucweb","skyfire");var b=navigator.userAgent.toLowerCase();var a=false;for(var d=0;d<c.length;d++){if(b.indexOf(c[d])!=-1){a=true;break}}return a};