function fckInsertHTML(instance, text)
{
	// Get the editor instance that we want to interact with.
	var oEditor = FCKeditorAPI.GetInstance(instance) ;
	
	// Check the active editing mode.
	if ( oEditor.EditMode == FCK_EDITMODE_WYSIWYG )
	{
		// Insert the desired HTML.
		oEditor.InsertHtml(text) ;
	}
	else
		alert( 'Tem que sair do modo source!' ) ;
}