context: FCKTableHandler._CreateTableMap = function( table ){	var aRows = table.rows ;		// Row and Collumn counters.	var r = -1 ;		var aMap = new Array() ;		for ( var i = 0 ; i < aRows.length ; i++ )	{		r++ ;		if ( !aMap[r] )			aMap[r] = new Array() ;				var c = -1 ;				for ( var j = 0 ; j < aRows[i].cells.length ; j++ )		{			var oCell = aRows[i].cells[j] ;					c++ ;			while ( aMap[r][c] )				c++ ;						var iColSpan = isNaN( oCell.colSpan ) ? 1 : oCell.colSpan ;			var iRowSpan = isNaN( oCell.rowSpan ) ? 1 : oCell.rowSpan ;			for ( var rs = 0 ; rs < iRowSpan ; rs++ )			{				if ( !aMap[r + rs] )					aMap[r + rs] = new Array() ;									for ( var cs = 0 ; cs < iColSpan ; cs++ )				{					aMap[r + rs][c + cs] = aRows[i].cells[j] ;				}			}						c += iColSpan - 1 ;		}	}	return aMap ;}
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