<script type='text/javascript' src='../FCKeditor/fckeditor.js'></script>
<script type='text/javascript'>
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'content' ) ;
oFCKeditor.BasePath = '../FCKeditor/' ;
oFCKeditor.ToolbarSet = 'Deluxe' ;
oFCKeditor.ReplaceTextarea() ;
var oFCKeditor = new FCKeditor( 'sidebar' ) ;
oFCKeditor.BasePath = '../FCKeditor/' ;
oFCKeditor.ToolbarSet = 'Deluxe' ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
http://www.rdcan.ca/FCKeditor/fckconfig.js

Re: Javascript Embed Issue
(thanks!)
Re: Javascript Embed Issue
Why don't you check that the textarea does exist before trying to replace it?
Re: Javascript Embed Issue
I just added a condition to the javascript in the head tag.
The problem was - the head tag is an include as the admin pages load different sections, so on some pages the text area does not exist, some it does.
Here is the script with changes:
<script type='text/javascript'> window.onload = function() { if(document.getElementById('content')) { var oFCKeditor = new FCKeditor( 'content' ) ; oFCKeditor.BasePath = '../FCKeditor/' ; oFCKeditor.ToolbarSet = 'Deluxe' ; oFCKeditor.ReplaceTextarea() ; var oFCKeditor = new FCKeditor( 'sidebar' ) ; oFCKeditor.BasePath = '../FCKeditor/' ; oFCKeditor.ToolbarSet = 'Deluxe' ; oFCKeditor.ReplaceTextarea() ; } } </script>Problem solved!
Thanks
Brian