rem: var td=getContainerOfType(container,"TD"); 
add: var aTypes=new Array("TD","TH"); var td=getContainerOfTypeArray(container,aTypes); 
context: function table_deleteObject(sObjectType){	var container=getSelectedContainer();	if(container!=null)	{		var table=getContainerOfType(container,"TABLE");		if(table!=null)		{			var td=getContainerOfType(container,"TD");			var tr=getContainerOfType(container,"TR");			if(tr!=null && td!=null)			{				var tdindex=td.cellIndex;				switch(sObjectType)				{					//delete the row					case "ROW":						if(table.rows.length>1)table.deleteRow(tr.rowIndex);						break;					//delete each coll at tdindex					case "COL":						if(tr.cells.length>1)						{							for(x=0;x<table.rows.length;x++)							{								table.rows[x].deleteCell(tdindex);							}						}						break;					default:						break;				}			}		}	}}
meta: 5576	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5576/14283051b0e804ceef72a1be74294fcea9dae33f/wym.js/buggy/editor/wym.js