var OxO8ace=["INPUT","TEXTAREA","DIV","SPAN","","contentWindow","innerHTML","body","document","length","type","text","id","isContentEditable","showModalDialog","MSIE","userAgent","?","?Modal=true","\x26Modal=true","dialogHeight:340px; dialogWidth:395px; edge:Raised; center:Yes; help:No; resizable:Yes; status:No; scroll:No","left=","availWidth",",top=","availHeight",",height=300,width=400,scrollbars=no,resizable=no,toolbars=no,status=no,menubar=no,location=no","ElementIndex","dialogArguments","window","opener","value","SpellMode","start","suggest","end","SpellingForm","checkElements","innerText","StatusText","Spell Checking Text ...","\x3C","CurrentText","WordIndex","textContent","Spell Check Complete","closeeditordialog","close","selectedIndex","ReplacementWord","form","options"];var showCompleteAlert=true;var tagGroup= new Array(OxO8ace[0],OxO8ace[1],OxO8ace[2],OxO8ace[3]);var checkElements= new Array();function getText(Ox1fc){var Ox1fd=document.getElementById(checkElements[Ox1fc]);var Ox1fe=OxO8ace[4];var Ox1ff=document.getElementById(Ox1fd.id);if(Ox1ff[OxO8ace[5]]){Ox1fe=Ox1ff[OxO8ace[5]][OxO8ace[8]][OxO8ace[7]][OxO8ace[6]];} else {Ox1fe=Ox1ff[OxO8ace[8]][OxO8ace[7]][OxO8ace[6]];} ;return Ox1fe;} ;function setText(Ox1fc,Ox201){var Ox1fd=document.getElementById(checkElements[Ox1fc]);var Ox1ff=document.getElementById(Ox1fd.id);if(Ox1ff[OxO8ace[5]]){Ox1ff[OxO8ace[5]][OxO8ace[8]][OxO8ace[7]][OxO8ace[6]]=Ox201;} else {Ox1ff[OxO8ace[8]][OxO8ace[7]][OxO8ace[6]]=Ox201;} ;} ;function checkSpelling(){checkElements= new Array();for(var i=0;i<tagGroup[OxO8ace[9]];i++){var Ox203=tagGroup[i];var Ox204=document.getElementsByTagName(Ox203);for(var x=0;x<Ox204[OxO8ace[9]];x++){if((Ox203==OxO8ace[0]&&Ox204[x][OxO8ace[10]]==OxO8ace[11])||Ox203==OxO8ace[1]){checkElements[checkElements[OxO8ace[9]]]=Ox204[x][OxO8ace[12]];} else {if((Ox203==OxO8ace[2]||Ox203==OxO8ace[3])&&Ox204[x][OxO8ace[13]]){checkElements[checkElements[OxO8ace[9]]]=Ox204[x][OxO8ace[12]];} ;} ;} ;} ;openSpellChecker();} ;function checkSpellingById(Ox9a,Ox206){checkElements= new Array();checkElements[checkElements[OxO8ace[9]]]=Ox9a;openSpellChecker(Ox206);} ;function checkElementSpelling(Ox1fd){checkElements= new Array();checkElements[checkElements[OxO8ace[9]]]=Ox1fd[OxO8ace[12]];openSpellChecker();} ;function openSpellChecker(Ox206){if(window[OxO8ace[14]]&&navigator[OxO8ace[16]].indexOf(OxO8ace[15])!=-1){var Ox209;if(Ox206.indexOf(OxO8ace[17])==-1){Ox209=OxO8ace[18];} else {Ox209=OxO8ace[19];} ;var Ox20a=window.showModalDialog(Ox206+Ox209,window,OxO8ace[20]);} else {var Ox20b=window.open(Ox206,null,OxO8ace[21]+(screen[OxO8ace[22]]-400)/2+OxO8ace[23]+(screen[OxO8ace[24]]-400)/2+OxO8ace[25]);} ;} ;var iElementIndex=-1;var parentWindow;function initialize(){iElementIndex=parseInt(document.getElementById(OxO8ace[26]).value);if(parent[OxO8ace[28]][OxO8ace[27]]){parentWindow=parent[OxO8ace[28]][OxO8ace[27]];} else {if(top[OxO8ace[29]]){parentWindow=top[OxO8ace[29]];} ;} ;var Ox20f=document.getElementById(OxO8ace[31])[OxO8ace[30]];switch(Ox20f){case OxO8ace[32]:break ;;case OxO8ace[33]:updateText();break ;;case OxO8ace[34]:updateText();;default:if(loadText()){document.getElementById(OxO8ace[35]).submit();} else {endCheck();} ;break ;;} ;} ;function loadText(){if(!parentWindow[OxO8ace[8]]){return false;} ;for(++iElementIndex;iElementIndex<parentWindow[OxO8ace[36]][OxO8ace[9]];iElementIndex++){var Ox211=parentWindow.getText(iElementIndex);if(Ox211[OxO8ace[9]]>0){updateSettings(Ox211,0,iElementIndex,OxO8ace[32]);document.getElementById(OxO8ace[38])[OxO8ace[37]]=OxO8ace[39];return true;} ;} ;return false;} ;function updateSettings(Ox213,Ox214,Ox215,Ox216){Ox213=Ox213.replace(/<([^>\S]+)/g,function (Oxee,b,Ox217){return OxO8ace[40]+b.toLowerCase();} );var Ox7c=document.createElement(OxO8ace[2]);Ox7c.appendChild(document.createTextNode(Ox213));document.getElementById(OxO8ace[41])[OxO8ace[30]]=Ox7c[OxO8ace[6]];document.getElementById(OxO8ace[42])[OxO8ace[30]]=Ox214;document.getElementById(OxO8ace[26])[OxO8ace[30]]=Ox215;document.getElementById(OxO8ace[31])[OxO8ace[30]]=Ox216;} ;function updateText(){if(!parentWindow[OxO8ace[8]]){return false;} ;var Ox211=document.getElementById(OxO8ace[41])[OxO8ace[30]];var Ox7c=document.createElement(OxO8ace[2]);Ox7c[OxO8ace[6]]=Ox211;var Ox219=Ox7c[OxO8ace[37]]||Ox7c[OxO8ace[43]];parentWindow.setText(iElementIndex,Ox219);} ;function endCheck(){if(showCompleteAlert){alert(OxO8ace[44]);} ;closeWindow();} ;function closeWindow(){(top[OxO8ace[45]]||top[OxO8ace[46]])();} ;function changeWord(Ox1fd){var Ox21d=Ox1fd[OxO8ace[47]];Ox1fd[OxO8ace[49]][OxO8ace[48]][OxO8ace[30]]=Ox1fd[OxO8ace[50]][Ox21d][OxO8ace[30]];} ;