               iconCls: 'icon-ok'
            });
		});

		function init() {
			$('#etcdAddr').textbox('setValue', etcdBase);
			var t = $('#etree').tree({
				animate:true,
				onClick:showNode,
				//lines:true,
				onContextMenu:showMenu
			});
		}

		function changeHost(newValue, oldValue) {
			if (newValue === '') {
				$.messager.alert('Error','ETCD address is empty.','error');
			}else {
				Cookies.set('etcd-endpoint', newValue, {expires: 30});
				etcdBase = newValue;
				connect();
			}
		}

		fun