function checkit()
{
	for (i=0;i<document.forma.elements.length;i++)
	{
		box = document.forma.elements[i];
		if (!box.value)
		{
			//alert('Niste ispunili polje ' + box.name + '!');
			alert('Molim ispunite sva polja!');
			box.focus()
			return false;
		}
	}
	return true;
}

function pozicioniraj()
{
	// ako postoje polja, pozicioniraj na prvo
	if (document.forma.elements[0]){
		document.forma.elements[0].focus();
	}
	return true;
}
