// Contact Form JavaScript functions:
function checkFields(fields)
{
	var returnType = true;
	
	// Loop through the fields:
	for(var i in fields)
	{
		var theField = fields[i];
		
		if(theField.value == "")
		{
			theField.style.border = "1px solid #ff0000";
			returnType = false;
		}
	}
	
	return returnType;
}
