2 var gTEA = new Array();
5 gTEA[gTEA.length] = new tocEntry(aTE.arguments);
8 function tocEntry(fn_arguments)
10 if (fn_arguments.length < 3)
12 alert ("data format wrong!!!");
16 this.nType = fn_arguments[0];
17 this.nContents = fn_arguments[1];
18 this.sItemName = fn_arguments[2];
20 if (this.nType == 1 || this.nType == 2 || this.nType == 16)
22 if (fn_arguments.length > 3)
24 this.sItemURL = fn_arguments[3];
25 if (fn_arguments.length > 4)
27 this.sTarget = fn_arguments[4];
28 if (fn_arguments.length > 5)
29 this.sIconRef = fn_arguments[5];
33 if (this.nType == 4 || this.nType == 8)
35 if (fn_arguments.length > 3)
37 this.sRefURL = fn_arguments[3];
40 if(this.sRefURL.lastIndexOf("/")!=this.sRefURL.length-1)
43 if (fn_arguments.length > 4)
45 this.sItemURL = fn_arguments[4];
46 if (fn_arguments.length > 5)
48 this.sTarget = fn_arguments[5];
49 if (fn_arguments.length > 6)
50 this.sIconRef = fn_arguments[6];
58 function window_OnLoad()
60 if (parent && parent != this && parent.putData) {
64 window.onload = window_OnLoad;