<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
<script src="/bitrix/js/main/cphttprequest.js"></script>
<script type="text/javascript">
if (typeof oObject != "object")
	window.oObject = {};
document.<?echo $arResult["ID"]?>_CheckThis = function(oObj)
{
	try
	{
		if(SuggestLoaded)
		{
			if (typeof window.oObject[oObj.id] != 'object')
				window.oObject[oObj.id] = new JsSuggest(oObj, '<?echo $arResult["ADDITIONAL_VALUES"]?>');
			return;
		}
		else
		{
			setTimeout(<?echo $arResult["ID"]?>_CheckThis(oObj), 10);
		}
	}
	catch(e)
	{
		setTimeout(<?echo $arResult["ID"]?>_CheckThis(oObj), 10);
	}
}
</script>
<IFRAME style="width:0px; height:0px; border: 0px;" src="javascript:''" name="<?echo $arResult["ID"]?>_div_frame" id="<?echo $arResult["ID"]?>_div_frame"></IFRAME><input <?if($arParams["INPUT_SIZE"] > 0):?> size="<?echo $arParams["INPUT_SIZE"]?>"<?endif?> name="<?echo $arParams["NAME"]?>" id="<?echo $arResult["ID"]?>" value="<?echo $arParams["VALUE"]?>" class="search-suggest" type="text" autocomplete="off" onfocus="<?echo $arResult["ID"]?>_CheckThis(this);" />