/* Event Functions */

// Add an event to the obj given
// event_name refers to the event trigger, without the "on", like click or mouseover
// func_name refers to the function callback when event is triggered
function addEvent2(obj,event_name,func_name){
	if (obj.attachEvent){
		obj.attachEvent("on"+event_name, func_name);
	}else if(obj.addEventListener){
		obj.addEventListener(event_name,func_name,true);
	}else{
		obj["on"+event_name] = func_name;
	}
}

// Removes an event from the object
function removeEvent2(obj,event_name,func_name){
	if (obj.detachEvent){
		obj.detachEvent("on"+event_name,func_name);
	}else if(obj.removeEventListener){
		obj.removeEventListener(event_name,func_name,true);
	}else{
		obj["on"+event_name] = null;
	}
}

// Stop an event from bubbling up the event DOM
function stopEvent2(evt){
	evt || window.event;
	if (evt.stopPropagation){
		evt.stopPropagation();
		evt.preventDefault();
	}else if(typeof evt.cancelBubble != "undefined"){
		evt.cancelBubble = true;
		evt.returnValue = false;
	}
	return false;
}

// Get the obj that starts the event
function getElement2(evt){
	if (window.event){
		return window.event.srcElement;
	}else{
		return evt.currentTarget;
	}
}
// Get the obj that triggers off the event
function getTargetElement2(evt){
	if (window.event){
		return window.event.srcElement;
	}else{
		return evt.target;
	}
}
// For IE only, stops the obj from being selected
function stopSelect2(obj){
	if (typeof obj.onselectstart != 'undefined'){
		addEvent2(obj,"selectstart",function(){ return false;});
	}
}

/*    Caret Functions     */

// Get the end position of the caret in the object. Note that the obj needs to be in focus first
function getCaretEnd2(obj){
	if(typeof obj.selectionEnd != "undefined"){
		return obj.selectionEnd;
	}else if(document.selection&&document.selection.createRange){
		var M=document.selection.createRange();
		try{
			var Lp = M.duplicate();
			Lp.moveToElementText(obj);
		}catch(e){
			var Lp=obj.createTextRange();
		}
		Lp.setEndPoint("EndToEnd",M);
		var rb=Lp.text.length;
		if(rb>obj.value.length){
			return -1;
		}
		return rb;
	}
}
// Get the start position of the caret in the object
function getCaretStart2(obj){
	if(typeof obj.selectionStart != "undefined"){
		return obj.selectionStart;
	}else if(document.selection&&document.selection.createRange){
		var M=document.selection.createRange();
		try{
			var Lp = M.duplicate();
			Lp.moveToElementText(obj);
		}catch(e){
			var Lp=obj.createTextRange();
		}
		Lp.setEndPoint("EndToStart",M);
		var rb=Lp.text.length;
		if(rb>obj.value.length){
			return -1;
		}
		return rb;
	}
}
// sets the caret position to l in the object
function setCaret2(obj,l){
	obj.focus();
	if (obj.setSelectionRange){
		obj.setSelectionRange(l,l);
	}else if(obj.createTextRange){
		m = obj.createTextRange();		
		m.moveStart('character',l);
		m.collapse();
		m.select();
	}
}
// sets the caret selection from s to e in the object
function setSelection2(obj,s,e){
	obj.focus();
	if (obj.setSelectionRange){
		obj.setSelectionRange(s,e);
	}else if(obj.createTextRange){
		m = obj.createTextRange();		
		m.moveStart('character',s);
		m.moveEnd('character',e);
		m.select();
	}
}

/*    Escape function   */
String.prototype.addslashes = function(){
	return this.replace(/(["\\\.\|\[\]\^\*\+\?\$\(\)])/g, '\\$1');
}
String.prototype.trim = function () {
    return this.replace(/^\s*(\S*(\s+\S+)*)\s*$/, "$1");
};
/* --- Escape --- */

/* Offset position from top of the screen */
function curTop2(obj){
	toreturn = 0;
	while(obj){
		toreturn += obj.offsetTop;
		obj = obj.offsetParent;
	}
	
	return toreturn;
}
function curLeft2(obj){
	toreturn = 0;
	while(obj){
		toreturn += obj.offsetLeft;
		obj = obj.offsetParent;
	}
	return toreturn;
}
/* ------ End of Offset function ------- */

/* Types Function */

// is a given input a number?
function isNumber2(a) {
    return typeof a == 'number' && isFinite(a);
}

/* Object Functions */

function replaceHTML2(obj,text){
	while(el = obj.childNodes[0]){
		obj.removeChild(el);
	};
	obj.appendChild(document.createTextNode(text));
}
function actb2(obj,ca,cssName,width){

	/* ---- Public Variables ---- */
	this.actb_timeOut2 = -1; // Autocomplete Timeout in ms (-1: autocomplete never time out)
	this.actb_lim2 = 7;    // Number of elements autocomplete can show (-1: no limit)
	this.actb_firstText2 = false; // should the auto complete be limited to the beginning of keyword?
	this.actb_mouse2 = true; // Enable Mouse Support
	this.actb_delimiter2 = new Array(';',',');  // Delimiter for multiple autocomplete. Set it to empty array for single autocomplete
	this.actb_startcheck2 = 1; // Show widget only after this number of characters is typed in.
	/* ---- Public Variables ---- */

	/* --- Styles --- */
	this.actb_bgColor2 = '#ffffff';
	this.actb_textColor2 = '#F64F01';
	this.actb_hColor2 = '#dee7f8';
	this.actb_fFamily2 = 'Arial';
	this.actb_fSize2 = '9pt';
	this.actb_tblWidth2 = width;
	this.actb_hStyle2 = 'FONT-SIZE:12px; FONT-WEIGHT:normal; FONT-FAMILY:Arial,David; TEXT-DECORATION:none;';
	/* --- Styles --- */

	/* ---- Private Variables ---- */
	var actb_delimwords2 = new Array();
	var actb_cdelimword2 = 0;
	var actb_delimchar2 = new Array();
	var actb_display2 = false;
	var actb_pos2 = 0;
	var actb_total2 = 0;
	var actb_curr2 = null;
	var actb_rangeu2 = 0;
	var actb_ranged2 = 0;
	var actb_bool2 = new Array();
	var actb_pre2 = 0;
	var actb_toid2;
	var actb_tomake2 = false;
	var actb_getpre2 = "";
	var actb_mouse2_on_list2 = 1;
	var actb_kwcount2 = 0;
	var actb_caretmove2 = false;
	this.actb_keywords2 = new Array();
	/* ---- Private Variables---- */
	
	this.actb_keywords2 = ca;
	var actb_self2 = this;

	actb_curr2 = obj;
	
	addEvent2(actb_curr2,"focus",actb_setup);
	function actb_setup(){
		addEvent2(document,"keydown",actb_checkkey2);
		addEvent2(actb_curr2,"blur",actb_clear2);
		addEvent2(document,"keypress",actb_keypress2);
	}

	function actb_clear2(evt){
		if (!evt) evt = event;
		removeEvent2(document,"keydown",actb_checkkey2);
		removeEvent2(actb_curr2,"blur",actb_clear2);
		removeEvent2(document,"keypress",actb_keypress2);
		actb_removedisp2();
	}
	function actb_parse2(n){
		if (actb_self2.actb_delimiter2.length > 0){
			var t = actb_delimwords2[actb_cdelimword2].trim().addslashes();
			var plen = actb_delimwords2[actb_cdelimword2].trim().length;
		}else{
			var t = actb_curr2.value.addslashes();
			var plen = actb_curr2.value.length;
		}
		var tobuild = '';
		var i;

		if (actb_self2.actb_firstText2){
			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_self2.actb_hStyle2)+"'>"
		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_generate3(){
		
		if (document.getElementById('tat_table2')){ actb_display2 = false;document.getElementById('AutoCompleteConteinerSecondary').removeChild(document.getElementById('tat_table2')); } 
		
		if(typeof(ShowForAutoCompleteCVsPanel) == 'function')
			ShowForAutoCompleteCVsPanel();
			
		if (actb_kwcount2 == 0){
			actb_display2 = false;
			return;
		}
		
		a = document.createElement('table');
		a.cellSpacing='1px';
		a.cellPadding='2px';	 
		a.className="autoComplete";
		a.style.backgroundColor=actb_self2.actb_bgColor2;
		a.style.border='1px solid #d2d2d2';
		a.style.width = actb_self2.actb_tblWidth2;
		//a.style.bordercolor="red"
		a.style.direction="rtl"
		//a.style.position='absolute';
		//a.style.top = eval(curTop2(obj2) + actb_curr2.offsetHeight) + "px";
		//a.style.top =  eval(curTop2(actb_curr2) + actb_curr2.offsetHeight) + "px";
		//a.style.top = eval(curTop2(actb_curr2) + obj2.offsetHeight) + "px";
		//alert(actb_curr2.offsetHeight)
		//alert(curTop2(obj2) + actb_curr2.offsetHeight)
		//a.style.left = curLeft2(actb_curr2) + "px";		
		a.id = 'tat_table2';
		//document.body.appendChild(a);
		document.getElementById('AutoCompleteConteinerSecondary').appendChild(a);
		
		if(typeof(HideForAutoCompleteCVsPanel) == 'function')
			HideForAutoCompleteCVsPanel();
			
		var i;
		var first = true;
		var j = 1;
		if (actb_self2.actb_mouse2){
			a.onmouseout = actb_table_unfocus2;
			a.onmouseover = actb_table_focus2;
		}
		var counter = 0;
		for (i=0;i<actb_self2.actb_keywords2.length;i++){
			if (actb_bool2[i]){
				counter++;
				r = a.insertRow(-1);
				if (first && !actb_tomake2){
					r.style.backgroundColor = actb_self2.actb_hColor2;
					first = false;
					actb_pos2 = counter;
				}else if(actb_pre2 == i){
					r.style.backgroundColor = actb_self2.actb_hColor2;
					first = false;
					actb_pos2 = counter;
				}else{
					r.style.backgroundColor = actb_self2.actb_bgColor2;
				}
				r.id = 'tat_tr2'+(j);
				c = r.insertCell(-1);
				c.style.color = actb_self2.actb_textColor2;
				c.style.fontFamily = actb_self2.actb_fFamily2;
				c.style.fontSize = actb_self2.actb_fSize2;
				c.innerHTML = actb_parse2(actb_self2.actb_keywords2[i]);
				 			
				
				c.id = 'tat_td2'+(j);
				c.setAttribute('pos',j);
				if (actb_self2.actb_mouse2){
					c.style.cursor = 'pointer';
					c.onclick=actb_mouse2click;
					c.onmouseover = actb_table_highlight2;
				}
				j++;
			}
			if (j - 1 == actb_self2.actb_lim2 && j < actb_total2){
				r = a.insertRow(-1);
				r.style.backgroundColor = actb_self2.actb_bgColor2;
				c = r.insertCell(-1);
				c.style.color = actb_self2.actb_textColor2;
				c.style.fontFamily = 'arial narrow';
				c.style.fontSize = actb_self2.actb_fSize2;
				c.align='center';
				replaceHTML2(c,'המשך...');
				if (actb_self2.actb_mouse2){
					c.style.cursor = 'pointer';
					c.onclick = actb_mouse2_down;
				}
				break;
			}
		}
		actb_rangeu2 = 1;
		actb_ranged2 = j-1;
		actb_display2 = true;
		if (actb_pos2 <= 0) actb_pos2 = 1;
	}
	function actb_remake2(){
		
		document.getElementById('AutoCompleteConteinerSecondary').removeChild(document.getElementById('tat_table2'))
		
		if(typeof(ShowForAutoCompleteCVsPanel) == 'function')
			ShowForAutoCompleteCVsPanel();
			
		a = document.createElement('table');
		a.style.backgroundColor = actb_self2.actb_bgColor2;
		a.style.width = actb_self2.actb_tblWidth2;
		a.cellSpacing = '1px';
		a.cellPadding = '2px';	 
		a.style.border = '1px solid #d2d2d2';
		a.style.direction = "rtl";
		a.id = 'tat_table2';
		
		if (actb_self2.actb_mouse2){
			a.onmouseout= actb_table_unfocus2;
			a.onmouseover=actb_table_focus2;
		}
		//document.body.appendChild(a);
		document.getElementById('AutoCompleteConteinerSecondary').appendChild(a)
		var i;
		var first = true;
		var j = 1;
		if (actb_rangeu2 > 1){
			r = a.insertRow(-1);
			r.style.backgroundColor = actb_self2.actb_bgColor2;
			c = r.insertCell(-1);
			c.style.color = actb_self2.actb_textColor2;
			c.style.fontFamily = 'arial narrow';
			c.style.fontSize = actb_self2.actb_fSize2;
			c.align='center';
			replaceHTML2(c,'חזור...');
			if (actb_self2.actb_mouse2){
				c.style.cursor = 'pointer';
				c.onclick = actb_mouse2_up;
			}
		}
		for (i=0;i<actb_self2.actb_keywords2.length;i++){
			if (actb_bool2[i]){
				if (j >= actb_rangeu2 && j <= actb_ranged2){
					r = a.insertRow(-1);
					r.style.backgroundColor = actb_self2.actb_bgColor2;
					r.id = 'tat_tr2'+(j);
					c = r.insertCell(-1);
					c.style.color = actb_self2.actb_textColor2;
					c.style.fontFamily = actb_self2.actb_fFamily2;
					c.style.fontSize = actb_self2.actb_fSize2;
					c.innerHTML = actb_parse2(actb_self2.actb_keywords2[i]);
					
					c.id = 'tat_td2'+(j);
					c.setAttribute('pos',j);
					if (actb_self2.actb_mouse2){
						c.style.cursor = 'pointer';
						c.onclick=actb_mouse2click;
						c.onmouseover = actb_table_highlight2;
					}
					j++;
				}else{
					j++;
				}
			}
			if (j > actb_ranged2) break;
		}
		if (j-1 < actb_total2){
			r = a.insertRow(-1);
			r.style.backgroundColor = actb_self2.actb_bgColor2;
			c = r.insertCell(-1);
			c.style.color = actb_self2.actb_textColor2;
			c.style.fontFamily = 'arial narrow';
			c.style.fontSize = actb_self2.actb_fSize2;
			c.align='center';
			replaceHTML(c,'המשך...');
			if (actb_self2.actb_mouse2){
				c.style.cursor = 'pointer';
				c.onclick = actb_mouse2_down;
			}
		}
	}
	function actb_goup2(){
		if (!actb_display2) return;
		if (actb_pos2 == 1) return;
		document.getElementById('tat_tr2'+actb_pos2).style.backgroundColor = actb_self2.actb_bgColor2;
		actb_pos2--;
		if (actb_pos2 < actb_rangeu2) actb_moveup();
		document.getElementById('tat_tr2'+actb_pos2).style.backgroundColor = actb_self2.actb_hColor2;
		if (actb_toid2) clearTimeout(actb_toid2);
		if (actb_self2.actb_timeOut2 > 0) actb_toid2 = setTimeout(function(){actb_mouse2_on_list2=0;actb_removedisp2();},actb_self2.actb_timeOut2);
	}
	function actb_godown2(){
		if (!actb_display2) return;
		if (actb_pos2 == actb_total2) return;
		document.getElementById('tat_tr2'+actb_pos2).style.backgroundColor = actb_self2.actb_bgColor2;
		actb_pos2++;
		if (actb_pos2 > actb_ranged2) actb_movedown2();
		document.getElementById('tat_tr2'+actb_pos2).style.backgroundColor = actb_self2.actb_hColor2;
		if (actb_toid2) clearTimeout(actb_toid2);
		if (actb_self2.actb_timeOut2 > 0) actb_toid2 = setTimeout(function(){actb_mouse2_on_list2=0;actb_removedisp2();},actb_self2.actb_timeOut2);
	}
	function actb_movedown2(){
		actb_rangeu2++;
		actb_ranged2++;
		actb_remake2();
	}
	function actb_moveup(){
		actb_rangeu2--;
		actb_ranged2--;
		actb_remake2();
	}

	/* Mouse */
	function actb_mouse2_down(){
		document.getElementById('tat_tr2'+actb_pos2).style.backgroundColor = actb_self2.actb_bgColor2;
		actb_pos2++;
		actb_movedown2();
		document.getElementById('tat_tr2'+actb_pos2).style.backgroundColor = actb_self2.actb_hColor2;
		actb_curr2.focus();
		actb_mouse2_on_list2 = 0;
		if (actb_toid2) clearTimeout(actb_toid2);
		if (actb_self2.actb_timeOut2 > 0) actb_toid2 = setTimeout(function(){actb_mouse2_on_list2=0;actb_removedisp2();},actb_self2.actb_timeOut2);
	}
	function actb_mouse2_up(evt){
		if (!evt) evt = event;
		if (evt.stopPropagation){
			evt.stopPropagation();
		}else{
			evt.cancelBubble = true;
		}
		document.getElementById('tat_tr2'+actb_pos2).style.backgroundColor = actb_self2.actb_bgColor2;
		actb_pos2--;
		actb_moveup();
		document.getElementById('tat_tr2'+actb_pos2).style.backgroundColor = actb_self2.actb_hColor2;
		actb_curr2.focus();
		actb_mouse2_on_list2 = 0;
		if (actb_toid2) clearTimeout(actb_toid2);
		if (actb_self2.actb_timeOut2 > 0) actb_toid2 = setTimeout(function(){actb_mouse2_on_list2=0;actb_removedisp2();},actb_self2.actb_timeOut2);
	}
	function actb_mouse2click(evt){
		if (!evt) evt = event;
		if (!actb_display2) return;
		actb_mouse2_on_list2 = 0;
		actb_pos2 = this.getAttribute('pos');
		actb_penter2();
	}
	function actb_table_focus2(){
		actb_mouse2_on_list2 = 1;
	}
	function actb_table_unfocus2(){
		actb_mouse2_on_list2 = 0;
		if (actb_toid2) clearTimeout(actb_toid2);
		if (actb_self2.actb_timeOut2 > 0) actb_toid2 = setTimeout(function(){actb_mouse2_on_list2 = 0;actb_removedisp2();},actb_self2.actb_timeOut2);
	}
	function actb_table_highlight2(){
		actb_mouse2_on_list2 = 1;
		document.getElementById('tat_tr2'+actb_pos2).style.backgroundColor = actb_self2.actb_bgColor2;
		actb_pos2 = this.getAttribute('pos');
		while (actb_pos2 < actb_rangeu2) actb_moveup();
		while (actb_pos2 > actb_ranged2) actb_movedown2();
		document.getElementById('tat_tr2'+actb_pos2).style.backgroundColor = actb_self2.actb_hColor2;
		if (actb_toid2) clearTimeout(actb_toid2);
		if (actb_self2.actb_timeOut2 > 0) actb_toid2 = setTimeout(function(){actb_mouse2_on_list2 = 0;actb_removedisp2();},actb_self2.actb_timeOut2);
	}
	/* ---- */

	function actb_insertword2(a){
		if (actb_self2.actb_delimiter2.length > 0){
			str = '';
			l=0;
			for (i=0;i<actb_delimwords2.length;i++){
				if (actb_cdelimword2 == i){
					prespace = postspace = '';
					gotbreak = false;
					for (j=0;j<actb_delimwords2[i].length;++j){
						if (actb_delimwords2[i].charAt(j) != ' '){
							gotbreak = true;
							break;
						}
						prespace += ' ';
					}
					for (j=actb_delimwords2[i].length-1;j>=0;--j){
						if (actb_delimwords2[i].charAt(j) != ' ') break;
						postspace += ' ';
					}
					str += prespace;
					str += a;
					l = str.length;
					if (gotbreak) str += postspace;
				}else{
					str += actb_delimwords2[i];
				}
				if (i != actb_delimwords2.length - 1){
					str += actb_delimchar2[i];
				}
			}
			actb_curr2.value = str;
			setCaret2(actb_curr2,l);
		}else{
			actb_curr2.value = a;
		}
		actb_mouse2_on_list2 = 0;
		actb_removedisp2();
	}
	function actb_penter2(){
		if (!actb_display2) return;
		actb_display2 = false;
		var word = '';
		var c = 0;
		for (var i=0;i<=actb_self2.actb_keywords2.length;i++){
			if (actb_bool2[i]) c++;
			if (c == actb_pos2){
				word = actb_self2.actb_keywords2[i];
				break;
			}
		}
		actb_insertword2(word);
		l = getCaretStart2(actb_curr2);
	}
	function actb_removedisp2(){
		if (actb_mouse2_on_list2==0){
			actb_display2 = 0;
			//if (document.getElementById('tat_table2')){ document.body.removeChild(document.getElementById('tat_table2')); }
			if (document.getElementById('tat_table2')){ document.getElementById('AutoCompleteConteinerSecondary').removeChild(document.getElementById('tat_table2')); }						
			if (actb_toid2) clearTimeout(actb_toid2);
			
			if(typeof(ShowForAutoCompleteCVsPanel) == 'function')
				ShowForAutoCompleteCVsPanel();
		}
	}
	function actb_keypress2(e){
		if (actb_caretmove2) stopEvent2(e);
		return !actb_caretmove2;
	}
	function actb_checkkey2(evt){
		if (!evt) evt = event;
		a = evt.keyCode;
		caret_pos_start = getCaretStart2(actb_curr2);
		actb_caretmove2 = 0;
		switch (a){
			case 38:
				actb_goup2();
				actb_caretmove2 = 1;
				return false;
				break;
			case 40:
				actb_godown2();
				actb_caretmove2 = 1;
				return false;
				break;
			case 13: case 9:
				if (actb_display2){
					actb_caretmove2 = 1;
					actb_penter2();
					return false;
				}else{
					return true;
				}
				break;
			default:
				setTimeout(function(){actb_tocomplete2(a)},50);
				break;
		}
	}

	function actb_tocomplete2(kc){
		if (kc == 38 || kc == 40 || kc == 13) return;
		var i;
		if (actb_display2){ 
			var word = 0;
			var c = 0;
			for (var i=0;i<=actb_self2.actb_keywords2.length;i++){
				if (actb_bool2[i]) c++;
				if (c == actb_pos2){
					word = i;
					break;
				}
			}
			actb_pre2 = word;
		}else{ actb_pre2 = -1};
		
		if (actb_curr2.value == ''){
			actb_mouse2_on_list2 = 0;
			actb_removedisp2();
			return;
		}
		if (actb_self2.actb_delimiter2.length > 0){
			caret_pos_start = getCaretStart2(actb_curr2);
			caret_pos_end = getCaretEnd2(actb_curr2);
			
			delim_split = '';
			for (i=0;i<actb_self2.actb_delimiter2.length;i++){
				delim_split += actb_self2.actb_delimiter2[i];
			}
			delim_split = delim_split.addslashes();
			delim_split_rx = new RegExp("(["+delim_split+"])");
			c = 0;
			actb_delimwords2 = new Array();
			actb_delimwords2[0] = '';
			for (i=0,j=actb_curr2.value.length;i<actb_curr2.value.length;i++,j--){
				if (actb_curr2.value.substr(i,j).search(delim_split_rx) == 0){
					ma = actb_curr2.value.substr(i,j).match(delim_split_rx);
					actb_delimchar2[c] = ma[1];
					c++;
					actb_delimwords2[c] = '';
				}else{
					actb_delimwords2[c] += actb_curr2.value.charAt(i);
				}
			}

			var l = 0;
			actb_cdelimword2 = -1;
			for (i=0;i<actb_delimwords2.length;i++){
				if (caret_pos_end >= l && caret_pos_end <= l + actb_delimwords2[i].length){
					actb_cdelimword2 = i;
				}
				l+=actb_delimwords2[i].length + 1;
			}
			var ot = actb_delimwords2[actb_cdelimword2].trim(); 
			var t = actb_delimwords2[actb_cdelimword2].addslashes().trim();
		}else{
			var ot = actb_curr2.value;
			var t = actb_curr2.value.addslashes();
		}
		if (ot.length == 0){
			actb_mouse2_on_list2 = 0;
			actb_removedisp2();
		}
		if (ot.length < actb_self2.actb_startcheck2) return this;
		if (actb_self2.actb_firstText2){
			var re = new RegExp("^" + t, "i");
		}else{
			var re = new RegExp(t, "i");
		}

		actb_total2 = 0;
		actb_tomake2 = false;
		actb_kwcount2 = 0;
		for (i=0;i<actb_self2.actb_keywords2.length;i++){
			actb_bool2[i] = false;
			if (re.test(actb_self2.actb_keywords2[i])){
				actb_total2++;
				actb_bool2[i] = true;
				actb_kwcount2++;
				if (actb_pre2 == i) actb_tomake2 = true;
			}
		}

		if (actb_toid2) clearTimeout(actb_toid2);
		if (actb_self2.actb_timeOut2 > 0) actb_toid2 = setTimeout(function(){actb_mouse2_on_list2 = 0;actb_removedisp2();},actb_self2.actb_timeOut2);
		actb_generate3();
	}
	return this;
}
