if (typeof(Obout)=="\165n\x64efined"){Obout= function (){};Obout.Interface= function (){};}Obout.Interface.OboutTextBox= function (o_O,o_o,o_ih,o_O1g,enabled,o_Y,isMultiLine,o_F,o_y,o_I){ this.ID=o_O; this.o_i=document.getElementById(o_o); this.o_lk=document.getElementById(o_ih); this.o_a=o_y; this.o_c=o_F; if (typeof(this.o_c.OnTextChanged)=="f\x75nction"){ this.onchange=this.o_c.OnTextChanged; }else { this.onchange=null; } this.o_l1g=isMultiLine; this.IsOver= false; this.o_e= false; this.IsActive=o_Y; this.IsDisabled=!enabled; this.o_j=enabled?"\116": "\x44"; this.o_i1g=o_O1g; if (this.o_i1g){ this.o_I1g=this.o_lk.value; } this.o_z=o_I; this.o_X(); };Obout.Interface.OboutTextBox.prototype.o_X= function (){ this.o_W(); if (this.IsDisabled){ this.disable(); }else if (this.IsActive){ this.o_lu("IsAct\x69ve"); this.o_o1h(); }if (this.o_l1g){ this.o_x(); }};Obout.Interface.OboutTextBox.prototype.o_W= function (){var o_S=this ; this.o_i.onmouseover= function (){o_S.o_lu("\x49sOve\x72"); } ; this.o_i.onmouseout= function (){o_S.o_lu("\x49sO\x76\145\x72", false); } ; this.o_i.onclick= function (){o_S.o_lu("\x49sAc\x74\x69ve"); } ; this.o_lk.onfocus= function (){o_S.o_lu("IsActi\x76e"); o_S.o_o1h(); } ; this.o_lk.onblur= function (){o_S.o_lu("\x49sA\x63\164\x69ve", false); o_S.o_o1h(); } ; this.o_lk.onchange= function (){o_S.o_O1h(); } ; if (this.o_c.OnKeyDown){ this.o_lk.onkeydown= function (o_i9){o_S.o_l1h(o_i9); } ; }if (this.o_c.OnKeyPress){ this.o_lk.onkeypress= function (o_i9){o_S.o_i1h(o_i9); } ; }if (this.o_c.OnKeyUp){ this.o_lk.onkeyup= function (o_i9){o_S.o_I1h(o_i9); } ; }try {if (typeof(Sys)!="\x75n\x64\145\x66ined"){if (Sys && Sys.WebForms && Sys.WebForms.PageRequestManager){}}}catch (o_L){}};Obout.Interface.OboutTextBox.prototype.o_x= function (){var o_V=Obout.Interface.OboutCore.o_v.o_V(); var o_T=Obout.Interface.OboutCore.o_v.o_T(); var o_t=Obout.Interface.OboutCore.o_v.o_t(); if (o_V){if (o_T || (!o_T && !o_t)){ this.o_i.childNodes[4].style.width=this.o_i.offsetWidth-(this.o_i.childNodes[3].offsetWidth+this.o_i.childNodes[5].offsetWidth)+"\x70\x78"; this.o_i.childNodes[4].style.height=this.o_i.offsetHeight-(this.o_i.childNodes[1].offsetHeight+this.o_i.childNodes[7].offsetHeight)+"\160\x78"; ; this.o_i.childNodes[3].style.height=this.o_i.childNodes[4].style.height; this.o_i.childNodes[5].style.height=this.o_i.childNodes[4].style.height; this.o_i.childNodes[1].style.width=this.o_i.childNodes[4].style.width; this.o_i.childNodes[7].style.width=this.o_i.childNodes[4].style.width; this.o_i.childNodes[4].firstChild.style.width=this.o_i.childNodes[4].offsetWidth+"\x70x"; this.o_i.childNodes[4].firstChild.style.height=this.o_i.childNodes[4].offsetHeight-this.o_i.childNodes[4].firstChild.offsetTop+"px"; if (this.o_i.onresize==null){ this.o_i.childNodes[4].firstChild.style.overflowX="hidden"; var o_S=this ; this.o_i.onresize= function (){o_S.o_x(); } ; }}}};Obout.Interface.OboutTextBox.prototype.o_lu= function (o_O1b,enabled){if (typeof(enabled)=="und\x65fined"){enabled= true; }if (!this.IsDisabled || o_O1b=="\x49s\x44\151\x73abled"){ this[o_O1b]=enabled; if (this.IsActive){ this.o_k("A"); }else if (this.IsOver){ this.o_k("O"); }else if (this.IsDisabled){ this.o_k("\104"); }else { this.o_k("\x4e"); }}};Obout.Interface.OboutTextBox.prototype.o_k= function (o_J){if (o_J!=this.o_j){ this.o_i.className=this.o_a[o_J]; this.o_j=o_J; }};Obout.Interface.OboutTextBox.prototype.value= function (o_I12){if (typeof(o_I12)=="u\x6edefine\x64"){return this.o_lk.value; }else { this.o_lk.value=o_I12; }};Obout.Interface.OboutTextBox.prototype.focus= function (){if (!this.IsDisabled){try { this.o_lk.focus(); }catch (o_L){} ; }};Obout.Interface.OboutTextBox.prototype.select= function (){if (!this.IsDisabled){ this.o_lk.select(); }};Obout.Interface.OboutTextBox.prototype.o_O1h= function (){if (this.onchange){ this.onchange(this,this.o_lk.value); }};Obout.Interface.OboutTextBox.prototype.o_l1h= function (o_i9){var o_o1i= true; if (this.o_c.OnKeyDown){o_o1i=this.o_c.OnKeyDown(this,Obout.Interface.OboutCore.o_l9(o_i9)); }if (!o_o1i){Obout.Interface.OboutCore.o_I9(o_i9); }return o_o1i; };Obout.Interface.OboutTextBox.prototype.o_i1h= function (o_i9){var o_o1i= true; if (this.o_c.OnKeyPress){o_o1i=this.o_c.OnKeyPress(this,Obout.Interface.OboutCore.o_l9(o_i9)); }if (!o_o1i){Obout.Interface.OboutCore.o_I9(o_i9); }return o_o1i; };Obout.Interface.OboutTextBox.prototype.o_I1h= function (o_i9){var o_o1i= true; if (this.o_c.OnKeyUp){o_o1i=this.o_c.OnKeyUp(this,Obout.Interface.OboutCore.o_l9(o_i9)); }if (!o_o1i){Obout.Interface.OboutCore.o_I9(o_i9); }return o_o1i; };Obout.Interface.OboutTextBox.prototype.temporaryClearText= function (){};Obout.Interface.OboutTextBox.prototype.o_o1h= function (){if (this.o_i1g){if (this.IsActive){if (this.o_lk.value==this.o_I1g){ this.o_lk.value=""; }}else {if (this.o_lk.value==""){ this.o_lk.value=this.o_I1g; }}}};Obout.Interface.OboutTextBox.prototype.enable= function (){ this.o_lk.disabled= false; this.o_lu("\x49\x73Disabl\x65d", false); };Obout.Interface.OboutTextBox.prototype.disable= function (){ this.o_lk.disabled= true; this.o_lu("IsDi\x73abled", true); };Obout.Interface.OboutTextBox.prototype.destruct= function (){return; this.o_H(); if (this.o_z && this.o_i && this.o_i.parentNode){ this.o_i.parentNode.removeChild(this.o_i); } this.o_lk=null; this.o_i=null; };Obout.Interface.OboutTextBox.prototype.o_H= function (){if (this.o_i){ this.o_i.onmouseover=null; this.o_i.onmouseout=null; this.o_i.onclick=null; }if (this.o_lk){ this.o_lk.onfocus=null; this.o_lk.onblur=null; this.o_lk.onchange=null; if (this.o_c.OnKeyDown){ this.o_lk.onkeydown=null; }if (this.o_c.OnKeyPress){ this.o_lk.onkeypress=null; }if (this.o_c.OnKeyUp){ this.o_lk.onkeyup=null; }}};oboutTextBoxJSLoaded= true; try {if (Sys){if (Sys.Application){Sys.Application.notifyScriptLoaded(); }}}catch (o_L){} ;
