/* author: Marachtanov */
/* Creation date: 06.05.02 */
<!---
//поиск объекта
function findObj(id)
{
	if(document.all)
		return document.all[id];
	else
		return document.getElementById(id);
}
//изменение состояния блока div с видимого на невидимый
function openclose(sd)
{
	e = findObj(sd);

	if(!e) return;
	if (e.style.display == "block")
	{
		e.style.display = "none";
	}
	else {
		e.style.display = "block";
	}
}
//отправка формы
function rez_click(f,kommand)
{
//e = findObj(cmnd);
//g = findObj("gros");
//e.value=kommand;
f.cmnd.value=kommand;
f.submit();
}

function custom_form_submit(form)
{

if(!form.name.value.length)
{
alert('Введите имя!');
form.name.focus();
return false;
}
if(!form.mes.value.length)
{
alert('Введите сообщение!');
form.mes.focus();
return false;
}
return true;
}

//-->
