	/*Write in input validation function that will test to see if a value
	entered by the user is just made up of blank spaces

	HINT:  Use methods of the string object and don't let the user leave the filed
	until they have entered a value.
	*/

	function isblank(yourstring) {
		for(var i=0;i<yourstring.length;i++) {
			var currchar=yourstring.charAt(i);
			if(currchar != " ") return false;
		}
		return true;
	}

	function testField(currField) {
		if(isblank(currField.value)) {
			alert(currField.id + " is a required field\n Please enter a value.");
			currField.focus();
		}
	}
