(function(){function i(h){return h&&h.domId&&h.getInputElement().$?h.getInputElement():h&&h.$?h:!1}function n(h){if(!h){throw"Languages-by-groups list are required for construct selectbox"}var u=[],t="",s;for(s in h){for(var l in h[s]){var q=h[s][l];"en_US"==q?t=q:u.push(q)}}u.sort();t&&u.unshift(t);return{getCurrentLangGroup:function(w){h:{for(var v in h){for(var a in h[v]){if(a.toUpperCase()===w.toUpperCase()){w=v;break h}}}w=""}return w},setLangList:function(){var w={},v;for(v in h){for(var a in h[v]){w[h[v][a]]=a}}return w}()}}var W=function(){var h=function(q,l,v){v=v||{};var t=v.expires;if("number"==typeof t&&t){var u=new Date;u.setTime(u.getTime()+1000*t);t=v.expires=u}t&&t.toUTCString&&(v.expires=t.toUTCString());l=encodeURIComponent(l);q=q+"="+l;for(var s in v){l=v[s],q+="; "+s,!0!==l&&(q+="="+l)}document.cookie=q};return{postMessage:{init:function(l){window.addEventListener?window.addEventListener("message",l,!1):window.attachEvent("onmessage",l)},send:function(q){var l=Object.prototype.toString,v=q.fn||null,t=q.id||"",u=q.target||window,s=q.message||{id:t};q.message&&"[object Object]"==l.call(q.message)&&(q.message.id||(q.message.id=t),s=q.message);q=window.JSON.stringify(s,v);u.postMessage(q,"*")},unbindHandler:function(l){window.removeEventListener?window.removeEventListener("message",l,!1):window.detachEvent("onmessage",l)}},hash:{create:function(){},parse:function(){}},cookie:{set:h,get:function(l){return(l=document.cookie.match(RegExp("(?:^|; )"+l.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)")))?decodeURIComponent(l[1]):void 0},remove:function(a){h(a,"",{expires:-1})}},misc:{findFocusable:function(q){var l=null;q&&(l=q.find("a[href], area[href], input, select, textarea, button, *[tabindex], *[contenteditable]"));return l},isVisible:function(l){return !(0===l.offsetWidth||0==l.offsetHeight||"none"===(document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(l,null).display:l.currentStyle?l.currentStyle.display:l.style.display))},hasClass:function(q,l){return !(!q.className||!q.className.match(RegExp("(\\s|^)"+l+"(\\s|$)")))}}}}(),X=X||{};X.TextAreaNumber=null;X.load=!0;X.cmd={SpellTab:"spell",Thesaurus:"thes",GrammTab:"grammar"};X.dialog=null;X.optionNode=null;X.selectNode=null;X.grammerSuggest=null;X.textNode={};X.iframeMain=null;X.dataTemp="";X.div_overlay=null;X.textNodeInfo={};X.selectNode={};X.selectNodeResponce={};X.langList=null;X.langSelectbox=null;X.banner="";X.show_grammar=null;X.div_overlay_no_check=null;X.targetFromFrame={};X.onLoadOverlay=null;X.LocalizationComing={};X.OverlayPlace=null;X.sessionid="";X.LocalizationButton={ChangeTo_button:{instance:null,text:"Change to",localizationID:"ChangeTo"},ChangeAll:{instance:null,text:"Change All"},IgnoreWord:{instance:null,text:"Ignore word"},IgnoreAllWords:{instance:null,text:"Ignore all words"},Options:{instance:null,text:"Options",optionsDialog:{instance:null}},AddWord:{instance:null,text:"Add word"},FinishChecking_button:{instance:null,text:"Finish Checking",localizationID:"FinishChecking"},FinishChecking_button_block:{instance:null,text:"Finish Checking",localizationID:"FinishChecking"}};X.LocalizationLabel={ChangeTo_label:{instance:null,text:"Change to",localizationID:"ChangeTo"},Suggestions:{instance:null,text:"Suggestions"},Categories:{instance:null,text:"Categories"},Synonyms:{instance:null,text:"Synonyms"}};var k=function(a){var q,l,h;for(h in a){q=(q=X.dialog.getContentElement(X.dialog._.currentTabId,h))?q.getElement():a[h].instance.getElement().getFirst()||a[h].instance.getElement(),l=a[h].localizationID||h,q.setText(X.LocalizationComing[l])}},g=function(a){var q,l,h;for(h in a){if(q=X.dialog.getContentElement(X.dialog._.currentTabId,h),q||(q=a[h].instance),q.setLabel){l=a[h].localizationID||h,q.setLabel(X.LocalizationComing[l]+":")}}},Q,f;X.framesetHtml=function(a){return"'};X.setIframe=function(a,q){var l;l=X.framesetHtml(q);var h=X.iframeNumber+"_"+q;a.getElement().setHtml(l);l=document.getElementById(h);l=l.contentWindow?l.contentWindow:l.contentDocument.document?l.contentDocument.document:l.contentDocument;l.document.open();l.document.write('