context: FCK.CreateLink = function( url ){	// Remove any existing link in the selection.	FCK.ExecuteNamedCommand( 'Unlink' ) ;	if ( url.length > 0 )	{		// Generate a temporary name for the link.		var sTempUrl = 'javascript:void(0);/*' + ( new Date().getTime() ) + '*/' ;				// Use the internal "CreateLink" command to create the link.		FCK.ExecuteNamedCommand( 'CreateLink', sTempUrl ) ;		// Look for the just create link.		var oLinks = this.EditorDocument.links ;		for ( i = 0 ; i < oLinks.length ; i++ )		{			var oLink = oLinks[i] ;						if ( oLink.href == sTempUrl )			{				var sInnerHtml = oLink.innerHTML ;	// Save the innerHTML (IE changes it if it is like an URL).				oLink.href = url ;				oLink.innerHTML = sInnerHtml ;		// Restore the innerHTML.				return oLink ;			}		}	}	return null ;}
meta: 1235	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1235/c3e806dd2e80d30e5028083f65e626da8d5acba4/fck_ie.js/buggy/reference/library/src/webapp/editor/FCKeditor/editor/_source/internals/fck_ie.js