var suggesturl="/autosuggest.aspx?keyword=";var image=[new Image(),new Image(),new Image(),new Image()];image[0].src="/images/arrow-down.gif";image[1].src="/images/arrow-down-d.gif";image[2].src="/images/arrow-up.gif";image[3].src="/images/arrow-up-d.gif";function actb(e,b,c){this.actb_suggesturl=c||(b?"":suggesturl);this.actb_timeOut=-1;this.actb_response=500;this.actb_lim=10;this.actb_firstText=false;this.actb_firstMatch=true;this.actb_restrict=false;this.actb_fullRefresh=true;this.actb_useIFrame=false;this.actb_useScroll=true;this.actb_mouse=true;this.actb_noDefault=true;this.actb_startcheck=0;this.actb_delimiter=[";",","];this.ajax_delimiter="|";this.item_delimiter=",";this.actb_selectedIndex=-1;this.actb_arColor="#000000";this.actb_bgColor="#FFFFFF";this.actb_textColor="#000000";this.actb_htextColor="#FFFFFF";this.actb_hColor="#71A602";this.actb_arrowSize="7px";this.actb_fSize="10px";this.actb_fFamily="verdana,arial,helvetica";this.actb_delimwords=[];this.actb_cdelimword=0;this.actb_delimchar=[];this.actb_display=false;this.actb_pos=0;this.actb_total=0;this.actb_rangeu=0;this.actb_ranged=0;this.actb_bool=[];this.actb_pre=0;this.actb_toid=0;this.actb_tomake=false;this.cur_x=0;this.cur_y=0;this.cur_w=0;this.cur_h=0;this.mouse_x=0;this.mouse_y=0;this.actb_mouse_on_list=0;this.actb_caretmove=false;this.actb_base_id=e;this.actb_curr=document.getElementById(e);this.actb_prevterm=this.actb_curr.value;this.actb_keywords=[];this.actb_values=[];this.actb_keywords_init=[];this.actb_values_init=[];b=b||[];for(var d=0,a=b.length;d<a;d++){if(String(typeof(b[d])).toLowerCase()=="string"){this.actb_keywords[d]=this.actb_keywords_init[d]=b[d];this.actb_values[d]=this.actb_values_init[d]=""}else{this.actb_keywords[d]=this.actb_keywords_init[d]=b[d][0];this.actb_values[d]=this.actb_values_init[d]=b[d][1]}}return this.construct()}actb.prototype={callLater:function(a,b){return function(){a.call(b)}},construct:function(){this.actb_curr.actb=this;this.funcClick=this.actb_mouseclick;this.funcCheck=this.actb_checkkey;this.funcHighlight=this.actb_table_highlight;this.funcClear=this.callLater(this.actb_clear,this);this.funcPress=this.callLater(this.actb_keypress,this);this.funcUp=this.callLater(this.actb_goup,this);this.funcDown=this.callLater(this.actb_godown,this);this.funcFocus=this.callLater(this.actb_table_focus,this);this.funcUnfocus=this.callLater(this.actb_table_unfocus,this);ASAddEvent(this.actb_curr,"focus",this.callLater(this.actb_setup,this));return this},actb_setup:function(){ASAddEvent(document,"keydown",this.funcCheck);ASAddEvent(this.actb_curr,"blur",this.funcClear);ASAddEvent(document,"keypress",this.funcPress)},actb_clear:function(){var c=window.event;if(c&&this.cur_h){var b=c.srcElement||c.target;var a=this.mouse_x;var d=this.mouse_y;if((b.id==this.actb_base_id)&&(a>this.cur_x&&a<(this.cur_x+this.cur_w))&&(d>this.cur_y&&d<(this.cur_y+this.cur_h))){this.actb_curr.focus();return}}ASRemoveEvent(document,"keydown",this.funcCheck);ASRemoveEvent(this.actb_curr,"blur",this.funcClear);ASRemoveEvent(document,"keypress",this.funcPress);this.actb_removedisp()},actb_parse:function(h){if(!h||!h.length){return h}var a,d;if(this.actb_delimiter.length>0){a=this.actb_delimwords[this.actb_cdelimword].trim().addslashes();d=this.actb_delimwords[this.actb_cdelimword].trim().length}else{a=this.actb_curr.value.addslashes();d=this.actb_curr.value.length}if(!d){return h}var f=[];var g=0;var b=this.actb_firstText?new RegExp("^"+a,"i"):new RegExp(" "+a,"i");var e=(" "+h).search(b);f[g++]=h.substr(0,e);f[g++]="<u><font face='"+this.actb_fFamily+"' style='font-weight:bold'>";f[g++]=h.substring(e,d+e);f[g++]="</font></u>";f[g++]=h.substring(d+e,h.length);return f.join("")},actb_generate:function(){var k=this;ASAddEvent(document,"mousemove",function(i){i=i||window.event;k.mouse_x=i.x;k.mouse_y=i.y});var o=document.getElementById("tat_table_"+this.actb_base_id);if(o){this.actb_display=false;document.body.removeChild(o);var a=document.getElementById("tat_helper_"+this.actb_base_id);if(a){document.body.removeChild(a)}}if(this.actb_total==0){this.actb_display=false;return}var n=(document.all&&!window.opera)?true:false;var e=document.createElement("div");e.id="tat_table_"+this.actb_base_id;e.style.position="absolute";e.style.border="#000000 solid 1px";e.style.zIndex=100;e.style.textAlign="left";this.cur_y=AScurTop(this.actb_curr)+this.actb_curr.offsetHeight;e.style.top=this.cur_y+"px";this.cur_x=e.style.left=ASCurLeft(this.actb_curr);e.style.left=this.cur_x+"px";this.cur_w=this.actb_curr.offsetWidth-6;e.style.width=this.cur_w+"px";this.cur_h=1;e.style.height="1px";var p=null;if(n&&this.actb_useIFrame){var p=document.createElement("iframe");p.id="tat_helper_"+this.actb_base_id;p.src="javascript:'<html></html>';";p.scrolling="no";p.frameBorder="no";p.style.display="block";p.style.position="absolute";p.style.zIndex=99;p.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity=0)"}var c=[];var h=0;c[h++]="<table cellspacing='1px' cellpadding='2px' style='width:100%;background-color:"+this.actb_bgColor+"' id='tat_table2_"+this.actb_base_id+"'>";if(this.actb_useScroll&&(this.actb_total>this.actb_lim)){this.cur_h=this.actb_lim*parseInt(this.actb_fSize);e.style.height=this.cur_h+"px";e.style.overflow="auto";e.style.overflowX="hidden"}if(p){document.body.appendChild(p);p.style.top=this.cur_y+"px";p.style.left=this.cur_x+"px";p.style.width=e.offsetWidth+2}document.body.appendChild(e);var l=0,g=true,r=1;for(var s=0;s<this.actb_keywords.length;s++){if(!this.actb_useScroll&&((this.actb_keywords.length>this.actb_lim)&&(this.actb_total>this.actb_lim)&&!s)){c[h++]="<tr style='background-color:"+this.actb_arColor+"'>";c[h++]="<td style='color:"+this.actb_textColor+";font-family:arial narrow;font-size:"+this.actb_arrowSize+";cursor:default' align='center'></td></tr>"}if(this.actb_bool[s]&&(this.actb_useScroll||(l<this.actb_lim))){l++;c[h++]="<tr style='background-color:";var v=this.actb_textColor;if((g&&!this.actb_noDefault&&!this.actb_tomake)){c[h++]=this.actb_hColor;v=this.actb_htextColor;g=false}else{c[h++]=this.actb_bgColor}c[h++]="' id='tat_tr_"+this.actb_base_id+String(r)+"'>";c[h++]="<td style='color:"+v+";font-family:"+this.actb_fFamily+";font-size:"+this.actb_fSize+";white-space:nowrap'>"+this.actb_parse(this.actb_keywords[s])+"</td></tr>";r++}}if(!this.actb_useScroll&&(this.actb_total>this.actb_lim)){c[h++]="<tr style='background-color:"+this.actb_arColor+"'>";c[h++]="<td style='color:"+this.actb_textColor+";font-family:arial narrow;font-size:"+this.actb_arrowSize+";cursor:default' align='center'></td></tr>"}e.innerHTML=c.join("");var t=e.firstChild,q=t.rows.length,l=0,r=1,d=0,u=0;if(this.actb_mouse){t.onmouseout=this.funcUnfocus;t.onmouseover=this.funcFocus}for(s=0;s<q;s++){var f=t.rows[s];var b=f.cells[0];if(!this.actb_useScroll&&((this.actb_keywords.length>this.actb_lim)&&(this.actb_total>this.actb_lim)&&!s)){ASReplaceHTML(b,image[3]);d+=f.offsetHeight+1}else{if((s==(q-1))&&(!this.actb_useScroll&&(this.actb_total>this.actb_lim))){ASReplaceHTML(b,image[0]);ASAddEvent(b,"click",this.funcDown);d+=f.offsetHeight+1}else{l++;b.actb=this;b.setAttribute("pos",r);if(l<=this.actb_lim){d+=f.offsetHeight+1}if(u<f.offsetWidth){u=f.offsetWidth}if(this.actb_mouse){b.style.cursor=n?"hand":"pointer";ASAddEvent(b,"click",this.funcClick);b.onmouseover=this.funcHighlight}r++}}}d+=(n?3:1);this.cur_h=d;e.style.height=d+"px";this.cur_w=(u>e.offsetWidth?u:e.offsetWidth)+2;e.style.width=this.cur_w+"px";if(p){this.cur_h=d;p.style.height=e.style.height=this.cur_h+"px";p.style.width=this.cur_w+"px"}this.actb_pos=this.actb_noDefault?0:1;this.actb_rangeu=1;this.actb_ranged=r-1;this.actb_display=true},actb_remake:function(){var n=(document.all&&!window.opera)?true:false;var q=document.getElementById("tat_table2_"+this.actb_base_id);if(this.actb_mouse){q.onmouseout=this.funcUnfocus;q.onmouseover=this.funcFocus}var h,f=0;var l=true;var g=1;if(this.actb_total>this.actb_lim){var p=(this.actb_rangeu>1);var d=q.rows[f++];d.style.backgroundColor=this.actb_arColor;var o=d.firstChild;o.style.color=this.actb_textColor;o.style.fontFamily="arial narrow";o.style.fontSize=this.actb_arrowSize;o.style.cursor="default";o.align="center";ASReplaceHTML(o,p?image[2]:image[3]);if(p){ASAddEvent(o,"click",this.funcUp);o.style.cursor=n?"hand":"pointer"}else{o.style.cursor="default"}}for(var h=0;h<this.actb_keywords.length;h++){if(this.actb_bool[h]){if(g>=this.actb_rangeu&&g<=this.actb_ranged){var d=q.rows[f++];d.style.backgroundColor=this.actb_bgColor;d.id="tat_tr_"+this.actb_base_id+String(g);var o=d.firstChild;o.style.color=this.actb_textColor;o.style.fontFamily=this.actb_fFamily;o.style.fontSize=this.actb_fSize;o.innerHTML=this.actb_parse(this.actb_keywords[h]);o.setAttribute("pos",g)}g++}if(g>this.actb_ranged){break}}if(this.actb_keywords.length>this.actb_lim){var p=((g-1)<this.actb_total);var d=q.rows[f];d.style.backgroundColor=this.actb_arColor;var o=d.firstChild;o.style.color=this.actb_textColor;o.style.fontFamily="arial narrow";o.style.fontSize=this.actb_arrowSize;o.style.cursor="default";o.align="center";ASReplaceHTML(o,p?image[0]:image[1]);if(p){ASAddEvent(o,"click",this.funcDown);o.style.cursor=n?"hand":"pointer"}else{o.style.cursor="default"}}if((document.all&&!window.opera)){var e=document.getElementById("tat_helper_"+this.actb_base_id);if(e){e.style.width=q.parentNode.offsetWidth+2}}},actb_goup:function(){this.actb_curr.focus();if(!this.actb_display){return}if(this.actb_pos<=1){return}var a=document.getElementById("tat_tr_"+this.actb_base_id+String(this.actb_pos));if(a&&a.style){a.style.backgroundColor=this.actb_bgColor;a.firstChild.style.color=this.actb_textColor}this.actb_pos--;a=document.getElementById("tat_tr_"+this.actb_base_id+String(this.actb_pos));if(this.actb_useScroll&&a){var b=document.getElementById("tat_table_"+this.actb_base_id);if(a.offsetTop<b.scrollTop){b.scrollTop=a.offsetTop}}else{if(this.actb_pos<this.actb_rangeu){this.actb_rangeu--;this.actb_ranged--;this.actb_remake()}a=document.getElementById("tat_tr_"+this.actb_base_id+String(this.actb_pos))}if(a&&a.style){a.style.backgroundColor=this.actb_hColor;a.firstChild.style.color=this.actb_htextColor}if(this.actb_toid){clearTimeout(this.actb_toid);this.actb_toid=0}if(this.actb_timeOut>0){this.actb_toid=setTimeout(function(){this.actb_mouse_on_list=1;this.actb_removedisp()},this.actb_timeOut)}this.actb_curr.focus()},actb_godown:function(){this.actb_curr.focus();if(!this.actb_display){return}if(this.actb_pos==this.actb_total){return}if(this.actb_pos>=1){var b=document.getElementById("tat_tr_"+this.actb_base_id+String(this.actb_pos));if(b&&b.style){b.style.backgroundColor=this.actb_bgColor;b.firstChild.style.color=this.actb_textColor}}else{this.actb_pos=0}this.actb_pos++;b=document.getElementById("tat_tr_"+this.actb_base_id+String(this.actb_pos));if(this.actb_useScroll&&b){var c=document.getElementById("tat_table_"+this.actb_base_id);if((b.offsetTop+b.offsetHeight)>(c.scrollTop+c.offsetHeight)){var a=this.actb_pos-this.actb_lim+1;if(a>0){c.scrollTop=document.getElementById("tat_tr_"+this.actb_base_id+String(a)).offsetTop}}}else{if(this.actb_pos>this.actb_ranged){this.actb_rangeu++;this.actb_ranged++;this.actb_remake()}b=document.getElementById("tat_tr_"+this.actb_base_id+String(this.actb_pos))}if(b&&b.style){b.style.backgroundColor=this.actb_hColor;b.firstChild.style.color=this.actb_htextColor}if(this.actb_toid){clearTimeout(this.actb_toid);this.actb_toid=0}if(this.actb_timeOut>0){this.actb_toid=setTimeout(function(){this.actb_mouse_on_list=1;this.actb_removedisp()},this.actb_timeOut)}this.actb_curr.focus()},actb_mouseclick:function(c){var b=ASGetTargetElement(c);if(!b.id){b=b.parentNode}var d=b.actb;if(!d){var a=b.tagName.toLowerCase();b=(a=="tr")?b.firstChild:b.parentNode;d=b.actb}if(!d||!d.actb_display){return}d.actb_mouse_on_list=0;d.actb_pos=b.getAttribute("pos");d.actb_penter()},actb_table_focus:function(){this.actb_mouse_on_list=1},actb_table_unfocus:function(){this.actb_mouse_on_list=0;if(this.actb_toid){clearTimeout(this.actb_toid);this.actb_toid=0}if(this.actb_timeOut>0){this.actb_toid=setTimeout(function(){obj.actb_mouse_on_list=0;this.actb_removedisp()},this.actb_timeOut)}},actb_table_highlight:function(b){var a=ASGetTargetElement(b);var c=a.actb;if(!c){return}c.actb_mouse_on_list=1;var d=document.getElementById("tat_tr_"+c.actb_base_id+c.actb_pos);if(d&&d.style){d.style.backgroundColor=c.actb_bgColor;d.firstChild.style.color=c.actb_textColor}c.actb_pos=a.getAttribute("pos");d=document.getElementById("tat_tr_"+c.actb_base_id+c.actb_pos);if(d&&d.style){d.style.backgroundColor=c.actb_hColor;d.firstChild.style.color=c.actb_htextColor}if(c.actb_toid){clearTimeout(c.actb_toid);c.actb_toid=0}if(c.actb_timeOut>0){c.actb_toid=setTimeout(function(){c.actb_mouse_on_list=0;c.actb_removedisp()},c.actb_timeOut)}},actb_penter:function(){if(!this.actb_display){return}if(this.actb_pos<1){return}this.actb_display=false;var b="",d=0;for(var a=0;a<this.actb_keywords.length;a++){if(this.actb_bool[a]){d++}if(d==this.actb_pos){b=this.actb_keywords[a];break}}this.actb_selectedIndex=d;this.actb_insertword(b)},actb_insertword:function(b){if(this.actb_delimiter.length>0){var e="";for(var d=0;d<this.actb_delimwords.length;d++){if(this.actb_cdelimword==d){prespace=postspace="";gotbreak=false;for(var c=0;c<this.actb_delimwords[d].length;++c){if(this.actb_delimwords[d].charAt(c)!=" "){gotbreak=true;break}prespace+=" "}for(c=this.actb_delimwords[d].length-1;c>=0;--c){if(this.actb_delimwords[d].charAt(c)!=" "){break}postspace+=" "}e+=prespace;e+=b;if(gotbreak){e+=postspace}}else{e+=this.actb_delimwords[d]}if(d!=this.actb_delimwords.length-1){e+=this.actb_delimchar[d]}}this.actb_curr.value=e;ASSetCaret(this.actb_curr,this.actb_curr.value.length)}else{this.actb_curr.value=b}this.actb_mouse_on_list=0;this.actb_removedisp()},actb_removedisp:function(){if(this.actb_mouse_on_list==0){this.actb_display=0;var b=document.getElementById("tat_table_"+this.actb_base_id);if(b){var a=document.getElementById("tat_helper_"+this.actb_base_id);if(a){document.body.removeChild(a)}document.body.removeChild(b)}if(this.actb_toid){clearTimeout(this.actb_toid);this.actb_toid=0}this.cur_x=0;this.cur_y=0;this.cur_w=0;this.cur_h=0}},actb_keypress:function(b){b=b||window.event;var a;if(b){a=b.keyCode;var c=ASGetTargetElement(b).actb;if(a==13){if(c.actb_display&&c.actb_pos>0){c.actb_caretmove=1;c.actb_penter();return false}else{return true}}else{if(this.actb_caretmove){ASStopEvent(b)}return !this.actb_caretmove}}},actb_checkkey:function(f){f=f||window.event;var e=f.keyCode;var h=ASGetTargetElement(f).actb;h.actb_caretmove=0;var b="";if(h.actb_toid){clearTimeout(h.actb_toid);h.actb_toid=0}switch(e){case 38:h.actb_goup();h.actb_caretmove=1;return false;case 40:if(!h.actb_display){h.actb_toid=setTimeout(function(){h.actb_tocomplete.call(h,-1)},25)}else{h.actb_godown();h.actb_caretmove=1}return false;case 33:for(var j=0;j<h.actb_lim;j++){h.actb_goup()}h.actb_caretmove=1;break;case 34:for(var j=0;j<h.actb_lim;j++){h.actb_godown()}h.actb_caretmove=1;break;case 27:b=h.actb_curr.value;h.actb_mouse_on_list=0;h.actb_removedisp();break;case 13:if(h.actb_display&&h.actb_pos>0){h.actb_caretmove=1;h.actb_penter();return false}break;case 9:if((h.actb_display&&h.actb_pos)||h.actb_toid){h.actb_caretmove=1;h.actb_penter();setTimeout(function(){h.actb_curr.focus()},25);return false}break;default:if(h.actb_restrict&&!h.actb_suggesturl.length&&(e!=8)){var d=h.actb_keywords.length;var g=h.actb_curr.value+String.fromCharCode(e);g=g.toLowerCase();for(var a=0;a<d;a++){if(h.actb_keywords[a].toLowerCase().indexOf(g)!=-1){break}}if(a==d){ASStopEvent(f);return false}}h.actb_caretmove=0;h.actb_toid=setTimeout(function(){h.actb_tocomplete.call(h,e)},(h.actb_response<10?10:h.actb_response));break}if(b.length){setTimeout(function(){h.actb_curr.value=b},25)}return true},actb_tocomplete:function(o){if(this.actb_toid){clearTimeout(this.actb_toid);this.actb_toid=0}else{return}if(this.actb_display&&(this.actb_prevterm==this.actb_curr.value)){return}this.actb_prevterm=this.actb_curr.value;if(o==38||o==40||o==13){return}if(this.actb_display){var a=0;var r=0;for(var k=0;k<=this.actb_keywords.length;k++){if(this.actb_bool[k]){r++}if(r==this.actb_pos){a=k;break}}this.actb_pre=a}else{this.actb_pre=-1}if(!this.actb_curr.value.length&&(o!=-1)){this.actb_mouse_on_list=0;this.actb_removedisp()}var f,v;if(this.actb_delimiter.length>0){var s=this.actb_curr.value.length;var b="";for(var k=0;k<this.actb_delimiter.length;k++){b+=this.actb_delimiter[k]}b=b.addslashes();var n=new RegExp("(["+b+"])");r=0;this.actb_delimwords=[];this.actb_delimwords[0]="";for(var k=0,g=this.actb_curr.value.length;k<this.actb_curr.value.length;k++,g--){if(this.actb_curr.value.substr(k,g).search(n)==0){ma=this.actb_curr.value.substr(k,g).match(n);this.actb_delimchar[r]=ma[1];r++;this.actb_delimwords[r]=""}else{this.actb_delimwords[r]+=this.actb_curr.value.charAt(k)}}var d=0;this.actb_cdelimword=-1;for(k=0;k<this.actb_delimwords.length;k++){if((s>=d)&&(s<=d+this.actb_delimwords[k].length)){this.actb_cdelimword=k}d+=this.actb_delimwords[k].length+1}f=this.actb_delimwords[this.actb_cdelimword].trim();v=this.actb_delimwords[this.actb_cdelimword].addslashes().trim()}else{f=this.actb_curr.value;v=this.actb_curr.value.addslashes()}if(f.length==0&&(o!=-1)){this.actb_mouse_on_list=0;this.actb_removedisp()}else{if((f.length==1)||this.actb_fullRefresh||((f.length>1)&&!this.actb_keywords.length)||((f.length>1)&&(this.actb_keywords[0].substr(0,1).toLowerCase()!=f.substr(0,1).toLowerCase()))){var q=((f.length>1)&&!this.actb_fullRefresh)?f.substr(0,1):f;if(this.actb_suggesturl.length){var u=null;if(typeof XMLHttpRequest!="undefined"){try{u=new XMLHttpRequest()}catch(p){u=null}}else{try{u=new ActiveXObject("Msxml2.XMLHTTP")}catch(p){try{u=new ActiveXObject("Microsoft.XMLHTTP")}catch(p){u=null}}}if(u){if(u.overrideMimeType){u.overrideMimeType("text/xml")}u.open("GET",this.actb_suggesturl+q,true);var h=this;u.onreadystatechange=function(c){if(u.readyState==4){if((u.status==200)||(u.status==0)){var y=u.responseText;var t=y.indexOf("<listdata>");var l=(t==-1)?y.length:y.indexOf("</listdata",t+10);if(t==-1){t=0}else{t+=10}var x=y.substring(t,l);if(x){h.actb_keywords=x.split(h.ajax_delimiter);if(h.item_delimiter&&h.item_delimiter.length){var w=h.actb_keywords.length;for(var j=0;j<w;j++){var e=h.actb_keywords[j],A=e.indexOf(h.item_delimiter);if(A!=-1){var z=e.split(",");h.actb_keywords[j]=h.actb_keywords_init[j]=z[0];h.actb_values[j]=h.actb_values_init[j]=z[1]}else{h.actb_values[j]=h.actb_values_init[j]=""}}}h.done.call(h,q,v)}else{term=h.actb_curr.value;h.actb_mouse_on_list=0;h.actb_removedisp()}}}};u.send(null)}return}else{this.done(f,v)}}else{this.done(f,v)}}},done:function(f,d){if(f.length<this.actb_startcheck){return}var e=new RegExp(((!this.actb_firstText&&!this.actb_firstMatch)?"":"^")+d,"i");this.actb_total=0;this.actb_tomake=false;var g=this.actb_keywords.length;for(var c=0;c<g;c++){this.actb_bool[c]=false;if(e.test(this.actb_keywords[c])){this.actb_total++;this.actb_bool[c]=true;if(this.actb_pre==c){this.actb_tomake=true}}}if(!this.actb_curr.value.length){for(c=0;c<g;c++){this.actb_keywords[c]=this.actb_keywords_init[c];this.actb_values[c]=this.actb_values_init[c];this.actb_bool[c]=true}}else{if(!this.actb_firstText&&this.actb_firstMatch){var b=[],a=[];for(c=0;c<g;c++){if(this.actb_bool[c]){b[b.length]=this.actb_keywords[c];a[a.length]=this.actb_values[c]}}e=new RegExp(d,"i");for(c=0;c<g;c++){if(e.test(this.actb_keywords[c])&&!this.actb_bool[c]){this.actb_total++;this.actb_bool[c]=true;if(this.actb_pre==c){this.actb_tomake=true}b[b.length]=this.actb_keywords[c];a[a.length]=this.actb_values[c]}}for(c=0;c<g;c++){if(!this.actb_bool[c]){b[b.length]=this.actb_keywords[c];a[a.length]=this.actb_values[c]}}for(c=0;c<g;c++){this.actb_keywords[c]=b[c];this.actb_values[c]=a[c]}for(c=0;c<g;c++){this.actb_bool[c]=(c<this.actb_total)?true:false}}}if(this.actb_timeOut>0){this.actb_toid=setTimeout(function(){this.actb_mouse_on_list=0;this.actb_removedisp()},this.actb_timeOut)}this.actb_generate()}};function ASAddEvent(c,b,a){if(c.addEventListener&&!window.opera){c.addEventListener(b,a,true)}else{c["on"+b]=a}}function ASRemoveEvent(c,b,a){if(c.removeEventListener&&!window.opera){c.removeEventListener(b,a,true)}else{c["on"+b]=null}}function ASStopEvent(a){a=a||window.event;if(a){if(a.stopPropagation){a.stopPropagation()}if(a.preventDefault){a.preventDefault()}if(typeof a.cancelBubble!="undefined"){a.cancelBubble=true;a.returnValue=false}}return false}function ASGetTargetElement(a){a=a||window.event;return a.srcElement||a.target}function ASSetCaret(b,a){b.focus();if(b.setSelectionRange){b.setSelectionRange(a,a)}else{if(b.createTextRange){m=b.createTextRange();m.moveStart("character",a);m.collapse();m.select()}}}String.prototype.addslashes=function(){return this.replace(/(["\\\.\|\[\]\^\*\+\?\$\(\)])/g,"\\$1")};String.prototype.trim=function(){return this.replace(/^\s*(\S*(\s+\S+)*)\s*$/,"$1")};function AScurTop(a){var b=0;while(a){b+=a.offsetTop;a=a.offsetParent}return b}function ASCurLeft(a){var b=0;while(a){b+=a.offsetLeft;a=a.offsetParent}return b}function ASReplaceHTML(c,b){var a=c.childNodes[0];while(a){c.removeChild(a);a=c.childNodes[0]}c.appendChild(b)};
