function validateForm(formname)
{
	errorString = "Пожалуйста, заполните следующие поля:     \n     \n";

	var Results = [
	notEmpty(formname.contactname, 'Контактное лицо\n'),
	notEmpty(formname.phone, 'Контактный телефон\n'),
	notEmpty(formname.message, 'Сообщение\n'),
	notEmpty(formname.it, 'Защитный код\n'),
	];

	if (Results[0] && Results[1] && Results[2] && Results[3])
	{
		return true;
	}
	else
	{
		alert(errorString);
		return false;
	}
}
