1if(typeof _STNS=="undefined"){ 2if(!Array.prototype.push){ 3Array.prototype.push=function(){ 4for(var i=0;i<arguments.length;i++){ 5this[this.length]=arguments[i]; 6} 7return this.length; 8}; 9} 10if(!Array.prototype.pop){ 11Array.prototype.pop=function(){ 12if(this.length){ 13var o=this[this.length-1]; 14this.length--; 15return o; 16} 17}; 18} 19if(!Array.prototype.shift){ 20Array.prototype.shift=function(){ 21if(this.length){ 22var o=this[0]; 23for(var i=0;i<this.length-1;i++){ 24this[i]=this[i+1]; 25} 26this.length--; 27return o; 28} 29}; 30} 31if(!Function.prototype.call){ 32Function.prototype.call=function(_5){ 33var _5=_5||window; 34_5.__tmp=this; 35var _6=_5.__tmp(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10]); 36_5.__tmp=null; 37return _6; 38}; 39} 40_STNS={sVer:"3.0",bDebug:false,fvThrow:function(e){ 41},bBufImg:true,oImgs:{},fvBufImgs:function(){ 42if(!_STNS.bBufImg){ 43return; 44} 45if(!_STNS.bLoaded){ 46var s=""; 47for(var i in _STNS.oImgs){ 48if(_STNS.oImgs[i]!=2){ 49s+=_STNS.fsGetTag("div","style=\"display:none\"",_STNS.fsGetImgTag(i,-1,-1)); 50} 51_STNS.oImgs[i]=2; 52} 53document.write(s); 54} 55},bIsIE:false,bIsMIE:false,bIsFX:false,bIsOP:false,bIsSF:false,bIsKQ:false,oNav:null,bRTL:false,sDocMd:null,sURL:window.location.href+"",sDIR:null,bLocal:false,fsGetDocMd:function(w){ 56var w=w||window; 57switch(w.document.compatMode){ 58case "QuirksMode": 59case "BackCompat": 60return "quirks"; 61case "CSS1Compat": 62return "css1"; 63default: 64return document.compatMode; 65} 66},_foGetNav:function(){ 67var _n=navigator,_u=_n.userAgent,_a=_n.appName,_p=_n.platform,n,v,p; 68if(/(Opera)[ \/]([\d\.]+)/.test(_u)||/(Netscape)\d*\/([\d\.]+)/.test(_u)||/(MSIE) ([\d\.]+)/.test(_u)||/(Safari)\/([\d\.]+)/.test(_u)||/(Konqueror)\/([\d\.]+)/.test(_u)||/(Gecko)\/(\d+)/.test(_u)){ 69n=RegExp.$1.toLowerCase(); 70v=RegExp.$2; 71}else{ 72if(_a=="Netscape"&&_n.appVersion.charAt(0)=="4"){ 73n="netscape4"; 74v=parseFloat(_n.appVersion); 75}else{ 76n="unknow"; 77v=0; 78} 79} 80if(n=="netscape"){ 81switch(_a){ 82case "Microsoft Internet Explorer": 83n="msie"; 84v=/(MSIE) ([\d\.]+)/.exec(_u)[2]; 85break; 86case "Netscape": 87n="gecko"; 88v=/(Gecko)\/(\d+)/.exec(_u)[2]; 89} 90} 91if(/^(Win)/.test(_p)||/^(Mac)/.test(_p)||/^(SunOS)/.test(_p)||/^(Linux)/.test(_p)||/^(Unix)/.test(_p)){ 92p=RegExp.$1.toLowerCase(); 93}else{ 94p=_p; 95} 96return {name:n,version:v,platform:p}; 97},fiGetCT:function(w){ 98var w=w||window; 99if(_STNS.bIsIE){ 100return (_STNS.fsGetDocMd(w)=="css1"?w.document.documentElement:w.document.body).scrollTop; 101}else{ 102return w.pageYOffset; 103} 104},fiGetCL:function(w){ 105var w=w||window; 106if(_STNS.bIsIE){ 107return (_STNS.fsGetDocMd(w)=="css1"?w.document.documentElement:w.document.body).scrollLeft; 108}else{ 109return w.pageXOffset; 110} 111},fiGetCW:function(w){ 112var w=w||window; 113if(_STNS.bIsIE){ 114return (_STNS.fsGetDocMd(w)=="css1"?w.document.documentElement:w.document.body).clientWidth; 115}else{ 116if(w.scrollbars&&w.scrollbars.visible||w.innerHeight<document.documentElement.offsetHeight){ 117return w.innerWidth-20; 118} 119} 120return w.innerWidth; 121},fiGetCH:function(w){ 122var w=w||window; 123if(_STNS.bIsIE){ 124return (_STNS.fsGetDocMd(w)=="css1"?w.document.documentElement:w.document.body).clientHeight; 125}else{ 126if(w.scrollbars&&w.scrollbars.visible||w.innerWidth<document.documentElement.offsetWidth){ 127return w.innerHeight-20; 128} 129} 130return w.innerHeight; 131},foGetMediaInfor:function(s){ 132_STNS.fvThrow(new Error("_STNS.runTime error:call foGetMediaInfor that has not been implemented")); 133},oLibs:{},sLibPth:"",fvInitLib:function(){ 134var scs,sc,s,t,ls,pth; 135if(_STNS.bIsFX&&!_STNS.faGetElesByTagName("body").length){ 136var hds=_STNS.faGetElesByTagName("head"); 137sc=hds[0].lastChild; 138}else{ 139scs=_STNS.faGetElesByTagName("script"); 140sc=scs[scs.length-1]; 141} 142if(sc){ 143s=sc.src; 144} 145if(s){ 146_STNS.sLibPth=s.substr(0,s.lastIndexOf("/")+1); 147t=_STNS.fcoGetAttribute(sc,"sothinkdebug"); 148if(t=="true"){ 149pth=_STNS.fsGetAbsPth(_STNS.sLibPth+"debug/stdebug.js"); 150if(!_STNS.oLibs[pth]){ 151_STNS.oLibs[pth]={state:1,defer:0}; 152} 153} 154t=_STNS.fcoGetAttribute(sc,"sothinklib"); 155if(t){ 156ls=t.split(";"); 157for(var i=0;i<ls.length;i++){ 158if(!ls[i]){ 159continue; 160}
161if(!_STNS.fbIsFile(ls[i])){ 162ls[i]+=".js"; 163} 164pth=_STNS.fsGetAbsPth(_STNS.sLibPth+ls[i]); 165if(_STNS.oLibs[pth]){ 166continue; 167} 168_STNS.oLibs[pth]={state:1,defer:0}; 169} 170} 171}else{ 172_STNS.fvThrow(new Error("_STNS.runTime error:can't get lib path")); 173} 174},fvInc:function(s,f){ 175if(!_STNS.oLibs[s]){ 176_STNS.oLibs[s]={state:1,defer:f}; 177} 178},fvLoadLib:function(){ 179var s=""; 180with(_STNS){ 181for(var i in oLibs){ 182if(oLibs[i].state!=2){ 183if(bLoaded){ 184fbInsJs(i); 185}else{ 186s+=fsGetJsTag(i,oLibs[i].defer); 187} 188oLibs[i].state=2; 189} 190} 191} 192if(s){ 193document.write(s); 194} 195},bLoaded:false,_aLoads:[],fbAddLoad:function(f){ 196if(!_STNS.bLoaded&&typeof f=="function"){ 197return _STNS._aLoads.push(f); 198}else{ 199if(_STNS.bLoaded){ 200_STNS.fvThrow(new Error("_STNS.runTime error:Page has been loaded!")); 201}else{ 202_STNS.fvThrow(new Error("_STNS.runTime error:Not a function is pushed into onload event!")); 203} 204} 205return false; 206},_fvOnload:function(){ 207with(_STNS){ 208if(bLoaded){ 209return; 210} 211bLoaded=true; 212for(var j=0;j<_aLoads.length;j++){ 213_aLoads[j](); 214} 215} 216},_fvInitOnload:function(){ 217if(_STNS.bIsIE&&window.attachEvent){ 218window.attachEvent("onload",_STNS._fvOnload); 219}else{ 220if(_STNS.oNav.name!="konqueror"&&window.addEventListener){ 221window.addEventListener("load",_STNS._fvOnload,false); 222}else{ 223if(!window.onload||window.onload.toString()!=_STNS._fvOnload.toString()){ 224if(typeof window.onload=="function"){ 225_STNS.fbAddLoad(window.onload); 226} 227onload=_STNS._fvOnload; 228} 229} 230} 231},_aCks:[],bCkPg:false,nCkTid:0,nCkTime:100,fvAddCk:function(f){ 232if(typeof f=="function"){ 233with(_STNS){ 234if(bCkPg){ 235clearTimeout(nCkTid); 236bCkPg=false; 237} 238_aCks.push(f); 239if(bLoaded){ 240_fvCkPg(); 241} 242} 243}else{ 244_STNS.fvThrow(new Error("_STNS.runTime error:Not a function is pushed into check page event!")); 245} 246return false; 247},_fvCkPg:function(){ 248with(_STNS){ 249if(_aCks.length){ 250bCkPg=true; 251for(var i=0;i<_aCks.length;i++){ 252_aCks[i](); 253}
254nCkTid=setTimeout("_STNS._fvCkPg()",nCkTime); 255}else{ 256bCkPg=false; 257} 258} 259},bShield:false,oDefCSS:{tb:"border-style:none;background-color:transparent;background-image:none;",tr:"border-style:none;background-color:transparent;background-image:none;",td:"border-style:none;background-color:transparent;background-image:none;",dv:"border-style:none;background-color:transparent;background-image:none;margin:0px;padding:0px;",a:"display:block;border-style:none;background-color:transparent;background-image:none;margin:0px;padding:0px;",hd:"display:none;",sp:"border-style:none;background-color:transparent;background-image:none;margin:0px;padding:0px;"},foCss2Obj:function(s){ 260var o={},a,re=/([\w\-_]+):([^;]+)(;|$)/,ra; 261a=s.split(";"); 262for(var i=0;i<a.length;i++){ 263ra=re.exec(a[i]); 264if(ra){ 265o[ra[1]]=ra[2]; 266} 267} 268return o; 269},foCss2Style:function(s){ 270var cs=_STNS.foCss2Obj(s),re=/-([a-z])/,o={},i,k,t; 271for(i in cs){ 272t=re.exec(i); 273if(t){ 274k=i.replace("-"+t[1],t[1].toUpperCase()); 275}else{ 276k=i; 277} 278o[k]=cs[i]; 279} 280return o; 281},fsObj2Css:function(a){ 282var s=""; 283for(var i in a){ 284if(a[i]!=null){ 285s+=i+":"+a[i]+";"; 286} 287} 288return s; 289},fvCSSShield:function(){ 290with(_STNS){ 291if(bLoaded){ 292bShield=false; 293}else{ 294if(faGetElesByTagName("body")&&faGetElesByTagName("body").length){ 295bShield=false; 296}else{ 297var i,s="\n<style type='text/css'>\n"; 298for(i in oDefCSS){ 299if(i=="a"){ 300s+=".sta:link,.sta:hover,.sta:active,.sta:visited"; 301}else{ 302s+=".st"+i; 303} 304s+="{"+oDefCSS[i]+"}\n"; 305} 306s+="</style>"; 307bShield=true; 308document.write(s); 309} 310} 311} 312},fsReadCoki:function(n){ 313var i,cs=document.cookie.split("; "); 314for(i=0;i<cs.length;i++){ 315if(!cs[i].indexOf(n+"=")){ 316return cs[i].substr(n.length); 317} 318} 319},fvSaveCoki:function(n,v,t){ 320var s=n+"="+v+"; ",d=new Date; 321if(!t||!v){ 322s+="expires=Fri, 31 Dec 1999 23:59:59 GMT; "; 323}else{ 324s+="expires="+((new Date(d-0+t)).toGMTString())+"; "; 325} 326s+="path=/; "; 327document.cookie=s; 328},ffGetFun:function(f){ 329if(typeof f=="function"){ 330return f; 331}else{ 332if(typeof f=="string"&&window[f]){ 333return window[f]; 334} 335} 336},fbIsAbsPth:function(s){ 337var t=s.toLowerCase(); 338return /^(#|\?|\/|[a-z]:|http:|https:|file:|ftp:|javascript:|vbscript:|mailto:|about:|gopher:|news:|res:|telnet:|view-source|wais:|rtsp:|mms:|outlook:)/.test(t); 339},fsGetAbsPth:function(ss){ 340var s=ss; 341if(!s){ 342return s; 343} 344var re,t; 345if(!s.indexOf("//")){ 346return s; 347} 348if(s.charAt(0)=="/"){ 349re=/^(file:\/{2,}[^\/]+\/|http:\/\/[^\/]+\/|https:\/\/[^\/]+\/)/; 350if(re.exec(_STNS.sDIR)){ 351s=RegExp.$1+s.substr(1); 352}else{ 353return s; 354} 355}else{ 356if(s=="#"){ 357if(_STNS.sURL.charAt(_STNS.sURL.length-1)!="#"){ 358return _STNS.sURL+"#"; 359}else{ 360return _STNS.sURL; 361} 362}else{ 363if(!_STNS.fbIsAbsPth(s)){ 364s=_STNS.sDIR+s; 365}else{ 366return s; 367} 368} 369} 370while(s.indexOf("/./")>0){ 371s=s.replace("/./","/"); 372} 373while((t=s.indexOf("/../"))>0){ 374var p1,p2; 375p1=s.substr(0,t); 376p2=s.substr(t).replace("/../",""); 377p1=p1.substr(0,p1.lastIndexOf("/")+1); 378s=p1+p2; 379} 380return s; 381},fsGetImgTag:function(s,w,h,b,id,nw,nh){ 382if(!s||!w||!h){ 383return ""; 384} 385if(nw&&nh){ 386if(w==-1&&h==-1){ 387w=nw,h=nh; 388}else{ 389if(w==-1&&h!=-1){ 390w=Math.floor(nw*h/nh); 391}else{ 392if(w!=-1&&h==-1){ 393h=Math.floor(nh*w/nw); 394} 395} 396} 397} 398return "<img class='stimg' src=\""+s+"\""+(w==-1?"":" width="+w)+(h==-1?"":" height="+h)+" border="+(b?b:0)+(id?" id='"+id+"'":"")+">"; 399},fsGetJsTag:function(s,f){ 400return "<script type='text/javascript' language='javascript1.2' src=\""+s+"\""+(f?" DEFER":"")+"></"+"script>"; 401},fsGetTag:function(t,a,s){ 402return "<"+t+" "+a+">"+(s?s:"")+"</"+t+">"; 403},fbIsFile:function(s){ 404return /\w+\.\w+$/.test(s); 405},fbIsImg:function(s){ 406return /\.(gif|png|jpg|jpeg|bmp)$/.test(s.toLowerCase()); 407},fsGetDIR:function(s){ 408var t=s.toLowerCase(); 409if(!t.indexOf("file:/")||!t.indexOf("http://")||!t.indexOf("https://")){ 410return s.substr(0,s.lastIndexOf("/")+1); 411}else{ 412return ""; 413} 414},fsGetHTMLEnti:function(s,f){ 415if(!s){ 416return ""; 417} 418var re; 419re=/&/g; 420s=s.replace(re,"&"); 421if(!f){ 422re=/ /g; 423s=s.replace(re," "); 424} 425re=/</g; 426s=s.replace(re,"<"); 427re=/>/g; 428s=s.replace(re,">"); 429re=/\"/g; 430s=s.replace(re,"""); 431return s; 432},faJoinA:function(a,b){ 433var c=[],l=Math.max(a.length,b.length); 434for(var i=0;i<l;i++){ 435if(a[i]==null){ 436c[i]=b[i]; 437}else{ 438c[i]=a[i]; 439} 440} 441return c; 442},S64:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ#@",fiTransX2D:function(n,m){ 443m=String(m).replace(/ /gi,""); 444if(m==""){ 445return 0; 446} 447var a=_STNS.S64.substr(0,n); 448if(eval("m.replace(/["+a+"]/gi,'')")!=""){ 449_STNS.fvThrow(new Error("_STNS.runTime error:Transform bad number from "+m+" to 10!")); 450return 0; 451} 452var t=0,c=1; 453for(var x=m.length-1;x>-1;x--){ 454t+=c*(a.indexOf(m.charAt(x))); 455c*=n; 456} 457return t; 458},fsTranD2X:function(n,m){ 459m=String(m).replace(/ /gi,""); 460if(m==""){ 461return 0; 462} 463if(parseInt(m)!=m){ 464_STNS.fvThrow(new Error("_STNS.runTime error:Transform bad number from 10 to "+m+"!")); 465return ""; 466} 467var t="",a=_STNS.S64.substr(0,n); 468while(m!=0){ 469var b=m%n; 470t=a.charAt(b)+t; 471m=(m-b)/n; 472} 473if(!t){ 474t="0"; 475} 476return t; 477},faCP2PP:function(cp,w){ 478var t,l; 479with(_STNS){ 480t=fiGetCT(w); 481l=fiGetCL(w); 482return [cp[0]+l,cp[1]+t]; 483} 484},faPP2CP:function(pp,w){ 485var t,l; 486with(_STNS){ 487t=fiGetCT(w); 488l=fiGetCL(w); 489return [pp[0]-l,pp[1]-t]; 490} 491},fsGetLen:function(t,l,p,b,s,w){ 492var _r=_STNS,u; 493if(w==null){ 494w=true; 495} 496if(s==null){ 497s=true; 498} 499if(p==null){ 500p=0; 501} 502if(b==null){ 503b=0; 504} 505if(typeof l=="string"){ 506u=/%|px|pt|em|ex|pc|in|cm|mm$/.exec(l); 507} 508if(u){ 509switch(u[0]){ 510case "%": 511return l; 512default: 513l=parseInt(l),u=u[0]; 514} 515}else{ 516l=parseInt(l); 517u="px"; 518} 519switch(t){ 520case "dv": 521if(_r.sDocMd=="css1"||(!_r.bIsIE&&!_r.bIsOP||(_r.bIsOP&&parseInt(_r.oNav.version)>=8))){ 522return l-2*p-2*b+u; 523} 524break; 525case "tb": 526if(_r.bIsMIE&&!w&&s){ 527return l-2*b-2*p+u; 528} 529break; 530case "td": 531if(_r.bIsSF){ 532if(_r.sDocMd!="css1"||w){ 533if(s){ 534return l-2*b+u; 535}else{ 536return l-2*p+u; 537} 538}else{ 539return l-2*p-2*b+u; 540} 541}else{ 542if(!_r.bIsMIE&&(_r.sDocMd=="css1"||w)){ 543return l-2*b-2*p+u; 544} 545} 546break; 547} 548return l+u; 549},fdmGetEleById:function(id,w){ 550var w=w||window; 551with(_STNS){ 552if(bIsIE&&parseFloat(oNav.version)<9){ 553var es=w.document.all(id); 554if(es&&es.length&&!es.tagName){ 555return es[0]; 556}else{ 557return es; 558} 559}else{ 560return w.document.getElementById(id); 561} 562} 563},faGetElesByTagName:function(n,w){ 564var w=w||window; 565with(_STNS){ 566if(bIsIE){ 567return w.document.all.tags(n); 568}else{ 569return w.document.getElementsByTagName(n); 570} 571} 572},faGetElesByCls:function(n,w){ 573var w=w||window; 574var i,a=[],el,els=_STNS.bIsIE?w.document.all:w.document.getElementsByTagName("*"); 575for(i=0;el=els[i];i++){ 576if(el.className==n){ 577a.push(el); 578} 579} 580return a; 581},fdmGetFmByName:function(n,w){ 582var w=w||window; 583if(w.frames[t]){ 584return w.frames[t]; 585}else{ 586if(w.parent){ 587return w.parent.frames[t]; 588} 589} 590},fbIsPar:function(p,c){ 591if(_STNS.bIsIE){ 592return p.contains(c); 593}else{ 594if(!p||!c){ 595return false;
596} 597if(p==c){ 598return true; 599} 600do{ 601if(c.parentNode){ 602c=c.parentNode; 603}else{ 604break; 605} 606if(p==c){ 607return true; 608} 609}while(c); 610} 611return false; 612},fbInsHTML:function(e,p,h){ 613if(_STNS.bIsIE){ 614return e.insertAdjacentHTML(p,h); 615}else{ 616var d=e.ownerDocument,t=d.createElement("span"); 617t.innerHTML=h; 618switch(p){ 619case "beforeBegin": 620return e.parentNode.insertBefore(t,e); 621case "afterBegin": 622return e.insertBefore(t,e.firstChild); 623case "beforeEnd": 624return e.appendChild(t); 625case "afterEnd": 626if(e.nextSibling){ 627return e.parentNode.insertBefore(t,e.nextSibling); 628}else{ 629return e.parentNode.appendChild(t); 630} 631} 632} 633return false; 634},fbInsEle:function(e,p,ne){ 635if(_STNS.bIsIE){ 636return e.insertAdjacentElement(p,ne); 637}else{ 638switch(p){ 639case "beforeBegin": 640return e.parentNode.insertBefore(ne,e); 641case "afterBegin": 642return e.insertBefore(ne,e.firstChild); 643case "beforeEnd": 644return e.appendChild(ne); 645case "afterEnd": 646if(o.nextSibling){ 647return e.parentNode.insertBefore(ne,e.nextSibling); 648}else{ 649return e.parentNode.appendChild(ne); 650} 651} 652} 653},fbDelEle:function(e){ 654var p=e.parentNode; 655return p.removeChild(e); 656},fbInsJs:function(s,l){ 657var l=l||"JavaScript"; 658var hd=_STNS.faGetElesByTagName("HEAD"); 659if(hd&&hd[0]){ 660l=l.toLowerCase(); 661var t=document.createElement("script"); 662t.language=l; 663if(!l.indexOf("javascript")||!l.indexOf("jscript")){ 664t.type="text/javascript"; 665} 666t.src=s; 667_STNS.fbInsEle(hd,"beforeEnd",t); 668} 669},fdmCreateXMLHttp:function(){ 670var _9a; 671if(window.XMLHttpRequest){ 672_9a=new XMLHttpRequest(); 673}else{ 674var _9b=["MSXML2.XMLHTTP.5.0","MSXML2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"]; 675for(var n=0;n<_9b.length;n++){ 676try{ 677_9a=new ActiveXObject(_9b[n]); 678break; 679} 680catch(e){ 681_9a=null; 682} 683} 684} 685if(!_9a){ 686_9a=null; 687_STNS.fvThrow(new Error("Create XMLHttpRequest fail!")); 688return; 689} 690if(_9a.readyState==null){ 691_9a.readyState=0; 692_9a.addEventListener("load",function(){ 693_9a.readyState=4; 694if(typeof _9a.onreadystatechange=="function"){ 695_9a.onreadystatechange(); 696} 697},false); 698} 699return _9a; 700},fdmCreateXMLDoc:function(){ 701var _9d; 702if(_STNS.bIsIE){ 703var _9e=["Msxml2.DOMDocument.4.0","Msxml2.DOMDocument.3.0","Msxml2.DOMDocument","Microsoft.XMLDOM"]; 704for(var n=0;n<_9e.length;n++){ 705try{ 706_9d=new ActiveXObject(_9e[n]); 707break; 708} 709catch(e){ 710} 711} 712}else{ 713_9d=document.implementation.createDocument("","",null); 714} 715if(!_9d){ 716_STNS.fvThrow(new Error("Create XMLDOMDocument fail!")); 717return; 718} 719return _9d; 720},faGetElePos:function(e){ 721if(!e){ 722return; 723} 724var x=y=bl=bt=0; 725var v=_STNS.oNav.version,a=new Array(v,523.12),sv=a.sort()[0]==523.12; 726if(_STNS.bIsSF&&sv){ 727var o=e.offsetParent?e.offsetParent.offsetParent?e.offsetParent.offsetParent.offsetParent?e.offsetParent.offsetParent.offsetParent?e.offsetParent.offsetParent.offsetParent.offsetParent?e.offsetParent.offsetParent.offsetParent.offsetParent:null:null:null:null:null; 728while(o){ 729if(o.tagName=="TABLE"){ 730bl=parseInt(_STNS.fsGetEleStyle(o,"borderLeftWidth")); 731bt=parseInt(_STNS.fsGetEleStyle(o,"borderTopWidth")); 732if(!isNaN(bl)){ 733x+=bl; 734} 735if(!isNaN(bt)){ 736y+=bt; 737} 738} 739o=o.offsetParent; 740} 741} 742while(e){ 743x+=e.offsetLeft; 744y+=e.offsetTop; 745if((_STNS.oNav.name=="konqueror"||_STNS.oNav.name=="safari")&&e.style.position.toLowerCase()=="absolute"){ 746break; 747} 748switch(e.tagName){ 749case "TD": 750if(_STNS.bIsIE||(_STNS.bIsSF&&sv)||(_STNS.bIsOP&&_STNS.oNav.version<9)){ 751bl=parseInt(_STNS.fsGetEleStyle(e,"borderLeftWidth")); 752bt=parseInt(_STNS.fsGetEleStyle(e,"borderTopWidth")); 753if(!isNaN(bl)){ 754x+=bl; 755} 756if(!isNaN(bt)){ 757y+=bt; 758} 759} 760break; 761} 762if(e.parentNode&&e.parentNode.tagName=="DIV"){ 763var s=_STNS.fsGetEleStyle(e.parentNode,"overflow").toLowerCase(); 764var w=_STNS.fsGetEleStyle(e.parentNode,"width").toLowerCase(); 765if(s=="hidden"||s=="scroll"||s=="auto"){ 766x-=e.parentNode.scrollLeft; 767y-=e.parentNode.scrollTop; 768} 769if(w&&w!="auto"){ 770if((_STNS.bIsFX&&_STNS.oNav.version>20060414&&s!="visible")||(_STNS.bIsIE&&_STNS.oNav.version>=5)){ 771bl=parseInt(_STNS.fsGetEleStyle(e.parentNode,"borderLeftWidth")); 772bt=parseInt(_STNS.fsGetEleStyle(e.parentNode,"borderTopWidth")); 773if(!isNaN(bl)){ 774x+=bl; 775} 776if(!isNaN(bt)){ 777y+=bt; 778} 779} 780} 781} 782if(e.parentNode&&e.offsetParent&&e.parentNode!=e.offsetParent){ 783if(e.offsetParent.tagName=="DIV"){ 784var s=_STNS.fsGetEleStyle(e.offsetParent,"overflow").toLowerCase(); 785var w=_STNS.fsGetEleStyle(e.offsetParent,"width").toLowerCase(); 786if(s=="hidden"||s=="scroll"||s=="auto"){ 787x-=e.offsetParent.scrollLeft; 788y-=e.offsetParent.scrollTop; 789} 790if(w&&w!="auto"){ 791if((_STNS.bIsFX&&_STNS.oNav.version>20060414&&s!="visible")||(_STNS.bIsIE&&_STNS.oNav.version>=5)){ 792bl=parseInt(_STNS.fsGetEleStyle(e.offsetParent,"borderLeftWidth")); 793bt=parseInt(_STNS.fsGetEleStyle(e.offsetParent,"borderTopWidth")); 794if(!isNaN(bl)){ 795x+=bl; 796} 797if(!isNaN(bt)){ 798y+=bt; 799} 800} 801} 802} 803} 804e=e.offsetParent; 805} 806return [x,y]; 807},fiGetEleWid:function(e){ 808return e.offsetWidth; 809},fiGetEleHei:function(e){ 810return e.offsetHeight; 811},fsGetEleStyle:function(e,p){ 812if(!e||!p){ 813return; 814} 815if(_STNS.bIsIE){ 816return e.currentStyle[p]; 817}else{
818if(_STNS.bIsFX||_STNS.bIsSF||_STNS.bIsOP){ 819var w=e.ownerDocument.defaultView; 820p=p.replace(/([A-Z])/g,"-$1"); 821return w.getComputedStyle(e,"").getPropertyValue(p.toLowerCase()); 822}else{ 823return e.style[p]; 824} 825} 826},fcoGetAttribute:function(e,a){ 827if(!e||!a){ 828return; 829} 830if(_STNS.bIsIE){ 831return e[a]; 832}else{ 833return e.getAttribute(a); 834} 835},fbFalse:function(){ 836return false; 837},fbTrue:function(){ 838return true; 839}}; 840_STNS.Class=(function(){ 841var _af=function(){ 842var c=function(as){ 843if(_STNS.bIsIE){ 844this._cls=this.constructor; 845}else{ 846this._cls=arguments.callee; 847} 848_b2.call(this,as); 849}; 850_b3(c,arguments); 851c.register=_b4; 852c.toString=_b5; 853c.subclsOf=_b6; 854c.superclassOf=_b7; 855return c; 856}; 857_af.toString=function(){ 858return "[object Class]"; 859}; 860_af.getC=function(pth){ 861var _b9=[]; 862if(!_ba(pth,_b9)||!_bb[_b9[0]][_b9[1]]){ 863_STNS.fvThrow(new Error("Class get error: Class \""+pth+"\" is not found")); 864return; 865} 866return _bb[_b9[0]][_b9[1]]; 867}; 868_af.getClsLst=function(o,pre){ 869var o=o||_bb,pre=pre||"/",sp,s=""; 870for(var i in o){ 871if(typeof o[i]=="object"){ 872sp=pre+i+"/"; 873s+=_STNS.Class.getClsLst(o[i],sp); 874}else{ 875s+=pre+i+"\n"; 876} 877} 878return s; 879}; 880var _b4=function(pth){ 881var _c2=[]; 882if(!_ba(pth,_c2)){ 883_STNS.fvThrow(new Error("Class register error: Invalid class path:"+pth)); 884return; 885} 886var pkg=_c2[0]; 887var cn=_c2[1]; 888if(pkg){ 889if(!_bb[pkg]){ 890_bb[pkg]={}; 891} 892var _c5=_bb[pkg][cn]; 893if(_c5){ 894_STNS.fvThrow(new Error("Class register error: Class \""+pth+"\" already exists")); 895return; 896} 897_bb[pkg][cn]=this; 898}else{ 899var _c5=_bb[cn]; 900if(_c5){ 901_STNS.fvThrow(new Error("Class register error: Class \""+pth+"\" already exists")); 902return; 903} 904_bb[cn]=this; 905} 906this._pkg=pkg; 907this._cn=cn; 908}; 909var _bb={}; 910var _c6=function(_c7,_c8){ 911if(typeof _c7=="string"){ 912_c7=_STNS.Class.getC(_c7); 913} 914if(typeof _c8=="string"){ 915_c8=_STNS.Class.getC(_c8); 916} 917if(typeof _c7!="function"||typeof _c8!="function"){ 918return false; 919} 920if(!_c7._supers){ 921return false; 922} 923for(var i=0;i<_c7._supers.length;i++){ 924if(_c7._supers[i]==_c8){ 925return true; 926}else{ 927if(_c6(_c7._supers[i],_c8)){ 928return true; 929} 930} 931} 932return false; 933}; 934var _b6=function(cls){ 935return _c6(this,cls); 936}; 937var _b7=function(cls){ 938return _c6(cls,this); 939}; 940var _ba=function(pth,_cd){ 941if(typeof pth!="string"||!pth){ 942return false; 943} 944var n=pth.lastIndexOf("/"); 945if(n>-1){ 946_cd[0]=pth.substr(0,n); 947_cd[1]=pth.substr(n+1); 948}else{ 949_cd[0]=""; 950_cd[1]=pth; 951} 952return true; 953}; 954var _b3=function(c,as){ 955c._supers=[]; 956for(var i=0;i<as.length;i++){ 957var s=as[i]; 958if(typeof s=="string"){ 959s=_STNS.Class.getC(s); 960} 961if(typeof s!="function"){ 962_STNS.fvThrow(new Error("Class create error: Invalid superclass: "+"args["+i+"]")); 963return; 964} 965c._supers.push(s); 966} 967}; 968var _b2=function(as){ 969var c=this._cls; 970for(var i=0;i<c._supers.length;i++){ 971if(_STNS.bIsIE){ 972this.constructor=c._supers[i]; 973} 974c._supers[i].call(this,as); 975} 976if(_STNS.bIsIE){ 977this.constructor=c; 978} 979this._cls=c; 980this.toString=_d6; 981this.getClass=_d7; 982this.instanceOf=_d8; 983this.toConvert=_d9; 984if(c.construct){ 985c.construct.call(this,as); 986} 987}; 988var _d9=function(cls,as){ 989var c=this._cls; 990if(_c6(c,cls)){ 991var t=new cls; 992for(var i in this){ 993if(typeof t[i]=="undefined"){ 994delete this[i]; 995} 996if(cls[i]){ 997this[i]=cls[i]; 998} 999} 1000}else{ 1001if(_c6(cls,c)){ 1002var f=0; 1003for(var i=0;i<cls._supers.length;i++){ 1004if(_STNS.bIsIE){ 1005this.constructor=cls._supers[i]; 1006} 1007if(cls._supers[i]!=c){ 1008cls._supers[i].call(this,as); 1009}else{ 1010f=1; 1011} 1012} 1013if(!f){ 1014_STNS.fvThrow(new Error("_STNS.runTime error:Can't convert this instance;The class of instance must be the target class's direct superClass!")); 1015return; 1016} 1017if(_STNS.bIsIE){ 1018this.constructor=cls; 1019} 1020this._cls=cls; 1021if(cls.construct){ 1022cls.construct.call(this,as); 1023} 1024}else{ 1025_STNS.fvThrow(new Error("_STNS.runTime error:Can't convert this instance;The class of instance must be the target class's subClass or direct superClass!")); 1026} 1027} 1028}; 1029var _d8=function(c){ 1030if(typeof c=="string"){ 1031c=_STNS.Class.getC(c); 1032} 1033if(typeof c!=="function"){ 1034return false; 1035} 1036return this._cls==c; 1037}; 1038var _d7=function(){ 1039return this._cls; 1040}; 1041var _d6=function(){ 1042if(this._cls._cn){ 1043return "[object Object "+this._cls._pkg+"/"+this._cls._cn+"]"; 1044}else{ 1045return "[object Object Anonymous class]"; 1046} 1047}; 1048var _b5=function(){ 1049if(this._cn){ 1050return "[object Class "+this._pkg+"/"+this._cn+"]"; 1051} 1052return "[object Anonymous Class]"; 1053}; 1054return _af; 1055})(); 1056with(_STNS){ 1057sDocMd=fsGetDocMd(); 1058oNav=_foGetNav(); 1059bIsIE=oNav.name=="msie"; 1060bIsMIE=bIsIE&&oNav.platform=="mac"; 1061bIsOP=oNav.name=="opera"; 1062bIsFX=oNav.name=="gecko"; 1063bIsSF=oNav.name=="safari"; 1064bIsKQ=oNav.name=="konqueror"; 1065sDIR=fsGetDIR(sURL); 1066bLocal=!sURL.indexOf("file:"); 1067_fvInitOnload(); 1068fbAddLoad(_fvCkPg); 1069} 1070} 1071_STNS.fvInitLib(); 1072_STNS.fvInc(_STNS.fsGetAbsPth(_STNS.sLibPth+"stcode.js")); 1073_STNS.fvLoadLib(); 1074if(!_STNS.bShield){ 1075_STNS.fvCSSShield(); 1076} 1077if(typeof _STNS!="undefined"&&!_STNS.EFFECT){ 1078_STNS.EFFECT={foGetEff:function(s,id,w,d,o){ 1079if(!s){ 1080return 0; 1081} 1082if(/^stEffect\(.Open/i.test(s)&&_STNS.bIsIE){ 1083var dir=s.replace(/^.*[\(\,]Direction\=(\w+)[\)\,].*$/i,"$1"); 1084var d=s.replace(/^.*[\(\,]Duration\=([\d.]+)[\)\,].*$/i,"$1"); 1085d=(d==s?1:parseFloat(d)); 1086if(dir=="Down"||dir==s){ 1087s="progid:DXImageTransform.Microsoft.Zigzag(GridSizeX=16,GridSizeY=16,enabled=0,Duration="+d+")"; 1088d*=1000; 1089o=5; 1090} 1091if(dir=="Middle"){ 1092s="progid:DXImageTransform.Microsoft.Barn(orientation=horizontal,motion=out,enabled=0,Duration="+d+")"; 1093d*=1000; 1094o=16; 1095} 1096} 1097if(/^stEffect\(.Active/i.test(s)&&_STNS.bIsIE){ 1098var d=s.replace(/^.*[\(\,]Duration\=([\d.]+)[\)\,].*$/i,"$1"); 1099if(d==s){ 1100d=(dd==s?1:parseFloat(d)); 1101} 1102s="progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration="+d+")"; 1103d*=1000; 1104o=12; 1105} 1106var t=s.toLowerCase(),c; 1107if((!t.indexOf("progid:")||!t.indexOf("revealtrans"))&&_STNS.EFFECT["CEffIE"]){ 1108return new _STNS.EFFECT["CEffIE"]([s,id,w,d,o]); 1109}else{ 1110if(!s.indexOf("stEffect")){ 1111s=s.substring(10,s.length-2); 1112var cn="CEff"+s.charAt(0).toUpperCase()+s.substr(1).replace(/^(.*)\(.*$/,"$1"); 1113if(_STNS.EFFECT[cn]){ 1114return new _STNS.EFFECT[cn]([s,id,w,d,o]); 1115} 1116}else{ 1117return 0; 1118} 1119} 1120}}; 1121with(_STNS.EFFECT){ 1122_STNS.EFFECT.CEffect=_STNS.Class(); 1123CEffect.register("EFFECT/CEffect"); 1124CEffect.construct=function(as){ 1125this._iStat=-1; 1126this.sName=as[0]; 1127this.sDmId=as[1]; 1128this.dmWin=as[2]||window; 1129with(_STNS.EFFECT.CEffect){ 1130this.fiGetStat=fiGetStat; 1131this.sGetParam=sGetParam; 1132this.fbSet=_STNS.fbFalse; 1133this.fbDel=_STNS.fbFalse; 1134this.fbApply=_STNS.fbFalse; 1135this.fbPlay=_STNS.fbFalse; 1136this.fbStop=_STNS.fbFalse; 1137this.fbSetStyle=_STNS.fbFalse; 1138this.fvAnalyzeParams=fvAnalyzeParams; 1139} 1140this.aParams=new Array(); 1141this.sParams=as[0].replace(/^.*\((.*)\).*$/,"$1"); 1142if(this.sParams==as[0]){ 1143this.sParams=""; 1144} 1145}; 1146CEffect.fiGetStat=function(){ 1147return this._iStat; 1148}; 1149CEffect.sGetParam=function(s){ 1150var b=this.sName.replace(new RegExp("^.*[\\(\\,]"+s+"\\=(\\d+)[\\,\\)].*$","i"),"$1"); 1151return this.sName==b?"":b; 1152}; 1153CEffect.fvAnalyzeParams=function(){ 1154var ta=this.sParams.split(","); 1155var a; 1156for(var i=0;i<ta.length;i++){ 1157a=ta[i].split("="); 1158a[1]=/^\d+$/.test(a[1])?parseInt(a[1]):(/^\d*\.\d+$/.test(a[1])?parseFloat(a[1]):a[1]); 1159this.aParams[a[0]]=typeof (a[1])!="string"?a[1]:this._cls[a[1]]||a[1]; 1160} 1161}; 1162} 1163} 1164
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.