var jspellServerPath="/calhfa/includes/jspell_proxy.aspx";
var jspellTextLanguage="enUS";
var jspellAutoAttach=false;
var jspellDetachWhenDone = false;
var jspellInited = false;
if (typeof fieldsToCheck == 'undefined') {
var fieldsToCheck=new Array();
}
function FCKeditor_OnComplete( editorInstance ){
var oSpellCommand = editorInstance.Commands.GetCommand('spellcheck') ;
if (oSpellCommand != null) {
document.getElementById(editorInstance.Name+"___Frame").contentWindow.document.getElementById("xEditingArea").firstChild.id=editorInstance.Name+"jspell";
fieldsToCheck[fieldsToCheck.length]=[document.getElementById(editorInstance.Name+"___Frame").contentWindow.document,editorInstance.Name+"jspell",document.getElementById(editorInstance.Name+"___Frame")];
}
if (!jspellInited) {
jspellInit();
jspellInited = true;
}
parent.getSpellCheckArray = function(){
var fieldsToReturn = new Array();
for (var i=0;i