/*
 * © 2004-2006 SpellingCow Software - All rights reserved.  This is not free software.
 */

var aytaa=true,aytn=false,ayts=false,aytr=false,aytq=20000,aytp='highlight',ayto='yellow',ayty='http://buttercup.spellingcow.com/spell/',aytk,aytbb,aytj;var aytc;function aytl(ek,au){this.eg=ek;this.au=au;this.gt=false;};function aytb(l){if(!aytc){aytc=new Array();};this.ha='5.0';this.ao=100;this.fq=100;this.cz=20000;this.ck=(l.ck)?l.ck:'';this.bf=this.ci(l.bf,'success');this.be=this.ci(l.be,'failure');this.n=l.n;this.bs=l.bs;this.z=null;this.y=new Array();this.br=-1;this.gd=0;this.ba=true;this.ac=null;};aytb.prototype.ci=function(param_handler_setting,type){if(param_handler_setting){return(param_handler_setting=='none')?null:param_handler_setting;}else{throw new Error("ERROR: undefined "+type+" handler function.  Connection not established");};};aytb.prototype.check_cows_ajax_aware=function(success_command,fail_command){};aytb.prototype.bz=function(fh){if(this.z!=null){};this.z=document.createElement('SCRIPT');this.z.src=fh;this.z.type='text/javascript';var gn=document.getElementsByTagName('HEAD')[0];gn.appendChild(this.z);};aytb.prototype.df=function(){this.z.parentNode.removeChild(this.z);this.z=null;};aytb.prototype.connect=function(l){this.br=aytc.length;aytc.push(this);var fh=this.at(l);this.bz(fh);this.ab=this.by()+this.cz;this.ay();};aytb.prototype.at=function(l){cd=l.cd;au=(l.au)?l.au:false;var ek=this.ck+cd+'&connection_id='+this.br;if(aytaa){ek+='&use_job_name=1';};this.y[this.y.length]=new aytl(ek,au);return ek;};aytb.prototype.send=function(l){this.at(l);this.ay();};aytb.prototype.send_immediate=function(l){this.at(l);this.dn();};aytb.prototype.dn=function(){if(this.y.length<=0){return;};if((this.n)&&(!this.y[0].au)){this.n('on');};var eb=this.y[0].eg;parent.cows_ajax_response=null;this.bz(eb);this.ab=this.by()+this.cz;};aytb.prototype.response_received=function(){if(this.n){this.n('off');};this.y.shift();this.ab=null;this.df();if(this.bf){this.bf();};};aytb.prototype.ay=function(){if(this.ac==null){if(aytaa){this.ac=window.setInterval('aytc['+this.br+'].poll()',this.ao);}else{this.ac=window.setInterval('cows_ajax_connections['+this.br+'].poll()',this.ao);};};};aytb.prototype.poll=function(){if(this.ab){if(this.ab<=this.by()){this.aytdd();if(this.be){this.be('Server Timed Out');};}else if(parent.cows_ajax_response!=null){parent.cows_ajax_response();};}else if(this.y.length>0){this.dn();};};aytb.prototype.fp=function(){this.y.length=0;};aytb.prototype.aytdd=function(){this.ab=null;this.fp();if(this.ac){window.clearInterval(this.ac);};this.ac=null;};aytb.prototype.disconnect=function(){this.aytdd();};aytb.prototype.by=function(){return(new Date()).getTime();};aytb.prototype.debug=function(d){if(this.bs){this.bs(d);};};function aytcc(aa){this.aa=aa;this.ce='';this.cy=false;this.ai=new Array();};function ayta(aa,bt){this.aa=aa;this.bt=bt;};function aytm(l){this.a=l.dj;this.external_style=l.external_style;this.spellingcow_style=l.spellingcow_style;this.spellingcow_style_ie=l.spellingcow_style_ie;this.spellingcow_apply_all=l.spellingcow_apply_all;this.override_font=l.override_font;this.ayt_default=l.ayt_default;this.highlight_err_type=l.highlight_err_type;this.highlight_err_color=l.highlight_err_color;this.bn='';this.gr=false;this.b=new Array();this.o=new Object();this.m=new Object();this.al=0;this.ao=250;this.ff=30;this.bx=300;this.cw=1000;this.dx=40;this.ax=0;this.ba=true;this.ac=null;this.an=false;this.bm=0;this.k=0;this.dw=0;this.dm=0;this.cm=0;this.af=false;this.bw=true;this.dq=true;this.bv=false;this.bp=false;this.v=false;this.w=0;this.cg=0;this.ag=0;this.ad=null;this.aytee=null;this.t=null;this.ae='window';this.aytff=null;this.ef(0);};aytm.prototype.ef=function(retry_count){this.aytff=new aytb({ck:ayty+'spell',bf:ayth,be:aytg,n:ayte,bs:aytt});this.cx();};aytm.prototype.cx=function(){var bd=this.dg();if(window.spellingcow_favelet){}else if(this.ayt_default=='off'){if(parseInt(bd['auto_ayt'])!=1){this.bo(true);if(!isNaN(parseInt(bd['auto_ayt']))){this.aw('spellingcow_ayt',escape('auto_ayt:0;autologinid:foo;user_id:bar;'),30)};return;};}else if((!isNaN(bd['auto_ayt']))&&(bd['auto_ayt']==0)){this.bo(true);this.aw('spellingcow_ayt',escape('auto_ayt:0;autologinid:foo;user_id:bar;'),30);return;};this.aw('spellingcow_ayt',escape('auto_ayt:1;autologinid:foo;user_id:bar;'),365);this.cr(this.a,'z-index','zIndex','3');this.cr(this.a,'position','position','relative');this.dv();this.cr(this.a,'background','background','transparent');this.ea();this.bo(false);this.fo();this.cu();this.de();var fg=this.by(),hc=fg+'ac.',as=location.hostname;as=as.replace(/%/g,'_AYT');this.aytff.connect({cd:'?message_mode=ayt&mode=connect&timestamp='+fg+'&msg='+as});if(!aytn){document.getElementById('spellingcow_debug').style.display='';document.getElementById('spellingcow_debug').style.display='none';};};aytm.prototype.disable_spellingcow=function(){if(confirm("Really disable spell check as you type?  You won't be able to renable it without reloading the page.")){this.aytdd();this.aytff.disconnect();this.er();this.an=true;if(window.handle_sc_ayt_disable){window.handle_sc_ayt_disable();};this.aw('spellingcow_ayt',escape('auto_ayt:0;autologinid:foo;user_id:bar;'),30)}else{document.getElementById("spellingcow_enable").checked=true;};};aytm.prototype.enable_spellingcow=function(){var ft=document.getElementById("spellingcow_toolbar");ft.parentNode.removeChild(ft);this.aw('spellingcow_ayt',escape('auto_ayt:1;autologinid:foo;user_id:bar;'),365);this.ayt_default='on';this.cx();};aytm.prototype.aw=function(name,value,days){if(days){var cv=new Date();cv.setTime(cv.getTime()+(days*24*60*60*1000));var fs="; expires="+cv.toGMTString();}else var fs="";document.cookie=name+"="+value+fs+"; path=/";};aytm.prototype.fn=function(name){var gj=name+"=",dk=document.cookie.split(';');for(var i=0;i<dk.length;i++){var aj=dk[i];while(aj.charAt(0)==' ')aj=aj.substring(1,aj.length);if(aj.indexOf(gj)==0)return aj.substring(gj.length,aj.length);};return null;};aytm.prototype.dg=function(){var eq=unescape(this.fn('spellingcow_ayt')),l=eq.split(';');var fd=new Object();for(i=0;i<l.length;i++){if(l[i]!=''){var ei=l[i].split(':');fd[ei[0]]=ei[1];};};return fd;};aytm.prototype.toggle_debug_mode=function(){var bu=document.getElementById("mirror_mode_checkbox").checked;this.r.style.position=(bu)?'relative':'absolute';this.r.style.color=(bu)?'white':'window';this.r.style['background-color']=(bu)?'black':'window';this.r.style['backgroundColor']=(bu)?'black':'window';aytn=bu;document.getElementById('spellingcow_debug').style.display=(bu)?'':'none';};aytm.prototype.er=function(){this.cr(this.a,'background-color','backgroundColor',this.ae);document.getElementById("spellingcow_div").style.display='none';document.getElementById("spellingcow_toolbar").style.display='none';};aytm.prototype.g=function(selector,declaration){if(!document.getElementsByTagName||!(document.createElement||document.createElementNS))return;var gq=navigator.userAgent.toLowerCase(),gp=((gq.indexOf("msie")!=-1)&&(gq.indexOf("opera")==-1)),fc=(gp&&(gq.indexOf("win")!=-1)),gm=(gp&&(gq.indexOf("mac")!=-1));if(gm)return;var gn=document.getElementsByTagName("head")[0],bq=(typeof document.createElementNS!="undefined")?document.createElementNS("http://www.w3.org/1999/xhtml","style"):document.createElement("style");if(!fc){var gh=document.createTextNode(selector+" {"+declaration+"}");bq.appendChild(gh);};bq.setAttribute("type","text/css");bq.setAttribute("media","screen");gn.appendChild(bq);if(fc&&document.styleSheets&&document.styleSheets.length>0){var eh=document.styleSheets[document.styleSheets.length-1];if(typeof eh.addRule=="object"){eh.addRule(selector,declaration);};};};aytm.prototype.p=function(element,style_prop,style_prop_alt,default_value){var aq;if(element.currentStyle){aq=(element.currentStyle[style_prop])?element.currentStyle[style_prop]:element.currentStyle[style_prop_alt];}else if(window.getComputedStyle){aq=document.defaultView.getComputedStyle(element,null).getPropertyValue(style_prop);}else{aq=default_value;};return((aq==undefined)||(aq==''))?default_value:aq;};aytm.prototype.cr=function(element,style_prop,style_prop_alt,value){element.style[style_prop]=value;element.style[style_prop_alt]=value;};aytm.prototype.dv=function(){var gg=this.p(this.a,'font-size','fontSize','11px'),fm=this.p(this.a,'font-family','fontFamily','Verdana, Arial, Helvetica, sans-serif'),gb=this.p(this.a,'font-style','fontStyle','normal'),fb=this.p(this.a,'font-variant','fontVariant','normal'),fl=this.p(this.a,'font-weight','fontWeight','400'),fa=this.p(this.a,'font-stretch','fontStretch',''),fk=this.p(this.a,'line-height','lineHeight','normal'),az="line-height: "+fk+";font-size: "+gg+";font-family: "+fm+";font-style: "+gb+";font-variant: "+fb+";font-weight: "+fl+";font-stretch: "+fa+";";if(this.override_font){az="line-height:normal;font-size:13px;font-family: monospace;font-style:normal;font-variant:normal;font-weight:400;font-stretch:;";};var cc=this.p(this.a,'padding-top','paddingTop','0px');cc=(parseInt(cc.substr(0,cc.length-2))+3)+'px';var ep=this.p(this.a,'padding-right','paddingRight','0px'),ee=this.p(this.a,'padding-bottom','paddingBottom','0px'),ez=this.p(this.a,'padding-left','paddingLeft','0px'),ed="padding: "+cc+" "+ep+" "+ee+" "+ez+";";var ga=this.p(this.a,'margin-top','marginTop','0px'),ey=this.p(this.a,'margin-right','marginRight','0px'),eo=this.p(this.a,'margin-bottom','marginBottom','0px'),fj=this.p(this.a,'margin-left','marginLeft','0px'),en="margin: "+ga+" "+ey+" "+eo+" "+fj+";";this.ae=this.p(this.a,'background-color','backgroundColor','window');var fz=this.p(this.a,'text-align','textAlign','left'),fy=(ayts)?'relative':'absolute',ex=(ayts)?'white':this.ae,cp=(ayts)?'black':this.ae,bc="position: "+fy+";"+az+ed+en+"background: "+cp+";text-align: "+fz+";color: "+ex+";z-index: 2; overflow: hidden; white-space: normal;border:0px transparent solid;";if((this.spellingcow_style!=-1)||(this.spellingcow_style_ie!=-1)){if((!document.all)&&(this.spellingcow_style!=-1)){bc=this.spellingcow_style;}else if(this.spellingcow_style_ie!=-1){bc=this.spellingcow_style_ie;}else if((this.spellingcow_style!=-1)&&(this.spellingcow_apply_all)){bc=this.spellingcow_style;};};if(!this.external_style){this.g('#spellingcow_div',bc);};this.g('.sc_ayt_debug',"position: relative;font: menu;text-align:left;line-height: expression('1.5em');background: white;border: 1px solid gray; overflow: auto ;");this.g('.sc_ayt_comm',"width:468px;height:60px;framespacing:0;frameborder:no;scrolling:no;marginwidth:0px;marginheight:0px;border:0px;display:block;");if(!this.external_style){this.g('#spellingcow_div .white_span',az+"white-space: pre;");this.g('#spellingcow_div .double_space_span',az+"white-space: pre;");};if(this.external_style){}else if(this.highlight_err_type=='highlight'){this.g('#spellingcow_div .red_span',az+"background:"+this.highlight_err_color+";color:"+this.highlight_err_color+";");}else{this.g('#spellingcow_div .red_span',az+"background:url("+ayty+"images/redline.png) repeat-x bottom;");};this.r=document.createElement('div');this.r.id='spellingcow_div';this.r.style.height=(this.a.clientHeight)+'px';this.dl=(document.all)?4:0;this.r.style.width=(this.a.clientWidth-this.dl)+'px';this.a.parentNode.insertBefore(this.r,this.a);};aytm.prototype.bo=function(ayt_disabled){var s=document.createElement('div');s.id='spellingcow_toolbar';var av=this.p(this.a,'width','width',this.a.style.width);av=((av=='')||(av=='auto'))?this.r.style.width:av;s.style.width=av;s.style.height='25px';s.style.border='0px';s.style.background='transparent';s.style['textAlign']='left';this.aytee=this.a.parentNode.insertBefore(s,this.a.nextSibling);this.g('.sc_toolbar_label',"display:inline;position:relative;top:-3px;padding:0;margin:0;border:0;");this.g('#sc_toolbar_msg',"font-size:8px;font-weight:normal;font-family:Verdana, Arial, Helvetica, sans-serif;position:relative;left:150px;top:0px;padding:0;margin:0;border:0;");if(ayt_disabled){if(aytaa){var bh='<label class="sc_toolbar_label"><input style="position:relative;top:3px;" type="checkbox" id="spellingcow_enable" onclick="aytk.enable_spellingcow();"/> Spell check as I type</label>';}else{var bh='<label class="sc_toolbar_label"><input style="position:relative;top:3px;" type="checkbox" id="spellingcow_enable" onclick="oSpell.enable_spellingcow();"/> Spell check as I type</label>';};}else if(aytaa){var bh='<a href="http://www.spellingcow.com" target="_blank"><img title="SpellingCow" alt="SpellingCow" style="border:none;" src="'+ayty+'images/cow_25px.gif" /></a> &nbsp; <label class="sc_toolbar_label" style="display:inline;"><input type="checkbox" id="spellingcow_enable" style="position:relative;top:-3px;width:20px;padding:0;margin:0;border:0;" onclick="aytk.disable_spellingcow();"   checked="checked"/> Spell check</label> &nbsp; <label id="sc_toolbar_msg" style="display:none;">Ad from SpellingCow</label>';}else{var bh='<a href="http://www.spellingcow.com" target="_blank"><img title="SpellingCow" alt="SpellingCow" style="border:none;" src="'+ayty+'images/cow_25px.gif" /></a> &nbsp; <label class="sc_toolbar_label" style="display:inline;"><input type="checkbox" id="spellingcow_enable" style="position:relative;top:-3px;width:20px;padding:0;margin:0;border:0;" onclick="oSpell.disable_spellingcow();" checked="checked"/> Spell check</label> &nbsp; <label id="sc_toolbar_msg" style="display:none;">Ad from SpellingCow</label>';};try{document.getElementById("spellingcow_toolbar").innerHTML=bh;}catch(e){var ew=s;s.parentNode.removeChild(s);ew.innerHTML=bh;this.a.parentNode.insertBefore(ew,this.a.nextSibling);};};aytm.prototype.ea=function(){var x=document.createElement('div');x.id='spellingcow_debug';x.className='sc_ayt_debug';x.style.width=(this.a.clientWidth+20)+'px';x.style.height=this.a.clientHeight+'px';x.style.display=(aytn)?'':'none';this.r.parentNode.insertBefore(x,this.r);};aytm.prototype.fo=function(){this.g('.sc_ayt_menu','border: 1px solid ;border-color: threedlightshadow threeddarkshadow threeddarkshadow threedlightshadow;padding:0px;position:absolute;z-index:4;');this.g('.sc_ayt_menu .inner','border: 1px solid ;border-color: threedhighlight threedshadow threedshadow threedhighlight;background: threedface;padding: 2px;text-align:left');this.g('.sc_ayt_menu a','display: block;font: menu;color: menutext;padding: 1px 5ex 1px 3ex;text-decoration: none;');this.g('.sc_ayt_menu a:hover','background: highlight;color: highlighttext;');this.g('.sc_ayt_menu .separator','border-top: 1px solid threedshadow;border-bottom: 1px solid threedhighlight;overflow: hidden;margin: 2px;padding: 0px;');this.ad=new aytv();document.body.appendChild(this.ad.ad);};aytm.prototype.not_available=function(){if(window.handle_sc_ayt_incompatiable){window.handle_sc_ayt_incompatiable('Your browser is not COWS AJAX aware and the spell checker will not run, sorry!');};};aytm.prototype.dd=function(){if((this.b.length==0)||(this.v)){return;};var d=this.b[0].aa;for(var i=1;i<this.b.length;i++){d+=' '+this.b[i].aa;};this.v=true;this.aytff.send({cd:'?message_mode=ayt&session_id='+this.bn+'&mode=ayt_check&replace='+this.al+'&message='+d.replace(/'/g,'\'')});this.al=0;};function ayth(){aytk.bm=0;aytk.k=0;};function aytg(gx){aytk.bm++;aytk.k=0;};function ayte(gu){if(gu=='on'){};};aytm.prototype.read=function(remote_response){};aytm.prototype.set_session_id=function(bn){this.bn=bn;this.ay();};aytm.prototype.update_message=function(bn){document.getElementById('sc_toolbar_msg').style.display='inline';this.t=parent.document.createElement('iframe');this.t.className='sc_ayt_comm';this.t.src=ayty+'ayt_session?message_mode=ayt&session_id='+this.bn;var gz=this.aytee.appendChild(this.t);};aytm.prototype.update_word=function(remote_response){var ct=remote_response.split(', '),aa=ct[0],fx=remote_response.substr(aa.length+2);if(!isNaN(aa)){return;};this.b[this.o[aa]].ce=fx;this.b[this.o[aa]].cy=true;};aytm.prototype.word_fragment=function(orig_word,fragment,bt){var ct=fragment.split(', '),aa=ct[0],fx=fragment.substr(aa.length+2);if((!isNaN(aa))||(!isNaN(orig_word))){return;};if((this.o[aa]==undefined)&&(this.m[aa]==undefined)){this.o[aa]=this.b.length;this.b[this.b.length]=new aytcc(aa);this.b[this.b.length-1].cy=true;this.b[this.b.length-1].ce=fx;};var ai=new ayta(aa,bt);this.b[this.o[orig_word]].cy=true;this.b[this.o[orig_word]].ai[this.b[this.o[orig_word]].ai.length]=ai;};aytm.prototype.done_update=function(timestamp){for(var i=0;i<this.b.length;i++){this.m[this.b[i].aa]=this.b[i];};this.cl();this.o.length=0;this.b.length=0;this.v=false;this.cg=this.by();};aytm.prototype.ay=function(){if(this.ac==null){if(aytaa){this.ac=window.setInterval('aytk.poll()',this.ao);}else{this.ac=window.setInterval('oSpell.poll()',this.ao);};};};aytm.prototype.poll=function(){if(this.ax==this.dx){this.ax=0;}else if(this.ba){this.ba=false;this.ax=0;};this.ax++;if((this.bm>0)&&(this.k==0)){if(this.bm<=2){this.k=0;}else if(this.bm<=6){this.k=this.by()+30000;}else{this.k=this.by()+120000;};};if((this.dq)&&(this.b.length==0)){this.bj();this.dd();this.dq=false;}else if((this.bm>0)&&(this.k!=-1)&&(this.by()>=this.k)){this.b.length=0;this.v=false;this.aytff.ay();this.k=-1;}else if((this.b.length==0)&&(this.ax%this.ff==0)){this.bj();if(this.b.length>0){this.dd();}else{this.cl();};}else if((!this.b.length)&&(this.af)&&(!this.v)&&(!this.bv)&&(!this.bp)){this.bj();this.dd();}else if(!this.bw){this.cl();};};aytm.prototype.aytdd=function(){if(!this.ac){return;};window.clearInterval(this.ac);this.ac=null;};aytm.prototype.de=function(){var ev="able about above act add afraid after again against age ago agree air all allow alot also always am among an and anger "+"animal answer any appear anybody anywhere apple are aren't area arm around arrange arrive art as ask asked at atom baby back bad ball band bank "+"bar base basic bat be bear beat beauty because bed been before began begin behind being believe bell best better between big bird bit black block "+"blood blow blue board boat body bone book born both bottom bought box boy branch bread break bright bring broad broke brother brought brown btw "+"build burn busy but buy by call came can can't capital captain car card care carry case cat catch caught cause cell cent center century certain "+"chair chance change character charge chart check chick child children choose chord come could couldn't circle city claim class clean clear climb "+"clock close clothe cloud coast coat cold collect colony color column come common company compare complete condition connect consider consonant "+"contain continent continue control cool cool copy corn corner correct cost cotton could count country course cover cow crease create crop cross "+"crowd cry current cut dad dance danger dark day days dead deal dear death decide decimal deep degree depend describe desert design determine "+"develop dictionary did didn't die differ difficult direct discuss distant divide division do does doesn't dog dollar don't done door double down "+"draw dream dress drink dive drop dry duck during each ear early earth ease east eat edge effect egg either electric element else end enemy energy "+"engine enough enter equal equate especially etc even evening event ever every everybody everyone exact example except excite exercise expect "+"experience experiment eye face fact fair fall family famous far farm fast fat father favor fear feed feel feet fell felt few field fig fight "+"figure fill final find fine finger finish fire first fish fit five flat floor flow flower fly follow food foot for force forest form forum forward "+"found four fraction free fresh friend from front fruit full fun game garden gas gather gave general gentle get girl give glad glass go going gone "+"good got govern gotten grand grass gray great green grew ground group grow guess guide gun had hair half hand happen happy hard has hat have "+"haven't having he head hear heard heart heat heavy held help her here her's high hill him his history hit hold hole home hope horse hot hour house "+"how how's href huge human hundred hunt hurry I I've ice idea if imagine in inch include indicate industry insect instant instrument interest into "+"invent iron is isn't island it its it's job join joy jump just keep kept key kill kind king knew know lady lake land language large last late "+"laugh law lay lead learn least leave led left leg length less let letter level lie life lift light like liked line link liquid list listen little "+"live locate log lone long looking look looked lost lot loud love low machine made magnet main major make man many map mark market mass master "+"match material matter may maybe me mean meant measure meat meet melody men metal method middle might mile milk million mind mine minute miss mix "+"modern molecule moment money month moon more morning most mother motion mount mountain mouth move much multiply music must my name nation natural "+"nature near necessary neck need neighbor never new news next night nine no noise none noon nor north nose note not nothing notice noun now number "+"numeral object observe occur ocean of off offer office often oh oil old on once one only open operate opposite oops or order organ original other "+"our our's out over own oxygen page paint pair paper paragraph parent part particular party pass past path pattern pay people perhaps period person "+"phrase pick picture piece pitch place plain plan plane planet plant play please plural poem point poor populate port pose position possible post "+"post pound power practice prepare present press pretty print probable problem process produce product proper property protect prove provide pull "+"push put quart question question questions quick quiet quite quote quotient race radio rail rain raise ran range rather reach read ready real "+"really reason receive recent record red region remember repeat reply represent require rest result rich ride right ring rise river road rock roll "+"room root rope rose round row rub rule run safe said sail salt same sand sat save saw say says scale school science score sea search season seat "+"second section see sees seed seem segment select self sell send sense sent sentence separate serve set settle seven several shall shape share "+"sharp she sheet shell shine ship shoe shop shore short should shoulder shout show side sight sign silent silver similar simple since sing single "+"sister sit site sites six size skill skin sky slave sleep slip slow small smell smile snow so soft soil soldier solution solve some something "+"sometime somewhere son song soon sound south space speak special speech speed spell spend spoke spot spread spring square stand star start state "+"station stay stead steam steel step stick still stone stood stop store story straight strange stream street stretch string strong student study "+"subject substance subtract success such sudden suffix sugar suggest suit summer sun supply support sure surface surprise swim syllable symbol "+"system table tail take talk tall teach team teeth tell temperature ten term test than thank that that'd that's the their theirs their's them then "+"there there's these they they'll they'd they're thick thin thing think third this those though thought thousand three through thus tie time times "+"tiny tire to together told tone to too took tool top total touch toward town track trade train travel tree triangle trip trouble truck true try "+"tube turn twenty two type under until up upon us use user users usual valley value vary verb version very via view village visit voice vowel wait "+"walk wall want war warm was wash watch wave way we weak wear weather week weight well went were weren't west what wheel when where whether which "+"while white who whole whom whose why wide wife wild will win wind window wing winter wire wish with within without woman women won't wonder wood "+"word work world worse worst would write written wrong wrote www yard year yellow yes yet you you'd you'll your you're yours young AFAIK IIRC LOL ROTF",cq=ev.split(' ');for(var i=0;i<cq.length;i++){this.m[cq[i]]=new aytcc(cq[i]);};};aytm.prototype.cl=function(){if(this.bp){return;}else if(this.bv){this.bw=false;return;}else if(this.by()-this.cm<300){this.bw=false;return;};this.bv=true;var gf=(new Date()).getTime(),d=this.a.value.replace(/\r\n/g,'\n');function bk(gs){var am='';if(u=='\t'){am='<span class="white_span" id="tab'+di+'"></span>';di++;}else if((u==' ')&&(i<d.length-2)&&(d.substr(i+1,1)==' ')){am='<span class="double_space_span" id="double_space'+bg+'"></span>';bg++;}else if(u=='<'){am='&lt;';}else if(u=='>'){am='&gt;';}else{am=(u=="\n")?'<br/>':((gs)?'':u);};return am;};var q='',f=0,c='',u,di=0,ap=0,bg=0,gy='',ge='';for(var i=0;i<d.length;i++){u=d.substr(i,1);if((!u.match(/[\w\'\-]/))||(i==d.length-1)){if(f==i){q+=bk();f++;}else if(i-f==1){gi=d.substr(f,i-f);q+=gi;q+=bk();f=i+1;}else{c=d.substr(f,i-f);if((u.match(/[\w\'\-]/))&&(i==d.length-1)){c=d.substr(f);};if(this.m[c]!=undefined){if(this.m[c].cy){if(this.m[c].ai.length){var cj=0;for(var j=0;j<this.m[c].ai.length;j++){du=(this.m[c].ai[j].bt)?c.substr(cj,this.m[c].ai[j].bt-cj):'';q+=du;q+='<span class="red_span" id="sc_err'+ap+'">'+this.m[c].ai[j].aa+'</span>';ap++;cj=this.m[c].ai[j].bt+this.m[c].ai[j].aa.length;};du=c.substr(cj);q+=du;}else{q+='<span class="red_span" id="sc_err'+ap+'">'+c+'</span>';ap++;};}else{q+=c;};}else{q+=c;};q+=bk(i==d.length-1);f=i+1;};};ge=u;};q+='<br/>';try{this.r.innerHTML=q;}catch(e){var dz=this.r;this.r.parentNode.removeChild(this.r);this.r=dz;this.r.innerHTML=q;this.a.parentNode.insertBefore(this.r,this.a);};for(i=0;i<di;i++){dt=document.createTextNode('\t');document.getElementById('tab'+i).appendChild(dt);};for(i=0;i<bg;i++){dt=document.createTextNode(' ');document.getElementById('double_space'+i).appendChild(dt);};var fw=(new Date()).getTime();this.dm=fw-gf;this.bw=true;this.bv=false;this.cm=this.by();};aytm.prototype.bj=function(){if((this.bp)||(this.b.length)){return;};this.bp=true;this.af=false;var dy=(new Date()).getTime(),d=this.a.value,f=0,dh=new Array(),cq=new Object(),c='',u,cb=0;for(var i=0;i<d.length;i++){u=d.substr(i,1);if((!u.match(/[\w\'\-]/))||(i==d.length-1)){if(f==i){f++;}else if(i-f==1){f=i+1;}else{c=d.substr(f,i-f);if(!isNaN(c)){f=i+1;continue;};if((u.match(/[\w\'\-]/))&&(i==d.length-1)){c=d.substr(f);};if(this.m[c]!=undefined){f=i+1;continue;};if(cb+c.length+1>750){this.af=true;break;}else{cb+=c.length+1;};dh[dh.length]=c;if(!cq[c]){cq[c]=new Array();};cq[c][cq[c].length]=f;f=i+1;};};};dh.sort();var eu='';for(var i=0;i<dh.length;i++){if(dh[i]==eu){continue;};this.b[this.b.length]=new aytcc(dh[i]);this.o[dh[i]]=this.b.length-1;eu=dh[i];};var em=(new Date()).getTime();this.dw=em-dy;this.bp=false;};aytm.prototype.replace_word=function(ak,aa){var ar=this.r.firstChild,bl=0;for(i=0;ar;ar=ar.nextSibling){if(ar.nodeType==1){fi=(ar.firstChild)?ar.firstChild.nodeValue:'\n';}else{fi=ar.nodeValue;};if(ar.id==ak){var d=this.a.value.replace(/\r\n/g,'\n');this.a.value=d.substr(0,bl)+aa+d.substr(bl+fi.length);var dc=document.getElementById(ak);dc.className='';try{dc.innerHTML=aa;}catch(e){var gl=dc,dp=dc.nextSibling;dc.parentNode.removeChild(dc);dp.parentNode.insertBefore(gl,dp);};this.ad.hide_menu();this.ah();this.al+=1;return;};bl+=fi.length;};this.ad.hide_menu();this.m[aa]=new aytcc(aa);};aytm.prototype.ignore_word=function(){var ak=this.cf(this.ag),dc=document.getElementById(ak);dc.className='';this.m[dc.innerHTML].cy=false;this.ad.hide_menu();};aytm.prototype.ah=function(){this.r.scrollTop=this.a.scrollTop;this.r.scrollLeft=this.a.scrollLeft;};aytm.prototype.cu=function(){var h=this;this.a.onkeyup=function(e){if(h.an){return;};if(h.cg+h.cw<h.by()){var gk=h.ch();if(!h.a.value.substr(gk-1,1).match(/[\w\'\-]/)){h.af=true;};};if(h.r.style.width!=(h.a.clientWidth-h.dl)+'px'){h.r.style.width=(h.a.clientWidth-h.dl)+'px';};if(h.r.style.height!=h.a.clientHeight+'px'){h.r.style.height=h.a.clientHeight+'px';};h.cl();h.ah();h.ad.hide_menu();};this.a.onkeydown=function(e){if(h.an){return;};if(h.by()-h.w>this.bx){h.w=h.by();h.cl();};h.ah();};this.a.onchange=function(e){if(h.an){return;};h.af=true;if(h.by()-h.w>this.bx){h.w=h.by();h.cl();};h.ah();};this.a.onselect=function(e){if(h.an){return;};h.af=true;if(h.by()-h.w>this.bx){h.w=h.by();h.cl();};h.ah();};this.a.onclick=function(e){if(h.an){return;};e=(e)?e:window.event;h.ah();var ak=h.cf();if(ak!=''){if(!h.has_selection()){h.ad.show_menu(e,ak);};}else{h.ad.hide_menu();};};this.a.onmousemove=function(e){if(h.an){return;};h.ah();};this.a.onscroll=function(e){if(h.an){return;};h.ah();};};function aytv(){this.ad=document.createElement('div');this.ad.className='sc_ayt_menu';this.ad.style.display='none';var et=document.createElement('div');et.className='inner';this.ad.appendChild(et);var bb=document.createElement('div');bb.className='separator';et.appendChild(bb);bb=document.createElement('a');if(aytaa){bb.href='javascript:aytk.ignore_word();'}else{bb.href='javascript:oSpell.ignore_word();'};bb.appendChild(document.createTextNode('Ignore'));et.appendChild(bb);};aytv.prototype.show_menu=function(e,ak){var bb,bi,co=document.getElementById(ak),fv=this.ad.firstChild.childNodes.length;while(fv>2){this.ad.firstChild.removeChild(this.ad.firstChild.firstChild);fv--;};var cs=co.innerHTML;bi=aytk.m[cs].ce.split(', ');fv=bi.length;if(fv>10){fv=10;};for(var i=fv-1;i>=0;i--){bb=document.createElement('a');if(aytaa){bb.href='javascript:aytk.replace_word( "'+ak+'", "'+bi[i]+'");'}else{bb.href='javascript:oSpell.replace_word( "'+ak+'", "'+bi[i]+'");'};bb.appendChild(document.createTextNode(bi[i]));this.ad.firstChild.insertBefore(bb,this.ad.firstChild.firstChild);};if(aytk.m[cs].ce==''){bb=document.createElement('a');bb.href='javascript:void(0);';bb.style.color='gray';bb.appendChild(document.createTextNode('- No suggestions -'));this.ad.firstChild.insertBefore(bb,this.ad.firstChild.firstChild);};var db=0,da=0;if((document.documentElement)&&(document.documentElement.scrollTop)){db=e.clientX+document.documentElement.scrollLeft;da=e.clientY+document.documentElement.scrollTop;}else if(document.body){db=e.clientX+document.body.scrollLeft;da=e.clientY+document.body.scrollTop;}else{db=e.pageX;da=e.pageY;};if(document.all){this.ad.style.left=db+'px';this.ad.style.top=da+(co.offsetHeight/2)+'px';}else{this.ad.style.left=db+'px';this.ad.style.top=da+(co.offsetHeight/2)+'px';};this.ad.style.display='block';};aytv.prototype.hide_menu=function(){this.ad.style.display='none';};aytm.prototype.by=function(){return(new Date()).getTime();};aytm.prototype.ch=function(return_is_selected){if(document.all){var cn,es,offset;cn=document.selection.createRange();es=cn.duplicate();es.moveToElementText(this.a);es.setEndPoint('EndToEnd',sr);var gv=es.text.replace(/\r\n/g,'\n'),fu=cn.text.replace(/\r\n/g,'\n');if(return_is_selected){return fu.length;}else{return gv.length-fu.length;};}else{if(return_is_selected){return(this.a.selectionEnd-this.a.selectionStart);}else{return this.a.selectionStart;};};};aytm.prototype.has_selection=function(){return this.ch(true);};aytm.prototype.cf=function(ca){if(ca){this.ag=ca;}else{this.ag=this.ch();};var ar=this.r.firstChild,bl=0,fi='';for(i=0;ar;ar=ar.nextSibling){if(ar.nodeType==1){fi=(ar.firstChild)?ar.firstChild.nodeValue:'\n';}else{fi=ar.nodeValue;};bl+=fi.length;if(bl>=this.ag){return((ar.className)&&(ar.className=='red_span'))?ar.id:'';};};return'';};function aytt(d){if(aytn){var x=document.getElementById('spellingcow_debug');x.innerHTML='<span style="color:red;">['+(aytk?aytk.by():'')+']'+d+'</span><br/>'+x.innerHTML;};};function aytu(d){if(aytn){var x=document.getElementById('spellingcow_debug');x.innerHTML=d+'<br/>'+x.innerHTML;};};if(aytr){window.onerror=ayti;};function aytz(ds){fe=new Error(ds);fe.display();return fe;};function ayti(ds,ek,dr){if((dr==0)&&(ek=='')){var el=ds.lastIndexOf(":"),d=ds.substring(ds.indexOf(":")+2,ds.indexOf("@")-3),go=ds.substring(ds.indexOf("@")+1,el),gc=ds.substr(el+1);alert('msg=['+d+'] line_number=['+gc+'] url=['+go+']');}else{alert('msg=['+ds+'] line_number=['+dr+'] url=['+ek+']');};return false;};Error.prototype.display=function(){if(this.gw){var fr=this.gw.split("\n");throw this.d+' '+fr[2];};return false;};function aytd(){var t=document.createElement('iframe');t.src=ayty+'ad_iframe.html';t.width='472px';t.height='62px';t.name='aa79071b';t.id='aa79071b';t.framespacing=0;t.frameborder='no';t.scrolling='no';t.marginwidth='0px';t.marginheight='0px';t.padding='0px';t.style.border='none';return t;};function aytf(ca){var a;if(!(a=document.getElementById(ca))){var ec=document.getElementsByName(ca);if(ec.length>0){a=ec[0];}else{return false;};}else{};return a;};function aytw(){if(aytk){alert('SpellingCow is already running.');return;};if(window.sc_ayt_params==undefined){sc_ayt_params=new Object();};if(window.sc_ayt_params.nostart){return;};var l={dj:a,spellingcow_style:(sc_ayt_params.spellingcow_style)?sc_ayt_params.spellingcow_style:-1,spellingcow_style_ie:(sc_ayt_params.spellingcow_style_ie)?sc_ayt_params.spellingcow_style_ie:-1,spellingcow_apply_all:(sc_ayt_params.spellingcow_apply_all)?sc_ayt_params.spellingcow_apply_all:false,override_font:(sc_ayt_params.override_font)?true:false,ayt_default:(sc_ayt_params.ayt_default)?sc_ayt_params.ayt_default:'on'},hb=navigator.userAgent.toLowerCase();if((hb.match(/mac/))&&(hb.match(/safari/))){if(window.handle_sc_ayt_incompatiable){window.handle_sc_ayt_incompatiable();};return;};var a;if((aytbb!=undefined)&&(aytbb!='')){a=aytf(aytbb);}else{a=aytf('bug_note');};if(!a){a=aytf('message');};if(!a){ej=document.getElementsByTagName('textarea');if(ej.length){a=ej[0];}else{return;};};var l={dj:a,external_style:(sc_ayt_params.external_style)?sc_ayt_params.external_style:false,spellingcow_style:(sc_ayt_params.spellingcow_style)?sc_ayt_params.spellingcow_style:-1,spellingcow_style_ie:(sc_ayt_params.spellingcow_style_ie)?sc_ayt_params.spellingcow_style_ie:-1,spellingcow_apply_all:(sc_ayt_params.spellingcow_apply_all)?sc_ayt_params.spellingcow_apply_all:false,override_font:(sc_ayt_params.override_font)?true:false,highlight_err_type:(sc_ayt_params.highlight_err_type)?sc_ayt_params.highlight_err_type:aytp,highlight_err_color:(sc_ayt_params.highlight_err_color)?sc_ayt_params.highlight_err_color:ayto,ayt_default:(sc_ayt_params.ayt_default)?sc_ayt_params.ayt_default:'on'};aytk=new aytm(l);};function launch_spellingcow(){window.sc_ayt_params.nostart=false;aytw();};function aytx(){if(aytj){aytj();};aytw();};if(window.spellingcow_favelet){aytbb='message';aytw();}else{aytj=window.onload;window.onload=aytx;};
