function myArray(n) {		// define any array-object for browsers pre-3.0
	this.length = n;
	for (var h = 1; h <= n; h++){this[h] = 0}
	return this
}

pList = new myArray(60)	// create object array in head, avoids reload problems
tadr = pList.length;		// total array-data-rows

function item(pNr,pSec,pAdd) {	// create array of objects
	this.pNr=pNr;
	this.pSec=pSec;
	this.pAdd=pAdd;		// first define object type
}

/* Fn(n) to store arguments as array table-items in rows of n+1 items/row,
   n being first argument in list. */

function tdata(trecs) {
    tads = new myArray(trecs+1)				// create substr-arr
    tal = tdata.arguments.length			// get total of rows
//pList[0] = new item("No.","Section","Pathname")
    for (var i = 1; i < tal; i++) {		 	// for @new row
	tad = tdata.arguments[i]			// get argument-str
	for (var j = 1; j < trecs; j++) {		// for @internal comma
	    var y = tad.indexOf(",")			// str into substrs
	    tads[j] = tad.substring(0, y)		// store
	    tad = tad.substring(y+1, tad.length)	// shorten arg-str
	    while (tad.indexOf(" ") == "0" ||		// remove init.blanks
			 tad.indexOf("	") == "0") {	// (incl.tabspace)
		tad = tad.substring(1, tad.length)
	    }			
	}
	tads[trecs] = tad				// store remain-str
	pList[i] = new item(i,tads[1],tads[2])
//alert('pList['+i+']='+pList[i].pNr+'_'+pList[i].pSec+'_'+pList[i].pAdd)
    }
}

tdata(2,
"A,prodnews.htm",
"A,about.htm",
"B,staff/index.htm",
"B,staff/douglaswilliams.htm",
"B,staff/robertchapman.htm",
"B,staff/davidadams.htm",
"B,staff/dennispalmer.htm",
"B,staff/derekadams.htm",
"B,staff/petersawola.htm",
"B,staff/davidsawola.htm",
"C,lights.htm",
"C,lightlev.htm",
"C,colours.htm",
"C,tritium.htm",
"D,products/signs/index.htm",
"D,products/signs/alumdel.htm",
"D,products/signs/namesnos.htm",
"D,products/signs/hnndata.htm",
"D,products/signs/markers.htm",
"D,products/signs/eesysdes.htm",
"D,products/signs/bs5499c.htm",
"D,products/signs/mounting.htm",
"D,products/signs/costs2s.htm",
"D,products/signs/bright.htm",
"D,products/tubes/index.htm",
"D,products/tubes/cyl_l.htm",
"D,products/tubes/square_l.htm",
"D,products/tubes/rect_l.htm",
"D,products/tubes/flat_cyl_l.htm",
"D,products/tubes/flat_rect_l.htm",
"D,products/tubes/arc_cyl_l.htm",
"D,products/tubes/arc_rect_l.htm",
"D,products/tubes/gtspecs.htm",
"D,products/boilie/index.htm",
"D,products/ringpull/index.htm",
"E,shop/index.htm",
"E,shop/buy-nds.htm",
"E,shop/buy-rings.htm",
"E,shop/buy-pulls.htm",
"E,shop/buy-pglo.htm",
"E,shop/terms.htm",
"F,contact.htm",
"F,faqs.htm",
"F,links.htm",
"G,sitelist.htm")
