📄 script.js
字号:
F_NN=navigator.appName=='Netscape';F_MAC=(navigator.appVersion.indexOf('Macintosh')>-1);
document.objectModel=new Array(0);document.F_loaded=false;document.F_dragLayer=null;window.NOFevent=new F_E1();top.F_curObj=null;var NOFparameters=null;var params=NOFparameters;window.defaultStatus="";
function F_cMain(){
this.E4=this.M2();this.commandsInit();
if(navigator.appName!='Netscape')F_F1();
if(!F_NN&&F_MAC){
var t=document.all.tags("A");for(var i=0;i<t.length;i++){t[i].ondragstart=F_dragCancel;}
}
}
function F_dragCancel(){event.cancelBubble=true;event.returnValue=false;}
F_prototype("F_cMain.prototype.",
"M2","F_M2","commandsInit","F_dummy","E2","F_E2","D6",false,
"D7",0
);
function F_E1(){this.altKey=false;this.button=0;this.ctrlKey=false;this.M9=null;this.shiftKey=false;this.pageY=null;pageY=null;}
function F_F1(){
var ss=document.styleSheets["NOF_STYLE_SHEET"];if(!ss)ss=document.styleSheets[0];
for (var i=0;i<ss.rules.length;i++){var t=ss.rules[i].selectorText;var Y6=t.substring(t.indexOf("#")+1,999);var theContainer=document.all.tags('SPAN')[Y6];if(typeof theContainer=="undefined")
theContainer=document.all.tags('DIV')[Y6];var s=ss.rules[i].style
if(typeof theContainer!="undefined"){with(theContainer.style){left=s.left;top=s.top;clip=s.clip;zIndex=s.zIndex;visibility=s.visibility;}
}
}
}
var F_bar="Initializing ";var F_count=1;var F_barError="";var F_bar="Initializing ";
function F_E2(Y9,AO,Z7,Y4,isRelative,objectID,H7,P8,AQ){if(F_bar.length>63)F_bar="Initializing "+F_count++;F_bar+="|";window.status=F_barError+F_bar;
this.H8=(AO=="chk")|| (AO=="rad")|| (AO=="tfd")|| (AO=="sel")|| (AO=="btn");
this.W4=objectID;this.name=objectID;this.type=AO;this.childObjects=new Object();if(Z7=="")
this.parent=null;else{this.parent=document.objectModel[Z7];if(this.parent!=null){this.parent.childObjects[this.W4]=this;
this.N3=this.parent.N3+1;}
}
this.timeoutTest="document.objectModel";if(parent!=self){
var f=self;while(f!=top){this.timeoutTest="frames['"+f.name+"']."+this.timeoutTest;f=f.parent;}
this.timeoutTest="top."+this.timeoutTest;}
this.textRef=this.timeoutTest+"['"+this.W4+"']";this.timeoutTest="("+this.timeoutTest+"&&"+this.textRef+")";
this.E4=document.main.E4[AO];
if(navigator.appName=='Netscape')
{
var Y2=(H7=="")?"":".forms['"+H7+"']";
this.style=(this.parent!=null)?this.parent.style:document;if(Y9!=""){var L2=Y9.split(":");this.style=this.style.layers[L2[0]];}
this.Q1=this.style.document[objectID];
this.H9=(H7=="")?null:this.style.document.forms[H7];if ((Y2!="")&&(P8!="")){if(this.H9){
if(P8==(parseInt(P8)+"")){
for (var i=0;i<this.H9.length;i++){if (this.H9[i].name==P8){
if(((AO=="rad")&&(this.H9[i].value==AQ))|| (AO!="rad")){this.Q1=this.H9[i];break;}
}
}
}else{this.Q1=this.H9[P8];
if(AO=="rad"){this.Q1=this.radioButtonByValue(this.Q1,AQ);}
}
}else{F_F6(this.W4+":the form isn't displaying due to a Netscape bug.");}
}
if((AO=="snd")|| (AO=="vrm")){
if((this.style.document.embeds.length>0)&&(this.style.document.embeds[0])){this.Q1=this.style.document.embeds[0];}else{this.Q1=null;
}
}
if(AO=="fra")this.Q1=eval(objectID+".document");
if(AO=="img"){
this.Q1=this.style.document.images[0];if(!this.Q1){
this.Q1=new Image();
}
}
if(this.type=='jbn'){if(typeof this.Q1=="undefined")
this.Q1=this.style.document.applets[0];}
this.W3=this.style;if(Y9=="LayoutLYR"){document.F_layout_left=this.style.left;document.F_layout_top=this.style.top;}
if(this.H8&&this.H9&&(typeof(this.Q1)=="undefined")) F_F6(this.W4+":either the form or the form element doesn't have a name.");this.T3=new F_E7(this.style.left,this.style.top);
}else{
if(Y9==""){if(this.parent!=null){this.W3=this.parent.W3
this.style=this.parent.style;}else{this.W3=document;this.style=document.style;}
}else{this.W3=document.all.tags('SPAN')[Y9];if(typeof this.W3=="undefined")
this.W3=document.all.tags('DIV')[Y9];this.style=this.W3.style;}
this.Q1=((objectID!="")&&(AO!="doc")&&(AO!="lyr")&&(AO!="nav")&&(AO!="txt")&&(AO!="map"))?
document.all.item(objectID):null;this.H9=(H7=="")?null:document.forms[H7];
if(Y9=="LayoutLYR"){document.F_layout_left=this.style.pixelLeft;document.F_layout_top=this.style.pixelTop;}
this.T3=new F_E7(this.style.pixelLeft,this.style.pixelTop);
}
if((AO=="img")&&(typeof this.Q1!="undefined")&&(this.Q1!=null)){this.images=new Object();
var i='Image 1 (Normal)';this.images[i]=new Object();this.images[i].source=this.Q1.src;this.images[i].complete=true;}
this.N4=F_A1;this.A2=new Object;
if(Y4!=null){
for( var i=0;i<(Y4.length - 4);i=i+5){
if(typeof this.A2[Y4[i]]=="undefined"){
this.A2[Y4[i]]=new Array();
}
var X2=this.A2[Y4[i]];for(var k=i+1;k<i+5;k++){
X2[X2.length]=Y4[k];}
}
}
this.N1=this;this.N8=new F_E8();
}
F_prototype("F_E2.prototype.",
"G3",false,
"C9",true,"N3","1","E3", "F_E3","dragBoundries", "'none'","dropCollision", null,"dragCollision", null,"moveCollision", null,"D3",null,"N6",false,"move",null,"transition",null,
"O7",null,"F3", null,"K8","F_K8",
"C4","F_C4",
"D6",false);
F_R7("F_E2.prototype.",
"J3","V2",
"hide","show","B1","U0","shiftZindex1",
"setSource","writeSource",
"offset","V3","J9","restorePosition","V4","V1","U7","U4","U6","U3","V6","M8","K6","V7","setIndex","K1","J2","J5","J4","J5","K2","J1","I6","I3","I5","I1","I7","I2","K7","framesetGotoURL","J6","J7","K3","K4","radioButtonByValue","I9","U8","S5","C2");if(navigator.appName=='Netscape')
{
}else{
F_prototypeIE("F_E2.prototype.","K1","J2","J5","J4","U5","U7","U4","U6","U3","I4","I6","I3","I5",
"I1","I7","I2","J6","J7",
"setIndex","shiftZindex1","B1","U0","K3","K4","radioButtonByValue","setSource","writeSource",
"offset");}
function F_I9(Z3){for ( var P4 in document.objectModel){if ((document.objectModel[P4].type=="frm")&&(document.objectModel[P4].H9.name==Z3)){return (document.objectModel[P4]);}
}
return(null);}
function F_offset(Z0,AN){this.style.offset(Z0,AN);}
function F_setIndex(newIndex){var oldIndex=this.K6();if(this.parent==null){this.V7(newIndex);}else{with(this.parent.style){if(oldIndex>newIndex){for (var i=0;i<layers.length;i++){var Y7=layers[i].zIndex;if((Y7>=newIndex)&&(Y7<oldIndex)){layers[i].zIndex=Y7+1;}
}
}
if(oldIndex<newIndex){for (var i=0;i<layers.length;i++){var Y7=layers[i].zIndex;if((Y7<=newIndex)&&(Y7>oldIndex)){layers[i].zIndex=Y7 - 1;}
}
}
this.V7(newIndex);}
}
}
function F_IE_setIndex(newIndex){
var oldIndex=this.K6();if(this.parent==null){this.V7(newIndex);}else{with(this.parent.W3){if(oldIndex>newIndex){for (var i=0;i<children.length;i++){var Y7=children[i].style.zIndex;if((Y7>=newIndex)&&(Y7<oldIndex)){children[i].style.zIndex=Y7+1;}
}
}
if(oldIndex<newIndex){for (var i=0;i<children.length;i++){var Y7=children[i].style.zIndex;if((Y7<=newIndex)&&(Y7>oldIndex)){children[i].style.zIndex=Y7 - 1;}
}
}
this.V7(newIndex);}
}
}
function F_B1(){var Y7=this.K6();var O=new Array(0);with(this.parent.style){for (var i=0;i<layers.length;i++){var X5=layers[i].zIndex;if(X5>=Y7){O[X5]=layers[i];}
}
this.V7(O.length);for (var i=Y7+1;i<O.length;i++){if(O[i]&&O[i].zIndex)
O[i].zIndex=i-1;}
}
this.V7(O.length-1);}
function F_IE_B1(){var Y7=this.K6();var A=new Array(0);with(this.parent.W3){for (var i=0;i<children.length;i++){if((children[i].tagName=="DIV")||(children[i].tagName=="SPAN")){var X5=children[i].style.zIndex;if(X5>=Y7)A[X5]=i;}
}
this.V7(A.length);for (var i=Y7+1;i<A.length;i++){children[A[i]].style.zIndex=i-1;}
}
this.V7(A.length-1);}
function F_U0(){var Y7=this.K6();var O=new Array(0);with(this.parent.style){for (var i=0;i<layers.length;i++){var X5=layers[i].zIndex;if(X5<=Y7){O[X5]=layers[i];}
}
this.V7(1);for (var i=1;i<Y7;i++){if(O[i]&&O[i].zIndex)
O[i].zIndex=i+1;}
}
}
function F_IE_U0(){var Y7=this.K6();var A=new Array(0);with(this.parent.W3){for (var i=0;i<children.length;i++){if((children[i].tagName=="DIV")||(children[i].tagName=="SPAN")){var X5=children[i].style.zIndex;if(X5<=Y7)A[X5]=i;}
}
this.V7(1);for (var i=1;i<Y7;i++){
children[A[i]].style.zIndex=i+1;}
}
}
function F_shiftZindex1(dir) {var Y7=this.K6()+dir;with(this.parent.style){for (var i=0;i<layers.length;i++){if(layers[i].zIndex==Y7){layers[i].zIndex=Y7 - dir;this.V7(Y7);return(true);}
}
}
return(false);}
function F_IE_shiftZindex1(dir){var Y7=this.K6()+dir;with(this.parent.W3){for (var i=0;i<children.length;i++){if((children[i].tagName=="DIV")||(children[i].tagName=="SPAN")){if(children[i].style.zIndex==Y7){children[i].style.zIndex=Y7 - dir;this.V7(Y7);return(true);}
}
}
}
return(false);}
function F_show(){sendMsg(this.W4,'Shown','','',false);this.V6('inherit');}
function F_hide(){this.V6('hidden');sendMsg(this.W4,'Hidden','','',false);}
function F_V6(AQ){if(AQ=="toggle"){this.style.visibility=((this.style.visibility=="hidden")|| (this.style.visibility=="hide"))?"inherit":"hidden";}else{this.style.visibility=AQ;}
}
function F_M8(){Y8=this;while(Y8.type!="doc"){
if((Y8.style.visibility=="hidden")|| (Y8.style.visibility=="hide"))return(false);Y8=Y8.parent;}
return(true);}
function F_V3(parm)
{
this.V4(parm.y);this.V1(parm.x);}
function F_restorePosition(parm)
{this.style.top=parm.y;this.style.left=parm.x;}
function F_J9(parm){return(new F_Parm('x',this.J2(parm),'y',this.K1(parm)));}
function F_V4(AQ){if((this.parent!=null)&&((this.parent.type=='lyr')|| (this.parent.type=='doc'))){this.style.top=parseInt(AQ)- this.K1('absolute')+this.K1('style');}else
this.style.top=parseInt(AQ);}
function F_V1(AQ){if((this.parent!=null)&&((this.parent.type=='lyr')|| (this.parent.type=='doc'))){this.style.left=(parseInt(AQ)- this.J2('absolute')+this.J2('style'));}else
this.style.left=parseInt(AQ);}
function F_U7(AQ){this.style.clip.top=AQ;}
function F_U4(AQ){this.style.clip.left=AQ;}
function F_U6(AQ){this.style.clip.right=AQ;}
function F_U3(AQ){this.style.clip.bottom=AQ;}
function F_K6(){if((this.type=="map")|| (this.H8))
return(parseInt(this.parent.style.zIndex));return(parseInt(this.style.zIndex));}
function F_V7(Y7){this.style.zIndex=Y7;}
function F_J2(parm){if(parm=='screen'){return(this.style.pageX);}
if(parm=='absolute'){return(this.style.pageX-document.F_layout_left);
}
if(parm=='style')
return(this.style.left);
return(parseInt(this.style.left));
}
function F_K1(parm){if(parm=='screen'){return(this.style.pageY);}
if(parm=='absolute'){return(this.style.pageY-document.F_layout_top);
}
if(parm=='style')
return(this.style.top);
return(parseInt(this.style.top));}
function F_J5(){var AN=this.K1();Y8=this.parent;while (Y8!=null){AN+=Y8.K1();Y8=Y8.parent;}
return(AN);}
function F_J4(){var Z0=this.J2();Y8=this.parent;while (Y8!=null){Z0+=Y8.J2();Y8=Y8.parent;}
return(Z0);
}
function F_I6(){return(parseInt(this.style.clip.top));}
function F_I3(){return(parseInt(this.style.clip.left));}
function F_I5(){return(parseInt(this.style.clip.right));}
function F_I1(){return(parseInt(this.style.clip.bottom));}
function F_I7(){return(parseInt(this.style.clip.right)- parseInt(this.style.clip.left));}
function F_I2(){return(parseInt(this.style.clip.bottom)- parseInt(this.style.clip.top));}
function F_NOP(){return(0);}
function F_K2(){
return(parseInt(this.I7()));
}
function F_J1(){
return(parseInt(this.I2()));
}
function F_J6(){return(window.pageXOffset);}
function F_J7(){return(window.pageYOffset);}
function F_K3(){return(window.innerHeight);}
function F_K4(){return(window.innerWidth);}
function F_setSource(s){if(s!="")
this.style.src=s;}
function F_writeSource(s){this.style.document.open();this.style.document.write(s);this.style.document.close();}
function F_IE_setSource(s){if(s!="")
this.W3.innerHTML="<OBJECT TYPE='text/x-scriptlet' WIDTH="+this.K2()+" HEIGHT="+this.J1()+" DATA='"+s+"'></OBJECT>";}
function F_IE_writeSource(s){this.W3.innerHTML=s;}
function F_K5(){return(0);}
function F_IE_offset(Z0,AN){this.style.left=(this.style.pixelLeft+Z0);this.style.top=(this.style.pixelTop+AN);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -