home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 October A / Pcwk10a98.iso / Lotus / NETOBJ / T2.Z / effects.js < prev    next >
Text File  |  1998-03-09  |  22KB  |  372 lines

  1. function F_C1(Z5,Z8){
  2. this.M4=F_G9;this.start=F_H3;this.finish=F_G7;this.stop=F_effectStop;this.U1=F_U1;
  3. this.type="move";this.object=Z5;this.E5=new F_B8(Z5,Z8);
  4. var AV=Z5.K1('absolute')- Z5.J7();var N2=Z5.J2('absolute')- Z5.J6();var A8=Z5.K3()- AV;var T1=Z5.K4()- N2;var D4=Z5.I7();var D5=Z5.I2();var d=this.E5.direction;
  5. if((d==0)|| (d>270))
  6. {var p=F_direction(d,N2+D4,AV+D5);}
  7. else 
  8. {if(d<=90)
  9. {var p=F_direction(d,T1,AV+D5);}
  10. else 
  11. {if(d<=180)
  12. {var p=F_direction(d,T1,A8);}
  13. else 
  14. {if(d<=270)
  15. {var p=F_direction(d,N2+D4,A8);}
  16. }
  17. }
  18. }
  19. this.E5.U9(p.x,-p.y,0,0,0,0);}
  20. function F_cMoveBy(Z5,Z8){
  21. this.M4=F_G9;this.start=F_H3;this.finish=F_G7;this.stop=F_effectStop;this.restart=F_effectRestart;this.U1=F_U1;
  22. this.type="move";this.object=Z5;this.E5=new F_B8(Z5,Z8);this.E5.showHide="";this.E5.S7=false;
  23. var x=parseFloat(Z8.J8( "x",0));var y=parseFloat(Z8.J8( "y",0));
  24. this.E5.U9(x,y,0,0,0,0);}
  25. function F_cMoveTo(Z5,Z8){
  26. this.M4=F_G9;this.start=F_H3;this.stop=F_effectStop;this.restart=F_effectRestart;this.finish=F_G7;this.U1=F_U1;
  27. this.type="move";this.object=Z5;this.E5=new F_B8(Z5,Z8);this.E5.showHide="";this.E5.S7=false;
  28. if(Z8=="Saved Position"){var x=Z5.T3.x - Z5.J2('style');var y=Z5.T3.y - Z5.K1('style');}else{
  29. var x=parseFloat(Z8.J8( "x",0))- Z5.J2('absolute');var y=parseFloat(Z8.J8( "y",0))- Z5.K1('absolute');}
  30. this.E5.U9(x,y,0,0,0,0);}
  31. function F_E6(Z5,Z8){
  32. this.M4=F_G9;this.start=F_H3;this.finish=F_G7;this.stop=F_effectStop;this.restart=F_effectRestart;this.U1=F_U1;
  33. this.type="transition";this.object=Z5;this.E5=new F_B8(Z5,Z8);
  34. var width=Z5.I7();var height=Z5.I2();var p=F_direction(this.E5.direction,width,height);
  35. var t=new B9(0,0,0,0,0,0);t.x=p.x;t.y=-p.y;F_B3(this.E5.direction,t,p);this.E5.U9(t.x,t.y,t.top,t.right,t.bottom,t.left);}
  36. function F_F4(Z5,Z8){
  37. this.M4=F_G9;this.start=F_H3;this.finish=F_G7;this.stop=F_effectStop;this.restart=F_effectRestart;this.U1=F_U1;
  38. this.type="transition";this.object=Z5;this.E5=new F_B8(Z5,Z8);
  39. this.E5.direction=(180+this.E5.direction)%360;var width=Z5.I7();var height=Z5.I2();var p=F_direction(this.E5.direction,width,height);var t=new B9(0,0,0,0,0,0);F_B3(this.E5.direction,t,p);this.E5.U9(t.x,t.y,t.top,t.right,t.bottom,t.left);}
  40. function F_C7(Z5,Z8){
  41. this.M4=F_G9;this.start=F_H3;this.finish=F_G7;this.stop=F_effectStop;this.restart=F_effectRestart;this.U1=F_U1;
  42. this.type="transition";this.object=Z5;this.E5=new F_B8(Z5,Z8);
  43. var width=Math.ceil(Z5.I7()/2);var height=Math.ceil(Z5.I2()/2);
  44. this.E5.U9(0,0,height,-width,-height,width);}
  45. function F_U1(){return(this.E5.H1(new Date()));}
  46. function F_H3(){this.object.U8();if(!document.main.D6)
  47. sendMsg(this.object.W4,(this.type=="move"?'Motion Started':'Transition Started'),'',this);this.E5.H1("start");this.U1();}
  48. function F_G7(){this.E5.H1("finish");if(!document.main.D6){sendMsg(this.object.W4,(this.type=="move"?'Motion Ended':'Transition Ended'),'',this);if(this.E5.message!="")
  49. sendMsg(this.object.W4,this.E5.message,'',this);}
  50. this.object.C4();this.object.S5();}
  51. function F_G9(){if(document.main.D6)    
  52. return(false);
  53. clearTimeout(this.timer);this.E5.H1("finish");return(true);}
  54. function F_effectStop(){clearTimeout(this.timer);return(true);}
  55. function F_effectRestart(){this.timer=setTimeout( this.object.X1+'.U2("'+this.type+'");',this.E5.rate);return(true);}
  56. function F_B8 (Z5,Z8){
  57. this.object=Z5;if(typeof(Z8)=="string"){this.duration=10;this.inDuration=2;this.outDuration=2;this.rate=10;this.repeat=1;this.reverse=true;this.direction=F_I8 (Z8)% 360;this.showHide=F_L1 (Z8);this.message="";}else{this.duration=parseFloat(Z8.J8( "duration",10));this.inDuration=parseFloat(Z8.J8( "inDuration",2));this.outDuration=parseFloat(Z8.J8( "outDuration",2));this.rate=parseFloat(Z8.J8( "rate",10));this.repeat=parseFloat(Z8.J8( "repeat",1));
  58. this.reverse=(Z8.J8( "reverse",false));
  59. this.direction=Z8.J8( "direction","90")% 360;this.showHide=Z8.J8( "hide","show").toLowerCase();this.message=Z8.J8( "message","");}
  60. this.S7=true;
  61. this.I=2 * this.inDuration / Math.PI;this.O=2 * this.outDuration / Math.PI;this.Mid=this.duration - this.inDuration - this.outDuration;this.factor=1/(this.Mid+this.I+this.O);this.midTest=this.inDuration+this.Mid;this.inRad=Math.PI / (2 * this.inDuration);this.outRad=Math.PI / (2 * this.outDuration);
  62. this.H6=false;this.offset=new B9(0,0,0,0,0,0);
  63. this.H2();}
  64. function B9(x,y,top,right,bottom,left){this.x=Math.floor(x);this.y=Math.floor(y);this.top=Math.floor(top);this.right=Math.floor(right);this.bottom=Math.floor(bottom);this.left=Math.floor(left);}
  65. F_R7("F_B8.prototype.",
  66. "G8","H1","U9","F9","H2"
  67. );
  68. function F_H1(AM){if(AM=="start")
  69. {
  70. if (this.showHide!="")this.object.V6("inherit");return(true);}
  71. if(AM=="finish")
  72. {
  73. if ((this.showHide=="hide")&!this.H6)this.object.V6("hidden");this.H6=false;if (this.S7)
  74. this.F9(0);return(false);}
  75. var AD=this.G8(AM);if (this.showHide=="show")AD=1 - AD;if (this.H6)AD=1 - AD;this.F9(AD);if(AM.getTime()>this.endTime)
  76. {
  77. if(--this.repeat>0){
  78. if(this.reverse){
  79. this.H6=!this.H6;}
  80. this.H2();    
  81. }else{return(false);
  82. }
  83. }
  84. return(true);}
  85. function F_F9(AD){
  86. with(this.dest){
  87. var O6=new B9(
  88. Math.ceil(x * AD),
  89. Math.ceil(y * AD),
  90. Math.ceil(top * AD),
  91. Math.ceil(right * AD),
  92. Math.ceil(bottom * AD),
  93. Math.ceil(left * AD));}
  94. var a=(O6.x - this.offset.x);
  95. var b=(O6.y - this.offset.y);
  96. this.object.offset(a,b);with(this.object.style){if(navigator.appName=='Netscape')
  97. {clip.top=clip.top+(O6.top - this.offset.top);clip.right=clip.right+(O6.right - this.offset.right);clip.bottom=clip.bottom+(O6.bottom - this.offset.bottom);clip.left=clip.left+(O6.left- this.offset.left);
  98. }else{
  99. with(this.object){this.object.U5(new F_E9( 
  100. I3()+(O6.left- this.offset.left),I6()+(O6.top - this.offset.top),I5()+(O6.right - this.offset.right),I1()+(O6.bottom - this.offset.bottom)
  101. ));}
  102. }
  103. }
  104. this.offset=O6;}
  105. function F_G8(AM){
  106. with(this){var time=(AM.getTime()- this.startTime)/(100)
  107. if ( time<inDuration){
  108. return((I - (Math.cos(time *inRad)* I))* factor);}
  109. else{if ( time<=midTest){
  110. return((time - inDuration+I)* factor);}
  111. else{
  112. if ( time>=duration)return(1);return(((Math.sin((time - inDuration - Mid)* outRad)* O)+I+Mid)* factor);}
  113. }
  114. }    
  115. }
  116. function F_U9(x,y,top,right,bottom,left){this.dest=new B9(x,y,top,right,bottom,left);}
  117. function F_H2(){this.startTime=(new Date()).getTime();this.endTime=this.startTime+(this.duration*100);}
  118. function F_U2(AO){var Y0=this[AO];
  119. if(Y0!=null){if(Y0.U1())
  120. Y0.timer=top.setTimeout( this.X1+'.U2("'+Y0.type+'");',Y0.E5.rate);
  121. else
  122. this.H4(AO);}
  123. }
  124. function F_W2(Y0,Z8){var t=new Y0(this,Z8);if(this[t.type]!=null){
  125. if(!this[t.type].M4())
  126. return(false);}
  127. this[t.type]=t;this[t.type].start();
  128. this[t.type].timer=top.setTimeout(this.X1+'.U2("'+this[t.type].type+'");',this[t.type].E5.rate);
  129. return(true);}
  130. function F_H4(AO){var t=this[AO];this[AO]=null;t.finish();}
  131. F_prototype("F_E2.prototype.",
  132. "U2","F_U2","H4","F_H4","W2","F_W2");
  133. function F_direction(X9,AS,Y5)
  134. {X9=X9 % 360;AB=X9 * (Math.PI/180);if ((X9 % 90)==0)
  135. {BA=0;BB=0;if(X9==0)BB=Y5;if(X9==90)BA=AS;if(X9==180)BB=-Y5;if(X9==270)BA=-AS;}
  136. else 
  137. {
  138. BA=AS;BB=    AS / Math.tan(AB);if(X9>=180)
  139. {BB=-BB;BA=-BA;}
  140. if (Math.abs(BB)>Y5)
  141. {BB=Y5;BA=Y5 * Math.tan(AB);if((X9>90)&&(X9<270))
  142. {BB=-BB;BA=-BA;}
  143. }
  144. }
  145. return(new F_E7(BA,BB));}
  146. function F_B3(direction,clip,R3){if((direction==0)|| (direction>270)){clip.left=-R3.x;clip.top=R3.y;
  147. }
  148. else 
  149. if(direction<=90){clip.right=-R3.x;clip.top=R3.y;
  150. }
  151. else 
  152. if(direction<=180){clip.right=-R3.x;clip.bottom=R3.y;
  153. }
  154. else 
  155. if(direction<=270){clip.left=-R3.x;clip.bottom=R3.y;
  156. }
  157. }
  158. function F_L1 (AI){if (AI.substring(0,2).toLowerCase()=="in")return("show");if (AI.substring(0,3).toLowerCase()=="out")return("hide");return("");}
  159. function F_I8 (AI){var t=AI.toLowerCase();if (t.indexOf("top right")!=-1)return (45);if (t.indexOf("top left")!=-1)return (315);if (t.indexOf("bottom right")!=-1)return (135);if (t.indexOf("bottom left")!=-1)return (225);if (t.indexOf("top")!=-1)return (0);if (t.indexOf("bottom")!=-1)return (180);if (t.indexOf("right")!=-1)return (90);if (t.indexOf("left")!=-1)return (270);return(0)
  160. }
  161. function F_C8 (){this.dragCollision=null;this.dropCollision=null;    
  162. }
  163. function F_A3 (Z8){var o=Z8.J8( "objectID",null);if(document.objectModel[o]){
  164. var t=Z8.J8( "when","drop")+"Collision";if(this[t]==null)
  165. this[t]=new Array(0);this[t][this[t].length]=new F_B6(
  166. o,
  167. Z8.J8( "message","collision"),
  168. Z8.J8( "type","intersection"));}
  169. }
  170. function F_B6(F7,message,type){this.F7=F7;this.message=message;this.type=type;this.AX=false;this.X0=F_X0;}
  171. function F_S6(G4){with(G4){if(dragCollision!=null)
  172. for ( var i=0;i<dragCollision.length;i++)
  173. dragCollision[i].AX=false;if(dropCollision!=null)
  174. for ( var i=0;i<dropCollision.length;i++)
  175. dropCollision[i].AX=false;}
  176. }
  177. function F_C3(G4,AR){var c=G4[AR+"Collision"];var o=false;for ( var i=0;i<c.length;i++){var o=false;var d=c[i];var P4=document.objectModel[d.F7];if ((d.type=="intersection")&&F_X0(G4,P4,"int"))
  178. o=true;if ((d.type=="not intersection")&&!F_X0(G4,P4,"int"))
  179. o=true;if ((d.type=="contained by")&&F_X0(G4,P4,"cont"))
  180. o=true;if ((d.type=="not contained by")&&!F_X0(G4,P4,"cont"))
  181. o=true;if ((d.type=="contains")&&F_X0(P4,G4,"cont"))
  182. o=true;if ((d.type=="not contains")&&!F_X0(P4,G4,"cont"))
  183. o=true;if ((d.type=="mouse inside")&&F_R4(P4,window.NOFevent.pageX,window.NOFevent.pageY))
  184. o=true;if ((d.type=="mouse not inside")&&!F_R4(P4,window.NOFevent.pageX,window.NOFevent.pageY))
  185. o=true;if(o){if (d.AX==false){sendMsg(G4.W4,d.message,d.F7,G4.W4);d.AX=true;}
  186. }
  187. else 
  188. d.AX=false;}
  189. }
  190. function F_X0(P5,P6,W9){
  191. with(P5){var x=J2('absolute');var y=K1('absolute');var l1=x+I3();var t1=y+I6();var r1=x+I5();var b1=y+I1();}
  192. with(P6){var x=J2('absolute');var y=K1('absolute');var l2=x+I3();var t2=y+I6();var r2=x+I5();var b2=y+I1();}
  193. if (W9=="int")
  194. if((l1>=l2&&l1<=r2)|| (r1>=l2&&r1<=r2)|| (l1<l2&&r1>r2))
  195. if((t1>=t2&&t1<=b2)|| (b1>=t2&&b1<=b2)|| (t1<t2&&b1>b2))
  196. return(true);if (W9=="cont")
  197. if((l1>=l2)&&(r1<=r2))
  198. if((t1>=t2)&&(b1<=b2))
  199. return(true);return(false);}
  200. function F_V0(Z8){
  201. with(document){if(F_dragLayer==null)
  202. F_dragLayer=new Array;
  203. var L9=-1;for(var i=(F_dragLayer.length-1);i>-1;i--)
  204. if(F_dragLayer[i].layer==this)
  205. L9=i;if(L9!=-1)
  206. F_dragLayer[L9]    ={layer:this,type:Z8};else
  207. F_dragLayer[F_dragLayer.length]={layer:this,type:Z8};
  208. F_S6(this);if(navigator.appName=='Netscape'){document.captureEvents(Event.MOUSEMOVE);this.Q4=window.NOFevent.pageX;this.Q5=window.NOFevent.pageY;
  209. }else{document.onmousemove=F_L6;this.Q4=window.NOFevent.pageX;this.Q5=window.NOFevent.pageY;}
  210. this.T7=(this.E4['Drag Started']!=null);this.fastDrag=((!this.T7)&&(this.dragBoundries=="none")&&(this.E4['Dragged']==null)&&(this.dragCollision==null));}
  211. }
  212. function F_drag (x,y){if(document.F_dragLayer!=null){for(var i=(document.F_dragLayer.length-1);i>-1;i--){var dObj=document.F_dragLayer[i];var d=dObj.layer;if(d.T7){sendMsg(d.W4,'Drag Started','',null);d.T7=false;}
  213. if(typeof d.Q4=="undefined"){d.Q4=x;d.Q5=y;}
  214. var BA=d.Q4 - x;var BB=d.Q5 - y;
  215. if((d.parent!=null)&&(d.dragBoundries=="to container object")){if( (d.J2('absolute')    +d.I3()- d.parent.I3()- d.parent.J2('absolute')- BA)<0)
  216. BA=d.J2('absolute')+d.I3()- d.parent.I3()- d.parent.J2('absolute');if( (d.J2('absolute')+d.I5()- BA)>(d.parent.I5()+d.parent.J2('absolute')))
  217. BA=d.J2('absolute')+d.I5()- (d.parent.I5()+d.parent.J2('absolute'));if( (d.K1('absolute')+d.I6()- d.parent.I6()- d.parent.K1('absolute')- BB)<0)
  218. BB=d.K1('absolute')+d.I6()- d.parent.I6()- d.parent.K1('absolute');if( (d.K1('absolute')+d.I1()- BB)>(d.parent.I1()+d.parent.K1('absolute')))
  219. BB=d.K1('absolute')+d.I1()- d.parent.I1()- d.parent.K1('absolute');}
  220. d.Q4=d.Q4 - BA;d.Q5=d.Q5 - BB;d.offset (-BA,-BB);if(d.E4['Dragged']!=null)sendMsg(d.W4,'Dragged','',null);if (d.dragCollision!=null)F_C3(d,"drag");}
  221. }
  222. }
  223. function F_endDrag (){if(document.F_dragLayer){sendMsg(this.W4,'Drag Ended','',null);if (this.dropCollision!=null)F_C3(this,"drop");var d=new Array(0);for(var i=0;i<document.F_dragLayer.length;i++){if(document.F_dragLayer[i].layer!=this)
  224. d[d.length]=document.F_dragLayer[i];}
  225. if(d.length>0){document.F_dragLayer=d;}else{document.F_dragLayer=null;if(navigator.appName=='Netscape'){document.releaseEvents (Event.MOUSEMOVE);}else{document.onmousemove=null;window.event.returnValue=false
  226. window.event.cancelBubble=true
  227. }
  228. }
  229. }
  230. }
  231. F_prototype("F_E2.prototype.",
  232. "A3","F_A3","C8","F_C8","V0","F_V0","endDrag","F_endDrag");    
  233. if(navigator.appName=='Netscape')
  234. {}else{
  235. }    
  236. function F_setSrc(Z8){if(typeof this.Q1!="undefined"){    
  237. this.Q1.src=Z8;}
  238. }
  239. function F_setLowsrc(Z8){if(typeof this.Q1!="undefined"){    
  240. this.Q1.lowsrc=Z8;}
  241. }
  242. function F_setImage(Z8){var a=["Image 1 (Normal)","Image 2 (Highlighted)","Image 3 (Depressed)","Image 4 (Selected)","Image 5","Image 6","Image 7","Image 8","Image 9","Image 10"];for ( var i=0;i<a.length;i++){
  243. var b=Z8.J8( a[i],"");if(b!=""){this.images[a[i]]=new Object();this.images[a[i]].image=new Image();if(!F_NN)this.images[a[i]].image.src=b;
  244. this.images[a[i]].source=b;this.images[a[i]].complete=false;}
  245. }
  246. if(F_NN)this.setImageLoad();}
  247. function F_setImageLoad(p){if(p){this.images[p].complete=true;}
  248. for ( var i in this.images){with(this.images[i]){if(!complete){image.src=source;image.onLoad=new Function(this.X1+".setImageLoad('"+i+"')");break;}else{if(typeof image!="undefined"){image.onLoad=null;}
  249. }
  250. }
  251. }
  252. }
  253. function F_useImage(Z3){var t=Z3;if(typeof this.Q1!="undefined")    
  254. if((typeof this.images[t]!="undefined")&&(this.images[t]!=null))
  255. this.Q1.src=this.images[t].source;}
  256. function F_IEsound(command){if (!(!F_NN&&F_MAC)){
  257. if (command=="play")
  258. this.Q1.play();if (command=="stop")
  259. this.Q1.stop();if (command=="pause")
  260. this.Q1.pause();}
  261. }
  262. function F_AZ(f,Z8){if(typeof Z8=="object"){var Z0=parseInt(Z8.J8( "left",0));var AN=parseInt(Z8.J8( "top",0));var AS=parseInt(Z8.J8( "width",0));var Y5=parseInt(Z8.J8( "height",0));}
  263. if (f=="open"){var n=Z8.J8( "name","myWindow");var w=(window.open(Z8.J8( "URL",""),n,
  264. "width="+Z8.J8( "width","")+
  265. ",height="+Z8.J8( "height","")+
  266. ",top="+Z8.J8( "top","")+
  267. ",left="+Z8.J8( "left","")+
  268. ",toolbar="+Z8.J8( "toolbar","")+
  269. ",location="+Z8.J8( "location","")+
  270. ",menubar="+Z8.J8( "menubar","")+
  271. ",status="+Z8.J8( "status","")+
  272. ",resizable="+Z8.J8( "resizable","")+
  273. ",directories="+Z8.J8( "directories","")+
  274. ",scrollbars="+Z8.J8(Z8,"scrollbars","")));
  275. w.focus();return(w);
  276. }
  277. if (f=="prompt")
  278. return(window.prompt(Z8.J8( "message",""),Z8.J8("defaultValue","")));if (f=="set status"){
  279. window.status=Z8;return(false);}
  280. if (f=="move to")
  281. window.moveTo(Z0,AN);if (f=="move by")
  282. window.moveBy(Z0,AN);if (f=="resize to"){if(navigator.appName=='Netscape')
  283. top.resizeTo(AS,Y5);else
  284. top.resizeTo(AS,Y5);}
  285. if (f=="resize by")
  286. window.resizeBy(AS,Y5);if (f=="scroll to")
  287. window.scrollTo(Z0,AN);if (f=="scroll by")
  288. window.scrollBy(Z0,AN);if (f=="delayed action"){var m='sendMsg("'+this.W4+'","'+Z8.J8("action","")+'")';var d=Z8.J8("delay","60")*1000;if(Z8.J8("continuous",false))
  289. setInterval( m,d);else 
  290. setTimeout( m,d);}
  291. if (f=="browser type"){var ms=navigator.appVersion.indexOf("MSIE");var nn=navigator.appName=="Netscape";var ie4=(ms>0)&&(parseInt(navigator.appVersion.substring(ms+5,ms+6))>=4);var nn4=(nn)&&(parseInt(navigator.appVersion.substring(0,1))>=4);var t=Z8;if((t=="Is Navigator")&&(nn4))
  292. return(true);if((t=="Is Internet Explorer")&&(ie4))
  293. return(true);return(false);}
  294. if (f=="message to window"){msg=new F_cMessage(Z8.J8("message",""),new F_Parm(),false,null);
  295. var w=window.open("",Z8.J8("window",""));if(typeof w!="undefined")
  296. if(typeof w.document!="undefined")
  297. if(typeof w.document.objectModel!="undefined"){var target=w.document.objectModel[Z8.J8("object","")];if(typeof target!="undefined")
  298. return(msg.T5(target));}
  299. }
  300. return(null);}
  301. function F_commandsInit(AO){for (c in this.E4){this.E4[c].A4=F_A4;this.E4[c].A4(c);}
  302. }
  303. function F_A4(AO){
  304. if(AO=="vis"){F_A6(this,new Array(    
  305. "Move To","this.W2(F_cMoveTo,msg.data)","Move By","this.W2(F_cMoveBy,msg.data)","Fly","this.W2(F_C1,msg.data)","Iris","this.W2(F_C7,msg.data)","Peek","this.W2(F_E6,msg.data)","Wipe","this.W2(F_F4,msg.data)","Hide","this.hide()","Show","this.show()","Toggle Visibility","this.V6('toggle')","Bring To Front","this.B1()","Send To Back","this.U0()",
  306. "Bring Forward","this.shiftZindex1(1)","Send Backward","this.shiftZindex1(-1)",
  307. "Set Position","this.V3(msg.data)","Get Position","msg.returnValue=this.J9('absolute')","Get Z-Index","msg.returnValue=this.K6()","Set Z-Index","msg.returnValue=this.setIndex(msg.data)","Save Position","this.T3=this.J9('style')","Restore Position","this.restorePosition(this.T3)",
  308. "Set Left","this.V1(msg.data)","Get Left","msg.returnValue=this.J2('absolute')","Set Top","this.V4(msg.data)","Get Top","msg.returnValue=this.K1('absolute')","Set Clip Left","this.U4(msg.data)","Set Clip Top","this.U7(msg.data)","Set Clip Right","this.U6(msg.data)","Set Clip Bottom","this.U3(msg.data)","Get Clip Left","msg.returnValue=this.I3()","Get Clip Top","msg.returnValue=this.I6()","Get Clip Right","msg.returnValue=this.I5()","Get Clip Bottom","msg.returnValue=this.I1()","Start Drag","this.V0(msg.data)","End Drag","this.endDrag()","Constrain Drag","this.dragBoundries=msg.data","Set Collision Detection",    "this.A3(msg.data)","Clear Collision Detection","this.C8(msg.data)","Set Masking","this.N6=eval(msg.data)","Get Masking","msg.returnValue=this.N6","Set Filter","this.style.filter=msg.data","Delay","this.AZ('delayed action',msg.data)","Display File","this.setSource(msg.data)",    
  309. "Display HTML","this.writeSource(msg.data)","Set Draggable","this.G3=eval(msg.data)","Get Draggable","msg.returnValue=this.G3"    ));}
  310. if(AO=="img"){F_A6(this,new Array(    
  311. "Set Src","this.setSrc(msg.data)","Set Lowsrc","this.setLowsrc(msg.data)","Set Image",    "this.setImage(msg.data)","Use Image",    "this.useImage(msg.data)"));F_A5(this,"J3","Src","Lowsrc");
  312. F_A5(this,"V2");
  313. this.A4("vis");}
  314. if(AO=="nav"){this.A4("vis");}
  315. if(AO=="act"){this.A4("vis");}
  316. if(AO=="shk"){F_A6(this,new Array(    
  317. "Play","this.Q1.Play()","Stop","this.Q1.Stop()","Rewind",    "this.Q1.Rewind()","Go To Frame","this.Q1.GotoFrame(msg.data)"));this.A4("vis");}
  318. if(AO=="jav"){this.A4("vis");}
  319. if(AO=="snd"){if(navigator.appName=='Netscape'){    
  320. F_A6(this,new Array(    
  321. "Play","this.Q1!=null?this.Q1.play(false):void(0)","Pause","this.Q1!=null?this.Q1.pause():void(0)","Stop","this.Q1!=null?this.Q1.stop():void(0)",
  322. "Get Volume",    "msg.returnValue=this.Q1.GetVolume()"));}else{
  323. F_A6(this,new Array(    
  324. "Play","this.IEsound('play')","Pause","this.IEsound('pause')","Stop","this.IEsound('stop')"));}
  325. this.A4("vis");}
  326. if(AO=="txt"){
  327. this.A4("vis");F_A6(this,new Array(    
  328. "Set Font Weight",    "this.style.fontWeight=msg.data","Set Font Size",    "this.style.fontSize=msg.data"));}
  329. if(AO=="tbl"){
  330. this.A4("vis");}
  331. if(AO=="tln"){
  332. if(navigator.appName!='Netscape')
  333. F_A6(this,new Array(    
  334. "Set Color",    "this.style.color=msg.data",
  335. "Set Font Size",    "this.style.fontSize=msg.data"));}
  336. if(AO=="chk"){F_A6(this,new Array(    
  337. "Check","this.Q1.checked=true","Uncheck","this.Q1.checked=false","Focus","this.Q1.focus()","Blur","this.Q1.blur()",
  338. "Set Checked",    "this.Q1.checked=msg.data"));F_A5(this,"J3","Checked");    
  339. this.A4("fob");}
  340. if(AO=="rad"){F_A6(this,new Array(
  341. "Select","this.Q1.checked=true","Check","this.Q1.checked=true","Uncheck","this.Q1.checked=false","Focus","this.Q1.focus()","Blur","this.Q1.blur()",
  342. "Set Checked",    "this.Q1.checked=msg.data","Get Checked",    "msg.returnValue=this.Q1.checked",
  343. "Get Name","msg.returnValue=this.Q1.name"));this.A4("fob");}
  344. if(AO=="tfd"){F_A6(this,new Array(    
  345. "Get Default Value",    "msg.returnValue=this.Q1.defaultValue","Focus",    "this.Q1.focus()","Blur",    "this.Q1.blur()","Select",    "this.Q1.select()","Set Value",    "this.Q1.value=msg.data"));F_A5(this,"J3","Name","Value");this.A4("fob");}
  346. if(AO=="sel"){F_A6(this,new Array(    
  347. "Get Selected Value",    "msg.returnValue=this.Q1.options[this.Q1.selectedIndex].value","Get Selected Index",    "msg.returnValue=this.Q1.selectedIndex","Get Selected Text",    "msg.returnValue=this.Q1.options[this.Q1.selectedIndex].text",
  348. "Select",    "this.Q1.options[msg.data].selected=true","Restore Default Selection",    "F_T4(this)","Delete Option",    "this.Q1.options[msg.data]=null","Add Option",    "this.Q1.options[this.Q1.length]=new Option(msg.data.J8( 'Option Name',''),msg.data.J8( 'Value',''))","Focus",    "this.Q1.focus()","Blur",    "this.Q1.blur()"));F_A5(this,"J3","Name","Length","Options");this.A4("fob");}
  349. if(AO=="btn"){F_A6(this,new Array(    
  350. "Click",    "this.Q1.click()","Focus",    "this.Q1.focus()","Blur",    "this.Q1.blur()"));F_A5(this,"J3","Name","Value");this.A4("fob");}
  351. if(AO=="doc"){F_A6(this,new Array(    
  352. "Set Active Link Color",    "document.alinkColor=msg.data","Set Visited Link Color",    "document.vlinkColor=msg.data","Set Link Color","document.linkColor=msg.data",
  353. "Go To","this.K7(msg.data)","Go To URL","this.K7(msg.data)","Get Location","msg.returnValue=document.location",
  354. "Set Background Color","document.bgColor=msg.data"));
  355. this.A4("vis");this.A4("win");}
  356. if(AO=="win"){F_A6(this,new Array(    
  357. "Set Status Bar",    "msg.returnValue=this.AZ('set status',msg.data)","Open Window","msg.returnValue=this.AZ('open',msg.data)","Resize To","this.AZ('resize to',msg.data)","Resize By","this.AZ('resize by',msg.data)","Reposition To","this.AZ('move to',msg.data)","Reposition By","this.AZ('move by',msg.data)","Scroll To","this.AZ('scroll to',msg.data)","Scroll By","this.AZ('scroll by',msg.data)","Close","window.close()","Focus","window.focus()","Blur","window.blur()","Alert","window.alert(msg.data)","Confirm","msg.returnValue=window.confirm(msg.data)",
  358. "Prompt","msg.returnValue=this.AZ('prompt',msg.data)","Check Browser Type",    "msg.returnValue=this.AZ('browser type',msg.data)","Message To Window","this.AZ('message to window',msg.data)","Get Opener","msg.returnValue=window.opener",
  359. "Get Name","msg.returnValue=window.name","Set Name","window.name=msg.data","Check Closing",    "this.C2()"));    
  360. }
  361. if(AO=="lyr" || AO=="wht"){this.A4("vis");}
  362. if(AO=="fob"){F_A6(this,new Array(    
  363. "Get Form",    "msg.returnValue=this.H9","Get Form Object",    "msg.returnValue=this.I9(this.H9.name)"));}
  364. }
  365. F_R7("F_E2.prototype.",
  366. "setLowsrc",
  367. "setImage","useImage","setImageLoad","setSrc","AZ","IEsound"
  368. );    
  369. F_prototype("F_cMain.prototype.",
  370. "commandsInit","F_commandsInit"
  371. );    
  372.