I want to skip certain items in the array if I remove it it will show 0 any direction it is included in a classic asp page.

<SCRIPT LANGUAGE="JavaScript1.1">
<!-- hide from old browsers

var numDDs = <%= (catTotal+1) %>;
var locs = new make2dArray (numDDs,2);

locs[1][1] = "Go to Page Number...";
locs[1][2] = " ";
locs[2][1] = "Table of Contents";
locs[2][2] = "test.asp";
locs[3][1] = "Pg 1 - test1";
locs[3][2] = "index.asp?pgName=1";
locs[4][1] = "Pg 2 - test2";
locs[4][2] = "index.asp?pgName=2";
locs[5][1] = "Pg 3 - test3";
locs[5][2] = "index.asp?pgName=3";
locs[6][1] = "Pg 4 - test4";
locs[6][2] = "index.asp?pgName=4";
locs[7][1] = "Pg 5 - test5";
locs[7][2] = "index.asp?pgName=5";
locs[8][1] = "Pg 6 - test6";
locs[6][2] = "index.asp?pgName=4";

function make2dArray (x,y) {
var count;
this.length = x;
for (var count = 1; count <= x; count++)
this[count] = new makeArray (y);
}

function makeArray(numElements) {
var Count;
this.length = numElements;
for (var Count = 1; Count <= numElements; Count++)
this[Count] = 0;
return (this);}

function gotoURL(form) {
var url = "";
var item = form.list.selectedIndex;
if (item != -1) { url = locs[item+1][2]; }
if(item==0){return;}
parent.location = url;}

// -->
</SCRIPT>