startList = function()
{
	navRoot = document.getElementsByTagName("form");
	if(navRoot)
	{
		for(var i = 0; i < navRoot.length; i++)
		{
			inputElements = navRoot[i].getElementsByTagName("input");
			for(var j = 0; j < inputElements.length; j++)
			{
				node = inputElements[j];
				if(node.type == "text" || node.type == "password")
				{
					node.onfocus = function() { this.className += " focus";	}
					node.onblur = function() { this.className = this.className.replace(" focus",""); }
				}
			}
		}
	}
}

window.onload = function() { startList(); }

function DoEvalPrice(object)
{
	object.value = object.value.replace(/,/,".");
}

function Validate(form)
{
	for (var i = 0; i < form.elements.length; i++)
	{
		if (form.elements[i].value == "")
		{
			alert("Vul aub in elke veld een waarde in.");
			return false;
		}
	}
	return true;
}