context: FCKTableHandler.InsertColumn = function(){	// Get the cell where the selection is placed in.	var oCell = FCKSelection.MoveToAncestorNode('TD') || FCKSelection.MoveToAncestorNode('TH') ;	if ( !oCell ) return ;		// Get the cell's table.	var oTable = FCKTools.GetElementAscensor( oCell, 'TABLE' ) ;	// Get the index of the column to be created (based on the cell).	var iIndex = oCell.cellIndex + 1 ;	// Loop throw all rows available in the table.	for ( var i = 0 ; i < oTable.rows.length ; i++ )	{		// Get the row.		var oRow = oTable.rows[i] ;			// If the row doens't have enought cells, ignore it.		if ( oRow.cells.length < iIndex )			continue ;				oCell = oRow.cells[iIndex-1].cloneNode(false) ;				if ( FCKBrowserInfo.IsGecko )			oCell.innerHTML = GECKO_BOGUS ;				// Get the cell that is placed in the new cell place.		var oBaseCell = oRow.cells[iIndex] ;		// If the cell is available (we are not in the last cell of the row).		if ( oBaseCell )			oRow.insertBefore( oCell, oBaseCell ) ;	// Insert the new cell just before of it.		else			oRow.appendChild( oCell ) ;				// Append the cell at the end of the row.	}}
meta: 1235	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1235/c3e806dd2e80d30e5028083f65e626da8d5acba4/fcktablehandler.js/clean/reference/library/src/webapp/editor/FCKeditor/editor/_source/internals/fcktablehandler.js