if (typeof(Obout)=="\x75\x6ede\x66\151\x6eed"){Obout= function (){};Obout.Interface= function (){};}Obout.Interface.OboutTextBox= function (o_O,o_o,o_og,o_I15,o_Y,o_y,isMultiLine,o_f,o_I,o_i){ this.ID=o_O; this.o_A=document.getElementById(o_o); this.o_Ih=document.getElementById(o_og); this.o_E=o_I; this.o_B=o_f; if (typeof(this.o_B.OnTextChanged)=="functi\x6fn"){ this.onchange=this.o_B.OnTextChanged; }else { this.onchange=null; } this.o_o16=isMultiLine; this.IsOver= false; this.o_U= false; this.IsActive=o_y; this.IsDisabled=!o_Y; this.o_H=o_Y?"\x4e": "\104"; this.o_O16=o_I15; if (this.o_O16){ this.o_l16=this.o_Ih.value; } this.o_X=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_Op("IsAct\x69ve"); this.o_i16(); }if (this.o_o16){ this.o_W(); }};Obout.Interface.OboutTextBox.prototype.o_w= function (){var o_s=this ; this.o_A.onmouseover= function (){o_s.o_Op("IsOver"); } ; this.o_A.onmouseout= function (){o_s.o_Op("\111\x73Over", false); } ; this.o_A.onclick= function (){o_s.o_Op("I\x73Active"); } ; this.o_Ih.onfocus= function (){o_s.o_Op("IsAc\x74ive"); o_s.o_i16(); } ; this.o_Ih.onblur= function (){o_s.o_Op("I\x73Active", false); o_s.o_i16(); } ; this.o_Ih.onchange= function (){o_s.o_I16(); } ; if (this.o_B.OnKeyDown){ this.o_Ih.onkeydown= function (o_l9){o_s.o_o17(o_l9); } ; }if (this.o_B.OnKeyPress){ this.o_Ih.onkeypress= function (o_l9){o_s.o_O17(o_l9); } ; }if (this.o_B.OnKeyUp){ this.o_Ih.onkeyup= function (o_l9){o_s.o_l17(o_l9); } ; }try {if (typeof(Sys)!="\x75ndefin\x65\144"){if (Sys && Sys.WebForms && Sys.WebForms.PageRequestManager){Sys.WebForms.PageRequestManager.getInstance().add_pageLoading( function (o_n,o_M){Obout.Interface.o_m.o_L(o_s,o_M); } );}}}catch (o_l){}Obout.Interface.OboutCore.o_q(window,"unl\x6fad", function (){o_s.destruct(); } ); };Obout.Interface.OboutTextBox.prototype.o_W= function (){var o_v=Obout.Interface.OboutCore.o_T.o_v(); var o_t=Obout.Interface.OboutCore.o_T.o_t(); var o_S=Obout.Interface.OboutCore.o_T.o_S(); if (o_v){if (o_t || (!o_t && !o_S)){ this.o_A.childNodes[4].style.width=this.o_A.offsetWidth-(this.o_A.childNodes[3].offsetWidth+this.o_A.childNodes[5].offsetWidth)+"px"; this.o_A.childNodes[4].style.height=this.o_A.offsetHeight-(this.o_A.childNodes[1].offsetHeight+this.o_A.childNodes[7].offsetHeight)+"\x70x"; ; this.o_A.childNodes[3].style.height=this.o_A.childNodes[4].style.height; this.o_A.childNodes[5].style.height=this.o_A.childNodes[4].style.height; this.o_A.childNodes[1].style.width=this.o_A.childNodes[4].style.width; this.o_A.childNodes[7].style.width=this.o_A.childNodes[4].style.width; this.o_A.childNodes[4].firstChild.style.width=this.o_A.childNodes[4].offsetWidth+"\x70x"; this.o_A.childNodes[4].firstChild.style.height=this.o_A.childNodes[4].offsetHeight-this.o_A.childNodes[4].firstChild.offsetTop+"\x70x"; if (this.o_A.onresize==null){ this.o_A.childNodes[4].firstChild.style.overflowX="hidden"; var o_s=this ; this.o_A.onresize= function (){o_s.o_W(); } ; }}}};Obout.Interface.OboutTextBox.prototype.o_Op= function (o_l10,o_Y){if (typeof(o_Y)=="\x75nd\x65\146\x69ned"){o_Y= true; }if (!this.IsDisabled || o_l10=="\x49sD\x69\x73ab\x6ced"){ this[o_l10]=o_Y; if (this.IsActive){ this.o_J("\x41"); }else if (this.IsOver){ this.o_J("O"); }else if (this.IsDisabled){ this.o_J("D"); }else { this.o_J("\x4e"); }}};Obout.Interface.OboutTextBox.prototype.o_J= function (o_j){if (o_j!=this.o_H){ this.o_A.className=this.o_E[o_j]; this.o_H=o_j; }};Obout.Interface.OboutTextBox.prototype.value= function (o_Ow){if (typeof(o_Ow)=="\x75nd\x65fined"){return this.o_Ih.value; }else { this.o_Ih.value=o_Ow; }};Obout.Interface.OboutTextBox.prototype.focus= function (){if (!this.IsDisabled){try { this.o_Ih.focus(); }catch (o_l){} ; }};Obout.Interface.OboutTextBox.prototype.select= function (){if (!this.IsDisabled){ this.o_Ih.select(); }};Obout.Interface.OboutTextBox.prototype.o_I16= function (){if (this.onchange){ this.onchange(this,this.o_Ih.value); }};Obout.Interface.OboutTextBox.prototype.o_o17= function (o_l9){var o_i17= true; if (this.o_B.OnKeyDown){o_i17=this.o_B.OnKeyDown(this,Obout.Interface.OboutCore.o_O9(o_l9)); }if (!o_i17){Obout.Interface.OboutCore.o_i9(o_l9); }return o_i17; };Obout.Interface.OboutTextBox.prototype.o_O17= function (o_l9){var o_i17= true; if (this.o_B.OnKeyPress){o_i17=this.o_B.OnKeyPress(this,Obout.Interface.OboutCore.o_O9(o_l9)); }if (!o_i17){Obout.Interface.OboutCore.o_i9(o_l9); }return o_i17; };Obout.Interface.OboutTextBox.prototype.o_l17= function (o_l9){var o_i17= true; if (this.o_B.OnKeyUp){o_i17=this.o_B.OnKeyUp(this,Obout.Interface.OboutCore.o_O9(o_l9)); }if (!o_i17){Obout.Interface.OboutCore.o_i9(o_l9); }return o_i17; };Obout.Interface.OboutTextBox.prototype.temporaryClearText= function (){};Obout.Interface.OboutTextBox.prototype.o_i16= function (){if (this.o_O16){if (this.IsActive){if (this.o_Ih.value==this.o_l16){ this.o_Ih.value=""; }}else {if (this.o_Ih.value==""){ this.o_Ih.value=this.o_l16; }}}};Obout.Interface.OboutTextBox.prototype.enable= function (){ this.o_Ih.disabled= false; this.o_Op("\x49s\x44\151\x73abled", false); };Obout.Interface.OboutTextBox.prototype.disable= function (){ this.o_Ih.disabled= true; this.o_Op("\x49sDisa\x62led", true); };Obout.Interface.OboutTextBox.prototype.destruct= function (){ this.o_h(); if (this.o_X && this.o_A && this.o_A.parentNode){ this.o_A.parentNode.removeChild(this.o_A); } this.o_Ih=null; this.o_A=null; };Obout.Interface.OboutTextBox.prototype.o_h= function (){if (this.o_A){ this.o_A.onmouseover=null; this.o_A.onmouseout=null; this.o_A.onclick=null; }if (this.o_Ih){ this.o_Ih.onfocus=null; this.o_Ih.onblur=null; this.o_Ih.onchange=null; if (this.o_B.OnKeyDown){ this.o_Ih.onkeydown=null; }if (this.o_B.OnKeyPress){ this.o_Ih.onkeypress=null; }if (this.o_B.OnKeyUp){ this.o_Ih.onkeyup=null; }}};oboutTextBoxJSLoaded= true; try {if (Sys){if (Sys.Application){Sys.Application.notifyScriptLoaded(); }}}catch (o_l){} ;
