;
}

function PrepareSave()
{
	// If the textarea isn't visible update the content from the editor.
	if ( document.getElementById( 'Textarea' ).style.display == 'none' )
	{
		var oEditor = FCKeditorAPI.GetInstance( 'DataFCKeditor' ) ;
		document.getElementById( 'DataTextarea' ).value = oEditor.GetXHTML() ;
	}
}

	</script>
</head>
<body>
	<h1>
		FCKeditor - JavaScript - Sample 13
	</h1>
	<div>
		This sample starts with a normal textarea and provides the ability to switch back
		and forth between the textare