function __doExecute(strPanelName, aParams, strURL, strForm)
{
	if (strForm != null && strForm != "")
	{
 		//	Добавляем параметры их формы
		//	inputs
		$('form[@id=' + strForm + '] input').each(function(i)
			{
				if ((this.type != 'radio' && this.type != 'checkbox') || this.checked)
				{
					if (this.type == 'checkbox')
					  aParams[this.name] = (aParams[this.name] != "" && aParams[this.name] != null ? aParams[this.name] + "," : "") + this.value;
					else
					  {aParams[this.name] = this.value;
    				  }
					  
				}
			});

		//	textareas
		$('form[@id=' + strForm + '] textarea').each(function(i){
			  aParams[this.name] = this.value;
			});

		//	select
		$('form[@id=' + strForm + '] select').each(function(i){
			  aParams[this.name] = this.value;
			});
	}

	aParams["__is_postback"] = "true";
	aParams["__is_postback_panel"] = strPanelName;
	$('#' + strPanelName).load(strURL, aParams);
	return false;
}


function RegisterAjaxPostBackParameter(strName, strValue)
{
}

function RefreshPanel(strPanelName, nInterval, strURL)
{
	setTimeout("__doExecute('" + strPanelName + "', {}, '" + strURL + "');", nInterval * 1000);
}