subHover = function(){
	var j;
	var forms = window.document.forms;
	var nbForms = forms.length;
	var champ;
	var i;
	for(j = 0; j < nbForms ; j++) {
		var elements = window.document.forms[j].elements;
		var nb = elements.length;

		for(i = 0; i < nb ; i++) {
			champ = elements[i];
			if (champ.type == "submit" || champ.type == "reset" || champ.type == "button") {
				champ.onmouseover = function(){
					this.className = "boutonHover";
				}
				
				champ.onmouseout = function(){
					this.className = "bouton";
				}
			}
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", subHover);
