var lastDate = '';var lastMonth = '';var isAutoHomeHtml = 'false'; var todayDate = '2026/11/23';var todayMonth = '11'; // 系统参数 // 会员参数 // 配置参数 // 加载jquery.js // 加载common.js // 加载ajaxrequest.js // 加载popup.js // 加载infoSys.js // 加载newsShow.js // 加载face.js // 加载smoothscroll.js // 加载sxInput.js var handInput,hw,il,sL,B,A var handInputId,handSubmitId,handShowLeft,handShowTop; //OpenSxInput(); function OpenSxInput(){ //if (typeof(webPathPart)=="undefined"){ webPathPart = './'; } if (typeof(handInputId)=="undefined"){ handInputId = 'sxContent'; } if (typeof(handSubmitId)=="undefined"){ handSubmitId = 'sxSubBtn'; } if (typeof(handShowLeft)=="undefined"){ handShowLeft = 0; } if (typeof(handShowTop)=="undefined"){ handShowTop = 0; } handInput = document.getElementById(handInputId); if (window.attachEvent) { // window.attachEvent("onload", function() {handInput.focus();}) }else{ // window.addEventListener('load', function() {handInput.focus()},true) }; hw = {}; hw.i = document.getElementById("sx"); il = false; if (/msie (\d+\.\d)/i.test(navigator.userAgent)){ hw.i.setAttribute("unselectable", "on") }else{ sL = handInput.value.length; handInput.selectionStart = sL; handInput.selectionEnd = sL } hw.i.onclick = function(B) { B = B || window.event; B.stopPropagation ? B.stopPropagation() : (B.cancelBubble = true); if (document.selection && document.activeElement.id && document.activeElement.id == handInputId) { hw.hasF = 1 }else{ if (!document.selection) { hw.hasF = 1 } } if (!il) { A = document.createElement("script"); A.setAttribute("src", webPathPart +"tools/sxInput/hwInput.js"); document.getElementsByTagName("head")[0].appendChild(A); il = true; } }; } $(function (){ // 是否更新 if (typeof(todayDate)=="undefined"){ todayDate=""; } if (typeof(lastDate)=="undefined"){ lastDate=""; } if (todayDate!=lastDate){ AjaxGetDeal(webPathPart +"configDeal.asp?rnd="+ todayDate); } // 加载蒙层窗口 try { CheckJsPopup(); }catch (e) {} // 是否加载会员JS文件 try { if (US_isUserSys==1){ CheckJsUsers(); } }catch (e) {} });