w('open');
            });
        });
        function selVersion(ver) {
            setServerBase(ver);
            version = ver;
            connect();
            Cookies.set('etcd-version', version, {expires: 30});

            $('#versionMenu').menu('setIcon', {
                target: $('#version_2')[0],
                iconCls: ''
            });
            $('#versionMenu').menu('setIcon', {
                target: $('#version_3')[0],
                iconCls: ''
            });
            $('#ve