function init() {
	hoverFields("contact");
}
function hoverFields(what) {
	var elements = document.getElementById(what).getElementsByTagName("input");
	for(var q = 0; q < elements.length; q++) {
	    
		if((elements[q].parentNode.nodeName == "DD") && (elements[q].type != "button")) {
			elements[q].onfocus = function() {this.style.backgroundColor = "#E6F2FF";}
			elements[q].onblur = function() {this.style.backgroundColor = "#FFFFFF";}
		}else {
			elements[q].onfocus = function() {this.style.backgroundColor = "#006599";}
			elements[q].onblur = function() {this.style.backgroundColor = "#FF9B01";}
		}
	}
	var elements = document.getElementById(what).getElementsByTagName("textarea")[0];
	elements.onfocus = function() {this.style.backgroundColor = "#E6F2FF";}
	elements.onblur = function() {this.style.backgroundColor = "#FFFFFF";}
}
window.onload = init;