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

  1. F_NN=navigator.appName=='Netscape';F_MAC=(navigator.appVersion.indexOf('Macintosh')>-1);
  2. document.objectModel=new Array(0);document.F_loaded=false;window.NOFevent=new F_E1();top.F_curObj=null;var NOFparameters=null;var params=NOFparameters;window.defaultStatus="";
  3. function F_cMain(){
  4. this.E4=this.M2();this.commandsInit();
  5. if(navigator.appName!='Netscape')F_F1();
  6. if(!F_NN&&F_MAC){
  7. var t=document.all.tags("A");for(var i=0;i<t.length;i++){t[i].ondragstart=F_dragCancel;}
  8. }
  9. }
  10. function F_dragCancel(){event.cancelBubble=true;event.returnValue=false;}
  11. F_prototype("F_cMain.prototype.",
  12. "M2","F_M2","commandsInit","F_dummy","E2","F_E2","D6",false,
  13. "D7",0 
  14. );
  15. function F_E1(){this.altKey=false;this.button=0;this.ctrlKey=false;this.M9=null;this.shiftKey=false;this.pageY=null;pageY=null;}
  16. function F_F1(){
  17. var ss=document.styleSheets["NOF_STYLE_SHEET"];if(!ss)ss=document.styleSheets[0];
  18. for (var i=0;i<ss.rules.length;i++){
  19. var Y6=ss.rules[i].selectorText.substring(1,999);var theDiv=document.all.tags('DIV')[Y6];var s=ss.rules[i].style
  20. with(theDiv.style){left=s.left;top=s.top;clip=s.clip;zIndex=s.zIndex;visibility=s.visibility;}
  21. }
  22. }
  23. 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;
  24. this.H8=(AO=="chk")|| (AO=="rad")|| (AO=="tfd")|| (AO=="sel")|| (AO=="btn");
  25. this.W4=objectID;this.name=objectID;this.type=AO;this.children=new Object();if(Z7=="")
  26. this.parent=null;else{this.parent=document.objectModel[Z7];if(this.parent!=null){this.parent.children[this.W4]=this;
  27. this.N3=this.parent.N3+1;}
  28. }
  29. this.X1="document.objectModel['"+this.W4+"']";
  30. if(parent!=self){    
  31. this.X1="top.frames['"+self.name+"']."+this.X1;}
  32. if(Y4!=null&&(typeof Y4!="function")){
  33. this.N4=F_A1;this.A2=new Object;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++)
  34. X2[X2.length]=Y4[k];}
  35. }else{
  36. this.N4=Y4;}
  37. this.N1=this;this.N8=new F_E8();
  38. this.E4=document.main.E4[AO];
  39. if(navigator.appName=='Netscape')
  40. {
  41. var Y2=(H7=="")?"":".forms['"+H7+"']";
  42. this.style=(this.parent!=null)?this.parent.style:document;if(Y9!=""){var L2=Y9.split(":");
  43. this.style=this.style.layers[L2[0]];}
  44. this.Q1=this.style.document[objectID];
  45. this.H9=(H7=="")?null:this.style.document.forms[H7];if ((Y2!="")&&(P8!="")){
  46. if(this.H9){
  47. this.Q1=this.H9[P8];if(AO=="rad"){this.Q1=this.radioButtonByValue(this.Q1,AQ);}
  48. }else{F_F6(this.W4+":the form isn't displaying due to a Netscape bug.");}
  49. }
  50. if((AO=="snd")|| (AO=="vrm")){
  51. if(this.style.document.embeds.length>0){this.Q1=this.style.document.embeds[0];}else{this.Q1=null;
  52. }
  53. }
  54. if(AO=="fra")this.Q1=eval(objectID+".document");
  55. if(AO=="img"){
  56. this.Q1=this.style.document.images[0];if(!this.Q1){    
  57. this.Q1=new Image();
  58. }
  59. }
  60. this.W3=this.style;if(Y9=="LayoutLYR"){document.F_layout_left=this.style.left;document.F_layout_top=this.style.top;}
  61. 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);
  62. }else{
  63. if(Y9==""){if(this.parent!=null){this.W3=this.parent.W3
  64. this.style=this.parent.style;}else{this.W3=document;this.style=document.style;}
  65. }else{
  66. this.W3=document.all.tags('DIV')[Y9];this.style=this.W3.style;
  67. }
  68. this.Q1=((objectID!="")&&(AO!="doc")&&(AO!="lyr")&&(AO!="txt")&&(AO!="map"))?
  69. document.all.item(objectID):null;this.H9=(H7=="")?null:document.forms[H7];
  70. if(Y9=="LayoutLYR"){document.F_layout_left=this.style.pixelLeft;document.F_layout_top=this.style.pixelTop;}
  71. this.T3=new F_E7(this.style.pixelLeft,this.style.pixelTop);
  72. }
  73. if((AO=="img")&&(typeof this.Q1!="undefined")&&(this.Q1!=null)){this.images=new Object();
  74. var i='Image 1 (Normal)';this.images[i]=new Object();
  75. this.images[i].source=this.Q1.src;this.images[i].complete=true;
  76. }
  77. }
  78. F_prototype("F_E2.prototype.",
  79. "G3",false,
  80. "C9",true,"N3","1","E3",    "F_E3","dragBoundries",    "'none'","dropCollision",    null,"dragCollision",    null,"D3",null,"N6",false,"move",null,"transition",null,
  81. "O7",null,"F3",    null,"K8","F_K8",
  82. "C4","F_C4",
  83. "D6",false);
  84. F_R7("F_E2.prototype.",
  85. "J3","V2",
  86. "hide","show","B1","U0","shiftZindex1",
  87. "setSource","writeSource",
  88. "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')
  89. {
  90. }else{
  91. F_prototypeIE("F_E2.prototype.","K1","J2","J5","J4","U5","U7","U4","U6","U3","I4","I6","I3","I5",
  92. "I1","I7","I2","J6","J7",
  93. "setIndex","shiftZindex1","B1","U0","K3","K4","radioButtonByValue","setSource","writeSource",
  94. "offset");}
  95. function F_I9(Z3){for ( var P4 in document.objectModel)
  96. if ((document.objectModel[P4].type=="frm")&&(document.objectModel[P4].H9.name==Z3))
  97. return (document.objectModel[P4]);return(null);}
  98. function F_offset(Z0,AN){this.style.offset(Z0,AN);}
  99. 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;}
  100. }
  101. }
  102. 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;}
  103. }
  104. }
  105. this.V7(newIndex);}
  106. }
  107. }
  108. function F_IE_setIndex(newIndex){
  109. 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;}
  110. }
  111. }
  112. 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;}
  113. }
  114. }
  115. this.V7(newIndex);}
  116. }
  117. }
  118. 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];}
  119. }
  120. this.V7(O.length);for (var i=Y7+1;i<O.length;i++){O[i].zIndex=i-1;}
  121. }
  122. this.V7(O.length-1);}
  123. 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"){var X5=children[i].style.zIndex;if(X5>=Y7)A[X5]=i;}
  124. }
  125. this.V7(A.length);for (var i=Y7+1;i<A.length;i++){children[A[i]].style.zIndex=i-1;}
  126. }
  127. this.V7(A.length-1);}
  128. 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];}
  129. }
  130. this.V7(1);for (var i=1;i<Y7;i++){O[i].zIndex=i+1;}
  131. }
  132. }
  133. 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"){var X5=children[i].style.zIndex;if(X5<=Y7)A[X5]=i;}
  134. }
  135. this.V7(1);for (var i=1;i<Y7;i++){
  136. children[A[i]].style.zIndex=i+1;}
  137. }
  138. }
  139. 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);}
  140. }
  141. }
  142. return(false);}
  143. 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"){if(children[i].style.zIndex==Y7){children[i].style.zIndex=Y7 - dir;this.V7(Y7);return(true);}
  144. }
  145. }
  146. }
  147. return(false);}
  148. function F_show(){sendMsg(this.W4,'Shown','','',false);this.V6('inherit');}
  149. function F_hide(){this.V6('hidden');sendMsg(this.W4,'Hidden','','',false);}
  150. 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;}
  151. }
  152. function F_M8(){Y8=this;while(Y8.type!="doc"){
  153. if((Y8.style.visibility=="hidden")|| (Y8.style.visibility=="hide"))return(false);Y8=Y8.parent;}
  154. return(true);}
  155. function F_V3(parm)
  156. {
  157. this.V4(parm.y);this.V1(parm.x);}
  158. function F_restorePosition(parm)
  159. {this.style.top=parm.y;this.style.left=parm.x;}
  160. function F_J9(parm){return(new F_Parm('x',this.J2(parm),'y',this.K1(parm)));}
  161. 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
  162. this.style.top=parseInt(AQ);}
  163. 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
  164. this.style.left=parseInt(AQ);}
  165. function F_U7(AQ){this.style.clip.top=AQ;}
  166. function F_U4(AQ){this.style.clip.left=AQ;}
  167. function F_U6(AQ){this.style.clip.right=AQ;}
  168. function F_U3(AQ){this.style.clip.bottom=AQ;}
  169. function F_K6(){if((this.type=="map")|| (this.H8))
  170. return(parseInt(this.parent.style.zIndex));return(parseInt(this.style.zIndex));}
  171. function F_V7(Y7){this.style.zIndex=Y7;}
  172. function F_J2(parm){if(parm=='screen'){return(this.style.pageX);}
  173. if(parm=='absolute'){return(this.style.pageX-document.F_layout_left);
  174. }
  175. if(parm=='style')
  176. return(this.style.left);
  177. return(parseInt(this.style.left));
  178. }
  179. function F_K1(parm){if(parm=='screen'){return(this.style.pageY);}
  180. if(parm=='absolute'){return(this.style.pageY-document.F_layout_top);
  181. }
  182. if(parm=='style')
  183. return(this.style.top);
  184. return(parseInt(this.style.top));}
  185. function F_J5(){var AN=this.K1();Y8=this.parent;while (Y8!=null){AN+=Y8.K1();Y8=Y8.parent;}
  186. return(AN);}
  187. function F_J4(){var Z0=this.J2();Y8=this.parent;while (Y8!=null){Z0+=Y8.J2();Y8=Y8.parent;}
  188. return(Z0);
  189. }
  190. function F_I6(){return(parseInt(this.style.clip.top));}
  191. function F_I3(){return(parseInt(this.style.clip.left));}
  192. function F_I5(){return(parseInt(this.style.clip.right));}
  193. function F_I1(){return(parseInt(this.style.clip.bottom));}
  194. function F_I7(){return(parseInt(this.style.clip.right)- parseInt(this.style.clip.left));}
  195. function F_I2(){return(parseInt(this.style.clip.bottom)- parseInt(this.style.clip.top));}
  196. function F_NOP(){return(0);}
  197. function F_K2(){
  198. return(parseInt(this.I7()));
  199. }
  200. function F_J1(){
  201. return(parseInt(this.I2()));
  202. }
  203. function F_J6(){return(window.pageXOffset);}
  204. function F_J7(){return(window.pageYOffset);}
  205. function F_K3(){return(window.innerHeight);}
  206. function F_K4(){return(window.innerWidth);}
  207. function F_setSource(s){if(s!="")
  208. this.style.src=s;}
  209. function F_writeSource(s){this.style.document.open();this.style.document.write(s);this.style.document.close();}
  210. function F_IE_setSource(s){if(s!="")
  211. this.W3.innerHTML="<OBJECT TYPE='text/x-scriptlet' WIDTH="+this.K2()+" HEIGHT="+this.J1()+" DATA='"+s+"'></OBJECT>";}
  212. function F_IE_writeSource(s){this.W3.innerHTML=s;}
  213. function F_K5(){return(0);}
  214. function F_IE_offset(Z0,AN){this.style.left=(this.style.pixelLeft+Z0);this.style.top=(this.style.pixelTop+AN);}
  215. function F_IE_V4(AQ){if((this.parent!=null)&&((this.parent.type=='lyr')|| (this.parent.type=='doc'))){var t=this.parent.K1('absolute')- this.K1('absolute')+this.style.top+parseInt(AQ);this.style.top=t;}else
  216. this.style.top=AQ;}
  217. function F_IE_V1(AQ){this.style.left=AQ;}
  218. function F_IE_J2(parm){if(parm=='screen'){return(this.J4());}
  219. if(parm=='absolute'){return(this.J4()-document.F_layout_left);}
  220. if(parm=='style')
  221. return(this.style.pixelLeft);
  222. return(parseInt(this.style.pixelLeft));}
  223. function F_IE_K1(parm){if(parm=='screen'){return(this.J5());}
  224. if(parm=='absolute')
  225. return(this.J5()-document.F_layout_top);if(parm=='style')
  226. return(this.style.pixelTop);
  227. return(this.style.pixelTop);}
  228. function F_IE_J5(){
  229. var AN=this.W3.offsetTop;Y8=this.parent;while (Y8!=null){AN+=Y8.W3.offsetTop;Y8=Y8.parent;}
  230. return(AN);}
  231. function F_IE_J4(){
  232. var Z0=this.W3.offsetLeft;Y8=this.parent;while (Y8!=null){Z0+=Y8.W3.offsetLeft;
  233. Y8=Y8.parent;}
  234. return(Z0);
  235. }
  236. function F_IE_I4(){
  237. var clip=this.style.clip;if((clip.substring(0,4)=="rect")&&(clip.charAt(clip.length-1)==")")){var theRect=clip.substring(5,999).split("px");return(new F_E9(parseInt(theRect[3]),parseInt(theRect[0]),parseInt(theRect[1]),parseInt(theRect[2])));}
  238. if(this.W4=="Layout")return(new F_E9(0,0,1000,1000));
  239. return(new F_E9(0,0,this.W3.offsetWidth,this.W3.offsetHeight));}
  240. function F_IE_I6(){return(this.I4().top);}
  241. function F_IE_I3(){return(this.I4().left);}
  242. function F_IE_I5(){return(this.I4().right);}
  243. function F_IE_I1(){return(this.I4().bottom);}
  244. function F_IE_I7(){return(this.I4().right - this.I4().left);}
  245. function F_IE_I2(){return(this.I4().bottom - this.I4().top);}
  246. function F_IE_U5(theRect){this.style.clip="rect("+theRect.top+"px "+theRect.right+"px "+theRect.bottom+"px "+theRect.left+"px)";
  247. }
  248. function F_IE_U7(AQ){var theRect=this.I4();theRect.top=AQ;this.U5(theRect);}
  249. function F_IE_U4(AQ){var theRect=this.I4();theRect.left=AQ;this.U5(theRect);}
  250. function F_IE_U6(AQ){var theRect=this.I4();theRect.right=AQ;this.U5(theRect);}
  251. function F_IE_U3(AQ){var theRect=this.I4();theRect.bottom=AQ;this.U5(theRect);}
  252. function F_IE_J6(){return(parseInt(document.body.scrollLeft));}
  253. function F_IE_J7(){return(parseInt(document.body.scrollTop));}
  254. function F_IE_K3(){return(document.body.clientHeight);}
  255. function F_IE_K4(){return(document.body.clientWidth);}
  256. function F_K8(msg)
  257. {top.F_curObj=this;if(this.H8&&(typeof(this.Q1)=="undefined"))
  258. return(null);if(msg!=null)
  259. {this.N1.O7=msg;this.N1=msg;}
  260. if(this.O7!=null)
  261. {this.N8.R8(this.F3);
  262. this.F3=this.O7;this.O7=this.F3.O7;
  263. this.F3.O7=null;if (this.O7==null)this.N1=this;
  264. if(this.N4!=null)this.N4(this.F3);if(this.E3!=null)this.E3(this.F3);
  265. if(this.F3.B5)
  266. for (var C5 in this.children){this.F3.T5(this.children[C5]);}
  267. var returnValue=this.F3.returnValue;this.F3=null;
  268. this.C4();
  269. this.F3=this.N8.R6();
  270. return(returnValue);}
  271. }
  272. function F_C4(){setTimeout(this.X1+".K8(null)",1);}
  273. function F_A1(msg){var t=null;if(typeof this.A2[msg.message]!="undefined"){
  274. top.F_curObj=this;NOFparameters=F_paramObject(msg,top.F_curObj);params=NOFparameters;var X2=this.A2[msg.message];if(X2){for( var i=0;i<(X2.length - 3);i=i+4){
  275. if(F_ckM(msg,msg.message)){
  276. if(typeof X2[i]=="function")
  277. msg.returnValue=X2[i]();else{
  278. var P=X2[i+2];
  279. var Parm=P;if(typeof P=="object"){if (P[0]=="msg")
  280. Parm=sendMsg(P[1],P[2],P[3],null);if (P[0]=="exp"){var func=new Function("return("+P[1]+")");Parm=func();if(typeof Parm=="undefined")Parm=new Object();if((typeof Parm=="object")&&(Parm!=null))Parm.J8=F_getParm2;}
  281. }
  282. t=sendMsg(X2[i],X2[i+1],Parm,this,X2[i+3]);msg.returnValue=t;}
  283. }
  284. }
  285. }
  286. }
  287. return(t);}
  288. function F_errorMessage (errorMessage,errorURL,errorLineNo){alert("Error with user added action:'"+msg.message+"'.");return false;}
  289. function F_E3(msg){if(typeof this.E4[msg.message]!="undefined"){
  290. if(F_ckM(msg,msg.message)){
  291. NOFparameters=F_paramObject(msg,top.F_curObj);params=NOFparameters;
  292. window.onerror=F_errorMessage;with(this){eval(E4[msg.message]);}
  293. window.onerror=new Function("return(false)");}
  294. }
  295. }
  296. function F_ckM(msg,AI){
  297. if((msg.message==AI)&&(msg.S3==false))msg.B4=true;return(msg.message==AI);}
  298. function F_T5(AJ)    {
  299. if(this.B4==false){if(typeof AJ=="undefined"){F_F6("bad target;msg:'"+this.message+"'");
  300. }else{if(!AJ.K8){F_F6("bad target;msg:'"+this.message+"'");
  301. }else{var t=AJ.K8(this);return(t);}
  302. }
  303. }else{return(null);}
  304. }
  305. function sendMsg(AL,O4,O3,AG,X4)    {if (sendMsg.arguments.length==4)
  306. msg=new F_cMessage(O4,O3,false,AG);else if (sendMsg.arguments.length==5)
  307. msg=new F_cMessage(O4,O3,X4,AG);else
  308. msg=new F_cMessage(O4,new F_Parm(),false,null);
  309. if (document.F_loaded){
  310. var targetArray=AL.split(":");
  311. if(targetArray[0]=="_parent"){    
  312. if(O4=="Go To"){F_framesetGotoURL(O3);
  313. return(false);}else{F_F6("targeting frameset with an invalid message");return(false);}
  314. }
  315. if(targetArray.length==2){
  316. var d=parent[targetArray[0]].document;if ((d.objectModel)&&(d.objectModel[targetArray[1]])&&(d.F_loaded)){var target=parent[targetArray[0]].document.objectModel[targetArray[1]];}else{
  317. msg.target=targetArray[1];msg.targetFrame=targetArray[0];frameQueue.R8(msg);
  318. return(null);}
  319. }else{var target=document.objectModel[AL];}
  320. var t=msg.T5(target);
  321. return(t);}else{msg.target=AL;N8.R8(msg);
  322. return(null);}
  323. }
  324. function F_checkFrameQueue(){while (frameQueue.L9>0){
  325. var msg=frameQueue.R6()
  326. var d=parent[msg.targetFrame].document;if ((d.objectModel)&&(d.objectModel[msg.target])&&(d.F_loaded)){var target=parent[msg.targetFrame].document.objectModel[msg.target];msg.T5(target);
  327. }else{frameQueue.R8(msg);top.setTimeout("top.frames['"+self.name+"'].F_checkFrameQueue();",100);break;}
  328. }
  329. }
  330. function sendMsgToFrame(AL,O4,O3,AG,X4,AK)    {if (document.objectModel!=null){
  331. msg=new F_cMessage(O4,O3,X4,AG);
  332. var target=eval(AK+".document.objectModel["+AL+"]");return(msg.T5(target));}
  333. }
  334. function F_cMessage(msg,X7,X4,AG){this.message=msg;this.data=X7;this.B5=X4;this.S3=true;this.B4=false;this.O7=null;
  335. this.T8=AG;this.T9=null;this.T5=F_T5;
  336. }
  337. function F_M2(){var F_E4=new Object();var a=new Array("img","txt","chk","rad","frm","tfd","sel","btn","doc","lyr","wht","win","map","tln","shk","snd","vid","act","nav","tbl","jav","com","jbn","frm","vrm","nbt","fra","fst");for (var i=0;i<a.length;i++)
  338. F_E4[a[i]]=new F_B7(a[i]);    
  339. return(F_E4);}
  340. function F_B7(AO){
  341. }
  342. function F_dummy(){
  343. }
  344. function F_A6 (Z5,X6){for( var i=0;i<(X6.length - 1);i=i+2)
  345. Z5[X6[i]]=X6[i+1];    
  346. }
  347. function F_A5(Z5,Z2){var s="Set ";if (Z2=="J3")s="Get ";
  348. for(var i=2;i<F_A5.arguments.length;i++){var t=F_A5.arguments[i];Z5[s+t]="this."+Z2+"('"+t.toLowerCase()+"')";}
  349. }
  350. function F_T4(Y8){for (var i=0;i<Y8.Q1.length;i++){if (Y8.Q1.options[i].defaultSelected==true)
  351. Y8.Q1.options[i].selected=true;}
  352. }
  353. function F_J3(theProperty){msg.returnValue=this.Q1[theProperty];}
  354. function F_V2(theProperty){this.Q1[theProperty]=msg.data;}
  355. function F_S1(AC){for(var i=0;i<AC.length;i++)
  356. if(AC[i].checked)
  357. return(AC[i]);return(AC[0]);}
  358. function F_radioButtonByValue(AC,AQ){if(AC){if((typeof AC.length)=="undefined"){    
  359. return(AC)
  360. }else{for(var i=0;i<AC.length;i++)
  361. if(AC[i])
  362. if(AC[i].value==AQ){return(AC[i]);}
  363. }
  364. }
  365. return(null);}
  366. function F_IE_radioButtonByValue(AC,AQ){return(AC);}
  367. function F_prototype (AE){for(var i=1;i<F_prototype.arguments.length;i=i+2)
  368. eval(AE+F_prototype.arguments[i]+"="+F_prototype.arguments[i+1]);}
  369. function F_R7 (AE){for(var i=1;i<F_R7.arguments.length;i++)
  370. eval(AE+F_R7.arguments[i]+"=F_"+F_R7.arguments[i]);}
  371. function F_prototypeIE (AE){for(var i=1;i<F_prototypeIE.arguments.length;i++)
  372. eval(AE+F_prototypeIE.arguments[i]+"=F_IE_"+F_prototypeIE.arguments[i]);}
  373. function F_K7(AP){var relative=AP.indexOf(':')<0;var p=AP.split(':')[0];var f=AP.split('.');var t=f[f.length-1].toLowerCase();if((relative ||(p=="http")||(p=="shttp")||(p=="https")||(p=="file"))&&((t!="wav")&&(t!="au")&&(t!="aif")&&(t!="mid")&&(t!="rmf")&&(t!="avi")&&(t!="mov")&&(t!="mpg"))){if(!document.main.D6){document.main.D6=true;this.AP=AP;sendMsg(document.F_topObject,'Page Exiting','',null,true);sendMsg(document.F_topObject,'Check Closing','',null);}
  374. }else{
  375. if(AP!="Javascript:void(0)")
  376. document.location.href=AP;}
  377. }
  378. top.D6=false;
  379. function F_framesetGotoURL(AP){if(!top.D6){top.D6=true;top.AP=AP;for(var i=0;i<parent.frames.length;i++){with(top.frames[i].document){if(F_topObject){main.D6=true;sendMsg(top.frames[i].name+":"+F_topObject,'Page Exiting','',null,true);}
  380. }
  381. }
  382. sendMsg(document.F_topObject,'Check Closing','',null);}
  383. }
  384. function F_C2(){if(!top.D6){    
  385. if (document.main.D7==0){document.location.href=this.AP;document.main.D6=false;}
  386. }else{    
  387. var c=0;for(var i=0;i<parent.frames.length;i++){with(top.frames[i].document){if(F_topObject){c+=main.D7;}
  388. }
  389. }
  390. if(c==0)
  391. top.location.href=top.AP;}
  392. }
  393. function F_E9(Z0,AN,AF,X3){this.left=Z0;this.top=AN;this.right=AF;this.bottom=X3;
  394. }
  395. function F_E7(AT,AU){this.x=AT;this.y=AU;}
  396. function F_E8 (){this.AA=new Array(0);this.L9=0;this.R8=F_S0;this.R6=F_R9;}
  397. function F_R9(){var AQ=this.AA[--this.L9];this.AA[this.L9]=null;return(AQ);}
  398. function F_S0(Z5){this.AA[this.L9++]=Z5;}
  399. function F_T2 ( Z4){if (Z4>0)return(Math.ceil(Z4));else return(Math.floor(Z4));}
  400. function F_U8()
  401. {if(document.main.D6){this.D6=true;document.main.D7++;}
  402. }
  403. function F_S5()
  404. {if(this.D6){document.main.D7--;sendMsg(document.F_topObject,'Check Closing','',null);}
  405. }
  406. function F_V5(){document.F_dragLayer=null;if(navigator.appName=='Netscape')
  407. {document.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN);document.captureEvents(Event.MOUSEDOWN);document.onmousedown=F_P0;document.onmouseup=F_mouseUp;
  408. document.onmousemove=F_nn_mouseMove;window.offscreenBuffering=true;
  409. }else{
  410. document.onmousemove=F_L6;document.ondragstart=F_L4;document.onmouseup=F_IE_mouseUp;
  411. }
  412. }
  413. var e;function F_setEvent(e){if(navigator.appName=='Netscape'){F_P2(e);}else{F_ie_setEvent();}
  414. }
  415. function F_P2(e){
  416. window.NOFevent.pageX=e.pageX;window.NOFevent.pageY=e.pageY;}
  417. function F_ie_setEvent(){
  418. window.NOFevent.pageX=window.event.clientX;window.NOFevent.pageY=window.event.clientY;}
  419. function F_nn_mouseMove (e){F_P2(e);if ((document.F_dragLayer!=null)&&(document.F_dragLayer.length>0)){
  420. var d=document.F_dragLayer[0].layer;if((document.F_dragLayer.length==1)&&(d.fastDrag)){var BA=d.Q4 - e.pageX;var BB=d.Q5 - e.pageY;d.Q4=d.Q4 - BA;d.Q5=d.Q5 - BB;d.offset (-BA,-BB);}else{F_drag (e.pageX,e.pageY);}
  421. return false;}
  422. }
  423. function F_clickedOnImage (N9,O1,imageRef){var AE=null;var topRef=imageRef;for (var i in imageRef.children){AE=imageRef.children[i];if (F_R4(AE,N9,O1))
  424. topRef=AE;}
  425. return(topRef);}
  426. function F_R4(P4,N9,O1){    
  427. if (P4.C9&&P4.M8()&&!P4.N6&&P4.type!="map"){var Z0=P4.J2('screen')+P4.I3();var AN=P4.K1('screen')+P4.I6();
  428. if ( (N9>=Z0)
  429. &&(N9<=(Z0+P4.K2()- 1))
  430. &&(O1>=AN)
  431. &&(O1<=(AN+P4.J1()- 1)))
  432. return(true)
  433. else    return(false);}
  434. if (P4.type=="map"&&P4.parent.M8()){var x=P4.parent.J2('screen');var y=P4.parent.K1('screen');if(P4.N5=="rect"){var Z0=x+P4.map.left;var AN=y+P4.map.top;var AF=x+P4.map.right;var X3=y+P4.map.bottom;if ( (N9>=Z0)
  435. &&(N9<=AF)
  436. &&(O1>=AN)
  437. &&(O1<=X3))
  438. return(true)
  439. else
  440. return(false);}else
  441. if(P4.N5=="poly"){var AT=N9 - x;var AU=O1 - y;if ( F_D2(AT,AU,P4.map))
  442. return(true)
  443. else
  444. return(false);}else
  445. if(P4.N5=="circ"){
  446. var AT=N9 - x - P4.map.x;var AU=O1 - y - P4.map.y;if ( Math.sqrt((AT * AT)+(AU * AU))<=P4.map.radius)
  447. return(true)
  448. else
  449. return(false);}
  450. }
  451. }
  452. function F_D2(x,y,R5){var c=false;var p1=R5[R5.length-1];for (var i=0;i<R5.length;i++){p2=R5[i];if((((p1.y<=y)&&(y<p2.y))||
  453. ((p2.y<=y)&&(y<p1.y)))&&
  454. (x<(p2.x - p1.x)* (y - p1.y)/ (p2.y - p1.y)+p1.x))
  455. c=!c;;p1=p2;}
  456. return(c);}
  457. function F_P0 (e){F_setEvent(e);var S9=routeEvent(e);return(S9);
  458. }
  459. function F_L6 (){if ((document.F_dragLayer!=null)&&(document.F_dragLayer.length>0)){
  460. var d=document.F_dragLayer[0].layer;if((document.F_dragLayer.length==1)&&(d.fastDrag)){if(typeof d.Q4=="undefined"){d.Q4=event.clientX;d.Q5=event.clientY;}
  461. var BA=d.Q4 - event.clientX;var BB=d.Q5 - event.clientY;d.Q4=d.Q4 - BA;d.Q5=d.Q5 - BB;d.style.left=(d.style.pixelLeft -BA);d.style.top=(d.style.pixelTop -BB);}else{F_drag (event.clientX,event.clientY);}
  462. event.returnValue=false;}
  463. }
  464. function F_L4 (){
  465. event.returnValue=false;
  466. }
  467. function F_mouseUp (e){F_setEvent(e);if(document.F_dragLayer!=null){for(var i=(document.F_dragLayer.length-1);i>-1;i--){if(document.F_dragLayer)
  468. if(document.F_dragLayer[i]){var dObj=document.F_dragLayer[i];if(dObj.type=="Until Mouse Up"){dObj.layer.endDrag();}
  469. }
  470. }
  471. }
  472. var S9=routeEvent(e);
  473. return true;}
  474. function F_IE_mouseUp (e){F_ie_setEvent();if(document.F_dragLayer!=null){for(var i=(document.F_dragLayer.length-1);i>-1;i--){if(document.F_dragLayer)
  475. if(document.F_dragLayer[i]){var dObj=document.F_dragLayer[i];if(dObj.type=="Until Mouse Up"){dObj.layer.endDrag();}
  476. }
  477. }
  478. }
  479. }
  480. var    N8=new F_E8();    
  481. var    frameQueue=new F_E8();    
  482. function F_pageLoaded(Y6){window.status="Finishing";F_V5();if(Y6==null)F_F6("ERROR:no parameter passed to F_pageLoaded()");
  483. document.F_topObject=Y6;document.D3=null;F_addCommandCallback ();
  484. document.F_loaded=true;while (N8.L9>0){
  485. var msg=N8.R6()
  486. msg.T5(document.objectModel[msg.target]);
  487. }
  488. window.status=F_barError;
  489. sendMsg(Y6,'Page Loaded','',null,true);if(parent!=self)    
  490. top.setTimeout("top.frames['"+self.name+"'].F_checkFrameQueue();",100);    
  491. }
  492. function F_paramObject(msg,P4){
  493. if(P4==null)P4=new Object();var t={element:P4.Q1,container:P4.W3,containerStyle:P4.style,id:P4.W4,type:P4.type,objectRef:P4,childRefs:P4.children,parentRef:P4.parent,form:P4.H9,message:msg};
  494. return(t);}
  495. function F_getReference(id){return(window.document.objectModel[id]);}
  496. function F_sendMessage(theTargetID,O4,O3,X4){if(typeof O3=="object")
  497. O3.J8=F_getParm2;return(sendMsg(theTargetID,O4,O3,null,X4));}
  498. function F_e(AJ,Y1){
  499. var d=document.objectModel[AJ];
  500. if ((document.F_loaded)&&(!F_NN)&&!((event.srcElement.id==AJ)||(event.srcElement.id==AJ+"LYR"))&&(d.type!="map")&&(d.type!="img")){
  501. event.cancelBubble=true;return(false);}
  502. if(navigator.appName!='Netscape'){
  503. F_ie_setEvent();}
  504. if(Y1==F_MD){
  505. var t=AJ;if(d.type=="img")
  506. t=F_clickedOnImage(window.NOFevent.pageX,window.NOFevent.pageY,d).W4;
  507. F_sndMsg(t,Y1,'');if(F_MAC)
  508. return(t!=AJ);
  509. else
  510. return(true)
  511. }
  512. if(Y1==F_MU){
  513. if(document.F_dragLayer!=null){for(var i=(document.F_dragLayer.length-1);i>-1;i--){if(document.F_dragLayer){if(document.F_dragLayer[i]){var dObj=document.F_dragLayer[i];if(dObj.type=="Until Mouse Up"){dObj.layer.endDrag();}
  514. }
  515. }
  516. }
  517. }
  518. if((document.F_loaded)&&(d.type=="img"))
  519. AJ=F_clickedOnImage(window.NOFevent.pageX,window.NOFevent.pageY,d).W4;F_sndMsg(AJ,Y1,'');
  520. return(true);}
  521. if(Y1==F_MV){
  522. if (document.F_loaded){var c=true;var d=document.objectModel[AJ];if (typeof d.A2!="undefined"){    
  523. var A=d.A2['Clicked'];if (typeof A!="undefined"){for( var i=0;i<(A.length - 3);i=i+4){
  524. if(A[i+1]=="Go To")
  525. c=false;
  526. }
  527. }
  528. }
  529. if(c){
  530. window.status="";F_sndMsg(AJ,Y1,'');return(true)
  531. }
  532. }
  533. }
  534. if(Y1==F_HR){
  535. F_sndMsg(AJ,F_CL,'')
  536. return(void(0));}
  537. F_sndMsg(AJ,Y1,'');if((typeof document.objectModel!="undefined")&&(typeof document.objectModel[AJ]!="undefined")&&
  538. (document.objectModel[AJ].H8))return(true);
  539. return(false)
  540. }    
  541. function F_n(AJ,AP){if(document.F_loaded){F_sndMsg(AJ,'Go To',AP);}
  542. return(false);}    
  543. function F_sndMsg(AJ,Y1,Z8){
  544. sendMsg(AJ,Y1,Z8,null,false);}
  545. function F_s(p,l,t,i,v,c){    
  546. return("position:"+p+";left:"+l+";top:"+t+";z-L9:"+i+";visibility:"+v+";clip:rect("+c+")");}    
  547. var F_A="Abort";
  548. var F_B="Blur";
  549. var F_CH="Change";
  550. var F_CL="Clicked";
  551. var F_DB="Double Clicked";    
  552. var F_E="Error";
  553. var F_F="Focus";
  554. var F_L="Loaded";
  555. var F_MT="Mouse Out";
  556. var F_MV="Mouse Over";
  557. var F_MU="Mouse Up";
  558. var F_MD="Mouse Down";
  559. var F_R="Reset";
  560. var F_SE="Select";
  561. var F_SU="Submit";
  562. var F_U="Unload";
  563. var F_HR="Map";
  564. function F_Parm(){var ob=new Object();ob[0]="parm";for(var i=0;i<F_Parm.arguments.length;i=i+2)
  565. ob[F_Parm.arguments[i]]=F_Parm.arguments[i+1];ob.J8=F_getParm2;return(ob);}
  566. function F_getParm2(Z6,X8){return(typeof(this[Z6])!="undefined"?this[Z6]:X8);}
  567. function F_Exp(t){var ob=new Object();ob[0]="exp";ob[1]=t;ob.J8=F_getParm2;return(ob);}
  568. function F_Action(AL,O4,O3,X4){var P=O3;if(typeof P=="object"){if (P[0]=="msg"){P=sendMsg(P[1],P[2],P[3],null);}
  569. if (P[0]=="exp"){var func=new Function("return("+P[1]+")");NOFparameters=F_paramObject(msg,top.F_curObj);params=NOFparameters;var P=func();if(typeof P=="undefined")P=new Object();if((typeof P=="object")&&(P!=null))P.J8=F_getParm2;}
  570. }
  571. var t=sendMsg(AL,O4,P,null,X4);return(t);}
  572. function F_Msg(a,b,c){var ob=new Array();ob[0]="msg";ob[1]=a;ob[2]=b;ob[3]=c;return(ob);}
  573. function F_OM(objectID,Y9,AO,Z7){var parms=F_OM.arguments.length;var Y4=(parms<5)?null:F_OM.arguments[4];var H7=(parms<6)?"":F_OM.arguments[5];var isRelative=(parms<7)?false:F_OM.arguments[6];var P8=(parms<8)?false:F_OM.arguments[7];var AQ=(parms<9)?null:F_OM.arguments[8];if(typeof document.objectModel[objectID]!="undefined")F_F6("Duplicate Object ID:"+objectID);
  574. document.objectModel[objectID]=new document.main.E2(Y9,AO,Z7,Y4,isRelative,objectID,H7,P8,AQ);}
  575. function F_OM_Map(objectID,Z1,Z7,Y4){F_OM(objectID,"","map",Z7,Y4);document.objectModel[objectID].N5=Z1;if(Z1=="rect"){document.objectModel[objectID].map=new F_E9(F_OM_Map.arguments[4],F_OM_Map.arguments[5],F_OM_Map.arguments[6],F_OM_Map.arguments[7]);}
  576. if(Z1=="circ"){document.objectModel[objectID].map=new Object();document.objectModel[objectID].map.x=F_OM_Map.arguments[4];document.objectModel[objectID].map.y=F_OM_Map.arguments[5];document.objectModel[objectID].map.radius=F_OM_Map.arguments[6];}
  577. if(Z1=="poly"){document.objectModel[objectID].map=new Array(0);var L9=0;    
  578. for(var i=4;i<F_OM_Map.arguments.length;i=i+2)
  579. document.objectModel[objectID].map[L9++]=new F_E7(F_OM_Map.arguments[i],F_OM_Map.arguments[i+1]);}
  580. }
  581. var F_commandObjects=new Array();var F_commandCommands=new Array();var F_commandExpression=new Array();
  582. function F_addCommand (Z5,theCommand,theExpression){F_commandObjects[F_commandObjects.length]=Z5;F_commandCommands[F_commandCommands.length]=theCommand;F_commandExpression[F_commandExpression.length]=theExpression;}
  583. function F_addCommandCallback (){for(var j=0;j<F_commandObjects.length;j++){var a=F_commandObjects[j].split(",");for(var i=0;i<a.length;i++){if( typeof document.main.E4[a[i]]!="undefined")
  584. document.main.E4[a[i]][F_commandCommands[j]]=F_commandExpression[j];if(a[i]="vis"){var b=new Array ("img","txt","lyr","nav","tbl");for (var k=0;k<b.length;k++){document.main.E4[b[k]][F_commandCommands[j]]=F_commandExpression[j];}
  585. }
  586. }
  587. }
  588. }
  589. function F_onLoaded(){
  590. window.F_doLoaded=F_doLoaded;var t=    'window.F_doLoaded();'
  591. if(parent!=self){    
  592. t="top.frames['"+self.name+"']."+t;}
  593. top.setTimeout(t,100);
  594. }
  595. document.F_debugEnabled=false;
  596. function F_F6(m){if(document.F_debugEnabled){
  597. F_barError='**** ERROR **** '+m
  598. window.status=F_barError;window.defaultStatus=F_barError;}
  599. }
  600.