entById('macfiltertab').className = "cbi-tab";
	}

	document.getElementById('settingForm').addEventListener('submit', function() {
		var length = document.activeElement.id.length;
		document.getElementById('submitcontent').value = document.activeElement.id.substring(0, 10);
		document.getElementById('removeAddrIndex').value = document.activeElement.id.substring(10, length);
	});

	function validateForm()
	{
		var activeElement = document.activeElement.id;
		if(activeElement == "addAddr")
		{
			var addr = d