rem: for ( var i = 0 ; i < aAnchors.length ; i++ ) 
add: for ( i = 0 ; i < aAnchors.length ; i++ ) 
context: function LoadAnchorNamesAndIds(){	// Since version 2.0, the anchors are replaced in the DOM by IMGs so the user see the icon 	// to edit them. So, we must look for that images now.	var aAnchors = new Array() ;		var oImages = oEditor.FCK.EditorDocument.getElementsByTagName( 'IMG' ) ;	for( var i = 0 ; i < oImages.length ; i++ )	{		if ( oImages[i].getAttribute('_fckanchor') )			aAnchors[ aAnchors.length ] = oEditor.FCK.GetRealElement( oImages[i] ) ;	}		var aIds = oEditor.FCKTools.GetAllChildrenIds( oEditor.FCK.EditorDocument.body ) ;	bHasAnchors = ( aAnchors.length > 0 || aIds.length > 0 ) ;	for ( var i = 0 ; i < aAnchors.length ; i++ )	{		var sName = aAnchors[i].name ;		if ( sName && sName.length > 0 )			oEditor.FCKTools.AddSelectOption( GetE('cmbAnchorName'), sName, sName ) ;	}	for ( var i = 0 ; i < aIds.length ; i++ )	{		oEditor.FCKTools.AddSelectOption( GetE('cmbAnchorId'), aIds[i], aIds[i] ) ;	}	ShowE( 'divSelAnchor'	, bHasAnchors ) ;	ShowE( 'divNoAnchor'	, !bHasAnchors ) ;}
meta: 1235	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1235/e3f23043ed288727da2247e5542491d451663929/fck_link.js/buggy/reference/library/src/webapp/editor/FCKeditor/editor/dialog/fck_link/fck_link.js