⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 common.js

📁 IBM浮点的转化问题,转化为IEEE格式
💻 JS
📖 第 1 页 / 共 3 页
字号:
if(window.attachEvent){var MS_AddEvent=function(el,strEvent,funcPtr){el.attachEvent('on'+strEvent,funcPtr);};}else if(window.addEventListener){var MS_AddEvent=function(el,strEvent,funcPtr){el.addEventListener(strEvent,funcPtr,false);};}if(window.detachEvent){var MS_RemoveEvent=function(el,strEvent,funcPtr){el.detachEvent('on'+strEvent,funcPtr);};}else if(window.removeEventListener){var MS_RemoveEvent=function(el,strEvent,funcPtr){el.removeEventListener(strEvent,funcPtr,false);};}if(document.all){var MS_GetEl=function(id){return document.all[id];};}else if(document.getElementById){var MS_GetEl=function(id){return document.getElementById(id);};}function delayhalfsecond(delay){try{if(!delay)delay=500;var today=new Date();var now=today.getTime();while(1){var today2=new Date();var now2=today2.getTime();if((now2 - now)>delay){break;};}}catch(e){}}function MS_RPCHelper(id){this.result=null;this.xmlDoc=null;this.LoadedEvent=function(){};
this.FailedEvent=function(){};
this.maxTime=5000;
this.startDate=null;this.intervalTime=200;this.interval=null;this.id=id;window[this.id]=this;this.CheckNode=function(){try{if(this.xmlDoc.readyState==4){window.clearInterval(this.interval);this.result=this.xmlDoc.getElementsByTagName('content')[0].childNodes[0].nodeValue;this.xmlDoc=null;this.LoadedEvent();}else{var currentTime=new Date();if(currentTime.getTime()- this.startDate.getTime()>=this.maxTime){this.xmlDoc=null;window.clearInterval(this.interval);this.FailedEvent();}}}catch(e){}};this.MakeRequest=function(url,onUnloadTimeout){this.startDate=new Date();try{if(window.ActiveXObject){this.interval=window.setInterval(this.id+'.CheckNode()',this.intervalTime);this.xmlDoc=this.GetDomDocument();}else if(document.implementation&&document.implementation.createDocument){this.xmlDoc=document.implementation.createDocument("","doc",null);var obj=this;this.xmlDoc.onload=function(){try{obj.result=obj.xmlDoc.getElementsByTagName('content')[0].childNodes[0].nodeValue;obj.xmlDoc=null;obj.LoadedEvent();}catch(e){obj.xmlDoc=null;obj.FailedEvent();}};}this.xmlDoc.load(url);
if(onUnloadTimeout!=null)
delayhalfsecond();}catch(e){}};this.GetDomDocument=function(){var prefixes=["MSXML2","Microsoft","MSXML","MSXML3"];for(var i=0;i<prefixes.length;i++){try{var xmlDomDoc=new ActiveXObject(prefixes[i]+".DomDocument");return xmlDomDoc;}catch(e){}}};}function srcEl(e){if(e.srcElement)return e.srcElement;if(e.target)return e.target;return e;}function OutputEncoder_EncodeUrl(strInput){if(typeof(strInput)=='undefined'){return "";}strInput=strInput.toString();var c;var EncodeUrl='';for(var cnt=0;cnt<strInput.length;cnt++){c=strInput.charCodeAt(cnt);if(((c>96)&&(c<123))||((c>64)&&(c<91))||((c>47)&&(c<58))||(c==46)||(c==45)||(c==95)){EncodeUrl=EncodeUrl+String.fromCharCode(c);}else if(c>127){EncodeUrl=EncodeUrl+'%u'+OutputEncoder_TwoByteHex(c);}else{EncodeUrl=EncodeUrl+'%'+OutputEncoder_SingleByteHex(c);}}return EncodeUrl;}function OutputEncoder_EncodeHtmlAttribute(strInput){var c;var EncodeHtmlAttribute='';for(var cnt=0;cnt<strInput.length;cnt++){c=strInput.charCodeAt(cnt);if(((c>96)&&(c<123))||((c>64)&&(c<91))||((c>47)&&(c<58))||(c==46)||(c==44)||(c==45)||(c==95)){EncodeHtmlAttribute=EncodeHtmlAttribute+String.fromCharCode(c);}else{EncodeHtmlAttribute=EncodeHtmlAttribute+'&#'+c+';';}}return EncodeHtmlAttribute;}function OutputEncoder_SingleByteHex(charC){var SingleByteHex=charC.toString(16);for(var cnt=SingleByteHex.length;cnt<2;cnt++){SingleByteHex="0"+SingleByteHex;}return SingleByteHex;}function OutputEncoder_TwoByteHex(charC){var TwoByteHex=charC.toString(16);for(var cnt=TwoByteHex.length;cnt<4;cnt++){TwoByteHex="0"+TwoByteHex;}return TwoByteHex;}function MS_QueryString(){var qs=document.location.search.toString();if(qs.length>0){qs=qs.substring(1);}var pairs=qs.split('&');for(var i=0;i<pairs.length;i++){var pair=pairs[i].split('=');if(pair.length!=2){continue;}if(pair[1]==''){continue;}try{var key=decodeURI(pair[0]).toLowerCase();var value=decodeURI(pair[1]);}catch(e){var key=unescape(pair[0]).toLowerCase();var value=unescape(pair[1]);}if(this[key]){this[key]+=', '+value;}else{this[key]=value;}}}var queryString=new MS_QueryString();function GetModifiedQueryString(key,value){var qsCopy=new Object;for(var i in queryString){qsCopy[i]=queryString[i];}qsCopy[key]=value;var strQs='';for(var i in qsCopy){strQs+=OutputEncoder_EncodeUrl(i)+'='+OutputEncoder_EncodeUrl(qsCopy[i])+'&';}return '?'+strQs;}function fetchcookieval(key){var cookiename;var cookieval;var keyfound=false;var cookiearray=document.cookie.split(';')
 for(var i=0;i<cookiearray.length;i++){cookiename=cookiearray[i].substring(0,cookiearray[i].indexOf('='));if(cookiename.charAt(0)==' ')cookiename=cookiename.substring(1,cookiename.length);cookieval=cookiearray[i].substring(cookiearray[i].indexOf('=')+1,cookiearray[i].length);if(key==cookiename){keyfound=true;break;}}if(keyfound){return cookieval;}else{return 'blank';}}function setcookieval(key,val){var d=new Date();d.setFullYear(d.getFullYear()+1);var localdomain=document.domain;if((typeof(gCookieDomain)!='undefined')&&(gCookieDomain!=null)&&(gCookieDomain!='')){localdomain=gCookieDomain;}if(localdomain.indexOf(".com")>-1){document.cookie=key+'='+val+'; expires='+d.toGMTString()+'; Domain='+localdomain+'; path=/';}else{document.cookie=key+'='+val+'; expires='+d.toGMTString()+'; path=/';}}function srch_setcookieval(key,val){var localdomain=document.domain;if((typeof(gCookieDomain)!='undefined')&&(gCookieDomain!=null)&&(gCookieDomain!='')){localdomain=gCookieDomain;}if(localdomain.indexOf('.com')>-1){document.cookie=key+'='+val+'; Domain='+localdomain+'; path=/';}else{document.cookie=key+'='+val+'; path=/';}}function UnicodeFixup(s){var result=new String();var c='';var i=-1;var l=s.length;result='';for(i=0;i<l;i++){c=s.substring(i,i+1);if(c=='%'){result+=c;i++;c=s.substring(i,i+1);if(c!='u'){if(parseInt('0x'+s.substring(i,i+2))>128){result+='u00';}}}
else if(c=='+'){c='%2B';}result+=c;}return result;}
var g_reSupportedHostnames;function ForeignLink_Hookup(branding){if(typeof(branding)=='undefined'){branding='true';}var eCurrentAnchor=null;for(var i=0;i<document.links.length;i++){eCurrentAnchor=document.links[i];
if(eCurrentAnchor.protocol==('http:'||'https:')){
if(!branding&&((eCurrentAnchor.href.indexOf(document.domain)>-1)||(eCurrentAnchor.href.substring(0,1)=='/'))&&(eCurrentAnchor.href.toLowerCase().indexOf('fr=1')<0)){if(eCurrentAnchor.href.indexOf('?')>-1){eCurrentAnchor.href=eCurrentAnchor.href+'&FR=1';}else{eCurrentAnchor.href=eCurrentAnchor.href+'?FR=1';}}if(!g_reSupportedHostnames.exec(eCurrentAnchor.hostname)||(!branding&&eCurrentAnchor.href.indexOf(document.domain)<0)){eCurrentAnchor.target='_blank';}}}
if(!branding){if(document.getElementsByName){var eForms=null;for(var i=0;i<document.forms.length;i++){eCurrentForm=document.forms[i];if((eCurrentForm.action.indexOf(document.domain)>-1)||(eCurrentForm.action.substring(0,1)=='/')){if(!eCurrentForm.FR){var elm=document.createElement('input');elm.type='hidden';elm.name='FR';elm.id='FR';elm.value='1';eCurrentForm.appendChild(elm);}}}}}}function MS_PageToolsData(){this.savingMsg='Saving Favorites';this.connectionErrorMsg='Cannot Connect';this.savedMsg='Favorites Saved';this.noSaveErrorMsg='Cannot Save';this.closeMsg='Close';this.noCookieUrl='/gp/nocookies/';this.surveyUrl='';this.disableSaveToFavorites=false;function getObjectId(){var i=0;while(true){if(!eval('window.SaveToFavoritesData'+i)){return 'SaveToFavoritesData'+i;}i++;}}this.id=getObjectId();window[this.id]=this;this.PrintPage=function(){StatsDotNet.eventCollectionId=SetLogCollectionBit(StatsDotNet.eventCollectionId,2);try{window.print();}catch(e){}return false;};this.EmailPage=function(el){StatsDotNet.eventCollectionId=SetLogCollectionBit(StatsDotNet.eventCollectionId,3);return true;};this.SaveToFavorites=function(el){if(this.disableSaveToFavorites){return false;}StatsDotNet.eventCollectionId=SetLogCollectionBit(StatsDotNet.eventCollectionId,4);if(!navigator.cookieEnabled){el.href=document.location.protocol+'//'+document.location.hostname+this.noCookieUrl;return true;}this.objSaveFavoritesWindow.loadingMessage=this.savingMsg;this.objSaveFavoritesWindow.cannotLoadMessage=this.connectionErrorMsg;this.objSaveFavoritesWindow.successMessage=this.savedMsg;this.objSaveFavoritesWindow.errorMessage=this.noSaveErrorMsg;this.objSaveFavoritesWindow.closeMessage=this.closeMsg;var params='';if(!window.PersonalizationInfo){window.PersonalizationInfo='';}params=window.PersonalizationInfo;this.objSaveFavoritesWindow.iframeUrl=document.location.protocol+'//'+document.location.hostname+'/Common/Personalize.aspx?PersonalizationInfo='+params;this.objSaveFavoritesWindow.responseSuccess='success';this.objSaveFavoritesWindow.responseFailure='failure';this.objSaveFavoritesWindow.functionToExecuteOnLoad=function(){var td=MS_GetEl('SaveToMySupportFavorites_tr').childNodes[2];td.style.visibility='hidden';};this.objSaveFavoritesWindow.functionToExecuteOnUnLoad=function(){var td=MS_GetEl('SaveToMySupportFavorites_tr').childNodes[2];td.style.width=td.offsetWidth;td.style.height=td.offsetHeight;td.style.visibility='visible';td.style.verticalAlign='top';var img=MS_GetEl('bil_SaveToMySupportFavorites');img.href='';img.style.cursor='text';var i=0;var SaveToFavObj=null;while(true){if(eval('window.SaveToFavoritesData'+i)){SaveToFavObj=eval('window.SaveToFavoritesData'+i);break;}i++;if(i>100){break;}}if(!SaveToFavObj){return;}var link=MS_GetEl('SaveToMySupportFavorites');link.width=link.offsetWidth;link.height=link.offsetHeight;link.href='';link.style.textDecoration='none';link.style.cursor='text';link.style.color='black';link.innerHTML=SaveToFavObj.objSaveFavoritesWindow.finalMessage;SaveToFavObj.disableSaveToFavorites=true;};this.objSaveFavoritesWindow.parentObj=MS_GetEl('SaveToMySupportFavorites_tr').childNodes[2];this.objSaveFavoritesWindow.Load();return false;};this.GoToFavorites=function(el){if(!navigator.cookieEnabled){el.href=document.location.protocol+'//'+document.location.hostname+this.noCookieUrl;return true;}el.href=document.location.protocol+'//'+document.location.hostname+"/personalization/mydisplaysettings.aspx";return true;};this.SendFeedback=function(el){if(MS_GetEl('fmsSurvey')){el.href="#survey";el.target="";return true;}else{window.open(this.surveyUrl,'_blank','resizable=yes,scrollbars=yes,menubar=no,location=no,toolbar=no,status=no,left=0,top=0,height=500,width=725');}return false;};}function MS_StatusWindow(){this.statusTimeout=null;this.intervalTime=800;this.id=getObjectId();this.idMessage=this.id+'_message';this.idStatus=this.id+'_status';this.loadingMessage='loading';this.cannotLoadMessage='cannot load';this.successMessage='success';this.errorMessage='failure';this.closeMessage='close';this.finalMessage='';this.iframe=this.id+'_Iframe';this.loadingBackground='#353599';this.responseSuccess='success';this.responseFailure='failure';this.iframeUrl='';this.numberOfStatusBars=10;this.hiddenElements=new Array();this.functionToExecuteOnLoad=null;this.functionToExecuteOnUnLoad=null;this.parentObj=null;this.parentInnerHtml=null;this.RPCHelper=new MS_RPCHelper('RPC1');function getObjectId(){var i=0;while(true){if(!eval('window.floatWindow'+i)){return 'floatWindow'+i;}i++;}}window[this.id]=this;this.Load=function(){var longestMessage=this.loadingMessage;if(longestMessage.length<this.cannotLoadMessage.length){longestMessage=this.cannotLoadMessage;}if(longestMessage.length<this.successMessage.length){longestMessage=this.successMessage;}if(longestMessage.length<this.errorMessage.length){longestMessage=this.errorMessage;}var floatInnards='<div class="message" id="'+this.idMessage+'">'+longestMessage+'</div>'+'<table cellpadding="0" cellspacing="0" width="100%" border="0"><tr><td align="center">'+'<table id="'+this.idStatus+'" class="status"><tr>';for(var i=0;i<this.numberOfStatusBars;i++){floatInnards+='<td id="'+this.id+'_col'+i+'">&nbsp;</td>';}floatInnards+='</tr></table></td></tr></table>';if(!MS_GetEl(this.id)){var newEl='<div class="floatWindow" id="'+this.id+'"></div>';this.parentObj.width=this.parentObj.offsetWidth;this.parentObj.height=this.parentObj.offsetHeight;this.parentObj.innerHTML=newEl+this.parentObj.innerHTML;}try{MS_GetEl(this.id).innerHTML=floatInnards;var el=MS_GetEl(this.id);if(this.parentObj){el.style.top=this.getTop(this.parentObj);if(this.parentObj.offsetHeight<el.offsetHeight){this.parentObj.style.height=el.offsetHeight;}}var messageEl=MS_GetEl(this.idMessage);messageEl.innerHTML=this.loadingMessage;el.style.display='block';this.RPCHelper.MakeRequest(this.iframeUrl,null);this.FadeIn();this.statusTimeout=window.setTimeout(this.id+'.Update(0,true)',this.intervalTime);if(this.functionToExecuteOnLoad!=null){this.functionToExecuteOnLoad();}}catch(e){window.setTimeout(this.id+'.Load()',this.intervalTime);}};this.getTop=function(el){var yPos=el.offsetTop;var tempEl=el.offsetParent;while(tempEl!=null){yPos+=tempEl.offsetTop;tempEl=tempEl.offsetParent;}return yPos;};this.SetStatus=function(blnSuccess){if(this.statusTimeout){window.clearTimeout(this.statusTimeout);}if(blnSuccess){for(var i=0;i<this.numberOfStatusBars;i++){MS_GetEl(this.id+'_col'+i).style.background=this.loadingBackground;}window.setTimeout('MS_GetEl(\''+this.idMessage+'\').innerHTML = \''+this.successMessage+'\';',this.intervalTime);window.setTimeout('MS_GetEl(\''+this.idStatus+'\').style.visibility = \'hidden\';',this.intervalTime);this.statusTimeout=window.setTimeout(this.id+'.FadeOut()',this.intervalTime+400);window.setTimeout(this.id+'.StopWindow()',this.intervalTime+600);this.finalMessage=this.successMessage;}else{this.StopTime();window.setTimeout('MS_GetEl(\''+this.idMessage+'\').innerHTML = \'<span style="error">'+this.errorMessage+'</span>\';',this.intervalTime);window.setTimeout('MS_GetEl(\''+this.idStatus+'\').style.display = \'none\';',this.intervalTime);this.statusTimeout=window.setTimeout(this.id+'.FadeOut()',this.intervalTime+400);window.setTimeout(this.id+'.StopWindow()',this.intervalTime+600);this.finalMessage=this.errorMessage;}};this.StopWindow=function(){try{if(this.functionToExecuteOnUnLoad!=null){this.functionToExecuteOnUnLoad();}}catch(e){}};this.Update=function(i,callTimeout){var el=MS_GetEl(this.id+'_col'+i);var badEl=false;badEl=(i>=this.numberOfStatusBars);if(badEl){if(i<this.numberOfStatusBars){MS_GetEl(this.idMessage).innerHTML='<span class="error">'+this.errorMessage+'</span>';this.finalMessage=this.errorMessage;}else{MS_GetEl(this.idMessage).innerHTML='<span class="error">'+this.cannotLoadMessage+'</span>';this.finalMessage=this.cannotLoadMessage;}MS_GetEl(this.idStatus).style.display='none';return;}try{if(this.RPCHelper.result){if(this.RPCHelper.result.indexOf(this.responseSuccess)>-1){this.SetStatus(true);}else{this.SetStatus(false);}return;}}catch(e){}var intStatus=i - 1;for(var j=0;j<intStatus;j++){MS_GetEl(this.id+'_col'+j).style.background=this.loadingBackground;}if(callTimeout){this.statusTimeout=window.setTimeout(this.id+'.Update('+(i+1)+',true)',this.intervalTime);}};this.ToggleFade=function(blnFadeIn){var style1=(blnFadeIn)? 'hidden' : 'visible';var style2=(blnFadeIn)? 'visible' : 'hidden';var el=MS_GetEl(this.id);el.style.visibility=style1;if(!document.all){el.style.visibility=style2;return;}try{el.filters[0].apply();el.style.visibility=style2;el.filters[0].play();}catch(e){el.style.visibility=style2;}};this.FadeOut=function(){this.ToggleFade(false);};this.FadeIn=function(){this.ToggleFade(true);};this.StopTime=function(){if(this.statusTimeout){window.clearInterval(this.statusTimeout);}};}function SwitchLanguage(containerId){var scid=document.frmArticleTrans.scid.value.split(';');if(scid.length!=3){return true;}if(!StatsDotNet.disabled){StatsDotNet.exitContainerId=containerId;}var type=scid[0];var ln=scid[1];var id=scid[2];var redirecturl=document.location.protocol+'//'+document.location.hostname+'/'+type+'/'+id+'/'+ln;var redirectATag=document.getElementById("KBLangListRedirect");if(redirectATag!=null){redirectATag.href=redirecturl;redirectATag.click();}else
document.location=redirecturl;return false;}function MS_StatsDotNet(){this.startDate=new Date();this.disabled=true;this.host='/LTS/';this.scrollUsed=false;this.reCleanId = /[^0-9]*/i;this.eventCollectionId=0;this.OptionCollectionId=0;this.ContentProperties='';this.refUrl='';this.contentType='';this.contentLn='';this.contentId='';this.ContentCulture='';this.exitContainerId='';this.exitLinkId='';var exitval=fetchcookieval('exitinfo');if(exitval!=''&&exitval!='blank'){var values=exitval.split('|');if(values.length==6){this.rctype=values[0];this.rclcid=values[1];this.rcid=values[2];this.rcculture=values[3];this.rexcid=values[4];this.rexlid=values[5];}}if(document.referrer&&document.referrer!=''){this.refUrl=document.referrer.toString();}this.eventSeqNo=0;this.targetUrl='';this.sessionId='';this.onUnloadTimeout=null;this.CleanId=function(str){try{return str.replace(this.reCleanId,'');}catch(e){}return '';};this.LogPageOnLoad=function(){
 if(MS_GetEl("acwkblink")){StatsDotNet.OptionCollectionId=SetLogCollectionBit(StatsDotNet.OptionCollectionId,32);}this.eventSeqNo=this.GetCookieIncrement();

if(typeof(window.innerWidth)=='number'){StatsDotNet.browserWidth=window.innerWidth;StatsDotNet.browserHeight=window.innerHeight;}else if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){StatsDotNet.browserWidth=document.documentElement.clientWidth;StatsDotNet.browserHeight=document.documentElement.clientHeight;}else if(document.body&&(document.body.clientWidth||document.body.clientHeight)){StatsDotNet.browserWidth=document.body.clientWidth;StatsDotNet.browserHeight=document.body.clientHeight;}var ltsUrl=this.host+'?';if(this.sessionId!='')
ltsUrl+='SessionID='+OutputEncoder_EncodeUrl(this.sessionId)+'&';ltsUrl+='SSID='+OutputEncoder_EncodeUrl(this.ssId)+'&'+'SiteLCID='+OutputEncoder_EncodeUrl(this.siteLcId)+'&'+'EventCollectionID='+OutputEncoder_EncodeUrl(this.eventCollectionId)+'&'+'URL='+OutputEncoder_EncodeUrl(this.url)+'&'+'ContentType='+OutputEncoder_EncodeUrl(this.contentType)+'&'+'ContentLCID='+OutputEncoder_EncodeUrl(this.contentLn)+'&'+'ContentID='+OutputEncoder_EncodeUrl(this.contentId)+'&'+'ReferrerContentType='+OutputEncoder_EncodeUrl(this.rctype)+'&'+'ReferrerContentLCID='+OutputEncoder_EncodeUrl(this.rclcid)+'&'+'ReferrerContentID='+OutputEncoder_EncodeUrl(this.rcid)+'&'+'ReferrerContentCulture='+OutputEncoder_EncodeUrl(this.rcculture)+'&'+'ReferrerExitContainerID='+OutputEncoder_EncodeUrl(this.rexcid)+'&'+'ReferrerExitLinkID='+OutputEncoder_EncodeUrl(this.rexlid)+'&'+'BrowserWidth='+this.browserWidth+'&'+'BrowserHeight='+this.browserHeight+'&'+'BrandID='+OutputEncoder_EncodeUrl(this.siteBrandId)+'&'+'RefURL='+OutputEncoder_EncodeUrl(this.refUrl)+'&'+'OptionCollectionId='+OutputEncoder_EncodeUrl(this.OptionCollectionId)+'&'+'EventSeqNo='+OutputEncoder_EncodeUrl(this.eventSeqNo)+'&'+'SSversion='+OutputEncoder_EncodeUrl(this.SsVersion)+'&'+'SiteCulture='+OutputEncoder_EncodeUrl(this.SiteCulture)+'&'+'ContentCulture='+OutputEncoder_EncodeUrl(this.ContentCulture)+'&'+'In404Url='+OutputEncoder_EncodeUrl(this.In404Url)+'&'+'ContentProperties='+OutputEncoder_EncodeUrl(this.ContentProperties)+'&'+'FlexID='+OutputEncoder_EncodeUrl(this.flexId)+'&'+'FlexValue1='+OutputEncoder_EncodeUrl(this.flexValue1)+'&'+'FlexValue2='+OutputEncoder_EncodeUrl(this.flexValue2)+'&'+'FlexValue3='+OutputEncoder_EncodeUrl(this.flexValue3)+'&'+'FlexValue4='+OutputEncoder_EncodeUrl(this.flexValue4)+'&'+'FlexValue5='+OutputEncoder_EncodeUrl(this.flexValue5);document.StatsDotNetImg.src=ltsUrl;};this.LogPageOnUnLoad=function(){if(fetchcookieval('GsfxStatsLog')!='true')
return;this.endDate=new Date();this.dwellTime=this.endDate.getTime()- this.startDate.getTime();if(this.scrollUsed){StatsDotNet.eventCollectionId=SetLogCollectionBit(StatsDotNet.eventCollectionId,27);}srch_setcookieval("exitinfo",this.contentType+"|"+this.contentLn+"|"+this.contentId+"|"+this.ContentCulture+"|"+this.exitContainerId+"|"+this.exitLinkId);var ltsUrl=this.host+'?';if(this.sessionId!='')
ltsUrl+='SessionID='+OutputEncoder_EncodeUrl(this.sessionId)+'&';ltsUrl+='SSID='+OutputEncoder_EncodeUrl(this.ssId)+'&'+'SiteLCID='+OutputEncoder_EncodeUrl(this.siteLcId)+'&'+'EventCollectionID='+OutputEncoder_EncodeUrl(this.eventCollectionId)+'&'+'OptionCollectionId='+OutputEncoder_EncodeUrl(this.OptionCollectionId)+'&'+'ContentType='+OutputEncoder_EncodeUrl(this.contentType)+'&'+'ContentLCID='+OutputEncoder_EncodeUrl(this.contentLn)+'&'+'ContentID='+OutputEncoder_EncodeUrl(this.contentId)+'&'+'ExitLinkID='+this.CleanId(this.exitLinkId)+'&'+'ExitContainerID='+this.CleanId(this.exitContainerId)+'&'+'DwellTime='+OutputEncoder_EncodeUrl(this.dwellTime)+'&'+'BrandID='+OutputEncoder_EncodeUrl(this.siteBrandId)+'&'+'SearchCategoryID='+this.CleanId(this.searchCategoryId+'')+'&'+'SearchCategoryLinkPos='+OutputEncoder_EncodeUrl(this.searchCategoryLinkPos)+'&'+'SearchPageLinkPos='+OutputEncoder_EncodeUrl(this.searchPageLinkPos)+'&'+'TargetURL='+OutputEncoder_EncodeUrl(this.targetUrl)+'&'+'EventSeqNo='+OutputEncoder_EncodeUrl(this.eventSeqNo)+'&'+'unload=true'+'&'+'FlexID='+OutputEncoder_EncodeUrl(this.flexId)+'&'+'FlexValue1='+OutputEncoder_EncodeUrl(this.flexValue1)+'&'+'FlexValue2='+OutputEncoder_EncodeUrl(this.flexValue2)+'&'+'FlexValue3='+OutputEncoder_EncodeUrl(this.flexValue3)+'&'+'FlexValue4='+OutputEncoder_EncodeUrl(this.flexValue4)+'&'+'FlexValue5='+OutputEncoder_EncodeUrl(this.flexValue5);if(window.exitTabValue)ltsUrl+="&ContentProperties="+OutputEncoder_EncodeUrl(exitTabID+"="+exitTabValue+"|");document.StatsDotNetImg.src=ltsUrl;var today=new Date();var now=today.getTime();while(1){var today2=new Date();var now2=today2.getTime();if((now2 - now)>this.onUnloadTimeout)
return;}};this.SetExitLinks=function(e){var El=srcEl(e);var elId=null;var parentId=null;if(!El){return;}if(!El.tagName){return;}if(El.tagName.toUpperCase()!='A'){return;}if(!El.href){return;}if(El.href.indexOf('javascript:')>-1){return;}if(El.href.indexOf('mailto:')>-1){return;}if(El.id){this.exitLinkId=El.id;}this.targetUrl=El.href;};this.TrackSearch=function(searchCategoryId,searchCategoryLinkPos,searchPageLinkPos){this.searchCategoryId=searchCategoryId;this.searchCategoryLinkPos=searchCategoryLinkPos;this.searchPageLinkPos=searchPageLinkPos;};this.GetCookieIncrement=function(){var cookieKey='sdninc';var inc=fetchcookieval(cookieKey);if(inc=='blank'){inc='0';}inc=parseInt(inc);inc+=1;document.cookie=cookieKey+'='+inc+'; path=/;';return inc;};this.SetSearchCategoryId=function(assetId){if(!StatsDotNet.disabled)
this.searchCategoryId=assetId;};}var StatsDotNet=new MS_StatsDotNet();var SaveFavoritesWindow=new MS_StatusWindow();var SaveToFavoritesData=new MS_PageToolsData();SaveToFavoritesData.objStatsDotNet=StatsDotNet;SaveToFavoritesData.objSaveFavoritesWindow=SaveFavoritesWindow;function MS_HandleClick(el,containerId,recordHit){if(!el.id)el.id='';var id=el.id.replace('_i','');if(recordHit&&!StatsDotNet.disabled){StatsDotNet.exitLinkId=id;StatsDotNet.exitContainerId=containerId;}switch(id){case 'PrintPage' : return SaveToFavoritesData.PrintPage();case 'bil_PrintPage' : return SaveToFavoritesData.PrintPage();case 'EmailPage' : return SaveToFavoritesData.EmailPage(el);case 'SaveToMySupportFavorites' : return SaveToFavoritesData.SaveToFavorites(el);case 'bil_SaveToMySupportFavorites' : return SaveToFavoritesData.SaveToFavorites(el);case 'MySupportFavoritesLink' : return SaveToFavoritesData.GoToFavorites(el);case 'bil_MySupportFavoritesLink' : return SaveToFavoritesData.GoToFavorites(el);case 'SendFeedback' : return SaveToFavoritesData.SendFeedback(el);}if(el.id.indexOf('oas_')==0){el.href=MS_OASURL+GetModifiedQueryString('gprid',el.id.replace('oas_',''));var pos=el.href.toLowerCase().indexOf("target=assistance");if(pos>0){var end=pos+17;if(el.href.charAt(pos-1)=='&')
pos=pos - 1;el.href=el.href.substring(0,pos)+el.href.substring(end,el.href.length);}}var indexOfPSMore=el.href.indexOf('GSSProdSelMore');if(indexOfPSMore>0){var end=el.href.indexOf('&',indexOfPSMore);if(end<0)end=el.href.length;var c1ID=el.href.substring(indexOfPSMore+14,end);el.href='/select/default.aspx'+GetModifiedQueryString('c1',c1ID);}return true;}function getsearchurl(elem){if(queryString['adv']=='1'){elem.href=elem.href+'&adv=1';}}function getrssurl(elem){var rindex=elem.href.indexOf('/common/rss.aspx');if(rindex>-1)elem.href=elem.href+'&msid='+mc1;}var mc1='';function MS_WebMetrix(sUrl){if(typeof(sUrl)!='undefined'){var cv;var p1='guid=';var p2='&guid=';var gl=32;cv=fetchcookieval('MC1').toLowerCase();if(cv=='blank'||cv==''){cv=fetchcookieval('MC2').toLowerCase();}if(cv!='blank'&&cv!=''){if(cv.substr(0,p1.length)==p1){mc1=cv.substr(p1.length,gl);}else if(cv.indexOf(p2)>-1){mc1=cv.substr(cv.indexOf(p2)+p2.length,gl);}}sUrl=sUrl+'&msid='+mc1;MS_GetEl('webmetriximg').src=sUrl;}}function MS_DocumentOnClick(e){if(!StatsDotNet.disabled){StatsDotNet.SetExitLinks(e);}}function MS_WindowOnUnload(){if(!StatsDotNet.disabled){StatsDotNet.LogPageOnUnLoad();}}MS_AddEvent(window,'unload',MS_WindowOnUnload);MS_AddEvent(document,'click',MS_DocumentOnClick);MS_AddEvent(window,'scroll',MS_WindowOnScroll);function MS_WindowOnScroll(){StatsDotNet.scrollUsed=true;MS_RemoveEvent(window,'scroll',MS_WindowOnScroll);}function mhHover(tbl,idx,cls){var t,d;t=MS_GetEl(tbl);if(t==null){return;}if(t.getElementsByTagName){d=t.getElementsByTagName('TD');}else{d=t.all.tags('TD');}if(d==null){return;}if(d.length<=idx){return;}d[idx].className=cls;}function setMSResearch(){var time=new Date();if(document.cookie.indexOf('msresearch=1 ')==-1){document.cookie='msresearch='+time.getTime()+':'+escape(document.location)+':'+escape(document.referrer)+'; path=/; domain=.microsoft.com; ';}}function footerjs(doc){if(doImage==null){var tt=(TType==null)? 'PV' : TType;doc.write('<layer visibility="hide"><div style="display:none"><img src="'+document.location.protocol+'//c.microsoft.com/trans_pixel.asp?source=localhost&TYPE='+tt+'&p=MNPGenerator" width=0 height=0 hspace=0 vspace=0 border=0 /></div></layer>');}if((document.cookie.indexOf('msresearch=1 ')==-1)(document.cookie.indexOf('msresearch=')!=-1)){setInterval('setMSResearch()',1000);}}function SubmitSettingChanges(TypeID){document.forms[TypeID+'Form'].submit();}function SaveDiscussionSettings(){MS_GetEl('SaveSettings').value='true';document.forms['DiscussionSettings'].submit();}function ValidateEmail(s){if(s.length==0){return true;}var r1 = /(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)/;
var r2 = /^([\w-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])$|(([\w-]+\.)+)([a-zA-Z]{2,4}))$/;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -