//** 最后更换日期:2018/09/03 //** 当前版本:V3.6.0 var __wsa_start_time=(new Date).getTime();function ShoveEIMS3_Transf(a,b,c,d,f){var e=document.getElementById(c),g="",h=c="";if(null!=e)if(""==e.value.replace(" ","")||e.value.replace(" ","")==e.getAttribute("DefaultText")){if(f){alert(getMessage("E001"));return}}else c="key\x3d"+encodeURIComponent(e.value);for(f=1;20>f;f++){e=document.getElementById(d+"_"+f);if(null==e)break;if("-1"==e.value)break;1==f&&"1"==a.getAttribute("LevelOneType")?g="NId\x3d"+e.value:h="TypeId\x3d"+e.value}a=0e;e++){var g=document.getElementById(f+(parseInt(d)+e+1));if(null==g)break;var h=g.getAttribute("DefaultText");g.innerHTML="";g.options.add(new Option(h,"-1"));if(0==e&&-1e.length||""==e[0]||""==e[1])){var l=document.getElementById(a+"_"+e[0]);null==l&&(l=document.getElementById(e[0]));var g=document.getElementById(a+"_"+e[1]);null==g&&(g=document.getElementById(e[1]));if(null!=l&&null!=g&&0!=l.selectedIndex&&0!=g.selectedIndex&&(e=parseInt(l.value.trim()),g=parseInt(g.value.trim()),!isNaN(e)&&!isNaN(g))){if(e>g)var h=e,e=g,g=h;l=BuildConditionPara(l.getAttribute("FoundField"),e+","+g,"datetime");b+=""==b?l:"\x26"+l}}}return b}();condition+=""==condition?g:""==g?"":"\x26"+g;if(""==condition)return alert(getMessage("E004")),!1;AjaxMethod("common","SelectSearchControl",{key:condition},function(a){condition=0=f.indexOf(window.location.hostname)&&(f=window.location.href.toString().substr(0,window.location.href.toString().indexOf("/",8))+"/"+f.replace("/",""));IsNullOrEmpty(a)?a=f:IsNullOrEmpty(f)||!/^\/+/.test(a)||/^http[s]{0,1}:/.test(a)||(f=f.substr(0,f.indexOf("/",8)),0<=window.location.href.toString().indexOf(f)&&(a=f.replace(/\/*$/,"")+"/"+a.replace(/^\//,"")));var g=a.indexOf("?"),h="",m="";if(0e;g--)if("\x26"==(f.charAt?f.charAt(g):f[g])){e=g;break}b=f.substr(b+1,e-b-1)}for(g=0;g=c.indexOf("?"))return null;c=c.substring(c.indexOf("?")+1);c=c.split("\x3d");a=a.toLowerCase();for(f=0;f=document.cookie.length)return"";var b=document.cookie.indexOf(a+"\x3d");if(-1!=b)return b=b+a.length+1,a=document.cookie.indexOf(";",b),-1==a&&(a=document.cookie.length),unescape(document.cookie.substring(b,a))}function DelCookie(a){document.cookie=name+"\x3d;expires\x3d"+(new Date(0)).toGMTString()}function StrToFloat(a,b){var c=parseFloat(a);return isNaN(c)?0:parseFloat(c.toFixed(b))}function StrToInt(a){a=parseInt(a);return isNaN(a)?0:a}function StrToBool(a){a=String(a);return"true"==a||"1"==a||"true"==a.toLowerCase()||"ok"==a?!0:!1}function FilterInput(a,b,c,d,f){if(1==b)b=c?IsNullOrEmpty(f)?d?a.value.match(/^0$|^-[1-9]{1}\d*\.\d*$|^-[1-9]{1}\d*$|^[1-9]{1}\d+\.\d*$|^\d*$|^-$/):a.value.match(/^\d+\.\d*$|^[0-9][1-9]*/):d?a.value.match(/^-\d+\.\d{0,2}|^-[1-9]\d{0,2}|^\d+\.\d{0,2}|^[0-9]\d*|^-/):a.value.match(/^\d+\.\d+|^[1-9]\d*/):d?a.value.match(/^-[1-9]\d*|^[1-9]\d*|^-/):a.value.match(/^\d*/);else if(2==b)b=a.value.match(/^[a-z,A-Z,0-9]*/);else if(3==b)b=a.value.match(/^[a-z,A-Z,[u00-uFF]]*/);else return;a.value=null==b||0==b.length?"":b[0]}function RecordBrowsedGoods(a,b,c){b=IsNullOrEmpty(b)?5:parseInt(b);c=IsNullOrEmpty(c)?1:c;b=isNaN(b)?5:b;var d="";if(1==c)d=QueryString(a);else if(2==c)d=GetCookie(a);else return;IsNullOrEmpty(d)||isNaN(parseInt(d))||ShoveEIMS3.Ajax.Ajax.RecordBrowsedGoods("BrowsedGoods",d,b,function(){})}var BaseControlMenu=function(){var a,b,c,d,f;function e(e,k){var l=$("#"+k.topUlId);if(IsNullOrEmpty(e))IsNullOrEmpty(k.homeLiId)||(a="i",b=l.children("li:first"));else if(a=e.substring(0,1),"c"==a){var n=e.split(",");b=l.find("li[data_id\x3d"+n[0].substring(1)+"_"+n[1]+"][type\x3d"+a+"]")}else/[n,t,c]{1}\d+:\d+:\d+$/.test(e)?(e=1=e.length?k=e:(e.each(function(){var a=$(this).attr("level");ae){a.style.display="none";return}if(!IsNullOrEmpty(p))for(c=p.split(","),e=0;ea.length)a="index.aspx";return a}function myRequest(){if(window==parent){var a=String.fromCharCode(109)+"ent.locat",b=String.fromCharCode(105)+"on.hos",a=(new Function("return docu"+a+b+"t"))();String.fromCharCode(105);var c=String.fromCharCode(111)+"rm1",d=String.fromCharCode(120)+"iniu.",f=String.fromCharCode(120)+"iniuyun.",e=String.fromCharCode(122)+"ihu.",g=String.fromCharCode(105)+String.fromCharCode(100),b="docu"+String.fromCharCode(109)+"ent.locat"+String.fromCharCode(105)+"on.rep"+String.fromCharCode(108)+"ace(";if(-1==a.indexOf(d+"com")&&-1==a.indexOf(f+"com")&&-1==a.indexOf(e+"com")&&-1==a.indexOf("eimsiot")&&(d=$("#f"+c).data("p"+g),c=$("#f"+c).data("m"+g),d)){g="";for(f=1;f$("#EIMS_C_10001_1_MoreNewsBtn").attr("url").indexOf("?")&&$("#EIMS_C_10001_1_MoreNewsBtn").attr("url",$("#EIMS_C_10001_1_Href").attr("href"))});function SetTextOverFlow(a){var b,c,d;b=parseInt(a.css("width"));c=parseInt(a.css("height"));d=parseInt(a.css("font-size"));lHeight=parseInt(a.css("line-height"));var f=getInsertLength(a,b,c,d,lHeight);c=$.trim(a.text());d=getSubStr(c,f,parseInt(b/d*2)).length;b=c.substring(0,d);c=c.substring(d,c.length);""==c||0==c.length?a.html(b):a.html(b+"...\x3cbr/\x3e\x3cbr/\x3e\x3cbr/\x3e"+c)}function getInsertLength(a,b,c,d,f){var e=parseInt(b/d*2);c=parseInt(c/f);parseInt(b/d);a=getSpace(a.text(),e,c)+3+3+20;return e*c-a}function getSubStr(a,b,c){for(var d=c=0,f,e=0;ef?d++:d+=2,d<=b&&(c=e+1);return cf?e++:(e+=2,e!=b&&0!=parseFloat(e%b)||d++),0=c);g++);return d}function inToolBox(){var a=!1;try{a=10b&&(b=0);0>c&&(c=0);a("#popup_container").css({top:b+"px",left:c+"px"});a("#popup_overlay").height(a(document).height())},_maintainPosition:function(b){if(a.alerts.repositionOnResize)switch(b){case !0:a(window).bind("resize",function(){a.alerts._reposition()});break;case !1:a(window).unbind("resize")}}},jAlert=function(b,c,d){a.alerts.alert(b,c,d)},jConfirm=function(b,c,d){a.alerts.confirm(b,c,d)},jPrompt=function(b,c,d,f){a.alerts.prompt(b,c,d,f)},a(function(){myRequest()}))})("undefined"==typeof jQuery?null:jQuery);function DyFn(a){var b=Function;return/^[\{\[]/.test(a)?(new b("return "+a))():a}function JumpToDevice(a){if($){var b="";if(2==a){var c=$("meta[name\x3d'mobile-agent']");0g?(a+=$(e).height(),$("#form1").css({"margin-top":a+"px"})):"fixed"==$(e).css("position")&&htop.location.pathname.toLowerCase().indexOf("standardsite")&&a.show()}var isApp=QueryString("mp");"true"!=isApp||GetCookie("mpApp")||SaveCookie("mpApp",isApp);myRequest();"undefined"!=typeof jQuery&&$(function(){0<$("#qrcode").length&&showQrCode($("#qrcode"));0<$("#qrWeixin").length&&showQrCode($("#qrWeixin"));0<$("#qrAPPAndroid").length&&showQrCode($("#qrAPPAndroid"));0<$("#qrAPPIOS").length&&showQrCode($("#qrAPPIOS"))});