1 var gTEA = new Array();
\r
4 gTEA[gTEA.length] = new tocEntry(aTE.arguments);
\r
7 function tocEntry(fn_arguments)
\r
9 if (fn_arguments.length < 3)
\r
11 alert ("data format wrong!!!");
\r
15 this.nType = fn_arguments[0];
\r
16 this.nContents = fn_arguments[1];
\r
17 this.sItemName = fn_arguments[2];
\r
19 if (this.nType == 1 || this.nType == 2 || this.nType == 16)
\r
21 if (fn_arguments.length > 3)
\r
23 this.sItemURL = fn_arguments[3];
\r
24 if (fn_arguments.length > 4)
\r
26 this.sTarget = fn_arguments[4];
\r
27 if (fn_arguments.length > 5)
\r
28 this.sIconRef = fn_arguments[5];
\r
32 if (this.nType == 4 || this.nType == 8)
\r
34 if (fn_arguments.length > 3)
\r
36 this.sRefURL = fn_arguments[3];
\r
37 if (fn_arguments.length > 4)
\r
39 this.sItemURL = fn_arguments[4];
\r
40 if (fn_arguments.length > 5)
\r
42 this.sTarget = fn_arguments[5];
\r
43 if (fn_arguments.length > 6)
\r
44 this.sIconRef = fn_arguments[6];
\r
52 function window_OnLoad()
\r
54 if (parent && parent != this && parent.putData) {
\r
55 parent.putData(gTEA);
\r
58 window.onload = window_OnLoad;