/* ** basic extends for sudy */ function runJs(a) { var b = document.createElement("script"); b.type = "text/javascript", b.text = a; var c = document.getElementsByTagName("body"); c.length ? c[0].appendChild(b) : document.documentElement.appendChild(b) } function loadJs(a) { var b = document.createElement("script"); b.type = "text/javascript", b.src = a; var c = document.getElementsByTagName("head"); c.length ? c[0].appendChild(b) : document.documentElement.appendChild(b) } function Imgpd(a, b, c, d) { this.title = a, this.url = b, this.text = c, this.src = d } function getImgJson(p) { var imgJson = []; if ("undefined" !== eval("typeof imgText" + p)) { eval("var title = imgText" + p + ", url = imgLink" + p + ", text = imgContent" + p + ", img = imgUrl" + p + ";"); var i; for (i = 1; i < title.length; i++)imgJson[i - 1] = new Imgpd(title[i], url[i], text[i], img[i]) } else "undefined" !== eval("typeof w" + p + "imgJsons") && eval("imgJson = w" + p + "imgJsons"); return imgJson } function ieIE() { var userAgent = navigator.userAgent; var browser = navigator.appName; var b_version = navigator.appVersion; var version = b_version.split(";"); if (version[1] === undefined) return; var trim_Version = version[1].replace(/[ ]/g, ""); if (userAgent.indexOf("rv:11.0")!=-1||trim_Version == "MSIE10.0"||trim_Version == "MSIE9.0" || trim_Version == "MSIE8.0" || trim_Version == "MSIE7.0" || trim_Version == "MSIE6.0" || trim_Version == "MSIE5.0") { return true; }else{ return false } } function tipsHide() { document.getElementById('pageTips').style.visibility = "hidden" } /* ** load jquery and jquery plugins for sudy */ var EXTEND_PATH, exScripts = document.getElementsByTagName("script"); EXTEND_PATH = exScripts[exScripts.length - 1].getAttribute("src").replace('extends.js', ''); document.write(''); var DEFAULT_VERSION = "9.0"; var ua = navigator.userAgent.toLowerCase(); var is_IE = ua.indexOf("msie") > -1; var safariVersion; if (is_IE) { safariVersion = ua.match(/msie ([\d.]+)/)[1]; } if (safariVersion < DEFAULT_VERSION) { window.jQuery || document.write(''); document.write(''); window.addEventListener('DOMContentLoaded', function () { cssVars({ preserveStatic: true }); }); } document.write('