var comment_fields_erased = false;

function comment_erase_fields(f)
{
	if( comment_fields_erased == false )
	{
		comment_fields_erased = true;

		// Erase the title.
		f.comment_title.value='';

		// If the browser is IE, we can set the contents of the forum_comment_text field.
		var oEditor = FCKeditorAPI.GetInstance('comment_text') ;

		// Set the editor contents to blank
		oEditor.SetHTML( '' ) ;
	}
}


function answer_erase_fields(f)
{
	if( comment_fields_erased == false )
	{
		comment_fields_erased = true;

		// Erase the title.
		f.answer_title.value='';

		// If the browser is IE, we can set the contents of the forum_comment_text field.
		var oEditor = FCKeditorAPI.GetInstance('answer_text') ;

		// Set the editor contents to blank
		oEditor.SetHTML( '' ) ;
	}
}


function question_erase_fields(f)
{
	if( comment_fields_erased == false )
	{
		comment_fields_erased = true;

		// Erase the title.
		f.question_title.value='';

		// If the browser is IE, we can set the contents of the forum_comment_text field.
		var oEditor = FCKeditorAPI.GetInstance('question_text') ;

		// Set the editor contents to blank
		oEditor.SetHTML( '' ) ;
	}
}