function aTableMZ5(objectName){
	var newTable=aObjectMZ5(objectName);

	newTable.getNumRow=function(){
		return this.self.rows.length;
	}//getNumRow

	newTable.getRow=function(index){
		return aRowMZ5(this.self.rows[index]);
	}//getRow

	newTable.setWidth=function(width){
		this.self.width=width;
	}//setWidth

	newTable.getNumColumn=function(){
		//TRY AN ESTIMATE, ASSUME FIRST ROW IS A GOOD REPRESENTATIVE OF ALL ROWS
		if (this.self.rows){
			return this.self.rows[0].cells.length;
		}else{
			return 0;
		}//endif
	}//getNumRow

	newTable.getColumn=function(index){
		return aColumn(this, index);
	}//getColumn

	newTable.getCell=function(rowIndex, colIndex){
		return aCellMZ5(this.self.rows[rowIndex].cells[colIndex]);
	}//getCell

	newTable.getBorderWidth=function(){
		//RETURN THE THICKNESS OF THE OUTER BORDER
		var width=this.self.border;
		if (width) return parseInt(width);
		return 0;
	}//getBorderWidth

	newTable.getCellSpacing=function(){
		//RETURN THE SPACE BETWEEN CELLS
		var width=this.self.cellSpacing;
		if (width) return parseInt(width);
		return 0;
	}//getCellSpacing

	newTable.getCellPadding=function(){
		//RETURN THE SPACE SURROUNDING EACH CELL
		var width=this.self.cellPadding;
		if (!width) return 0;
		////HA! HA! LOOK AT WHAT WE HAVE TO PUT UP WITH!
		//if (parseInt(this.self.border)>0) return parseInt(width)+1;
		return parseInt(width);
	}//getCellSpacing

	return newTable;
}//aTableMZ5

