PageSourceSearch

https://abc-co.ru/js/stscode.js

js abc-co.ru collected 2026-10-06 21:46:34 UTC 121,472 bytes, 4,910 lines download raw bytes

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)||/(Chrome)\/([\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,"&amp;");
421if(!f){
422re=/ /g;
423s=s.replace(re,"&nbsp;");
424}
425re=/</g;
426s=s.replace(re,"&lt;");
427re=/>/g;
428s=s.replace(re,"&gt;");
429re=/\"/g;
430s=s.replace(re,"&quot;");
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.fvLoadLib();
1073if(!_STNS.bShield){
1074_STNS.fvCSSShield();
1075}
1076if(typeof _STNS!="undefined"&&!_STNS.UI){
1077_STNS.UI={UNIUID:0,DOMEVENTS:["mouseover","mouseout","mousemove","mousedown","mouseup","click","keypress","keydown","keyup","dblclick"],foGetUIById:function(id){
1078var o;
1079while(id){
1080if(o=_STNS.UI.oUIs[id]){
1081return o;
1082}
1083id=id.substr(0,id.lastIndexOf("_"));
1084}
1085},fsGetUid:function(){
1086this.iIdNo++;
1087if(_STNS.UI.UNIUID){
1088return "stUI"+_STNS.UI.UNIUID+this.iIdNo;
1089}else{
1090if(window.name){
1091return "stUI"+(_STNS.fsTranD2X(36,(new Date).getTime()))+this.iIdNo;
1092}else{
1093return "stUI"+this.iIdNo;
1094}
1095}
1096},iIdNo:0,oUIs:{},fbDmEnt:function(e,o){
1097var oid=o.id,ob,r=-1;
1098if(!oid){
1099return true;
1100}
1101if(ob=_STNS.UI.foGetUIById(oid)){
1102if(ob.fbGetEnt){
1103r=ob.fbGetEnt(e,o);
1104}
1105}
1106return r;
1107},fsGetEnt:function(o,t,n,pre){
1108var s;
1109if(n==null){
1110var n="";
1111}
1112if(!pre){
1113var pre="";
1114}
1115if(o._oEs[t+n]&&o._oEs[t+n].length){
1116for(var i=0;i<_STNS.UI.DOMEVENTS.length;i++){
1117if(_STNS.UI.DOMEVENTS[i]==t){
1118return "on"+t+"='return "+pre+"_STNS.UI.fbDmEnt(event,this)'";
1119}
1120}
1121}
1122return "";
1123}};
1124with(_STNS.UI){
1125_STNS.UI.CUIObj=_STNS.Class();
1126CUIObj.register("UI/CUIObj");
1127CUIObj.construct=function(){
1128this._oMs={};
1129this._oEs={};
1130this.oParent=null;
1131this.sUid=_STNS.UI.fsGetUid();
1132this.fbGetEnt=_STNS.fbTrue();
1133with(_STNS.UI.CUIObj){
1134this.fvDestroy=fvDestroy;
1135this.fvGetMsg=fvGetMsg;
1136this.fbSetMsg=fbSetMsg;
1137this.fbAttachEnt=fbAttachEnt;
1138this.fbDetachEnt=fbDetachEnt;
1139this.fbDetachAll=fbDetachAll;
1140this.fbFireEnt=fbFireEnt;
1141this.fbCheckEnt=fbCheckEnt;
1142this.foClone=foClone;
1143}
1144_STNS.UI.oUIs[this.sUid]=this;
1145this.sSelf="_STNS.UI.oUIs['"+this.sUid+"']";
1146};
1147CUIObj.fvDestroy=function(){
1148delete _STNS.UI.oUIs[this.sUid];
1149};
1150CUIObj.fvGetMsg=function(m,d){
1151var f,r=true;
1152if(f=this._oMs[m]){
1153if(typeof f=="string"){
1154f=_STNS.ffGetFun(f);
1155}
1156if(f){
1157r=f.call(this,d);
1158}
1159}
1160if(r==true&&this.oParent){
1161this.oParent.fvGetMsg(m,d);
1162}
1163};
1164CUIObj.fbSetMsg=function(m,f){
1165if(typeof f!="function"&&typeof f!="string"){
1166_STNS.fvThrow(new Error("Attach invalid function to "+t+" message."));
1167return false;
1168}
1169this._oMs[m]=f;
1170return true;
1171};
1172CUIObj.fbCheckEnt=function(t){
1173if(this._oEs[t]){
1174return true;
1175}
1176};
1177CUIObj.fbAttachEnt=function(t,f){
1178if(typeof f!="function"&&typeof f!="string"){
1179_STNS.fvThrow(new Error("Attach invalid function to "+t+" event."));
1180return false;
1181}
1182if(this._oEs[t]){
1183for(var i=0;i<this._oEs[t].length;i++){
1184if(this._oEs[t][i]==f){
1185return -1;
1186}
1187}
1188this._oEs[t].push(f);
1189}else{
1190this._oEs[t]=[f];
1191}
1192return true;
1193};
1194CUIObj.fbDetachEnt=function(t,f){
1195var i;
1196if(this._oEs[t]&&this._oEs[t].length){
1197for(i=0;i<this._oEs[t].length;i++){
1198if(this._oEs[t][i]==f){
1199delete this._oEs[t][i];
1200}
1201}
1202}
1203};
1204CUIObj.fbDetachAll=function(){
1205for(var i in this._oEs){
1206if(this._oEs[i].length){
1207this._oEs[i].length=0;
1208}
1209delete this._oEs[i];
1210}
1211};
1212CUIObj.fbFireEnt=function(t,as){
1213var i,r=true,f,tmp;
1214if(!this._oEs[t]||!this._oEs[t].length){
1215return -1;
1216}
1217for(i=0;i<this._oEs[t].length;i++){
1218if(!this._oEs[t][i]){
1219continue;
1220}
1221f=this._oEs[t][i];
1222if(typeof f=="string"){
1223f=_STNS.ffGetFun(f);
1224}
1225if(f){
1226tmp=f.call(this,as);
1227if(!tmp){
1228r=tmp;
1229}
1230}
1231}
1232return r;
1233};
1234CUIObj.foClone=function(){
1235var o={};
1236for(var i in this){
1237o[i]=this[i];
1238}
1239o.sUid=_STNS.UI.fsGetUid();
1240_STNS.UI.oUIs[o.sUid]=o;
1241o.sSelf="_STNS.UI.oUIs['"+o.sUid+"']";
1242return o;
1243};
1244}
1245}
1246if(typeof _STNS!="undefined"&&_STNS.UI&&!_STNS.UI.CUIScroller){
1247with(_STNS.UI){
1248_STNS.UI.CUIScroller=_STNS.Class(_STNS.UI.CUIObj);
1249CUIScroller.register("UI/CUIObj>CUIScroller");
1250CUIScroller.construct=function(){
1251this.___t=0;
1252this.sJsPth="";
1253this.iScMod=1;
1254this.iTyp=0;
1255this.iRowMinHei=-1;
1256this.iScDelay=1500;
1257this.iScDir=1;
1258this._iScDir=1;
1259this._iNowScDir=1;
1260this.iScRate=24;
1261this.iScDist=0;
1262this.sScEff=0;
1263this.iEffTrans=23;
1264this.iEffSp=1000;
1265this.iMultiNum=1;
1266this.iCssMd=0;
1267this.iNid=0;
1268this.sId=0;
1269this.sVer=0;
1270this.sImgPth=0;
1271this.sLnkPre=0;
1272this.sBlank=0;
1273this.iMaxNO=0;
1274this.iCyc=0;
1275this.bAuto=0;
1276this.iSpeed=10;
1277this.sWid=0;
1278this.sHei=0;
1279this.sAlign=0;
1280this.iDPad=0;
1281this.iDSpc=0;
1282this.iIWid=0;
1283this.iIHei=0;
1284this.sIBdStyle=0;
1285this.iIBdWid=0;
1286this.sIBdClr=0;
1287this.sBgClr=0;
1288this.sBgImg=0;
1289this.sBgRep=0;
1290this.sBdStyle=0;
1291this.iBdWid=0;
1292this.sBdClr=0;
1293this.bImgBd=0;
1294this.aCorners=[];
1295this.iCWH=0;
1296this.aBdBgImgs=[];
1297this.aBdBgClrs=[];
1298this.aBdBgReps=[];
1299this.bRunEff=1;
1300this.sTipBdStyle=0;
1301this.iTipBdWid=0;
1302this.sTipBdClr=0;
1303this.bTipBdImg=0;
1304this.aTipCorners=[];
1305this.iTipCWH=0;
1306this.aTipBdBgImgs=[];
1307this.aTipBdBgClrs=[];
1308this.aTipBdBgReps=[];
1309this.aItems=[];
1310this.bArr=0;
1311this.aLAEnImgs=[];
1312this.aRAEnImgs=[];
1313this.aLADisImgs=[];
1314this.aRADisImgs=[];
1315this.iLAImgWid=0;
1316this.iLAImgHei=0;
1317this.sLAAlign=0;
1318this.sLAVAlign=0;
1319this.iRAImgWid=0;
1320this.iRAImgHei=0;
1321this.sRAAlign=0;
1322this.sRAVAlign=0;
1323this.aTAEnImgs=[];
1324this.aBAEnImgs=[];
1325this.aTADisImgs=[];
1326this.aBADisImgs=[];
1327this.iTAImgWid=0;
1328this.iTAImgHei=0;
1329this.sTAAlign=0;
1330this.sTAVAlign=0;
1331this.iBAImgWid=0;
1332this.iBAImgHei=0;
1333this.sBAAlign=0;
1334this.sBAVAlign=0;
1335this.bTil=0;
1336this.iTTyp=0;
1337this.sTTxt="";
1338this.sTAlign=0;
1339this.sTFnt=0;
1340this.sTFntClr=0;
1341this.sTDeco=0;
1342this.sTBgClr=0;
1343this.sTBgImg=0;
1344this.sTBgRep=0;
1345this.bPause=0;
1346this.bPag=0;
1347this.aPBgClrs=[];
1348this.aPFnts=[];
1349this.aPFntClrs=[];
1350this.aPDecos=[];
1351this.iStat=0;
1352this.iDelaySh=500;
1353this.iDelayHd=500;
1354this.iScDur=3000;
1355this.iCurDur=42;
1356this._sMapStr="";
1357this._tTid=0;
1358this._tScTid=0;
1359this._iMaxDWid=0;
1360this._iMinDWid=0;
1361this._iAllWid=0;
1362this._iCurDWid=0;
1363this._iCurDHei=0;
1364this._iLWid=0;
1365this._iRWid=0;
1366this._iSelectP=1;
1367this._iSelectG=1;
1368this._iMaxPage=1;
1369this._bEnPag=[0,0,0,0,0];
1370this._bEnPrevious=0;
1371this._bEnNext=0;
1372this._iIBdLen=0;
1373this._iBdLen=0;
1374this._iLMinWid=0;
1375this._iRMinWid=0;
1376this._iTMinHei=0;
1377this._iBMinHei=0;
1378this._iTMinWid=0;
1379this._iBMinWid=0;
1380this._iAllHei=0;
1381this._iMaxHei=0;
1382this._iMinHei=0;
1383this._iPageWid=0;
1384this._iPageHei=0;
1385this.oScEff=null;
1386this.sPBgImg="";
1387this._iItemIndex=0;
1388this._aEffects=[];
1389this._bIsRandomEff=false;
1390this._bIsScrollEff=false;
1391this._bImgOnly=false;
1392this._bOverPause=false;
1393this._tEffTid=0;
1394this._tResumePauseTid=0;
1395this.__bFirstAutoed=false;
1396this._tTipHide=0;
1397this._iNowShowingTipId=0;
1398this._iLastStopedPage=1;
1399this._tReAuto=0;
1400this.sLineHeight="";
1401this.aPLineHeight=[];
1402this._iDisableMax=0;
1403with(_STNS.UI.CUIScroller){
1404this.fsGetImg=fsGetImg;
1405this.fsGetLnk=fsGetLnk;
1406this.fvDestroy=fvDestroy;
1407this.fsGetHTML=fsGetHTML;
1408this.fbCreate=fbCreate;
1409this.fbShow=fbShow;
1410this.fsGetStyle=fsGetStyle;
1411this.fbGetEnt=fbGetEnt;
1412this.fbSetDisplay=fbSetDisplay;
1413this.fbSetPag=fbSetPag;
1414this.fbInit=fbInit;
1415this.fbOverPag=fbOverPag;
1416this.fbOutPag=fbOutPag;
1417this.fbClickPag=fbClickPag;
1418this.fbOverPrevious=fbOverPrevious;
1419this.fbOutPrevious=fbOutPrevious;
1420this.fbClickPrevious=fbClickPrevious;
1421this.fbOverNext=fbOverNext;
1422this.fbOutNext=fbOutNext;
1423this.fbClickNext=fbClickNext;
1424this.fbOverArrow=fbOverArrow;
1425this.fbOutArrow=fbOutArrow;
1426this.fbDownArrow=fbDownArrow;
1427this.fbUpArrow=fbUpArrow;
1428this.fbScroll=fbScroll;
1429this.fbUpDate=fbUpDate;
1430this.fbPageScroll=fbPageScroll;
1431this.fbPauseScroll=fbPauseScroll;
1432this.fbStartScroll=fbStartScroll;
1433this.fbEndScroll=fbEndScroll;
1434this.fsGetHotStr=fsGetHotStr;
1435this.fbResumeScroll=fbResumeScroll;
1436this.fbToPag=fbToPag;
1437this.fb1XScroll=fb1XScroll;
1438this.fb2XScroll=fb2XScroll;
1439this.fb5XScroll=fb5XScroll;
1440this.fiGetDir=fiGetDir;
1441this.fbCanResume=fbCanResume;
1442this.fvResumeDir=fvResumeDir;
1443this.fbRe1XScroll=fbRe1XScroll;
1444this.fiSetArrSt=fiSetArrSt;
1445this.fsQuickEnt=fsQuickEnt;
1446this.fsGetBGStyle=fsGetBGStyle;
1447this.fsGetICStyle=fsGetICStyle;
1448this.fsBlank=fsBlank;
1449this.fbGetEff=fbGetEff;
1450this.fiGetItemIndex=fiGetItemIndex;
1451this.fvOverPause=function(){
1452clearTimeout(this._tReAuto);
1453this._bOverPause=true;
1454};
1455this.fvOutPause=function(){
1456if(this.bAuto){
1457clearTimeout(this._tReAuto);
1458this._tReAuto=setTimeout(this.sSelf+"._bOverPause=false;"+this.sSelf+".fbRe1XScroll();",(this.iScMod==1?this.iScDelay:100));
1459}else{
1460this._bOverPause=false;
1461}
1462};
1463this.fiGetFullPage=fiGetFullPage;
1464this.fbAContainsB=fbAContainsB;
1465this.fvSynHeight=fvSynHeight;
1466this._bIsLoaded=false;
1467}
1468};
1469CUIScroller.OVERLEFTARROW=1;
1470CUIScroller.ENABLELEFTARROW=2;
1471CUIScroller.OVERRIGHTARROW=4;
1472CUIScroller.ENABLERIGHTARROW=8;
1473CUIScroller.OVERPREVIOUS=16;
1474CUIScroller.OVERPAGINATION1=32;
1475CUIScroller.OVERPAGINATION2=64;
1476CUIScroller.OVERPAGINATION3=128;
1477CUIScroller.OVERPAGINATION4=256;
1478CUIScroller.OVERPAGINATION0=512;
1479CUIScroller.OVERNEXT=1024;
1480CUIScroller.OVERDISPLAY=2048;
1481CUIScroller.SELECTED=28672;
1482CUIScroller.SELECTED_BIT=12;
1483CUIScroller.OVERTOPARROW=32768;
1484CUIScroller.ENABLETOPARROW=65536;
1485CUIScroller.OVERBOTTOMARROW=131072;
1486CUIScroller.ENABLEBOTTOMARROW=262144;
1487with(_STNS.UI.CUIScroller){
1488CUIScroller.MAXSTATE=OVERLEFTARROW|ENABLELEFTARROW|OVERRIGHTARROW|ENABLERIGHTARROW|OVERPREVIOUS|OVERPAGINATION1|OVERPAGINATION2|OVERPAGINATION3|OVERPAGINATION4|OVERPAGINATION0|OVERNEXT|OVERDISPLAY|SELECTED|OVERTOPARROW|ENABLETOPARROW|OVERBOTTOMARROW|ENABLEBOTTOMARROW;
1489}
1490CUIScroller.fvDestroy=function(){
1491for(var i=0;i<this.aItems.length;i++){
1492this.aItems[i].fvDestroy();
1493}
1494_STNS.UI.CUIObj.fvDestroy.call(this);
1495};
1496CUIScroller.fbCreate=function(){
1497_STNS.fvBufImgs();
1498_STNS.fvInc(_STNS.fsGetAbsPth(this.sJsPth+"stseff.js"));
1499_STNS.fvLoadLib();
1500var s="<script type='text/javascript'>"+this.sSelf+".fbShow();"+"</script>";
1501document.write(this.fsGetHTML()+s);
1502return true;
1503};
1504CUIScroller.fbGetEff=function(){
1505var _r=_STNS;
1506try{
1507this.oScEff.fbStop();
1508}
1509catch(ee){
1510}
1511try{
1512this.oScEff.fbDel();
1513}
1514catch(ee){
1515}
1516if(this._bIsRandomEff){
1517this.oScEff=null;
1518this.oScEff=_r.EFFECT.foGetEff(this._aEffects[parseInt(Math.random()*this._aEffects.length)],this.sUid+"_sc",window,this.iEffSp,this.iEffTrans);
1519}else{
1520this.oScEff=_STNS.EFFECT.foGetEff(this.sScEff,this.sUid+"_sc",window,this.iEffSp,this.iEffTrans);
1521}
1522if(this.oScEff){
1523if(!this.oScEff.fbSet()){
1524this.oScEff.fbDel();
1525this.oScEff=0;
1526}
1527}
1528if(!this.oScEff){
1529return false;
1530}else{
1531if(this._bIsScrollEff){
1532var ee=_r.fdmGetEleById(this.sUid+"_sc");
1533var sco=this;
1534if(this.iTyp){
1535this.oScEff.fvFinishEffect=function(){
1536if(sco.iCyc==1&&ee.scrollTop>=sco._iAllHei-sco.iDSpc){
1537ee.scrollTop=0;
1538}
1539sco.fbSetPag(1);
1540};
1541}else{
1542this.oScEff.fvFinishEffect=function(){
1543if(sco.iCyc==1&&ee.scrollLeft>=sco._iAllWid-sco.iDSpc){
1544ee.scrollLeft=0;
1545}
1546sco.fbSetPag(1);
1547};
1548}
1549}
1550return true;
1551}
1552};
1553CUIScroller.fbInit=function(){
1554this._iScDir=this._iNowScDir=this.iScDir;
1555var _r=_STNS,e,n,dw,_c=_r.UI.CUIScroller,tw;
1556with(this){
1557if(iCyc==1){
1558this.iStat|=_c.ENABLERIGHTARROW|_c.ENABLELEFTARROW|_c.ENABLETOPARROW|_c.ENABLEBOTTOMARROW;
1559}else{
1560if(this.iScDir==1||this.iScDir==3){
1561this.iStat|=_c.ENABLERIGHTARROW|_c.ENABLEBOTTOMARROW;
1562}else{
1563this.iStat|=_c.ENABLELEFTARROW|_c.ENABLETOPARROW;
1564}
1565}
1566iMaxNO=Math.min(iMaxNO,(iCyc==1?this.aItems.length/2:this.aItems.length));
1567n=iMaxNO?iMaxNO:iCyc==1?this.aItems.length/2:this.aItems.length/2;
1568if(iCssMd){
1569e=_r.fdmGetEleById(sUid);
1570if(e){
1571_iBdLen=_r.fsGetEleStyle(e,"borderLeftStyle")!="none"?_r.fsGetEleStyle(e,"borderLeftWidth"):0;
1572_iBdLen=_iBdLen?parseInt(_iBdLen):0;
1573}
1574e=_r.fdmGetEleById(this.aItems[0].sUid+"_table");
1575if(e){
1576_iIBdLen=_r.fsGetEleStyle(e,"borderLeftStyle")!="none"?parseInt(_r.fsGetEleStyle(e,"borderLeftWidth")):0;
1577_iIBdLen=_iIBdLen?parseInt(_iIBdLen):0;
1578}
1579e=_r.fdmGetEleById(sUid+"_arr0");
1580if(e){
1581_iLMinWid=_r.fsGetEleStyle(e,"width");
1582_iLMinWid=_iLMinWid?parseInt(_iLMinWid):0;
1583}
1584e=_r.fdmGetEleById(sUid+"_arr1");
1585if(e){
1586_iRMinWid=_r.fsGetEleStyle(e,"width");
1587_iRMinWid=_iRMinWid?parseInt(_iRMinWid):0;
1588}
1589e=_r.fdmGetEleById(sUid+"_arr2");
1590if(e){
1591_iTMinHei=_r.fsGetEleStyle(e,"height");
1592_iTMinHei=_iTMinHei?parseInt(_iTMinHei):0;
1593_iTMinWid=_r.fsGetEleStyle(e,"width");
1594_iTMinWid=_iTMinWid?parseInt(_iTMinWid):0;
1595}
1596e=_r.fdmGetEleById(sUid+"_arr3");
1597if(e){
1598_iBMinHei=_r.fsGetEleStyle(e,"height");
1599_iBMinHei=_iBMinHei?parseInt(_iBMinHei):0;
1600_iBMinWid=_r.fsGetEleStyle(e,"width");
1601_iBMinWid=_iBMinWid?parseInt(_iBMinWid):0;
1602}
1603e=_r.fdmGetEleById(sUid+"_limg");
1604if(e){
1605_iLWid=_r.fsGetEleStyle(e,"width");
1606_iLWid=_iLWid?parseInt(_iLWid):0;
1607}
1608e=_r.fdmGetEleById(sUid+"_rimg");
1609if(e){
1610_iRWid=_r.fsGetEleStyle(e,"width");
1611_iRWid=_iRWid?parseInt(_iRWid):0;
1612}
1613e=_r.fdmGetEleById(sUid+"_title_text");
1614if(e){
1615e.style.lineHeight=_r.fsGetEleStyle(e,"fontSize");
1616}
1617}else{
1618_iBdLen=iBdWid;
1619_iIBdLen=iIBdWid;
1620_iLMinWid=iLAImgWid;
1621_iRMinWid=iRAImgWid;
1622_iLWid=_iRWid=iCWH;
1623_iTMinHei=iTAImgHei;
1624_iBMinHei=iBAImgHei;
1625_iTMinWid=iTAImgWid;
1626_iBMinWid=iBAImgWid;
1627}
1628e=_r.fdmGetEleById(sUid+"_sc");
1629if(!this.iTyp){
1630dw=iIWid+2*iDPad+2*_iIBdLen+iDSpc;
1631_iAllWid=Math.ceil(this.aItems.length/2/this.iMultiNum)*dw+iDSpc;
1632_iMaxDWid=n*dw+iDSpc;
1633_iMinDWid=dw+iDSpc;
1634if(e){
1635e.scrollLeft=0;
1636}
1637}else{
1638if(this.iTyp==1){
1639if(e){
1640e.scrollTop=0;
1641}
1642}
1643}
1644if(!fbSetDisplay()){
1645return false;
1646}
1647if(!sScEff){
1648sScEff="none";
1649}
1650sScEff=sScEff.replace(/\&\#41\;{0,1}$/,")");
1651_bIsRandomEff=/^stEffect\(.Random\(/i.test(sScEff);
1652_bIsScrollEff=/^stEffect\(.Scroll\(/i.test(sScEff);
1653if(sScEff!="none"){
1654if(_bIsRandomEff){
1655_aEffects=["stEffect('Active(StartOpc=0,StopOpc=100,Duration="+this.iEffSp/1000+",Rate=30)')","stEffect('Open(Duration="+this.iEffSp/1000+",Rate=30,Direction=Up)')","stEffect('Open(Duration="+this.iEffSp/1000+",Rate=30,Direction=Down)')","stEffect('Open(Duration="+this.iEffSp/1000+",Rate=30,Direction=Middle)')"];
1656if(_r.bIsIE){
1657for(var i=0;i<40;i++){
1658_aEffects.push("stEffect('RandomIE(Duration="+this.iEffSp/1000+")')");
1659}
1660}
1661oScEff=_STNS.EFFECT.foGetEff(_aEffects[parseInt(Math.random()*_aEffects.length)],this.sUid+"_sc",window,this.iEffSp,this.iEffTrans);
1662if(oScEff){
1663if(!oScEff.fbSet()){
1664oScEff.fbDel();
1665oScEff=0;
1666}
1667}
1668}else{
1669this.fbGetEff();
1670}
1671}
1672var ee=e=_r.fdmGetEleById(this.sUid+"_sc");
1673if(_bIsScrollEff&&this.oScEff){
1674var sco=this;
1675if(iTyp){
1676this.oScEff.fvFinishEffect=function(){
1677if(sco.iCyc==1&&ee.scrollTop>=sco._iAllHei){
1678ee.scrollTop=0;
1679}
1680sco.fbSetPag(1);
1681};
1682}else{
1683this.oScEff.fvFinishEffect=function(){
1684if(sco.iCyc==1&&ee.scrollLeft>=sco._iAllWid-sco.iDSpc){
1685ee.scrollLeft=0;
1686}
1687sco.fbSetPag(1);
1688};
1689}
1690}
1691if(this.sWid.charAt(this.sWid.length-1)=="%"){
1692var f=new Function(this.sSelf+".___t=0;clearTimeout("+this.sSelf+"._tTid);"+this.sSelf+"._tTid=setTimeout(\""+this.sSelf+".bPause=1;"+this.sSelf+".fbSetDisplay();if("+this.sSelf+".bAuto)"+this.sSelf+".bPause=0;\",50)");
1693if(_STNS.bIsIE){
1694window.attachEvent("onresize",f);
1695}else{
1696if(_STNS.oNav.name!="konqueror"&&window.addEventListener){
1697window.addEventListener("resize",f,false);
1698}
1699}
1700}
1701if(this.iTyp||(_STNS.bIsOP&&_STNS.oNav.version>=9.5&&!this.iTyp)){
1702var ff=new Function((_STNS.bIsOP&&_STNS.oNav.version>=9.5?this.sSelf+".fbSetDisplay();":this.sSelf+".fbSetPag();"));
1703_STNS.fbAddLoad(ff);
1704}
1705}
1706return true;
1707};
1708CUIScroller.fvSynHeight=function(){
1709var _r=_STNS,tmp=0;
1710with(this){
1711for(var i=0;i<aItems.length;i++){
1712if(e=_r.fdmGetEleById(aItems[i].sUid+"_table")){
1713tmp=Math.max(e.offsetHeight,tmp);
1714}
1715}
1716for(var i=0;tmp&&i<aItems.length;i++){
1717if(e=_r.fdmGetEleById(aItems[i].sUid+"_table")){
1718e.style.height=tmp+"px";
1719}
1720}
1721}
1722};
1723CUIScroller.fbSetDisplay=function(){
1724var _r=_STNS,e,dw=vd=aw=sw=bw=oh=pw=0,_c=_r.UI.CUIScroller,st=this.iStat,_11c=false;
1725with(this){
1726e=_r.fdmGetEleById(sUid);
1727e.style.width=_r.fsGetLen("tb",this.sWid,0,(!this.bImgBd&&this.iBdWid?this.iBdWid:0),0);
1728vd=parseInt(this.sHei);
1729if(vd&&vd>0){
1730if(e=_r.fdmGetEleById(sUid+"_tview")){
1731if(!e.offsetHeight){
1732return false;
1733}
1734vd-=e.offsetHeight;
1735}
1736bw=bImgBd?_iLWid+_iRWid:2*_iBdLen;
1737vd-=bw;
1738if(vd<1){
1739vd=1;
1740}
1741if(e=_r.fdmGetEleById(sUid+"_view")){
1742e.style.height=vd+"px";
1743}
1744}
1745if(iTyp==1){
1746e=_r.fdmGetEleById(sUid);
1747if(!e.offsetHeight){
1748return false;
1749}
1750var _11d=(iIWid>_iTMinWid&&iIWid>_iBMinWid?iIWid:(_iTMinWid>_iBMinWid?_iTMinWid:_iBMinWid))+iBdWid*2+_iLWid+_iRWid+iDPad*2+iIBdWid*2+iDSpc*2;
1751if(e=_r.fdmGetEleById(sUid+"_pview")){
1752_11d+=e.offsetWidth;
1753}
1754e=_r.fdmGetEleById(sUid);
1755if((_r.bIsFX?e.childNodes[0]:e).offsetWidth<_11d){
1756e.style.width=_11d+"px";
1757}
1758e=_r.fdmGetEleById(sUid+"_inner");
1759if(e){
1760_iAllHei=(e.offsetHeight+iDSpc)/2;
1761}
1762var _11e=e.offsetWidth-_iLWid-_iRWid;
1763if(e=_r.fdmGetEleById(sUid+"_pview")){
1764_11e+=e.offsetWidth;
1765}
1766vd=vd-_iTMinHei-_iBMinHei;
1767var _tah=_bah=0;
1768if(vd>_iAllHei){
1769var _ah=vd+_iTMinHei+_iBMinHei-_iAllHei;
1770if(_ah%2==1){
1771_ah-=1;
1772vd=_iAllHei;
1773_11c=true;
1774}else{
1775vd=_iAllHei;
1776}
1777_tah=_bah=_ah/2;
1778}else{
1779_tah=_iTMinHei;
1780_bah=_iBMinHei;
1781}
1782if(vd<2*iDSpc+1){
1783vd=2*iDSpc+1;
1784}
1785if(e=_r.fdmGetEleById(sUid+"_vtop")){
1786e.style.height=_tah+"px";
1787}
1788if(e=_r.fdmGetEleById(sUid+"_display")){
1789e.style.height=(_11c?vd+1:vd)+"px";
1790}
1791if(e=_r.fdmGetEleById(sUid+"_sc")){
1792e.style.height=vd+"px";
1793}
1794if(e=_r.fdmGetEleById(sUid+"_vbottom")){
1795e.style.height=_bah+"px";
1796}
1797_iCurDHei=vd;
1798_iPageHei=_iCurDHei;
1799if(_r.bIsSF||(_r.bIsIE&&parseFloat(_r.oNav.version)<6)){
1800_r.fdmGetEleById(sUid+"_display").style.height=_r.fdmGetEleById(sUid+"_sc").style.height=vd+"px";
1801}
1802var _tt=0;
1803for(var i=0;i<this.aItems.length;i++){
1804e=_r.fdmGetEleById(this.aItems[i].sUid);
1805if(e){
1806this.aItems[i]._iCurHei=e.offsetHeight;
1807}
1808this.aItems[i]._iScrollToHei=_tt;
1809_tt+=this.aItems[i]._iCurHei+this.iDSpc;
1810}
1811this._iMaxPage=Math.ceil((this._iAllHei-this.iDSpc)/this._iCurDHei);
1812}else{
1813var _123=true;
1814if(_123){
1815_r.fdmGetEleById(sUid+"_display").style.width=_r.fdmGetEleById(sUid+"_sc").style.width=_r.fdmGetEleById(sUid+"_view").style.width="1px";
1816}
1817e=_r.fdmGetEleById(sUid);
1818if(!e.offsetHeight){
1819return false;
1820}
1821this.fvSynHeight();
1822aw=_iLMinWid+_iRMinWid;
1823bw=bImgBd?_iLWid+_iRWid:2*_iBdLen;
1824dw=iIWid+2*iDPad+2*_iIBdLen+iDSpc;
1825var _11d=dw+aw+bw+iDSpc;
1826if((e=_r.fdmGetEleById(sUid))&&(_STNS.bIsFX?e.childNodes[0]:e).offsetWidth<_11d){
1827e.style.width=_11d+"px";
1828}
1829if(this.sWid.charAt(this.sWid.length-1)=="%"){
1830e=_r.fdmGetEleById(sUid);
1831if(_STNS.bIsFX){
1832e=e.childNodes[0];
1833}
1834vd=e?e.offsetWidth-aw-bw:_iMaxDWid+aw;
1835}else{
1836vd=parseInt(this.sWid);
1837if(isNaN(vd)){
1838vd=_iMaxDWid+aw;
1839}
1840if(vd<(_iMinDWid+aw+bw+pw)){
1841vd=_iMinDWid+aw;
1842}
1843}
1844var _sp=Math.floor((vd-aw-iDSpc)/dw);
1845if(_sp<1){
1846_sp=1;
1847}
1848_iCurDWid=vd<_iMaxDWid+aw?_sp*dw+iDSpc:_iMaxDWid;
1849_iPageWid=_iCurDWid-iDSpc;
1850if(_123){
1851_r.fdmGetEleById(sUid+"_display").style.width=_iCurDWid+"px";
1852_r.fdmGetEleById(sUid+"_sc").style.width=_iCurDWid+"px";
1853e=_r.fdmGetEleById(sUid+"_view");
1854e.style.width="100%";
1855}
1856if(_r.bIsIE&&parseFloat(_r.oNav.version)<6){
1857}
1858this._iMaxPage=Math.ceil((this._iAllWid-this.iDSpc)/(this._iCurDWid-this.iDSpc));
1859}
1860e=_r.fdmGetEleById(sUid);
1861if(e&&_r.bIsOP){
1862e.style.display="none";
1863e.style.display="";
1864}
1865if((e=_r.fdmGetEleById(sUid+"_vleft"))&&_STNS.bIsOP&&_STNS.oNav.version>=9.5){
1866var __c=_r.fsGetEleStyle(e,"backgroundColor");
1867e.style.backgroundColor="#FF0000";
1868e.style.backgroundColor=__c;
1869}
1870e=_r.fdmGetEleById(sUid+"_sc");
1871if(e){
1872if(bAuto&&iTyp==0&&iScDir==2){
1873if(iScDist==1){
1874e.scrollLeft=this._iAllWid-(iIWid+2*iDPad+2*_iIBdLen+iDSpc);
1875this._iSelectP=this._iMaxPage;
1876}else{
1877e.scrollLeft=(this._iMaxPage-1)*this._iPageWid;
1878this._iSelectP=this._iMaxPage;
1879}
1880}
1881if(bAuto&&iTyp==1&&iScDir==4){
1882if(iScDist==1){
1883e.scrollTop=aItems[aItems.length/2-1]._iScrollToHei;
1884}else{
1885e.scrollTop=(this._iMaxPage-1)*this._iPageHei;
1886this._iSelectP=this._iMaxPage;
1887}
1888}
1889if(iTyp==0){
1890sw=e.scrollLeft;
1891if(iScDist!=1&&sw+_iCurDWid>=_iAllWid){
1892e.scrollLeft=sw=Math.ceil((_iAllWid-iDSpc)/(_iCurDWid-iDSpc)-1)*(_iCurDWid-iDSpc);
1893if(iCyc!=1){
1894st&=_c.MAXSTATE-_c.ENABLERIGHTARROW;
1895}
1896}else{
1897if(iScDist==1&&sw+(iIWid+2*iDPad+2*_iIBdLen+iDSpc)>=_iAllWid){
1898e.scrollLeft=sw=_iAllWid-(iIWid+2*iDPad+2*_iIBdLen+iDSpc);
1899if(iCyc!=1){
1900st&=_c.MAXSTATE-_c.ENABLERIGHTARROW;
1901}
1902}else{
1903st|=_c.ENABLERIGHTARROW;
1904}
1905}
1906if(sw<=0&&iCyc!=1){
1907st&=_c.MAXSTATE-_c.ENABLELEFTARROW;
1908}else{
1909st|=_c.ENABLELEFTARROW;
1910}
1911}
1912if(iTyp==1){
1913sw=e.scrollTop;
1914if(iScDist!=1&&sw+_iCurDHei>=_iAllHei){
1915e.scrollTop=sw=Math.ceil((_iAllHei-iDSpc)/(_iCurDHei-iDSpc)-1)*(_iCurDHei-iDSpc);
1916if(iCyc!=1){
1917st&=_c.MAXSTATE-_c.ENABLEBOTTOMARROW;
1918}
1919}else{
1920if(iScDist==1&&sw>aItems[aItems.length/2-1]._iScrollToHei){
1921e.scrollTop=aItems[aItems.length/2-1]._iScrollToHei;
1922if(iCyc!=1){
1923st&=_c.MAXSTATE-_c.ENABLEBOTTOMARROW;
1924}
1925}else{
1926st|=_c.ENABLEBOTTOMARROW;
1927}
1928}
1929if(sw<=0&&iCyc!=1){
1930st&=_c.MAXSTATE-_c.ENABLETOPARROW;
1931}else{
1932st|=_c.ENABLETOPARROW;
1933}
1934}
1935}
1936}
1937this.fbSetPag();
1938this.fbUpDate(st);
1939var max=this.iTyp?this._iAllHei-this.iDSpc:this._iAllWid-this.iDSpc;
1940if(this.iScDist==1){
1941imod=(this.iTyp?this.iIHei:this.iIWid)+this.iDSpc+this.iDPad*2+this.iIBdWid*2;
1942}else{
1943imod=(this.iTyp?this._iPageHei:this._iPageWid);
1944}
1945var lm=max%imod==0?max-imod:max-max%imod;
1946if(this.iScDist==1&&this.iTyp){
1947lm=this.aItems[this.aItems.length/2-1]._iScrollToHei;
1948}
1949this._iDisableMax=lm;
1950return true;
1951};
1952CUIScroller.fbShow=function(){
1953var _r=_STNS,e;
1954if(this.fbInit()){
1955e=_r.fdmGetEleById(this.sUid);
1956e.style.visibility="visible";
1957this.fvSynHeight();
1958if(this.bAuto&&!this.__bFirstAutoed){
1959this.__bFirstAutoed=true;
1960if(this.iScMod==1){
1961setTimeout(this.sSelf+".fbScroll("+this.iSpeed+");",this.iScDelay);
1962}else{
1963this.fbScroll(this.iSpeed);
1964}
1965}
1966}else{
1967setTimeout(this.sSelf+".fbShow()",100);
1968}
1969return true;
1970};
1971CUIScroller.fiGetItemIndex=function(dir){
1972if(this.iTyp==1){
1973var _r=_STNS,e=_r.fdmGetEleById(this.sUid+"_sc"),dw=e.scrollTop,cur=0,_b;
1974if(this._iAllHei<=this.iDSpc/2){
1975return false;
1976}
1977this._iItemIndex=this.aItems.length-1;
1978for(var i=0;i<this.aItems.length;i++){
1979_b=false;
1980if(dir=="RoD"){
1981if(dw<=this.aItems[i]._iScrollToHei){
1982cur=i-1;
1983_b=true;
1984}
1985}else{
1986if(dir=="LoU"){
1987if(dw<this.aItems[i]._iScrollToHei){
1988cur=i-1;
1989_b=true;
1990}
1991}else{
1992if(dw<this.aItems[i]._iScrollToHei){
1993this._iItemIndex=i-1;
1994_b=true;
1995}
1996}
1997}
1998if(_b){
1999break;
2000}
2001}
2002this._iItemIndex=this._iItemIndex<0?0:this._iItemIndex;
2003}
2004if(cur<0){
2005cur=0;
2006}
2007return cur;
2008};
2009CUIScroller.fiGetFullPage=function(dir){
2010var _r=_STNS,e=_r.fdmGetEleById(this.sUid+"_sc"),d=(this.iTyp?e.scrollTop:e.scrollLeft),cur;
2011with(this){
2012if(dir=="LoU"){
2013cur=Math.floor(d/(iTyp?_iPageHei:_iPageWid))+1;
2014}else{
2015cur=Math.ceil(d/(iTyp?_iPageHei:_iPageWid));
2016}
2017if(cur<1){
2018cur=1;
2019}
2020}
2021return cur;
2022};
2023CUIScroller.fbSetPag=function(_136){
2024with(this){
2025var _r=_STNS,e=_r.fdmGetEleById(sUid+"_sc"),dw=iTyp?e.scrollTop:e.scrollLeft;
2026if(iTyp==1&&this.iScDist==1){
2027this.fiGetItemIndex();
2028}
2029var max,cur,n,pa=[1,1,1,1,1],ns=ps=1,st=this.iStat,_c=_r.UI.CUIScroller;
2030_bEnPag[0]=0;
2031_bEnPag[1]=0;
2032_bEnPag[2]=0;
2033_bEnPag[3]=0;
2034_bEnPag[4]=0;
2035_bEnPrevious=0;
2036_bEnNext=0;
2037max=this._iMaxPage;
2038cur=Math.ceil((dw+(iTyp?_iCurDHei:_iCurDWid)/2)/(iTyp?_iPageHei:_iPageWid));
2039if(cur==max){
2040if(_136&&iCyc!=1){
2041st&=_c.MAXSTATE-(iTyp==0?_c.ENABLERIGHTARROW:_c.ENABLEBOTTOMARROW);
2042}
2043}
2044if(cur>max){
2045cur=max;
2046}
2047_iSelectP=cur;
2048if(!this.bPag){
2049return true;
2050}
2051if(bAuto&&(iScDir==2||iScDir==4)){
2052cur=max+1-cur;
2053if(cur<1){
2054cur=1;
2055}
2056if(cur>max){
2057cur=max;
2058}
2059}
2060n=Math.floor(cur/5);
2061if(!(cur%5)){
2062n--;
2063}
2064for(var i=0;i<5;i++){
2065e=_r.fdmGetEleById(sUid+"_p"+i);
2066if(i==(cur%5)){
2067e.innerHTML=n*5+(i||5);
2068}else{
2069if(n*5+(i||5)<=max){
2070e.innerHTML=n*5+(i||5);
2071}else{
2072e.innerHTML="";
2073pa[i]=0;
2074}
2075}
2076if(this.iCssMd){
2077if(!e.innerHTML){
2078s=_r.bShield?"sttd":"";
2079ts="sothinkBackgroundColor";
2080s+=(s?" ":"")+ts;
2081e.parentNode.className=s;
2082}else{
2083var _142=st&_c["OVERPAGINATION"+i],_143=(e.innerHTML==cur+""?2:0);
2084s=_r.bShield?"sta":"";
2085ts=aPFnts[_142?1+_143:0+_143];
2086if(ts&&s.indexOf(ts)==-1){
2087s+=(s?" ":"")+ts;
2088}
2089ts=aPFntClrs[_142?1+_143:0+_143];
2090if(ts&&s.indexOf(ts)==-1){
2091s+=(s?" ":"")+ts;
2092}
2093ts=aPDecos[_142?1+_143:0+_143];
2094if(ts&&s.indexOf(ts)==-1){
2095s+=(s?" ":"")+ts;
2096}
2097if(s){
2098e.className=s;
2099}
2100s=_r.bShield?"sttd":"";
2101ts=aPBgClrs[_142?1+_143:0+_143];
2102s+=(s?" ":"")+ts;
2103if(s){
2104e.parentNode.className=s;
2105}
2106}
2107}else{
2108if(e.innerHTML==cur+""){
2109e.style.font=aPFnts[2];
2110e.style.color=aPFntClrs[2];
2111e.style.textDecoration=aPDecos[2];
2112e.style.lineHeight=aPLineHeight[2];
2113e.parentNode.style.backgroundColor=aPBgClrs[2];
2114}else{
2115e.style.font=aPFnts[0];
2116e.style.color=aPFntClrs[0];
2117e.style.textDecoration=aPDecos[0];
2118e.style.lineHeight=aPLineHeight[0];
2119if(e.innerHTML){
2120e.parentNode.style.backgroundColor=aPBgClrs[0];
2121}else{
2122e.parentNode.style.backgroundColor="transparent";
2123}
2124}
2125}
2126}
2127e=_r.fdmGetEleById(sUid+"_previous");
2128if(e){
2129if(!n){
2130e.innerHTML="";
2131ps=0;
2132}else{
2133e.innerHTML=iTyp?"&#9650;":"&lt;&lt;";
2134}
2135}
2136e=_r.fdmGetEleById(sUid+"_next");
2137if(e){
2138if(n*5+5>=max){
2139e.innerHTML="";
2140ns=0;
2141}else{
2142e.innerHTML=iTyp?"&#9660;":"&gt;&gt;";
2143}
2144}
2145this.fbUpDate(st,1);
2146_bEnPag[0]=pa[0];
2147_bEnPag[1]=pa[1];
2148_bEnPag[2]=pa[2];
2149_bEnPag[3]=pa[3];
2150_bEnPag[4]=pa[4];
2151_bEnPrevious=ps;
2152_bEnNext=ns;
2153}
2154return true;
2155};
2156CUIScroller.fbUpDate=function(st,f){
2157var d=this.iStat^st,_r=_STNS,_c=_r.UI.CUIScroller,k=-1,e;
2158with(this){
2159if(bPag&&(f||((this.iStat&_c.SELECTED)>>>_c.SELECTED_BIT)!=(this._iSelectP%5))){
2160var pg;
2161if(this.bAuto&&(this.iScDir==2||this.iScDir==4)){
2162max=this._iMaxPage;
2163pg=max-this._iSelectP+1;
2164}else{
2165pg=this._iSelectP;
2166}
2167k=pg%5;
2168st&=_c.MAXSTATE-_c.SELECTED;
2169st|=k<<_c.SELECTED_BIT;
2170}
2171if(iCssMd){
2172var s="",ts;
2173if(bArr&&(e=_r.fdmGetEleById(this.sUid+(!iTyp?"_arr0img":"_arr2img")))){
2174s=_r.bShield?"stdv":"";
2175if(!iTyp){
2176ts=st&_c.ENABLELEFTARROW?aLAEnImgs[st&_c.OVERLEFTARROW?1:0]:aLADisImgs[st&_c.OVERLEFTARROW?1:0];
2177}else{
2178if(iTyp==1){
2179ts=st&_c.ENABLETOPARROW?aTAEnImgs[st&_c.OVERTOPARROW?1:0]:aTADisImgs[st&_c.OVERTOPARROW?1:0];
2180}
2181}
2182if(ts&&s.indexOf(ts)==-1){
2183s+=(s?" ":"")+ts;
2184}
2185ts=iTyp?iTAImgWid:iLAImgWid;
2186if(ts&&s.indexOf(ts)==-1){
2187s+=(s?" ":"")+ts;
2188}
2189ts=iTyp?iTAImgHei:iLAImgHei;
2190if(ts&&s.indexOf(ts)==-1){
2191s+=(s?" ":"")+ts;
2192}
2193if(s){
2194e.className=s;
2195}
2196}
2197s="";
2198if(bArr&&(e=_r.fdmGetEleById(this.sUid+(!iTyp?"_arr1img":"_arr3img")))){
2199s=_r.bShield?"stdv":"";
2200if(!iTyp){
2201ts=st&_c.ENABLERIGHTARROW?aRAEnImgs[st&_c.OVERRIGHTARROW?1:0]:aRADisImgs[st&_c.OVERRIGHTARROW?1:0];
2202}else{
2203if(iTyp==1){
2204ts=st&_c.ENABLEBOTTOMARROW?aBAEnImgs[st&_c.OVERBOTTOMARROW?1:0]:aBADisImgs[st&_c.OVERBOTTOMARROW?1:0];
2205}
2206}
2207if(ts&&s.indexOf(ts)==-1){
2208s+=(s?" ":"")+ts;
2209}
2210ts=iTyp?iBAImgWid:iRAImgWid;
2211if(ts&&s.indexOf(ts)==-1){
2212s+=(s?" ":"")+ts;
2213}
2214ts=iTyp?iBAImgHei:iRAImgHei;
2215if(ts&&s.indexOf(ts)==-1){
2216s+=(s?" ":"")+ts;
2217}
2218if(s){
2219e.className=s;
2220}
2221}
2222s="";
2223if(k!=-1){
2224if(f&&(e=_r.fdmGetEleById(this.sUid+"_previous"))){
2225if(!e.innerHTML){
2226s=_r.bShield?"sttd":"";
2227ts="sothinkBackgroundColor";
2228s+=(s?" ":"")+ts;
2229e.parentNode.className=s;
2230}else{
2231s=_r.bShield?"sta":"";
2232ts=aPFnts[st&_c.OVERPREVIOUS?1:0];
2233if(ts&&s.indexOf(ts)==-1){
2234s+=(s?" ":"")+ts;
2235}
2236ts=aPFntClrs[st&_c.OVERPREVIOUS?1:0];
2237if(ts&&s.indexOf(ts)==-1){
2238s+=(s?" ":"")+ts;
2239}
2240ts=aPDecos[st&_c.OVERPREVIOUS?1:0];
2241if(ts&&s.indexOf(ts)==-1){
2242s+=(s?" ":"")+ts;
2243}
2244if(s){
2245e.className=s;
2246}
2247s=_r.bShield?"sttd":"";
2248ts=aPBgClrs[st&_c.OVERPREVIOUS?1:0];
2249s+=(s?" ":"")+ts;
2250if(s){
2251e.parentNode.className=s;
2252}
2253}
2254}
2255if(f&&(e=_r.fdmGetEleById(this.sUid+"_next"))){
2256if(!e.innerHTML){
2257s=_r.bShield?"sttd":"";
2258ts="sothinkBackgroundColor";
2259s+=(s?" ":"")+ts;
2260e.parentNode.className=s;
2261}else{
2262s=_r.bShield?"sta":"";
2263ts=aPFnts[st&_c.OVERNEXT?1:0];
2264if(ts&&s.indexOf(ts)==-1){
2265s+=(s?" ":"")+ts;
2266}
2267ts=aPFntClrs[st&_c.OVERNEXT?1:0];
2268if(ts&&s.indexOf(ts)==-1){
2269s+=(s?" ":"")+ts;
2270}
2271ts=aPDecos[st&_c.OVERNEXT?1:0];
2272if(ts&&s.indexOf(ts)==-1){
2273s+=(s?" ":"")+ts;
2274}
2275if(s){
2276e.className=s;
2277}
2278s=_r.bShield?"sttd":"";
2279ts=aPBgClrs[st&_c.OVERNEXT?1:0];
2280s+=(s?" ":"")+ts;
2281if(s){
2282e.parentNode.className=s;
2283}
2284}
2285}
2286}
2287}else{
2288if(bArr&&((d&_c.ENABLELEFTARROW)||(d&_c.OVERLEFTARROW)||(d&_c.ENABLETOPARROW)||(d&_c.OVERTOPARROW))){
2289e=_r.fdmGetEleById(this.sUid+(!iTyp?"_arr0img":"_arr2img"));
2290if(e){
2291if(iTyp){
2292e.style.backgroundImage="url("+(st&_c.ENABLETOPARROW?aTAEnImgs[st&_c.OVERTOPARROW?1:0]:aTADisImgs[st&_c.OVERTOPARROW?1:0])+")";
2293}else{
2294e.style.backgroundImage="url("+(st&_c.ENABLELEFTARROW?aLAEnImgs[st&_c.OVERLEFTARROW?1:0]:aLADisImgs[st&_c.OVERLEFTARROW?1:0])+")";
2295}
2296}
2297}
2298if(bArr&&((d&_c.ENABLERIGHTARROW)||(d&_c.OVERRIGHTARROW)||(d&_c.ENABLEBOTTOMARROW)||(d&_c.OVERBOTTOMARROW))){
2299e=_r.fdmGetEleById(this.sUid+(!iTyp?"_arr1img":"_arr3img"));
2300if(e){
2301if(iTyp){
2302e.style.backgroundImage="url("+(st&_c.ENABLEBOTTOMARROW?aBAEnImgs[st&_c.OVERBOTTOMARROW?1:0]:aBADisImgs[st&_c.OVERBOTTOMARROW?1:0])+")";
2303}else{
2304e.style.backgroundImage="url("+(st&_c.ENABLERIGHTARROW?aRAEnImgs[st&_c.OVERRIGHTARROW?1:0]:aRADisImgs[st&_c.OVERRIGHTARROW?1:0])+")";
2305}
2306}
2307}
2308if(bPag){
2309if(f||(d&_c.OVERPREVIOUS)){
2310e=_r.fdmGetEleById(this.sUid+"_previous");
2311if(e){
2312if(!e.innerHTML){
2313e.parentNode.style.backgroundColor="transparent";
2314}else{
2315e.style.font=aPFnts[st&_c.OVERPREVIOUS?1:0];
2316e.style.lineHeight=aPLineHeight[st&_c.OVERPREVIOUS?1:0];
2317e.style.color=aPFntClrs[st&_c.OVERPREVIOUS?1:0];
2318e.style.fontStyle="normal";
2319e.parentNode.style.backgroundColor=aPBgClrs[st&_c.OVERPREVIOUS?1:0];
2320}
2321}
2322}
2323var _opw;
2324if(f||(d&_c.OVERNEXT)){
2325e=_r.fdmGetEleById(this.sUid+"_next");
2326if(e){
2327if(!e.innerHTML){
2328e.parentNode.style.backgroundColor="transparent";
2329}else{
2330e.style.font=aPFnts[st&_c.OVERNEXT?1:0];
2331e.style.lineHeight=aPLineHeight[st&_c.OVERNEXT?1:0];
2332e.style.color=aPFntClrs[st&_c.OVERNEXT?1:0];
2333e.style.fontStyle="normal";
2334e.parentNode.style.backgroundColor=aPBgClrs[st&_c.OVERNEXT?1:0];
2335}
2336}
2337}
2338}
2339}
2340}
2341this.iStat=st;
2342return true;
2343};
2344CUIScroller.fsGetStyle=function(t,c,f,o){
2345var s="",_r=_STNS,tmp="";
2346if(this.iCssMd){
2347if(o){
2348for(var i in o){
2349if(!o[i]||typeof o[i]!="string"){
2350_r.fvThrow("Get style className error:["+this.sUid+"]"+i+" is NULL or not a string!");
2351}else{
2352if(tmp.indexOf(o[i])==-1){
2353tmp+=o[i]+" ";
2354}
2355}
2356}
2357}
2358tmp=tmp.substr(0,tmp.length-1);
2359if(_r.oDefCSS[t]||tmp){
2360s=" class='";
2361if(_r.oDefCSS[t]){
2362s+="st"+t+(tmp?" "+tmp:"");
2363}else{
2364if(tmp){
2365s+=tmp;
2366}
2367}
2368s+="'";
2369}
2370if(c){
2371s+=" style=\""+c+"\"";
2372}
2373}else{
2374if(_r.bShield&&!f){
2375if(_r.oDefCSS[t]){
2376s=" class='st"+t+"'";
2377}
2378if(o){
2379for(var i in o){
2380if(o[i]!=null){
2381switch(i){
2382case "background-image":
2383tmp+=i+":url("+o[i]+");";
2384break;
2385case "cursor":
2386if(_r.fbIsFile(o[i])){
2387tmp+=i+":url("+o[i]+") auto;";
2388}else{
2389tmp+=i+":"+o[i]+" auto;";
2390}
2391break;
2392default:
2393tmp+=i+":"+o[i]+(isNaN(o[i])?"":"px")+";";
2394}
2395}
2396}
2397}
2398if(c){
2399tmp+=c;
2400}
2401if(tmp){
2402s+=" style=\""+tmp+"\"";
2403}
2404}else{
2405var a=c?_r.foCss2Obj(c):{},b=_r.oDefCSS[t]?_r.foCss2Obj(_r.oDefCSS[t]):{};
2406if(o){
2407for(var i in o){
2408if(o[i]!=null&&typeof a[i]=="undefined"){
2409switch(i){
2410case "background-image":
2411a[i]="url("+o[i]+")";
2412break;
2413case "cursor":
2414if(_r.fbIsFile(o[i])){
2415a[i]="url("+o[i]+") auto";
2416}else{
2417a[i]=o[i]+" auto";
2418}
2419break;
2420default:
2421a[i]=o[i]+(isNaN(o[i])?"":"px");
2422}
2423}
2424}
2425}
2426for(var i in b){
2427if(typeof a[i]=="undefined"){
2428a[i]=b[i];
2429}
2430}
2431tmp+=_r.fsObj2Css(a);
2432if(tmp){
2433s+=" style=\""+tmp+"\"";
2434}
2435}
2436}
2437return s;
2438};
2439CUIScroller.fsQuickEnt=function(o,ents,it){
2440var _u=_STNS.UI;
2441l=ents.length,s="";
2442for(var i=0;i<l;i++){
2443s+=" "+_u.fsGetEnt(o,ents[i],it);
2444}
2445return s;
2446};
2447CUIScroller.fsGetHTML=function(){
2448var is="",_r=_STNS,n,_ts=new Array(this.iMultiNum),i,s="";
2449for(i=0;i<this.aItems.length;i++){
2450s+=this.aItems[i].sTxt;
2451}
2452this._bImgOnly=s==""?true:false;
2453s="";
2454for(var i=0;i<_ts.length;i++){
2455_ts[i]="";
2456}
2457if(this.iTyp==1){
2458for(var i=0;i<this.aItems.length;i++){
2459if(i%this.iMultiNum==0||this.iCyc==1&&i==this.aItems.length/2-1){
2460is+="<tr>";
2461}
2462is+=this.aItems[i].fsGetHTML();
2463}
2464}else{
2465for(var i=0;i<this.aItems.length;i++){
2466if(this.iCyc==1&&i==this.aItems.length/2-1){
2467_ts[i%this.iMultiNum]+=this.aItems[i].fsGetHTML();
2468if(this.iMultiNum>1){
2469for(var t=0;t<this.iMultiNum-this.aItems.length/2%this.iMultiNum;t++){
2470_ts[(i+t+1)%this.iMultiNum]+="<td>";
2471}
2472}
2473}else{
2474if(this.iCyc==1&&i>this.aItems.length/2-1){
2475var t=this.iMultiNum-this.aItems.length/2%this.iMultiNum;
2476_ts[(i+t)%this.iMultiNum]+=this.aItems[i].fsGetHTML();
2477}else{
2478_ts[i%this.iMultiNum]+=this.aItems[i].fsGetHTML();
2479}
2480}
2481}
2482is="<tr>"+_ts.join("<tr>");
2483}
2484with(this){
2485s="<table id='"+sUid+"' cellpadding=0 cellspacing=0 "+(sAlign&&sAlign!="left"?" align='"+sAlign+"' ":"")+" width="+_r.fsGetLen("tb",sWid,0,!bImgBd&&iBdWid?iBdWid:0,0)+(sHei?" height='"+_r.fsGetLen("tb",sHei,0,!bImgBd&&iBdWid?iBdWid:0,0,0)+"'":"")+fsGetStyle("tb","visibility:hidden;",0,{"border-style":(!bImgBd&&sBdStyle?sBdStyle:null),"border-width":(!bImgBd&&iBdWid?iBdWid:null),"border-color":(!bImgBd&&sBdClr?sBdClr:null)})+">"+(bImgBd?"<tr "+fsGetStyle("tr")+">"+"<td "+fsGetICStyle(0)+"></td>"+"<td"+(bPag&&iTyp?"":"")+fsGetBGStyle("td",0,0,[aBdBgClrs[0],aBdBgImgs[0],aBdBgReps[0]])+"></td>"+"<td "+fsGetICStyle(1)+"></td>"+"</tr>":"")+(bTil||(bPag&&!iTyp)?("<tr "+fsGetStyle("tr")+">"+(bImgBd?"<td"+fsGetBGStyle("td",0,0,[aBdBgClrs[3],aBdBgImgs[3],aBdBgReps[3]])+" rowspan=2>"+fsBlank("limg")+"</td>":"")+"<td id='"+sUid+"_td_TaP' "+(bPag&&iTyp?"":"")+" align='center' width='100%' "+(bTil&&(sTBgClr!="transparent"||sTBgImg!=="")?fsGetBGStyle("td",0,0,[sTBgClr,sTBgImg,sTBgRep]):"")+">"+"<table width='100%' id='"+sUid+"_tview' cellpadding=3 cellspacing=0 border=0 "+fsGetStyle("tb")+">"+"<tr "+fsGetStyle("tr")+">"+"<td nowrap width=100% align='"+sTAlign+"' "+fsGetStyle("td",(iCssMd||!sTFnt?"":"line-height:"+sLineHeight+";"),0,{"font":(sTFnt||null),"color":(sTFntClr||null),"text-decoration":(sTDeco||null)})+" id='"+sUid+"_title_text'>"+(sTTxt?sTTxt:"&nbsp;")+"</td>"):"");
2486if(bPag&&!iTyp){
2487s+="<td align=right "+fsGetStyle("td")+">"+"<table border=0 align=right cellpadding=3 cellspacing=4 id='"+sUid+"_pview'"+this.fsQuickEnt(this,["mouseover","mouseout","click"],"pview")+"><tr>"+"<td "+fsGetStyle("td")+"><a "+fsGetStyle("a","font-style:normal;text-decoration:none;"+(iCssMd||!aPFnts[0]?"":"line-height:"+aPLineHeight[0]+";"),0,{"font":(aPFnts[0]||null),"color":(aPFntClrs[0]||null)})+" href=# id='"+this.sUid+"_previous'"+this.fsQuickEnt(this,["click"],"previous")+"></a></td>";
2488var __s="";
2489for(var i=1;i<6;i++){
2490__s+="<td "+this.fsGetStyle("td")+"><a "+this.fsGetStyle("a",""+(this.iCssMd||!this.aPFnts[0]?"":"line-height:"+this.aPLineHeight[0]+";"),0,{"font":(this.aPFnts[0]||null),"color":(this.aPFntClrs[0]||null),"text-decoration":(this.aPDecos[0]||null)})+" href='#' id='"+this.sUid+"_p"+i%5+"'"+this.fsQuickEnt(this,["click"],"page")+">&nbsp;</a></td>";
2491}
2492s+=__s;
2493s+="<td "+fsGetStyle("td")+"><a "+fsGetStyle("a","font-style:normal;text-decoration:none;"+(iCssMd||!aPFnts[0]?"":"line-height:"+aPLineHeight[0]+";"),0,{"font":aPFnts[0]||null,"color":aPFntClrs[0]||null})+" href='#' id='"+this.sUid+"_next'"+this.fsQuickEnt(this,["click"],"next")+"></a></td></tr></table></td>";
2494}
2495s+=(bTil||(bPag&&!iTyp)?"</tr></table>"+"</td>"+(bImgBd?"<td"+fsGetBGStyle("td",0,0,[aBdBgClrs[1],aBdBgImgs[1],aBdBgReps[1]])+" rowspan=2>"+fsBlank("rimg")+"</td>":"")+"</tr>":"")+"<tr"+fsGetStyle("tr")+">"+(!bTil&&(!(bPag&&!iTyp))&&bImgBd?"<td"+fsGetBGStyle("td",0,0,[aBdBgClrs[3],aBdBgImgs[3],aBdBgReps[3]])+">"+fsBlank("limg2")+"</td>":"")+"<td width=100% align=center valign='top' "+fsGetBGStyle("td",0,0,[sBgClr,sBgImg,sBgRep])+">"+"<table width=100% border=0 cellpadding=0 cellspacing=0 id='"+this.sUid+"_main'"+fsGetStyle("tb")+">"+"<tr "+fsGetStyle("tr")+"><td align=center valign='top' width=100% "+fsGetStyle("td")+">"+"<table width=100% "+fsGetStyle("tb")+" cellpadding=0 cellspacing=0 border=0 align='center' id='"+this.sUid+"_view'>"+((!bArr||iTyp)?"":"<tr "+fsGetStyle("tr")+">"+"<td align='"+sLAAlign+"' valign='"+sLAVAlign+"'  id='"+sUid+"_vleft' "+fsGetStyle("td")+">"+"<a "+fsGetStyle("a","display:block;",0,{"width":iLAImgWid||null,"height":iLAImgHei||null})+" href='#' id='"+sUid+"_arr0'"+this.fsQuickEnt(this,["mouseover","mouseout","mousedown","mouseup","click"],"arrow")+"><div "+fsGetStyle("dv","font-size:1px;background-repeat:no-repeat;"+(_r.bIsIE?"cursor:hand;":""),0,{"background-image":(iCyc==1||iScDir==2?aLAEnImgs[0]||null:aLADisImgs[0]||null),"width":iLAImgWid||null,"height":iLAImgHei||null})+" id='"+this.sUid+"_arr0img'></div></a>"+"</td>")+(bArr&&iTyp?"<tr "+fsGetStyle("tr")+"><td align='"+sTAAlign+"' valign='"+sTAVAlign+"' "+fsGetStyle("td")+" id='"+sUid+"_vtop' "+(iTyp==1?"width=100%":"")+">"+"<a "+fsGetStyle("a","display:block;",0,{"width":iTAImgWid||null,"height":iTAImgHei||null})+" href='#' id='"+sUid+"_arr2'"+this.fsQuickEnt(this,["mouseover","mouseout","mousedown","mouseup","click"],"arrow")+"><div "+fsGetStyle("dv","font-size:1px;background-position: center;background-repeat:no-repeat;"+(_r.bIsIE?"cursor:hand;":""),0,{"background-image":(iCyc==1||iScDir==4?aTAEnImgs[0]||null:aTADisImgs[0]||null),"width":iTAImgWid||null,"height":iTAImgHei||null})+" id='"+this.sUid+"_arr2img'></div></a>"+"</td>":"")+(bArr&&iTyp?"<tr "+fsGetStyle("tr")+">
2495":"")+"<td "+fsGetStyle("td")+" align=center id='"+sUid+"_display'>"+"<div "+fsGetStyle("dv",(this.iTyp?"height:1px;":"width:1px;")+"overflow:hidden;")+" id='"+sUid+"_sc'"+this.fsQuickEnt(this,["mouseover","mouseout"],"display")+" align=left>"+"<table id='"+this.sUid+"_inner' width=100% cellpadding=0 cellspacing="+iDSpc+" "+fsGetStyle("tb")+">"+is+"</table>"+"</div> "+"</td>"+(bArr&&iTyp?"</tr>":"")+((!bArr||iTyp)?"":"<td align='"+sRAAlign+"' valign='"+sRAVAlign+"' "+fsGetStyle("td")+"  id='"+sUid+"_vright'>"+"<a "+fsGetStyle("a","display:block;",0,{"width":iRAImgWid||null,"height":iRAImgHei||null})+" href='#' id='"+sUid+"_arr1'"+this.fsQuickEnt(this,["mouseover","mouseout","mousedown","mouseup","click"],"arrow")+"><div "+fsGetStyle("dv","font-size:1px;background-repeat:no-repeat;"+(_r.bIsIE?"cursor:hand;":""),0,{"background-image":(iCyc==1||iScDir==1?aRAEnImgs[0]||null:aRADisImgs[0]||null),"width":iRAImgWid||null,"height":iRAImgHei||null})+" id='"+this.sUid+"_arr1img'></div></a>"+"</td></tr>")+(bArr&&iTyp?"<tr "+fsGetStyle("tr")+"><td align='"+sBAAlign+"' valign='"+sBAVAlign+"' "+fsGetStyle("td")+"  id='"+sUid+"_vbottom'>"+"<a "+fsGetStyle("a","display:block;",0,{"width":iBAImgWid||null,"height":iBAImgHei||null})+" href='#' id='"+sUid+"_arr3' "+this.fsQuickEnt(this,["mouseover","mouseout","mousedown","mouseup","click"],"arrow")+"><div "+fsGetStyle("dv","font-size:1px;background-position: center;background-repeat:no-repeat;"+(_r.bIsIE?"cursor:hand;":""),0,{"background-image":(iCyc==1||iScDir==3?aBAEnImgs[0]||null:aBADisImgs[0]||null),"width":iBAImgWid||null,"height":iBAImgHei||null})+" id='"+this.sUid+"_arr3img'></div></a>"+"</td></tr>":"")+"</table>"+"</td>"+(bPag&&iTyp?"<td valign='top' "+fsGetStyle("td")+">"+"<table align='right' cellpadding=2 cellspacing=2 border=0 id='"+sUid+"_pview'"+fsGetStyle("tb")+" "+this.fsQuickEnt(this,["mouseover","mouseout","click"],"pview")+">"+"<tr><td align='center'"+fsGetStyle("td")+"><a "+fsGetStyle("a","font-style:normal;text-decoration:none;display:block;",0,{"font":aPFnts[0]||null,"color":aPFntClrs[0]||null})+" href='#' id='"+this.sUid+"_previous'"+this.fsQuickEnt(this,["click"],"previous")+"></a></td></tr>":"");
2496if(bPag&&iTyp){
2497var __s="";
2498for(var i=1;i<6;i++){
2499__s+="<tr><td align='center'"+fsGetStyle("td")+"><a "+fsGetStyle("a","display:block;"+(iCssMd||!aPFnts[0]?"":"line-height:"+aPLineHeight[0]+";"),0,{"font":aPFnts[0]||null,"color":aPFntClrs[0]||null,"text-decoration":aPDecos[0]||null})+" href='#' id='"+this.sUid+"_p"+i%5+"'"+this.fsQuickEnt(this,["click"],"page")+"></a></td></tr>";
2500}
2501s+=__s;
2502s+="<tr><td align='center'"+fsGetStyle("td")+"><a "+fsGetStyle("a","font-style:normal;text-decoration:none;display:block;"+(iCssMd||!aPFnts[0]?"":"line-height:"+aPLineHeight[0]+";"),0,{"font":aPFnts[0]||null,"color":aPFntClrs[0]||null})+" href='#' id='"+this.sUid+"_next'"+this.fsQuickEnt(this,["click"],"next")+"></a></td></tr>"+"<tr><td "+fsGetStyle("td","visibility:hidden;"+(iCssMd||!aPFnts[0]?"":"line-height:"+aPLineHeight[0]+";"),0,{"font":aPFnts[0]||null})+">00</td></tr>"+"</table></td>";
2503}
2504s+="</tr></table></td>";
2505s+=(!bTil&&(!(bPag&&!iTyp))&&bImgBd?"<td"+fsGetBGStyle("td",0,0,[aBdBgClrs[1],aBdBgImgs[1],aBdBgReps[1]])+">"+fsBlank("rimg2")+"</td>":"")+"</tr>"+(bImgBd?"<tr "+fsGetStyle("tr")+">"+"<td "+fsGetICStyle(3)+"></td>"+"<td"+(bPag&&iTyp?"":"")+fsGetBGStyle("td",0,0,[aBdBgClrs[2],aBdBgImgs[2],aBdBgReps[2]])+"></td>"+"<td "+fsGetICStyle(2)+"></td>"+"</tr>":"")+"</table>"+this._sMapStr;
2506}
2507return s;
2508};
2509CUIScroller.fsGetImg=function(s){
2510if(!s){
2511return "";
2512}
2513if(!_STNS.fbIsAbsPth(s)){
2514s=this.sImgPth+s;
2515}
2516if(s&&_STNS.bBufImg){
2517var p=_STNS.fsGetAbsPth(s);
2518if(!_STNS.oImgs[p]){
2519_STNS.oImgs[p]=1;
2520}
2521}
2522return s;
2523};
2524CUIScroller.fsGetLnk=function(l){
2525if(!l){
2526return "#_nolink";
2527}
2528if(!_STNS.fbIsAbsPth(l)){
2529l=this.sLnkPre+l;
2530}
2531if(!l.toLowerCase().indexOf("javascript:")){
2532l+=";void(0)";
2533}
2534l=_STNS.fsGetAbsPth(l);
2535return l;
2536};
2537CUIScroller.fbGetEnt=function(e,o){
2538var et=e.type||e,oid=o.id,_r=_STNS,_c=_r.UI.CUIScroller;
2539with(this){
2540switch(et){
2541case "mouseover":
2542if(!o._ov&&((_r.bIsIE&&e.srcElement&&_r.fbIsPar(o,e.srcElement))||(!_r.bIsIE&&e.target&&_r.fbIsPar(o,e.target)))){
2543o._ov=1;
2544switch(oid){
2545case sUid+"_previous":
2546return fbFireEnt("mouseoverprevious");
2547case sUid+"_p1":
2548case sUid+"_p2":
2549case sUid+"_p3":
2550case sUid+"_p4":
2551case sUid+"_p0":
2552return fbFireEnt("mouseoverpage",oid);
2553case sUid+"_next":
2554return fbFireEnt("mouseovernext");
2555case sUid+"_arr0":
2556case sUid+"_arr1":
2557case sUid+"_arr2":
2558case sUid+"_arr3":
2559return fbFireEnt("mouseoverarrow",oid);
2560case sUid+"_sc":
2561return fbFireEnt("mouseoverdisplay");
2562case sUid+"_pview":
2563return fbFireEnt("mouseoverpview",oid);
2564}
2565}
2566break;
2567case "mouseout":
2568if(o._ov&&((_r.bIsIE&&(!e.toElement||!_r.fbIsPar(o,e.toElement)))||!_r.bIsIE&&(!e.relatedTarget||!_r.fbIsPar(o,e.relatedTarget)))){
2569o._ov=0;
2570switch(oid){
2571case sUid+"_previous":
2572return fbFireEnt("mouseoutprevious");
2573case sUid+"_p1":
2574case sUid+"_p2":
2575case sUid+"_p3":
2576case sUid+"_p4":
2577case sUid+"_p0":
2578return fbFireEnt("mouseoutpage",oid);
2579case sUid+"_next":
2580return fbFireEnt("mouseoutnext");
2581case sUid+"_arr0":
2582case sUid+"_arr1":
2583case sUid+"_arr2":
2584case sUid+"_arr3":
2585return fbFireEnt("mouseoutarrow",oid);
2586case sUid+"_sc":
2587return fbFireEnt("mouseoutdisplay");
2588case sUid+"_pview":
2589return fbFireEnt("mouseoutpview",oid);
2590}
2591}
2592break;
2593case "click":
2594switch(oid){
2595case sUid+"_previous":
2596return fbFireEnt("clickprevious");
2597case sUid+"_p1":
2598case sUid+"_p2":
2599case sUid+"_p3":
2600case sUid+"_p4":
2601case sUid+"_p0":
2602return fbFireEnt("clickpage",oid);
2603case sUid+"_next":
2604return fbFireEnt("clicknext");
2605case sUid+"_arr0":
2606case sUid+"_arr1":
2607case sUid+"_arr2":
2608case sUid+"_arr3":
2609return fbFireEnt("clickarrow",oid);
2610}
2611break;
2612case "mousedown":
2613switch(oid){
2614case sUid+"_arr0":
2615case sUid+"_arr1":
2616case sUid+"_arr2":
2617case sUid+"_arr3":
2618return fbFireEnt("mousedownarrow",oid);
2619}
2620break;
2621case "mouseup":
2622switch(oid){
2623case sUid+"_arr0":
2624case sUid+"_arr1":
2625case sUid+"_arr2":
2626case sUid+"_arr3":
2627return fbFireEnt("mouseuparrow",oid);
2628}
2629break;
2630default:
2631return fbFireEnt(et);
2632}
2633}
2634return true;
2635};
2636CUIScroller.fbOverPag=function(id){
2637return false;
2638var _r=_STNS,i=parseInt(id.substr(this.sUid.length+2)),e,st=this.iStat;
2639if(this._bEnPag[i]){
2640st|=_r.UI.CUIScroller["OVERPAGITION"+i];
2641this.fbUpDate(st);
2642}
2643return true;
2644};
2645CUIScroller.fbOutPag=function(id){
2646return false;
2647var _r=_STNS,i=parseInt(id.substr(this.sUid.length+2)),e,st=this.iStat;
2648if(this._bEnPag[i]){
2649st&=_r.UI.CUIScroller.MAXSTATE-_r.UI.CUIScroller["OVERPAGINATION"+i];
2650this.fbUpDate(st);
2651}
2652return true;
2653};
2654CUIScroller.fbClickPag=function(id){
2655var _r=_STNS,i=parseInt(id.substr(this.sUid.length+2)),e,l,st=this.iStat,_c=_r.UI.CUIScroller,_bsp=false;
2656if(this._bEnPag[i]){
2657e=_r.fdmGetEleById(id);
2658if(e){
2659i=parseInt(e.innerHTML);
2660if(this._iSelectP<i){
2661this._iScDir=this.iTyp?3:1;
2662}else{
2663if(this._iSelectP>i){
2664this._iScDir=this.iTyp?4:2;
2665}
2666}
2667this._iSelectP=i;
2668e=_r.fdmGetEleById(this.sUid+"_sc");
2669if(this._bIsScrollEff&&this.oScEff&&this.oScEff.fiGetStat()==2){
2670this.oScEff.fbStop();
2671_bsp=true;
2672}
2673if(this.bAuto&&(this.iScDir==2||this.iScDir==4)){
2674i=this._iMaxPage-i+1;
2675}
2676if(e){
2677if(this.iScMod==1){
2678this.fbToPag(i);
2679}else{
2680if(this.iTyp){
2681var dd=(i-1)*this._iPageHei;
2682if(this.iCyc!=1){
2683if(dd>=this._iDisableMax){
2684if(this.bAuto&&this.iCyc==2){
2685this._iScDir=this._iNowScDir=4;
2686}
2687dd=this._iDisableMax;
2688st&=_c.MAXSTATE-_c.ENABLEBOTTOMARROW;
2689}else{
2690st|=_c.ENABLEBOTTOMARROW;
2691}
2692if(dd<=0){
2693if(this.bAuto&&this.iCyc==2){
2694this._iScDir=this._iNowScDir=3;
2695}
2696dd=0;
2697st&=_c.MAXSTATE-_c.ENABLETOPARROW;
2698}else{
2699st|=_c.ENABLETOPARROW;
2700}
2701}
2702e.scrollTop=dd;
2703}else{
2704var dd=(i-1)*this._iPageWid;
2705if(this.iCyc!=1){
2706if(dd>=this._iDisableMax){
2707if(this.bAuto&&this.iCyc==2){
2708this._iScDir=this._iNowScDir=2;
2709}
2710dd=this._iDisableMax;
2711st&=_c.MAXSTATE-_c.ENABLERIGHTARROW;
2712}else{
2713st|=_c.ENABLERIGHTARROW;
2714}
2715if(dd<=0){
2716if(this.bAuto&&this.iCyc==2){
2717this._iScDir=this._iNowScDir=1;
2718}
2719dd=0;
2720st&=_c.MAXSTATE-_c.ENABLELEFTARROW;
2721}else{
2722st|=_c.ENABLELEFTARROW;
2723}
2724}
2725e.scrollLeft=dd;
2726}
2727this.fbSetPag();
2728this.fbUpDate(st);
2729}
2730}
2731}
2732}
2733return false;
2734};
2735CUIScroller.fbToPag=function(i){
2736if(i>this._iMaxPage){
2737i=this._iMaxPage;
2738}
2739if(i<1){
2740i=1;
2741}
2742this._iSelectP=i;
2743var _r=_STNS,st=this.iStat,_c=_r.UI.CUIScroller,e=_r.fdmGetEleById(this.sUid+"_sc");
2744if(!e){
2745return false;
2746}
2747if(!this.oScEff){
2748this.fbGetEff();
2749}
2750try{
2751this.oScEff.fbStop();
2752}
2753catch(ee){
2754}
2755if(!this.iTyp){
2756var dd=(i-1)*this._iPageWid;
2757var _188=Math.ceil((this._iAllWid-this.iDSpc)/this._iPageWid);
2758if(this._bIsScrollEff&&this.oScEff&&this._iScDir==1&&i==1&&this.iCyc==1){
2759dd=this._iAllWid-this.iDSpc;
2760}
2761if(this._bIsScrollEff&&this.oScEff&&this._iScDir==2&&this.iCyc==1&&i==_188){
2762e.scrollLeft=this._iAllWid-this.iDSpc;
2763dd=(_188-1)*this._iPageWid;
2764}
2765if(this.iCyc!=1){
2766if(dd>=this._iDisableMax){
2767this._iSelectP=this._iMaxPage;
2768if(this.bAuto&&this.iCyc==2){
2769this._iScDir=2;
2770this._iNowScDir=2;
2771}
2772dd=this._iDisableMax;
2773st&=_c.MAXSTATE-_c.ENABLERIGHTARROW;
2774}else{
2775st|=_c.ENABLERIGHTARROW;
2776}
2777if(dd<=0){
2778st&=_c.MAXSTATE-_c.ENABLELEFTARROW;
2779}else{
2780st|=_c.ENABLELEFTARROW;
2781}
2782this.fbUpDate(st);
2783}
2784if(e){
2785if(this._bIsRandomEff){
2786try{
2787this.oScEff.fbDel();
2788}
2789catch(ee){
2790}
2791this.oScEff=null;
2792this.oScEff=_r.EFFECT.foGetEff(this._aEffects[parseInt(Math.random()*this._aEffects.length)],this.sUid+"_sc",window,this.iEffSp,this.iEffTrans);
2793if(this.oScEff){
2794if(!this.oScEff.fbSet()){
2795this.oScEff.fbDel();
2796this.oScEff=0;
2797}
2798}
2799}
2800if(this.oScEff){
2801this.oScEff.fbApply();
2802if(this._bIsScrollEff){
2803this.oScEff.fvSetParams("H",dd);
2804}else{
2805e.scrollLeft=dd;
2806}
2807this.oScEff.fbPlay();
2808}else{
2809e.scrollLeft=dd;
2810}
2811}
2812}else{
2813var dd=(i-1)*this._iPageHei;
2814if(this._bIsScrollEff&&this.oScEff&&this._iScDir==4&&this.iCyc==1&&i==this._iMaxPage){
2815e.scrollTop=this._iAllHei;
2816}
2817if(this.iCyc!=1){
2818if(dd>=this._iDisableMax){
2819this._iSelectP=this._iMaxPage;
2820if(this.bAuto&&this.iCyc==2){
2821this._iScDir=4;
2822this._iNowScDir=4;
2823}
2824dd=this._iDisableMax;
2825st&=_c.MAXSTATE-_c.ENABLEBOTTOMARROW;
2826}else{
2827st|=_c.ENABLEBOTTOMARROW;
2828}
2829if(dd<=0){
2830st&=_c.MAXSTATE-_c.ENABLETOPARROW;
2831}else{
2832st|=_c.ENABLETOPARROW;
2833}
2834this.fbUpDate(st);
2835}
2836if(e){
2837if(this._bIsRandomEff){
2838try{
2839this.oScEff.fbStop();
2840}
2841catch(ee){
2842}
2843try{
2844this.oScEff.fbDel();
2845}
2846catch(ee){
2847}
2848this.oScEff=null;
2849this.oScEff=_r.EFFECT.foGetEff(this._aEffects[parseInt(Math.random()*this._aEffects.length)],this.sUid+"_sc",window);
2850if(this.oScEff){
2851if(!this.oScEff.fbSet()){
2852this.oScEff.fbDel();
2853this.oScEff=0;
2854}
2855}
2856}
2857if(this.oScEff){
2858this.oScEff.fbApply();
2859if(this._bIsScrollEff){
2860if(this._iScDir==3&&i==1&&this.iCyc==1){
2861dd=this._iAllHei;
2862}
2863this.oScEff.fvSetParams("V",dd);
2864}else{
2865e.scrollTop=dd;
2866}
2867this.oScEff.fbPlay();
2868}else{
2869e.scrollTop=dd;
2870}
2871}
2872}
2873if((!this._bIsScrollEff)||(!this.oScEff)){
2874this.fbSetPag();
2875}
2876return true;
2877};
2878CUIScroller.fbOverPrevious=function(){
2879var _r=_STNS,e,st=this.iStat;
2880if(this._bEnPrevious){
2881e=_r.fdmGetEleById(this.sUid+"_previous");
2882if(e){
2883if(!e.innerHTML){
2884return true;
2885}
2886st|=_r.UI.CUIScroller.OVERPREVIOUS;
2887}
2888this.fbUpDate(st);
2889}
2890return true;
2891};
2892CUIScroller.fbOutPrevious=function(){
2893var _r=_STNS,e,st=this.iStat;
2894if(this._bEnPrevious){
2895e=_r.fdmGetEleById(this.sUid+"_previous");
2896if(e){
2897if(!e.innerHTML){
2898return true;
2899}
2900st&=_r.UI.CUIScroller.MAXSTATE-_r.UI.CUIScroller.OVERPREVIOUS;
2901}
2902this.fbUpDate(st);
2903}
2904return true;
2905};
2906CUIScroller.fbClickPrevious=function(){
2907var _r=_STNS,e,l,dd,_c=_r.UI.CUIScroller,st=this.iStat,_tpn,ep;
2908if(this._bEnPrevious){
2909e=_r.fdmGetEleById(this.sUid+"_sc");
2910if(e){
2911if(this.iScDir==2||this.iScDir==4){
2912ep=_r.fdmGetEleById(this.sUid+"_p1");
2913if(!ep){
2914return false;
2915}
2916_tpn=parseInt(ep.innerHTML)-1;
2917_tpn=this._iMaxPage+1-_tpn;
2918}else{
2919ep=_r.fdmGetEleById(this.sUid+"_p1");
2920if(!ep){
2921return false;
2922}
2923_tpn=parseInt(ep.innerHTML)-1;
2924}
2925if(_tpn<1){
2926_tpn=1;
2927}
2928if(this.iTyp){
2929dd=(_tpn-1)*this._iPageHei;
2930if(this.iScMod==1&&this.iScDist==2){
2931this.fbToPag(_tpn);
2932}else{
2933if(this.iCyc!=1){
2934if(dd>=this._iDisableMax){
2935if(this.bAuto&&this.iCyc==2){
2936this._iScDir=this._iNowScDir=4;
2937}
2938dd=this._iDisableMax;
2939st&=_c.MAXSTATE-_c.ENABLEBOTTOMARROW;
2940}else{
2941st|=_c.ENABLEBOTTOMARROW;
2942}
2943if(dd<=0){
2944if(this.bAuto&&this.iCyc==2){
2945this._iScDir=this._iNowScDir=3;
2946}
2947dd=0;
2948st&=_c.MAXSTATE-_c.ENABLETOPARROW;
2949}else{
2950st|=_c.ENABLETOPARROW;
2951}
2952}
2953e.scrollTop=dd;
2954}
2955}else{
2956dd=(_tpn-1)*this._iPageWid;
2957if(this.iScMod==1&&this.iScDist==2){
2958this.fbToPag(_tpn);
2959}else{
2960if(this.iCyc!=1){
2961if(dd>=this._iDisableMax){
2962if(this.bAuto&&this.iCyc==2){
2963this._iScDir=this._iNowScDir=2;
2964}
2965dd=this._iDisableMax;
2966st&=_c.MAXSTATE-_c.ENABLERIGHTARROW;
2967}else{
2968st|=_c.ENABLERIGHTARROW;
2969}
2970if(dd<=0){
2971if(this.bAuto&&this.iCyc==2){
2972this._iScDir=this._iNowScDir=1;
2973}
2974dd=0;
2975st&=_c.MAXSTATE-_c.ENABLELEFTARROW;
2976}else{
2977st|=_c.ENABLELEFTARROW;
2978}
2979}
2980e.scrollLeft=dd;
2981}
2982}
2983this.fbUpDate(st);
2984this.fbSetPag();
2985}
2986}
2987return false;
2988};
2989CUIScroller.fbOverNext=function(){
2990var _r=_STNS,e,st=this.iStat;
2991if(this._bEnNext){
2992e=_r.fdmGetEleById(this.sUid+"_next");
2993if(e){
2994if(!e.innerHTML){
2995return true;
2996}
2997st|=_r.UI.CUIScroller.OVERNEXT;
2998}
2999this.fbUpDate(st);
3000}
3001return true;
3002};
3003CUIScroller.fbOutNext=function(){
3004var _r=_STNS,e,st=this.iStat;
3005if(this._bEnNext){
3006e=_r.fdmGetEleById(this.sUid+"_next");
3007if(e){
3008if(!e.innerHTML){
3009return true;
3010}
3011st&=_r.UI.CUIScroller.MAXSTATE-_r.UI.CUIScroller.OVERNEXT;
3012}
3013this.fbUpDate(st);
3014}
3015return true;
3016};
3017CUIScroller.fbClickNext=function(){
3018var _r=_STNS,e,l,dd,_c=_r.UI.CUIScroller,st=this.iStat,_tpn,ep;
3019if(this._bEnNext){
3020e=_r.fdmGetEleById(this.sUid+"_sc");
3021if(e){
3022if(this.iScDir==2||this.iScDir==4){
3023ep=_r.fdmGetEleById(this.sUid+"_p0");
3024if(!ep){
3025return false;
3026}
3027_tpn=parseInt(ep.innerHTML)+1;
3028_tpn=this._iMaxPage+1-_tpn;
3029}else{
3030ep=_r.fdmGetEleById(this.sUid+"_p0");
3031if(!ep){
3032return false;
3033}
3034_tpn=parseInt(ep.innerHTML)+1;
3035}
3036if(_tpn<1){
3037_tpn=1;
3038}
3039if(this.iTyp){
3040dd=(_tpn-1)*this._iPageHei;
3041if(this.iScMod==1&&this.iScDist==2){
3042this.fbToPag(_tpn);
3043}else{
3044if(this.iCyc!=1){
3045if(dd>=this._iDisableMax){
3046if(this.bAuto&&this.iCyc==2){
3047this._iScDir=this._iNowScDir=4;
3048}
3049dd=this._iDisableMax;
3050st&=_c.MAXSTATE-_c.ENABLEBOTTOMARROW;
3051}else{
3052st|=_c.ENABLEBOTTOMARROW;
3053}
3054if(dd<=0){
3055if(this.bAuto&&this.iCyc==2){
3056this._iScDir=this._iNowScDir=3;
3057}
3058dd=0;
3059st&=_c.MAXSTATE-_c.ENABLETOPARROW;
3060}else{
3061st|=_c.ENABLETOPARROW;
3062}
3063}
3064e.scrollTop=dd;
3065}
3066}else{
3067dd=(_tpn-1)*this._iPageWid;
3068if(this.iScMod==1&&this.iScDist==2){
3069this.fbToPag(_tpn);
3070}else{
3071if(this.iCyc!=1){
3072if(dd>=this._iDisableMax){
3073if(this.bAuto&&this.iCyc==2){
3074this._iScDir=this._iNowScDir=2;
3075}
3076dd=this._iDisableMax;
3077st&=_c.MAXSTATE-_c.ENABLERIGHTARROW;
3078}else{
3079st|=_c.ENABLERIGHTARROW;
3080}
3081if(dd<=0){
3082if(this.bAuto&&this.iCyc==2){
3083this._iScDir=this._iNowScDir=1;
3084}
3085dd=0;
3086st&=_c.MAXSTATE-_c.ENABLELEFTARROW;
3087}else{
3088st|=_c.ENABLELEFTARROW;
3089}
3090}
3091e.scrollLeft=dd;
3092}
3093}
3094this.fbUpDate(st);
3095this.fbSetPag();
3096}
3097}
3098return false;
3099};
3100CUIScroller.fiSetArrSt=function(st,tp,id){
3101var _c=_STNS.UI.CUIScroller;
3102switch(id){
3103case this.sUid+"_arr0":
3104return tp=="over"?st|=_c.OVERLEFTARROW:st&=_c.MAXSTATE-_c.OVERLEFTARROW;
3105case this.sUid+"_arr1":
3106return tp=="over"?st|=_c.OVERRIGHTARROW:st&=_c.MAXSTATE-_c.OVERRIGHTARROW;
3107case this.sUid+"_arr2":
3108return tp=="over"?st|=_c.OVERTOPARROW:st&=_c.MAXSTATE-_c.OVERTOPARROW;
3109case this.sUid+"_arr3":
3110return tp=="over"?st|=_c.OVERBOTTOMARROW:st&=_c.MAXSTATE-_c.OVERBOTTOMARROW;
3111}
3112};
3113CUIScroller.fbOverArrow=function(id){
3114this.bPause=0;
3115this.fbUpDate(this.fiSetArrSt(this.iStat,"over",id));
3116return true;
3117};
3118CUIScroller.fbOutArrow=function(id){
3119this.fbUpDate(this.fiSetArrSt(this.iStat,"out",id));
3120return true;
3121};
3122CUIScroller.fiGetDir=function(id){
3123if(id==this.sUid+"_arr1"){
3124this._iScDir=1;
3125}else{
3126if(id==this.sUid+"_arr0"){
3127this._iScDir=2;
3128}else{
3129if(id==this.sUid+"_arr3"){
3130this._iScDir=3;
3131}else{
3132if(id==this.sUid+"_arr2"){
3133this._iScDir=4;
3134}
3135}
3136}
3137}
3138return this._iScDir;
3139};
3140CUIScroller.fvResumeDir=function(){
3141this._iScDir=this._iNowScDir;
3142};
3143CUIScroller.fbStartScroll=function(id){
3144this.fiGetDir(id);
3145this.fbScroll(2*this.iSpeed);
3146return true;
3147};
3148CUIScroller.fbRe1XScroll=function(id){
3149if(this.oScEff&&this.oScEff.fiGetStat()==2){
3150this.oScEff.fbStop();
3151}
3152this.fvResumeDir();
3153this.fbResumeScroll();
3154this.fbScroll(this.iSpeed);
3155return true;
3156};
3157CUIScroller.fb1XScroll=function(id){
3158this.fiGetDir(id);
3159this.fbScroll(this.iSpeed);
3160return true;
3161};
3162CUIScroller.fb2XScroll=function(id){
3163this.fiGetDir(id);
3164this.fbScroll(this.iSpeed*2);
3165return true;
3166};
3167CUIScroller.fb5XScroll=function(id){
3168this.fiGetDir(id);
3169this.fbScroll(this.iSpeed*5);
3170return true;
3171};
3172CUIScroller.fbEndScroll=function(id){
3173if(this.bAuto){
3174this.fbScroll(this.iSpeed);
3175}else{
3176this.fbScroll(0);
3177}
3178return true;
3179};
3180CUIScroller.fbDownArrow=function(id){
3181this.fiGetDir(id);
3182return false;
3183};
3184CUIScroller.fbUpArrow=function(id){
3185this.fiGetDir(id);
3186return true;
3187};
3188CUIScroller.fbCanResume=function(s){
3189var _r=_STNS,_c=_r.UI.CUIScroller,st=this.iStat;
3190if(this._tEffTid||st&_c.OVERLEFTARROW&&!(st&_c.ENABLELEFTARROW)||st&_c.OVERRIGHTARROW&&!(st&_c.ENABLERIGHTARROW)||st&_c.OVERTOPARROW&&!(st&_c.ENABLETOPARROW)||st&_c.OVERBOTTOMARROW&&!(st&_c.ENABLEBOTTOMARROW)||(this.bAuto&&s==this.iSpeed&&(st&_c.OVERRIGHTARROW||st&_c.OVERLEFTARROW||st&_c.OVERTOPARROW||st&_c.OVERBOTTOMARROW))){
3191return false;
3192}else{
3193return true;
3194}
3195};
3196CUIScroller.fbScroll=function(s){
3197var _r=_STNS,e,dd,_c=_r.UI.CUIScroller,st=this.iStat,d=this._iScDir,_1bf=false,_iSt=this.iScDelay,_1c1="";
3198clearTimeout(this._tScTid);
3199if(!d||!s||this.bPause||this._bOverPause||(this.oScEff&&this.oScEff.fiGetStat()==2)||!this.fbCanResume(s)||this._iNowShowingTipId){
3200this._tScTid=setTimeout(this.sSelf+".fbScroll("+s+")",this.iCurDur);
3201return false;
3202}
3203e=_r.fdmGetEleById(this.sUid+"_sc");
3204if(!e){
3205return false;
3206}
3207var _1c2=(d==1||d==2),dd=_1c2?e.scrollLeft:e.scrollTop,imod,max,_1c5,_1c6=true;
3208max=_1c2?this._iAllWid-this.iDSpc:this._iAllHei-this.iDSpc;
3209_1c5=_1c2?this._iPageWid:this._iPageHei;
3210if(this.iScDist==1){
3211imod=(_1c2?this.iIWid:this.iIHei)+this.iDSpc+this.iDPad*2+this.iIBdWid*2;
3212}else{
3213if(this.iScDist==2){
3214imod=_1c5;
3215}else{
3216imod=1;
3217}
3218}
3219var lm=max%_1c5==0?max-_1c5:max-max%_1c5,ii;
3220if(this.iScDist==1&&_1c2){
3221lm=max-imod;
3222}
3223if(this.iScDist==1&&!_1c2){
3224lm=this.aItems[this.aItems.length/2-1]._iScrollToHei;
3225}
3226var __p=this._iSelectP;
3227if(d==1||d==3){
3228if(this.iCyc!=1&&dd>=lm){
3229_1c2?e.scrollLeft=lm:e.scrollTop=lm;
3230if(this.iScDist==1){
3231this.fiGetItemIndex();
3232}
3233st&=_c.MAXSTATE-(_1c2?_c.ENABLERIGHTARROW:_c.ENABLEBOTTOMARROW);
3234this.fbUpDate(st);
3235this.fbPauseScroll();
3236if(this.iCyc==2){
3237this._iScDir=this._iNowScDir=_1c2?2:4;
3238if(this.iScDist==0){
3239_iSt=1500;
3240}
3241this._tResumePauseTid=setTimeout(this.sSelf+".fbResumeScroll()",_iSt);
3242this._tScTid=setTimeout(this.sSelf+".fbScroll("+s+")",this.iCurDur);
3243}
3244return;
3245}
3246if(this.iScMod==1&&this.iScDist==2){
3247dd=(this._iSelectP)*_1c5;
3248this._iSelectP+=1;
3249if(this.iCyc==1&&dd>=max){
3250dd=0;
3251this._iSelectP=1;
3252}
3253this.fbPauseScroll();
3254this.fbToPag(this._iSelectP);
3255this._tEffTid=setTimeout(this.sSelf+"._tEffTid=0;"+this.sSelf+".fbResumeScroll();"+this.sSelf+".fbScroll("+s+")",this.iEffSp+this.iScDelay+100);
3256}else{
3257if(this.iCyc==1&&dd+s>=max){
3258dd=0;
3259if(this.iScDist==1||this.iScDist==2){
3260_1bf=true;
3261}
3262if(this.iScDist==1){
3263this._iItemIndex=0;
3264}
3265}else{
3266dd+=s;
3267if(this.iScDist==1||this.iScDist==2){
3268if(this.iScDist==2&&d==3){
3269var _now=this.fiGetFullPage("LoU");
3270var _to=_now+1;
3271var _1cc=(_to-1)*this._iPageHei;
3272if(_to>this._iMaxPage){
3273_1cc=this._iAllHei;
3274}
3275if(dd>=_1cc){
3276dd=_1cc;
3277_1bf=true;
3278if(_to>this._iMaxPage){
3279_to=this.iCyc==1?1:this._iMaxPage;
3280}
3281}else{
3282_1bf=false;
3283}
3284}else{
3285if(this.iScDist==1&&d==3){
3286var _now=this.fiGetItemIndex("LoU");
3287var _1cc=0;
3288if(_now>=this.aItems.length){
3289_1cc=this._iAllHei;
3290}else{
3291_1cc=this.aItems[_now+1]._iScrollToHei;
3292}
3293if(dd>=_1cc){
3294dd=_1cc;
3295_1bf=true;
3296}else{
3297_1bf=false;
3298}
3299}else{
3300ii=dd%imod;
3301if(ii<s){
3302if(this.iScDist==1&&d==3){
3303this._iItemIndex++;
3304dd=imod;
3305}else{
3306dd-=ii;
3307}
3308_1bf=true;
3309}
3310}
3311}
3312}
3313if(this.iCyc!=1&&dd>=lm){
3314dd=lm;
3315st&=_c.MAXSTATE-(_1c2?_c.ENABLERIGHTARROW:_c.ENABLEBOTTOMARROW);
3316this.fbUpDate(st);
3317if(this.iCyc==0){
3318_1c6=false;
3319}
3320if(this.iCyc==2){
3321this._iScDir=this._iNowScDir=_1c2?2:4;
3322if(this.iScDist==0){
3323_iSt=1500;
3324}
3325}
3326if(this.iScDist==1){
3327this.fiGetItemIndex();
3328}
3329_1bf=true;
3330}
3331if(this.iCyc!=1&&!(this.iStat&(_1c2?_c.ENABLELEFTARROW:_c.ENABLETOPARROW))){
3332this.fbUpDate(st|=(_1c2?_c.ENABLELEFTARROW:_c.ENABLETOPARROW));
3333}
3334}
3335_1c2?e.scrollLeft=dd:e.scrollTop=dd;
3336if(_1bf){
3337this.fbPauseScroll();
3338if(this.fbCanResume(s)&&_1c6){
3339this._tResumePauseTid=setTimeout(this.sSelf+".fbResumeScroll()",_iSt);
3340}
3341}
3342if(_1c2?(dd>=(__p-1)*this._iPageWid+this._iPageWid/2||dd<=(__p-1)*this._iPageWid-this._iPageWid/2):((dd>=(__p-1)*this._iPageHei+(this._iCurDHei-this.iDSpc)/2)||(dd<=(__p-1)*this._iPageHei-this._iCurDHei/2))){
3343this.fbSetPag();
3344}
3345}
3346}else{
3347if(this.iScMod==1&&this.iScDist==2){
3348var _p=this._iSelectP;
3349dd=(this._iSelectP-2)*_1c5;
3350this._iSelectP-=1;
3351if(this.iCyc!=1&&dd<0){
3352this._iSelectP=1;
3353if(this.iCyc==2){
3354this._iScDir=this._iNowScDir=_1c2?1:3;
3355this.fbScroll(s);
3356}
3357return;
3358}else{
3359if(this.iCyc==1&&dd<0){
3360this._iSelectP=Math.ceil(max/_1c5);
3361}
3362}
3363this.fbPauseScroll();
3364this._tEffTid=setTimeout(this.sSelf+"._tEffTid=0;"+this.sSelf+".fbResumeScroll();"+this.sSelf+".fbScroll("+s+")",this.iEffSp+this.iScDelay);
3365this.fbToPag(this._iSelectP);
3366}else{
3367if(this.iCyc!=1&&dd-s<=0){
3368dd=0;
3369st&=_c.MAXSTATE-(_1c2?_c.ENABLELEFTARROW:_c.ENABLETOPARROW);
3370this.fbUpDate(st);
3371if(this.iCyc==0){
3372_1c6=false;
3373}
3374if(this.iCyc==2){
3375this._iScDir=this._iNowScDir=_1c2?1:3;
3376if(this.iScDist==0){
3377_iSt=1500;
3378}
3379}
3380_1bf=true;
3381}else{
3382if(this.iCyc==1&&dd-s<=0){
3383dd=max;
3384if(this.iScDist==1||this.iScDist==2){
3385_1bf=true;
3386_1c1="_STNS.fdmGetEleById('"+this.sUid+"_sc')."+(_1c2?"scrollLeft":"scrollTop")+"="+dd+";";
3387dd=0;
3388}
3389}else{
3390st|=(_1c2?_c.ENABLELEFTARROW:_c.ENABLETOPARROW);
3391dd-=s;
3392if(this.iScDist==1||this.iScDist==2){
3393if(this.iScDist==2&&d==4){
3394var _now=this.fiGetFullPage();
3395var _to=_now-1;
3396if(dd<=(_to)*this._iPageHei){
3397dd=(_to)*this._iPageHei;
3398_1bf=true;
3399if(_to<1){
3400_to=this.iCyc==1?this._iMaxPage:1;
3401}
3402}
3403}else{
3404if(this.iScDist==1&&d==4){
3405var _now=this.fiGetItemIndex("RoD");
3406var _1cc=0;
3407if(_now>=this.aItems.length){
3408_1cc=this._iAllHei;
3409}else{
3410_1cc=this.aItems[_now]._iScrollToHei;
3411}
3412if(dd<=_1cc){
3413dd=_1cc;
3414_1bf=true;
3415}else{
3416_1bf=false;
3417}
3418}else{
3419ii=dd%imod;
3420if(ii<s){
3421_1bf=true;
3422if(this.iScDist==1&&d==4){
3423dd=imod;
3424this._iItemIndex--;
3425if(this._iItemIndex<0){
3426this._iItemIndex=0;
3427}
3428}else{
3429dd-=ii;
3430}
3431if(this.iCyc==1&&dd<=0){
3432if(this.iScDist==1||this.iScDist==2){
3433dd=max;
3434_1c1="_STNS.fdmGetEleById('"+this.sUid+"_sc')."+(_1c2?"scrollLeft":"scrollTop")+"="+dd+";";
3435dd=0;
3436}
3437}
3438}
3439}
3440}
3441}
3442}
3443}
3444_1c2?e.scrollLeft=dd:e.scrollTop=dd;
3445if(this.iCyc!=1&&dd<=0){
3446dd=lm;
3447st&=_c.MAXSTATE-(_1c2?_c.ENABLELEFTARROW:_c.ENABLETOPARROW);
3448this.fbUpDate(st);
3449if(this.iCyc==0){
3450_1c6=false;
3451}
3452if(this.iCyc==2){
3453this._iScDir=this._iNowScDir=_1c2?1:3;
3454if(this.iScDist==0){
3455_iSt=1500;
3456}
3457}
3458if(this.iScDist==1){
3459this.fiGetItemIndex();
3460}
3461_1bf=true;
3462}
3463st|=(_1c2?_c.ENABLERIGHTARROW:_c.ENABLEBOTTOMARROW);
3464this.fbUpDate(st);
3465if(_1c2?(dd>(__p-1)*this._iPageWid+this._iPageWid/2||e.scrollLeft<(__p-1)*this._iPageWid-this._iPageWid/2):((dd>(__p-1)*this._iPageHei+(this._iCurDHei-this.iDSpc)/2)||(dd<(__p-1)*this._iPageHei-this._iCurDHei/2))){
3466this.fbSetPag();
3467}
3468if(_1bf){
3469this.fbPauseScroll();
3470if(this.fbCanResume(s)){
3471this._tResumePauseTid=setTimeout(_1c1+this.sSelf+".fbResumeScroll();",_iSt);
3472}
3473}
3474}
3475}
3476if(_1c6){
3477this._tScTid=setTimeout(this.sSelf+".fbScroll("+s+")",this.iCurDur);
3478}
3479return true;
3480};
3481CUIScroller.fbPageScroll=function(id){
3482var __p=this._iSelectP,_r=_STNS,ds,dd,sc,f=1,d=1,_c=_r.UI.CUIScroller,dw,_1d8=false;
3483st=this.iStat,e=_r.fdmGetEleById(this.sUid+"_sc");
3484clearTimeout(this._tScTid);
3485if(!e){
3486return false;
3487}
3488d=this.fiGetDir(id);
3489if(d==1&&(!(this.iStat&_c.ENABLERIGHTARROW))||d==2&&(!(this.iStat&_c.ENABLELEFTARROW))||d==3&&(!(this.iStat&_c.ENABLEBOTTOMARROW))||d==4&&(!(this.iStat&_c.ENABLETOPARROW))){
3490return;
3491}
3492var _1d9=(d==1||d==2);
3493dd=_1d9?e.scrollLeft:e.scrollTop;
3494var imod,max,_1dc;
3495max=(_1d9?this._iAllWid:this._iAllHei)-this.iDSpc;
3496_1dc=(_1d9?this._iPageWid:this._iPageHei);
3497if(this.iScDist==1){
3498imod=(_1d9?this.iIWid:this.iIHei)+this.iDSpc+this.iDPad*2+this.iIBdWid*2;
3499}else{
3500if(this.iScDist==2){
3501imod=_1dc;
3502}else{
3503imod=1;
3504}
3505}
3506var lm=max%_1dc==0?max-_1dc:max-max%_1dc,ii,tmp;
3507if(this.iScDist==1&&_1d9){
3508lm=max-imod;
3509}
3510if(this.iScDist==1&&!_1d9){
3511lm=this.aItems[this.aItems.length/2-1]._iScrollToHei;
3512}
3513if(d==1||d==3){
3514if(this.iCyc!=1&&dd>=lm){
3515if(this.iCyc==2){
3516this._iScDir=this._iNowScDir=_1d9?2:4;
3517}
3518_1d9?e.scrollLeft=lm:e.scrollTop=lm;
3519st&=_c.MAXSTATE-(_1d9?_c.ENABLERIGHTARROW:_c.ENABLEBOTTOMARROW);
3520this.fbUpDate(st);
3521return;
3522}
3523if(this.iScMod==1&&this.iScDist==2){
3524this._iSelectP=(this.iCyc==1&&(dd+_1dc)>=max)?1:this._iSelectP+1;
3525if(this._iSelectP>this._iMaxPage){
3526this._iSelectP=this._iMaxPage;
3527}
3528this.fbToPag(this._iSelectP);
3529}else{
3530if(this.iCyc==1&&dd>=max){
3531dd=0;
3532_1d8=true;
3533}else{
3534dd+=this.iSpeed;
3535if(this.iScDist==1&&d==3){
3536var _now=this.fiGetItemIndex("LoU");
3537var _1e1=0;
3538if(_now>=this.aItems.length){
3539_1e1=this._iAllHei;
3540}else{
3541_1e1=this.aItems[_now+1]._iScrollToHei;
3542}
3543if(dd>=_1e1){
3544dd=_1e1;
3545}else{
3546_1d8=true;
3547}
3548}else{
3549if(this.iScDist==2&&d==3){
3550var _now=this.fiGetFullPage("LoU");
3551var _to=_now+1;
3552var _1e1=(_to-1)*this._iPageHei;
3553if(_to>this._iMaxPage){
3554_1e1=this._iAllHei;
3555}
3556if(dd>=_1e1){
3557dd=_1e1;
3558_1d8=false;
3559if(_to>this._iMaxPage){
3560_to=this.iCyc==1?1:this._iMaxPage;
3561}
3562}else{
3563_1d8=true;
3564}
3565}else{
3566ii=dd%imod;
3567if(ii<this.iSpeed){
3568dd-=ii;
3569}
3570if(dd<max&&ii>=this.iSpeed){
3571_1d8=true;
3572}else{
3573_1d8=false;
3574}
3575}
3576}
3577tmp=dd;
3578if(this.iCyc!=1&&dd>=lm){
3579this._iSelectP=this._iMaxPage;
3580if(this.iCyc==2){
3581this._iScDir=this._iNowScDir=_1d9?2:4;
3582}
3583dd=lm;
3584st&=_c.MAXSTATE-(_1d9?_c.ENABLERIGHTARROW:_c.ENABLEBOTTOMARROW);
3585this.fbUpDate(st);
3586}
3587if(this.iCyc==1&&dd>=max){
3588this._iSelectP=1;
3589dd=0;
3590this._iItemIndex=0;
3591}
3592if(!(this.iStat&(_1d9?_c.ENABLELEFTARROW:_c.ENABLETOPARROW))){
3593this.fbUpDate(st|(_1d9?_c.ENABLELEFTARROW:_c.ENABLETOPARROW));
3594}
3595}
3596_1d9?e.scrollLeft=dd:e.scrollTop=dd;
3597}
3598}else{
3599if(this.iCyc!=1&&dd<=0){
3600this._iSelectP=1;
3601if(this.iCyc==2){
3602this._iScDir=this._iNowScDir=_1d9?1:3;
3603}
3604_1d9?e.scrollLeft=0:e.scrollTop=0;
3605st&=_c.MAXSTATE-(_1d9?_c.ENABLELEFTARROW:_c.ENABLETOPARROW);
3606this.fbUpDate(st);
3607return;
3608}
3609if(this.iScMod==1&&this.iScDist==2){
3610this._iSelectP=(this.iCyc==1&&dd<=0)?Math.ceil(max/_1dc):this._iSelectP-1;
3611if(this._iSelectP<1){
3612this._iSelectP=1;
3613}
3614this.fbToPag(this._iSelectP);
3615}else{
3616if(this.iCyc==1&&dd<=0){
3617dd=max;
3618_1d8=true;
3619}else{
3620dd-=this.iSpeed;
3621if(this.iScDist==2&&d==4){
3622var _now=this.fiGetFullPage("RoD");
3623var _to=_now-1;
3624if(dd<=(_to)*this._iPageHei){
3625dd=(_to)*this._iPageHei;
3626_1d8=false;
3627if(_to<1){
3628_to=this.iCyc==1?this._iMaxPage:1;
3629}
3630}else{
3631_1d8=true;
3632}
3633}else{
3634if(this.iScDist==1&&d==4){
3635var _now=this.fiGetItemIndex("RoD");
3636var _1e1=0;
3637if(_now>=this.aItems.length){
3638_1e1=this._iAllHei;
3639}else{
3640_1e1=this.aItems[_now]._iScrollToHei;
3641}
3642if(dd<=_1e1){
3643dd=_1e1;
3644}else{
3645_1d8=true;
3646}
3647}else{
3648ii=dd%imod;
3649if(ii<this.iSpeed){
3650dd-=ii;
3651}
3652if(dd>0&&ii>=this.iSpeed){
3653_1d8=true;
3654}
3655}
3656}
3657tmp=dd;
3658if(this.iCyc!=1&&dd<=0){
3659this._iSelectP=1;
3660if(this.iCyc==2){
3661this._iScDir=this._iNowScDir=_1d9?1:3;
3662}
3663dd=0;
3664this.fbSetPag();
3665st&=_c.MAXSTATE-(_1d9?_c.ENABLELEFTARROW:_c.ENABLETOPARROW);
3666this.fbUpDate(st);
3667}
3668if(this.iCyc==1&&dd<=0){
3669dd=0;
3670}
3671if(!(this.iStat&(_1d9?_c.ENABLERIGHTARROW:_c.ENABLEBOTTOMARROW))){
3672this.fbUpDate(st|(_1d9?_c.ENABLERIGHTARROW:_c.ENABLEBOTTOMARROW));
3673}
3674}
3675_1d9?e.scrollLeft=dd:e.scrollTop=dd;
3676}
3677}
3678if(_1d9?(dd>(__p-1)*this._iPageWid+this._iPageWid/2||dd<(__p-1)*this._iPageWid-this._iPageWid/2):((dd>(__p-1)*(this._iCurDHei-this.iDSpc)+(this._iCurDHei-this.iDSpc)/2)||(dd<(__p-1)*(this._iCurDHei-this.iDSpc)-this._iCurDHei/2))){
3679this.fbSetPag();
3680}
3681if(_1d8){
3682this._tScTid=setTimeout(this.sSelf+".fbPageScroll('"+id+"')",this.iCurDur);
3683}
3684return false;
3685};
3686CUIScroller.fbPauseScroll=function(){
3687clearTimeout(this._tResumePauseTid);
3688this.bPause=true;
3689return true;
3690};
3691CUIScroller.fbResumeScroll=function(){
3692this.bPause=false;
3693return true;
3694};
3695CUIScroller.fsGetHotStr=function(s,c,h,t,a,o,n){
3696return "<area"+" id=\""+o.sUid+"_hot"+n+"\""+(s?" shape='"+s+"'":"")+(c?" coords='"+c+"'":"")+(h?" href=\""+h.replace(/\"/g,"&quot;")+"\"":"")+(t?" target=\""+t+"\"":"")+(a?" alt=\""+a.replace(/\"/g,"&quot;")+"\" title=\""+a.replace(/\"/g,"&quot;")+"\"":"")+(!_STNS.bIsIE||(_STNS.bIsIE&&_STNS.oNav.version<6)?this.fsQuickEnt(o,["mouseover","mouseout"],"image"):"")+"/>";
3697};
3698CUIScroller.fsGetBGStyle=function(node,a,b,o){
3699return this.fsGetStyle(node,a,b,{"background-color":o[0]||null,"background-image":o[1]||null,"background-repeat":o[2]||null});
3700};
3701CUIScroller.fsGetICStyle=function(i){
3702return this.fsGetStyle("td","background-repeat:no-repeat;",0,{"background-image":this.aCorners[i]||null,"width":this.iCWH||null,"height":this.iCWH||null});
3703};
3704CUIScroller.fsBlank=function(id){
3705with(this){
3706return "<img src=\""+sBlank+"\" id='"+sUid+"_"+id+"' "+fsGetStyle("img","",0,{"width":iCWH||null})+">";
3707}
3708};
3709CUIScroller.fbAContainsB=function(A,B){
3710if(A.contains){
3711if(A.contains(B)){
3712return true;
3713}else{
3714return false;
3715}
3716}
3717if(B==A){
3718return true;
3719}
3720while(B=B.parentNode){
3721if(B==A){
3722return true;
3723}
3724}
3725return false;
3726};
3727_STNS.UI.CUIScrollerItem=_STNS.Class(_STNS.UI.CUIObj);
3728CUIScrollerItem.register("UI/CUIObj>CUIScrollerItem");
3729CUIScrollerItem.construct=function(){
3730this.bDisable=0;
3731this.oParSc=0;
3732this.iWid=0;
3733this.iHei=0;
3734this.iNid=0;
3735this.sId=0;
3736this.iTyp=0;
3737this.sTxt=0;
3738this.sLnk=0;
3739this.sTar=0;
3740this.sImg=0;
3741this.sImgMap=0;
3742this.iImgWid=0;
3743this.iImgHei=0;
3744this.sBgClr=0;
3745this.aFnts=[];
3746this.aFntClrs=[];
3747this.aDecos=[];
3748this.sBdStyle=0;
3749this.iBdWid=0;
3750this.sBdClr=0;
3751this.oTip=0;
3752this.iStat=0;
3753this.sAlign=0;
3754this.sVAlign=0;
3755this._tTid=0;
3756this._iCurHei=0;
3757this._iScrollToHei=0;
3758with(_STNS.UI.CUIScrollerItem){
3759this.fsGetHTML=fsGetHTML;
3760this.fvDestroy=fvDestroy;
3761this.fbGetEnt=fbGetEnt;
3762this.fbShowTip=fbShowTip;
3763this.fbHideTip=fbHideTip;
3764this.fbSetOver=fbSetOver;
3765this.fbSetOut=fbSetOut;
3766this.fbUpDate=fbUpDate;
3767this.fbOpenLnk=fbOpenLnk;
3768this.foClone=foClone;
3769}
3770};
3771CUIScrollerItem.CUR_FONT=1;
3772CUIScrollerItem.FONT_BIT=0;
3773CUIScrollerItem.CUR_COLOR=2;
3774CUIScrollerItem.COLOR_BIT=1;
3775CUIScrollerItem.CUR_DECORATION=4;
3776CUIScrollerItem.DECORATION_BIT=2;
3777CUIScrollerItem.OVERTEXTSTYLE=CUIScrollerItem.CUR_FONT|CUIScrollerItem.CUR_COLOR|CUIScrollerItem.CUR_DECORATION;
3778CUIScrollerItem.MOUSEOVERIMAGE=8;
3779CUIScrollerItem.MOUSEOVERTEXT=16;
3780with(CUIScrollerItem){
3781CUIScrollerItem.MAXSTATE=CUR_FONT|CUR_COLOR|CUR_DECORATION|MOUSEOVERIMAGE|MOUSEOVERTEXT;
3782}
3783CUIScrollerItem.fsGetHTML=function(){
3784var s,_r=_STNS,sc=this.oParSc,_c=_r.UI.CUIScrollerItem;
3785with(this){
3786if(sc.iTyp){
3787s="<td  id='"+this.sUid+"' valign='top'"+sc.fsGetStyle("td",(bDisable?"visibility:hidden;":""))+"><table border=0 id='"+this.sUid+"_table' cellspacing=0 cellpadding="+sc.iDPad+(sc.iRowMinHei>0?" height="+sc.iRowMinHei:"")+sc.fsGetStyle("tb","width:100%;table-layout:fixed;",0,{"border-style":sBdStyle||null,"border-width":iBdWid||null,"border-color":sBdClr||null,"background-color":sBgClr||null})+"><tr "+sc.fsGetStyle("tr")+"><td "+sc.fsGetStyle("td","overflow:hidden;")+(sImg?" align=center":" align="+sAlign)+" valign=top>"+(sImg&&iHei?(sLnk!="#_nolink"&&!sImgMap?"<a "+sc.fsGetStyle("a",(sc._bImgOnly?"":"float:left;")+"font-size:1px;width:"+iWid+"px;text-align:center;height:"+iHei+"px;")+" href=\""+(sLnk=="#_nolink"?"#":sLnk.replace(/\"/g,"&quot;"))+"\" target='"+sTar+"' id='"+sUid+"_area'>":"<div "+sc.fsGetStyle("dv",(sc._bImgOnly?"":"float:left;")+"font-size:1px;width:"+iWid+"px;text-align:center;height:"+iHei+"px;")+" id='"+sUid+"_area'>")+"<img border=0 id='"+sUid+"_img' src=\""+sImg+"\""+(_r.bIsIE&&sLnk!="#_nolink"&&!sImgMap?" style='cursor:hand;'":"")+" width="+iImgWid+" height="+iImgHei+" "+(sImgMap?"usemap='#"+sImgMap+"' ":"")+_r.UI.fsGetEnt(this,"mouseover","image")+" "+_r.UI.fsGetEnt(this,"mouseout","image")+" "+_r.UI.fsGetEnt(this,"click")+">"+(sLnk!="#_nolink"&&!sImgMap?"</a>":"</div>"):"")+(sTxt?(iTyp||sLnk=="#_nolink"?"":"<a "+sc.fsGetStyle("a","display:block;text-decoration:none;")+" href=\""+sLnk.replace(/\"/g,"&quot;")+"\" target='"+sTar+"'>")+"<div"+sc.fsGetStyle("dv","padding:1px 0px;"+(_r.bIsIE&&!iTyp&&sLnk&&sLnk!="#_nolink"?"cursor:hand;":"")+(sAlign?"text-align:"+sAlign+";":"")+(_r.bIsIE?"text-overflow:clip;":""),0,{"width":(sImg&&iHei?null:(iWid||null)),"font":aFnts[(iStat&_c.CUR_FONT)>>>_c.FONT_BIT]||null,"color":aFntClrs[(iStat&_c.CUR_COLOR)>>>_c.COLOR_BIT]||null,"text-decoration":aDecos[(iStat&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]||null})+" id='"+this.sUid+"_txt' "+_r.UI.fsGetEnt(this,"mouseover","text")+" "+_r.UI.fsGetEnt(this,"mouseout","text")+">"+sTxt+"</div>"+(iTyp||sLnk=="#_nolink"?"":"</a>"):"")+(!sImg&&!sTxt?"<img border=0 src=\""+sc.sBlank+"\" height='1' width='"+iWid+"'>":"")+"</td></tr></table></td>";
3788}else{
3789s="<td id='"+this.sUid+"' valign='top'"+sc.fsGetStyle("td",(bDisable?"visibility:hidden;":""))+"><table id='"+this.sUid+"_table'"+(sc.iRowMinHei>0?" height="+sc.iRowMinHei:"")+" border=0 cellspacing=0 cellpadding="+sc.iDPad+sc.fsGetStyle("tb","width:100%;",0,{"border-style":sBdStyle||null,"border-width":iBdWid||null,"border-color":sBdClr||null,"background-color":sBgClr||null})+"><tr "+sc.fsGetStyle("tr")+"><td "+sc.fsGetStyle("td","overflow:hidden;")+(sImg?" align=center":" align="+sAlign)+" valign=top>"+(sImg&&iHei?(sLnk!="#_nolink"&&!sImgMap?"<a "+sc.fsGetStyle("a","display:block;font-size:1px;width:"+iWid+"px;text-align:center;padding:"+Math.max(0,(iHei-iImgHei)/2)+"px 0px;")+" href=\""+(sLnk=="#_nolink"?"#":sLnk.replace(/\"/g,"&quot;"))+"\" target='"+sTar+"' id='"+sUid+"_area'>":"<div "+sc.fsGetStyle("dv","font-size:1px;width:"+iWid+"px;text-align:center;padding:"+Math.max(0,(iHei-iImgHei)/2)+"px 0px;")+" id='"+sUid+"_area'>")+"<img id='"+sUid+"_img' src=\""+sImg+"\""+(_r.bIsIE&&sLnk!="#_nolink"&&!sImgMap?" style='cursor:hand'":"")+" width="+iImgWid+" height="+iImgHei+" border=0 "+(sImgMap?"usemap='#"+sImgMap+"' ":"")+_r.UI.fsGetEnt(this,"mouseover","image")+" "+_r.UI.fsGetEnt(this,"mouseout","image")+" "+_r.UI.fsGetEnt(this,"click")+">"+(sLnk!="#_nolink"&&!sImgMap?"</a>":"</div>"):"")+(sTxt?(iTyp||sLnk=="#_nolink"?""+"":"<a "+sc.fsGetStyle("a","display:block;text-decoration:none;")+" href=\""+sLnk.replace(/\"/g,"&quot;")+"\" target='"+sTar+"'>")+"<div "+sc.fsGetStyle("dv",(iWid?"width:"+iWid+"px;":"")+"padding:1px 0px;
3789"+(_r.bIsIE&&!iTyp&&sLnk&&sLnk!="#_nolink"?"cursor:hand;":"")+"overflow:hidden;"+(sAlign?"text-align:"+sAlign+";":""),0,{"font":aFnts[(iStat&_c.CUR_FONT)>>>_c.FONT_BIT]||null,"color":aFntClrs[(iStat&_c.CUR_COLOR)>>>_c.COLOR_BIT]||null,"text-decoration":aDecos[(iStat&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]||null})+" id='"+this.sUid+"_txt' "+_r.UI.fsGetEnt(this,"mouseover","text")+_r.UI.fsGetEnt(this,"mouseout","text")+">"+sTxt+"</div>"+(iTyp||sLnk=="#_nolink"?"":"</a>"):"")+(!sImg&&!sTxt?"<img src=\""+sc.sBlank+"\" height='1' width='"+iWid+"'>":"")+"</td></tr></table></td>";
3790}
3791}
3792return s;
3793};
3794CUIScrollerItem.fvDestroy=function(){
3795if(this.oTip){
3796this.oTip.fvDestroy();
3797}
3798_STNS.UI.CUIObj.fvDestroy.call(this);
3799};
3800CUIScrollerItem.fbGetEnt=function(e,o){
3801var et=e.type||e,oid=o.id,_r=_STNS,_c=_r.UI.CUIScrollerItem,_eRo,_eTo=e.srcElement||e.target;
3802with(this){
3803switch(et){
3804case "mouseover":
3805_eRo=e.fromElement||e.relatedTarget;
3806while(_eRo&&_eRo.nodeType!=1){
3807_eRo=_eRo.parentNode;
3808}
3809if(_eRo&&_eRo.id&&(!oid.indexOf(this.sUid+"_hot")&&_eRo.id==this.sUid+"_img"||oid==this.sUid+"_img"&&!_eRo.id.indexOf(this.sUid+"_hot"))){
3810return true;
3811}
3812if(oid==this.sUid+"_txt"){
3813this.iStat|=_c.MOUSEOVERTEXT;
3814return fbFireEnt("mouseovertext");
3815}else{
3816if(oid==this.sUid+"_img"||!oid.indexOf(this.sUid+"_hot")){
3817this.iStat|=_c.MOUSEOVERIMAGE;
3818return fbFireEnt("mouseoverimage");
3819}
3820}
3821break;
3822case "mouseout":
3823_eRo=e.toElement||e.relatedTarget;
3824while(_eRo&&_eRo.nodeType!=1){
3825_eRo=_eRo.parentNode;
3826}
3827if(_eRo&&_eRo.id&&(!oid.indexOf(this.sUid+"_hot")&&_eRo.id==this.sUid+"_img"||oid==this.sUid+"_img"&&!_eRo.id.indexOf(this.sUid+"_hot")||_r.bIsFX&&_r.oNav.version>=1.5&&_r.oNav.version<3&&this.oTip&&(oid==this.sUid+"_img"||!oid.indexOf(this.sUid+"_hot"))&&(typeof this.oTip.sShEff=="object")&&_eRo.id=="stEffR_"+this.oTip.sShEff._iGid)){
3828return true;
3829}
3830if(_r.bIsOP&&_r.oNav.version<9.5&&(!_eRo||_eRo&&this.oTip&&this.oTip.iTyp==2&&(oid==this.sUid+"_img"||!oid.indexOf(this.sUid+"_hot"))&&(_eRo.tagName=="BODY"||_eRo.tagName=="IFRAME"))){
3831return true;
3832}
3833if(oid==this.sUid+"_txt"){
3834this.iStat&=_c.MAXSTATE-_c.MOUSEOVERTEXT;
3835return fbFireEnt("mouseouttext");
3836}else{
3837if(oid==this.sUid+"_img"||!oid.indexOf(this.sUid+"_hot")){
3838this.iStat&=_c.MAXSTATE-_c.MOUSEOVERIMAGE;
3839return fbFireEnt("mouseoutimage");
3840}
3841}
3842break;
3843default:
3844return fbFireEnt(et);
3845}
3846}
3847return true;
3848};
3849CUIScrollerItem.fbShowTip=function(){
3850var _r=_STNS;
3851if(!this.oTip){
3852return -1;
3853}
3854return this.oTip.fbShow(this.oParSc.iDelaySh);
3855};
3856CUIScrollerItem.fbHideTip=function(){
3857if(!this.oTip){
3858return -1;
3859}
3860return this.oTip.fbHide(this.oParSc.iDelayHd);
3861};
3862CUIScrollerItem.fbSetOver=function(){
3863var _r=_STNS,e,_c=_r.UI.CUIScrollerItem,st=this.iStat;
3864st|=_c.OVERTEXTSTYLE;
3865this.fbUpDate(st);
3866return true;
3867};
3868CUIScrollerItem.fbSetOut=function(){
3869var _r=_STNS,e,_c=_r.UI.CUIScrollerItem,st=this.iStat;
3870st&=_c.MAXSTATE-_c.OVERTEXTSTYLE;
3871this.fbUpDate(st);
3872return true;
3873};
3874CUIScrollerItem.fbUpDate=function(st){
3875var d=this.iStat^st,_r=_STNS,_c=_r.UI.CUIScrollerItem,sc=this.oParSc;
3876e=_r.fdmGetEleById(this.sUid+"_txt");
3877if(e){
3878with(this){
3879if(sc.iCssMd){
3880var s=_r.bShield?"stdv":"",ts;
3881ts=aFnts[(st&_c.CUR_FONT)>>>_c.FONT_BIT];
3882if(ts&&s.indexOf(ts)==-1){
3883s+=(s?" ":"")+ts;
3884}
3885ts=aFntClrs[(st&_c.CUR_COLOR)>>>_c.COLOR_BIT];
3886if(ts&&s.indexOf(ts)==-1){
3887s+=(s?" ":"")+ts;
3888}
3889ts=aDecos[(st&_c.CUR_DECORATION)>>>_c.DECORATION_BIT];
3890if(ts&&s.indexOf(ts)==-1){
3891s+=(s?" ":"")+ts;
3892}
3893if(s){
3894e.className=s;
3895}
3896}else{
3897if((d&_c.CUR_FONT)&&aFnts[(iStat&_c.CUR_FONT)>>>_c.FONT_BIT]!=aFnts[(st&_c.CUR_FONT)>>>_c.FONT_BIT]){
3898e.style.font=aFnts[(st&_c.CUR_FONT)>>>_c.FONT_BIT];
3899}
3900if((d&_c.CUR_COLOR)&&aFntClrs[(iStat&_c.CUR_COLOR)>>>_c.COLOR_BIT]!=aFntClrs[(st&_c.CUR_COLOR)>>>_c.COLOR_BIT]){
3901e.style.color=aFntClrs[(st&_c.CUR_COLOR)>>>_c.COLOR_BIT];
3902}
3903if((d&_c.CUR_DECORATION)&&aDecos[(iStat&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]!=aDecos[(st&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]){
3904e.style.textDecoration=aDecos[(st&_c.CUR_DECORATION)>>>_c.DECORATION_BIT];
3905}
3906}
3907}
3908}
3909this.iStat=st;
3910return true;
3911};
3912CUIScrollerItem.fbOpenLnk=function(){
3913if(_STNS.bIsIE&&this.sLnk!="#_nolink"&&parseInt(_STNS.oNav.version)<5.5){
3914var e=_STNS.fdmGetEleById(this.sUid+"_area");
3915if(e){
3916e.click();
3917}
3918}
3919return true;
3920};
3921CUIScrollerItem.foClone=function(){
3922var o={};
3923for(var i in this){
3924o[i]=this[i];
3925}
3926o.sUid=_STNS.UI.fsGetUid();
3927_STNS.UI.oUIs[o.sUid]=o;
3928o.sSelf="_STNS.UI.oUIs['"+o.sUid+"']";
3929if(o.oTip){
3930o.oTip=o.oTip.foClone();
3931}
3932return o;
3933};
3934_STNS.UI.CUIScrollerTip=_STNS.Class(_STNS.UI.CUIObj);
3935CUIScrollerTip.register("UI/CUIObj>CUIScrollerTip");
3936CUIScrollerTip.construct=function(){
3937this.iTyp=0;
3938this.sTxt=0;
3939this.sShEff=0;
3940this.sHdEff=0;
3941this.iEffDur=0;
3942this.iDirect=0;
3943this.aOffset=[0,0];
3944this.sAlign=0;
3945this.sVAlign=0;
3946this.oParItem=0;
3947this.sId=0;
3948this.iWid=0;
3949this.iHei=0;
3950this.sFnt=0;
3951this.sFntClr=0;
3952this.sDeco=0;
3953this.sBgClr=0;
3954this.sBgImg=0;
3955this.sBgRep=0;
3956this.sBdStyle=0;
3957this.iBdWid=0;
3958this.sBdClr=0;
3959this.bImgBd=0;
3960this.aCorners=[];
3961this.iCWH=0;
3962this.aBdBgImgs=[];
3963this.aBdBgClrs=[];
3964this.aBdBgReps=[];
3965this.iStat=0;
3966this.bShInit=0;
3967this.bHdInit=0;
3968this.sLineHeight="";
3969with(_STNS.UI.CUIScrollerTip){
3970this.fsGetHTML=fsGetHTML;
3971this.fvDestroy=fvDestroy;
3972this.fbCreate=fbCreate;
3973this.fbShow=fbShow;
3974this.fbHide=fbHide;
3975this.fbOnShow=fbOnShow;
3976this.fbOnHide=fbOnHide;
3977this.faGetXY=faGetXY;
3978this.fbGetEnt=fbGetEnt;
3979this.fbSetOver=fbSetOver;
3980this.fbSetOut=fbSetOut;
3981this.foClone=foClone;
3982}
3983};
3984CUIScrollerTip.SHOW=1;
3985CUIScrollerTip.MOUSEOVER=2;
3986with(CUIScrollerTip){
3987CUIScrollerTip.MAXSTATE=SHOW|MOUSEOVER;
3988}
3989CUIScrollerTip.fvDestroy=function(){
3990if(typeof this.sShEff=="object"){
3991this.sShEff.fbStop();
3992this.sShEff.fbDel();
3993}
3994if(typeof this.sHdEff=="object"){
3995this.sHdEff.fbStop();
3996this.sHdEff.fbDel();
3997}
3998_STNS.UI.CUIObj.fvDestroy.call(this);
3999};
4000CUIScrollerTip.fsGetHTML=function(){
4001var it=this.oParItem,sc=it.oParSc,s,_r=_STNS,_t=this;
4002var _216=function(i){
4003return sc.fsGetStyle("td","font-size:"+(_r.bIsFX&&_r.oNav.version>=3?"0":"1")+"px;line-height:0px;",0,{"background-image":_t.aCorners[i]||null,"width":_t.iCWH||null,"height":_t.iCWH||null});
4004};
4005var _218=function(){
4006return "<img border=0 src=\""+sc.sBlank+"\" "+sc.fsGetStyle("img",0,0,{"width":_t.iCWH||null,"height":_t.iCWH||null})+">";
4007};
4008with(this){
4009s="<div id='"+this.sUid+"' "+sc.fsGetStyle("dv","visibility:hidden;position:absolute;left:0px;top:-9999px;z-index:1010;")+" "+_r.UI.fsGetEnt(this,"mouseover")+" "+_r.UI.fsGetEnt(this,"mouseout")+" "+_r.UI.fsGetEnt(this,"mouseenter")+">"+"<table border=0 cellpadding=0 cellspacing=0 id='"+this.sUid+"_tb' width='"+iWid+"' height='"+iHei+"' "+sc.fsGetStyle("tb",0,0,{"background-color":(bImgBd?null:sBgClr||null),"background-image":(bImgBd?null:sBgImg||null),"background-repeat":(bImgBd?null:sBgRep||null),"border-style":(!bImgBd&&sBdStyle?sBdStyle:null),"border-width":(!bImgBd&&iBdWid?iBdWid:null),"border-color":(!bImgBd&&sBdClr?sBdClr:null)})+">"+(bImgBd?"<tr "+sc.fsGetStyle("tr")+">"+"<td id='"+this.sUid+"_tlt' "+_216(0)+">"+_218()+"</td>"+"<td "+sc.fsGetStyle("td","font-size:"+(_r.bIsFX&&_r.oNav.version>=3?"0":"1")+"px;line-height:0px;",0,{"background-color":aBdBgClrs[0]||null,"background-image":aBdBgImgs[0]||null,"background-repeat":aBdBgReps[0]||null})+">"+_218()+"</td>"+"<td "+_216(1)+">"+_218()+"</td>"+"</tr>"+"<tr "+sc.fsGetStyle("tr")+">"+"<td "+sc.fsGetStyle("td","font-size:1px;line-height:0px;",0,{"background-color":aBdBgClrs[3]||null,"background-image":aBdBgImgs[3]||null,"background-repeat":aBdBgReps[3]||null})+">"+_218()+"</td>":"")+"<td nowrap "+sc.fsGetStyle("td",(this.iTyp==2?"background-color:#FFFFFF;background-image:url("+sc.sBlank+");":"")+"white-space:nowrap;"+(_r.bIsIE?"word-break:keep-all;":"")+(sc.iCssMd||!sFnt?"":"line-height:"+sLineHeight+";"),0,{"background-color":sBgClr||null,"background-image":sBgImg||null,"background-repeat":sBgRep||null,"font":sFnt||null,"color":sFntClr||null,"text-decoration":sDeco||null})+" valign='"+sVAlign+"' align='"+sAlign+"' id='"+sUid+"_txt'>"+sTxt+"</td>"+(bImgBd?"<td "+sc.fsGetStyle("td","font-size:1px;line-height:0px;",0,{"background-color":aBdBgClrs[1]||null,"background-image":aBdBgImgs[1]||null,"background-repeat":aBdBgReps[1]||null})+">"+_218()+"</td>"+"</tr>"+"<tr "+sc.fsGetStyle("tr")+">"+"<td "+_216(3)+">"+_218()+"</td>"+"<td "+sc.fsGetStyle("td","font-size:1px;line-height:0px;",0,{"background-color":aBdBgClrs[2]||null,"background-image":aBdBgImgs[2]||null,"background-repeat":aBdBgReps[2]||null})+">"+_218()+"</td>"+"<td id='"+this.sUid+"_trb' "+_216(2)+">"+_218()+"</td>"+"</tr>":"")+"</table>"+"</div>";
4010}
4011return s;
4012};
4013CUIScrollerTip.fbShow=function(d){
4014var _r=_STNS,_c=_r.UI.CUIScrollerTip,s=this.iStat&_c.SHOW;
4015clearTimeout(this._tTid);
4016if(s){
4017return true;
4018}else{
4019if(!d){
4020return this.fbOnShow();
4021}else{
4022if(d){
4023this._tTid=setTimeout(this.sSelf+".fbShow()",d);
4024}
4025}
4026}
4027return true;
4028};
4029CUIScrollerTip.fbOnShow=function(){
4030var _r=_STNS,_c=_r.UI.CUIScrollerTip,ii=this.oParItem,sc=ii.oParSc,e,t,w=window,sp;
4031if(sc._iNowShowingTipId!=this.sUid){
4032if(sc._iNowShowingTipId){
4033_STNS.UI.oUIs[sc._iNowShowingTipId].fbOnHide();
4034}
4035sc._iNowShowingTipId=this.sUid;
4036}
4037if(!(e=_r.fdmGetEleById(this.sUid))){
4038if(this.fbCreate()){
4039this.bShInit=false;
4040this.bHdInit=false;
4041if((_r.bIsIE||this.iTyp==2)&&(this.iHei>0||this.iWid>0)){
4042e=_r.fdmGetEleById(this.sUid+"_txt");
4043if(e){
4044if(this.iHei>0){
4045var th=0,bh=0;
4046if(this.bImgBd){
4047th=_r.fdmGetEleById(this.sUid+"_tlt").style.height||_r.fsGetEleStyle(_r.fdmGetEleById(this.sUid+"_tlt"),"height");
4048bh=_r.fdmGetEleById(this.sUid+"_trb").style.height||_r.fsGetEleStyle(_r.fdmGetEleById(this.sUid+"_trb"),"height");
4049}else{
4050th=bh=_r.fdmGetEleById(this.sUid+"_tb").style.borderWidth||_r.fsGetEleStyle(_r.fdmGetEleById(this.sUid+"_tb"),"borderWidth");
4051}
4052th=th?parseInt(th):0;
4053bh=bh?parseInt(bh):0;
4054if(!th){
4055th=0;
4056}
4057if(!bh){
4058bh=0;
4059}
4060if(this.iTyp==2){
4061e.childNodes[0].height=(this.iHei-th-bh);
4062}
4063e.style.height=(this.iHei-th-bh)+"px";
4064_r.fdmGetEleById(this.sUid+"_tb").style.height=(this.iHei)+"px";
4065}
4066if(this.iWid>0){
4067var lw=0,rw=0;
4068if(this.bImgBd){
4069lw=_r.fdmGetEleById(this.sUid+"_tlt").style.width||_r.fsGetEleStyle(_r.fdmGetEleById(this.sUid+"_tlt"),"width");
4070rw=_r.fdmGetEleById(this.sUid+"_trb").style.width||_r.fsGetEleStyle(_r.fdmGetEleById(this.sUid+"_trb"),"width");
4071}else{
4072lw=rw=_r.fdmGetEleById(this.sUid+"_tb").style.width||_r.fsGetEleStyle(_r.fdmGetEleById(this.sUid+"_tb"),"borderWidth");
4073}
4074lw=lw?parseInt(lw):0;
4075rw=rw?parseInt(rw):0;
4076if(!lw){
4077lw=0;
4078}
4079if(!rw){
4080rw=0;
4081}
4082if(this.iTyp==2){
4083e.childNodes[0].width=(this.iWid-lw-rw);
4084}
4085e.style.width=(this.iWid-lw-rw)+"px";
4086_r.fdmGetEleById(this.sUid+"_tb").style.width=(this.iWid)+"px";
4087}
4088}
4089}
4090e=_r.fdmGetEleById(this.sUid);
4091}
4092}
4093if(e){
4094t=_r.fdmGetEleById(ii.sUid+"_area");
4095if(t){
4096sp=_r.faGetElePos(t);
4097sp[0]=sp[0]+sc.iIWid/2;
4098sp[1]=sp[1]+sc.iIWid/2;
4099}
4100if(this.bHdInit&&this.sHdEff&&typeof this.sHdEff=="object"&&_STNS.EFFECT){
4101this.sHdEff.fbStop();
4102}
4103var pos=this.faGetXY(1);
4104if(sc.bRunEff&&this.sShEff&&typeof this.sShEff=="string"&&_STNS.EFFECT){
4105var flt=_STNS.EFFECT.foGetEff(this.sShEff,this.sUid,w,this.iEffDur,this.iShEff);
4106if(flt){
4107this.sShEff=flt;
4108if(this.sShEff.fbSet()){
4109this.sShEff.fbApply();
4110this.sShEff.fbSetStyle("left:"+pos[0]+"px;top:"+pos[1]+"px;visibility:visible;"+(sp?"_stStartX:"+sp[0]+"px;_stStartY:"+sp[1]+"px;":""));
4111this.sShEff.fbPlay();
4112this.iStat|=_c.SHOW;
4113this.bShInit=true;
4114return true;
4115}else{
4116this.sShEff.fbDel();
4117this.sShEff="";
4118}
4119}
4120}else{
4121if(sc.bRunEff&&typeof this.sShEff=="object"){
4122var tf=true;
4123if(this.sShEff.dmWin!=w||!this.bShInit){
4124tf=this.sShEff.fbSet();
4125if(tf){
4126this.bShInit=true;
4127}
4128}
4129if(tf){
4130this.sShEff.fbApply();
4131this.sShEff.fbSetStyle("left:"+pos[0]+"px;top:"+pos[1]+"px;visibility:visible;"+(sp?"_stStartX:"+sp[0]+"px;_stStartY:"+sp[1]+"px;":""));
4132this.sShEff.fbPlay();
4133this.iStat|=_c.SHOW;
4134return true;
4135}
4136}
4137}
4138e.style.left=pos[0]+"px";
4139e.style.top=pos[1]+"px";
4140e.style.visibility="visible";
4141}
4142this.iStat|=_c.SHOW;
4143return true;
4144};
4145CUIScrollerTip.faGetXY=function(f){
4146var _r=_STNS,_c=_r.UI.CUIScrollerTip,pi=this.oParItem,sc=pi.oParSc,e,w=window,ip,iw=ih=0,pw,ph,x,y,cl=_r.fiGetCL(w),ct=_r.fiGetCT(w),cw=_r.fiGetCW(w),ch=_r.fiGetCH(w);
4147if(pi&&(e=_r.fdmGetEleById(pi.sUid))){
4148ip=_r.faGetElePos(e);
4149if(_r.bIsSF){
4150ih=_r.fiGetEleHei(e);
4151iw=_r.fiGetEleWid(e);
4152if(sc.iRowMinHei>ih){
4153ih=sc.iRowMinHei;
4154}
4155}else{
4156iw=_r.fiGetEleWid(e);
4157ih=_r.fiGetEleHei(e);
4158}
4159}else{
4160ip=[0,0];
4161}
4162e=_r.fdmGetEleById(this.sUid,w);
4163if(e){
4164pw=_r.fiGetEleWid(e);
4165ph=_r.fiGetEleHei(e);
4166}else{
4167return [0,0];
4168}
4169if(sc.iTyp){
4170x=ip[0];
4171}else{
4172x=ip[0]+iw/2-pw/2;
4173}
4174y=ip[1]+ih;
4175x+=this.aOffset[0];
4176y+=this.aOffset[1];
4177if(f){
4178if(x<cl){
4179x=cl;
4180}
4181if(y<ct){
4182y=ct;
4183}
4184if(x+pw>cl+cw){
4185x=cw+cl-pw;
4186}
4187if(y+ph>ct+ch){
4188y=ct+ch-ph;
4189}
4190}
4191return [x,y];
4192};
4193CUIScrollerTip.fbHide=function(d){
4194var _r=_STNS,_c=_r.UI.CUIScrollerTip,s=this.iStat&_c.SHOW;
4195clearTimeout(this._tTid);
4196if(!s){
4197return true;
4198}else{
4199if(!d){
4200return this.fbOnHide();
4201}else{
4202if(d){
4203this._tTid=setTimeout(this.sSelf+".fbHide()",d);
4204}
4205}
4206}
4207return true;
4208};
4209CUIScrollerTip.fbOnHide=function(){
4210var _r=_STNS,_c=_r.UI.CUIScrollerTip,e,i,sc=this.oParItem.oParSc,w=window;
4211if(sc._iNowShowingTipId==this.sUid){
4212sc._iNowShowingTipId=0;
4213}
4214if(!(this.iStat&_c.SHOW)){
4215return true;
4216}
4217if(e=_r.fdmGetEleById(this.sUid,w)){
4218if(this.bShInit&&this.sShEff&&typeof this.sShEff=="object"&&_STNS.EFFECT){
4219this.sShEff.fbStop();
4220}
4221var pos=this.faGetXY(1);
4222if(sc.bRunEff&&this.sHdEff&&typeof this.sHdEff=="string"&&_STNS.EFFECT){
4223var flt=_STNS.EFFECT.foGetEff(this.sHdEff,this.sUid,w,this.iEffDur,this.iHdEff);
4224if(flt){
4225this.sHdEff=flt;
4226if(this.sHdEff.fbSet()){
4227this.sHdEff.fbApply();
4228this.sHdEff.fbSetStyle("left:"+pos[0]+"px;top:"+pos[1]+"px;visibility:hidden;");
4229this.sHdEff.fbPlay();
4230this.iStat&=_c.MAXSTATE-_c.SHOW;
4231this.bHdInit=true;
4232return true;
4233}else{
4234this.sHdEff.fbDel();
4235this.sHdEff="";
4236}
4237}
4238}else{
4239if(sc.bRunEff&&typeof this.sHdEff=="object"){
4240var tf=true;
4241if(this.sHdEff.dmWin!=w||!this.bHdInit){
4242tf=this.sHdEff.fbSet();
4243if(tf){
4244this.bHdInit=true;
4245}
4246}
4247if(tf){
4248this.sHdEff.fbApply();
4249this.sHdEff.fbSetStyle("left:"+pos[0]+"px;top:"+pos[1]+"px;visibility:hidden;");
4250this.sHdEff.fbPlay();
4251this.iStat&=_c.MAXSTATE-_c.SHOW;
4252return true;
4253}
4254}
4255}
4256e.style.visibility="hidden";
4257}
4258this.iStat&=_c.MAXSTATE-_c.SHOW;
4259return true;
4260};
4261CUIScrollerTip.fbCreate=function(){
4262try{
4263_STNS.fbInsHTML(document.body,"afterBegin",this.fsGetHTML());
4264return true;
4265}
4266catch(ee){
4267}
4268return false;
4269};
4270CUIScrollerTip.fbGetEnt=function(e,o){
4271var et=e.type||e,oid=o.id,_r=_STNS,_c=_r.UI.CUIScrollerTip,_eRo,_eTo=e.srcElement||e.target;
4272with(this){
4273switch(et){
4274case "mouseover":
4275case "mouseenter":
4276return fbFireEnt("mouseover");
4277break;
4278case "mouseout":
4279return fbFireEnt("mouseout");
4280break;
4281default:
4282return fbFireEnt(et);
4283}
4284}
4285return true;
4286};
4287CUIScrollerTip.fbSetOver=function(){
4288var _r=_STNS,_c=_r.UI.CUIScrollerTip;
4289this.iStat|=_c.MOUSEOVER;
4290return this.fbShow(this.oParItem.oParSc.iDelaySh);
4291};
4292CUIScrollerTip.fbSetOut=function(){
4293var _r=_STNS,_c=_r.UI.CUIScrollerTip;
4294this.iStat&=_c.MAXSTATE-_c.MOUSEOVER;
4295return this.fbHide(this.oParItem.oParSc.iDelayHd);
4296};
4297CUIScrollerTip.foClone=function(){
4298var o={};
4299for(var i in this){
4300o[i]=this[i];
4301}
4302o.sUid=_STNS.UI.fsGetUid();
4303_STNS.UI.oUIs[o.sUid]=o;
4304o.sSelf="_STNS.UI.oUIs['"+o.sUid+"']";
4305return o;
4306};
4307}
4308if(!_STNS._aStData){
4309_STNS._aStData=[];
4310}
4311function sts_bs(id,a,c){
4312var jsp,ss,jsr;
4313if(document.getElementsByTagName){
4314ss=document.getElementsByTagName("script");
4315}else{
4316if(document.all.tags){
4317ss=document.all.tags("script");
4318}
4319}
4320for(var j=0;j<ss.length;j++){
4321jsr=ss[j].src;
4322if(jsr&&jsr.indexOf("stscode.js")!=-1){
4323jsp=jsr.substring(0,jsr.indexOf("stscode.js"));
4324break;
4325}
4326}
4327if(jsp==null){
4328jsp=_STNS.sLibPth;
4329}
4330var sc,_r=_STNS,n=_r._aStData.length;
4331sc=_r._aStData[n]=new _r.UI.CUIScroller;
4332with(sc){
4333sJsPth=jsp;
4334iNid=n;
4335sId=id;
4336sVer=a[0];
4337sImgPth=a[1]?a[1].charAt(a[1].length-1)!="/"?a[1]+"/":a[1]:"";
4338sLnkPre=a[2]?a[2].charAt(a[2].length-1)!="/"?a[2]+"/":a[2]:"";
4339sBlank=iCssMd?a[3]:fsGetImg(a[3]);
4340iMaxNO=a[4];
4341iCyc=a[5];
4342bAuto=a[6];
4343iSpeed=a[7];
4344sWid=a[8];
4345if(sWid==""){
4346sWid="100%";
4347}
4348sAlign=a[9];
4349iDPad=a[10];
4350iDSpc=a[11];
4351iIWid=a[12];
4352iIHei=a[13];
4353iScMod=a[14];
4354if(a.length>15){
4355sHei=a[15];
4356iCssMd=a[16];
4357iTyp=a[17];
4358if(iTyp==1){
4359iDSpc=0;
4360}
4361iRowMinHei=a[18];
4362iScDelay=a[19];
4363iScDir=a[20];
4364if(!bAuto){
4365iScDir=(iTyp==1?3:1);
4366}
4367iScRate=a[21];
4368iCurDur=Math.round(1000/iScRate);
4369iScDist=a[22];
4370sScEff=a[23];
4371iEffTrans=a[24];
4372iEffSp=(110-a[25])*10;
4373iMultiNum=a.length>26?a[26]:1;
4374}
4375if(a[23]==null){
4376iScMod=0;
4377}
4378sIBdStyle=iCssMd?sId+c[0]:c[0];
4379iIBdWid=sIBdStyle&&sIBdStyle!="none"?iCssMd?sId+c[1]:c[1]:0;
4380if(!iIBdWid){
4381sIBdStyle="none";
4382}
4383sIBdClr=iCssMd?sId+c[2]:c[2];
4384sBgClr=iCssMd?sId+c[3]:c[3];
4385sBgImg=iCssMd?sId+c[4]:fsGetImg(c[4]);
4386sBgRep=iCssMd?sId+c[5]:c[5];
4387if(bAuto){
4388fbAttachEnt("mouseoverdisplay",fvOverPause);
4389fbAttachEnt("mouseoutdisplay",fvOutPause);
4390}
4391}
4392sc.__open=true;
4393return sc;
4394}
4395function sts_ai(id,a,c,paid,psid){
4396var _r=_STNS,sc=_r._aStData[_r._aStData.length-1];
4397if(!sc||!sc.__open){
4398return;
4399}
4400if(paid){
4401for(var i=0;i<sc.aItems.length;i++){
4402if(sc.aItems[i].sId==paid){
4403a=_r.faJoinA(a,sc.aItems[i].__aas);
4404break;
4405}
4406}
4407}
4408if(psid){
4409for(var i=0;i<sc.aItems.length;i++){
4410if(sc.aItems[i].sId==psid){
4411c=_r.faJoinA(c,sc.aItems[i].__ass);
4412break;
4413}
4414}
4415}
4416var n=sc.aItems.length,it;
4417it=sc.aItems[n]=new _STNS.UI.CUIScrollerItem;
4418with(it){
4419iNid=n;
4420oParSc=sc;
4421sId=id;
4422iTyp=a[0];
4423sTxt=!a[0]?_r.fsGetHTMLEnti(a[1],1).replace(/\r?\n/g,"<br>"):a[1];
4424sLnk=sc.fsGetLnk(a[2]);
4425sTar=a[3];
4426sImg=sc.fsGetImg(a[4]);
4427iImgWid=a[5];
4428iImgHei=a[6];
4429sAlign=a[7];
4430_iCurHei=_iScrollToHei=iImgHei;
4431sBgClr=sc.iCssMd?sc.sId+c[0]+id:c[0];
4432aFnts[0]=sc.iCssMd?sc.sId+c[1]+id:c[1];
4433aFntClrs[0]=sc.iCssMd?sc.sId+c[2]+id:c[2];
4434aDecos[0]=sc.iCssMd?sc.sId+c[3]+id:c[3];
4435aFnts[1]=sc.iCssMd?sc.sId+c[4]+id:c[4];
4436aFntClrs[1]=sc.iCssMd?sc.sId+c[5]+id:c[5];
4437aDecos[1]=sc.iCssMd?sc.sId+c[6]+id:c[6];
4438iWid=sc.iIWid;
4439iHei=sc.iIHei;
4440sBdStyle=sc.sIBdStyle;
4441iBdWid=sc.iIBdWid;
4442sBdClr=sc.sIBdClr;
4443fbAttachEnt("mouseoverimage",fbShowTip);
4444fbAttachEnt("mouseovertext",fbSetOver);
4445fbAttachEnt("mouseoutimage",fbHideTip);
4446fbAttachEnt("mouseouttext",fbSetOut);
4447fbAttachEnt("click",fbOpenLnk);
4448}
4449it.__aas=a;
4450it.__ass=c;
4451return it;
4452}
4453function sts_map(id,hs,pid){
4454var _r=_STNS,sc=_r._aStData[_r._aStData.length-1];
4455if(!sc||!sc.__open){
4456return;
4457}
4458if(pid){
4459for(var i=0;i<sc.aItems.length;i++){
4460if(sc.aItems[i].sImgMap&&sc.aItems[i].sId==pid){
4461for(var j=0;j<hs.length;j++){
4462if(sc.aItems[i].__ams[j]){
4463hs[j]=_r.faJoinA(hs[j],sc.aItems[i].__ams[j]);
4464}
4465}
4466break;
4467}
4468}
4469}
4470var it=sc.aItems[sc.aItems.length-1],s="";
4471if(it&&it.sImg){
4472for(var i=0;i<hs.length;i++){
4473it.sImgMap=it.sUid+"_map";
4474s+=sc.fsGetHotStr(hs[i][0],hs[i][1],sc.fsGetLnk(hs[i][2]),hs[i][3],hs[i][4],it,i);
4475}
4476if(s){
4477sc._sMapStr+="<map name='"+it.sUid+"_map' id='"+it.sUid+"_map'>"+s+"</map>";
4478}
4479}
4480it.__ams=hs;
4481}
4482function sts_tip(id,a,c,paid,psid){
4483var _r=_STNS,sc=_r._aStData[_r._aStData.length-1];
4484if(!sc||!sc.__open){
4485return;
4486}
4487if(paid){
4488for(var i=0;i<sc.aItems.length;i++){
4489if(sc.aItems[i].oTip&&sc.aItems[i].sId==paid){
4490a=_r.faJoinA(a,sc.aItems[i].__atas);
4491break;
4492}
4493}
4494}
4495if(psid){
4496for(var i=0;i<sc.aItems.length;i++){
4497if(sc.aItems[i].oTip&&sc.aItems[i].sId==psid){
4498c=_r.faJoinA(c,sc.aItems[i].__atss);
4499break;
4500}
4501}
4502}
4503var it=sc.aItems[sc.aItems.length-1],tp;
4504if(!it.oTip){
4505tp=it.oTip=new _STNS.UI.CUIScrollerTip;
4506with(tp){
4507oParItem=it;
4508iTyp=a[0];
4509if(!a[0]){
4510sTxt=_r.fsGetHTMLEnti(a[1]).replace(/\r\n/g,"<br>");
4511}else{
4512if(a[0]==1){
4513sTxt=a[1];
4514}else{
4515if(a[0]==2){
4516sTxt="<iframe src=\""+a[1]+"\" width='1' height='1' frameborder=0></iframe>";
4517}
4518}
4519}
4520sShEff=a[2];
4521sHdEff=a[3];
4522iEffDur=(110-a[4])*10;
4523iDirect=a[5];
4524aOffset[0]=a[6];
4525aOffset[1]=a[7];
4526sVAlign=a[8];
4527sAlign=a[9];
4528iWid=a[10];
4529iHei=a[11];
4530sFnt=sc.iCssMd?sc.sId+c[0]+id:c[0];
4531if(!sc.iCssMd){
4532sLineHeight=sFnt.replace(/.*(^|\s)(\d+[\w\%]+)(\s|$).*/,"$2");
4533}
4534sFntClr=sc.iCssMd?sc.sId+c[1]+id:c[1];
4535sDeco=sc.iCssMd?sc.sId+c[2]+id:c[2];
4536sBgClr=sc.iCssMd?sc.sId+c[3]+id:c[3];
4537sBgImg=sc.iCssMd?sc.sId+c[4]+id:sc.fsGetImg(c[4]);
4538sBgRep=sc.iCssMd?sc.sId+c[5]+id:c[5];
4539sBdStyle=sc.sTipBdStyle;
4540iBdWid=sc.iTipBdWid;
4541sBdClr=sc.sTipBdClr;
4542bImgBd=sc.bTipBdImg;
4543aCorners[0]=sc.aTipCorners[0];
4544aCorners[1]=sc.aTipCorners[1];
4545aCorners[2]=sc.aTipCorners[2];
4546aCorners[3]=sc.aTipCorners[3];
4547iCWH=sc.iTipCWH;
4548aBdBgImgs[0]=sc.aTipBdBgImgs[0];
4549aBdBgImgs[1]=sc.aTipBdBgImgs[1];
4550aBdBgImgs[2]=sc.aTipBdBgImgs[2];
4551aBdBgImgs[3]=sc.aTipBdBgImgs[3];
4552aBdBgClrs[0]=sc.aTipBdBgClrs[0];
4553aBdBgClrs[1]=sc.aTipBdBgClrs[1];
4554aBdBgClrs[2]=sc.aTipBdBgClrs[2];
4555aBdBgClrs[3]=sc.aTipBdBgClrs[3];
4556aBdBgReps[0]=sc.aTipBdBgReps[0];
4557aBdBgReps[1]=sc.aTipBdBgReps[1];
4558aBdBgReps[2]=sc.aTipBdBgReps[2];
4559aBdBgReps[3]=sc.aTipBdBgReps[3];
4560fbAttachEnt("mouseover",fbSetOver);
4561fbAttachEnt("mouseout",fbSetOut);
4562}
4563}
4564it.__atas=a;
4565it.__atss=c;
4566return tp;
4567}
4568function sts_til(a,c){
4569var _r=_STNS,sc=_r._aStData[_r._aStData.length-1];
4570if(!sc||!sc.__open){
4571return;
4572}
4573with(sc){
4574bTil=1;
4575iTTyp=a[0];
4576sTTxt=!a[0]?_r.fsGetHTMLEnti(a[1]).replace(/\r\n/g,"<br>"):a[1];
4577sTAlign=a[2];
4578sTFnt=iCssMd?sId+c[0]:c[0];
4579if(!iCssMd){
4580sLineHeight=sTFnt.replace(/.*(^|\s)(\d+[\w\%]+)(\s|$).*/,"$2");
4581}
4582sTFntClr=iCssMd?sId+c[1]:c[1];
4583sTDeco=iCssMd?sId+c[2]:c[2];
4584sTBgClr=iCssMd?sId+c[3]:c[3];
4585sTBgImg=iCssMd?sId+c[4]:fsGetImg(c[4]);
4586sTBgRep=iCssMd?sId+c[5]:c[5];
4587}
4588}
4589function sts_pag(c){
4590var _r=_STNS,sc=_r._aStData[_r._aStData.length-1];
4591if(!sc||!sc.__open){
4592return;
4593}
4594with(sc){
4595bPag=1;
4596aPBgClrs[0]=iCssMd?sId+c[0]:c[0];
4597aPFnts[0]=iCssMd?sId+c[1]:c[1];
4598if(!iCssMd){
4599aPLineHeight[0]=aPFnts[0].replace(/.*(^|\s)(\d+[\w\%]+)(\s|$).*/,"$2");
4600}
4601aPFntClrs[0]=iCssMd?sId+c[2]:c[2];
4602aPDecos[0]=iCssMd?sId+c[3]:c[3];
4603aPBgClrs[1]=iCssMd?sId+c[4]:c[4];
4604aPFnts[1]=iCssMd?sId+c[5]:c[5];
4605if(!iCssMd){
4606aPLineHeight[1]=aPFnts[1].replace(/.*(^|\s)(\d+[\w\%]+)(\s|$).*/,"$2");
4607}
4608aPFntClrs[1]=iCssMd?sId+c[6]:c[6];
4609aPDecos[1]=iCssMd?sId+c[7]:c[7];
4610aPBgClrs[2]=iCssMd?sId+c[8]:c[8];
4611aPFnts[2]=iCssMd?sId+c[9]:c[9];
4612if(!iCssMd){
4613aPLineHeight[2]=aPFnts[2].replace(/.*(^|\s)(\d+[\w\%]+)(\s|$).*/,"$2");
4614}
4615aPFntClrs[2]=iCssMd?sId+c[10]:c[10];
4616aPDecos[2]=iCssMd?sId+c[11]:c[11];
4617aPBgClrs[3]=iCssMd?sId+c[12]:c[12];
4618aPFnts[3]=iCssMd?sId+c[13]:c[13];
4619if(!iCssMd){
4620aPLineHeight[3]=aPFnts[3].replace(/.*(^|\s)(\d+[\w\%]+)(\s|$).*/,"$2");
4621}
4622aPFntClrs[3]=iCssMd?sId+c[14]:c[14];
4623aPDecos[3]=iCssMd?sId+c[15]:c[15];
4624sPBgImg=iCssMd?sId+c[16]:c[16];
4625fbAttachEnt("mouseoverpage",fbOverPag);
4626fbAttachEnt("mouseoutpage",fbOutPag);
4627fbAttachEnt("clickpage",fbClickPag);
4628fbAttachEnt("mouseoverprevious",fbOverPrevious);
4629fbAttachEnt("mouseoutprevious",fbOutPrevious);
4630fbAttachEnt("clickprevious",fbClickPrevious);
4631fbAttachEnt("mouseovernext",fbOverNext);
4632fbAttachEnt("mouseoutnext",fbOutNext);
4633fbAttachEnt("clicknext",fbClickNext);
4634fbAttachEnt("mouseoverpview",fvOverPause);
4635fbAttachEnt("mouseoutpview",fvOutPause);
4636}
4637}
4638function sts_sca(a,c){
4639var _r=_STNS,sc=_r._aStData[_r._aStData.length-1];
4640if(!sc||!sc.__open){
4641return;
4642}
4643with(sc){
4644bArr=1;
4645if(!sc.iTyp){
4646sLAAlign=a[0];
4647sLAVAlign=a[1];
4648sRAAlign=a[2];
4649sRAVAlign=a[3];
4650aLAEnImgs[0]=iCssMd?sId+c[0]:fsGetImg(c[0]);
4651aLAEnImgs[1]=iCssMd?sId+c[1]:fsGetImg(c[1]);
4652aLADisImgs[0]=aLADisImgs[1]=iCssMd?sId+c[2]:fsGetImg(c[2]);
4653iLAImgWid=iCssMd?sId+c[3]:c[3];
4654iLAImgHei=iCssMd?sId+c[4]:c[4];
4655aRAEnImgs[0]=iCssMd?sId+c[5]:fsGetImg(c[5]);
4656aRAEnImgs[1]=iCssMd?sId+c[6]:fsGetImg(c[6]);
4657aRADisImgs[0]=aRADisImgs[1]=iCssMd?sId+c[7]:fsGetImg(c[7]);
4658iRAImgWid=iCssMd?sId+c[8]:c[8];
4659iRAImgHei=iCssMd?sId+c[9]:c[9];
4660}else{
4661sTAAlign=a[0];
4662sTAVAlign=a[1];
4663sBAAlign=a[2];
4664sBAVAlign=a[3];
4665aTAEnImgs[0]=iCssMd?sId+c[0]:fsGetImg(c[0]);
4666aTAEnImgs[1]=iCssMd?sId+c[1]:fsGetImg(c[1]);
4667aTADisImgs[0]=aTADisImgs[1]=iCssMd?sId+c[2]:fsGetImg(c[2]);
4668iTAImgWid=iCssMd?sId+c[3]:c[3];
4669iTAImgHei=iCssMd?sId+c[4]:c[4];
4670aBAEnImgs[0]=iCssMd?sId+c[5]:fsGetImg(c[5]);
4671aBAEnImgs[1]=iCssMd?sId+c[6]:fsGetImg(c[6]);
4672aBADisImgs[0]=aBADisImgs[1]=iCssMd?sId+c[7]:fsGetImg(c[7]);
4673iBAImgWid=iCssMd?sId+c[8]:c[8];
4674iBAImgHei=iCssMd?sId+c[9]:c[9];
4675}
4676this.fbOverArrow=fbOverArrow;
4677this.fbOutArrow=fbOutArrow;
4678this.fbDownArrow=fbDownArrow;
4679this.fbUpArrow=fbUpArrow;
4680if((iScDist==1||iScDist==2)){
4681fbAttachEnt("mouseoverarrow",fbOverArrow);
4682fbAttachEnt("mouseoutarrow",fbOutArrow);
4683fbAttachEnt("clickarrow",fbPageScroll);
4684fbAttachEnt("clickarrow",_STNS.fbFalse);
4685fbAttachEnt("mouseoverarrow",fvOverPause);
4686fbAttachEnt("mouseoutarrow",fvOutPause);
4687}else{
4688if(iScDist==0){
4689fbAttachEnt("mouseoverarrow",fbOverArrow);
4690fbAttachEnt("mouseoutarrow",fbOutArrow);
4691fbAttachEnt("mousedownarrow",fb5XScroll);
4692fbAttachEnt("mouseuparrow",fbUpArrow);
4693fbAttachEnt("clickarrow",_STNS.fbFalse);
4694if(bAuto){
4695fbAttachEnt("mouseoutarrow",fbRe1XScroll);
4696fbAttachEnt("mouseuparrow",fb1XScroll);
4697}else{
4698fbAttachEnt("mouseoverarrow",fbResumeScroll);
4699fbAttachEnt("mouseoverarrow",fb1XScroll);
4700fbAttachEnt("mouseoutarrow",fbPauseScroll);
4701fbAttachEnt("mouseuparrow",fb1XScroll);
4702}
4703}else{
4704fbAttachEnt("mouseoverarrow",fbOverArrow);
4705fbAttachEnt("mouseoverarrow",fbStartScroll);
4706fbAttachEnt("mouseoutarrow",fbOutArrow);
4707fbAttachEnt("mouseoutarrow",fbEndScroll);
4708fbAttachEnt("mousedownarrow",fbDownArrow);
4709fbAttachEnt("mouseuparrow",fbUpArrow);
4710fbAttachEnt("clickarrow",_STNS.fbFalse);
4711}
4712}
4713}
4714}
4715function sts_sbd(a,c){
4716var _r=_STNS,sc=_r._aStData[_r._aStData.length-1];
4717if(!sc||!sc.__open){
4718return;
4719}
4720with(sc){
4721bImgBd=a[0];
4722sBdStyle=iCssMd?sId+c[0]:c[0];
4723iBdWid=sBdStyle&&sBdStyle!="none"?(iCssMd?sId+c[1]:c[1]):0;
4724if(!iBdWid){
4725sBdStyle="none";
4726}
4727sBdClr=iCssMd?sId+c[2]:c[2];
4728if(c.length>3){
4729iCWH=iCssMd?sId+c[3]:c[3];
4730if(!iCWH){
4731iCWH=0;
4732}
4733aCorners[0]=iCssMd?sId+c[4]:fsGetImg(c[4]);
4734aCorners[1]=iCssMd?sId+c[5]:fsGetImg(c[5]);
4735aCorners[2]=iCssMd?sId+c[6]:fsGetImg(c[6]);
4736aCorners[3]=iCssMd?sId+c[7]:fsGetImg(c[7]);
4737aBdBgClrs[0]=iCssMd?sId+c[8]:c[8];
4738aBdBgImgs[0]=iCssMd?sId+c[9]:fsGetImg(c[9]);
4739aBdBgReps[0]=iCssMd?sId+c[10]:c[10];
4740aBdBgClrs[1]=iCssMd?sId+c[11]:c[11];
4741aBdBgImgs[1]=iCssMd?sId+c[12]:fsGetImg(c[12]);
4742aBdBgReps[1]=iCssMd?sId+c[13]:c[13];
4743aBdBgClrs[2]=iCssMd?sId+c[14]:c[14];
4744aBdBgImgs[2]=iCssMd?sId+c[15]:fsGetImg(c[15]);
4745aBdBgReps[2]=iCssMd?sId+c[16]:c[16];
4746aBdBgClrs[3]=iCssMd?sId+c[17]:c[17];
4747aBdBgImgs[3]=iCssMd?sId+c[18]:fsGetImg(c[18]);
4748aBdBgReps[3]=iCssMd?sId+c[19]:c[19];
4749if(!iCssMd&&iCWH){
4750iBdWid=0;
4751}
4752}
4753}
4754}
4755function sts_tbd(a,c){
4756var _r=_STNS,sc=_r._aStData[_r._aStData.length-1];
4757if(!sc||!sc.__open){
4758return;
4759}
4760with(sc){
4761bTipBdImg=a[0];
4762sTipBdStyle=iCssMd?sId+c[0]:c[0];
4763iTipBdWid=sTipBdStyle!="none"?iCssMd?sId+c[1]:c[1]:0;
4764if(!iTipBdWid){
4765sTipBdStyle="none";
4766}
4767sTipBdClr=iCssMd?sId+c[2]:c[2];
4768iTipCWH=iCssMd?sId+c[3]:c[3];
4769aTipCorners[0]=iCssMd?sId+c[4]:fsGetImg(c[4]);
4770aTipCorners[1]=iCssMd?sId+c[5]:fsGetImg(c[5]);
4771aTipCorners[2]=iCssMd?sId+c[6]:fsGetImg(c[6]);
4772aTipCorners[3]=iCssMd?sId+c[7]:fsGetImg(c[7]);
4773aTipBdBgClrs[0]=iCssMd?sId+c[8]:c[8];
4774aTipBdBgImgs[0]=iCssMd?sId+c[9]:fsGetImg(c[9]);
4775aTipBdBgReps[0]=iCssMd?sId+c[10]:c[10];
4776aTipBdBgClrs[1]=iCssMd?sId+c[11]:c[11];
4777aTipBdBgImgs[1]=iCssMd?sId+c[12]:fsGetImg(c[12]);
4778aTipBdBgReps[1]=iCssMd?sId+c[13]:c[13];
4779aTipBdBgClrs[2]=iCssMd?sId+c[14]:c[14];
4780aTipBdBgImgs[2]=iCssMd?sId+c[15]:fsGetImg(c[15]);
4781aTipBdBgReps[2]=iCssMd?sId+c[16]:c[16];
4782aTipBdBgClrs[3]=iCssMd?sId+c[17]:c[17];
4783aTipBdBgImgs[3]=iCssMd?sId+c[18]:fsGetImg(c[18]);
4784aTipBdBgReps[3]=iCssMd?sId+c[19]:c[19];
4785}
4786}
4787function sts_es(a){
4788var _r=_STNS,sc=_r._aStData[_r._aStData.length-1],n=sc.aItems.length;
4789if(!sc||!sc.__open){
4790return;
4791}
4792if(n){
4793for(var i=0;i<n;i++){
4794var it=sc.aItems[i].foClone();
4795if(it.oTip){
4796it.oTip.oParItem=it;
4797}
4798if(sc.iCyc!=1){
4799it.bDisable=true;
4800}
4801it.iNid=n+i;
4802sc.aItems.push(it);
4803if(it.__ams){
4804sts_map(0,it.__ams);
4805}
4806}
4807n=sc.aItems.length;
4808for(var i=0;i<n;i++){
4809delete sc.aItems[i].__aas;
4810delete sc.aItems[i].__ass;
4811delete sc.aItems[i].__atas;
4812delete sc.aItems[i].__atss;
4813delete sc.aItems[i].__ams;
4814}
4815delete sc.__open;
4816sc.fbCreate();
4817}else{
4818_STNS._aStData.pop();
4819sc.fvDestroy();
4820}
4821}
4822}
4823if(typeof _STNS!="undefined"&&!_STNS.EFFECT){
4824_STNS.EFFECT={foGetEff:function(s,id,w,d,o){
4825if(!s){
4826return 0;
4827}
4828if(/^stEffect\(.Open/i.test(s)&&_STNS.bIsIE){
4829var dir=s.replace(/^.*[\(\,]Direction\=(\w+)[\)\,].*$/i,"$1");
4830var d=s.replace(/^.*[\(\,]Duration\=([\d.]+)[\)\,].*$/i,"$1");
4831d=(d==s?1:parseFloat(d));
4832if(dir=="Down"||dir==s){
4833s="progid:DXImageTransform.Microsoft.Zigzag(GridSizeX=16,GridSizeY=16,enabled=0,Duration="+d+")";
4834d*=1000;
4835o=5;
4836}
4837if(dir=="Middle"){
4838s="progid:DXImageTransform.Microsoft.Barn(orientation=horizontal,motion=out,enabled=0,Duration="+d+")";
4839d*=1000;
4840o=16;
4841}
4842}
4843if(/^stEffect\(.Active/i.test(s)&&_STNS.bIsIE){
4844var d=s.replace(/^.*[\(\,]Duration\=([\d.]+)[\)\,].*$/i,"$1");
4845if(d==s){
4846d=(dd==s?1:parseFloat(d));
4847}
4848s="progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration="+d+")";
4849d*=1000;
4850o=12;
4851}
4852var t=s.toLowerCase(),c;
4853if((!t.indexOf("progid:")||!t.indexOf("revealtrans"))&&_STNS.EFFECT["CEffIE"]){
4854return new _STNS.EFFECT["CEffIE"]([s,id,w,d,o]);
4855}else{
4856if(!s.indexOf("stEffect")){
4857s=s.substring(10,s.length-2);
4858var cn="CEff"+s.charAt(0).toUpperCase()+s.substr(1).replace(/^(.*)\(.*$/,"$1");
4859if(_STNS.EFFECT[cn]){
4860return new _STNS.EFFECT[cn]([s,id,w,d,o]);
4861}
4862}else{
4863return 0;
4864}
4865}
4866}};
4867with(_STNS.EFFECT){
4868_STNS.EFFECT.CEffect=_STNS.Class();
4869CEffect.register("EFFECT/CEffect");
4870CEffect.construct=function(as){
4871this._iStat=-1;
4872this.sName=as[0];
4873this.sDmId=as[1];
4874this.dmWin=as[2]||window;
4875with(_STNS.EFFECT.CEffect){
4876this.fiGetStat=fiGetStat;
4877this.sGetParam=sGetParam;
4878this.fbSet=_STNS.fbFalse;
4879this.fbDel=_STNS.fbFalse;
4880this.fbApply=_STNS.fbFalse;
4881this.fbPlay=_STNS.fbFalse;
4882this.fbStop=_STNS.fbFalse;
4883this.fbSetStyle=_STNS.fbFalse;
4884this.fvAnalyzeParams=fvAnalyzeParams;
4885}
4886this.aParams=new Array();
4887this.sParams=as[0].replace(/^.*\((.*)\).*$/,"$1");
4888if(this.sParams==as[0]){
4889this.sParams="";
4890}
4891};
4892CEffect.fiGetStat=function(){
4893return this._iStat;
4894};
4895CEffect.sGetParam=function(s){
4896var b=this.sName.replace(new RegExp("^.*[\\(\\,]"+s+"\\=(\\d+)[\\,\\)].*$","i"),"$1");
4897return this.sName==b?"":b;
4898};
4899CEffect.fvAnalyzeParams=function(){
4900var ta=this.sParams.split(",");
4901var a;
4902for(var i=0;i<ta.length;i++){
4903a=ta[i].split("=");
4904a[1]=/^\d+$/.test(a[1])?parseInt(a[1]):(/^\d*\.\d+$/.test(a[1])?parseFloat(a[1]):a[1]);
4905this.aParams[a[0]]=typeof (a[1])!="string"?a[1]:this._cls[a[1]]||a[1];
4906}
4907};
4908}
4909}
4910

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.