function getMatches_faq(searchField) {
	
	var ajax_match_box_position = Position.positionedOffset(document.getElementById("search_keyword"));
	
	var keyword_search_box_dimensions = $('search_keyword_faq').getDimensions();
	
	$("ajax_match_box").style.top = (ajax_match_box_position[1]+keyword_search_box_dimensions.height-1)+'px';
	$("ajax_match_box").style.left = ajax_match_box_position[0]+'px';
	
	$("ajax_match_box").scrollTop = 0;
	
	//Effect.Appear('ajax_match_box',{ duration: 0.2 });
	
	
	var ret = function(t) {
		//var output = t.responseText.evalJSON();
		var output = t.responseText;
		if(output != '') {
			$("ajax_match_box").innerHTML = output;
			$("ajax_match_box").style.display = "block";
			$("ajax_match_box").style.width = keyword_search_box_dimensions.width;
		}
		else {
			$("ajax_match_box").style.display = "none";
		}
	}
	
	var errFunc = function(t) {
		alert('error');
	}
	myAjax = new Ajax.Request(
		'ajax.php', 
		{
			method: 'post',
			parameters: 'function=outputMatches&key='+$F('search_keyword')+'&param1='+searchField,
			onSuccess:ret, 
			onFailure:errFunc
		}
	);
}



function move2List(elementName,address) {
	if (document.getElementById(elementName).value != '') {
		document.getElementById(elementName).value = document.getElementById(elementName).value+';\n'+address;
	}
	else {
		document.getElementById(elementName).value = address;
	}
	document.getElementById(elementName).rows = document.getElementById(elementName).rows + 1;
	//window.opener.document.mailFrom.mailCc.value = land;
	//window.close ();
}

