Array Question (Double Array)

Hello Everybody,

I defined an array like this newArray = []; and seems to work preety well, but I need this array to be a double array, but it doesn’t let me define it this way newArray = [][];

can you help me out with my code?, my array is called “teamID”

[AS]
NFL = this.firstChild;
weekNumber = NFL.attributes.week;
matchupNumber = [];
teamID = ([], []); //This one is my problem!!!
total = NFL.childNodes.length;

    for (i=0; i<total; i++) {

        matchupNumber* = NFL.childNodes*;

        for (j=0; j<2; j++) {

            teamID*[j] = matchupNumber*.childNodes[j]; //How should I define it to make THIS work?
       }

[/AS]

Although, if I work it “SINGLE” array it works fine, but I really need it to be a “DOUBLE” array, the SINGLE array looks like:

[AS]
NFL = this.firstChild;
weekNumber = NFL.attributes.week;
matchupNumber = [];
teamID = []; //This way is a SINGLE array
total = NFL.childNodes.length;

    for (i=0; i<total; i++) {

        matchupNumber* = NFL.childNodes*;

        for (j=0; j<2; j++) {

            teamID[j] = matchupNumber*.childNodes[j]; //This way it works, but its single
       }

[/AS]