ocument.forms["settingForm"]["macfilteradd"].value;
			if(addr.length != 16)
			{
				alert("Address length must be 16 bytes");
				return false;
			}
		}
		else if(activeElement.substring(0, 10) != "removeAddr")
		{
			var panid = document.forms["settingForm"]["panid"].value;
			if (isNaN(panid)) {
				alert("panid must be a number");
				return false;
			}

			var extpanid = document.forms["settingForm"]["extpanid"].value;
			var re = /^[0-9a-f]+$/;
			var OK = re.exec(extpanid);
			if (!OK) {
				alert("