function actb(objc,cac,id_array,id_obj,table_dir,do_function, is_restricted,title_autocomplete)
{	
    /* ---- Public Variables ---- */
    this.actb_timeOut = -1; // Autocomplete Timeout in ms (-1: autocomplete never time out)
    this.actb_lim = 10;     // Number of elements autocomplete can show (-1: no limit)
    this.actb_firstText = false; // should the auto complete be limited to the beginning of keyword?
    this.actb_mouse = true; // Enable Mouse Support
    this.actb_delimiter = new Array();  // Delimiter for multiple autocomplete. Set it to empty array for single autocomplete
    this.actb_startcheck = 0; // Show widget only after this number of characters is typed in.
	if(is_restricted == true)
		this.is_restricted = true;
	else
		this.is_restricted = false;
	
    var image = [];
    image[0] = new Image(), image[1] = new Image(),
    image[2] = new Image(), image[3] = new Image();

    image[0].src = "../includes-img/arrow-down.gif", image[1].src = "../includes-img/arrow-down-d.gif";
    image[2].src = "../includes-img/arrow-up.gif",   image[3].src = "../includes-img/arrow-up-d.gif";
    /* ---- Public Variables ---- */

    /* --- Styles --- */
    this.actb_arColor   = '#EEEEFF';  // background color for the "arrows"
    this.actb_bgColor = '#EEEEFF';
    this.actb_textColor = '#000055';
    this.actb_hColor = '#000055';
    this.actb_hTextColor = '#FFFFFF';
    this.actb_fFamily = 'Tahoma';
    this.actb_arrowSize = "7px";
    this.actb_fSize = '11px';
    this.actb_hStyle = 'text-decoration:underline;font-weight="bold";';
    /* --- Styles --- */

    /* ---- Private Variables ---- */
    var actb_delimwords = new Array();
    var actb_cdelimword = 0;
    var actb_delimchar = new Array();
    var actb_display = false;
    var actb_pos = 0;
    var actb_total = 0;
    var actb_curr = null;
    var actb_rangeu = 0;
    var actb_ranged = 0;
    var actb_bool = new Array();
    var actb_pre = 0;
    var actb_toid;
    var actb_tomake = false;
    var actb_getpre = "";
    var actb_mouse_on_list = 1;
    var actb_kwcount = 0;
    var actb_caretmove = false;
    this.actb_keywords = new Array();
    /* ---- Private Variables---- */
    this.actb_keywords = cac;
    this.title_autocomplete = title_autocomplete;
    var actb_self = this;

    actb_curr = objc;
    id_obj = id_obj;
    id_array = id_array;
    table_dir = table_dir;
    addEventComplete(actb_curr,"focus",actb_setup);
    old_enter_used_for = enter_used_for;
    function actb_setup(){
        addEventComplete(document,"keydown",actb_checkkey);
        addEventComplete(actb_curr,"blur",actb_clear);
        addEventComplete(document,"keypress",actb_keypress);
    }

    function actb_clear(evt){
        if (!evt) evt = event;
        removeEventComplete(document,"keydown",actb_checkkey);
        removeEventComplete(actb_curr,"blur",actb_clear);
        removeEventComplete(document,"keypress",actb_keypress);
        actb_removedisp();
    }
    function actb_parse(n){
        if (actb_self.actb_delimiter.length > 0){
            var t = actb_delimwords[actb_cdelimword].trim().addslashes();
            var plen = actb_delimwords[actb_cdelimword].trim().length;
        }else{
            var t = actb_curr.value.addslashes();
            var plen = actb_curr.value.length;
        }
        var tobuild = '';
        var i;

        if (actb_self.actb_firstText){
            var re = new RegExp("^" + t, "i");
        }else{
            var re = new RegExp(t, "i");
        }
        var p = n.search(re);

        for (i=0;i<p;i++){
            tobuild += n.substr(i,1);
        }
        tobuild += "<font style='"+(actb_self.actb_hStyle)+"'>"
        for (i=p;i<plen+p;i++){
            tobuild += n.substr(i,1);
        }
        tobuild += "</font>";
            for (i=plen+p;i<n.length;i++){
            tobuild += n.substr(i,1);
        }
        return tobuild;
    }
    function actb_generate(){
        enter_used_for = "tab";
        if (document.getElementById('tat_table'))
        {
            actb_display = false;document.body.removeChild(document.getElementById('tat_table'));
        }
        if (actb_kwcount == 0)
		{
			if(actb_self.is_restricted)
			{
				for(xyz = 0; xyz < id_obj.length; xyz++)
	            {
					document.getElementById(id_obj[xyz]).value = '';
	            }
			}
			
            view_special_tags(document);
            actb_display = false;
            return;
        }
        a = document.createElement('table');
        a.dir=table_dir;
        a.cellSpacing='1px';
        a.cellPadding='2px';
        a.style.position='absolute';
        a.style.width=actb_curr.offsetWidth;
        a.style.top = eval(currTopComplete(actb_curr) + actb_curr.offsetHeight) + "px";
        a.style.left = curLeftComplete(actb_curr) + "px";
        a.style.backgroundColor=actb_self.actb_bgColor;

        a.id = 'tat_table';
        document.body.appendChild(a);

        var tags = new Array("applet", "iframe", "object", "select");
        var el = a;

        var i;
        var first = true;
        var j = 1;
        if (actb_self.actb_mouse){
            a.onmouseout = actb_table_unfocus;
            a.onmouseover = actb_table_focus;
        }
        var counter = 0;

        for (i=0;i<actb_self.actb_keywords.length;i++){
            if( (actb_self.actb_keywords.length > actb_self.actb_lim) && !i)
            {
                //(actb_self.actb_keywords.length > actb_self.actb_lim) &&
                //(actb_total > actb_self.actb_lim) &&
                var r = a.insertRow(-1);
                r.style.backgroundColor = actb_self.actb_arColor;

                var c = r.insertCell(-1);
                c.style.color = actb_self.actb_textColor;
                c.style.fontFamily = 'arial narrow';
                c.style.fontSize = actb_self.actb_arrowSize;
                c.style.cursor = 'default';
                c.align = 'center';
                replaceHTML(c, image[3]);
                c.onclick = actb_mouse_up;
            }
            if (actb_bool[i] && (counter < actb_self.actb_lim)){
                counter++;
                r = a.insertRow(-1);
                if (first && !actb_tomake){
                    r.style.backgroundColor = actb_self.actb_hColor;
                    r.style.color = actb_self.actb_hTextColor;
                    first = false;
                    actb_pos = counter;
                }else if(actb_pre == i){
                    r.style.backgroundColor = actb_self.actb_hColor;
                    r.style.color = actb_self.actb_hTextColor;
                    first = false;
                    actb_pos = counter;
                }else{
                    r.style.backgroundColor = actb_self.actb_Color;
                    r.style.color = actb_self.actb_textColor;
                }
                r.id = 'tat_tr'+(j);
                c = r.insertCell(-1);

                c.style.fontFamily = actb_self.actb_fFamily;
                c.style.fontSize = actb_self.actb_fSize;
                c.innerHTML = actb_parse(actb_self.actb_keywords[i]);
                c.id = 'tat_td'+(j);
				if(title_autocomplete != undefined)
					if(title_autocomplete.length !=0)
						c.title = title_autocomplete[i];
                c.setAttribute('pos',j);
                if (actb_self.actb_mouse){
                    c.style.cursor = 'pointer';
                    c.onclick=actb_mouseclick;
                    c.onmouseover = actb_table_highlight
                }
                j++;
            }
        }
        if(actb_total > actb_self.actb_lim){
            //if (j - 1 == actb_self.actb_lim && j < actb_total){
                r = a.insertRow(-1);
                r.style.backgroundColor = actb_self.actb_arColor;
                c = r.insertCell(-1);
                c.style.color = actb_self.actb_textColor;
                c.style.fontFamily = 'arial narrow';
                c.style.fontSize = actb_self.actb_arrowSize;
                c.align='center';
                //if(j - 1 == actb_self.actb_lim && j < actb_total)
                    replaceHTML(c,image[0]);
                //else
                 //   replaceHTML(c,image[1]);
                c.style.cursor = 'pointer';
                c.onclick = actb_mouse_down;

                //break;
            }
        //}

        var p = getAbsolutePos(a);
        var EY1 = parseInt(a.style.top);

        var EY2 = EY1 + a.offsetHeight;
        var EX1 = parseInt(a.style.left);
        var EX2 = EX1 + parseInt(a.style.width);

        for (var k = tags.length; k > 0; )
        {
            var ar = document.getElementsByTagName(tags[--k]);
            var cc = null;

            for (var i = ar.length; i > 0;)
            {
                cc = ar[--i];

                p = getAbsolutePos(cc);
                var CX1 = p.x;

                var CX2 = cc.offsetWidth + CX1;
                var CY1 = p.y;
                var CY2 = cc.offsetHeight + CY1;

                if (false || (CX1 > EX2) || (CX2 < EX1) || (CY1 > EY2) || (CY2 < EY1))
                {
                    if (!cc.__msh_save_visibility)
                    {
                        cc.__msh_save_visibility = getVisib(cc);
                    }
                    cc.style.visibility = cc.__msh_save_visibility;
                }
                else
                {
                    if (!cc.__msh_save_visibility)
                    {
                        cc.__msh_save_visibility = getVisib(cc);
                    }
                    cc.style.visibility = "hidden";
                }
            }
        }

        actb_rangeu = 1;
        actb_ranged = j-1;
        actb_display = true;
        if (actb_pos <= 0) actb_pos = 1;
    }
    function actb_remake(){
        document.body.removeChild(document.getElementById('tat_table'));
        a = document.createElement('table');
        a.dir=table_dir;
        a.cellSpacing='1px';
        a.cellPadding='2px';
        a.style.position='absolute';
        a.style.width=actb_curr.offsetWidth;
        a.style.top = eval(currTopComplete(actb_curr) + actb_curr.offsetHeight) + "px";
        a.style.left = curLeftComplete(actb_curr) + "px";
        a.style.backgroundColor=actb_self.actb_bgColor;

        a.id = 'tat_table';
        if (actb_self.actb_mouse){
            a.onmouseout= actb_table_unfocus;
            a.onmouseover=actb_table_focus;
        }
        document.body.appendChild(a);
        var i;
        var first = true;
        var j = 1;
        if(actb_total > actb_self.actb_lim)
        {
            r = a.insertRow(-1);
            r.style.backgroundColor = actb_self.actb_arColor;
            c = r.insertCell(-1);
            c.style.color = actb_self.actb_textColor;
            c.style.fontFamily = 'arial narrow';
            c.style.fontSize = actb_self.actb_arrowSize;
            c.align='center';
            replaceHTML(c,(actb_rangeu > 1) ? image[2] : image[3]);

            if(actb_rangeu > 1)
            {
                c.style.cursor = 'pointer';
                c.onclick = actb_mouse_up;
            }
            else
            {
                c.style.cursor = 'default';
            }
        }
        for (i=0;i<actb_self.actb_keywords.length;i++){
            if (actb_bool[i]){
                if (j >= actb_rangeu && j <= actb_ranged){
                    r = a.insertRow(-1);
                    r.style.backgroundColor = actb_self.actb_bgColor;
                    r.id = 'tat_tr'+(j);
                    c = r.insertCell(-1);
                    c.style.color = actb_self.actb_textColor;
                    c.style.fontFamily = actb_self.actb_fFamily;
                    c.style.fontSize = actb_self.actb_fSize;
                    c.innerHTML = actb_parse(actb_self.actb_keywords[i]);
                    c.id = 'tat_td'+(j);
                    c.setAttribute('pos',j);

                    if (actb_self.actb_mouse){
                        c.style.cursor = 'pointer';
                        c.onclick=actb_mouseclick;
                        c.onmouseover = actb_table_highlight;
                    }
                    j++;
                }else{
                    j++;
                }
            }
            if (j > actb_ranged) break;
        }
        if (actb_self.actb_keywords.length > actb_self.actb_lim){
            r = a.insertRow(-1);
            r.style.backgroundColor = actb_self.actb_arColor;
            c = r.insertCell(-1);
            c.style.color = actb_self.actb_textColor;
            c.style.fontFamily = 'arial narrow';
            c.style.fontSize = actb_self.actb_arrowSize;
            c.align='center';
            replaceHTML(c,(j-1 < actb_total) ? image[0] : image[1]);
            if(j-1 < actb_total)
            {
                c.style.cursor = 'pointer';
                c.onclick = actb_mouse_down;
            }
            else
            {
                c.style.cursor = 'default';
            }
        }

        if(actb_self.actb_keywords.length == 0)
        {
            view_special_tags(a)
        }
        else
        {
            //alert(actb_self.actb_keywords.length);
        }
    }
    function actb_goup(){
        if (!actb_display) return;
        if (actb_pos == 1) return;
        document.getElementById('tat_tr'+actb_pos).style.backgroundColor = actb_self.actb_bgColor;
        document.getElementById('tat_td'+actb_pos).style.color = actb_self.actb_textColor;
        actb_pos--;
        if (actb_pos < actb_rangeu) actb_moveup();
        document.getElementById('tat_tr'+actb_pos).style.backgroundColor = actb_self.actb_hColor;
        document.getElementById('tat_td'+actb_pos).style.color = actb_self.actb_hTextColor;
        if (actb_toid) clearTimeout(actb_toid);
        if (actb_self.actb_timeOut > 0) actb_toid = setTimeout(function(){actb_mouse_on_list=0;actb_removedisp();},actb_self.actb_timeOut);
    }
    function actb_godown(){
        if (!actb_display) return;
        if (actb_pos == actb_total) return;
        document.getElementById('tat_tr'+actb_pos).style.backgroundColor = actb_self.actb_bgColor;
        document.getElementById('tat_td'+actb_pos).style.color = actb_self.actb_textColor;
        actb_pos++;
        if (actb_pos > actb_ranged) actb_movedown();
        document.getElementById('tat_tr'+actb_pos).style.backgroundColor = actb_self.actb_hColor;
        document.getElementById('tat_td'+actb_pos).style.color = actb_self.actb_hTextColor;
        if (actb_toid) clearTimeout(actb_toid);
        if (actb_self.actb_timeOut > 0) actb_toid = setTimeout(function(){actb_mouse_on_list=0;actb_removedisp();},actb_self.actb_timeOut);
    }
    function actb_movedown(){
        actb_rangeu++;
        actb_ranged++;
        actb_remake();
    }
    function actb_moveup(){
        actb_rangeu--;
        actb_ranged--;
        actb_remake();
    }

    /* Mouse */
    function actb_mouse_down(){
        document.getElementById('tat_tr'+actb_pos).style.backgroundColor = actb_self.actb_bgColor;
        document.getElementById('tat_td'+actb_pos).style.color = actb_self.actb_textColor;
        actb_pos++;
        actb_movedown();
        document.getElementById('tat_tr'+actb_pos).style.backgroundColor = actb_self.actb_hColor;
        document.getElementById('tat_td'+actb_pos).style.color = actb_self.actb_hTextColor;
        actb_curr.focus();
        actb_mouse_on_list = 0;
        if (actb_toid) clearTimeout(actb_toid);
        if (actb_self.actb_timeOut > 0) actb_toid = setTimeout(function(){actb_mouse_on_list=0;actb_removedisp();},actb_self.actb_timeOut);
    }
    function actb_mouse_up(evt){
        if (!evt) evt = event;
        if (evt.stopPropagation){
            evt.stopPropagation();
        }else{
            evt.cancelBubble = true;
        }
        document.getElementById('tat_tr'+actb_pos).style.backgroundColor = actb_self.actb_bgColor;
        document.getElementById('tat_td'+actb_pos).style.color = actb_self.actb_textColor;
        actb_pos--;
        actb_moveup();
        document.getElementById('tat_tr'+actb_pos).style.backgroundColor = actb_self.actb_hColor;
        document.getElementById('tat_td'+actb_pos).style.color = actb_self.actb_hTextColor;
        actb_curr.focus();
        actb_mouse_on_list = 0;
        if (actb_toid) clearTimeout(actb_toid);
        if (actb_self.actb_timeOut > 0) actb_toid = setTimeout(function(){actb_mouse_on_list=0;actb_removedisp();},actb_self.actb_timeOut);
    }
    function actb_mouseclick(evt){
        if (!evt) evt = event;
        if (!actb_display) return;
        actb_mouse_on_list = 0;
        actb_pos = this.getAttribute('pos');
        actb_penter();
    }
    function actb_table_focus(){
        actb_mouse_on_list = 1;
    }
    function actb_table_unfocus(){
        actb_mouse_on_list = 0;
        if (actb_toid)
        {
            clearTimeout(actb_toid);
            actb_toid = 0;
        }
        if (actb_self.actb_timeOut > 0) actb_toid = setTimeout(function(){actb_mouse_on_list = 0;actb_removedisp();},actb_self.actb_timeOut);
    }
    function actb_table_highlight(){

        actb_mouse_on_list = 1;
        var row = document.getElementById('tat_tr' + actb_pos);
        if(row && row.style)
        {
            row.style.backgroundColor = actb_self.actb_bgColor;
            document.getElementById('tat_td' + actb_pos).style.color = actb_self.actb_textColor;
        }

        actb_pos = this.getAttribute('pos');

        while (actb_pos < actb_rangeu) actb_moveup();
        while (actb_pos > actb_ranged) actb_movedown();

        row = document.getElementById('tat_tr' + actb_pos);
        if(row && row.style)
        {
            row.style.backgroundColor = actb_self.actb_hColor;
            document.getElementById('tat_td' + actb_pos).style.color = actb_self.actb_hTextColor;
        }
        if (actb_toid) clearTimeout(actb_toid);
        if (actb_self.actb_timeOut > 0) actb_toid = setTimeout(function(){actb_mouse_on_list = 0;actb_removedisp();},actb_self.actb_timeOut);

    }
    /* ---- */

    function actb_insertword(a,a_index){
        if (actb_self.actb_delimiter.length > 0){
            str = '';
            l=0;
            for (i=0;i<actb_delimwords.length;i++){
                if (actb_cdelimword == i){
                    prespace = postspace = '';
                    gotbreak = false;
                    for (j=0;j<actb_delimwords[i].length;++j){
                        if (actb_delimwords[i].charAt(j) != ' '){
                            gotbreak = true;
                            break;
                        }
                        prespace += ' ';
                    }
                    for (j=actb_delimwords[i].length-1;j>=0;--j){
                        if (actb_delimwords[i].charAt(j) != ' ') break;
                        postspace += ' ';
                    }
                    str += prespace;
                    str += a;
                    l = str.length;
                    if (gotbreak) str += postspace;
                }else{
                    str += actb_delimwords[i];
                }
                if (i != actb_delimwords.length - 1){
                    str += actb_delimchar[i];
                }
            }
            actb_curr.value = str;
            setCaret(actb_curr,l);
            actb_curr.focus();
        }
        else
        {
        //  actb_curr.value = a;
            for(xyz = 0; xyz < id_obj.length; xyz++)
            {	                
				if(typeof(id_obj[xyz]) == 'object')
				{
	                id_obj[xyz].value = id_array[a_index][xyz];
				}	
				else	
				{//alert(document.getElementById(id_obj[xyz]).value);
					document.getElementById(id_obj[xyz]).value = id_array[a_index][xyz].replace(/\&quot;/g,'"');
				}	
				 if(title_autocomplete != undefined)
					objc.title = title_autocomplete[a_index];
            }
            if (do_function != null)
            {
                if(do_function.indexOf('%') > -1)
                {
                    after_percent = do_function.substr(do_function.indexOf('%')+1);
                    param_num = parseInt(after_percent);
                    param_val = id_array[a_index][param_num-1];
                    do_function = do_function.replace(/(%)/g, "id_array[a_index]");
                }
                eval(do_function);
            }
            actb_curr.focus();
        }
        actb_mouse_on_list = 0;
        actb_removedisp();
    }
    function actb_penter(){
        if (!actb_display) return;
        actb_display = false;
        var word = '';
        var c = 0;
        for (var i=0;i<=actb_self.actb_keywords.length;i++){
            if (actb_bool[i]) c++;
            if (c == actb_pos){
                word = actb_self.actb_keywords[i];
                break;
            }
        }
        actb_insertword(word,i);
        l = getCaretStart(actb_curr);
    }
    function actb_removedisp(){
        enter_used_for = old_enter_used_for;
        if (actb_mouse_on_list==0){
            actb_display = 0;
            el = document.getElementById('tat_table');
            if(!el)
            {
                actb_checkkey
                return;
            }

            view_special_tags(el);
            if (document.getElementById('tat_table')){ document.body.removeChild(document.getElementById('tat_table')); }
            if (actb_toid) clearTimeout(actb_toid);
        }
        enter_used_for = old_enter_used_for;
    }
    function view_special_tags(el)
    {
        var tags = new Array("applet", "iframe", "select", "object");
        var p = getAbsolutePos(el);
        var EX1 = p.x;
        var EX2 = el.offsetWidth + EX1;
        var EY1 = p.y;
        var EY2 = el.offsetHeight + EY1;
        for (var k = tags.length; k > 0; )
        {
            var ar = document.getElementsByTagName(tags[--k]);
            var cc = null;

            for (var i = ar.length; i > 0;)
            {
                cc = ar[--i];

                p = getAbsolutePos(cc);
                var CX1 = p.x;
                var CX2 = cc.offsetWidth + CX1;
                var CY1 = p.y;
                var CY2 = cc.offsetHeight + CY1;

                if (true || (CX1 > EX2) || (CX2 < EX1) || (CY1 > EY2) || (CY2 < EY1))
                {
                    if (!cc.__msh_save_visibility)
                    {
                        cc.__msh_save_visibility = getVisib(cc);
                    }
                    cc.style.visibility = cc.__msh_save_visibility;
                }
                else
                {
                    if (!cc.__msh_save_visibility)
                    {
                        cc.__msh_save_visibility = getVisib(cc);
                    }
                    cc.style.visibility = "hidden";
                }
            }
        }
    }
    function actb_keypress(e){

        if (actb_caretmove) stopEventComplete(e);
        return !actb_caretmove;
    }
    function actb_checkkey(evt){

		for(xyz = 1; xyz < id_obj.length; xyz++)
		{
			document.getElementById(id_obj[xyz]).value = '';
		}
        if (!evt) evt = event;
        a = evt.keyCode;
		//alert(actb_curr.id);
        caret_pos_start = getCaretStart(actb_curr);
        actb_caretmove = 0;
        switch (a){
            case 38:
                actb_goup();
                actb_caretmove = 1;
                return false;
                break;
            case 40:
                actb_godown();
                actb_caretmove = 1;
                return false;
                break;
            case 13: case 9:
                if (actb_display){
                    actb_caretmove = 1;
                    actb_penter();
                    return false;
                }else{
                    return true;
                }
                break;
            default:
                setTimeout(function(){actb_tocomplete(a)},50);
                break;
        }
    }

    function actb_tocomplete(kc){
        if (kc == 38 || kc == 40 || kc == 13) return;
        var i;
        if (actb_display){
            var word = 0;
            var c = 0;
            for (var i=0;i<=actb_self.actb_keywords.length;i++){
                if (actb_bool[i]) c++;
                if (c == actb_pos){
                    word = i;
                    break;
                }
            }
            actb_pre = word;
        }else{ actb_pre = -1};

        if (actb_curr.value == ''){
            actb_mouse_on_list = 0;
            actb_removedisp();
            return;
        }
        if (actb_self.actb_delimiter.length > 0){
            caret_pos_start = getCaretStart(actb_curr);
            caret_pos_end = getCaretEnd(actb_curr);

            delim_split = '';
            for (i=0;i<actb_self.actb_delimiter.length;i++){
                delim_split += actb_self.actb_delimiter[i];
            }
            delim_split = delim_split.addslashes();
            delim_split_rx = new RegExp("(["+delim_split+"])");
            c = 0;
            actb_delimwords = new Array();
            actb_delimwords[0] = '';
            for (i=0,j=actb_curr.value.length;i<actb_curr.value.length;i++,j--){
                if (actb_curr.value.substr(i,j).search(delim_split_rx) == 0){
                    ma = actb_curr.value.substr(i,j).match(delim_split_rx);
                    actb_delimchar[c] = ma[1];
                    c++;
                    actb_delimwords[c] = '';
                }else{
                    actb_delimwords[c] += actb_curr.value.charAt(i);
                }
            }

            var l = 0;
            actb_cdelimword = -1;
            for (i=0;i<actb_delimwords.length;i++){
                if (caret_pos_end >= l && caret_pos_end <= l + actb_delimwords[i].length){
                    actb_cdelimword = i;
                }
                l+=actb_delimwords[i].length + 1;
            }
            var ot = actb_delimwords[actb_cdelimword].trim();
            var t = actb_delimwords[actb_cdelimword].addslashes().trim();
        }else{
            var ot = actb_curr.value;
            var t = actb_curr.value.addslashes();
        }
        if (ot.length == 0){
            actb_mouse_on_list = 0;
            actb_removedisp();
        }
        if (ot.length < actb_self.actb_startcheck) return this;
        if (actb_self.actb_firstText){
            var re = new RegExp("^" + t, "i");
        }else{
            var re = new RegExp(t, "i");
        }

        actb_total = 0;
        actb_tomake = false;
        actb_kwcount = 0;
        for (i=0;i<actb_self.actb_keywords.length;i++){
            actb_bool[i] = false;
            if (re.test(actb_self.actb_keywords[i])){
                actb_total++;
                actb_bool[i] = true;
                actb_kwcount++;
                if (actb_pre == i) actb_tomake = true;
            }
        }

        if (actb_toid) clearTimeout(actb_toid);
        if (actb_self.actb_timeOut > 0) actb_toid = setTimeout(function(){actb_mouse_on_list = 0;actb_removedisp();},actb_self.actb_timeOut);
        actb_generate();
    }
    return this;
}
