var uc_rbx=new common_rbx_class();function common_rbx_class(){this.ps_container_id=""}common_rbx_class.prototype.init=function(a){if(this.ps_container_id==a&&this.po_container.innerHTML==document.getElementById(a).innerHTML){this.uf_set_enabled();return}this.ps_container_id=a;this.po_container=document.getElementById(this.ps_container_id);this.po_fields=this.po_container.getElementsByTagName("INPUT");this.po_selected_value=this.po_fields[0];this.pb_multi=this.po_fields[2].value=="1";this.pb_enabled=this.po_fields[3].value=="1";this.ps_autopostback_id=this.po_fields[4].value;this.pb_autopostback=this.ps_autopostback_id!="";this.po_control=this.po_container.getElementsByTagName("TABLE")[0];this.po_control_items=this.po_control.getElementsByTagName("BUTTON");this.ps_colselected_value=this.po_fields[5].value;this.ps_colunselected_value=this.po_fields[6].value};common_rbx_class.prototype.uf_set_enabled=function(){this.pb_enabled=this.po_fields[3].value=="1"};common_rbx_class.prototype.uf_click=function(f){uc_rbx.init(f);if(!this.pb_enabled){return}var d=eventTarget();var b,c;b=this.ps_colselected_value;c=this.ps_colunselected_value;var a=uc_rbx.uf_toggle(d,b,c);if(!this.pb_multi&&a){for(var e=0;e<this.po_control_items.length;e++){if(d.getAttribute("p_value")!=this.po_control_items[e].getAttribute("p_value")&&this.po_control_items[e].className=="selected"){uc_rbx.uf_toggle(this.po_control_items[e],b,c)}}}uc_rbx.uf_set_value();if(this.pb_autopostback){ut_trigger.postback(this.ps_autopostback_id)}return false};common_rbx_class.prototype.uf_toggle=function(b,a,c){if(b.className=="selected"){b.className="";if(b.getAttribute("color_unselected")){b.style.background=b.getAttribute("color_unselected")}else{if(c!=""){b.style.background=c}else{b.style.background="#FFFFFF"}}}else{b.className="selected";if(b.getAttribute("color_selected")){b.style.background=b.getAttribute("color_selected")}else{if(a!=""){b.style.background=a}else{b.style.background="#3CC6D5"}}}return b.className=="selected"};common_rbx_class.prototype.uf_set_value=function(c,b){var d=new Array();for(var a=0;a<this.po_control_items.length;a++){if(this.po_control_items[a].className=="selected"){d.push(this.po_control_items[a].getAttribute("p_value"))}}this.po_selected_value.value=d.join()};common_rbx_class.prototype.uf_keydown=function(b){var a=eventTarget();if(ut_key.is_right()){if(a.parentNode.nextSibling){a.parentNode.nextSibling.childNodes[0].focus()}}if(ut_key.is_left()){if(a.parentNode.previousSibling){a.parentNode.previousSibling.childNodes[0].focus()}}};common_rbx_class.prototype.uf_mouseover=function(a){uc_rbx.init(a)};common_rbx_class.prototype.uf_mouseout=function(){pu_tooltip.close_moving_message()};var uc_txt=new common_txt_class();function common_txt_class(){this.ps_container_id=""}common_txt_class.prototype.init=function(a){if(this.ps_container_id==a){return}else{if(this.po_control){uc_txt.uf_normal()}}this.pi_control_top_offset=1;this.pi_control_left_offset=2;this.pi_close_top_offset=2;this.pi_close_left_offset=-28;this.pi_container_height_offset=10;this.pi_container_width_offset=4;this.pi_window_left_offset=15;this.ps_container_id=a;this.po_container=document.getElementById(a);this.po_control=this.po_container.getElementsByTagName("TEXTAREA")[0];this.po_close=this.po_container.getElementsByTagName("IMG")[0];this.pb_autoexpand=this.po_container.getElementsByTagName("INPUT")[0].value=="True";this.pi_expand_width=parseFloat(this.po_control.getAttribute("ew"));this.pi_expand_height=parseFloat(this.po_control.getAttribute("eh"));this.po_style=this.po_control.style;this.pi_top=ut_mining.find_position_top(this.po_container);this.pi_left=ut_mining.find_position_left(this.po_container);this.pi_window_height=document.body.clientHeight;this.pi_window_width=document.body.clientWidth;if(this.po_style.height==""){this.ps_height=24}else{this.ps_height=this.po_style.height}if(this.po_style.width==""){this.ps_width=135}else{this.ps_width=this.po_style.width}this.po_container.style.height=parseFloat(this.ps_height)+this.pi_container_height_offset+"px";this.po_container.style.width=parseFloat(this.ps_width)+this.pi_container_width_offset+"px";this.po_close.style.position="absolute";if(this.po_close.getAttribute("init")!="true"){addEvent(this.po_close,"click",new Function("uc_txt.uf_normal()"));this.po_close.setAttribute("init","true")}this.ps_mode="normal"};common_txt_class.prototype.uf_click=function(a){uc_txt.init(a);if(!this.pb_autoexpand){return}if(ut_key.is_tab()){if(this.ps_mode=="expand"){uc_txt.uf_normal()}return}if(this.ps_mode=="normal"){uc_txt.uf_expand();return}};common_txt_class.prototype.uf_expand=function(){this.po_style.position="absolute";if(parseFloat(this.ps_height)>this.pi_expand_height){this.pi_expand_height=parseFloat(this.ps_height)}if(parseFloat(this.ps_width)>this.pi_expand_width){this.pi_expand_width=parseFloat(this.ps_width)}if(this.pi_left+this.pi_expand_width>this.pi_window_width){this.pi_expand_width=this.pi_window_width-this.pi_left-this.pi_window_left_offset}this.po_style.left=this.pi_left+this.pi_control_left_offset;this.po_style.height=this.pi_expand_height+"px";this.po_style.width=this.pi_expand_width+"px";this.po_style.top=this.pi_top+this.pi_control_top_offset+"px";this.po_close.style.top=this.pi_top+this.pi_close_top_offset+"px";this.po_close.style.left=(this.po_style.left==""?this.pi_left:parseFloat(this.po_style.left))+this.pi_expand_width+this.pi_close_left_offset+"px";this.po_close.style.display="";this.ps_mode="expand"};common_txt_class.prototype.uf_normal=function(){this.po_style.position="";this.po_style.height=this.ps_height;this.po_style.width=this.ps_width;this.po_style.top="";this.po_style.left="";this.po_close.style.display="none";this.ps_mode="normal"};common_txt_class.prototype.uf_adjust=function(){this.pi_top=ut_mining.find_position_top(this.po_container);this.pi_left=ut_mining.find_position_left(this.po_container);if(this.ps_mode=="expand"){uc_txt.uf_expand()}};var uc_cp=new common_cp_class();function common_cp_class(){this.ps_container_id_active="";this.ps_container_id="";this.palette_created=0}common_cp_class.prototype.init=function(a){var b;var c;if(this.ps_container_id==a&&this.ps_autopostback=="0"){return}else{uc_cp.popup_close(a)}this.ps_container_id=a;this.po_container=document.getElementById(a);b=this.po_container.getElementsByTagName("TABLE");this.po_control_item=b[0];this.po_popup_tbl=b[1];this.po_popup_item=this.po_popup_tbl.parentNode;c=this.po_control_item.getElementsByTagName("INPUT");this.po_display_pound_item=c[0];this.po_display_text_item=c[1];this.po_trackchanges=c[2];this.ps_postback_unique_id=c[3].value;this.po_display_color_item=c[4];if(this.palette_created==0){this.palette=uc_cp.popup_create_palette()}this.po_popup_item.innerHTML=this.palette;return true};common_cp_class.prototype.popup_create_palette=function(){var b=new Array("FF","CC","99","77","33","00");var d=new Array("A","B","C","D","E","F");var c="";var a="";a+='<table cellspacing="0" cellspacing="0" style="float: left; width: 200px; height:100px; border-collapse: collapse">';for(x=0;x<=5;x++){a+='<tr style="height: 10px">';for(y=0;y<=2;y++){for(z=((x*6)+1);z<=((x+1)*6);z++){lictr=((z-1)%6);c=b[y]+b[x]+b[lictr];a+='<td style="border: 1px solid gray; background: #'+c+'; line-height: 10px; cursor: pointer" onClick="uc_cp.popup_insert_color(\''+c+"')\">&nbsp;</td>"}}a+="</tr>"}for(x=0;x<=5;x++){if(y>=3){a+='<tr style="height: 10px">'}for(y=0;y<=5;y++){for(z=((x*6)+1);z<=((x+1)*6);z++){lictr=((z-1)%6);c=b[y]+b[x]+b[lictr];if(y>=3){a+='<td style="border: 1px solid gray; background: #'+c+'; line-height: 10px; cursor: pointer" onClick="uc_cp.popup_insert_color(\''+c+"')\">&nbsp;</td>"}}}if(y>=3){a+="</tr>"}}for(x=0;x<=1;x++){a+='<tr style="height: 10px">';for(y=0;y<=5;y+=2){for(z=0;z<=5;z++){c=d[y+x]+d[z]+d[y+x]+d[z]+d[y+x]+d[z];a+='<td style="border: 1px solid gray; background: #'+c+'; line-height: 10px; cursor: pointer" onClick="uc_cp.popup_insert_color(\''+c+"')\">&nbsp;</td>"}}a+="</tr>"}a+="</table>";this.palette_created=1;return a};common_cp_class.prototype.popup_open=function(m){var q,c,e,g;var k,b,o,i;var h,f,j,n;var d,a,l;var p;uc_cp.init(m);q=this.po_control_item;c=this.po_popup_item;e=this.po_display_text_item;p=this.po_display_pound_item;g=this.po_trackchanges;if(e.getAttribute("init")!="true"){addEvent(e,"change",new Function("uc_cp.fill_mask()"));e.setAttribute("init","true")}p.value="#";c.style.visibility="visible";c.style.display="block";c.style.width="";k=c.clientHeight;b=c.clientWidth;o=q.offsetHeight;i=q.offsetWidth;h=document.body.clientHeight;f=document.body.clientWidth;j=ut_mining.find_position_top(q);n=ut_mining.find_position_left(q);d=j+o+0;a=j-k-2;l=n;if((n+b)>f){l=(f-b-10)}if(d+k<h){c.style.top=d+"px"}else{c.style.top=a+"px"}c.style.left=l+"px";return};common_cp_class.prototype.popup_close=function(b){var a;a=this.po_popup_item;if(a&&this.ps_container_id!=this.ps_container_id_active){a.style.visibility="hidden";a.style.display="none";if(this.po_display_text_item.value==""){this.po_display_pound_item.value=""}}this.ps_container_id_active=b};common_cp_class.prototype.popup_insert_color=function(b,a){this.po_display_text_item.value=b;if(b==""){this.po_display_color_item.style.background=""}else{this.po_display_color_item.style.background="#"+b}if(a){this.ps_container_id_active=""}else{this.ps_container_id_active=this.ps_container_id}};common_cp_class.prototype.fill_mask=function(){var b;var a;b=this.po_display_text_item;a=b.value;if(a.length>0){while(a.length<6){a+="0"}}uc_cp.popup_insert_color(a.toUpperCase(),true)};var uc_tabc=new common_tabcontrol_class();function common_tabcontrol_class(){}common_tabcontrol_class.prototype.hover=function(a){var b;b=document.getElementById(a);b.className="hover"};common_tabcontrol_class.prototype.unhover=function(a){var b;b=document.getElementById(a);b.className="inactive"};var uc_ddl=new common_ddl_class();function common_ddl_class(){}common_ddl_class.prototype.init=function(b){var d;var a;var c;if(this.ps_container_id==b&&this.ps_autopostback=="0"){return}this.ps_container_id=b;this.po_container=document.getElementById(b);d=this.po_container.getElementsByTagName("TABLE");this.po_control_item=d[0];this.po_popup_item=d[1].parentNode;c=this.po_popup_item.getElementsByTagName("TABLE");this.po_popup_tbl=c[0];this.po_list_row_items=this.po_popup_item.getElementsByTagName("TR");a=this.po_control_item.getElementsByTagName("INPUT");this.po_display_text_item=a[0];this.po_reg_index_item=a[1];this.po_reg_value_item=a[2];this.po_reg_text_item=a[3];this.po_trackchanges=a[4];this.ps_postback_unique_id=a[5].value;this.po_comparator_value_item=a[6];this.po_watermark_value_item=a[7];return true};common_ddl_class.prototype.popup_set_toggle=function(a){var b;uc_ddl.init(a);b=this.ps_postback_unique_id;if(gs_flag_ddl_current_id==a){gs_flag_ddl_source_id=a;gs_flag_ddl_source_postback_id=b}else{gs_flag_ddl_source_id=a;gs_flag_ddl_source_postback_id=b}};common_ddl_class.prototype.popup_set_source=function(a){var b;uc_ddl.init(a);b=this.ps_postback_unique_id;gs_flag_ddl_source_id=a;gs_flag_ddl_source_postback_id=b};common_ddl_class.prototype.popup_open=function(n){var d,e,v;var i,D;var o,c,p;var C,m;var h,q;var r=false;var B,j;var w,k;var t,s;var u,a;var b,l;var f,g,A;if(ut_detector.browser_safari()){r=true}uc_ddl.init(n);d=this.po_control_item;e=this.po_popup_item;v=this.po_popup_tbl;i=d.getElementsByTagName("INPUT");D=this.po_trackchanges;o=this.po_list_row_items;for(h=0;h<o.length;h++){c=o[h];p=c.getElementsByTagName("TD");C=p[0];m=p[1];if(c.getAttribute("init")!="true"){if(r){C.style.visibility="hidden";C.style.width="0px"}else{C.style.display="none"}addEvent(c,"mouseover",new Function("event.cancelBubble = true;"));addEvent(c,"mouseout",new Function("event.cancelBubble = true;"));addEvent(c,"click",new Function("uc_ddl.set_selected('"+n+"', "+h+")"));c.setAttribute("init","true")}if(gs_flag_ddl_current_id!=n){c.style.display=""}}e.style.visibility="visible";e.style.display="block";li_item_count=this.po_list_row_items.length;q=0;for(h=0;h<li_item_count;h++){c=this.po_list_row_items[h];if(c.style.display==""){q++}}uc_ddl.adjust_height(n,q);e.style.width="";B=e.clientHeight;j=e.clientWidth;w=d.offsetHeight;k=d.offsetWidth;t=document.body.clientHeight;s=document.body.clientWidth;u=ut_mining.find_position_top(d);a=ut_mining.find_position_left(d);f=u+w+0;g=u-B-2;A=a;b=ut_mining.find_location_top(d);l=ut_mining.find_location_left(d);if((l+j)>s){A=(k+a)-j}if((j+10)<k){j=k;if(o.length<10){e.style.width=(j-10)+"px";v.style.width=(j-10)+"px"}else{e.style.width=(j-10)+"px";v.style.width=(j-27)+"px"}}else{e.style.width=""}if(f+B<t){e.style.top=f+"px"}else{e.style.top=g+"px"}e.style.left=A+"px";return};common_ddl_class.prototype.adjust_width=function(g,b){var c,f,a;var e,d;uc_ddl.init(g);c=this.po_control_item;f=this.po_popup_item;a=this.po_popup_tbl;a.style.width="";f.style.width="";e=f.clientWidth;d=c.offsetWidth;if((e+10)<d){e=d;if(b<10){f.style.width=(e-10)+"px";a.style.width=(e-10)+"px"}else{f.style.width=(e-10)+"px";a.style.width=(e-27)+"px"}}else{f.style.width=""}return};common_ddl_class.prototype.adjust_height=function(c,d){var a,b;uc_ddl.init(c);a=this.po_list_row_items;b=this.po_popup_item;if(d<10){b.style.height=""}else{b.style.height="200px"}};common_ddl_class.prototype.popup_close=function(){var n;var i,l,f,h,b;var g,k;var d,c;var a;var m;var e;var j;if((gs_flag_ddl_current_id)!=""&&(gs_flag_ddl_source_id!=gs_flag_ddl_current_id)){uc_ddl.init(gs_flag_ddl_current_id);n=this.po_popup_item;i=this.po_reg_value_item;l=this.po_reg_text_item;f=this.po_display_text_item;h=this.po_trackchanges;b=this.po_comparator_value_item;lo_watermark_value_item=this.po_watermark_value_item;a=this.po_list_row_items.length;e=false;for(m=0;m<a;m++){g=this.po_list_row_items[m];k=g.getElementsByTagName("TD");d=k[0];c=k[1];if(l.value.toUpperCase()==ut_code.HTMLdecode(c.innerHTML).toUpperCase()&&g.style.display==""){e=true}}if(e){if(l.value==""&&lo_watermark_value_item.value!=""){f.value=lo_watermark_value_item.value;f.className="ddlwatermark"}else{f.value=l.value;f.className="textctl"}}else{f.className="texterr"}j=false;if(i.value!=b.value){j=true}b.value=i.value;if(j&&h.value=="1"){ut_tracking.set_modified_flag()}n.style.visibility="hidden";n.style.display="none";if(j&&gs_flag_ddl_current_postback_id!=""){ut_trigger.postback(gs_flag_ddl_current_postback_id)}}gs_flag_ddl_current_id=gs_flag_ddl_source_id;gs_flag_ddl_source_id="";gs_flag_ddl_current_postback_id=gs_flag_ddl_source_postback_id;gs_flag_ddl_source_postback_id="";return};common_ddl_class.prototype.highlight=function(a){a.style.backgroundColor=gs_constant_row_highlight_color;return};common_ddl_class.prototype.unhighlight=function(a){a.style.backgroundColor="";return};common_ddl_class.prototype.hover=function(f){var d,a;var b,c;var e;d=document.getElementById(f);a=d.getElementsByTagName("TABLE");b=a[0];c=b.getElementsByTagName("INPUT");e=c[0];if(e.value!=""){pu_tooltip.open_moving_message(e.value)}return true};common_ddl_class.prototype.open_list=function(b){var a;var e,d;var f;var c;uc_ddl.init(b);a=this.po_popup_item;e=this.po_reg_index_item;d=this.po_display_text_item;c=parseInt(e.value);f=this.po_list_row_items[c];uc_ddl.highlight(f);a.scrollTop=f.offsetTop;ut_gui.focus(d.id);return true};common_ddl_class.prototype.set_selected=function(e,h){var d,n;var a,b,k,f;var l;var j,i;var g,m;var c;uc_ddl.init(e);d=this.po_control_item;n=this.po_popup_item;a=this.po_reg_value_item;b=this.po_reg_text_item;k=this.po_reg_index_item;f=this.po_display_text_item;c=parseInt(k.value);j=this.po_list_row_items[c];uc_ddl.unhighlight(j);c=parseInt(h);j=this.po_list_row_items[c];i=j.getElementsByTagName("TD");g=i[0];m=i[1];uc_ddl.highlight(j);a.value=ut_code.HTMLdecode(g.innerHTML);b.value=ut_code.HTMLdecode(m.innerHTML);k.value=c;f.value=ut_code.HTMLdecode(m.innerHTML);uc_ddl.popup_close();ut_gui.focus(f.id);return true};common_ddl_class.prototype.key_list=function(p,q){var n;var r,e,h,a;var j,d;var g,o;var i;var b,m;var k;var l,c;var f;uc_ddl.init(p);n=this.po_popup_item;r=this.po_reg_value_item;e=this.po_reg_text_item;h=this.po_reg_index_item;a=this.po_display_text_item;i=this.ps_postback_unique_id;if(ut_key.is_tab()){if(gs_flag_ddl_current_id==n.id){if(i!=""){uc_ddl.popup_close();return false}}uc_ddl.popup_close();return true}if(ut_key.is_enter()){if(gs_flag_ddl_current_id==n){if(i!=""){uc_ddl.popup_close();return false}}if(gs_flag_ddl_current_id==n){uc_ddl.popup_close();return false}else{if(q!=""){uc_ddl.popup_close();ut_trigger.submit(q);return false}}uc_ddl.popup_close();return false}if(ut_key.is_down()){uc_ddl.popup_set_source(p);uc_ddl.popup_open(p);uc_ddl.popup_close();m=parseInt(h.value);j=this.po_list_row_items[m];uc_ddl.unhighlight(j);b=this.po_list_row_items.length;m=parseInt(h.value);for(k=(parseInt(h.value)+1);k<b;k++){j=this.po_list_row_items[k];if(!(j.style.display=="none")){m=k;break}}j=this.po_list_row_items[m];d=j.getElementsByTagName("TD");g=d[0];o=d[1];uc_ddl.highlight(j);n.scrollTop=j.offsetTop;r.value=ut_code.HTMLdecode(g.innerHTML);e.value=ut_code.HTMLdecode(o.innerHTML);h.value=m;a.value=ut_code.HTMLdecode(o.innerHTML);ut_gui.focus(a.id);return true}if(ut_key.is_up()){uc_ddl.popup_set_source(p);uc_ddl.popup_open(p);uc_ddl.popup_close();m=parseInt(h.value);j=this.po_list_row_items[m];uc_ddl.unhighlight(j);b=0;m=parseInt(h.value);for(k=(parseInt(h.value)-1);k>=b;k--){j=this.po_list_row_items[k];if(!(j.style.display=="none")){m=k;break}}j=this.po_list_row_items[m];d=j.getElementsByTagName("TD");g=d[0];o=d[1];uc_ddl.highlight(j);n.scrollTop=j.offsetTop;r.value=ut_code.HTMLdecode(g.innerHTML);e.value=ut_code.HTMLdecode(o.innerHTML);h.value=m;a.value=ut_code.HTMLdecode(o.innerHTML);ut_gui.focus(a.id);return true}if(ut_key.is_number()||ut_key.is_alpha()||ut_key.is_space()||ut_key.is_bsp()){l=ut_key.character();if(ut_key.is_bsp()){c=a.value.substring(0,(a.value.length-1))}else{c=a.value+l}b=this.po_list_row_items.length;f=true;for(k=0;k<b;k++){j=this.po_list_row_items[k];d=j.getElementsByTagName("TD");g=d[0];o=d[1];if((ut_code.HTMLdecode(o.innerHTML).toUpperCase()).indexOf((c).toUpperCase())==0){f=false}}if(f){return false}uc_ddl.popup_set_source(p);uc_ddl.popup_open(p);uc_ddl.popup_close();return true}return false};common_ddl_class.prototype.filter_list=function(b){var k,c;var e,q,i,m;var o,j;var d,g;var p,a,h,f;var n;var l;uc_ddl.init(b);k=this.po_control_item;c=this.po_popup_item;e=this.po_reg_value_item;q=this.po_reg_text_item;i=this.po_reg_index_item;m=this.po_display_text_item;if(ut_key.is_number()||ut_key.is_alpha()||ut_key.is_space()||ut_key.is_bsp()){p=this.po_list_row_items.length;l=true;a=0;f=0;for(n=0;n<p;n++){o=this.po_list_row_items[n];j=o.getElementsByTagName("TD");d=j[0];g=j[1];if((ut_code.HTMLdecode(g.innerHTML).toUpperCase()).indexOf(m.value.toUpperCase())==0){l=false;if(a==0){a=n}o.style.display="";f++}else{o.style.display="none"}}h=parseInt(i.value);o=this.po_list_row_items[h];uc_ddl.unhighlight(o);h=a;o=this.po_list_row_items[h];j=o.getElementsByTagName("TD");d=j[0];g=j[1];uc_ddl.highlight(o);c.scrollTop=o.offsetTop;e.value=ut_code.HTMLdecode(d.innerHTML);q.value=ut_code.HTMLdecode(g.innerHTML);i.value=h;uc_ddl.adjust_width(b,f);uc_ddl.adjust_height(b,f)}return true};common_ddl_class.prototype.context_menu=function(a){if(ut_key.is_rightclick()){uc_ddl.popup_set_source(a);uc_ddl.popup_open(a);uc_ddl.popup_close()}return false};common_ddl_class.prototype.set_value=function(m,l){var i,a;var o,b,f,g;var k,h;var e,d;var n,j;var c;uc_ddl.init(m);a=this.po_control_item;i=this.po_popup_item;o=this.po_reg_value_item;b=this.po_reg_text_item;f=this.po_reg_index_item;g=this.po_display_text_item;j=parseInt(f.value);k=this.po_list_row_items[j];uc_ddl.unhighlight(k);n=this.po_list_row_items.length;for(c=0;c<n;c++){k=this.po_list_row_items[c];h=k.getElementsByTagName("TD");e=h[0];d=h[1];if(ut_code.HTMLdecode(e.innerHTML)==l){j=parseInt(c)}}k=this.po_list_row_items[j];h=k.getElementsByTagName("TD");e=h[0];d=h[1];uc_ddl.highlight(k);o.value=ut_code.HTMLdecode(e.innerHTML);b.value=ut_code.HTMLdecode(d.innerHTML);f.value=j;g.value=ut_code.HTMLdecode(d.innerHTML);return true};common_ddl_class.prototype.get_value=function(a){var c;var b;c=this.po_container;b=this.po_reg_value_item;return b.value};var uc_msl=new common_msl_class();function common_msl_class(){}common_msl_class.prototype.init=function(b){var d;var a;var c;if(this.ps_container_id==b&&this.ps_autopostback=="0"){return}if(this.ps_container_id!=b){this.li_item_index=-1}this.ps_container_id=b;this.po_container=document.getElementById(b);d=this.po_container.getElementsByTagName("TABLE");this.po_control_item=d[0];this.po_popup_item=d[1].parentNode;c=this.po_popup_item.getElementsByTagName("TABLE");this.po_popup_tbl=c[0];this.po_list_row_items=this.po_popup_item.getElementsByTagName("TR");a=this.po_control_item.getElementsByTagName("INPUT");this.po_display_text_item=a[0];this.po_reg_index_item=a[1];this.po_reg_value_item=a[2];this.po_reg_text_item=a[3];this.po_trackchanges=a[4];this.ps_postback_unique_id=a[5].value;this.po_comparator_value_item=a[6];this.po_watermark_no_selected=a[7];this.po_watermark_selected=a[8];this.po_display_watermark=a[9];return true};common_msl_class.prototype.popup_set_toggle=function(a){var b;uc_msl.init(a);b=this.ps_postback_unique_id;if(gs_flag_msl_current_id==a){gs_flag_msl_source_id=a;gs_flag_msl_source_postback_id=b}else{gs_flag_msl_source_id=a;gs_flag_msl_source_postback_id=b}};common_msl_class.prototype.popup_set_source=function(a){var b;uc_msl.init(a);b=this.ps_postback_unique_id;gs_flag_msl_source_id=a;gs_flag_msl_source_postback_id=b};common_msl_class.prototype.popup_open=function(m){var j,u,c;var e;var f,o,i;var l,l,q,w;var C;var a=false;var t,v;var d,A;var g,b;var p,s;var h,k;var n,B,r;if(ut_detector.browser_safari()){a=true}uc_msl.init(m);j=this.po_control_item;u=this.po_popup_item;c=this.po_popup_tbl;e=this.po_trackchanges;f=this.po_list_row_items;for(C=0;C<f.length;C++){o=f[C];i=o.getElementsByTagName("TD");w=i[0].childNodes[0];i[0].style.width="25px";l=i[1];q=i[2];if(o.getAttribute("init")!="true"){if(a){l.style.visibility="hidden";l.style.width="0px"}else{l.style.display="none"}addEvent(o,"mouseover",new Function("event.cancelBubble = true;"));addEvent(o,"mouseout",new Function("event.cancelBubble = true;"));addEvent(o,"click",new Function("uc_msl.set_selected('"+m+"', "+C+")"));addEvent(w,"click",new Function("uc_msl.toggle('"+w.id+"')"));o.setAttribute("init","true")}}u.style.visibility="visible";u.style.display="block";uc_msl.adjust_height(m,f.length);u.style.width="";t=u.clientHeight;v=u.clientWidth;d=j.offsetHeight;A=j.offsetWidth;g=document.body.clientHeight;b=document.body.clientWidth;p=ut_mining.find_position_top(j);s=ut_mining.find_position_left(j);n=p+d+0;r=p-t-2;B=s;h=ut_mining.find_location_top(j);k=ut_mining.find_location_left(j);if((k+v)>b){B=(A+s)-v}if((v+10)<A){v=A;if(f.length<10){u.style.width=(v-10)+"px";c.style.width=(v-10)+"px"}else{u.style.width=(v-10)+"px";c.style.width=(v-27)+"px"}}else{u.style.width=""}if(n+t<g){u.style.top=n+"px"}else{u.style.top=r+"px"}u.style.left=B+"px";return};common_msl_class.prototype.adjust_height=function(c,d){var a,b;uc_msl.init(c);a=this.po_list_row_items;b=this.po_popup_item;if(d<10){b.style.height=""}else{b.style.height="200px"}};common_msl_class.prototype.popup_close=function(){var b;var d,c;var a;if((gs_flag_msl_current_id)!=""&&(gs_flag_msl_source_id!=gs_flag_msl_current_id)){uc_msl.init(gs_flag_msl_current_id);b=this.po_popup_item;d=this.po_reg_value_item;c=this.po_comparator_value_item;a=false;if(d.value!=c.value){a=true}c.value=d.value;b.style.visibility="hidden";b.style.display="none";if(a&&gs_flag_msl_current_postback_id!=""){ut_trigger.postback(gs_flag_msl_current_postback_id)}}gs_flag_msl_current_id=gs_flag_msl_source_id;gs_flag_msl_source_id="";gs_flag_msl_current_postback_id=gs_flag_msl_source_postback_id;gs_flag_msl_source_postback_id="";return};common_msl_class.prototype.toggle=function(b){var a;a=document.getElementById(b);a.checked=!a.checked;ut_gui.focus(this.po_display_text_item.id);return false};common_msl_class.prototype.hover=function(f,m){var i,d;var b,l;var h,g,e;var o;var k;var a;var c;var n;var j=false;if(ut_detector.browser_safari()){j=true}uc_msl.init(f);i=this.po_popup_item;o=this.po_watermark_no_selected;d=document.getElementById(m);b=this.po_list_row_items;n=true;a='<table cellpadding="0" cellspacing="0" border="0" style="margin: 5px;">';c=b.length;for(li_new_index=0;li_new_index<c;li_new_index++){l=b[li_new_index];h=l.getElementsByTagName("TD");g=h[0].childNodes[0];e=h[2];if(g.checked){a+='<tr style="height: 15px;">';a+="<td nowrap>";a+="&nbsp;&#149;&nbsp;"+e.innerHTML;a+="</td>";a+="</tr>";n=false}}a+="</table>";if(o.value!=""){k=o.value}else{k="No items selected."}if(n){a='<table cellpadding="0" cellspacing="0" border="0" style="margin: 5px;">';a+='<tr style="height: 15px;">';a+="<td nowrap>";a+=k;a+="</td>";a+="</tr>";a+="</table>"}d.innerHTML=a;return true};common_msl_class.prototype.open_list=function(b){var a;uc_msl.init(b);a=this.po_display_text_item;ut_gui.focus(a.id);return true};common_msl_class.prototype.set_selected=function(p,m){var i,t;var q,b,e,s;var r,g,f,v;var k,o;var u,a,c;var n,h;var l,j;var d=false;if(ut_detector.browser_safari()){d=true}uc_msl.init(p);i=this.po_control_item;t=this.lo_popup_item;k=this.po_watermark_no_selected;o=this.po_watermark_selected;c=this.po_display_watermark;q=this.po_reg_value_item;b=this.po_display_text_item;e=this.po_trackchanges;s=this.po_comparator_value_item;r=this.po_list_row_items;l=parseInt(m);lo_list_row_item=r[l];lo_list_row_subitem=lo_list_row_item.getElementsByTagName("TD");g=lo_list_row_subitem[0].childNodes[0];g.checked=!g.checked;if(e.value=="1"){ut_tracking.set_modified_flag()}li_item_count=r.length;n="";for(l=0;l<li_item_count;l++){lo_list_row_item=r[l];lo_list_row_subitem=lo_list_row_item.getElementsByTagName("TD");g=lo_list_row_subitem[0].childNodes[0];f=lo_list_row_subitem[1];if(g.checked){if(n==""){n+=ut_code.HTMLdecode(f.innerHTML)}else{n+=","+ut_code.HTMLdecode(f.innerHTML)}}}q.value=n;b.value="";li_item_count=r.length;h="";j=0;for(l=0;l<li_item_count;l++){lo_list_row_item=r[l];lo_list_row_subitem=lo_list_row_item.getElementsByTagName("TD");g=lo_list_row_subitem[0].childNodes[0];v=lo_list_row_subitem[2];if(g.checked){j+=1;if(h==""){h+=ut_code.HTMLdecode(v.innerHTML)}else{h+=", "+ut_code.HTMLdecode(v.innerHTML)}}}a="items selected.";u="";if(o.value!=""){a=o.value}if(k.value!=""){u=k.value}if(j>1){b.className="textctl";b.value=j+" "+a}else{if(j==0&&c.value=="True"){b.className="mslwatermark";b.value=u}else{b.className="textctl";b.value=h}}ut_gui.focus(b.id);return true};common_msl_class.prototype.key_list=function(f,e){var d;var a;uc_msl.init(f);d=this.po_popup_item;a=this.ps_postback_unique_id;if(ut_key.is_tab()){if(gs_flag_msl_current_id==d){if(a!=""){uc_msl.popup_close();return false}}uc_msl.popup_close();return true}if(ut_key.is_enter()){if(gs_flag_msl_current_id==d){if(a!=""){uc_msl.popup_close();return false}}if(gs_flag_msl_current_id==d){uc_msl.popup_close();return false}else{if(e!=""){uc_msl.popup_close();ut_trigger.submit(e);return false}}uc_msl.popup_close();return true}if(ut_key.is_down()){uc_msl.popup_set_source(f);uc_msl.popup_open(f);uc_msl.popup_close();var c;if(this.li_item_index>=0){if(ut_detector.browser_safari()){c=d.childNodes(1).childNodes(1).childNodes(this.li_item_index*2)}else{c=d.childNodes(0).childNodes(0).childNodes(this.li_item_index)}uc_msl.unhighlight(c)}if(ut_detector.browser_safari()){li_item_count-d.childNodes(1).childNodes(1).childNodes.length;li_new_index=(this.li_item_index*1)+1;if((li_new_index*2)<li_item_count){c=d.childNodes(1).childNodes(1).childNodes(li_new_index*2);this.li_item_index=li_new_index}}else{li_item_count=d.childNodes(0).childNodes(0).childNodes.length;li_new_index=(this.li_item_index*1)+1;if(li_new_index<li_item_count){c=d.childNodes(0).childNodes(0).childNodes(li_new_index);this.li_item_index=li_new_index}}uc_msl.highlight(c);d.scrollTop=c.offsetTop}if(ut_key.is_up()){var c;if(this.li_item_index>=0){if(ut_detector.browser_safari()){c=d.childNodes(1).childNodes(1).childNodes(this.li_item_index*2)}else{c=d.childNodes(0).childNodes(0).childNodes(this.li_item_index)}uc_msl.unhighlight(c)}if(ut_detector.browser_safari()){li_item_count-d.childNodes(1).childNodes(1).childNodes.length;li_new_index=(this.li_item_index*1)-1;if((li_new_index*2)>=0){c=d.childNodes(1).childNodes(1).childNodes(li_new_index*2);this.li_item_index=li_new_index}}else{li_item_count=d.childNodes(0).childNodes(0).childNodes.length;li_new_index=(this.li_item_index*1)-1;if(li_new_index>=0){c=d.childNodes(0).childNodes(0).childNodes(li_new_index);this.li_item_index=li_new_index}}uc_msl.highlight(c);d.scrollTop=c.offsetTop}if(ut_key.is_space()){var c;var b;if(ut_detector.browser_safari()){c=d.childNodes(1).childNodes(1).childNodes(this.li_item_index*2);b=c.getElementsByTagName("TD");lo_list_check_item=b[0].childNodes[1]}else{c=d.childNodes(0).childNodes(0).childNodes(this.li_item_index);b=c.getElementsByTagName("TD");lo_list_check_item=b[0].childNodes[0]}lo_list_check_item.click()}return false};common_msl_class.prototype.set_value=function(b,a){var e;var d,i;var c;var f,h,j;var g=false;if(ut_detector.browser_safari()){g=true}uc_msl.init(b);e=this.po_display_text_item;lo_list_row_items=this.po_list_row_items;c=a.split(",");j=lo_list_row_items.length;for(h=0;h<j;h++){lo_list_row_item=lo_list_row_items[h];lo_list_row_subitem=lo_list_row_item.getElementsByTagName("TD");d=lo_list_row_subitem[0].childNodes[0];d.checked=false}e.value="";for(f=0;f<c.length;f++){ls_selected_value=c[f];for(h=0;h<j;h++){lo_list_row_item=lo_list_row_items[h];lo_list_row_subitem=lo_list_row_item.getElementsByTagName("TD");d=lo_list_row_subitem[0].childNodes[0];lo_list_value_item=lo_list_row_subitem[1];i=lo_list_row_subitem[2];if(ls_selected_value==ut_code.HTMLdecode(lo_list_value_item.innerHTML)){d.checked=true;if(e.value==""){e.value+=ut_code.HTMLdecode(i.innerHTML)}else{e.value+=gs_array_delimeter+" "+ut_code.HTMLdecode(i.innerHTML)}}}}return true};common_msl_class.prototype.get_value=function(d){var f,e;var b;var a;var c=false;if(ut_detector.browser_safari()){c=true}uc_msl.init(d);lo_display_text_item=this.po_display_text_item;lo_list_row_items=this.po_list_row_items;li_item_count=lo_list_row_items.length;b="";for(a=0;a<li_item_count;a++){lo_list_row_item=lo_list_row_items[a];lo_list_row_subitem=lo_list_row_item.getElementsByTagName("TD");f=lo_list_row_subitem[0].childNodes[0];e=lo_list_row_subitem[1];if(f.checked){if(b==""){b+=ut_code.HTMLdecode(e.innerHTML)}else{b+=gs_array_delimeter+ut_code.HTMLdecode(e.innerHTML)}}}return b};common_msl_class.prototype.highlight=function(a){a.style.backgroundColor=gs_constant_row_highlight_color;return};common_msl_class.prototype.unhighlight=function(a){a.style.backgroundColor="";return};var uc_cbl=new common_cbl_class();function common_cbl_class(){}common_cbl_class.prototype.init=function(b){var d;var a;var c;if(this.ps_container_id==b&&this.ps_autopostback=="0"){return}this.ps_container_id=b;this.po_container=document.getElementById(b);d=this.po_container.getElementsByTagName("TABLE");this.po_control_item=d[0];this.po_popup_item=d[1].parentNode;c=this.po_popup_item.getElementsByTagName("TABLE");this.po_popup_tbl=c[0];this.po_list_row_items=this.po_popup_item.getElementsByTagName("TR");a=this.po_control_item.getElementsByTagName("INPUT");this.po_display_text_item=a[0];this.po_reg_index_item=a[1];this.po_reg_code_item=a[2];this.po_reg_text_item=a[3];this.po_reg_value_item=a[4];this.po_reg_color_item=a[5];this.po_trackchanges=a[6];this.ps_postback_unique_id=a[7].value;this.po_comparator_value_item=a[8];return true};common_cbl_class.prototype.popup_set_toggle=function(a){var b;uc_cbl.init(a);b=this.ps_postback_unique_id;if(gs_flag_cbl_current_id==a){gs_flag_cbl_source_id=a;gs_flag_cbl_source_postback_id=b}else{gs_flag_cbl_source_id=a;gs_flag_cbl_source_postback_id=b}};common_cbl_class.prototype.popup_set_source=function(a){var b;uc_cbl.init(a);b=this.ps_postback_unique_id;gs_flag_cbl_source_id=a;gs_flag_cbl_source_postback_id=b};common_cbl_class.prototype.popup_open=function(d){var j,F,u;var e,B;var b,s,g;var A,D,q,v;var m,i;var n=false;var a,f;var k,r;var w,l;var t,o;var c,h;var C,p,E;if(ut_detector.browser_safari()){n=true}uc_cbl.init(d);j=this.po_control_item;F=this.po_popup_item;u=this.po_popup_tbl;e=j.getElementsByTagName("INPUT");B=this.po_trackchanges;b=this.po_list_row_items;for(m=0;m<b.length;m++){s=b[m];g=s.getElementsByTagName("TD");A=g[0];D=g[1];q=g[2];v=g[3];if(s.getAttribute("init")!="true"){if(n){q.style.visibility="hidden";q.style.width="0px";v.style.visibility="hidden";v.style.width="0px"}else{q.style.display="none";v.style.display="none"}addEvent(s,"mouseover",new Function("event.cancelBubble = true;"));addEvent(s,"mouseout",new Function("event.cancelBubble = true;"));addEvent(s,"click",new Function("uc_cbl.set_selected('"+d+"', "+m+")"));s.setAttribute("init","true")}if(gs_flag_cbl_current_id!=d){s.style.display=""}A.style.width=(j.offsetWidth-3)+"px";A.style.borderStyle="solid";A.style.borderWidth="1px";A.style.borderColor="#E3E3E3";A.style.textAlign="center";if(ut_code.HTMLdecode(v.innerHTML)==""){A.style.background="#E3E3E3"}else{A.style.background=ut_code.HTMLdecode(v.innerHTML)}}F.style.visibility="visible";F.style.display="block";li_item_count=this.po_list_row_items.length;i=0;for(m=0;m<li_item_count;m++){s=this.po_list_row_items[m];if(s.style.display==""){i++}}uc_cbl.adjust_height(d,i);F.style.width="";a=F.clientHeight;f=F.clientWidth;k=j.offsetHeight;r=j.offsetWidth;w=document.body.clientHeight;l=document.body.clientWidth;t=ut_mining.find_position_top(j);o=ut_mining.find_position_left(j);C=t+k+0;p=t-a-2;E=o;c=ut_mining.find_location_top(j);h=ut_mining.find_location_left(j);if((h+f)>l){E=(r+o)-f}if((f+10)<r){f=r;if(b.length<10){F.style.width=(f-10)+"px";u.style.width=(f-10)+"px"}else{F.style.width=(f-10)+"px";u.style.width=(f-27)+"px"}}else{F.style.width=""}if(C+a<w){F.style.top=C+"px"}else{F.style.top=p+"px"}F.style.left=E+"px";return};common_cbl_class.prototype.adjust_height=function(c,d){var a,b;uc_cbl.init(c);a=this.po_list_row_items;b=this.po_popup_item;if(d<10){b.style.height=""}else{b.style.height="200px"}};common_cbl_class.prototype.popup_close=function(){var i;var e,l,d,g,f,b;var m,h;var o,k;var a;var c;var n;var j;if((gs_flag_cbl_current_id)!=""&&(gs_flag_cbl_source_id!=gs_flag_cbl_current_id)){uc_cbl.init(gs_flag_cbl_current_id);i=this.po_popup_item;e=this.po_reg_code_item;l=this.po_reg_text_item;d=this.po_reg_value_item;g=this.po_display_text_item;f=this.po_trackchanges;b=this.po_comparator_value_item;a=this.po_list_row_items.length;n=false;for(c=0;c<a;c++){m=this.po_list_row_items[c];h=m.getElementsByTagName("TD");lo_list_code_item=h[0];k=h[1];o=h[2];if(l.value.toUpperCase()==ut_code.HTMLdecode(k.innerHTML).toUpperCase()&&m.style.display==""){n=true}}if(n){g.value=e.value;g.className="textctl"}else{g.className="texterr"}j=false;if(d.value!=b.value){j=true}b.value=d.value;if(j&&f.value=="1"){ut_tracking.set_modified_flag()}i.style.visibility="hidden";i.style.display="none";if(j&&gs_flag_cbl_current_postback_id!=""){ut_trigger.postback(gs_flag_cbl_current_postback_id)}}gs_flag_cbl_current_id=gs_flag_cbl_source_id;gs_flag_cbl_source_id="";gs_flag_cbl_current_postback_id=gs_flag_cbl_source_postback_id;gs_flag_cbl_source_postback_id="";return};common_cbl_class.prototype.highlight=function(a){a.style.backgroundColor=gs_constant_row_highlight_color;return};common_cbl_class.prototype.unhighlight=function(a){a.style.backgroundColor="";return};common_cbl_class.prototype.hover=function(b){var a;uc_cbl.init(b);a=this.po_reg_text_item;if(a.value!=""){pu_tooltip.open_moving_message(a.value)}return true};common_cbl_class.prototype.open_list=function(b){var a;var e,d;var f;var c;uc_cbl.init(b);a=this.po_popup_item;e=this.po_reg_index_item;d=this.po_display_text_item;c=parseInt(e.value);f=this.po_list_row_items[c];uc_cbl.highlight(f);a.scrollTop=f.offsetTop;ut_gui.focus(d.id);return true};common_cbl_class.prototype.set_selected=function(b,g){var i,m;var o,q,e,k,j,c;var h;var a,n;var l,p,d;var f;uc_cbl.init(b);i=this.po_control_item;m=this.po_popup_item;o=this.po_reg_code_item;q=this.po_reg_text_item;e=this.po_reg_value_item;k=this.po_reg_color_item;j=this.po_reg_index_item;c=this.po_display_text_item;f=parseInt(j.value);a=this.po_list_row_items[f];uc_cbl.unhighlight(a);f=parseInt(g);a=this.po_list_row_items[f];n=a.getElementsByTagName("TD");lo_list_code_item=n[0];p=n[1];l=n[2];d=n[3];uc_cbl.highlight(a);o.value=ut_code.HTMLdecode(lo_list_code_item.innerHTML);q.value=ut_code.HTMLdecode(p.innerHTML);e.value=ut_code.HTMLdecode(l.innerHTML);k.value=ut_code.HTMLdecode(d.innerHTML);j.value=f;c.value=ut_code.HTMLdecode(lo_list_code_item.innerHTML);if(ut_code.HTMLdecode(d.innerHTML)==""){c.style.background="#E3E3E3"}else{c.style.background=ut_code.HTMLdecode(d.innerHTML)}uc_cbl.popup_close();ut_gui.focus(c.id);return true};common_cbl_class.prototype.key_list=function(o,q){var u,l;var j,e,r,p,h,a;var k,d;var g,v,t;var i;var c,s;var n;var m,b;var f;uc_cbl.init(o);u=this.po_popup_item;l=this.po_control_item;j=this.po_reg_code_item;e=this.po_reg_text_item;r=this.po_reg_value_item;p=this.po_reg_color_item;h=this.po_reg_index_item;a=this.po_display_text_item;i=this.ps_postback_unique_id;if(ut_key.is_tab()){if(gs_flag_cbl_current_id==u.id){if(i!=""){uc_cbl.popup_close();return false}}uc_cbl.popup_close();return true}if(ut_key.is_enter()){if(gs_flag_ddl_current_id==u){if(i!=""){uc_cbl.popup_close();return false}}if(gs_flag_cbl_current_id==u){uc_cbl.popup_close();return false}else{if(q!=""){uc_cbl.popup_close();ut_trigger.submit(q);return false}}uc_cbl.popup_close();return false}if(ut_key.is_down()){uc_cbl.popup_set_source(o);uc_cbl.popup_open(o);uc_cbl.popup_close();s=parseInt(h.value);k=this.po_list_row_items[s];uc_cbl.unhighlight(k);c=this.po_list_row_items.length;s=parseInt(h.value);for(n=(parseInt(h.value)+1);n<c;n++){k=this.po_list_row_items[n];if(!(k.style.display=="none")){s=n;break}}k=this.po_list_row_items[s];d=k.getElementsByTagName("TD");lo_list_code_item=d[0];v=d[1];g=d[2];t=d[3];uc_cbl.highlight(k);u.scrollTop=k.offsetTop;j.value=ut_code.HTMLdecode(lo_list_code_item.innerHTML);e.value=ut_code.HTMLdecode(v.innerHTML);r.value=ut_code.HTMLdecode(g.innerHTML);p.value=ut_code.HTMLdecode(t.innerHTML);h.value=s;a.value=ut_code.HTMLdecode(lo_list_code_item.innerHTML);if(ut_code.HTMLdecode(t.innerHTML)==""){a.style.background="#E3E3E3"}else{a.style.background=ut_code.HTMLdecode(t.innerHTML)}ut_gui.focus(a.id);return true}if(ut_key.is_up()){uc_cbl.popup_set_source(o);uc_cbl.popup_open(o);uc_cbl.popup_close();s=parseInt(h.value);k=this.po_list_row_items[s];uc_cbl.unhighlight(k);c=0;s=parseInt(h.value);for(n=(parseInt(h.value)-1);n>=c;n--){k=this.po_list_row_items[n];if(!(k.style.display=="none")){s=n;break}}k=this.po_list_row_items[s];d=k.getElementsByTagName("TD");lo_list_code_item=d[0];v=d[1];g=d[2];t=d[3];uc_cbl.highlight(k);u.scrollTop=k.offsetTop;j.value=ut_code.HTMLdecode(lo_list_code_item.innerHTML);e.value=ut_code.HTMLdecode(v.innerHTML);r.value=ut_code.HTMLdecode(g.innerHTML);p.value=ut_code.HTMLdecode(t.innerHTML);h.value=s;a.value=ut_code.HTMLdecode(lo_list_code_item.innerHTML);if(ut_code.HTMLdecode(t.innerHTML)==""){a.style.background="#E3E3E3"}else{a.style.background=ut_code.HTMLdecode(t.innerHTML)}ut_gui.focus(a.id);return true}return false};common_cbl_class.prototype.context_menu=function(a){if(ut_key.is_rightclick()){uc_cbl.popup_set_source(a);uc_cbl.popup_open(a);uc_cbl.popup_close()}return false};common_cbl_class.prototype.set_value=function(p,d){var n,j;var h,e,r,g,k,a;var i,c;var q,o,m;var b,l;var f;uc_cbl.init(p);j=this.po_control_item;n=this.po_popup_item;h=this.po_reg_code_item;e=this.po_reg_text_item;r=this.po_reg_value_item;g=this.po_reg_color_item;k=this.po_reg_index_item;a=this.po_display_text_item;l=parseInt(k.value);i=this.po_list_row_items[l];uc_cbl.unhighlight(i);b=this.po_list_row_items.length;for(f=0;f<b;f++){i=this.po_list_row_items[f];c=i.getElementsByTagName("TD");lo_list_code_item=c[0];o=c[1];q=c[2];m=c[3];if(ut_code.HTMLdecode(q.innerHTML)==d){l=parseInt(f)}}i=this.po_list_row_items[l];c=i.getElementsByTagName("TD");lo_list_code_item=c[0];o=c[1];q=c[2];m=c[3];uc_cbl.highlight(i);h.value=ut_code.HTMLdecode(lo_list_code_item.innerHTML);e.value=ut_code.HTMLdecode(o.innerHTML);r.value=ut_code.HTMLdecode(q.innerHTML);g.value=ut_code.HTMLdecode(m.innerHTML);k.value=l;a.value=ut_code.HTMLdecode(o.innerHTML);if(ut_code.HTMLdecode(m.innerHTML)==""){a.style.background="#E3E3E3"}else{a.style.background=ut_code.HTMLdecode(m.innerHTML)}return true};common_cbl_class.prototype.get_value=function(a){var c;var b;c=this.po_container;b=this.po_reg_value_item;return b.value};var uc_txt=new common_txt_class();function common_txt_class(){}common_txt_class.prototype.set_value=function(a,c){var b;b=document.getElementById(a);b.value=c;return true};common_txt_class.prototype.get_value=function(a){var b;b=document.getElementById(a);return b.value};var uc_rbt=new common_rbt_class();function common_rbt_class(){}common_rbt_class.prototype.init=function(b){var a;var c;var d;this.po_containter=document.getElementById(b);a=this.po_containter.getElementsByTagName("INPUT");this.po_reg_value_item=a[0];d=this.po_containter.getElementsByTagName("TABLE");this.po_control_item=d[0];this.po_list_radio_items=this.po_control_item.getElementsByTagName("INPUT")};common_rbt_class.prototype.uf_click=function(f){var b;var c;var a;var e;var g;var d;uc_rbt.init(f);b=this.po_reg_value_item;e=this.po_list_radio_items.length;for(g=0;g<e;g++){c=this.po_list_radio_items[g];if(c.checked){a=c.parentNode;d=a.getElementsByTagName("LABEL");b.value=d[0].innerHTML}}};common_rbt_class.prototype.set_check=function(c,a){var b;b=document.getElementById(c);b.checked=a};common_rbt_class.prototype.get_check=function(a){var b;b=document.getElementById(a);return b.checked};var uc_cbx=new common_cbx_class();function common_cbx_class(){}common_cbx_class.prototype.set_check=function(c,a){var b;b=document.getElementById(c);b.checked=a};common_cbx_class.prototype.get_check=function(a){var b;b=document.getElementById(a);return b.checked};var uc_date=new common_date_class();function common_date_class(){}common_date_class.prototype.validate=function(c,a){var b;if(a=="dd/MM/yyyy"){b=/^((((0?[1-9]|[12]\d|3[01])[\.\-\/](0?[13578]|1[02])[\.\-\/]((1[6-9]|[2-9]\d)\d\d))|((0?[1-9]|[12]\d|30)[\.\-\/](0?[13456789]|1[012])[\.\-\/]((1[6-9]|[2-9]\d)\d\d))|((0?[1-9]|1\d|2[0-8])[\.\-\/]0?2[\.\-\/]((1[6-9]|[2-9]\d)\d\d))|(29[\.\-\/]0?2[\.\-\/]((1[6-9]|[2-9]\d)?(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00)|00)))|(((0[1-9]|[12]\d|3[01])(0[13578]|1[02])((1[6-9]|[2-9]\d)\d\d))|((0[1-9]|[12]\d|30)(0[13456789]|1[012])((1[6-9]|[2-9]\d)\d\d))|((0[1-9]|1\d|2[0-8])02((1[6-9]|[2-9]\d)\d\d))|(2902((1[6-9]|[2-9]\d)?(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00)|00))))$/}else{b=/^((((0?[13578]|1[02])[\.\-\/](0?[1-9]|[12]\d|3[01])[\.\-\/]((1[6-9]|[2-9]\d)\d\d))|((0?[13456789]|1[012])[\.\-\/](0?[1-9]|[12]\d|30)[\.\-\/]((1[6-9]|[2-9]\d)\d\d))|(0?2[\.\-\/](0?[1-9]|1\d|2[0-8])[\.\-\/]((1[6-9]|[2-9]\d)\d\d))|(0?2[\.\-\/]29[\.\-\/]((1[6-9]|[2-9]\d)?(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00)|00)))|(((0[1-9]|[12]\d|3[01])(0[13578]|1[02])((1[6-9]|[2-9]\d)\d\d))|((0[1-9]|[12]\d|30)(0[13456789]|1[012])((1[6-9]|[2-9]\d)\d\d))|((0[1-9]|1\d|2[0-8])02((1[6-9]|[2-9]\d)\d\d))|(2902((1[6-9]|[2-9]\d)?(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00)|00))))$/}if(!c.readOnly){if(c.value!=""){if(c.value.match(b)){c.className="textctl";c.removeAttribute("_invalid")}else{c.className="dateerror";c.setAttribute("_invalid","1")}}else{c.className="textctl";c.removeAttribute("_invalid")}}};common_date_class.prototype.hover=function(c,a){if(c.getAttribute("_invalid")=="1"){var b="Please enter in format "+a+".";pu_tooltip.open_moving_message(b)}return true};common_date_class.prototype.uf_calendar_shown=function(b,d){gs_flag_cal_source_id=b.get_id();var c=b._popupBehavior.getBounds();var f;var a;if(ut_detector.browser_safari()){f=window.innerWidth;a=window.innerHeight}else{f=document.documentElement.clientWidth;a=document.documentElement.clientHeight}if((c.y+c.height)>a){if(c.width+c.x>f){b._popupBehavior.set_positioningMode(AjaxControlToolkit.PositioningMode.TopRight)}else{b._popupBehavior.set_positioningMode(AjaxControlToolkit.PositioningMode.TopLeft)}b._popupBehavior._visible=false;b._popupBehavior.show()}else{if(c.width+c.x>f){b._popupBehavior.set_positioningMode(AjaxControlToolkit.PositioningMode.BottomRight);b._popupBehavior._visible=false;b._popupBehavior.show()}}};common_date_class.prototype.uf_calendar_hiding=function(a,b){a._popupBehavior.set_positioningMode(AjaxControlToolkit.PositioningMode.BottomLeft);gs_flag_cal_current_id=""};common_date_class.prototype.popup_close=function(){if(gs_flag_cal_current_id!=""&&gs_flag_cal_current_id!=gs_flag_cal_source_id){$find(gs_flag_cal_current_id).hide()}gs_flag_cal_current_id=gs_flag_cal_source_id;gs_flag_cal_source_id=""};var uc_month_year=new common_month_year_class();function common_month_year_class(){}common_month_year_class.prototype.validate=function(c,a){var b;if(a=="MM/yyyy"){b=/^((0?[1-9]|1[012])[\.\-\/]((1[6-9]|[2-9]\d)\d\d))$/}if(c.value!=""){if(c.value.match(b)){c.className="textctl";c.removeAttribute("_invalid")}else{c.className="dateerror";c.setAttribute("_invalid","1")}}else{c.className="textctl";c.removeAttribute("_invalid")}};common_month_year_class.prototype.hover=function(c,a){if(c.getAttribute("_invalid")=="1"){var b="Please enter in format "+a+".";pu_tooltip.open_moving_message(b)}return true};var xmlhttp;var xmlDoc;function uf_loadXML(a){try{xmlDoc=new ActiveXObject("Microsoft.XMLDOM");xmlDoc.async="false";xmlDoc.loadXML(a)}catch(b){try{parser=new DOMParser();xmlDoc=parser.parseFromString(a,"text/xml")}catch(b){alert(b.message);return false}}return true}var uc_ddl_lod=new common_ddl_lod_class();function common_ddl_lod_class(){}common_ddl_lod_class.prototype.popup_set_toggle=function(a,b){if(gs_flag_ddl_current_id==a){gs_flag_ddl_lod_source_id=a;gs_flag_ddl_lod_source_postback_id=b}else{gs_flag_ddl_lod_source_id=a;gs_flag_ddl_lod_source_postback_id=b}};common_ddl_lod_class.prototype.popup_set_source=function(a,b){gs_flag_ddl_lod_source_id=a;gs_flag_ddl_lod_source_postback_id=b};common_ddl_lod_class.prototype.server_request=function(as_container_id,pagemethod,parameter){var lo_container;var lo_lod_flg;lo_container=document.getElementById(as_container_id);if(ut_detector.browser_safari()){lo_control_item=lo_container.childNodes(1);lo_lod_flg=lo_control_item.childNodes(1).childNodes(0).childNodes(1).childNodes(4)}else{lo_control_item=lo_container.childNodes(0);lo_lod_flg=lo_control_item.childNodes(0).childNodes(0).childNodes(0).childNodes(4)}if(lo_lod_flg.value!=="1"){eval("PageMethods."+pagemethod+"('"+parameter+"', uc_ddl_lod.lod_success, uc_ddl_lod.lod_fail, '"+as_container_id+"')")}else{uc_ddl_lod.open_list(as_container_id);uc_ddl_lod.popup_open(as_container_id)}};common_ddl_lod_class.prototype.service_request=function(b,e,a,c){var d;var f;d=document.getElementById(b);if(ut_detector.browser_safari()){lo_control_item=d.childNodes(0)}else{lo_control_item=d.childNodes(0);f=lo_control_item.childNodes(0).childNodes(0).childNodes(0).childNodes(4)}if(f.value!=="1"){xmlhttp=null;if(window.XMLHttpRequest){xmlhttp=new XMLHttpRequest()}else{if(window.ActiveXObject){xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")}}if(xmlhttp!=null){xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4){if(xmlhttp.status==200){if(xmlhttp.responseXML){uc_ddl_lod.populate_list(xmlhttp.responseXML.text,b);uc_ddl_lod.open_list(b);uc_ddl_lod.popup_open(b)}}}};xmlhttp.open("GET",e+"/"+a+"?arg="+c,false);xmlhttp.send()}else{alert("Your browser does not support XMLHTTP.")}}else{uc_ddl_lod.open_list(b);uc_ddl_lod.popup_open(b)}};common_ddl_lod_class.prototype.lod_success=function(a,d){var b;var c;var b;b=document.getElementById(d);if(ut_detector.browser_safari()){c=b.childNodes(5)}else{c=b.childNodes(2)}uc_ddl_lod.populate_list(a,d);uc_ddl_lod.open_list(d);uc_ddl_lod.popup_open(d)};common_ddl_lod_class.prototype.lod_fail=function(a){alert(a.get_message)};common_ddl_lod_class.prototype.populate_list=function(n,h){var l;var b;var e;var p;var j;var d;l=document.getElementById(h);if(ut_detector.browser_safari()){b=l.childNodes(5);lo_control_item=l.childNodes(1);e=lo_control_item.childNodes(1).childNodes(0).childNodes(1).childNodes(4);p=lo_control_item.childNodes(1).childNodes(0).childNodes(1).childNodes(1);j=lo_control_item.childNodes(1).childNodes(0).childNodes(1).childNodes(2)}else{b=l.childNodes(2);d=l.childNodes(0).childNodes(0).childNodes(0).childNodes(0);e=d.childNodes(4);p=d.childNodes(1);j=d.childNodes(2)}if(!uf_loadXML(n)){return}var o;var m;var k=document.createElement("table");var a=document.createElement("tbody");var g;var i;var c;var f=false;if(ut_detector.browser_safari()){f=true}e.value="1";k.setAttribute("border","0");k.setAttribute("cellpadding","0");k.setAttribute("cellspacing","0");k.style.borderCollapse="collapse";for(o=0;o<xmlDoc.getElementsByTagName("value").length;o++){i=document.createElement("td");i.innerHTML=xmlDoc.getElementsByTagName("value")[o].childNodes[0].nodeValue;c=document.createElement("td");c.innerHTML=xmlDoc.getElementsByTagName("text")[o].childNodes[0].nodeValue;g=document.createElement("tr");g.style.height="22px";g.appendChild(i);g.appendChild(c);a.appendChild(g);if(j.value!==""&&xmlDoc.getElementsByTagName("value")[o].childNodes[0].nodeValue===j.value){p.value=o}}k.appendChild(a);if(f){}b.appendChild(k)};common_ddl_lod_class.prototype.open_list=function(g){var h;var c,e;var l;var k,b,a,f;var j;var i;var d;h=document.getElementById(g);if(ut_detector.browser_safari()){c=h.childNodes(1);e=h.childNodes(5);l=c.childNodes(1).childNodes(0).childNodes(1);d=c.childNodes(1).childNodes(0).childNodes(1).childNodes(4)}else{c=h.childNodes(0);e=h.childNodes(2);l=c.childNodes(0).childNodes(0).childNodes(0);d=c.childNodes(0).childNodes(0).childNodes(0).childNodes(4)}k=l.childNodes(2);b=l.childNodes(3);a=l.childNodes(1);f=l.childNodes(0);if(d.value==="1"){i=parseInt(a.value);if(ut_detector.browser_safari()){j=e.childNodes(1).childNodes(0).childNodes(i)}else{j=e.childNodes(0).childNodes(0).childNodes(i)}uc_ddl_lod.highlight(j);e.scrollTop=j.offsetTop}ut_gui.focus(f.id);return true};common_ddl_lod_class.prototype.popup_open=function(c){var g;var e;var o;var k,b;var q,m;var i,a;var j,h;var f,d;var l,p;var n;g=document.getElementById(c);if(ut_detector.browser_safari()){e=g.childNodes(1);o=g.childNodes(5)}else{e=g.childNodes(0);o=g.childNodes(2)}if(ut_detector.browser_safari()){li_item_count=o.childNodes(1).childNodes(0).childNodes.length;for(n=0;n<li_item_count;n++){lo_list_row_item=o.childNodes(1).childNodes(0).childNodes(n);lo_list_value_item=lo_list_row_item.childNodes(0);lo_list_text_item=lo_list_row_item.childNodes(1);lo_list_value_item.style.display="none"}}else{li_item_count=o.childNodes(0).childNodes(0).childNodes.length;for(n=0;n<li_item_count;n++){lo_list_row_item=o.childNodes(0).childNodes(0).childNodes(n);lo_list_value_item=lo_list_row_item.childNodes(0);lo_list_text_item=lo_list_row_item.childNodes(1);lo_list_value_item.style.display="none";if(lo_list_row_item.getAttribute("init")!="true"){lo_list_row_item.attachEvent("onclick",new Function("uc_ddl_lod.set_selected('"+c+"', "+n+")"));lo_list_row_item.attachEvent("onclick",ut_tracking.set_modified_flag);lo_list_row_item.setAttribute("init","true")}}}o.style.visibility="visible";o.style.display="block";q=o.clientHeight;m=o.clientWidth;i=e.offsetHeight;a=e.offsetWidth;j=document.body.clientHeight;h=document.body.clientWidth;f=ut_mining.find_position_top(e);d=ut_mining.find_position_left(e);l=f+i+0;p=d;if((d+m)>h){p=(h-m-10)}if((m+10)<a){m=a;o.style.width=(m-10)+"px"}o.style.top=l+"px";o.style.left=p+"px";return};common_ddl_lod_class.prototype.popup_close=function(){var c;var b;var a;if((gs_flag_ddl_lod_current_id)!=""&&(gs_flag_ddl_lod_source_id!=gs_flag_ddl_lod_current_id)){c=document.getElementById(gs_flag_ddl_lod_current_id);if(ut_detector.browser_safari()){b=c.childNodes(1);a=c.childNodes(5)}else{b=c.childNodes(0);a=c.childNodes(2)}a.style.visibility="hidden";a.style.display="none";if(gs_flag_ddl_lod_current_postback_id!=""){ut_trigger.postback(gs_flag_ddl_lod_current_postback_id)}}gs_flag_ddl_lod_current_id=gs_flag_ddl_lod_source_id;gs_flag_ddl_lod_source_id="";gs_flag_ddl_lod_current_postback_id=gs_flag_ddl_lod_source_postback_id;gs_flag_ddl_lod_source_postback_id="";return};common_ddl_lod_class.prototype.highlight=function(a){a.style.backgroundColor=gs_constant_row_highlight_color;return};common_ddl_lod_class.prototype.unhighlight=function(a){a.style.backgroundColor="";return};common_ddl_lod_class.prototype.hover=function(d){var b;var e;var a;var c;b=document.getElementById(d);if(ut_detector.browser_safari()){e=b.childNodes(1);a=e.childNodes(1).childNodes(0).childNodes(1)}else{e=b.childNodes(0);a=e.childNodes(0).childNodes(0).childNodes(0)}c=a.childNodes(0);if(c.value!=""){pu_tooltip.open_moving_message(c.value)}return true};common_ddl_lod_class.prototype.set_selected=function(n,k){var h;var d,b;var f;var a,i,l,e;var j,g,m;var c;h=document.getElementById(n);if(ut_detector.browser_safari()){d=h.childNodes(1);b=h.childNodes(5);f=d.childNodes(1).childNodes(0).childNodes(1)}else{d=h.childNodes(0);b=h.childNodes(2);f=d.childNodes(0).childNodes(0).childNodes(0)}a=f.childNodes(2);i=f.childNodes(3);l=f.childNodes(1);e=f.childNodes(0);c=parseInt(l.value);if(ut_detector.browser_safari()){j=b.childNodes(1).childNodes(0).childNodes(c)}else{j=b.childNodes(0).childNodes(0).childNodes(c)}uc_ddl_lod.unhighlight(j);c=parseInt(k);if(ut_detector.browser_safari()){j=b.childNodes(1).childNodes(1).childNodes(c*2);g=b.childNodes(1).childNodes(1).childNodes(c*2).childNodes(1);m=b.childNodes(1).childNodes(1).childNodes(c*2).childNodes(3)}else{j=b.childNodes(0).childNodes(0).childNodes(c);g=b.childNodes(0).childNodes(0).childNodes(c).childNodes(0);m=b.childNodes(0).childNodes(0).childNodes(c).childNodes(1)}uc_ddl_lod.highlight(j);a.value=g.innerText;i.value=m.innerText;l.value=c;e.value=m.innerText;uc_ddl_lod.popup_close();ut_gui.focus(e.id);return true};common_ddl_lod_class.prototype.key_list=function(m,o,c){var j;var k,i;var e;var q,b,g,a;var n,d,l;var f;var h;var p;j=document.getElementById(m);if(ut_detector.browser_safari()){k=j.childNodes(1);i=j.childNodes(5);e=k.childNodes(1).childNodes(0).childNodes(1)}else{k=j.childNodes(0);i=j.childNodes(2);e=k.childNodes(0).childNodes(0).childNodes(0)}q=e.childNodes(2);b=e.childNodes(3);g=e.childNodes(1);a=e.childNodes(0);if(ut_key.is_tab()){if(gs_flag_ddl_lod_current_id==i.id){if(o!=""){uc_ddl_lod.popup_close();return false}}uc_ddl_lod.popup_close();return true}if(ut_key.is_enter()){if(gs_flag_ddl_lod_current_id==i){if(o!=""){uc_ddl_lod.popup_close();return false}}if(gs_flag_ddl_lod_current_id==i){uc_ddl_lod.popup_close();return false}else{if(c!=""){uc_ddl_lod.popup_close();ut_trigger.submit(c);return false}}uc_ddl_lod.popup_close();return false}if(ut_key.is_down()){uc_ddl_lod.popup_set_source(m,o);uc_ddl_lod.popup_open(m);uc_ddl_lod.popup_close();f=parseInt(g.value);if(ut_detector.browser_safari()){n=i.childNodes(1).childNodes(1).childNodes(f*2)}else{n=i.childNodes(0).childNodes(0).childNodes(f)}uc_ddl_lod.unhighlight(n);if(ut_detector.browser_safari()){h=i.childNodes(1).childNodes(1).childNodes.length;f=parseInt(g.value);for(p=(parseInt(g.value)+1);(p*2)<h;p++){n=i.childNodes(1).childNodes(1).childNodes(p*2);if(!(n.style.display=="none")){f=p;break}}}else{h=i.childNodes(0).childNodes(0).childNodes.length;f=parseInt(g.value);for(p=(parseInt(g.value)+1);p<h;p++){n=i.childNodes(0).childNodes(0).childNodes(p);if(!(n.style.display=="none")){f=p;break}}}if(ut_detector.browser_safari()){n=i.childNodes(1).childNodes(1).childNodes(f*2);d=i.childNodes(1).childNodes(1).childNodes(f*2).childNodes(1);l=i.childNodes(1).childNodes(1).childNodes(f*2).childNodes(3)}else{n=i.childNodes(0).childNodes(0).childNodes(f);d=i.childNodes(0).childNodes(0).childNodes(f).childNodes(0);l=i.childNodes(0).childNodes(0).childNodes(f).childNodes(1)}uc_ddl_lod.highlight(n);i.scrollTop=n.offsetTop;q.value=d.innerText;b.value=l.innerText;g.value=f;a.value=l.innerText;return false}if(ut_key.is_up()){uc_ddl_lod.popup_set_source(m,o);uc_ddl_lod.popup_open(m);uc_ddl_lod.popup_close();f=parseInt(g.value);if(ut_detector.browser_safari()){n=i.childNodes(1).childNodes(1).childNodes(f*2)}else{n=i.childNodes(0).childNodes(0).childNodes(f)}uc_ddl_lod.unhighlight(n);if(ut_detector.browser_safari()){h=0;f=parseInt(g.value);for(p=(parseInt(g.value)-1);(p*2)>=h;p--){n=i.childNodes(1).childNodes(1).childNodes(p*2);if(!(n.style.display=="none")){f=p;break}}}else{h=0;f=parseInt(g.value);for(p=(parseInt(g.value)-1);p>=h;p--){n=i.childNodes(0).childNodes(0).childNodes(p);if(!(n.style.display=="none")){f=p;break}}}if(ut_detector.browser_safari()){n=i.childNodes(1).childNodes(1).childNodes(f*2);d=i.childNodes(1).childNodes(1).childNodes(f*2).childNodes(1);l=i.childNodes(1).childNodes(1).childNodes(f*2).childNodes(3)}else{n=i.childNodes(0).childNodes(0).childNodes(f);d=i.childNodes(0).childNodes(0).childNodes(f).childNodes(0);l=i.childNodes(0).childNodes(0).childNodes(f).childNodes(1)}uc_ddl_lod.highlight(n);i.scrollTop=n.offsetTop;q.value=d.innerText;b.value=l.innerText;g.value=f;a.value=l.innerText;return false}if(ut_key.is_number()||ut_key.is_alpha()||ut_key.is_space()||ut_key.is_bsp()){uc_ddl_lod.popup_set_source(m,o);uc_ddl_lod.popup_open(m);uc_ddl_lod.popup_close();return true}return false};common_ddl_lod_class.prototype.filter_list=function(n){var i;var d,h;var k;var l,b,a,g;var j,f,m;var e;var c;i=document.getElementById(n);if(ut_detector.browser_safari()){d=i.childNodes(1);h=i.childNodes(5);k=d.childNodes(1).childNodes(0).childNodes(1)}else{d=i.childNodes(0);h=i.childNodes(2);k=d.childNodes(0).childNodes(0).childNodes(0)}l=k.childNodes(2);b=k.childNodes(3);a=k.childNodes(1);g=k.childNodes(0);if(ut_key.is_number()||ut_key.is_alpha()||ut_key.is_space()||ut_key.is_bsp()){if(ut_detector.browser_safari()){e=h.childNodes(1).childNodes(1).childNodes.length}else{e=h.childNodes(0).childNodes(0).childNodes.length}if(ut_detector.browser_safari()){for(c=0;(c*2)<e;c++){j=h.childNodes(1).childNodes(1).childNodes(c*2);f=h.childNodes(1).childNodes(1).childNodes(c*2).childNodes(1);m=h.childNodes(1).childNodes(1).childNodes(c*2).childNodes(3);if((m.innerText.toUpperCase()).indexOf(g.value.toUpperCase())==0){j.style.display=""}else{j.style.display="none"}}}else{for(c=0;c<e;c++){j=h.childNodes(0).childNodes(0).childNodes(c);f=h.childNodes(0).childNodes(0).childNodes(c).childNodes(0);m=h.childNodes(0).childNodes(0).childNodes(c).childNodes(1);if((m.innerText.toUpperCase()).indexOf(g.value.toUpperCase())==0){j.style.display=""}else{j.style.display="none"}}}}return true};common_ddl_lod_class.prototype.set_value=function(o,d){var n;var e;var j;var p;var l,b,h,c;var a,i,g;var f;var m;var k;j=document.getElementById(o);if(ut_detector.browser_safari()){n=document.getElementById(j.childNodes(1).id);e=document.getElementById(j.childNodes(5).id)}else{n=document.getElementById(j.childNodes(0).id);e=document.getElementById(j.childNodes(2).id)}if(ut_detector.browser_safari()){p=n.childNodes(1).childNodes(0).childNodes(1)}else{p=n.childNodes(0).childNodes(0).childNodes(0)}l=p.childNodes(2);b=p.childNodes(3);h=p.childNodes(1);c=p.childNodes(0);f=parseInt(h.value);if(ut_detector.browser_safari()){a=e.childNodes(1).childNodes(1).childNodes(f*2)}else{a=e.childNodes(0).childNodes(0).childNodes(f)}uc_ddl_lod.unhighlight(a);if(ut_detector.browser_safari()){m=e.childNodes(1).childNodes(1).childNodes.length}else{m=e.childNodes(0).childNodes(0).childNodes.length}if(ut_detector.browser_safari()){for(k=0;(k*2)<m;k++){i=e.childNodes(1).childNodes(1).childNodes(k*2).childNodes(1);if(i.innerText==d){f=parseInt(k)}}}else{for(k=0;k<m;k++){i=e.childNodes(0).childNodes(0).childNodes(k).childNodes(0);if(i.innerText==d){f=parseInt(k)}}}if(ut_detector.browser_safari()){a=e.childNodes(1).childNodes(1).childNodes(f*2);i=e.childNodes(1).childNodes(1).childNodes(f*2).childNodes(1);g=e.childNodes(1).childNodes(1).childNodes(f*2).childNodes(3)}else{a=e.childNodes(0).childNodes(0).childNodes(f);i=e.childNodes(0).childNodes(0).childNodes(f).childNodes(0);g=e.childNodes(0).childNodes(0).childNodes(f).childNodes(1)}uc_ddl_lod.highlight(a);l.value=i.innerText;b.value=g.innerText;h.value=f;c.value=g.innerText;return true};common_ddl_lod_class.prototype.get_value=function(a){var c;var b;c=document.getElementById(a);if(ut_detector.browser_safari()){lo_control_item=document.getElementById(c.childNodes(1).id);lo_table_cell_item=lo_control_item.childNodes(1).childNodes(0).childNodes(1)}else{lo_control_item=document.getElementById(c.childNodes(0).id);lo_table_cell_item=lo_control_item.childNodes(0).childNodes(0).childNodes(0)}b=lo_table_cell_item.childNodes(2);return b.value};var uc_modal=new common_modal_class();function common_modal_class(){}common_modal_class.prototype.init=function(a){};common_modal_class.prototype.uf_show_modal=function(g){if(event){event.cancelBubble=true}gs_flag_modal_container_id=g;var b=document.getElementById(g);var f=document.createElement("div");f.id="modal_background";f.style.display="none";f.style.position="fixed";f.style.left="0px";f.style.top="0px";f.className="modal_background";if(event){f.onclick=function(){event.cancelBubble=true}}document.body.appendChild(f);var c;var e;if(ut_detector.browser_safari()){c=window.innerWidth;e=window.innerHeight}else{c=document.documentElement.clientWidth;e=document.documentElement.clientHeight}f.style.width=c+"px";f.style.height=e+"px";f.style.display="";f.style.position="absolute";b.style.display="";b.style.position="absolute";b.style.zIndex=501;var a=b.clientWidth;var d=b.clientHeight;b.style.left=((c/2)-(a/2))+"px";b.style.top=((e/2)-(d/2))+"px";for(lictr=0;lictr<b.getElementsByTagName("*").length;lictr++){if(b.getElementsByTagName("select")[lictr]){b.getElementsByTagName("select")[lictr].focus();break}if(b.getElementsByTagName("input")[lictr]){if(b.getElementsByTagName("input")[lictr].type=="text"||b.getElementsByTagName("input")[lictr].type=="radio"||b.getElementsByTagName("input")[lictr].type=="checkbox"){b.getElementsByTagName("input")[lictr].focus();break}}}};common_modal_class.prototype.uf_close_modal=function(a){event.cancelBubble=true;backgroundElement=$get("modal_background");document.body.removeChild(backgroundElement);uctl_container=$get(a);uctl_container.style.display="none";gs_flag_modal_container_id=""};common_modal_class.prototype.uf_resize=function(){if(gs_flag_modal_container_id!=""){backgroundElement=$get("modal_background");var b;var a;if(ut_detector.browser_safari()){b=window.innerWidth;a=window.innerHeight}else{b=document.documentElement.clientWidth;a=document.documentElement.clientHeight}backgroundElement.style.width=b+"px";backgroundElement.style.height=a+"px"}};function uf_show_modal(h,e){gs_modal_caller_container=e;var b=document.getElementById(h);var a=document.createElement("div");a.id="_backgroundElement";a.style.display="none";a.style.position="fixed";a.style.left="0px";a.style.top="0px";a.className="modal_background";document.body.appendChild(a);var d;var g;if(ut_detector.browser_safari()){d=window.innerWidth;g=window.innerHeight}else{d=document.documentElement.clientWidth;g=document.documentElement.clientHeight}a.style.width=d+"px";a.style.height=g+"px";a.style.display="";a.style.position="absolute";b.style.display="";b.style.position="absolute";b.style.zIndex=501;var c=b.clientWidth;var f=b.clientHeight;b.style.left=((d/2)-(c/2))+"px";b.style.top=((g/2)-(f/2))+"px";for(lictr=0;lictr<b.getElementsByTagName("*").length;lictr++){if(b.getElementsByTagName("select")[lictr]){b.getElementsByTagName("select")[lictr].focus();break}if(b.getElementsByTagName("input")[lictr]){if(b.getElementsByTagName("input")[lictr].type=="text"||b.getElementsByTagName("input")[lictr].type=="radio"||b.getElementsByTagName("input")[lictr].type=="checkbox"){b.getElementsByTagName("input")[lictr].focus();break}}}}function uf_close_modal(a){backgroundElement=$get("_backgroundElement");document.body.removeChild(backgroundElement);uctl_container=$get(a);uctl_container.style.display="none"}function uf_show_email_page(j,h){gs_modal_caller_container=h;var b=document.getElementById(j);var i=document.createElement("div");i.id="_backgroundElement";i.style.display="none";i.style.position="fixed";i.style.left="0px";i.style.top="0px";i.className="modal_background";document.body.appendChild(i);var d;var c;if(ut_detector.browser_safari()){d=window.innerWidth;c=window.innerHeight}else{d=document.documentElement.clientWidth;c=document.documentElement.clientHeight}i.style.width=d+"px";i.style.height=d+"px";i.style.display="";i.style.position="absolute";b.style.display="";b.style.position="absolute";b.style.zIndex=501;var f=b.clientWidth;var k=b.clientHeight;var g=Math.round(((d/2)-(f/2)));var e=Math.round(((c/2)-(k/2)));b.style.left=g+"px";b.style.top=e+"px";obj_container=$get(gs_modal_caller_container);var a=obj_container.getElementsByTagName("A")[0];for(lictr=0;lictr<b.getElementsByTagName("*").length;lictr++){if(b.getElementsByTagName("*")[lictr].id.indexOf("txt_email_to")>0){if(a){b.getElementsByTagName("*")[lictr].value=a.innerText}}else{if(b.getElementsByTagName("*")[lictr].id.indexOf("txt_email")>0){b.getElementsByTagName("*")[lictr].value=""}}if(b.getElementsByTagName("*")[lictr].id.indexOf("lbl_message")>0){b.getElementsByTagName("*")[lictr].innerHTML=""}if(b.getElementsByTagName("*")[lictr].id.indexOf("lbl_email_to")>0){b.getElementsByTagName("*")[lictr].setAttribute("onmousemove","pu_tooltip.close_moving_message();")}}return false}function uf_close_email_page(a){backgroundElement=$get("_backgroundElement");document.body.removeChild(backgroundElement);uctl_container=$get(a);uctl_container.style.display="none"}var uc_upl=new common_upload_class();function common_upload_class(){}common_upload_class.prototype.open=function(k,a,i,f,e,c,h,l,g,b){var d=document.getElementById(a);var j=document.getElementById(i);if(d.value==""){document.getElementById("ifr_uploader").src="uctl_tool_uploader_page.aspx?h="+a+"&a="+i+"&i="+f+"&pnl="+k+"&prefix="+e+"&altfilename="+c+"&dispname="+h+"&trackchanges="+l+"&delvisible="+g+"&targetdir="+b;uc_upl.open_modal(k);return false}else{return true}};common_upload_class.prototype.clear=function(a,f,e,h,c){var b=document.getElementById(a);var g=document.getElementById(f);var d=document.getElementById(c);d.value="";g.innerHTML="Select..";g.removeAttribute("href");g.style.textDecoration="underline";g.style.cursor="pointer";e.style.display="none";if(h=="True"){ut_tracking.set_modified_flag()}};common_upload_class.prototype.callback=function(d,a,f,b,c,e){if(document.getElementById(d).value!=""){parent.document.getElementById(a).value=document.getElementById(d).value;parent.document.getElementById(f).removeAttribute("href");parent.document.getElementById(f).removeAttribute("target");parent.document.getElementById(f).style.textDecoration="none";parent.document.getElementById(f).style.cursor="default";if(e=="True"){parent.document.getElementById(b).style.display="inline"}if(c!=""){parent.document.getElementById(f).innerHTML=c}else{parent.document.getElementById(f).innerHTML=document.getElementById(d).value}document.getElementById(d).value=""}};common_upload_class.prototype.open_modal=function(b){var g=document.getElementById(b);var f=document.createElement("div");f.id="_backgroundElement";f.style.display="none";f.style.position="fixed";f.style.left="0px";f.style.top="0px";f.style.zIndex=1000;f.className="modal_background";document.body.appendChild(f);var c;var e;if(ut_detector.browser_safari()){c=window.innerWidth;e=window.innerHeight}else{c=document.documentElement.clientWidth;e=document.documentElement.clientHeight}f.style.width=c+"px";f.style.height=e+"px";f.style.display="";f.style.position="absolute";g.style.display="";g.style.position="absolute";g.style.zIndex=10001;var a=g.clientWidth;var d=g.clientHeight;g.style.left=((c/2)-(a/2))+"px";g.style.top=((e/2)-(d/2))+"px";if(g.childNodes(0).childNodes.length>0){return false}};common_upload_class.prototype.close_modal=function(b,a){backgroundElement=document.getElementById("_backgroundElement");document.body.removeChild(backgroundElement);uctl_container=document.getElementById(b);uctl_container.style.display="none";ut_trigger.postback(a)};common_upload_class.prototype.upload=function(c,b,a,f){var g=document.getElementById(c);var e=document.getElementById(b);var d=document.getElementById(a);g.style.visibility="visible";e.style.visibility="visible";d.innerHTML="";if(f=="True"){uc_upl.set_modified_flag()}};common_upload_class.prototype.set_modified_flag=function(){var a=parent.document.getElementById(gs_constant_modified_id);a.value="true";return true};var uc_text_query=new common_text_query_class();function common_text_query_class(){}common_text_query_class.prototype.hover=function(f){var e,g;var c,d;var b,a;e=document.getElementById(f);d=e.getElementsByTagName("INPUT");lo_value=d[0];lo_tooltip_ns=d[1];lo_display_tooltip_ns=d[2];lo_watermark_text=d[3];lo_text=d[4];if(lo_value.value==""&&lo_text.value!=""&&lo_display_tooltip_ns.value=="True"){if(lo_tooltip_ns.value!=""){pu_tooltip.open_moving_message(lo_tooltip_ns.value)}else{if(lo_text.value!=lo_watermark_text.value&&lo_tooltip_ns.value==""){pu_tooltip.open_moving_message("Invalid Entry")}else{pu_tooltip.open_moving_message(lo_text.value)}}}else{if(lo_value.value!=""&&lo_text.value!=""){pu_tooltip.open_moving_message(lo_text.value)}}return true};common_text_query_class.prototype.lookup_itemselected=function(j,g){obj_container=$get(gs_modal_caller_container);var d=obj_container.getElementsByTagName("input")[0];var i=obj_container.getElementsByTagName("input")[4];var a=obj_container.getElementsByTagName("input")[5];var b=obj_container.getElementsByTagName("input")[6];var c;var h;var f=parent.document.getElementById(gs_constant_modified_id);if(d){d.value=j}if(i){if(a.value==""){i.value=g}else{var e=$find(a.value);e.set_Text(g)}h=i.getAttribute("_verify");if(b.value!=""&&h=="1"&&f.value=="true"){c=i.getAttribute("_track");if(c=="1"){ut_tracking.set_modified_flag()}ut_tracking.confirm_save_before_postback(b.value)}else{if(b.value!=""){ut_trigger.postback(b.value)}}}};function uf_text_query_selected(b,a){var c=a.get_text();if(c.indexOf("-")>=0){c=c.substring(c.indexOf("-")+2)}b.get_element().value=c}common_text_query_class.prototype.itemselect_postback=function(g,e){var f=parent.document.getElementById(gs_constant_modified_id);var b=g.get_controlUniqueId();var a=g.get_element();var d;var c;d=a.getAttribute("_verify");if(f.value=="true"&&d=="1"){c=a.getAttribute("_track");if(c=="1"){ut_tracking.set_modified_flag()}ut_tracking.confirm_save_before_postback(b)}else{c=a.getAttribute("_track");if(c=="1"){ut_tracking.set_modified_flag()}ut_trigger.postback(b)}return false};common_text_query_class.prototype.itemselect=function(b,a){var c=b.get_element();var d;d=c.getAttribute("_track");if(d=="1"){ut_tracking.set_modified_flag()}return false};var uc_email=new common_email_class();function common_email_class(){}common_email_class.prototype.validate=function(d){var c=/^[A-Za-z0-9]+([_\.-][A-Za-z0-9]+)*@[A-Za-z0-9]+([_\.-][A-Za-z0-9]+)*\.([A-Za-z]){2,4}$/i;if(d.value!=""){var a=new Array();a=d.value.split(";");var b;for(lictr=0;lictr<a.length;lictr++){b=a[lictr];if(b!=""){if(b.match(c)){d.className="textctl";d.removeAttribute("_invalid")}else{d.className="dateerror";d.setAttribute("_invalid","1");break}}}}else{d.className="textctl";d.removeAttribute("_invalid")}};common_email_class.prototype.hover=function(b){if(b.getAttribute("_invalid")=="1"){var a="Email Address is invalid.";pu_tooltip.open_moving_message(a)}return true};var uc_ddlc=new common_ddlc_class();function common_ddlc_class(){}common_ddlc_class.prototype.init=function(b){var d;var a;var c;if(this.ps_container_id==b){return}else{if(this.po_container){uc_ddlc.popup_close(b)}}this.ps_container_id=b;this.po_container=document.getElementById(b);d=this.po_container.getElementsByTagName("TABLE");this.po_control_item=d[0];this.po_popup_tbl=d[2];this.po_popup_item=this.po_popup_tbl.parentNode;this.po_list_row_items=this.po_popup_tbl.getElementsByTagName("TR");a=this.po_control_item.getElementsByTagName("INPUT");this.po_display_text_item=a[0];this.po_value=a[1];this.po_text=a[2];this.po_color=a[3];this.po_svc_path=a[4];this.po_svc_meth=a[5];this.po_lkup_id=a[6];this.pb_trackchanges=this.po_display_text_item.getAttribute("p_trackchanges")=="1";this.ps_postback_unique_id=this.po_display_text_item.getAttribute("p_autopostback");this.ps_text_id=this.po_display_text_item.id;this.ps_img_id=this.po_control_item.getElementsByTagName("IMG")[0].id;return true};common_ddlc_class.prototype.uf_click=function(b){uc_ddlc.init(b);for(var a=0;a<this.po_list_row_items.length;a++){lo_list_row_item=this.po_list_row_items[a];if(lo_list_row_item.getAttribute("init")!="true"){addEvent(lo_list_row_item,"mouseover",new Function("event.cancelBubble = true;"));addEvent(lo_list_row_item,"mouseout",new Function("event.cancelBubble = true;"));addEvent(lo_list_row_item,"click",new Function("event.cancelBubble = true;"));addEvent(lo_list_row_item,"click",new Function("uc_ddlc.set_selected('"+b+"', "+a+")"));lo_list_row_item.setAttribute("init","true")}}this.po_popup_item.style.visibility="visible";this.po_popup_item.style.display="block"};common_ddlc_class.prototype.set_selected=function(b,c){var a=this.po_list_row_items[c];if(this.po_value.value==a.getAttribute("p_value")){uc_ddlc.popup_close(b);return}else{ut_tracking.set_modified_flag()}this.po_value.value=a.getAttribute("p_value");this.po_text.value=a.getAttribute("p_text");this.po_color.value=a.getAttribute("p_color");this.po_svc_path.value=a.getAttribute("p_servicepath");this.po_svc_meth.value=a.getAttribute("p_servicemethod");this.po_lkup_id.value=a.getAttribute("p_lookupid");this.ps_container_id="";ut_trigger.postback(this.ps_postback_unique_id);uc_ddlc.popup_close(b)};common_ddlc_class.prototype.popup_close=function(a){if(eventTarget().id==this.ps_text_id||eventTarget().id==this.ps_img_id){return}if(this.po_popup_item){this.po_popup_item.style.visibility="hidden";this.po_popup_item.style.display="none"}};var uc_ts=new common_tabstrip_class();function common_tabstrip_class(){}common_tabstrip_class.prototype.disable_tab=function(a){var d;var b;var c;lo_container=document.getElementById(a);b=lo_container.getElementsByTagName("a");for(c=0;c<b.length;c++){lo_list_lnk_item=b[c];lo_list_lnk_item.removeAttribute("href");lo_list_lnk_item.setAttribute("onclick","return false")}};common_tabstrip_class.prototype.change_tab=function(a,b){ut_tracking.confirm_save_before_clientside_script("uc_ts.disable_tab('"+a+"'); ut_trigger.postback('"+b+"');")};var uc_tardy_calc=new common_tardy_calculator_class();function common_tardy_calculator_class(){}common_tardy_calculator_class.prototype.init=function(d){var b;var a;var e;var c;this.po_container=document.getElementById(d);c=this.po_container.getElementsByTagName("TABLE");a=c[0];e=c[1];b=a.getElementsByTagName("INPUT");this.po_display_text_item=b[0];b=e.getElementsByTagName("INPUT");this.po_time_from=b[0];this.po_time_to=b[2]};common_tardy_calculator_class.prototype.uf_calculate_tardiness=function(a){uc_tardy_calc.init(a);var b="0";if(this.po_time_from.value!=""&&this.po_time_to.value!=""){b=uc_tardy_calc.uf_get_tardy_minutes();this.po_display_text_item.value=b;pu_static.close();ut_gui.focus(this.po_display_text_item.id)}else{ut_gui.focus(this.po_time_from.id)}};common_tardy_calculator_class.prototype.uf_get_tardy_minutes=function(){var ls_time_from=this.po_time_from.value.split(":");var ls_time_to=this.po_time_to.value.split(":");var li_time_from_minutes=0;var li_time_to_minutes=0;var liTardyMinutes=0;if(ls_time_from[1].substr(3,2).toUpperCase()=="AM"){if(eval(ls_time_from[0])=="12"){li_time_from_minutes=eval(ls_time_from[1].substr(0,2))}else{li_time_from_minutes=(eval(ls_time_from[0])*60)+eval(ls_time_from[1].substr(0,2))}}else{if(eval(ls_time_from[0])=="12"){li_time_from_minutes=(eval(ls_time_from[0])*60)+eval(ls_time_from[1].substr(0,2))}else{li_time_from_minutes=((eval(ls_time_from[0])+12)*60)+eval(ls_time_from[1].substr(0,2))}}if(ls_time_to[1].substr(3,2).toUpperCase()=="AM"){if(eval(ls_time_to[0])=="12"){li_time_to_minutes=eval(ls_time_to[1].substr(0,2))}else{li_time_to_minutes=(eval(ls_time_to[0])*60)+eval(ls_time_to[1].substr(0,2))}}else{if(eval(ls_time_to[0])=="12"){li_time_to_minutes=(eval(ls_time_to[0])*60)+eval(ls_time_to[1].substr(0,2))}else{li_time_to_minutes=((eval(ls_time_to[0])+12)*60)+eval(ls_time_to[1].substr(0,2))}}liTardyMinutes=li_time_to_minutes-li_time_from_minutes;if(liTardyMinutes<0){liTardyMinutes=0}else{if(liTardyMinutes>999){liTardyMinutes=999}}return liTardyMinutes};var uc_popup=new common_popup_class();function common_popup_class(){}common_popup_class.prototype.init=function(a){var b;this.po_trigger_pnl=document.getElementById(a);b=this.po_trigger_pnl.getElementsByTagName("INPUT");this.po_show_text=b[0];this.po_hide_text=b[1];this.po_toggle=b[2];b=this.po_trigger_pnl.getElementsByTagName("A");this.po_link=b[0]};common_popup_class.prototype.uf_toggle_popup=function(a,b){event.cancelBubble=true;if(document.getElementById(a)){uc_popup.init(a);if(this.po_toggle.value=="0"){this.po_toggle.value="1";uc_popup.uf_show_popup(b);this.po_link.innerText=this.po_hide_text.value}else{this.po_toggle.value="0";uc_popup.uf_close_popup(b);this.po_link.innerText=this.po_show_text.value}}};common_popup_class.prototype.uf_show_popup=function(i){if(document.getElementById(gs_flag_popup_container_id)){uc_popup.uf_close_popup(gs_flag_popup_container_id)}gs_flag_popup_container_id=i;var c=document.getElementById(i);var a=document.createElement("div");a.id="_"+i;a.style.display="none";a.style.position="fixed";a.className="popup_background";document.body.appendChild(a);var g;var d;if(ut_detector.browser_safari()){g=window.innerWidth;d=window.innerHeight}else{g=document.documentElement.clientWidth;d=document.documentElement.clientHeight}c.style.display="";c.style.position="absolute";c.style.zIndex=401;var h=c.clientWidth;var e=c.clientHeight;a.style.width=h+"px";a.style.height=e+"px";a.style.display="";a.style.position="absolute";var b=((g/2)-(h/2));var f=((d/2)-(e/2));c.style.left=b+"px";c.style.top=f+"px";a.style.left=b+5+"px";a.style.top=f+5+"px";for(lictr=0;lictr<c.getElementsByTagName("*").length;lictr++){if(c.getElementsByTagName("select")[lictr]){c.getElementsByTagName("select")[lictr].focus();break}if(c.getElementsByTagName("input")[lictr]){if(c.getElementsByTagName("input")[lictr].type=="text"||c.getElementsByTagName("input")[lictr].type=="radio"||c.getElementsByTagName("input")[lictr].type=="checkbox"){c.getElementsByTagName("input")[lictr].focus();break}}}return false};common_popup_class.prototype.uf_close_popup=function(a){backgroundElement=$get("_"+a);document.body.removeChild(backgroundElement);uctl_container=$get(a);uctl_container.style.display="none";gs_flag_popup_container_id=""};var uc_mb=new common_message_box_class();function common_message_box_class(){}common_message_box_class.prototype.open=function(c){var g=document.getElementById(c);var f=document.createElement("div");f.id="_backgroundElement";f.style.display="none";f.style.position="fixed";f.style.left="0px";f.style.top="0px";f.style.zIndex=1000;f.className="modal_background";document.body.appendChild(f);var b;var e;if(ut_detector.browser_safari()){b=window.innerWidth;e=window.innerHeight}else{b=document.documentElement.clientWidth;e=document.documentElement.clientHeight}f.style.width=b+"px";f.style.height=e+"px";f.style.display="";f.style.position="absolute";g.style.display="";g.style.position="absolute";g.style.zIndex=10001;var a=g.clientWidth;var d=g.clientHeight;g.style.left=((b/2)-(a/2))+"px";g.style.top=((e/2)-(d/2))+"px";if(g.childNodes(0).childNodes.length>0){return false}};common_message_box_class.prototype.close=function(b){backgroundElement=document.getElementById("_backgroundElement");document.body.removeChild(backgroundElement);uctl_container=document.getElementById(b);uctl_container.style.display="none";var a=document.getElementById(gs_message_box);a.value=""};
