function validateForm() {
	ret = true;
	validate = {
		contact_name: /.+/,
		title: /.+/,
        address: /.+/,
        city: /.+/,
        country: /.+/,
        state: /.+/,
        zip: /.+/,
        phone: /.+/,
        email: /.+/,
        tax_ID: /.+/
	}

	for (i in validate) {
		el = document.getElementById(i);

		if (validate[i].test(el.value)) {
			el.style.backgroundColor = "#f6f6f6";
		} else {
			el.style.backgroundColor = "#e29494";
			ret = false;
		}
	}

	return ret;
}
