if (typeof(Obout)=="un\x64e\x66i\x6e\x65\x64"){Obout= function (){};Obout.Interface= function (){};}Obout.Interface.OboutTextBox= function (o_O,o_o,o_ih,o_i1g,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)=="fu\x6e\143tio\x6e"){ this.onchange=this.o_c.OnTextChanged; }else { this.onchange=null; } this.o_I1g=isMultiLine; this.IsOver= false; this.o_e= false; this.IsActive=o_Y; this.IsDisabled=!enabled; this.o_j=enabled?"N": "\104"; this.o_o1h=o_i1g; if (this.o_o1h){ this.o_O1h=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_Iu("Is\x41\143\164\151ve"); this.o_l1h(); }if (this.o_I1g){ this.o_x(); }};Obout.Interface.OboutTextBox.prototype.o_W= function (){var o_S=this ; this.o_i.onmouseover= function (){o_S.o_Iu("\x49\x73\x4f\x76\x65\x72"); } ; this.o_i.onmouseout= function (){o_S.o_Iu("\111sOv\x65\x72", false); } ; this.o_i.onclick= function (){o_S.o_Iu("IsA\x63\x74\x69v\x65"); } ; this.o_lk.onfocus= function (){o_S.o_Iu("Is\x41\x63t\x69\x76\x65"); o_S.o_l1h(); } ; this.o_lk.onblur= function (){o_S.o_Iu("IsA\x63\x74i\x76\x65", false); o_S.o_l1h(); } ; this.o_lk.onchange= function (){o_S.o_i1h(); } ; if (this.o_c.OnKeyDown){ this.o_lk.onkeydown= function (o_i9){o_S.o_I1h(o_i9); } ; }if (this.o_c.OnKeyPress){ this.o_lk.onkeypress= function (o_i9){o_S.o_o1i(o_i9); } ; }if (this.o_c.OnKeyUp){ this.o_lk.onkeyup= function (o_i9){o_S.o_O1i(o_i9); } ; }try {if (typeof(Sys)!="u\x6e\x64\x65f\x69\x6e\x65d"){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)+"px"; this.o_i.childNodes[4].style.height=this.o_i.offsetHeight-(this.o_i.childNodes[1].offsetHeight+this.o_i.childNodes[7].offsetHeight)+"px"; ; 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+"\x70\170"; this.o_i.childNodes[4].firstChild.style.height=this.o_i.childNodes[4].offsetHeight-this.o_i.childNodes[4].firstChild.offsetTop+"\x70\x78"; if (this.o_i.onresize==null){ this.o_i.childNodes[4].firstChild.style.overflowX="h\x69\x64\x64\x65\x6e"; var o_S=this ; this.o_i.onresize= function (){o_S.o_x(); } ; }}}};Obout.Interface.OboutTextBox.prototype.o_Iu= function (o_i1b,enabled){if (typeof(enabled)=="\x75\x6e\x64\x65\x66\x69n\x65\x64"){enabled= true; }if (!this.IsDisabled || o_i1b=="IsD\x69\x73a\x62\x6c\x65\x64"){ this[o_i1b]=enabled; if (this.IsActive){ this.o_k("A"); }else if (this.IsOver){ this.o_k("O"); }else if (this.IsDisabled){ this.o_k("\x44"); }else { this.o_k("N"); }}};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_O13){if (typeof(o_O13)=="\165nd\x65f\x69n\x65\x64"){return this.o_lk.value; }else { this.o_lk.value=o_O13; }};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_i1h= function (){if (this.onchange){ this.onchange(this,this.o_lk.value); }};Obout.Interface.OboutTextBox.prototype.o_I1h= function (o_i9){var o_l1i= true; if (this.o_c.OnKeyDown){o_l1i=this.o_c.OnKeyDown(this,Obout.Interface.OboutCore.o_l9(o_i9)); }if (!o_l1i){Obout.Interface.OboutCore.o_I9(o_i9); }return o_l1i; };Obout.Interface.OboutTextBox.prototype.o_o1i= function (o_i9){var o_l1i= true; if (this.o_c.OnKeyPress){o_l1i=this.o_c.OnKeyPress(this,Obout.Interface.OboutCore.o_l9(o_i9)); }if (!o_l1i){Obout.Interface.OboutCore.o_I9(o_i9); }return o_l1i; };Obout.Interface.OboutTextBox.prototype.o_O1i= function (o_i9){var o_l1i= true; if (this.o_c.OnKeyUp){o_l1i=this.o_c.OnKeyUp(this,Obout.Interface.OboutCore.o_l9(o_i9)); }if (!o_l1i){Obout.Interface.OboutCore.o_I9(o_i9); }return o_l1i; };Obout.Interface.OboutTextBox.prototype.temporaryClearText= function (){};Obout.Interface.OboutTextBox.prototype.o_l1h= function (){if (this.o_o1h){if (this.IsActive){if (this.o_lk.value==this.o_O1h){ this.o_lk.value=""; }}else {if (this.o_lk.value==""){ this.o_lk.value=this.o_O1h; }}}};Obout.Interface.OboutTextBox.prototype.enable= function (){ this.o_lk.disabled= false; this.o_Iu("\x49sDis\x61\x62\x6c\x65\x64", false); };Obout.Interface.OboutTextBox.prototype.disable= function (){ this.o_lk.disabled= true; this.o_Iu("\x49\x73\x44\x69\x73\x61\x62\x6c\x65\144", 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){} ;
