?? all.js
字號:
}
else if(nOP)
{
for(var k=0;k<p.is.length;++k)
{
var i=p.is[k];
if(i.ityp!=6)
{
with(stglay(i).style)
{
var w=parseInt(stgobj(p.ids+k).style.pixelWidth),h=parseInt(pixelHeight);
if(w)
pixelWidth=w-2*p.pspc;
if(h)
pixelHeight=h;
}
}
}
}
}
}
}
function stscr()
{
for(var j=0;j<st_ms.length;++j)
{
var m=st_ms[j];
stfrm(m);
if(stAHWS) sthdall(m,0);
if(m.mtyp==1)
{
var p=m.ps[0];
stwels(1,p);
stmvto(stgxy(m.ps[0]),p);
stwels(-1,p);
}
}
}
function stwels(c,p)
{
var m=stgme(p);
if(!st_load||nNN4||nOP||p.isst) return;
if(m.mhds&&!nIEM) stwtag("SELECT",c,p);
if(m.mhdo&&nIE4) {stwtag("OBJECT",c,p);stwtag("APPLET",c,p);}
if(m.mhdi&&(nIEM||nIEW&&nVER<5.5)) stwtag("IFRAME",c,p);
}
function stwtag(tg,c,o)
{
var es=nIE?document.all.tags(tg):document.getElementsByTagName(tg);
for(var j=0;j<es.length;++j)
{
var f=0,e=es.item(j);
for(var t=e.offsetParent;t;t=t.offsetParent)
if(t.id&&t.id.indexOf("Stm")>=0)
f=1;
if(f)
continue;
else if(stwover(e,o))
{
if(e.visLevel)
e.visLevel+=c;
else
e.visLevel=c;
if(e.visLevel==-1)
{
if(typeof(e.visSave)=="undefined")
e.visSave=e.style.visibility;
e.style.visibility="hidden";
}
else if(!e.visLevel)
e.style.visibility=e.visSave;
}
}
}
function stmvto(xy,p)
{
if(xy&&(p.ppi||stgme(p).mtyp))
{
var l=stglay(p);
if(nNN4)
l.moveToAbsolute(xy[0],xy[1]);
else if(nOP)
{
var s=l.style;
s.pixelLeft=xy[0];
s.pixelTop=xy[1];
}
else
{
var s=l.style;
s.left=xy[0]+"px";
s.top=xy[1]+"px";
}
p.rc=[xy[0],xy[1],p.rc[2],p.rc[3]];
}
}
function stsdstr(p,s)
{
return "var p=st_ms["+p.mei+"].ps["+p.ppi+"];p.tmid=0;"+(s?p.efsh+"sh(":p.efhd+"hd(")+"p);p.exed=1;";
}
function stwover(e,o)
{
var l=0,t=0,w=e.offsetWidth,h=e.offsetHeight;
if(w)
e._wd=w;
else
w=e._wd;
if(h)
e._ht=h;
else
h=e._ht;
while(e)
{
l+=e.offsetLeft;
t+=e.offsetTop;
e=e.offsetParent;
}
return l<o.rc[2]+o.rc[0]&&l+w>o.rc[0]&&t<o.rc[3]+o.rc[1]&&t+h>o.rc[1];
}
function stevfn(n,i)
{
return new Function("e","var r=/Stm(\\d*)p(\\d*)i"+(i?"(\\d*)e":"")+"/;r.exec(this.parentLayer.id);var m=RegExp.$1;var p=parseInt(RegExp.$2);"+(i?"var i=parseInt(RegExp.$3);":"")+"return "+n+"(e,this,st_ms[m].ps[p]"+(i?".is[i]":"")+");");
}
function stppev(p)
{
return " onMouseOver='stppov(event,this,st_ms["+p.mei+"].ps["+p.ppi+"]);' onMouseOut='stppou(event,this,st_ms["+p.mei+"].ps["+p.ppi+"]);'";
}
function stitev(i)
{
with(i)
return ityp==6?"":" onMouseOver='stitov(event,this,st_ms["+mei+"].ps["+ppi+"].is["+iti+"]);' onMouseOut='stitou(event,this,st_ms["+mei+"].ps["+ppi+"].is["+iti+"]);' onClick='stitck(event,this,st_ms["+mei+"].ps["+ppi+"].is["+iti+"]);'";
}
function stquo(n)
{
return "\""+n+"\"";
}
function stgurl(i,f)
{
with(i)
return (iurl||f?"HREF="+stquo(iurl?iurl.replace(/"/g,""").replace(/'/g,"'"):"#")+(iurl&&itgt?" TARGET="+stquo(itgt):""):"")+(istt?" onMouseOver='return stcstt(st_ms["+mei+"].ps["+ppi+"].is["+iti+"]);' onMouseOut=\"top.status=\'\';return true;\"":"");
}
function stcstt(i)
{
top.status=i.istt;return true;
}
function stgdec(v)
{
return v?(v&1?"underline ":"")+(v&2?"line-through ":"")+(v&4?"overline":""):"none";
}
function stgimg(src,id,w,h,b)
{
return "<IMG SRC="+stquo(src)+(id?" ID="+id:"")+(w>0?" WIDTH="+w:(nNN?" WIDTH=0":""))+(h>0?" HEIGHT="+h:(nNN?" HEIGHT=0":""))+" BORDER="+b+">";
}
function stgbg(c,i,r)
{
return i?c+" url("+i+") "+r:c;
}
function stgcur(i)
{
return i.ityp!=6&&i.iurl?(nNN6?"pointer":"hand"):"default";
}
function stgiws(i)
{
var p=stgpar(i);
return p.pver?(p.plmw>0?" WIDTH="+(p.plmw+2):""):(i.iicw>0?" WIDTH="+(i.iicw+2):"");
}
function stgaws(i)
{
var p=stgpar(i);
return p.pver?(p.prmw>0?" WIDTH="+(p.prmw+2):""):(i.iarw>0?" WIDTH="+(i.iarw+2):"");
}
function stgme(ip)
{
return st_ms[ip.mei];
}
function stgpar(ip)
{
return st_ms[ip.mei].ps[ip.ppi];
}
function stgcl()
{
return nIE?(nIEW&&document.compatMode=="CSS1Compat"?document.documentElement:document.body).scrollLeft:pageXOffset;
}
function stgct()
{
return nIE?(nIEW&&document.compatMode=="CSS1Compat"?document.documentElement:document.body).scrollTop:pageYOffset;
}
function stgcw()
{
return nIE?(nIEW&&document.compatMode=="CSS1Compat"?document.documentElement:document.body).clientWidth:innerWidth;
}
function stgch()
{
return nIE?(nIEW&&document.compatMode=="CSS1Compat"?document.documentElement:document.body).clientHeight:innerHeight;
}
function stgobj(id)
{
with(document)
return nIE&&nVER<5?all[id]:nNN4?layers[id]:getElementById(id);
}
function stglay(ip)
{
if(!ip.layer)
ip.layer=typeof(ip.iti)=="undefined"||nNN6||nOP5?stgobj(ip.ids):nNN4?stglay(stgpar(ip)).document.layers[0].document.layers[ip.ids]:stglay(stgpar(ip)).all.tags("table")[ip.ids];
return ip.layer;
}
function stgstlay(i)
{
return stglay(i).document.layers[0].document.layers;
}
function stgrc(ip)
{
var ly=stglay(ip);
if(nNN4)
return [ly.pageX,ly.pageY,ly.clip.width,ly.clip.height];
else
{
var l=0,t=0,w=typeof(ip.rc)=="undefined"?parseInt(nOP&&nVER<7?ly.style.pixelWidth:ly.offsetWidth):ip.rc[2],h=typeof(ip.rc)=="undefined"?parseInt(nOP&&nVER<7?ly.style.pixelHeight:ly.offsetHeight):ip.rc[3];
while(ly)
{
l+=parseInt(ly.offsetLeft);
t+=parseInt(ly.offsetTop);
ly=ly.offsetParent;
}
if(nIEM)
{
l+=parseInt(document.body.leftMargin);
l-=ip.ipbw;
t-=ip.ipbw;
}
if(typeof(ip.iti)!="undefined")
{
if(st_delb)
{
l-=ip.ipbw;
t-=ip.ipbw;
}
if(st_addb)
{
l+=stgpar(ip).ipbw;
t+=stgpar(ip).ipbw;
}
}
return [l,t,w,h];
}
}
function stgxy(p)
{
var sr=stgrc(p);
p.rc=sr;
if(!p.ppi)
{
var m=stgme(p);
var x=!m.mtyp?sr[0]:m.mtyp==1?eval(m.mcox):m.mcox;
var y=!m.mtyp?sr[1]:m.mtyp==1?eval(m.mcoy):m.mcoy;
if(nIEW&&nVER<5.5){x-=p.psds;y-=p.psds;}
return [x,y];
}
var ir=stgirc(p.par),l=nIEW&&nVER<5.5?stgcl()-p.psds:stgcl(),t=nIEW&&nVER<5.5?stgct()-p.psds:stgct(),r=stgcl()+stgcw(),b=stgct()+stgch(),x=p.poffx+ir[0],y=p.poffy+ir[1];
if(p.pdir==1)
x-=sr[2];
else if(p.pdir==2)
x+=ir[2];
if(p.pdir!=1&&nIEW&&nVER<5.5)
x-=p.psds;
if(x>r-sr[2])
x=r-sr[2];
if(x<l)
x=l;
if(p.pdir==3)
y-=sr[3];
else if(p.pdir==4)
y=y+ir[3];
if(p.pdir!=3&&nIEW&&nVER<5.5)
y-=p.psds;
if(y>b-sr[3])
y=b-sr[3];
if(y<t)
y=t;
return [x,y];
}
function stbuf(s)
{
if(s)
{
var i=new Image();
st_ims[st_ims.length]=i;
i.src=s;
}
return s;
}
function stabs(s)
{
var t=s.toLowerCase();
return t.indexOf(":")==1&&t.charCodeAt()>="a"&&t.charCodeAt()<="z"||!t.indexOf("http:")||!t.indexOf("https:")||!t.indexOf("file:")||!t.indexOf("ftp:")||!t.indexOf("/")||!t.indexOf("javascript:")||!t.indexOf("mailto:")||!t.indexOf("about:")||!t.indexOf("gopher:")||!t.indexOf("news:")||!t.indexOf("telnet:")||!t.indexOf("wais:");
}
function stgsrc(s,m,f)
{
return s?stabs(s)?s:m.mweb+s:f?m.mbnk:s;
}
function showFloatMenuAt(n,x,y)
{
if(nDM)
{
var m=stmenu(n);
if(m&&typeof(m.ready)!="undefined"&&m.mtyp==2&&m.ps.length&&!m.ps[0].issh)
{
ststxy(m,[x,y]);
stshow(m.ps[0]);
}
}
}
function hideMenu(n)
{
var m=stmenu(n);
sthdall(m,1);
}
function stmenu(n)
{
for(var j=st_ms.length-1;j>=0;--j)
if(st_ms[j].mnam==n)
return st_ms[j];
return 0;
}
function stgtsub(i)
{
var m=stgme(i);
if(m.mcfb)
{
var w=m.tfrm;
if(i.ppi||w==window)
return i.sub;
if(typeof(w.stmenu)!="undefined")
return w.stmenu(m.mnam).ps[i.ppi].is[i.iti].sub;
}
return 0;
}
function stgirc(i)
{
var m=stgme(i),w=m.sfrm;
if(i.ppi||w==window)
return stgrc(i);
m=w.stmenu(m.mnam);
var rc=w.stgrc(m.ps[0].is[i.iti]),x=rc[0]-w.stgcl(),y=rc[1]-w.stgct();
switch(m.mcfd)
{
case 0:y-=w.stgch();break;
case 1:y+=stgch();break;
case 2:x-=w.stgcw();break;
case 3:x+=stgcw();break;
}
return [x+stgcl()+m.mcfx,y+stgct()+m.mcfy,rc[2],rc[3]];
}
function stgtgt(i)
{
if(i.itgt=="_self")
return window;
else if(i.itgt=="_parent")
return parent;
else if(i.itgt=="_top")
return top;
else
for(var co=window;co!=co.parent;co=co.parent)
if(typeof(co.parent.frames[i.itgt])!="undefined")
return co.parent.frames[i.itgt];
return 0;
}
function stgfrm(m)
{
var a=m.mcff.split("."),w="parent";
for(var j=0;j<a.length;++j)
{
w+="."+a[j];
if(typeof(eval(w))=="undefined")
return 0;
}
return eval("parent."+m.mcff);
}
function stfrm(m)
{
if(m.mcff)
{
var w=stgfrm(m);
if(w&&typeof(w.st_load)!="undefined"&&w.st_load)
{
var t=w.stmenu(m.mnam);
if(typeof(t)=="object"&&t)
{
if(!m.cfrm||!t.cfrm)
{
if(t.mhdd<1000)
m.mhdd=t.mhdd=1000;
sthdall(m,1);
m.sfrm=t.sfrm=window;
m.tfrm=t.tfrm=w;
m.cfrm=t.cfrm=1;
}
m.mcfb=1;
return;
}
}
m.mcfb=m.mcfn;
m.tfrm=window;
}
else
{
var w=m.sfrm;
if(w==window)
return;
else if(typeof(w.st_load)!="undefined"&&w.st_load)
{
var s=w.stmenu(m.mnam);
if(typeof(s)=="object"&&s)
if(s.cfrm)
return;
}
m.sfrm=window;
var p=m.ps[0];
for(var j=0;j<p.is.length;++j)
sthdit(p.is[j]);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -