function highlight(formName) {
	var i, j, forms, inputs;

	forms = document.getElementsByTagName('FORM');
	for (i = 0; forms[i]; i++) {
		if (forms[i].name == formName) {
			inputs = forms[i].getElementsByTagName('INPUT');
			for (j = 0; inputs[j]; j++) {
				if ((inputs[j].type == 'text') || (inputs[j].type == 'file') || (inputs[j].type == 'password')) {
					inputs[j].style.background = 'url(/img/highlight.gif) repeat'
				}
			}
		}		
	}
}

