i'm trying to loop through the form elements and break the loop if a field is found empty but can't seem to quite get it to work. following is my function that i call with onSubmit="return validateForm(this);" in the form action. where should the break; be?

Code:
function validateForm(f){
	// make sure none are empty
	for (var i = 0; i<9; i++){
		if (f.elements[i].value == ""){
			self.alert("Please fill in the form completely!");
			f.elements[i].focus();
			// if the browser is Netscape 6 or IE
			if(document.all || document.getElementByID){
				// change the color of text field
				f.elements[i].value.style.background = "yellow";
			}
			
			return false;
			break;
		}
	}
}