summaryrefslogtreecommitdiff
path: root/gstudio/static
diff options
context:
space:
mode:
authorsupriya <supriya@dragbox.(none)>2012-06-11 16:24:50 +0530
committersupriya <supriya@dragbox.(none)>2012-06-11 16:24:50 +0530
commit04f1a3ffa2b83e2849d7e3f7902de0309cf7443c (patch)
tree11e029fa6a875d004a81aa2c5dd93cc75537be9b /gstudio/static
parent833243ea72813e1e3c4256fc00b9e0576e66cf06 (diff)
downloadgnowsys-04f1a3ffa2b83e2849d7e3f7902de0309cf7443c.tar.gz
Gnowmacs editor added to gnowsys-studio
Diffstat (limited to 'gstudio/static')
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/.svn/all-wcprops5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/.svn/entries34
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/.svn/all-wcprops5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/.svn/entries40
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/all-wcprops35
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/entries201
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs-dark.css.svn-base60
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs-light.css.svn-base56
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs-syntax-dark.css.svn-base73
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs-syntax-light.css.svn-base58
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs.css.svn-base92
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/all-wcprops119
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/entries674
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-andreas.css.svn-base59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-bharadwaj.css.svn-base59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-billw.css.svn-base59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-blue-mood.css.svn-base59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-calm-forest.css.svn-base59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-charcoal-black.css.svn-base59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-clarity-and-beauty.css.svn-base59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-classic.css.svn-base59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-gnome2.css.svn-base59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-gtk-ide.css.svn-base59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-high-contrast.css.svn-base59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-linh-dang-dark.css.svn-base59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-mishoo.css.svn-base45
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-scintilla.css.svn-base59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-standard-dark.css.svn-base59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-standard-xemacs.css.svn-base59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-standard.css.svn-base59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-vim-colors.css.svn-base59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-zenburn.css.svn-base59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-andreas.css59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-bharadwaj.css59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-billw.css59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-blue-mood.css59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-calm-forest.css59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-charcoal-black.css59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-clarity-and-beauty.css59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-classic.css59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-gnome2.css59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-gtk-ide.css59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-high-contrast.css59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-linh-dang-dark.css59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-mishoo.css45
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-scintilla.css59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-standard-dark.css59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-standard-xemacs.css59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-standard.css59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-vim-colors.css59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-zenburn.css59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs-dark.css59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs-light.css55
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs-syntax-dark.css73
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs-syntax-light.css58
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs.css92
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/el/.svn/all-wcprops11
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/el/.svn/entries62
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/el/.svn/text-base/ymacs-color-theme.el.svn-base103
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/el/ymacs-color-theme.el103
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/gnow-server/gnow-server.el361
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js-minified/.svn/all-wcprops11
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js-minified/.svn/entries62
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js-minified/.svn/text-base/ymacs-min.js.svn-base33
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js-minified/ymacs-min.js33
l---------gstudio/static/gstudio/js/Gnowmacs/src/js/.#editorload.js1
l---------gstudio/static/gstudio/js/Gnowmacs/src/js/.#savetext.js1
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/all-wcprops149
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/entries844
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/gnowmacs.js.svn-base345
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/gnowmoz.html.svn-base276
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-buffer.js.svn-base1079
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-commands-utils.js.svn-base157
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-commands.js.svn-base1491
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-exception.js.svn-base36
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-frame.js.svn-base696
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-interactive.js.svn-base286
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-keyboard.js.svn-base106
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-keymap-emacs.js.svn-base264
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-keymap-isearch.js.svn-base181
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-keymap.js.svn-base167
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-marker.js.svn-base105
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-minibuffer.js.svn-base429
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-css.js.svn-base263
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-js.js.svn-base431
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-lisp.js.svn-base419
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-markdown.js.svn-base89
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-paren-match.js.svn-base301
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-xml.js.svn-base474
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-regexp.js.svn-base96
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-textprop.js.svn-base168
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-tokenizer.js.svn-base337
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs.js.svn-base559
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/content.html91
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/editorload.js28
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/gnowmacs.js345
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/jquery-1.7.1.min.js4
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/jquery-ui-1.8.18.custom.min.js356
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/jquery.ui.gnowmacs.js929
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/savedata.js13
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-buffer.js1079
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-commands-utils.js157
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-commands.js1517
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-exception.js36
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-frame.js696
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-interactive.js286
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-keyboard.js106
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-keymap-emacs.js264
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-keymap-isearch.js181
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-keymap.js167
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-marker.js105
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-minibuffer.js429
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-css.js263
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-js.js431
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-lisp.js419
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-markdown.js89
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-paren-match.js301
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-xml.js474
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-regexp.js96
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-textprop.js168
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-tokenizer.js335
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs.js559
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/.svn/all-wcprops35
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/.svn/entries201
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/gnow-test.js.svn-base824
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/gnowmacs.html.svn-base63
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/index.html.svn-base52
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/test.css.svn-base4
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/test.js.svn-base352
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/.svn/all-wcprops5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/.svn/entries49
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/all-wcprops113
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/entries643
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-blue-ds.css.svn-base1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-blue.css.svn-base1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-cyan-ds.css.svn-base1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-cyan.css.svn-base1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-ds.css.svn-base1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-green-ds.css.svn-base1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-green.css.svn-base1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-grey.css.svn-base1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-magenta-ds.css.svn-base1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-magenta.css.svn-base1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-red-ds.css.svn-base1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-red.css.svn-base1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-yellow-ds.css.svn-base1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-yellow.css.svn-base1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default.css.svn-base1123
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/dlconsole.css.svn-base16
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/preload-default.js.svn-base6
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/uploadentry.css.svn-base21
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-blue-ds.css1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-blue.css1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-cyan-ds.css1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-cyan.css1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-ds.css1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-green-ds.css1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-green.css1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-grey.css1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-magenta-ds.css1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-magenta.css1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-red-ds.css1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-red.css1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-yellow-ds.css1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-yellow.css1093
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default.css1123
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/dlconsole.css16
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/all-wcprops227
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/entries1316
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/btn-choose-file.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/btn-choose-file.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/busy1.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-0-disabled.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-0.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-1-disabled.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-1.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-2.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/entry-warning.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/grid-drop-col.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/mark-2.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/mark.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/modalbg.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-0-disabled.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-0.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-1-disabled.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-1.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-2.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resize.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resize.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-horiz.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-horiz1.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-horiz2.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-vert.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-vert1.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-vert2.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-vert2.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebg.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/spinner-down.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/spinner-down.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/spinner-up.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/spinner-up.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/titlebg.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/tmpcal.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/tree-drop-here-lower.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/tree-drop-here-upper.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/tree-drop-here.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/btn-choose-file.gif.svn-basebin0 -> 969 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/btn-choose-file.png.svn-basebin0 -> 1340 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/busy1.gif.svn-basebin0 -> 82 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-0-disabled.png.svn-basebin0 -> 187 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-0.png.svn-basebin0 -> 161 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-1-disabled.png.svn-basebin0 -> 208 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-1.png.svn-basebin0 -> 186 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-2.png.svn-basebin0 -> 217 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/entry-warning.png.svn-basebin0 -> 787 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/grid-drop-col.gif.svn-basebin0 -> 65 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/mark-2.gif.svn-basebin0 -> 848 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/mark.gif.svn-basebin0 -> 848 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/modalbg.gif.svn-basebin0 -> 187 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-0-disabled.png.svn-basebin0 -> 334 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-0.png.svn-basebin0 -> 284 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-1-disabled.png.svn-basebin0 -> 404 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-1.png.svn-basebin0 -> 290 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-2.png.svn-basebin0 -> 431 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resize.gif.svn-basebin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resize.png.svn-basebin0 -> 228 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-horiz.gif.svn-basebin0 -> 111 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-horiz1.gif.svn-basebin0 -> 78 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-horiz2.png.svn-basebin0 -> 172 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-vert.gif.svn-basebin0 -> 108 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-vert1.gif.svn-basebin0 -> 77 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-vert2.gif.svn-basebin0 -> 70 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-vert2.png.svn-basebin0 -> 173 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebg.gif.svn-basebin0 -> 187 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/spinner-down.gif.svn-basebin0 -> 821 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/spinner-down.png.svn-basebin0 -> 178 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/spinner-up.gif.svn-basebin0 -> 821 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/spinner-up.png.svn-basebin0 -> 183 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/titlebg.png.svn-basebin0 -> 264 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/tmpcal.gif.svn-basebin0 -> 64 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/tree-drop-here-lower.gif.svn-basebin0 -> 75 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/tree-drop-here-upper.gif.svn-basebin0 -> 74 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/tree-drop-here.gif.svn-basebin0 -> 74 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/all-wcprops83
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/entries470
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/dropdown.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/nav-left-x2.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/nav-left.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/nav-right-x2.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/nav-right.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-down-disabled.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-down-hover.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-down.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-up-disabled.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-up-hover.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-up.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/sort-ascending.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/sort-descending.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/dropdown.png.svn-basebin0 -> 180 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/nav-left-x2.gif.svn-basebin0 -> 76 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/nav-left.gif.svn-basebin0 -> 66 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/nav-right-x2.gif.svn-basebin0 -> 75 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/nav-right.gif.svn-basebin0 -> 64 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-down-disabled.gif.svn-basebin0 -> 58 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-down-hover.gif.svn-basebin0 -> 58 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-down.gif.svn-basebin0 -> 58 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-up-disabled.gif.svn-basebin0 -> 57 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-up-hover.gif.svn-basebin0 -> 57 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-up.gif.svn-basebin0 -> 57 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/sort-ascending.gif.svn-basebin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/sort-descending.gif.svn-basebin0 -> 64 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/dropdown.pngbin0 -> 180 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/nav-left-x2.gifbin0 -> 76 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/nav-left.gifbin0 -> 66 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/nav-right-x2.gifbin0 -> 75 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/nav-right.gifbin0 -> 64 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-down-disabled.gifbin0 -> 58 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-down-hover.gifbin0 -> 58 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-down.gifbin0 -> 58 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-up-disabled.gifbin0 -> 57 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-up-hover.gifbin0 -> 57 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-up.gifbin0 -> 57 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/sort-ascending.gifbin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/sort-descending.gifbin0 -> 64 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/all-wcprops41
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/entries232
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/s1-dim.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/s1.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/shadow-dim.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/shadow-vb-dim.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/shadow-vb.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/shadow.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/s1-dim.png.svn-basebin0 -> 7506 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/s1.png.svn-basebin0 -> 7546 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/shadow-dim.png.svn-basebin0 -> 1891 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/shadow-vb-dim.png.svn-basebin0 -> 316 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/shadow-vb.png.svn-basebin0 -> 340 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/shadow.png.svn-basebin0 -> 2178 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/s1-dim.pngbin0 -> 7506 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/s1.pngbin0 -> 7546 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/shadow-dim.pngbin0 -> 1891 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/shadow-vb-dim.pngbin0 -> 316 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/shadow-vb.pngbin0 -> 340 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/shadow.pngbin0 -> 2178 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/btn-choose-file.gifbin0 -> 969 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/btn-choose-file.pngbin0 -> 1340 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/busy1.gifbin0 -> 82 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-0-disabled.pngbin0 -> 187 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-0.pngbin0 -> 161 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-1-disabled.pngbin0 -> 208 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-1.pngbin0 -> 186 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-2.pngbin0 -> 217 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/.svn/all-wcprops11
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/.svn/entries62
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/.svn/prop-base/hue.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/.svn/text-base/hue.png.svn-basebin0 -> 338 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/hue.pngbin0 -> 338 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/all-wcprops71
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/entries402
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/buttons.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/maximize-btn-active.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/maximize-btn-hover.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/maximize-btn.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/minimize-btn-active.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/minimize-btn-hover.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/minimize-btn.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/quit-btn-active.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/quit-btn-hover.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/quit-btn.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/buttons.png.svn-basebin0 -> 4917 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/maximize-btn-active.png.svn-basebin0 -> 562 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/maximize-btn-hover.png.svn-basebin0 -> 645 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/maximize-btn.png.svn-basebin0 -> 611 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/minimize-btn-active.png.svn-basebin0 -> 512 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/minimize-btn-hover.png.svn-basebin0 -> 609 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/minimize-btn.png.svn-basebin0 -> 613 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/montage.svn-base1
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/quit-btn-active.png.svn-basebin0 -> 893 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/quit-btn-hover.png.svn-basebin0 -> 943 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/quit-btn.png.svn-basebin0 -> 949 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/buttons.pngbin0 -> 4917 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/maximize-btn-active.pngbin0 -> 562 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/maximize-btn-hover.pngbin0 -> 645 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/maximize-btn.pngbin0 -> 611 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/minimize-btn-active.pngbin0 -> 512 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/minimize-btn-hover.pngbin0 -> 609 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/minimize-btn.pngbin0 -> 613 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/montage1
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/quit-btn-active.pngbin0 -> 893 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/quit-btn-hover.pngbin0 -> 943 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/quit-btn.pngbin0 -> 949 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/entry-warning.pngbin0 -> 787 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/grid-drop-col.gifbin0 -> 65 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/all-wcprops29
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/entries164
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/prop-base/calendar.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/prop-base/colors.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/prop-base/dynarch-small.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/prop-base/gnome-fs-chardev.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/text-base/calendar.png.svn-basebin0 -> 871 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/text-base/colors.png.svn-basebin0 -> 290 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/text-base/dynarch-small.png.svn-basebin0 -> 348 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/text-base/gnome-fs-chardev.png.svn-basebin0 -> 777 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/calendar.pngbin0 -> 871 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/colors.pngbin0 -> 290 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/dynarch-small.pngbin0 -> 348 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/gnome-fs-chardev.pngbin0 -> 777 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/mark-2.gifbin0 -> 848 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/mark.gifbin0 -> 848 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/all-wcprops29
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/entries164
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/prop-base/darrow-small.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/prop-base/darrow.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/prop-base/rarrow-hover.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/prop-base/rarrow.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/text-base/darrow-small.gif.svn-basebin0 -> 49 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/text-base/darrow.gif.svn-basebin0 -> 82 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/text-base/rarrow-hover.gif.svn-basebin0 -> 85 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/text-base/rarrow.gif.svn-basebin0 -> 85 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/darrow-small.gifbin0 -> 49 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/darrow.gifbin0 -> 82 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/rarrow-hover.gifbin0 -> 85 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/rarrow.gifbin0 -> 85 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/modalbg.gifbin0 -> 187 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-0-disabled.pngbin0 -> 334 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-0.pngbin0 -> 284 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-1-disabled.pngbin0 -> 404 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-1.pngbin0 -> 290 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-2.pngbin0 -> 431 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resize.gifbin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resize.pngbin0 -> 228 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-horiz.gifbin0 -> 111 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-horiz1.gifbin0 -> 78 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-horiz2.pngbin0 -> 172 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-vert.gifbin0 -> 108 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-vert1.gifbin0 -> 77 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-vert2.gifbin0 -> 70 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-vert2.pngbin0 -> 173 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebg.gifbin0 -> 187 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/.svn/all-wcprops5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/.svn/entries37
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/all-wcprops59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/entries334
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/B.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/BL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/BR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/L.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/R.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/T.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/TL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/TR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/B.png.svn-basebin0 -> 133 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/BL.png.svn-basebin0 -> 705 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/BR.png.svn-basebin0 -> 499 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/L.png.svn-basebin0 -> 134 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/R.png.svn-basebin0 -> 153 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/T.png.svn-basebin0 -> 128 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/TL.png.svn-basebin0 -> 811 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/TR.png.svn-basebin0 -> 1206 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/shadows.css.svn-base222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/B.pngbin0 -> 133 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/BL.pngbin0 -> 705 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/BR.pngbin0 -> 499 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/L.pngbin0 -> 134 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/R.pngbin0 -> 153 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/T.pngbin0 -> 128 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/TL.pngbin0 -> 811 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/TR.pngbin0 -> 1206 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/shadows.css222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/all-wcprops59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/entries334
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/B.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/BL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/BR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/L.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/R.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/T.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/TL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/TR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/B.png.svn-basebin0 -> 133 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/BL.png.svn-basebin0 -> 783 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/BR.png.svn-basebin0 -> 789 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/L.png.svn-basebin0 -> 168 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/R.png.svn-basebin0 -> 172 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/T.png.svn-basebin0 -> 168 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/TL.png.svn-basebin0 -> 768 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/TR.png.svn-basebin0 -> 1133 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/shadows.css.svn-base222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/B.pngbin0 -> 133 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/BL.pngbin0 -> 783 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/BR.pngbin0 -> 789 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/L.pngbin0 -> 168 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/R.pngbin0 -> 172 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/T.pngbin0 -> 168 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/TL.pngbin0 -> 768 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/TR.pngbin0 -> 1133 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/shadows.css222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/all-wcprops59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/entries334
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/B.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/BL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/BR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/L.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/R.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/T.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/TL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/TR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/B.png.svn-basebin0 -> 140 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/BL.png.svn-basebin0 -> 855 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/BR.png.svn-basebin0 -> 549 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/L.png.svn-basebin0 -> 124 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/R.png.svn-basebin0 -> 136 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/T.png.svn-basebin0 -> 125 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/TL.png.svn-basebin0 -> 371 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/TR.png.svn-basebin0 -> 725 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/shadows.css.svn-base222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/B.pngbin0 -> 140 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/BL.pngbin0 -> 855 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/BR.pngbin0 -> 549 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/L.pngbin0 -> 124 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/R.pngbin0 -> 136 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/T.pngbin0 -> 125 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/TL.pngbin0 -> 371 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/TR.pngbin0 -> 725 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/shadows.css222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/spinner-down.gifbin0 -> 821 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/spinner-down.pngbin0 -> 178 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/spinner-up.gifbin0 -> 821 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/spinner-up.pngbin0 -> 183 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/all-wcprops59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/entries334
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/B.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/BL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/BR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/L.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/R.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/T.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/TL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/TR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/B.png.svn-basebin0 -> 128 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/BL.png.svn-basebin0 -> 495 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/BR.png.svn-basebin0 -> 478 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/L.png.svn-basebin0 -> 110 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/R.png.svn-basebin0 -> 115 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/T.png.svn-basebin0 -> 107 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/TL.png.svn-basebin0 -> 483 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/TR.png.svn-basebin0 -> 615 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/shadows.css.svn-base222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/B.pngbin0 -> 128 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/BL.pngbin0 -> 495 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/BR.pngbin0 -> 478 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/L.pngbin0 -> 110 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/R.pngbin0 -> 115 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/T.pngbin0 -> 107 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/TL.pngbin0 -> 483 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/TR.pngbin0 -> 615 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/shadows.css222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/all-wcprops59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/entries334
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/B.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/BL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/BR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/L.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/R.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/T.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/TL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/TR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/B.png.svn-basebin0 -> 224 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/BL.png.svn-basebin0 -> 711 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/BR.png.svn-basebin0 -> 716 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/L.png.svn-basebin0 -> 178 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/R.png.svn-basebin0 -> 200 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/T.png.svn-basebin0 -> 190 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/TL.png.svn-basebin0 -> 680 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/TR.png.svn-basebin0 -> 633 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/shadows.css.svn-base222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/B.pngbin0 -> 224 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/BL.pngbin0 -> 711 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/BR.pngbin0 -> 716 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/L.pngbin0 -> 178 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/R.pngbin0 -> 200 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/T.pngbin0 -> 190 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/TL.pngbin0 -> 680 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/TR.pngbin0 -> 633 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/shadows.css222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/titlebg.pngbin0 -> 264 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tmpcal.gifbin0 -> 64 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree-drop-here-lower.gifbin0 -> 75 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree-drop-here-upper.gifbin0 -> 74 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree-drop-here.gifbin0 -> 74 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/all-wcprops59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/entries334
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/dot.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/lines-b.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/lines-c.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/lines-tcb.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/lines-v.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/minus-hover.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/minus.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/plus-hover.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/plus.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/dot.gif.svn-basebin0 -> 85 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/lines-b.gif.svn-basebin0 -> 257 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/lines-c.gif.svn-basebin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/lines-tcb.gif.svn-basebin0 -> 308 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/lines-v.gif.svn-basebin0 -> 54 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/minus-hover.gif.svn-basebin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/minus.gif.svn-basebin0 -> 68 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/plus-hover.gif.svn-basebin0 -> 64 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/plus.gif.svn-basebin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/dot.gifbin0 -> 85 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/lines-b.gifbin0 -> 257 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/lines-c.gifbin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/lines-tcb.gifbin0 -> 308 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/lines-v.gifbin0 -> 54 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/minus-hover.gifbin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/minus.gifbin0 -> 68 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/plus-hover.gifbin0 -> 64 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/plus.gifbin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/preload-default.js6
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/css/uploadentry.css21
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/.svn/all-wcprops5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/.svn/entries34
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/css/.svn/all-wcprops11
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/css/.svn/entries62
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/css/.svn/text-base/dlgrid.css.svn-base33
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/css/dlgrid.css33
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/.svn/all-wcprops17
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/.svn/entries96
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/.svn/text-base/grid.js.svn-base2
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/.svn/text-base/gridmodel.js.svn-base3
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/grid.js2
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/gridmodel.js3
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/all-wcprops29
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/entries164
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/text-base/base64.js.svn-base9
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/text-base/cryptaes.js.svn-base22
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/text-base/md5.js.svn-base10
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/text-base/sha1.js.svn-base10
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/base64.js9
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/cryptaes.js22
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/md5.js10
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/sha1.js10
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/html/.svn/all-wcprops11
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/html/.svn/entries62
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/html/.svn/text-base/dlconsole.html.svn-base8
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/html/dlconsole.html8
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/js/.svn/all-wcprops11
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/js/.svn/entries62
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/js/.svn/text-base/thelib.js.svn-base11
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/js/thelib.js12
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/all-wcprops41
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/entries235
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/basedefs.css.svn-base3
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/basedefs.scss.svn-base66
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/default.css.svn-base2103
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/default.scss.svn-base1312
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/dlconsole.css.svn-base16
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/uploadentry.css.svn-base21
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/basedefs.css3
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/basedefs.scss66
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/default.css2103
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/default.scss1312
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/dlconsole.css16
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/all-wcprops227
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/entries1319
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/btn-choose-file.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/btn-choose-file.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/busy1.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-0-disabled.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-0.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-1-disabled.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-1.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-2.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/entry-warning.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/grid-drop-col.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/mark-2.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/mark.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/modalbg.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-0-disabled.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-0.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-1-disabled.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-1.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-2.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resize.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resize.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-horiz.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-horiz1.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-horiz2.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-vert.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-vert1.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-vert2.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-vert2.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebg.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/spinner-down.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/spinner-down.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/spinner-up.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/spinner-up.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/titlebg.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/tmpcal.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/tree-drop-here-lower.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/tree-drop-here-upper.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/tree-drop-here.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/btn-choose-file.gif.svn-basebin0 -> 969 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/btn-choose-file.png.svn-basebin0 -> 1340 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/busy1.gif.svn-basebin0 -> 82 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-0-disabled.png.svn-basebin0 -> 197 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-0.png.svn-basebin0 -> 161 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-1-disabled.png.svn-basebin0 -> 221 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-1.png.svn-basebin0 -> 186 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-2.png.svn-basebin0 -> 217 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/entry-warning.png.svn-basebin0 -> 787 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/grid-drop-col.gif.svn-basebin0 -> 65 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/mark-2.gif.svn-basebin0 -> 848 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/mark.gif.svn-basebin0 -> 848 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/modalbg.gif.svn-basebin0 -> 187 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-0-disabled.png.svn-basebin0 -> 334 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-0.png.svn-basebin0 -> 284 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-1-disabled.png.svn-basebin0 -> 404 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-1.png.svn-basebin0 -> 290 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-2.png.svn-basebin0 -> 431 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resize.gif.svn-basebin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resize.png.svn-basebin0 -> 228 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-horiz.gif.svn-basebin0 -> 111 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-horiz1.gif.svn-basebin0 -> 78 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-horiz2.png.svn-basebin0 -> 172 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-vert.gif.svn-basebin0 -> 108 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-vert1.gif.svn-basebin0 -> 77 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-vert2.gif.svn-basebin0 -> 70 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-vert2.png.svn-basebin0 -> 173 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebg.gif.svn-basebin0 -> 187 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/spinner-down.gif.svn-basebin0 -> 821 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/spinner-down.png.svn-basebin0 -> 178 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/spinner-up.gif.svn-basebin0 -> 821 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/spinner-up.png.svn-basebin0 -> 183 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/titlebg.png.svn-basebin0 -> 264 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/tmpcal.gif.svn-basebin0 -> 64 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/tree-drop-here-lower.gif.svn-basebin0 -> 75 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/tree-drop-here-upper.gif.svn-basebin0 -> 74 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/tree-drop-here.gif.svn-basebin0 -> 74 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/all-wcprops83
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/entries470
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/dropdown.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/nav-left-x2.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/nav-left.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/nav-right-x2.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/nav-right.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-down-disabled.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-down-hover.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-down.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-up-disabled.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-up-hover.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-up.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/sort-ascending.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/sort-descending.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/dropdown.png.svn-basebin0 -> 180 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/nav-left-x2.gif.svn-basebin0 -> 76 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/nav-left.gif.svn-basebin0 -> 66 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/nav-right-x2.gif.svn-basebin0 -> 75 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/nav-right.gif.svn-basebin0 -> 64 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-down-disabled.gif.svn-basebin0 -> 58 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-down-hover.gif.svn-basebin0 -> 58 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-down.gif.svn-basebin0 -> 58 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-up-disabled.gif.svn-basebin0 -> 57 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-up-hover.gif.svn-basebin0 -> 57 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-up.gif.svn-basebin0 -> 57 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/sort-ascending.gif.svn-basebin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/sort-descending.gif.svn-basebin0 -> 64 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/dropdown.pngbin0 -> 180 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/nav-left-x2.gifbin0 -> 76 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/nav-left.gifbin0 -> 66 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/nav-right-x2.gifbin0 -> 75 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/nav-right.gifbin0 -> 64 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-down-disabled.gifbin0 -> 58 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-down-hover.gifbin0 -> 58 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-down.gifbin0 -> 58 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-up-disabled.gifbin0 -> 57 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-up-hover.gifbin0 -> 57 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-up.gifbin0 -> 57 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/sort-ascending.gifbin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/sort-descending.gifbin0 -> 64 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/all-wcprops41
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/entries232
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/s1-dim.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/s1.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/shadow-dim.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/shadow-vb-dim.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/shadow-vb.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/shadow.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/s1-dim.png.svn-basebin0 -> 7506 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/s1.png.svn-basebin0 -> 7546 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/shadow-dim.png.svn-basebin0 -> 1891 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/shadow-vb-dim.png.svn-basebin0 -> 316 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/shadow-vb.png.svn-basebin0 -> 340 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/shadow.png.svn-basebin0 -> 2178 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/s1-dim.pngbin0 -> 7506 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/s1.pngbin0 -> 7546 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/shadow-dim.pngbin0 -> 1891 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/shadow-vb-dim.pngbin0 -> 316 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/shadow-vb.pngbin0 -> 340 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/shadow.pngbin0 -> 2178 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/btn-choose-file.gifbin0 -> 969 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/btn-choose-file.pngbin0 -> 1340 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/busy1.gifbin0 -> 82 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-0-disabled.pngbin0 -> 197 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-0.pngbin0 -> 161 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-1-disabled.pngbin0 -> 221 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-1.pngbin0 -> 186 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-2.pngbin0 -> 217 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/.svn/all-wcprops11
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/.svn/entries62
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/.svn/prop-base/hue.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/.svn/text-base/hue.png.svn-basebin0 -> 338 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/hue.pngbin0 -> 338 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/all-wcprops71
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/entries402
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/buttons.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/maximize-btn-active.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/maximize-btn-hover.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/maximize-btn.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/minimize-btn-active.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/minimize-btn-hover.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/minimize-btn.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/quit-btn-active.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/quit-btn-hover.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/quit-btn.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/buttons.png.svn-basebin0 -> 4917 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/maximize-btn-active.png.svn-basebin0 -> 562 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/maximize-btn-hover.png.svn-basebin0 -> 645 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/maximize-btn.png.svn-basebin0 -> 611 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/minimize-btn-active.png.svn-basebin0 -> 512 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/minimize-btn-hover.png.svn-basebin0 -> 609 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/minimize-btn.png.svn-basebin0 -> 613 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/montage.svn-base1
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/quit-btn-active.png.svn-basebin0 -> 893 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/quit-btn-hover.png.svn-basebin0 -> 943 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/quit-btn.png.svn-basebin0 -> 949 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/buttons.pngbin0 -> 4917 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/maximize-btn-active.pngbin0 -> 562 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/maximize-btn-hover.pngbin0 -> 645 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/maximize-btn.pngbin0 -> 611 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/minimize-btn-active.pngbin0 -> 512 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/minimize-btn-hover.pngbin0 -> 609 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/minimize-btn.pngbin0 -> 613 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/montage1
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/quit-btn-active.pngbin0 -> 893 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/quit-btn-hover.pngbin0 -> 943 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/quit-btn.pngbin0 -> 949 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/entry-warning.pngbin0 -> 787 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/grid-drop-col.gifbin0 -> 65 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/all-wcprops29
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/entries164
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/prop-base/calendar.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/prop-base/colors.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/prop-base/dynarch-small.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/prop-base/gnome-fs-chardev.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/text-base/calendar.png.svn-basebin0 -> 871 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/text-base/colors.png.svn-basebin0 -> 290 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/text-base/dynarch-small.png.svn-basebin0 -> 348 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/text-base/gnome-fs-chardev.png.svn-basebin0 -> 777 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/calendar.pngbin0 -> 871 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/colors.pngbin0 -> 290 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/dynarch-small.pngbin0 -> 348 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/gnome-fs-chardev.pngbin0 -> 777 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/mark-2.gifbin0 -> 848 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/mark.gifbin0 -> 848 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/all-wcprops29
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/entries164
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/prop-base/darrow-small.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/prop-base/darrow.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/prop-base/rarrow-hover.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/prop-base/rarrow.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/text-base/darrow-small.gif.svn-basebin0 -> 49 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/text-base/darrow.gif.svn-basebin0 -> 82 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/text-base/rarrow-hover.gif.svn-basebin0 -> 85 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/text-base/rarrow.gif.svn-basebin0 -> 85 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/darrow-small.gifbin0 -> 49 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/darrow.gifbin0 -> 82 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/rarrow-hover.gifbin0 -> 85 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/rarrow.gifbin0 -> 85 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/modalbg.gifbin0 -> 187 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/all-wcprops155
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/entries878
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-line-active.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-line-insensitive.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-line-prelight.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-line.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-mark-active.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-mark-insensitive.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-mark-prelight.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-mark.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-normal-active.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-normal-insensitive.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-normal-prelight.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-normal.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/checkfocus.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-line-active.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-line-insensitive.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-line-prelight.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-line.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-mark-active.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-mark-insensitive.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-mark-prelight.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-mark.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-normal-active.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-normal-insensitive.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-normal-prelight.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-normal.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-line-active.png.svn-basebin0 -> 412 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-line-insensitive.png.svn-basebin0 -> 358 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-line-prelight.png.svn-basebin0 -> 420 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-line.png.svn-basebin0 -> 374 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-mark-active.png.svn-basebin0 -> 499 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-mark-insensitive.png.svn-basebin0 -> 479 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-mark-prelight.png.svn-basebin0 -> 519 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-mark.png.svn-basebin0 -> 558 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-normal-active.png.svn-basebin0 -> 499 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-normal-insensitive.png.svn-basebin0 -> 330 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-normal-prelight.png.svn-basebin0 -> 354 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-normal.png.svn-basebin0 -> 323 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/checkfocus.png.svn-basebin0 -> 702 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-line-active.png.svn-basebin0 -> 661 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-line-insensitive.png.svn-basebin0 -> 633 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-line-prelight.png.svn-basebin0 -> 675 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-line.png.svn-basebin0 -> 655 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-mark-active.png.svn-basebin0 -> 730 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-mark-insensitive.png.svn-basebin0 -> 695 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-mark-prelight.png.svn-basebin0 -> 732 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-mark.png.svn-basebin0 -> 738 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-normal-active.png.svn-basebin0 -> 730 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-normal-insensitive.png.svn-basebin0 -> 595 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-normal-prelight.png.svn-basebin0 -> 642 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-normal.png.svn-basebin0 -> 619 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-line-active.pngbin0 -> 412 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-line-insensitive.pngbin0 -> 358 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-line-prelight.pngbin0 -> 420 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-line.pngbin0 -> 374 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-mark-active.pngbin0 -> 499 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-mark-insensitive.pngbin0 -> 479 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-mark-prelight.pngbin0 -> 519 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-mark.pngbin0 -> 558 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-normal-active.pngbin0 -> 499 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-normal-insensitive.pngbin0 -> 330 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-normal-prelight.pngbin0 -> 354 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-normal.pngbin0 -> 323 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/checkfocus.pngbin0 -> 702 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-line-active.pngbin0 -> 661 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-line-insensitive.pngbin0 -> 633 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-line-prelight.pngbin0 -> 675 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-line.pngbin0 -> 655 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-mark-active.pngbin0 -> 730 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-mark-insensitive.pngbin0 -> 695 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-mark-prelight.pngbin0 -> 732 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-mark.pngbin0 -> 738 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-normal-active.pngbin0 -> 730 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-normal-insensitive.pngbin0 -> 595 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-normal-prelight.pngbin0 -> 642 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-normal.pngbin0 -> 619 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-0-disabled.pngbin0 -> 334 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-0.pngbin0 -> 284 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-1-disabled.pngbin0 -> 404 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-1.pngbin0 -> 290 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-2.pngbin0 -> 431 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resize.gifbin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resize.pngbin0 -> 228 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-horiz.gifbin0 -> 111 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-horiz1.gifbin0 -> 78 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-horiz2.pngbin0 -> 172 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-vert.gifbin0 -> 108 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-vert1.gifbin0 -> 77 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-vert2.gifbin0 -> 70 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-vert2.pngbin0 -> 173 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebg.gifbin0 -> 187 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/.svn/all-wcprops5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/.svn/entries37
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/all-wcprops59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/entries334
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/B.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/BL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/BR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/L.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/R.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/T.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/TL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/TR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/B.png.svn-basebin0 -> 133 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/BL.png.svn-basebin0 -> 705 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/BR.png.svn-basebin0 -> 499 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/L.png.svn-basebin0 -> 134 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/R.png.svn-basebin0 -> 153 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/T.png.svn-basebin0 -> 128 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/TL.png.svn-basebin0 -> 811 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/TR.png.svn-basebin0 -> 1206 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/shadows.css.svn-base222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/B.pngbin0 -> 133 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/BL.pngbin0 -> 705 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/BR.pngbin0 -> 499 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/L.pngbin0 -> 134 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/R.pngbin0 -> 153 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/T.pngbin0 -> 128 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/TL.pngbin0 -> 811 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/TR.pngbin0 -> 1206 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/shadows.css222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/all-wcprops59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/entries334
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/B.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/BL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/BR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/L.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/R.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/T.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/TL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/TR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/B.png.svn-basebin0 -> 133 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/BL.png.svn-basebin0 -> 783 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/BR.png.svn-basebin0 -> 789 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/L.png.svn-basebin0 -> 168 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/R.png.svn-basebin0 -> 172 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/T.png.svn-basebin0 -> 168 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/TL.png.svn-basebin0 -> 768 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/TR.png.svn-basebin0 -> 1133 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/shadows.css.svn-base222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/B.pngbin0 -> 133 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/BL.pngbin0 -> 783 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/BR.pngbin0 -> 789 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/L.pngbin0 -> 168 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/R.pngbin0 -> 172 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/T.pngbin0 -> 168 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/TL.pngbin0 -> 768 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/TR.pngbin0 -> 1133 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/shadows.css222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/all-wcprops59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/entries334
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/B.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/BL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/BR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/L.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/R.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/T.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/TL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/TR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/B.png.svn-basebin0 -> 140 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/BL.png.svn-basebin0 -> 855 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/BR.png.svn-basebin0 -> 549 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/L.png.svn-basebin0 -> 124 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/R.png.svn-basebin0 -> 136 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/T.png.svn-basebin0 -> 125 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/TL.png.svn-basebin0 -> 371 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/TR.png.svn-basebin0 -> 725 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/shadows.css.svn-base222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/B.pngbin0 -> 140 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/BL.pngbin0 -> 855 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/BR.pngbin0 -> 549 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/L.pngbin0 -> 124 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/R.pngbin0 -> 136 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/T.pngbin0 -> 125 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/TL.pngbin0 -> 371 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/TR.pngbin0 -> 725 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/shadows.css222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/spinner-down.gifbin0 -> 821 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/spinner-down.pngbin0 -> 178 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/spinner-up.gifbin0 -> 821 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/spinner-up.pngbin0 -> 183 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/all-wcprops59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/entries334
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/B.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/BL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/BR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/L.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/R.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/T.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/TL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/TR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/B.png.svn-basebin0 -> 128 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/BL.png.svn-basebin0 -> 495 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/BR.png.svn-basebin0 -> 478 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/L.png.svn-basebin0 -> 110 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/R.png.svn-basebin0 -> 115 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/T.png.svn-basebin0 -> 107 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/TL.png.svn-basebin0 -> 483 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/TR.png.svn-basebin0 -> 615 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/shadows.css.svn-base222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/B.pngbin0 -> 128 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/BL.pngbin0 -> 495 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/BR.pngbin0 -> 478 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/L.pngbin0 -> 110 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/R.pngbin0 -> 115 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/T.pngbin0 -> 107 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/TL.pngbin0 -> 483 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/TR.pngbin0 -> 615 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/shadows.css222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/all-wcprops59
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/entries334
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/B.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/BL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/BR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/L.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/R.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/T.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/TL.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/TR.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/B.png.svn-basebin0 -> 224 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/BL.png.svn-basebin0 -> 711 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/BR.png.svn-basebin0 -> 716 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/L.png.svn-basebin0 -> 178 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/R.png.svn-basebin0 -> 200 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/T.png.svn-basebin0 -> 190 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/TL.png.svn-basebin0 -> 680 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/TR.png.svn-basebin0 -> 633 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/shadows.css.svn-base222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/B.pngbin0 -> 224 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/BL.pngbin0 -> 711 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/BR.pngbin0 -> 716 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/L.pngbin0 -> 178 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/R.pngbin0 -> 200 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/T.pngbin0 -> 190 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/TL.pngbin0 -> 680 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/TR.pngbin0 -> 633 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/shadows.css222
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/titlebg.pngbin0 -> 264 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tmpcal.gifbin0 -> 64 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree-drop-here-lower.gifbin0 -> 75 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree-drop-here-upper.gifbin0 -> 74 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree-drop-here.gifbin0 -> 74 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/all-wcprops71
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/entries402
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/dot.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/lines-b.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/lines-c.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/lines-tcb.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/lines-v.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/minus-hover.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/minus.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/minus.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/plus-hover.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/plus.gif.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/plus.png.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/dot.gif.svn-basebin0 -> 85 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/lines-b.gif.svn-basebin0 -> 257 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/lines-c.gif.svn-basebin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/lines-tcb.gif.svn-basebin0 -> 308 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/lines-v.gif.svn-basebin0 -> 54 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/minus-hover.gif.svn-basebin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/minus.gif.svn-basebin0 -> 68 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/minus.png.svn-basebin0 -> 260 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/plus-hover.gif.svn-basebin0 -> 64 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/plus.gif.svn-basebin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/plus.png.svn-basebin0 -> 291 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/dot.gifbin0 -> 85 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/lines-b.gifbin0 -> 257 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/lines-c.gifbin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/lines-tcb.gifbin0 -> 308 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/lines-v.gifbin0 -> 54 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/minus-hover.gifbin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/minus.gifbin0 -> 68 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/minus.pngbin0 -> 260 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/plus-hover.gifbin0 -> 64 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/plus.gifbin0 -> 67 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/plus.pngbin0 -> 291 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/uploadentry.css21
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/.svn/all-wcprops11
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/.svn/entries62
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/.svn/prop-base/flash.swf.svn-base5
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/.svn/text-base/flash.swf.svn-basebin0 -> 2117 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/flash.swfbin0 -> 2117 bytes
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/gnow-test.js822
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/index.html52
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/test.css4
-rw-r--r--gstudio/static/gstudio/js/Gnowmacs/test/test.js352
1129 files changed, 87477 insertions, 0 deletions
diff --git a/gstudio/static/gstudio/js/Gnowmacs/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/.svn/all-wcprops
new file mode 100644
index 0000000..2a0d283
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/.svn/all-wcprops
@@ -0,0 +1,5 @@
+K 25
+svn:wc:ra_dav:version-url
+V 30
+/svn/labcode/!svn/ver/56/Ymacs
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/.svn/entries
new file mode 100644
index 0000000..e266651
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/.svn/entries
@@ -0,0 +1,34 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-07-04T13:18:15.544880Z
+56
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+test
+dir
+
+src
+dir
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/src/.svn/all-wcprops
new file mode 100644
index 0000000..546cd66
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/.svn/all-wcprops
@@ -0,0 +1,5 @@
+K 25
+svn:wc:ra_dav:version-url
+V 34
+/svn/labcode/!svn/ver/56/Ymacs/src
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/src/.svn/entries
new file mode 100644
index 0000000..5192ce1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/.svn/entries
@@ -0,0 +1,40 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/src
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-07-04T13:18:15.544880Z
+56
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+el
+dir
+
+css
+dir
+
+js
+dir
+
+js-minified
+dir
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/all-wcprops
new file mode 100644
index 0000000..332c488
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/all-wcprops
@@ -0,0 +1,35 @@
+K 25
+svn:wc:ra_dav:version-url
+V 37
+/svn/labcode/!svn/ver/2/Ymacs/src/css
+END
+ymacs-dark.css
+K 25
+svn:wc:ra_dav:version-url
+V 52
+/svn/labcode/!svn/ver/2/Ymacs/src/css/ymacs-dark.css
+END
+ymacs.css
+K 25
+svn:wc:ra_dav:version-url
+V 47
+/svn/labcode/!svn/ver/2/Ymacs/src/css/ymacs.css
+END
+ymacs-syntax-dark.css
+K 25
+svn:wc:ra_dav:version-url
+V 59
+/svn/labcode/!svn/ver/2/Ymacs/src/css/ymacs-syntax-dark.css
+END
+ymacs-light.css
+K 25
+svn:wc:ra_dav:version-url
+V 53
+/svn/labcode/!svn/ver/2/Ymacs/src/css/ymacs-light.css
+END
+ymacs-syntax-light.css
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svn/labcode/!svn/ver/2/Ymacs/src/css/ymacs-syntax-light.css
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/entries
new file mode 100644
index 0000000..519cd96
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/entries
@@ -0,0 +1,201 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/src/css
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+ymacs-dark.css
+file
+
+
+
+
+2012-01-23T13:07:10.461354Z
+663fc78e7ba3e24afc1e42ede7a496f7
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1681
+
+ymacs.css
+file
+
+
+
+
+2012-01-23T13:07:10.461354Z
+4671fca7e6e450d3044bfb8790ba5b29
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+2401
+
+themes
+dir
+
+ymacs-syntax-dark.css
+file
+
+
+
+
+2012-01-23T13:07:10.461354Z
+44bda10d7f1a965982db9f4cdf5f0306
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+5873
+
+ymacs-light.css
+file
+
+
+
+
+2012-01-23T13:07:10.461354Z
+6d5a4521616b67eb48db51ac923b0b4d
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1507
+
+ymacs-syntax-light.css
+file
+
+
+
+
+2012-01-23T13:07:10.461354Z
+c6e513b09ac800be5e67bfeacf4189d1
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4247
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs-dark.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs-dark.css.svn-base
new file mode 100644
index 0000000..adbc0ef
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs-dark.css.svn-base
@@ -0,0 +1,60 @@
+@import url("ymacs-syntax-dark.css");
+
+@import url("themes/emacs-mishoo.css");
+@import url("themes/emacs-billw.css");
+@import url("themes/emacs-charcoal-black.css");
+@import url("themes/emacs-clarity-and-beauty.css");
+@import url("themes/emacs-classic.css");
+@import url("themes/emacs-gnome2.css");
+@import url("themes/emacs-calm-forest.css");
+@import url("themes/emacs-linh-dang-dark.css");
+@import url("themes/emacs-blue-mood.css");
+@import url("themes/emacs-zenburn.css");
+@import url("themes/emacs-standard-dark.css");
+
+.Ymacs-Theme-dark .Ymacs-caret {
+ background-color: #aaa;
+ /* outline: 1px solid #f83; */
+}
+
+.Ymacs-Theme-dark .Ymacs_Frame-focus .Ymacs-caret {
+ background-color: #f83;
+ color: #324 !important;
+ /* outline: none; */
+}
+
+.Ymacs-Theme-dark .Ymacs_Frame-focus .Ymacs-current-line {
+ background-color: #000;
+}
+
+.Ymacs-Theme-dark .Ymacs-overwrite-mode .Ymacs-caret {
+ background-color: #97f;
+ color: #fff;
+}
+
+.Ymacs-Theme-dark .Ymacs_Overlay .match-paren { background: #8f8; }
+.Ymacs-Theme-dark .Ymacs_Overlay .selection { background: #ccf; }
+.Ymacs-Theme-dark .Ymacs_Overlay .isearch { background: #ffc; }
+
+.Ymacs-Theme-dark .Ymacs_Modeline {
+ background-color: #777;
+ color: #111;
+ border-top: 1px solid #999;
+ border-bottom: 1px solid #000;
+}
+
+.Ymacs-Theme-dark .Ymacs_Frame-active .Ymacs_Modeline {
+ background-color: #bbb;
+ color: #000;
+ border-top: 1px solid #fff;
+}
+
+.Ymacs-Theme-dark .Ymacs-line-numbers .Ymacs-frame-content div.line:before {
+ border-right: 1px dotted #888;
+ background-color: #112;
+}
+
+.Ymacs-Theme-dark .Ymacs-line-numbers .Ymacs-frame-content div.Ymacs-current-line:before {
+ background-color: #000;
+ color: #f51;
+}
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs-light.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs-light.css.svn-base
new file mode 100644
index 0000000..8da102c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs-light.css.svn-base
@@ -0,0 +1,56 @@
+@import url("ymacs-syntax-light.css");
+
+@import url("themes/emacs-andreas.css");
+@import url("themes/emacs-high-contrast.css");
+@import url("themes/emacs-gtk-ide.css");
+@import url("themes/emacs-standard-xemacs.css");
+@import url("themes/emacs-bharadwaj.css");
+@import url("themes/emacs-scintilla.css");
+@import url("themes/emacs-vim-colors.css");
+@import url("themes/emacs-standard.css");
+
+.Ymacs-Theme-light .Ymacs-caret {
+ background-color: #888;
+}
+
+.Ymacs-Theme-light .Ymacs_Frame-focus .Ymacs-caret {
+ background-color: #f51;
+ color: #324;
+}
+
+.Ymacs-Theme-light .Ymacs_Frame-focus .Ymacs-current-line {
+ background-color: #fdb;
+}
+
+.Ymacs-Theme-light .Ymacs-overwrite-mode .Ymacs-caret {
+ background-color: #97f;
+ color: #fff;
+}
+
+
+.Ymacs-Theme-light .Ymacs_Overlay .match-paren { background: #080; }
+.Ymacs-Theme-light .Ymacs_Overlay .selection { background: #88f; opacity: 0.8; }
+.Ymacs-Theme-light .Ymacs_Overlay .isearch { background: #a22; }
+
+.Ymacs-Theme-light .Ymacs_Modeline {
+ background-color: #777;
+ color: #111;
+ border-top: 1px solid #999;
+ border-bottom: 1px solid #000;
+}
+
+.Ymacs-Theme-light .Ymacs_Frame-active .Ymacs_Modeline {
+ background-color: #bbb;
+ color: #000;
+ border-top: 1px solid #fff;
+}
+
+.Ymacs-Theme-light .Ymacs-line-numbers .Ymacs-frame-content div.line:before {
+ border-right: 1px dotted #888;
+ background-color: #edc;
+}
+
+.Ymacs-Theme-light .Ymacs-line-numbers .Ymacs-frame-content div.Ymacs-current-line:before {
+ background-color: #fdb;
+ color: #000;
+}
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs-syntax-dark.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs-syntax-dark.css.svn-base
new file mode 100644
index 0000000..4a5d8e8
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs-syntax-dark.css.svn-base
@@ -0,0 +1,73 @@
+/* general stuff */
+
+.Ymacs-Theme-dark .Ymacs_Frame { color: wheat; background-color: #262626; }
+
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .type { color: #87ceeb; font-weight: bold; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .builtin { color: rgb(176, 196, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .function-name { color: rgb(135, 206, 250); font-weight: bold; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .variable-name { color: rgb(238, 221, 130); font-weight: bold; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .constant { color: rgb(127, 255, 212); font-style: normal; }
+
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .string { color: rgb(250, 200, 80); font-style: normal; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .string-starter,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .string-stopper { color: #c59500; }
+
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .regexp { color: #d9f; font-style: normal; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .regexp-starter,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .regexp-stopper,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .regexp-modifier { color: #e4f; font-weight: bold; }
+
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .keyword { color: rgb(0, 255, 255); font-weight: bold; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .comment,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .mcomment { color: #45cc00; font-style: normal; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .comment-starter,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .mcomment-starter,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .mcomment-stopper { color: #999; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .number { color: yellow; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .operator { color: #fff; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .error { color: #ff0; background-color: #a00; font-weight: bold; }
+/* .Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .trailing-whitespace { text-decoration: underline; color: #777; } */
+
+/* XML mode */
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-open-tag,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-close-tag { color: rgb(0, 255, 255); font-weight: bold; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-attribute { color: rgb(106, 176, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-entity-starter,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-entity-stopper { color: #f4c; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-entity { color: #e4f; font-style: normal; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-closetag-slash { color: #f51; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-open-bracket,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-close-bracket { color: #a56500; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-cdata { color: #bbb; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-cdata-starter,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-cdata-stopper { color: #888; }
+
+/* Lisp mode */
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .lisp-keyword { color: #8f8; font-weight: bold; }
+
+/* Markdown mode */
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-heading1 { color: #8df; font-weight: bold; font-size: 200%; font-family: "Lucida Grande","Trebuchet MS",Verdana,Tahoma,sans-serif;; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-heading2 { color: #8df; font-weight: bold; font-size: 170%; font-family: "Lucida Grande","Trebuchet MS",Verdana,Tahoma,sans-serif;; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-heading3 { color: #8df; font-weight: bold; font-size: 150%; font-family: "Lucida Grande","Trebuchet MS",Verdana,Tahoma,sans-serif;; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-heading4 { color: #8df; font-weight: bold; font-size: 130%; font-family: "Lucida Grande","Trebuchet MS",Verdana,Tahoma,sans-serif;; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-heading5 { color: #8df; font-weight: bold; font-size: 110%; font-family: "Lucida Grande","Trebuchet MS",Verdana,Tahoma,sans-serif;; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-heading6 { color: #8df; font-weight: bold; font-size: 100%; font-family: "Lucida Grande","Trebuchet MS",Verdana,Tahoma,sans-serif;; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-blockquote1 { color: #8f8; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-blockquote2 { color: #88f; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-blockquote3 { color: #f8f; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-blockquote { color: #aaa; }
+
+/* Org Mode */
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-bold { font-weight: bold; color: rgb(176, 196, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-italic { font-style: italic; color: rgb(176, 196, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-underline { text-decoration: underline; color: rgb(176, 196, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-strike { text-decoration: line-through; color: rgb(176, 196, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: rgb(176, 196, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-link-text {text-decoration: underline; color: rgb(176, 196, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: rgb(176, 196, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-heading1 { color: rgb(176, 196, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs-syntax-light.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs-syntax-light.css.svn-base
new file mode 100644
index 0000000..e52c77c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs-syntax-light.css.svn-base
@@ -0,0 +1,58 @@
+/* general stuff */
+
+.Ymacs-Theme-light .Ymacs_Frame { color: #222; background-color: wheat;}
+
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .type { color: #6b8e23; font-weight: bold; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .builtin { color: #9932cc; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .function-name { color: #5f5fff; font-weight: bold; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .variable-name { color: #ba8912; font-weight: bold; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .constant { color: #53868b; font-style: normal; }
+
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .string { color: #8b6969; font-style: normal; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .string-starter,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .string-stopper { color: #6b4949; }
+
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .regexp { color: #8b008b; font-style: normal; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .regexp-starter,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .regexp-stopper,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .regexp-modifier { color: #6b006b; font-weight: bold; }
+
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .keyword { color: #4020f0; font-weight: bold; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .comment,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .mcomment { color: #080; font-style: italic; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .comment-starter,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .mcomment-starter,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .mcomment-stopper { color: #333; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .number { color: #c00; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .operator { color: #000; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .error { color: #f00; background-color: #faa; font-weight: bold; }
+/* .Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .trailing-whitespace { text-decoration: underline; color: #777; } */
+
+/* XML mode */
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-open-tag,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-close-tag { color: #4020f0; font-weight: bold; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-attribute { color: #6b8e23; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-entity-starter,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-entity-stopper { color: #d4a; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-entity { color: #c4d; font-style: normal; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-closetag-slash { color: #f51; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-open-bracket,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-close-bracket { color: #a56500; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-cdata { color: #555; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-cdata-starter,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-cdata-stopper { color: #888; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-cdata-stopper { font-weight: bold; color: #9932cc; }
+
+/* Org Mode */
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-bold { font-weight: bold; color: #9932cc; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-italic { font-style: italic; color: #9932cc; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-underline { text-decoration: underline; color: #9932cc; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-strike { text-decoration: line-through; color: #9932cc; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #9932cc; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-link-text {text-decoration: underline; color: #9932cc; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #9932cc; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-heading1 { color: #9932cc; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs.css.svn-base
new file mode 100644
index 0000000..37fc096
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/.svn/text-base/ymacs.css.svn-base
@@ -0,0 +1,92 @@
+@import url("ymacs-dark.css");
+@import url("ymacs-light.css");
+
+.Ymacs_Frame {
+ font-family: "DejaVu Sans Mono","Lucida Sans Typewriter",monospace;
+ overflow: hidden;
+}
+
+/* .Ymacs_Frame { */
+/* opacity: 0.8; */
+/* } */
+/* .Ymacs_Frame-active { */
+/* opacity: 1; */
+/* } */
+
+.Ymacs-frame-overlays {
+ overflow: hidden;
+ position: relative;
+}
+
+.Ymacs-frame-content {
+ white-space: pre;
+ padding-bottom: 1000px;
+}
+
+.Ymacs-caret {
+ margin: 0;
+ padding: 0;
+}
+
+.Ymacs_Frame-focus .Ymacs-caret {
+ opacity: 1;
+}
+
+.Ymacs_Minibuffer .Ymacs-caret { background-color: inherit; color: inherit; }
+
+.Ymacs_Minibuffer .Ymacs_Modeline { display: none; }
+
+.Ymacs_Minibuffer .Ymacs-frame-content {
+ padding-bottom: 0;
+}
+
+/* .Ymacs_Frame-hasOverlays .Ymacs-current-line { */
+/* background: transparent !important; */
+/* } */
+
+.Ymacs-overwrite-mode .Ymacs-caret {
+ -moz-border-radius: 15px;
+}
+
+.Ymacs_Overlay { position: absolute; right: 0; opacity: 0.5; filter: alpha(opacity=50); }
+.Ymacs_Overlay .match-paren { opacity: 0.4; filter: alpha(opacity=40); }
+.Ymacs_Overlay .selection { opacity: 0.7; filter: alpha(opacity=70); }
+
+.Ymacs_Message_Popup {
+ background-color: wheat;
+ padding: 10px;
+}
+
+.Ymacs_Modeline {
+ font-family: "Lucida Sans Typewriter",monospace;
+ white-space: pre;
+ padding-bottom: 1px;
+ overflow: hidden;
+}
+
+.Ymacs_Modeline:after {
+ content: "-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
+}
+
+.Ymacs_Message_Popup {
+ background-color: wheat;
+ color: #000;
+ padding: 10px;
+}
+
+.Ymacs_Completion_Popup .DlMenuItem .div2 { font-size: 100%; }
+
+.Ymacs-line-numbers .Ymacs-frame-content { counter-reset: ymacs-line 0; }
+.Ymacs-line-numbers .Ymacs-frame-content div.line { counter-increment: ymacs-line; }
+.Ymacs-line-numbers .Ymacs-frame-content div.line:before {
+ color: #888;
+ display: inline-block;
+ width: 3em;
+ padding-right: 0.5em;
+ margin-right: 0.5em;
+ content: counter(ymacs-line, decimal);
+ text-align: right;
+}
+
+.Ymacs-splitbar-horiz { border-bottom: 1px solid #000; }
+.Ymacs-splitbar-vert { border-left: 1px solid #000; border-right: 1px solid #000; border-bottom: 1px solid #000; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/all-wcprops
new file mode 100644
index 0000000..34372ee
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/all-wcprops
@@ -0,0 +1,119 @@
+K 25
+svn:wc:ra_dav:version-url
+V 44
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes
+END
+emacs-billw.css
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes/emacs-billw.css
+END
+emacs-high-contrast.css
+K 25
+svn:wc:ra_dav:version-url
+V 68
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes/emacs-high-contrast.css
+END
+emacs-calm-forest.css
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes/emacs-calm-forest.css
+END
+emacs-andreas.css
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes/emacs-andreas.css
+END
+emacs-standard-xemacs.css
+K 25
+svn:wc:ra_dav:version-url
+V 70
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes/emacs-standard-xemacs.css
+END
+emacs-standard-dark.css
+K 25
+svn:wc:ra_dav:version-url
+V 68
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes/emacs-standard-dark.css
+END
+emacs-linh-dang-dark.css
+K 25
+svn:wc:ra_dav:version-url
+V 69
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes/emacs-linh-dang-dark.css
+END
+emacs-classic.css
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes/emacs-classic.css
+END
+emacs-scintilla.css
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes/emacs-scintilla.css
+END
+emacs-blue-mood.css
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes/emacs-blue-mood.css
+END
+emacs-bharadwaj.css
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes/emacs-bharadwaj.css
+END
+emacs-zenburn.css
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes/emacs-zenburn.css
+END
+emacs-gtk-ide.css
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes/emacs-gtk-ide.css
+END
+emacs-charcoal-black.css
+K 25
+svn:wc:ra_dav:version-url
+V 69
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes/emacs-charcoal-black.css
+END
+emacs-gnome2.css
+K 25
+svn:wc:ra_dav:version-url
+V 61
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes/emacs-gnome2.css
+END
+emacs-vim-colors.css
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes/emacs-vim-colors.css
+END
+emacs-mishoo.css
+K 25
+svn:wc:ra_dav:version-url
+V 61
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes/emacs-mishoo.css
+END
+emacs-clarity-and-beauty.css
+K 25
+svn:wc:ra_dav:version-url
+V 73
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes/emacs-clarity-and-beauty.css
+END
+emacs-standard.css
+K 25
+svn:wc:ra_dav:version-url
+V 63
+/svn/labcode/!svn/ver/2/Ymacs/src/css/themes/emacs-standard.css
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/entries
new file mode 100644
index 0000000..0c5ce3b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/entries
@@ -0,0 +1,674 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/src/css/themes
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+emacs-billw.css
+file
+
+
+
+
+2012-01-23T13:07:10.453354Z
+0ef746fdf589588ca60196644a51bf3b
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4146
+
+emacs-high-contrast.css
+file
+
+
+
+
+2012-01-23T13:07:10.453354Z
+3ae2ab45da0b4fedf7ec25deda69f6e1
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+5000
+
+emacs-calm-forest.css
+file
+
+
+
+
+2012-01-23T13:07:10.453354Z
+276fcd55811d81371a621b4941583ce8
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4431
+
+emacs-andreas.css
+file
+
+
+
+
+2012-01-23T13:07:10.453354Z
+17804e1dde35a46f18f2dbf9a48fc6a0
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4260
+
+emacs-standard-xemacs.css
+file
+
+
+
+
+2012-01-23T13:07:10.453354Z
+25d5f100e422920e0d7c63e1786ed5d6
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4716
+
+emacs-standard-dark.css
+file
+
+
+
+
+2012-01-23T13:07:10.453354Z
+b324336df57735d380edc083afc4c995
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4525
+
+emacs-linh-dang-dark.css
+file
+
+
+
+
+2012-01-23T13:07:10.457354Z
+c118bc1ab946fbda6427f7d9121018b3
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4945
+
+emacs-classic.css
+file
+
+
+
+
+2012-01-23T13:07:10.457354Z
+c32d1177f4dc31ed7a59392de267d7ec
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4386
+
+emacs-scintilla.css
+file
+
+
+
+
+2012-01-23T13:07:10.457354Z
+960541e76305e57f391a5fd52c774edb
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4385
+
+emacs-blue-mood.css
+file
+
+
+
+
+2012-01-23T13:07:10.457354Z
+38fdff6115932eafa1cdb0ecd4fd85f3
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4640
+
+emacs-bharadwaj.css
+file
+
+
+
+
+2012-01-23T13:07:10.457354Z
+b24239adc67d2e6668fcb73502079275
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4431
+
+emacs-zenburn.css
+file
+
+
+
+
+2012-01-23T13:07:10.457354Z
+0f738d58b07ae61fd0a29e1399bce2cf
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4347
+
+emacs-gtk-ide.css
+file
+
+
+
+
+2012-01-23T13:07:10.457354Z
+db61db429fa70d8948d3e2953db857c3
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4658
+
+emacs-charcoal-black.css
+file
+
+
+
+
+2012-01-23T13:07:10.457354Z
+4e7d266fbdd33bb4c74e683e89592830
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4808
+
+emacs-gnome2.css
+file
+
+
+
+
+2012-01-23T13:07:10.457354Z
+cb75fe7ad38a8217785ee9f32b9783e4
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4352
+
+emacs-vim-colors.css
+file
+
+
+
+
+2012-01-23T13:07:10.457354Z
+f0ec0cbc1a5e7021c413aa3a3faf623d
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4562
+
+emacs-mishoo.css
+file
+
+
+
+
+2012-01-23T13:07:10.457354Z
+7bad7ea5d28819ba7e03183787117ea2
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+3194
+
+emacs-clarity-and-beauty.css
+file
+
+
+
+
+2012-01-23T13:07:10.457354Z
+08cce2ac7863ad5361cf9cb7d6468bb8
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4960
+
+emacs-standard.css
+file
+
+
+
+
+2012-01-23T13:07:10.457354Z
+d0ac8f9f4cc9c7ea231d34d2950ab504
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4240
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-andreas.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-andreas.css.svn-base
new file mode 100644
index 0000000..8208622
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-andreas.css.svn-base
@@ -0,0 +1,59 @@
+.Ymacs-Theme-andreas .Ymacs_Frame { color: #000000; background-color: #ffffff; }
+.Ymacs-Theme-andreas .Ymacs_Frame .type { color: #681fab; }
+.Ymacs-Theme-andreas .Ymacs_Frame .builtin { color: #da70d6; }
+.Ymacs-Theme-andreas .Ymacs_Frame .function-name { color: #0000cd; }
+.Ymacs-Theme-andreas .Ymacs_Frame .variable-name { color: #0000cd; }
+.Ymacs-Theme-andreas .Ymacs_Frame .constant { color: #5f9ea0; }
+.Ymacs-Theme-andreas .Ymacs_Frame .string { color: #008b00; }
+.Ymacs-Theme-andreas .Ymacs_Frame .string-starter { color: #008b00; }
+.Ymacs-Theme-andreas .Ymacs_Frame .string-stopper { color: #008b00; }
+.Ymacs-Theme-andreas .Ymacs_Frame .regexp { color: #008b00; }
+.Ymacs-Theme-andreas .Ymacs_Frame .regexp-starter { color: #008b00; }
+.Ymacs-Theme-andreas .Ymacs_Frame .regexp-stopper { color: #008b00; }
+.Ymacs-Theme-andreas .Ymacs_Frame .regexp-modifier { color: #008b00; }
+.Ymacs-Theme-andreas .Ymacs_Frame .keyword { color: #ff0000; }
+.Ymacs-Theme-andreas .Ymacs_Frame .comment { color: #ffa500; }
+.Ymacs-Theme-andreas .Ymacs_Frame .mcomment { color: #ffa500; }
+.Ymacs-Theme-andreas .Ymacs_Frame .comment-starter { color: #b22222; }
+.Ymacs-Theme-andreas .Ymacs_Frame .mcomment-starter { color: #b22222; }
+.Ymacs-Theme-andreas .Ymacs_Frame .mcomment-stopper { color: #b22222; }
+.Ymacs-Theme-andreas .Ymacs_Frame .number { color: #5f9ea0; }
+.Ymacs-Theme-andreas .Ymacs_Frame .operator { }
+.Ymacs-Theme-andreas .Ymacs_Frame .error { color: #ff0000; font-weight: bold; }
+.Ymacs-Theme-andreas .Ymacs_Frame .xml-open-tag { color: #0000cd; }
+.Ymacs-Theme-andreas .Ymacs_Frame .xml-close-tag { color: #0000cd; }
+.Ymacs-Theme-andreas .Ymacs_Frame .xml-attribute { color: #0000cd; }
+.Ymacs-Theme-andreas .Ymacs_Frame .xml-entity-starter { color: #5f9ea0; }
+.Ymacs-Theme-andreas .Ymacs_Frame .xml-entity-stopper { color: #5f9ea0; }
+.Ymacs-Theme-andreas .Ymacs_Frame .xml-entity { color: #5f9ea0; }
+.Ymacs-Theme-andreas .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-andreas .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-andreas .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-andreas .Ymacs_Frame .xml-cdata { color: #ffa500; }
+.Ymacs-Theme-andreas .Ymacs_Frame .xml-cdata-starter { color: #b22222; }
+.Ymacs-Theme-andreas .Ymacs_Frame .xml-cdata-stopper { color: #b22222; }
+.Ymacs-Theme-andreas .Ymacs_Frame .lisp-keyword { color: #5f9ea0; }
+.Ymacs-Theme-andreas .Ymacs_Frame .markdown-heading1 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-andreas .Ymacs_Frame .markdown-heading2 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-andreas .Ymacs_Frame .markdown-heading3 { font-weight: bold; font-size: 1.508em; }
+.Ymacs-Theme-andreas .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.925em; }
+.Ymacs-Theme-andreas .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-andreas .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-andreas .Ymacs_Frame .markdown-blockquote { color: #ffa500; }
+.Ymacs-Theme-andreas .Ymacs_Frame .markdown-blockquote1 { color: #ffa500; }
+.Ymacs-Theme-andreas .Ymacs_Frame .markdown-blockquote2 { color: #ffa500; }
+.Ymacs-Theme-andreas .Ymacs_Frame .markdown-blockquote3 { color: #ffa500; }
+
+/* Org Mode */
+.Ymacs-Theme-andreas .Ymacs_Frame .org-bold { font-weight: bold; color: #da70d6; }
+.Ymacs-Theme-andreas .Ymacs_Frame .org-italic { font-style: italic; color: #da70d6; }
+.Ymacs-Theme-andreas .Ymacs_Frame .org-underline { text-decoration: underline; color: #da70d6; }
+.Ymacs-Theme-andreas .Ymacs_Frame .org-strike { text-decoration: line-through; color: #da70d6; }
+.Ymacs-Theme-andreas .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #da70d6; }
+.Ymacs-Theme-andreas .Ymacs_Frame .org-link-text {text-decoration: underline; color: #da70d6; }
+.Ymacs-Theme-andreas .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #da70d6; }
+.Ymacs-Theme-andreas .Ymacs_Frame .org-heading1 { color: #da70d6; }
+.Ymacs-Theme-andreas .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-andreas .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-andreas .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-andreas .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-bharadwaj.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-bharadwaj.css.svn-base
new file mode 100644
index 0000000..d154472
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-bharadwaj.css.svn-base
@@ -0,0 +1,59 @@
+.Ymacs-Theme-bharadwaj .Ymacs_Frame { color: #000000; background-color: #dcdcdc; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .type { color: #36648b; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .builtin { color: #228b22; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .function-name { color: #6a5acd; font-weight: bold; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .variable-name { color: #b8860b; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .constant { color: #6b8e23; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .string { color: #8b0000; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .string-starter { color: #8b0000; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .string-stopper { color: #8b0000; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .regexp { color: #8b0000; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .regexp-starter { color: #8b0000; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .regexp-stopper { color: #8b0000; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .regexp-modifier { color: #8b0000; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .keyword { color: #00008b; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .comment { color: #8c8c8c; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .mcomment { color: #8c8c8c; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .comment-starter { color: #b22222; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .mcomment-starter { color: #b22222; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .mcomment-stopper { color: #b22222; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .number { color: #6b8e23; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .operator { }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .error { color: #d02090; font-weight: bold; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-open-tag { color: #6a5acd; font-weight: bold; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-close-tag { color: #6a5acd; font-weight: bold; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-attribute { color: #b8860b; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-entity-starter { color: #6b8e23; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-entity-stopper { color: #6b8e23; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-entity { color: #6b8e23; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-cdata { color: #8c8c8c; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-cdata-starter { color: #b22222; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-cdata-stopper { color: #b22222; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .lisp-keyword { color: #6b8e23; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-heading1 { font-weight: bold; font-size: 2.207em; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-heading2 { font-weight: bold; font-size: 1.768em; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-heading3 { font-weight: bold; font-size: 2.110em; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.646em; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-blockquote { color: #8c8c8c; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-blockquote1 { color: #8c8c8c; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-blockquote2 { color: #8c8c8c; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-blockquote3 { color: #8c8c8c; }
+
+/* Org Mode */
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-bold { font-weight: bold; color: #228b22; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-italic { font-style: italic; color: #228b22; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-underline { text-decoration: underline; color: #228b22; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-strike { text-decoration: line-through; color: #228b22; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #228b22; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-link-text {text-decoration: underline; color: #228b22; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #228b22; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-heading1 { color: #228b22; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-billw.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-billw.css.svn-base
new file mode 100644
index 0000000..13ac882
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-billw.css.svn-base
@@ -0,0 +1,59 @@
+.Ymacs-Theme-billw .Ymacs_Frame { color: #fff8dc; background-color: #000000; }
+.Ymacs-Theme-billw .Ymacs_Frame .type { color: #ffff00; }
+.Ymacs-Theme-billw .Ymacs_Frame .builtin { color: #b0c4de; }
+.Ymacs-Theme-billw .Ymacs_Frame .function-name { color: #00fa9a; }
+.Ymacs-Theme-billw .Ymacs_Frame .variable-name { color: #ffa07a; }
+.Ymacs-Theme-billw .Ymacs_Frame .constant { color: #fa8072; }
+.Ymacs-Theme-billw .Ymacs_Frame .string { color: #ffa500; }
+.Ymacs-Theme-billw .Ymacs_Frame .string-starter { color: #ffa500; }
+.Ymacs-Theme-billw .Ymacs_Frame .string-stopper { color: #ffa500; }
+.Ymacs-Theme-billw .Ymacs_Frame .regexp { color: #ffa500; }
+.Ymacs-Theme-billw .Ymacs_Frame .regexp-starter { color: #ffa500; }
+.Ymacs-Theme-billw .Ymacs_Frame .regexp-stopper { color: #ffa500; }
+.Ymacs-Theme-billw .Ymacs_Frame .regexp-modifier { color: #ffa500; }
+.Ymacs-Theme-billw .Ymacs_Frame .keyword { color: #00ffff; }
+.Ymacs-Theme-billw .Ymacs_Frame .comment { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .mcomment { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .comment-starter { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .mcomment-starter { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .mcomment-stopper { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .number { color: #fa8072; }
+.Ymacs-Theme-billw .Ymacs_Frame .operator { }
+.Ymacs-Theme-billw .Ymacs_Frame .error { color: #ffd700; font-weight: bold; }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-open-tag { color: #00fa9a; }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-close-tag { color: #00fa9a; }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-attribute { color: #ffa07a; }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-entity-starter { color: #fa8072; }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-entity-stopper { color: #fa8072; }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-entity { color: #fa8072; }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-cdata { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-cdata-starter { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-cdata-stopper { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .lisp-keyword { color: #fa8072; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-heading1 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-heading2 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-heading3 { font-weight: bold; font-size: 1.508em; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.925em; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-blockquote { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-blockquote1 { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-blockquote2 { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-blockquote3 { color: #ffd700; }
+
+/* Org Mode */
+.Ymacs-Theme-billw .Ymacs_Frame .org-bold { font-weight: bold; color: #b0c4de; }
+.Ymacs-Theme-billw .Ymacs_Frame .org-italic { font-style: italic; color: #b0c4de; }
+.Ymacs-Theme-billw .Ymacs_Frame .org-underline { text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-billw .Ymacs_Frame .org-strike { text-decoration: line-through; color: #b0c4de; }
+.Ymacs-Theme-billw .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-billw .Ymacs_Frame .org-link-text {text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-billw .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-billw .Ymacs_Frame .org-heading1 { color: #b0c4de; }
+.Ymacs-Theme-billw .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-billw .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-billw .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-billw .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-blue-mood.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-blue-mood.css.svn-base
new file mode 100644
index 0000000..18a65bf
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-blue-mood.css.svn-base
@@ -0,0 +1,59 @@
+.Ymacs-Theme-blue-mood .Ymacs_Frame { color: #f5f5f5; background-color: #104e8b; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .type { color: #ffd700; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .builtin { color: #f5deb3; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .function-name { color: #7fff00; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .variable-name { color: #ffffe0; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .constant { color: #00cdcd; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .string { color: #ff6347; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .string-starter { color: #ff6347; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .string-stopper { color: #ff6347; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .regexp { color: #ff6347; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .regexp-starter { color: #ff6347; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .regexp-stopper { color: #ff6347; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .regexp-modifier { color: #ff6347; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .keyword { color: #ffd700; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .comment { color: #b8b8b8; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .mcomment { color: #b8b8b8; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .comment-starter { color: #b8b8b8; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .mcomment-starter { color: #b8b8b8; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .mcomment-stopper { color: #b8b8b8; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .number { color: #00cdcd; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .operator { }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .error { color: #ff6347; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-open-tag { color: #7fff00; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-close-tag { color: #7fff00; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-attribute { color: #ffffe0; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-entity-starter { color: #00cdcd; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-entity-stopper { color: #00cdcd; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-entity { color: #00cdcd; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-cdata { color: #b8b8b8; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-cdata-starter { color: #b8b8b8; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-cdata-stopper { color: #b8b8b8; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .lisp-keyword { color: #00cdcd; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-heading1 { font-size: 2.050em; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-heading2 { font-size: 2.050em; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-heading3 { font-size: 1.508em; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.925em; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-heading5 { }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-blockquote { color: #b8b8b8; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-blockquote1 { color: #b8b8b8; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-blockquote2 { color: #b8b8b8; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-blockquote3 { color: #b8b8b8; font-weight: bold; }
+
+/* Org Mode */
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-bold { font-weight: bold; color: #f5deb3; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-italic { font-style: italic; color: #f5deb3; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-underline { text-decoration: underline; color: #f5deb3; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-strike { text-decoration: line-through; color: #f5deb3; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #f5deb3; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-link-text {text-decoration: underline; color: #f5deb3; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #f5deb3; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-heading1 { color: #f5deb3; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-calm-forest.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-calm-forest.css.svn-base
new file mode 100644
index 0000000..9d285e0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-calm-forest.css.svn-base
@@ -0,0 +1,59 @@
+.Ymacs-Theme-calm-forest .Ymacs_Frame { color: #00ff00; background-color: #1f1f1f; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .type { color: #98fb98; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .builtin { color: #b0c4de; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .function-name { color: #87cefa; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .variable-name { color: #eedd82; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .constant { color: #7fffd4; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .string { color: #ffa07a; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .string-starter { color: #ffa07a; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .string-stopper { color: #ffa07a; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .regexp { color: #ffa07a; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .regexp-starter { color: #ffa07a; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .regexp-stopper { color: #ffa07a; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .regexp-modifier { color: #ffa07a; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .keyword { color: #00ffff; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .comment { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .mcomment { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .comment-starter { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .mcomment-starter { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .mcomment-stopper { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .number { color: #7fffd4; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .operator { }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .error { color: #ffc0cb; font-weight: bold; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-open-tag { color: #87cefa; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-close-tag { color: #87cefa; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-attribute { color: #eedd82; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-entity-starter { color: #7fffd4; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-entity-stopper { color: #7fffd4; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-entity { color: #7fffd4; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-cdata { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-cdata-starter { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-cdata-stopper { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .lisp-keyword { color: #7fffd4; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-heading1 { font-size: 2.050em; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-heading2 { font-size: 2.050em; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-heading3 { font-size: 1.508em; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.925em; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-blockquote { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-blockquote1 { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-blockquote2 { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-blockquote3 { color: #ff7f24; }
+
+/* Org Mode */
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-bold { font-weight: bold; color: #b0c4de; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-italic { font-style: italic; color: #b0c4de; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-underline { text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-strike { text-decoration: line-through; color: #b0c4de; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-link-text {text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-heading1 { color: #b0c4de; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-charcoal-black.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-charcoal-black.css.svn-base
new file mode 100644
index 0000000..72fab37
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-charcoal-black.css.svn-base
@@ -0,0 +1,59 @@
+.Ymacs-Theme-charcoal-black .Ymacs_Frame { color: #bebebe; background-color: #262626; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .type { color: #87ceeb; font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .builtin { color: #7fffd4; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .function-name { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .variable-name { color: #40e0d0; font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .constant { color: #98fb98; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .string { color: #87cefa; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .string-starter { color: #87cefa; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .string-stopper { color: #87cefa; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .regexp { color: #87cefa; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .regexp-starter { color: #87cefa; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .regexp-stopper { color: #87cefa; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .regexp-modifier { color: #87cefa; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .keyword { color: #afeeee; font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .comment { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .mcomment { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .comment-starter { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .mcomment-starter { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .mcomment-stopper { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .number { color: #98fb98; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .operator { }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .error { color: #ff0000; font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-open-tag { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-close-tag { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-attribute { color: #40e0d0; font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-entity-starter { color: #98fb98; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-entity-stopper { color: #98fb98; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-entity { color: #98fb98; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-cdata { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-cdata-starter { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-cdata-stopper { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .lisp-keyword { color: #98fb98; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-heading1 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-heading2 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-heading3 { font-weight: bold; font-size: 1.508em; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.925em; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-heading5 { color: #f5f5dc; font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-blockquote { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-blockquote1 { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-blockquote2 { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-blockquote3 { color: #add8e6; }
+
+/* Org Mode */
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-bold { font-weight: bold; color: #7fffd4; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-italic { font-style: italic; color: #7fffd4; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-underline { text-decoration: underline; color: #7fffd4; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-strike { text-decoration: line-through; color: #7fffd4; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #7fffd4; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-link-text {text-decoration: underline; color: #7fffd4; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #7fffd4; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-heading1 { color: #7fffd4; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-clarity-and-beauty.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-clarity-and-beauty.css.svn-base
new file mode 100644
index 0000000..4d6be89
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-clarity-and-beauty.css.svn-base
@@ -0,0 +1,59 @@
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame { color: #ffffff; background-color: #000000; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .type { color: #98fb98; font-weight: bold; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .builtin { color: #b0c4de; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .function-name { color: #87cefa; font-weight: bold; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .variable-name { color: #eedd82; font-weight: bold; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .constant { color: #7fffd4; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .string { color: #ffa07a; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .string-starter { color: #ffa07a; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .string-stopper { color: #ffa07a; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .regexp { color: #ffa07a; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .regexp-starter { color: #ffa07a; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .regexp-stopper { color: #ffa07a; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .regexp-modifier { color: #ffa07a; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .keyword { color: #00ffff; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .comment { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .mcomment { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .comment-starter { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .mcomment-starter { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .mcomment-stopper { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .number { color: #7fffd4; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .operator { }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .error { color: #ffc0cb; font-weight: bold; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-open-tag { color: #87cefa; font-weight: bold; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-close-tag { color: #87cefa; font-weight: bold; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-attribute { color: #eedd82; font-weight: bold; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-entity-starter { color: #7fffd4; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-entity-stopper { color: #7fffd4; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-entity { color: #7fffd4; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-cdata { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-cdata-starter { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-cdata-stopper { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .lisp-keyword { color: #7fffd4; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-heading1 { font-size: 2.050em; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-heading2 { font-size: 2.050em; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-heading3 { font-size: 1.508em; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.925em; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-heading5 { color: #e6e6fa; font-weight: bold; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-blockquote { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-blockquote1 { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-blockquote2 { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-blockquote3 { color: #ff4500; }
+
+/* Org Mode */
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-bold { font-weight: bold; color: #b0c4de; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-italic { font-style: italic; color: #b0c4de; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-underline { text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-strike { text-decoration: line-through; color: #b0c4de; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-link-text {text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-heading1 { color: #b0c4de; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-classic.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-classic.css.svn-base
new file mode 100644
index 0000000..2fb5773
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-classic.css.svn-base
@@ -0,0 +1,59 @@
+.Ymacs-Theme-classic .Ymacs_Frame { color: #faebd7; background-color: #2f4f4f; }
+.Ymacs-Theme-classic .Ymacs_Frame .type { color: #7ccd7c; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .builtin { color: #98fb98; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .function-name { color: #63b8ff; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .variable-name { color: #fff68f; }
+.Ymacs-Theme-classic .Ymacs_Frame .constant { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .string { color: #cd8162; }
+.Ymacs-Theme-classic .Ymacs_Frame .string-starter { color: #cd8162; }
+.Ymacs-Theme-classic .Ymacs_Frame .string-stopper { color: #cd8162; }
+.Ymacs-Theme-classic .Ymacs_Frame .regexp { color: #cd8162; }
+.Ymacs-Theme-classic .Ymacs_Frame .regexp-starter { color: #cd8162; }
+.Ymacs-Theme-classic .Ymacs_Frame .regexp-stopper { color: #cd8162; }
+.Ymacs-Theme-classic .Ymacs_Frame .regexp-modifier { color: #cd8162; }
+.Ymacs-Theme-classic .Ymacs_Frame .keyword { color: #00ffff; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .comment { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .mcomment { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .comment-starter { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .mcomment-starter { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .mcomment-stopper { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .number { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .operator { }
+.Ymacs-Theme-classic .Ymacs_Frame .error { color: #cd5c5c; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-open-tag { color: #63b8ff; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-close-tag { color: #63b8ff; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-attribute { color: #fff68f; }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-entity-starter { color: #7fffd4; }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-entity-stopper { color: #7fffd4; }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-entity { color: #7fffd4; }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-cdata { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-cdata-starter { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-cdata-stopper { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .lisp-keyword { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-heading1 { font-size: 1.717em; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-heading2 { font-size: 1.400em; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-heading3 { font-size: 1.175em; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-heading4 { font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-heading5 { color: #f5f5dc; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-heading6 { color: #f5deb3; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-blockquote { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-blockquote1 { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-blockquote2 { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-blockquote3 { color: #cd4f39; }
+
+/* Org Mode */
+.Ymacs-Theme-classic .Ymacs_Frame .org-bold { font-weight: bold; color: #98fb98; }
+.Ymacs-Theme-classic .Ymacs_Frame .org-italic { font-style: italic; color: #98fb98; }
+.Ymacs-Theme-classic .Ymacs_Frame .org-underline { text-decoration: underline; color: #98fb98; }
+.Ymacs-Theme-classic .Ymacs_Frame .org-strike { text-decoration: line-through; color: #98fb98; }
+.Ymacs-Theme-classic .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #98fb98; }
+.Ymacs-Theme-classic .Ymacs_Frame .org-link-text {text-decoration: underline; color: #98fb98; }
+.Ymacs-Theme-classic .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #98fb98; }
+.Ymacs-Theme-classic .Ymacs_Frame .org-heading1 { color: #98fb98; }
+.Ymacs-Theme-classic .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-classic .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-classic .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-classic .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-gnome2.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-gnome2.css.svn-base
new file mode 100644
index 0000000..271e7ce
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-gnome2.css.svn-base
@@ -0,0 +1,59 @@
+.Ymacs-Theme-gnome2 .Ymacs_Frame { color: #f5deb3; background-color: #2f4f4f; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .type { color: #9acd32; font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .builtin { color: #98fb98; font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .function-name { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .variable-name { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .constant { color: #7fffd4; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .string { color: #ffa07a; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .string-starter { color: #ffa07a; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .string-stopper { color: #ffa07a; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .regexp { color: #ffa07a; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .regexp-starter { color: #ffa07a; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .regexp-stopper { color: #ffa07a; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .regexp-modifier { color: #ffa07a; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .keyword { color: #fa8072; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .comment { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .mcomment { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .comment-starter { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .mcomment-starter { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .mcomment-stopper { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .number { color: #7fffd4; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .operator { }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .error { color: #ff0000; font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-open-tag { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-close-tag { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-attribute { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-entity-starter { color: #7fffd4; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-entity-stopper { color: #7fffd4; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-entity { color: #7fffd4; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-cdata { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-cdata-starter { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-cdata-stopper { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .lisp-keyword { color: #7fffd4; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-heading1 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-heading2 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-heading3 { font-weight: bold; font-size: 1.508em; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.925em; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-heading5 { color: #f5f5dc; font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-blockquote { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-blockquote1 { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-blockquote2 { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-blockquote3 { color: #add8e6; }
+
+/* Org Mode */
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-bold { font-weight: bold; color: #98fb98; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-italic { font-style: italic; color: #98fb98; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-underline { text-decoration: underline; color: #98fb98; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-strike { text-decoration: line-through; color: #98fb98; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #98fb98; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-link-text {text-decoration: underline; color: #98fb98; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #98fb98; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-heading1 { color: #98fb98; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-gtk-ide.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-gtk-ide.css.svn-base
new file mode 100644
index 0000000..940993c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-gtk-ide.css.svn-base
@@ -0,0 +1,59 @@
+.Ymacs-Theme-gtk-ide .Ymacs_Frame { color: #000000; background-color: #ffffff; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .type { color: #36648b; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .builtin { color: #228b22; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .function-name { color: #6a5acd; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .variable-name { color: #b8860b; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .constant { color: #6b8e23; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .string { color: #8b0000; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .string-starter { color: #8b0000; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .string-stopper { color: #8b0000; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .regexp { color: #8b0000; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .regexp-starter { color: #8b0000; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .regexp-stopper { color: #8b0000; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .regexp-modifier { color: #8b0000; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .keyword { color: #00008b; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .comment { color: #8c8c8c; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .mcomment { color: #8c8c8c; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .comment-starter { color: #8c8c8c; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .mcomment-starter { color: #8c8c8c; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .mcomment-stopper { color: #8c8c8c; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .number { color: #6b8e23; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .operator { }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .error { color: #d02090; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-open-tag { color: #6a5acd; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-close-tag { color: #6a5acd; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-attribute { color: #b8860b; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-entity-starter { color: #6b8e23; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-entity-stopper { color: #6b8e23; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-entity { color: #6b8e23; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-cdata { color: #8c8c8c; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-cdata-starter { color: #8c8c8c; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-cdata-stopper { color: #8c8c8c; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .lisp-keyword { color: #6b8e23; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-heading1 { font-size: 1.717em; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-heading2 { font-size: 1.400em; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-heading3 { font-size: 1.175em; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-heading4 { font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-blockquote { color: #8c8c8c; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-blockquote1 { color: #8c8c8c; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-blockquote2 { color: #8c8c8c; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-blockquote3 { color: #8c8c8c; font-weight: bold; }
+
+/* Org Mode */
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-bold { font-weight: bold; color: #228b22; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-italic { font-style: italic; color: #228b22; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-underline { text-decoration: underline; color: #228b22; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-strike { text-decoration: line-through; color: #228b22; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #228b22; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-link-text {text-decoration: underline; color: #228b22; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #228b22; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-heading1 { color: #228b22; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-high-contrast.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-high-contrast.css.svn-base
new file mode 100644
index 0000000..2e39c6f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-high-contrast.css.svn-base
@@ -0,0 +1,59 @@
+.Ymacs-Theme-high-contrast .Ymacs_Frame { color: #000000; background-color: #ffffff; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .type { color: #228b22; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .builtin { color: #ff0000; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .function-name { color: #0000ff; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .variable-name { color: #b8860b; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .constant { color: #0000ff; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .string { color: #006400; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .string-starter { color: #006400; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .string-stopper { color: #006400; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .regexp { color: #006400; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .regexp-starter { color: #006400; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .regexp-stopper { color: #006400; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .regexp-modifier { color: #006400; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .keyword { color: #a020f0; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .comment { color: #b22222; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .mcomment { color: #b22222; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .comment-starter { color: #b22222; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .mcomment-starter { color: #b22222; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .mcomment-stopper { color: #b22222; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .number { color: #0000ff; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .operator { }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .error { color: #ff0000; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-open-tag { color: #0000ff; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-close-tag { color: #0000ff; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-attribute { color: #b8860b; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-entity-starter { color: #0000ff; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-entity-stopper { color: #0000ff; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-entity { color: #0000ff; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-cdata { color: #b22222; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-cdata-starter { color: #b22222; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-cdata-stopper { color: #b22222; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .lisp-keyword { color: #0000ff; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-heading1 { font-size: 1.717em; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-heading2 { font-size: 1.400em; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-heading3 { font-size: 1.175em; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-heading4 { font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-blockquote { color: #b22222; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-blockquote1 { color: #b22222; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-blockquote2 { color: #b22222; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-blockquote3 { color: #b22222; font-weight: bold; }
+
+/* Org Mode */
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-bold { font-weight: bold; color: #ff0000; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-italic { font-style: italic; color: #ff0000; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-underline { text-decoration: underline; color: #ff0000; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-strike { text-decoration: line-through; color: #ff0000; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #ff0000; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-link-text {text-decoration: underline; color: #ff0000; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #ff0000; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-heading1 { color: #ff0000; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-linh-dang-dark.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-linh-dang-dark.css.svn-base
new file mode 100644
index 0000000..4d5f2da
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-linh-dang-dark.css.svn-base
@@ -0,0 +1,59 @@
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame { color: #ffffff; background-color: #000000; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .type { color: #98fb98; font-weight: bold; font-size: 0.908em; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .builtin { color: #4682b4; font-weight: bold; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .function-name { color: #87cefa; font-weight: bold; font-size: 0.908em; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .variable-name { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .constant { color: #ffd700; font-weight: bold; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .string { color: #deb887; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .string-starter { color: #deb887; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .string-stopper { color: #deb887; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .regexp { color: #deb887; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .regexp-starter { color: #deb887; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .regexp-stopper { color: #deb887; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .regexp-modifier { color: #deb887; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .keyword { color: #87cefa; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .comment { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .mcomment { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .comment-starter { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .mcomment-starter { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .mcomment-stopper { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .number { color: #ffd700; font-weight: bold; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .operator { }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .error { color: #d2691e; font-weight: bold; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-open-tag { color: #87cefa; font-weight: bold; font-size: 0.908em; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-close-tag { color: #87cefa; font-weight: bold; font-size: 0.908em; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-attribute { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-entity-starter { color: #ffd700; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-entity-stopper { color: #ffd700; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-entity { color: #ffd700; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-cdata { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-cdata-starter { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-cdata-stopper { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .lisp-keyword { color: #ffd700; font-weight: bold; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-heading1 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-heading2 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-heading3 { font-weight: bold; font-size: 1.508em; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.925em; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-heading5 { color: #8b0000; font-weight: bold; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-blockquote { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-blockquote1 { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-blockquote2 { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-blockquote3 { color: #cdc0b0; }
+
+/* Org Mode */
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-bold { font-weight: bold; color: #4682b4; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-italic { font-style: italic; color: #4682b4; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-underline { text-decoration: underline; color: #4682b4; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-strike { text-decoration: line-through; color: #4682b4; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #4682b4; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-link-text {text-decoration: underline; color: #4682b4; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #4682b4; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-heading1 { color: #4682b4; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-mishoo.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-mishoo.css.svn-base
new file mode 100644
index 0000000..c2d877d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-mishoo.css.svn-base
@@ -0,0 +1,45 @@
+.Ymacs-Theme-mishoo .Ymacs_Frame { color: #faebd7; background-color: #1e2e2e; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .type { color: #7ccd7c; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .builtin { color: #98fb98; font-weight: bold; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .function-name { color: #63b8ff; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .variable-name { color: #fff68f; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .constant { color: #7fffd4; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .string { color: #ffa500; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .string-starter { color: #ffa500; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .string-stopper { color: #ffa500; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .regexp { color: #ffa500; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .regexp-starter { color: #ffa500; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .regexp-stopper { color: #ffa500; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .regexp-modifier { color: #ffa500; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .keyword { color: #00ffff; font-weight: bold; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .comment { color: #32cd32; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .mcomment { color: #32cd32; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .comment-starter { color: #daa520; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .mcomment-starter { color: #daa520; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .mcomment-stopper { color: #daa520; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .number { color: #7fffd4; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .operator { }
+.Ymacs-Theme-mishoo .Ymacs_Frame .error { color: #ffff00; font-weight: bold; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-open-tag { color: #63b8ff; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-close-tag { color: #63b8ff; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-attribute { color: #fff68f; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-entity-starter { color: #7fffd4; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-entity-stopper { color: #7fffd4; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-entity { color: #7fffd4; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-cdata { color: #32cd32; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-cdata-starter { color: #daa520; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-cdata-stopper { color: #daa520; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .lisp-keyword { color: #7fffd4; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-heading1 { font-weight: bold; font-size: 1.090em; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-heading2 { font-weight: bold; font-size: 0.924em; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-heading3 { font-weight: bold; font-size: 0.752em; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 0.628em; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-heading5 { color: #f5f5dc; font-weight: bold; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-blockquote { color: #32cd32; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-blockquote1 { color: #32cd32; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-blockquote2 { color: #32cd32; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-blockquote3 { color: #32cd32; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-scintilla.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-scintilla.css.svn-base
new file mode 100644
index 0000000..4d207a2
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-scintilla.css.svn-base
@@ -0,0 +1,59 @@
+.Ymacs-Theme-scintilla .Ymacs_Frame { color: #000000; background-color: #ffffff; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .type { color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .builtin { color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .function-name { color: #008b8b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .variable-name { color: #008b8b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .constant { color: #0000ff; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .string { color: #8b008b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .string-starter { color: #8b008b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .string-stopper { color: #8b008b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .regexp { color: #8b008b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .regexp-starter { color: #8b008b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .regexp-stopper { color: #8b008b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .regexp-modifier { color: #8b008b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .keyword { color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .comment { color: #228b22; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .mcomment { color: #228b22; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .comment-starter { color: #b22222; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .mcomment-starter { color: #b22222; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .mcomment-stopper { color: #b22222; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .number { color: #0000ff; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .operator { }
+.Ymacs-Theme-scintilla .Ymacs_Frame .error { color: #d02090; font-weight: bold; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-open-tag { color: #008b8b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-close-tag { color: #008b8b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-attribute { color: #008b8b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-entity-starter { }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-entity-stopper { }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-entity { }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-cdata { color: #228b22; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-cdata-starter { color: #b22222; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-cdata-stopper { color: #b22222; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .lisp-keyword { color: #0000ff; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-heading1 { font-weight: bold; font-size: 2.207em; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-heading2 { font-weight: bold; font-size: 1.768em; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-heading3 { font-weight: bold; font-size: 2.110em; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.646em; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-heading5 { color: #9acd32; font-weight: bold; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-heading6 { color: #ffff00; background-color: #666666; font-weight: bold; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-blockquote { color: #228b22; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-blockquote1 { color: #228b22; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-blockquote2 { color: #228b22; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-blockquote3 { color: #228b22; }
+
+/* Org Mode */
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-bold { font-weight: bold; color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-italic { font-style: italic; color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-underline { text-decoration: underline; color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-strike { text-decoration: line-through; color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-link-text {text-decoration: underline; color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-heading1 { color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-standard-dark.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-standard-dark.css.svn-base
new file mode 100644
index 0000000..53e293f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-standard-dark.css.svn-base
@@ -0,0 +1,59 @@
+.Ymacs-Theme-standard-dark .Ymacs_Frame { color: #bebebe; background-color: #262626; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .type { color: #98fb98; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .builtin { color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .function-name { color: #87cefa; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .variable-name { color: #eedd82; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .constant { color: #7fffd4; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .string { color: #ffa07a; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .string-starter { color: #ffa07a; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .string-stopper { color: #ffa07a; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .regexp { color: #ffa07a; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .regexp-starter { color: #ffa07a; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .regexp-stopper { color: #ffa07a; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .regexp-modifier { color: #ffa07a; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .keyword { color: #00ffff; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .comment { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .mcomment { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .comment-starter { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .mcomment-starter { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .mcomment-stopper { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .number { color: #7fffd4; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .operator { }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .error { color: #ffc0cb; font-weight: bold; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-open-tag { color: #87cefa; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-close-tag { color: #87cefa; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-attribute { color: #eedd82; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-entity-starter { color: #7fffd4; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-entity-stopper { color: #7fffd4; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-entity { color: #7fffd4; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-cdata { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-cdata-starter { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-cdata-stopper { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .lisp-keyword { color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-heading1 { font-size: 1.711em; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-heading2 { font-size: 1.434em; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-heading3 { font-size: 1.211em; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-heading4 { font-weight: bold; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-blockquote { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-blockquote1 { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-blockquote2 { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-blockquote3 { color: #ff7f24; }
+
+/* Org Mode */
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-bold { font-weight: bold; color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-italic { font-style: italic; color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-underline { text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-strike { text-decoration: line-through; color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-link-text {text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-heading1 { color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-standard-xemacs.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-standard-xemacs.css.svn-base
new file mode 100644
index 0000000..b6a30fb
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-standard-xemacs.css.svn-base
@@ -0,0 +1,59 @@
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame { color: #000000; background-color: #cccccc; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .type { color: #4682b4; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .builtin { color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .function-name { color: #8b2323; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .variable-name { color: #8b008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .constant { color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .string { color: #008b00; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .string-starter { color: #008b00; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .string-stopper { color: #008b00; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .regexp { color: #008b00; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .regexp-starter { color: #008b00; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .regexp-stopper { color: #008b00; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .regexp-modifier { color: #008b00; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .keyword { color: #8b0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .comment { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .mcomment { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .comment-starter { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .mcomment-starter { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .mcomment-stopper { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .number { color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .operator { }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .error { color: #ff0000; font-weight: bold; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-open-tag { color: #8b2323; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-close-tag { color: #8b2323; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-attribute { color: #8b008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-entity-starter { color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-entity-stopper { color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-entity { color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-cdata { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-cdata-starter { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-cdata-stopper { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .lisp-keyword { color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-heading1 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-heading2 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-heading3 { font-weight: bold; font-size: 1.508em; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.925em; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-blockquote { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-blockquote1 { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-blockquote2 { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-blockquote3 { color: #00008b; }
+
+/* Org Mode */
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-bold { font-weight: bold; color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-italic { font-style: italic; color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-underline { text-decoration: underline; color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-strike { text-decoration: line-through; color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-link-text {text-decoration: underline; color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-heading1 { color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-standard.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-standard.css.svn-base
new file mode 100644
index 0000000..2373592
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-standard.css.svn-base
@@ -0,0 +1,59 @@
+.Ymacs-Theme-standard .Ymacs_Frame { color: #000000; background-color: #ffffff; }
+.Ymacs-Theme-standard .Ymacs_Frame .type { color: #228b22; }
+.Ymacs-Theme-standard .Ymacs_Frame .builtin { color: #da70d6; }
+.Ymacs-Theme-standard .Ymacs_Frame .function-name { color: #0000ff; }
+.Ymacs-Theme-standard .Ymacs_Frame .variable-name { color: #b8860b; }
+.Ymacs-Theme-standard .Ymacs_Frame .constant { color: #5f9ea0; }
+.Ymacs-Theme-standard .Ymacs_Frame .string { color: #bc8f8f; }
+.Ymacs-Theme-standard .Ymacs_Frame .string-starter { color: #bc8f8f; }
+.Ymacs-Theme-standard .Ymacs_Frame .string-stopper { color: #bc8f8f; }
+.Ymacs-Theme-standard .Ymacs_Frame .regexp { color: #bc8f8f; }
+.Ymacs-Theme-standard .Ymacs_Frame .regexp-starter { color: #bc8f8f; }
+.Ymacs-Theme-standard .Ymacs_Frame .regexp-stopper { color: #bc8f8f; }
+.Ymacs-Theme-standard .Ymacs_Frame .regexp-modifier { color: #bc8f8f; }
+.Ymacs-Theme-standard .Ymacs_Frame .keyword { color: #a020f0; }
+.Ymacs-Theme-standard .Ymacs_Frame .comment { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .mcomment { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .comment-starter { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .mcomment-starter { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .mcomment-stopper { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .number { color: #5f9ea0; }
+.Ymacs-Theme-standard .Ymacs_Frame .operator { }
+.Ymacs-Theme-standard .Ymacs_Frame .error { color: #ff0000; font-weight: bold; }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-open-tag { color: #0000ff; }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-close-tag { color: #0000ff; }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-attribute { color: #b8860b; }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-entity-starter { color: #5f9ea0; }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-entity-stopper { color: #5f9ea0; }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-entity { color: #5f9ea0; }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-cdata { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-cdata-starter { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-cdata-stopper { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .lisp-keyword { color: #5f9ea0; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-heading1 { font-size: 1.717em; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-heading2 { font-size: 1.400em; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-heading3 { font-size: 1.175em; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-heading4 { font-weight: bold; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-blockquote { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-blockquote1 { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-blockquote2 { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-blockquote3 { color: #b22222; }
+
+/* Org Mode */
+.Ymacs-Theme-standard .Ymacs_Frame .org-bold { font-weight: bold; color: #da70d6; }
+.Ymacs-Theme-standard .Ymacs_Frame .org-italic { font-style: italic; color: #da70d6; }
+.Ymacs-Theme-standard .Ymacs_Frame .org-underline { text-decoration: underline; color: #da70d6; }
+.Ymacs-Theme-standard .Ymacs_Frame .org-strike { text-decoration: line-through; color: #da70d6; }
+.Ymacs-Theme-standard .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #da70d6; }
+.Ymacs-Theme-standard .Ymacs_Frame .org-link-text {text-decoration: underline; color: #da70d6; }
+.Ymacs-Theme-standard .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #da70d6; }
+.Ymacs-Theme-standard .Ymacs_Frame .org-heading1 { color: #da70d6; }
+.Ymacs-Theme-standard .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-standard .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-standard .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-standard .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-vim-colors.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-vim-colors.css.svn-base
new file mode 100644
index 0000000..f11d863
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-vim-colors.css.svn-base
@@ -0,0 +1,59 @@
+.Ymacs-Theme-vim-colors .Ymacs_Frame { color: #000000; background-color: #fefefe; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .type { color: #228b22; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .builtin { color: #a020f0; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .function-name { color: #008a8a; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .variable-name { color: #008a8a; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .constant { color: #008b00; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .string { color: #fe00fe; background-color: #f1f1f1; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .string-starter { color: #fe00fe; background-color: #f1f1f1; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .string-stopper { color: #fe00fe; background-color: #f1f1f1; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .regexp { color: #fe00fe; background-color: #f1f1f1; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .regexp-starter { color: #fe00fe; background-color: #f1f1f1; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .regexp-stopper { color: #fe00fe; background-color: #f1f1f1; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .regexp-modifier { color: #fe00fe; background-color: #f1f1f1; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .keyword { color: #a42929; font-weight: bold; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .comment { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .mcomment { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .comment-starter { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .mcomment-starter { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .mcomment-stopper { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .number { color: #008b00; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .operator { }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .error { color: #ff0000; font-weight: bold; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-open-tag { color: #008a8a; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-close-tag { color: #008a8a; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-attribute { color: #008a8a; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-entity-starter { color: #008b00; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-entity-stopper { color: #008b00; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-entity { color: #008b00; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-cdata { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-cdata-starter { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-cdata-stopper { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .lisp-keyword { color: #008b00; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-heading1 { font-size: 1.717em; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-heading2 { font-size: 1.400em; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-heading3 { font-size: 1.175em; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-heading4 { font-weight: bold; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-blockquote { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-blockquote1 { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-blockquote2 { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-blockquote3 { color: #0000ff; }
+
+/* Org Mode */
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-bold { font-weight: bold; color: #a020f0; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-italic { font-style: italic; color: #a020f0; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-underline { text-decoration: underline; color: #a020f0; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-strike { text-decoration: line-through; color: #a020f0; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #a020f0; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-link-text {text-decoration: underline; color: #a020f0; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #a020f0; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-heading1 { color: #a020f0; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-zenburn.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-zenburn.css.svn-base
new file mode 100644
index 0000000..134d7c2
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/.svn/text-base/emacs-zenburn.css.svn-base
@@ -0,0 +1,59 @@
+.Ymacs-Theme-zenburn .Ymacs_Frame { color: #dbdbcb; background-color: #3e3e3e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .type { color: #dedebe; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .builtin { color: #8bcfd2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .function-name { color: #efdeae; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .variable-name { color: #efdeae; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .constant { color: #dba2a2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .string { color: #cb9292; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .string-starter { color: #cb9292; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .string-stopper { color: #cb9292; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .regexp { color: #cb9292; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .regexp-starter { color: #cb9292; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .regexp-stopper { color: #cb9292; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .regexp-modifier { color: #cb9292; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .keyword { color: #efdeae; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .comment { color: #7e9e7e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .mcomment { color: #7e9e7e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .comment-starter { color: #6f7f6f; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .mcomment-starter { color: #6f7f6f; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .mcomment-stopper { color: #6f7f6f; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .number { color: #dba2a2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .operator { }
+.Ymacs-Theme-zenburn .Ymacs_Frame .error { color: #e2706f; background-color: #322222; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-open-tag { color: #efdeae; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-close-tag { color: #efdeae; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-attribute { color: #efdeae; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-entity-starter { color: #93bef2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-entity-stopper { color: #93bef2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-entity { color: #93bef2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-open-bracket { color: #dbdbcb; background-color: #3e3e3e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-close-bracket { color: #dbdbcb; background-color: #3e3e3e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-closetag-slash { color: #dbdbcb; background-color: #3e3e3e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-cdata { color: #dbdbcb; background-color: #3e3e3e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-cdata-starter { color: #dba2a2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-cdata-stopper { color: #dba2a2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .lisp-keyword { color: #dba2a2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-heading1 { font-size: 1.717em; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-heading2 { font-size: 1.400em; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-heading3 { font-size: 1.175em; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-heading4 { font-weight: bold; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-blockquote { color: #7e9e7e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-blockquote1 { color: #7e9e7e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-blockquote2 { color: #7e9e7e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-blockquote3 { color: #7e9e7e; }
+
+/* Org Mode */
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-bold { font-weight: bold; color: #8bcfd2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-italic { font-style: italic; color: #8bcfd2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-underline { text-decoration: underline; color: #8bcfd2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-strike { text-decoration: line-through; color: #8bcfd2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #8bcfd2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-link-text {text-decoration: underline; color: #8bcfd2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #8bcfd2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-heading1 { color: #8bcfd2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-andreas.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-andreas.css
new file mode 100644
index 0000000..cea5b2d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-andreas.css
@@ -0,0 +1,59 @@
+.Ymacs -Theme-andreas .Ymacs _Frame { color: #000000; background-color: #ffffff; }
+.Ymacs -Theme-andreas .Ymacs _Frame .type { color: #681fab; }
+.Ymacs -Theme-andreas .Ymacs _Frame .builtin { color: #da70d6; }
+.Ymacs -Theme-andreas .Ymacs _Frame .function-name { color: #0000cd; }
+.Ymacs -Theme-andreas .Ymacs _Frame .variable-name { color: #0000cd; }
+.Ymacs -Theme-andreas .Ymacs _Frame .constant { color: #5f9ea0; }
+.Ymacs -Theme-andreas .Ymacs _Frame .string { color: #008b00; }
+.Ymacs -Theme-andreas .Ymacs _Frame .string-starter { color: #008b00; }
+.Ymacs -Theme-andreas .Ymacs _Frame .string-stopper { color: #008b00; }
+.Ymacs -Theme-andreas .Ymacs _Frame .regexp { color: #008b00; }
+.Ymacs -Theme-andreas .Ymacs _Frame .regexp-starter { color: #008b00; }
+.Ymacs -Theme-andreas .Ymacs _Frame .regexp-stopper { color: #008b00; }
+.Ymacs -Theme-andreas .Ymacs _Frame .regexp-modifier { color: #008b00; }
+.Ymacs -Theme-andreas .Ymacs _Frame .keyword { color: #ff0000; }
+.Ymacs -Theme-andreas .Ymacs _Frame .comment { color: #ffa500; }
+.Ymacs -Theme-andreas .Ymacs _Frame .mcomment { color: #ffa500; }
+.Ymacs -Theme-andreas .Ymacs _Frame .comment-starter { color: #b22222; }
+.Ymacs -Theme-andreas .Ymacs _Frame .mcomment-starter { color: #b22222; }
+.Ymacs -Theme-andreas .Ymacs _Frame .mcomment-stopper { color: #b22222; }
+.Ymacs -Theme-andreas .Ymacs _Frame .number { color: #5f9ea0; }
+.Ymacs -Theme-andreas .Ymacs _Frame .operator { }
+.Ymacs -Theme-andreas .Ymacs _Frame .error { color: #ff0000; font-weight: bold; }
+.Ymacs -Theme-andreas .Ymacs _Frame .xml-open-tag { color: #0000cd; }
+.Ymacs -Theme-andreas .Ymacs _Frame .xml-close-tag { color: #0000cd; }
+.Ymacs -Theme-andreas .Ymacs _Frame .xml-attribute { color: #0000cd; }
+.Ymacs -Theme-andreas .Ymacs _Frame .xml-entity-starter { color: #5f9ea0; }
+.Ymacs -Theme-andreas .Ymacs _Frame .xml-entity-stopper { color: #5f9ea0; }
+.Ymacs -Theme-andreas .Ymacs _Frame .xml-entity { color: #5f9ea0; }
+.Ymacs -Theme-andreas .Ymacs _Frame .xml-open-bracket { }
+.Ymacs -Theme-andreas .Ymacs _Frame .xml-close-bracket { }
+.Ymacs -Theme-andreas .Ymacs _Frame .xml-closetag-slash { }
+.Ymacs -Theme-andreas .Ymacs _Frame .xml-cdata { color: #ffa500; }
+.Ymacs -Theme-andreas .Ymacs _Frame .xml-cdata-starter { color: #b22222; }
+.Ymacs -Theme-andreas .Ymacs _Frame .xml-cdata-stopper { color: #b22222; }
+.Ymacs -Theme-andreas .Ymacs _Frame .lisp-keyword { color: #5f9ea0; }
+.Ymacs -Theme-andreas .Ymacs _Frame .markdown-heading1 { font-weight: bold; font-size: 2.050em; }
+.Ymacs -Theme-andreas .Ymacs _Frame .markdown-heading2 { font-weight: bold; font-size: 2.050em; }
+.Ymacs -Theme-andreas .Ymacs _Frame .markdown-heading3 { font-weight: bold; font-size: 1.508em; }
+.Ymacs -Theme-andreas .Ymacs _Frame .markdown-heading4 { font-weight: bold; font-size: 1.925em; }
+.Ymacs -Theme-andreas .Ymacs _Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs -Theme-andreas .Ymacs _Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs -Theme-andreas .Ymacs _Frame .markdown-blockquote { color: #ffa500; }
+.Ymacs -Theme-andreas .Ymacs _Frame .markdown-blockquote1 { color: #ffa500; }
+.Ymacs -Theme-andreas .Ymacs _Frame .markdown-blockquote2 { color: #ffa500; }
+.Ymacs -Theme-andreas .Ymacs _Frame .markdown-blockquote3 { color: #ffa500; }
+
+/* Org Mode */
+.Ymacs -Theme-andreas .Ymacs _Frame .org-bold { font-weight: bold; color: #da70d6; }
+.Ymacs -Theme-andreas .Ymacs _Frame .org-italic { font-style: italic; color: #da70d6; }
+.Ymacs -Theme-andreas .Ymacs _Frame .org-underline { text-decoration: underline; color: #da70d6; }
+.Ymacs -Theme-andreas .Ymacs _Frame .org-strike { text-decoration: line-through; color: #da70d6; }
+.Ymacs -Theme-andreas .Ymacs _Frame .org-link-url {display: none; text-decoration: underline; color: #da70d6; }
+.Ymacs -Theme-andreas .Ymacs _Frame .org-link-text {text-decoration: underline; color: #da70d6; }
+.Ymacs -Theme-andreas .Ymacs _Frame .org-link-close {display:none; text-decoration: underline; color: #da70d6; }
+.Ymacs -Theme-andreas .Ymacs _Frame .org-heading1 { color: #da70d6; }
+.Ymacs -Theme-andreas .Ymacs _Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs -Theme-andreas .Ymacs _Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs -Theme-andreas .Ymacs _Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs -Theme-andreas .Ymacs _Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-bharadwaj.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-bharadwaj.css
new file mode 100644
index 0000000..d154472
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-bharadwaj.css
@@ -0,0 +1,59 @@
+.Ymacs-Theme-bharadwaj .Ymacs_Frame { color: #000000; background-color: #dcdcdc; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .type { color: #36648b; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .builtin { color: #228b22; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .function-name { color: #6a5acd; font-weight: bold; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .variable-name { color: #b8860b; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .constant { color: #6b8e23; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .string { color: #8b0000; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .string-starter { color: #8b0000; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .string-stopper { color: #8b0000; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .regexp { color: #8b0000; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .regexp-starter { color: #8b0000; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .regexp-stopper { color: #8b0000; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .regexp-modifier { color: #8b0000; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .keyword { color: #00008b; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .comment { color: #8c8c8c; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .mcomment { color: #8c8c8c; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .comment-starter { color: #b22222; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .mcomment-starter { color: #b22222; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .mcomment-stopper { color: #b22222; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .number { color: #6b8e23; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .operator { }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .error { color: #d02090; font-weight: bold; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-open-tag { color: #6a5acd; font-weight: bold; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-close-tag { color: #6a5acd; font-weight: bold; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-attribute { color: #b8860b; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-entity-starter { color: #6b8e23; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-entity-stopper { color: #6b8e23; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-entity { color: #6b8e23; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-cdata { color: #8c8c8c; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-cdata-starter { color: #b22222; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .xml-cdata-stopper { color: #b22222; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .lisp-keyword { color: #6b8e23; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-heading1 { font-weight: bold; font-size: 2.207em; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-heading2 { font-weight: bold; font-size: 1.768em; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-heading3 { font-weight: bold; font-size: 2.110em; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.646em; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-blockquote { color: #8c8c8c; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-blockquote1 { color: #8c8c8c; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-blockquote2 { color: #8c8c8c; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .markdown-blockquote3 { color: #8c8c8c; }
+
+/* Org Mode */
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-bold { font-weight: bold; color: #228b22; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-italic { font-style: italic; color: #228b22; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-underline { text-decoration: underline; color: #228b22; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-strike { text-decoration: line-through; color: #228b22; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #228b22; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-link-text {text-decoration: underline; color: #228b22; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #228b22; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-heading1 { color: #228b22; }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-bharadwaj .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-billw.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-billw.css
new file mode 100644
index 0000000..13ac882
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-billw.css
@@ -0,0 +1,59 @@
+.Ymacs-Theme-billw .Ymacs_Frame { color: #fff8dc; background-color: #000000; }
+.Ymacs-Theme-billw .Ymacs_Frame .type { color: #ffff00; }
+.Ymacs-Theme-billw .Ymacs_Frame .builtin { color: #b0c4de; }
+.Ymacs-Theme-billw .Ymacs_Frame .function-name { color: #00fa9a; }
+.Ymacs-Theme-billw .Ymacs_Frame .variable-name { color: #ffa07a; }
+.Ymacs-Theme-billw .Ymacs_Frame .constant { color: #fa8072; }
+.Ymacs-Theme-billw .Ymacs_Frame .string { color: #ffa500; }
+.Ymacs-Theme-billw .Ymacs_Frame .string-starter { color: #ffa500; }
+.Ymacs-Theme-billw .Ymacs_Frame .string-stopper { color: #ffa500; }
+.Ymacs-Theme-billw .Ymacs_Frame .regexp { color: #ffa500; }
+.Ymacs-Theme-billw .Ymacs_Frame .regexp-starter { color: #ffa500; }
+.Ymacs-Theme-billw .Ymacs_Frame .regexp-stopper { color: #ffa500; }
+.Ymacs-Theme-billw .Ymacs_Frame .regexp-modifier { color: #ffa500; }
+.Ymacs-Theme-billw .Ymacs_Frame .keyword { color: #00ffff; }
+.Ymacs-Theme-billw .Ymacs_Frame .comment { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .mcomment { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .comment-starter { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .mcomment-starter { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .mcomment-stopper { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .number { color: #fa8072; }
+.Ymacs-Theme-billw .Ymacs_Frame .operator { }
+.Ymacs-Theme-billw .Ymacs_Frame .error { color: #ffd700; font-weight: bold; }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-open-tag { color: #00fa9a; }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-close-tag { color: #00fa9a; }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-attribute { color: #ffa07a; }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-entity-starter { color: #fa8072; }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-entity-stopper { color: #fa8072; }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-entity { color: #fa8072; }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-cdata { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-cdata-starter { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .xml-cdata-stopper { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .lisp-keyword { color: #fa8072; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-heading1 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-heading2 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-heading3 { font-weight: bold; font-size: 1.508em; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.925em; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-blockquote { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-blockquote1 { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-blockquote2 { color: #ffd700; }
+.Ymacs-Theme-billw .Ymacs_Frame .markdown-blockquote3 { color: #ffd700; }
+
+/* Org Mode */
+.Ymacs-Theme-billw .Ymacs_Frame .org-bold { font-weight: bold; color: #b0c4de; }
+.Ymacs-Theme-billw .Ymacs_Frame .org-italic { font-style: italic; color: #b0c4de; }
+.Ymacs-Theme-billw .Ymacs_Frame .org-underline { text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-billw .Ymacs_Frame .org-strike { text-decoration: line-through; color: #b0c4de; }
+.Ymacs-Theme-billw .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-billw .Ymacs_Frame .org-link-text {text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-billw .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-billw .Ymacs_Frame .org-heading1 { color: #b0c4de; }
+.Ymacs-Theme-billw .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-billw .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-billw .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-billw .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-blue-mood.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-blue-mood.css
new file mode 100644
index 0000000..18a65bf
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-blue-mood.css
@@ -0,0 +1,59 @@
+.Ymacs-Theme-blue-mood .Ymacs_Frame { color: #f5f5f5; background-color: #104e8b; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .type { color: #ffd700; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .builtin { color: #f5deb3; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .function-name { color: #7fff00; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .variable-name { color: #ffffe0; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .constant { color: #00cdcd; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .string { color: #ff6347; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .string-starter { color: #ff6347; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .string-stopper { color: #ff6347; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .regexp { color: #ff6347; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .regexp-starter { color: #ff6347; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .regexp-stopper { color: #ff6347; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .regexp-modifier { color: #ff6347; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .keyword { color: #ffd700; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .comment { color: #b8b8b8; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .mcomment { color: #b8b8b8; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .comment-starter { color: #b8b8b8; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .mcomment-starter { color: #b8b8b8; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .mcomment-stopper { color: #b8b8b8; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .number { color: #00cdcd; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .operator { }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .error { color: #ff6347; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-open-tag { color: #7fff00; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-close-tag { color: #7fff00; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-attribute { color: #ffffe0; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-entity-starter { color: #00cdcd; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-entity-stopper { color: #00cdcd; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-entity { color: #00cdcd; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-cdata { color: #b8b8b8; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-cdata-starter { color: #b8b8b8; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .xml-cdata-stopper { color: #b8b8b8; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .lisp-keyword { color: #00cdcd; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-heading1 { font-size: 2.050em; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-heading2 { font-size: 2.050em; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-heading3 { font-size: 1.508em; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.925em; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-heading5 { }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-blockquote { color: #b8b8b8; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-blockquote1 { color: #b8b8b8; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-blockquote2 { color: #b8b8b8; font-weight: bold; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .markdown-blockquote3 { color: #b8b8b8; font-weight: bold; }
+
+/* Org Mode */
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-bold { font-weight: bold; color: #f5deb3; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-italic { font-style: italic; color: #f5deb3; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-underline { text-decoration: underline; color: #f5deb3; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-strike { text-decoration: line-through; color: #f5deb3; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #f5deb3; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-link-text {text-decoration: underline; color: #f5deb3; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #f5deb3; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-heading1 { color: #f5deb3; }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-blue-mood .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-calm-forest.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-calm-forest.css
new file mode 100644
index 0000000..9d285e0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-calm-forest.css
@@ -0,0 +1,59 @@
+.Ymacs-Theme-calm-forest .Ymacs_Frame { color: #00ff00; background-color: #1f1f1f; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .type { color: #98fb98; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .builtin { color: #b0c4de; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .function-name { color: #87cefa; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .variable-name { color: #eedd82; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .constant { color: #7fffd4; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .string { color: #ffa07a; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .string-starter { color: #ffa07a; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .string-stopper { color: #ffa07a; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .regexp { color: #ffa07a; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .regexp-starter { color: #ffa07a; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .regexp-stopper { color: #ffa07a; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .regexp-modifier { color: #ffa07a; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .keyword { color: #00ffff; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .comment { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .mcomment { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .comment-starter { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .mcomment-starter { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .mcomment-stopper { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .number { color: #7fffd4; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .operator { }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .error { color: #ffc0cb; font-weight: bold; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-open-tag { color: #87cefa; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-close-tag { color: #87cefa; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-attribute { color: #eedd82; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-entity-starter { color: #7fffd4; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-entity-stopper { color: #7fffd4; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-entity { color: #7fffd4; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-cdata { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-cdata-starter { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .xml-cdata-stopper { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .lisp-keyword { color: #7fffd4; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-heading1 { font-size: 2.050em; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-heading2 { font-size: 2.050em; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-heading3 { font-size: 1.508em; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.925em; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-blockquote { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-blockquote1 { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-blockquote2 { color: #ff7f24; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .markdown-blockquote3 { color: #ff7f24; }
+
+/* Org Mode */
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-bold { font-weight: bold; color: #b0c4de; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-italic { font-style: italic; color: #b0c4de; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-underline { text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-strike { text-decoration: line-through; color: #b0c4de; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-link-text {text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-heading1 { color: #b0c4de; }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-calm-forest .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-charcoal-black.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-charcoal-black.css
new file mode 100644
index 0000000..72fab37
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-charcoal-black.css
@@ -0,0 +1,59 @@
+.Ymacs-Theme-charcoal-black .Ymacs_Frame { color: #bebebe; background-color: #262626; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .type { color: #87ceeb; font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .builtin { color: #7fffd4; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .function-name { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .variable-name { color: #40e0d0; font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .constant { color: #98fb98; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .string { color: #87cefa; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .string-starter { color: #87cefa; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .string-stopper { color: #87cefa; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .regexp { color: #87cefa; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .regexp-starter { color: #87cefa; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .regexp-stopper { color: #87cefa; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .regexp-modifier { color: #87cefa; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .keyword { color: #afeeee; font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .comment { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .mcomment { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .comment-starter { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .mcomment-starter { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .mcomment-stopper { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .number { color: #98fb98; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .operator { }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .error { color: #ff0000; font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-open-tag { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-close-tag { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-attribute { color: #40e0d0; font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-entity-starter { color: #98fb98; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-entity-stopper { color: #98fb98; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-entity { color: #98fb98; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-cdata { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-cdata-starter { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .xml-cdata-stopper { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .lisp-keyword { color: #98fb98; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-heading1 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-heading2 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-heading3 { font-weight: bold; font-size: 1.508em; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.925em; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-heading5 { color: #f5f5dc; font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-blockquote { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-blockquote1 { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-blockquote2 { color: #add8e6; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .markdown-blockquote3 { color: #add8e6; }
+
+/* Org Mode */
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-bold { font-weight: bold; color: #7fffd4; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-italic { font-style: italic; color: #7fffd4; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-underline { text-decoration: underline; color: #7fffd4; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-strike { text-decoration: line-through; color: #7fffd4; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #7fffd4; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-link-text {text-decoration: underline; color: #7fffd4; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #7fffd4; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-heading1 { color: #7fffd4; }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-charcoal-black .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-clarity-and-beauty.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-clarity-and-beauty.css
new file mode 100644
index 0000000..4d6be89
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-clarity-and-beauty.css
@@ -0,0 +1,59 @@
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame { color: #ffffff; background-color: #000000; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .type { color: #98fb98; font-weight: bold; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .builtin { color: #b0c4de; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .function-name { color: #87cefa; font-weight: bold; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .variable-name { color: #eedd82; font-weight: bold; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .constant { color: #7fffd4; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .string { color: #ffa07a; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .string-starter { color: #ffa07a; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .string-stopper { color: #ffa07a; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .regexp { color: #ffa07a; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .regexp-starter { color: #ffa07a; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .regexp-stopper { color: #ffa07a; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .regexp-modifier { color: #ffa07a; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .keyword { color: #00ffff; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .comment { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .mcomment { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .comment-starter { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .mcomment-starter { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .mcomment-stopper { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .number { color: #7fffd4; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .operator { }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .error { color: #ffc0cb; font-weight: bold; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-open-tag { color: #87cefa; font-weight: bold; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-close-tag { color: #87cefa; font-weight: bold; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-attribute { color: #eedd82; font-weight: bold; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-entity-starter { color: #7fffd4; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-entity-stopper { color: #7fffd4; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-entity { color: #7fffd4; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-cdata { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-cdata-starter { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .xml-cdata-stopper { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .lisp-keyword { color: #7fffd4; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-heading1 { font-size: 2.050em; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-heading2 { font-size: 2.050em; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-heading3 { font-size: 1.508em; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.925em; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-heading5 { color: #e6e6fa; font-weight: bold; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-blockquote { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-blockquote1 { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-blockquote2 { color: #ff4500; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .markdown-blockquote3 { color: #ff4500; }
+
+/* Org Mode */
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-bold { font-weight: bold; color: #b0c4de; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-italic { font-style: italic; color: #b0c4de; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-underline { text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-strike { text-decoration: line-through; color: #b0c4de; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-link-text {text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-heading1 { color: #b0c4de; }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-clarity-and-beauty .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-classic.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-classic.css
new file mode 100644
index 0000000..2fb5773
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-classic.css
@@ -0,0 +1,59 @@
+.Ymacs-Theme-classic .Ymacs_Frame { color: #faebd7; background-color: #2f4f4f; }
+.Ymacs-Theme-classic .Ymacs_Frame .type { color: #7ccd7c; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .builtin { color: #98fb98; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .function-name { color: #63b8ff; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .variable-name { color: #fff68f; }
+.Ymacs-Theme-classic .Ymacs_Frame .constant { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .string { color: #cd8162; }
+.Ymacs-Theme-classic .Ymacs_Frame .string-starter { color: #cd8162; }
+.Ymacs-Theme-classic .Ymacs_Frame .string-stopper { color: #cd8162; }
+.Ymacs-Theme-classic .Ymacs_Frame .regexp { color: #cd8162; }
+.Ymacs-Theme-classic .Ymacs_Frame .regexp-starter { color: #cd8162; }
+.Ymacs-Theme-classic .Ymacs_Frame .regexp-stopper { color: #cd8162; }
+.Ymacs-Theme-classic .Ymacs_Frame .regexp-modifier { color: #cd8162; }
+.Ymacs-Theme-classic .Ymacs_Frame .keyword { color: #00ffff; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .comment { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .mcomment { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .comment-starter { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .mcomment-starter { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .mcomment-stopper { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .number { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .operator { }
+.Ymacs-Theme-classic .Ymacs_Frame .error { color: #cd5c5c; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-open-tag { color: #63b8ff; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-close-tag { color: #63b8ff; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-attribute { color: #fff68f; }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-entity-starter { color: #7fffd4; }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-entity-stopper { color: #7fffd4; }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-entity { color: #7fffd4; }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-cdata { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-cdata-starter { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .xml-cdata-stopper { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .lisp-keyword { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-heading1 { font-size: 1.717em; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-heading2 { font-size: 1.400em; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-heading3 { font-size: 1.175em; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-heading4 { font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-heading5 { color: #f5f5dc; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-heading6 { color: #f5deb3; font-weight: bold; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-blockquote { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-blockquote1 { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-blockquote2 { color: #cd4f39; }
+.Ymacs-Theme-classic .Ymacs_Frame .markdown-blockquote3 { color: #cd4f39; }
+
+/* Org Mode */
+.Ymacs-Theme-classic .Ymacs_Frame .org-bold { font-weight: bold; color: #98fb98; }
+.Ymacs-Theme-classic .Ymacs_Frame .org-italic { font-style: italic; color: #98fb98; }
+.Ymacs-Theme-classic .Ymacs_Frame .org-underline { text-decoration: underline; color: #98fb98; }
+.Ymacs-Theme-classic .Ymacs_Frame .org-strike { text-decoration: line-through; color: #98fb98; }
+.Ymacs-Theme-classic .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #98fb98; }
+.Ymacs-Theme-classic .Ymacs_Frame .org-link-text {text-decoration: underline; color: #98fb98; }
+.Ymacs-Theme-classic .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #98fb98; }
+.Ymacs-Theme-classic .Ymacs_Frame .org-heading1 { color: #98fb98; }
+.Ymacs-Theme-classic .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-classic .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-classic .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-classic .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-gnome2.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-gnome2.css
new file mode 100644
index 0000000..271e7ce
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-gnome2.css
@@ -0,0 +1,59 @@
+.Ymacs-Theme-gnome2 .Ymacs_Frame { color: #f5deb3; background-color: #2f4f4f; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .type { color: #9acd32; font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .builtin { color: #98fb98; font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .function-name { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .variable-name { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .constant { color: #7fffd4; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .string { color: #ffa07a; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .string-starter { color: #ffa07a; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .string-stopper { color: #ffa07a; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .regexp { color: #ffa07a; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .regexp-starter { color: #ffa07a; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .regexp-stopper { color: #ffa07a; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .regexp-modifier { color: #ffa07a; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .keyword { color: #fa8072; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .comment { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .mcomment { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .comment-starter { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .mcomment-starter { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .mcomment-stopper { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .number { color: #7fffd4; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .operator { }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .error { color: #ff0000; font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-open-tag { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-close-tag { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-attribute { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-entity-starter { color: #7fffd4; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-entity-stopper { color: #7fffd4; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-entity { color: #7fffd4; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-cdata { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-cdata-starter { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .xml-cdata-stopper { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .lisp-keyword { color: #7fffd4; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-heading1 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-heading2 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-heading3 { font-weight: bold; font-size: 1.508em; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.925em; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-heading5 { color: #f5f5dc; font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-blockquote { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-blockquote1 { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-blockquote2 { color: #add8e6; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .markdown-blockquote3 { color: #add8e6; }
+
+/* Org Mode */
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-bold { font-weight: bold; color: #98fb98; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-italic { font-style: italic; color: #98fb98; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-underline { text-decoration: underline; color: #98fb98; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-strike { text-decoration: line-through; color: #98fb98; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #98fb98; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-link-text {text-decoration: underline; color: #98fb98; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #98fb98; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-heading1 { color: #98fb98; }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-gnome2 .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-gtk-ide.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-gtk-ide.css
new file mode 100644
index 0000000..940993c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-gtk-ide.css
@@ -0,0 +1,59 @@
+.Ymacs-Theme-gtk-ide .Ymacs_Frame { color: #000000; background-color: #ffffff; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .type { color: #36648b; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .builtin { color: #228b22; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .function-name { color: #6a5acd; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .variable-name { color: #b8860b; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .constant { color: #6b8e23; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .string { color: #8b0000; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .string-starter { color: #8b0000; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .string-stopper { color: #8b0000; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .regexp { color: #8b0000; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .regexp-starter { color: #8b0000; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .regexp-stopper { color: #8b0000; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .regexp-modifier { color: #8b0000; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .keyword { color: #00008b; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .comment { color: #8c8c8c; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .mcomment { color: #8c8c8c; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .comment-starter { color: #8c8c8c; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .mcomment-starter { color: #8c8c8c; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .mcomment-stopper { color: #8c8c8c; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .number { color: #6b8e23; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .operator { }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .error { color: #d02090; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-open-tag { color: #6a5acd; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-close-tag { color: #6a5acd; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-attribute { color: #b8860b; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-entity-starter { color: #6b8e23; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-entity-stopper { color: #6b8e23; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-entity { color: #6b8e23; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-cdata { color: #8c8c8c; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-cdata-starter { color: #8c8c8c; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .xml-cdata-stopper { color: #8c8c8c; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .lisp-keyword { color: #6b8e23; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-heading1 { font-size: 1.717em; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-heading2 { font-size: 1.400em; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-heading3 { font-size: 1.175em; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-heading4 { font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-blockquote { color: #8c8c8c; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-blockquote1 { color: #8c8c8c; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-blockquote2 { color: #8c8c8c; font-weight: bold; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .markdown-blockquote3 { color: #8c8c8c; font-weight: bold; }
+
+/* Org Mode */
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-bold { font-weight: bold; color: #228b22; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-italic { font-style: italic; color: #228b22; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-underline { text-decoration: underline; color: #228b22; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-strike { text-decoration: line-through; color: #228b22; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #228b22; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-link-text {text-decoration: underline; color: #228b22; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #228b22; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-heading1 { color: #228b22; }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-gtk-ide .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-high-contrast.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-high-contrast.css
new file mode 100644
index 0000000..2e39c6f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-high-contrast.css
@@ -0,0 +1,59 @@
+.Ymacs-Theme-high-contrast .Ymacs_Frame { color: #000000; background-color: #ffffff; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .type { color: #228b22; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .builtin { color: #ff0000; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .function-name { color: #0000ff; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .variable-name { color: #b8860b; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .constant { color: #0000ff; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .string { color: #006400; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .string-starter { color: #006400; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .string-stopper { color: #006400; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .regexp { color: #006400; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .regexp-starter { color: #006400; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .regexp-stopper { color: #006400; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .regexp-modifier { color: #006400; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .keyword { color: #a020f0; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .comment { color: #b22222; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .mcomment { color: #b22222; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .comment-starter { color: #b22222; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .mcomment-starter { color: #b22222; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .mcomment-stopper { color: #b22222; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .number { color: #0000ff; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .operator { }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .error { color: #ff0000; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-open-tag { color: #0000ff; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-close-tag { color: #0000ff; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-attribute { color: #b8860b; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-entity-starter { color: #0000ff; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-entity-stopper { color: #0000ff; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-entity { color: #0000ff; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-cdata { color: #b22222; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-cdata-starter { color: #b22222; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .xml-cdata-stopper { color: #b22222; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .lisp-keyword { color: #0000ff; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-heading1 { font-size: 1.717em; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-heading2 { font-size: 1.400em; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-heading3 { font-size: 1.175em; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-heading4 { font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-blockquote { color: #b22222; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-blockquote1 { color: #b22222; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-blockquote2 { color: #b22222; font-weight: bold; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .markdown-blockquote3 { color: #b22222; font-weight: bold; }
+
+/* Org Mode */
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-bold { font-weight: bold; color: #ff0000; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-italic { font-style: italic; color: #ff0000; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-underline { text-decoration: underline; color: #ff0000; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-strike { text-decoration: line-through; color: #ff0000; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #ff0000; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-link-text {text-decoration: underline; color: #ff0000; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #ff0000; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-heading1 { color: #ff0000; }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-high-contrast .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-linh-dang-dark.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-linh-dang-dark.css
new file mode 100644
index 0000000..4d5f2da
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-linh-dang-dark.css
@@ -0,0 +1,59 @@
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame { color: #ffffff; background-color: #000000; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .type { color: #98fb98; font-weight: bold; font-size: 0.908em; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .builtin { color: #4682b4; font-weight: bold; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .function-name { color: #87cefa; font-weight: bold; font-size: 0.908em; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .variable-name { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .constant { color: #ffd700; font-weight: bold; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .string { color: #deb887; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .string-starter { color: #deb887; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .string-stopper { color: #deb887; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .regexp { color: #deb887; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .regexp-starter { color: #deb887; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .regexp-stopper { color: #deb887; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .regexp-modifier { color: #deb887; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .keyword { color: #87cefa; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .comment { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .mcomment { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .comment-starter { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .mcomment-starter { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .mcomment-stopper { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .number { color: #ffd700; font-weight: bold; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .operator { }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .error { color: #d2691e; font-weight: bold; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-open-tag { color: #87cefa; font-weight: bold; font-size: 0.908em; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-close-tag { color: #87cefa; font-weight: bold; font-size: 0.908em; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-attribute { color: #7fffd4; font-weight: bold; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-entity-starter { color: #ffd700; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-entity-stopper { color: #ffd700; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-entity { color: #ffd700; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-cdata { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-cdata-starter { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .xml-cdata-stopper { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .lisp-keyword { color: #ffd700; font-weight: bold; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-heading1 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-heading2 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-heading3 { font-weight: bold; font-size: 1.508em; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.925em; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-heading5 { color: #8b0000; font-weight: bold; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-blockquote { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-blockquote1 { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-blockquote2 { color: #cdc0b0; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .markdown-blockquote3 { color: #cdc0b0; }
+
+/* Org Mode */
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-bold { font-weight: bold; color: #4682b4; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-italic { font-style: italic; color: #4682b4; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-underline { text-decoration: underline; color: #4682b4; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-strike { text-decoration: line-through; color: #4682b4; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #4682b4; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-link-text {text-decoration: underline; color: #4682b4; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #4682b4; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-heading1 { color: #4682b4; }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-linh-dang-dark .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-mishoo.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-mishoo.css
new file mode 100644
index 0000000..c2d877d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-mishoo.css
@@ -0,0 +1,45 @@
+.Ymacs-Theme-mishoo .Ymacs_Frame { color: #faebd7; background-color: #1e2e2e; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .type { color: #7ccd7c; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .builtin { color: #98fb98; font-weight: bold; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .function-name { color: #63b8ff; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .variable-name { color: #fff68f; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .constant { color: #7fffd4; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .string { color: #ffa500; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .string-starter { color: #ffa500; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .string-stopper { color: #ffa500; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .regexp { color: #ffa500; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .regexp-starter { color: #ffa500; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .regexp-stopper { color: #ffa500; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .regexp-modifier { color: #ffa500; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .keyword { color: #00ffff; font-weight: bold; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .comment { color: #32cd32; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .mcomment { color: #32cd32; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .comment-starter { color: #daa520; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .mcomment-starter { color: #daa520; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .mcomment-stopper { color: #daa520; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .number { color: #7fffd4; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .operator { }
+.Ymacs-Theme-mishoo .Ymacs_Frame .error { color: #ffff00; font-weight: bold; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-open-tag { color: #63b8ff; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-close-tag { color: #63b8ff; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-attribute { color: #fff68f; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-entity-starter { color: #7fffd4; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-entity-stopper { color: #7fffd4; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-entity { color: #7fffd4; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-cdata { color: #32cd32; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-cdata-starter { color: #daa520; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .xml-cdata-stopper { color: #daa520; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .lisp-keyword { color: #7fffd4; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-heading1 { font-weight: bold; font-size: 1.090em; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-heading2 { font-weight: bold; font-size: 0.924em; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-heading3 { font-weight: bold; font-size: 0.752em; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 0.628em; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-heading5 { color: #f5f5dc; font-weight: bold; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-blockquote { color: #32cd32; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-blockquote1 { color: #32cd32; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-blockquote2 { color: #32cd32; }
+.Ymacs-Theme-mishoo .Ymacs_Frame .markdown-blockquote3 { color: #32cd32; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-scintilla.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-scintilla.css
new file mode 100644
index 0000000..4d207a2
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-scintilla.css
@@ -0,0 +1,59 @@
+.Ymacs-Theme-scintilla .Ymacs_Frame { color: #000000; background-color: #ffffff; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .type { color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .builtin { color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .function-name { color: #008b8b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .variable-name { color: #008b8b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .constant { color: #0000ff; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .string { color: #8b008b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .string-starter { color: #8b008b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .string-stopper { color: #8b008b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .regexp { color: #8b008b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .regexp-starter { color: #8b008b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .regexp-stopper { color: #8b008b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .regexp-modifier { color: #8b008b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .keyword { color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .comment { color: #228b22; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .mcomment { color: #228b22; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .comment-starter { color: #b22222; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .mcomment-starter { color: #b22222; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .mcomment-stopper { color: #b22222; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .number { color: #0000ff; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .operator { }
+.Ymacs-Theme-scintilla .Ymacs_Frame .error { color: #d02090; font-weight: bold; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-open-tag { color: #008b8b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-close-tag { color: #008b8b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-attribute { color: #008b8b; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-entity-starter { }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-entity-stopper { }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-entity { }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-cdata { color: #228b22; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-cdata-starter { color: #b22222; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .xml-cdata-stopper { color: #b22222; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .lisp-keyword { color: #0000ff; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-heading1 { font-weight: bold; font-size: 2.207em; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-heading2 { font-weight: bold; font-size: 1.768em; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-heading3 { font-weight: bold; font-size: 2.110em; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.646em; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-heading5 { color: #9acd32; font-weight: bold; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-heading6 { color: #ffff00; background-color: #666666; font-weight: bold; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-blockquote { color: #228b22; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-blockquote1 { color: #228b22; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-blockquote2 { color: #228b22; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .markdown-blockquote3 { color: #228b22; }
+
+/* Org Mode */
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-bold { font-weight: bold; color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-italic { font-style: italic; color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-underline { text-decoration: underline; color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-strike { text-decoration: line-through; color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-link-text {text-decoration: underline; color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-heading1 { color: #000080; }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-scintilla .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-standard-dark.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-standard-dark.css
new file mode 100644
index 0000000..53e293f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-standard-dark.css
@@ -0,0 +1,59 @@
+.Ymacs-Theme-standard-dark .Ymacs_Frame { color: #bebebe; background-color: #262626; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .type { color: #98fb98; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .builtin { color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .function-name { color: #87cefa; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .variable-name { color: #eedd82; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .constant { color: #7fffd4; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .string { color: #ffa07a; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .string-starter { color: #ffa07a; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .string-stopper { color: #ffa07a; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .regexp { color: #ffa07a; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .regexp-starter { color: #ffa07a; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .regexp-stopper { color: #ffa07a; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .regexp-modifier { color: #ffa07a; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .keyword { color: #00ffff; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .comment { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .mcomment { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .comment-starter { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .mcomment-starter { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .mcomment-stopper { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .number { color: #7fffd4; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .operator { }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .error { color: #ffc0cb; font-weight: bold; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-open-tag { color: #87cefa; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-close-tag { color: #87cefa; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-attribute { color: #eedd82; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-entity-starter { color: #7fffd4; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-entity-stopper { color: #7fffd4; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-entity { color: #7fffd4; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-cdata { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-cdata-starter { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .xml-cdata-stopper { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .lisp-keyword { color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-heading1 { font-size: 1.711em; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-heading2 { font-size: 1.434em; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-heading3 { font-size: 1.211em; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-heading4 { font-weight: bold; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-blockquote { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-blockquote1 { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-blockquote2 { color: #ff7f24; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .markdown-blockquote3 { color: #ff7f24; }
+
+/* Org Mode */
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-bold { font-weight: bold; color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-italic { font-style: italic; color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-underline { text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-strike { text-decoration: line-through; color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-link-text {text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-heading1 { color: #b0c4de; }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-standard-dark .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-standard-xemacs.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-standard-xemacs.css
new file mode 100644
index 0000000..b6a30fb
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-standard-xemacs.css
@@ -0,0 +1,59 @@
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame { color: #000000; background-color: #cccccc; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .type { color: #4682b4; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .builtin { color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .function-name { color: #8b2323; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .variable-name { color: #8b008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .constant { color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .string { color: #008b00; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .string-starter { color: #008b00; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .string-stopper { color: #008b00; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .regexp { color: #008b00; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .regexp-starter { color: #008b00; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .regexp-stopper { color: #008b00; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .regexp-modifier { color: #008b00; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .keyword { color: #8b0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .comment { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .mcomment { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .comment-starter { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .mcomment-starter { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .mcomment-stopper { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .number { color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .operator { }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .error { color: #ff0000; font-weight: bold; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-open-tag { color: #8b2323; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-close-tag { color: #8b2323; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-attribute { color: #8b008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-entity-starter { color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-entity-stopper { color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-entity { color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-cdata { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-cdata-starter { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .xml-cdata-stopper { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .lisp-keyword { color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-heading1 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-heading2 { font-weight: bold; font-size: 2.050em; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-heading3 { font-weight: bold; font-size: 1.508em; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-heading4 { font-weight: bold; font-size: 1.925em; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-blockquote { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-blockquote1 { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-blockquote2 { color: #00008b; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .markdown-blockquote3 { color: #00008b; }
+
+/* Org Mode */
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-bold { font-weight: bold; color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-italic { font-style: italic; color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-underline { text-decoration: underline; color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-strike { text-decoration: line-through; color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-link-text {text-decoration: underline; color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-heading1 { color: #cd0000; }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-standard-xemacs .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-standard.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-standard.css
new file mode 100644
index 0000000..2373592
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-standard.css
@@ -0,0 +1,59 @@
+.Ymacs-Theme-standard .Ymacs_Frame { color: #000000; background-color: #ffffff; }
+.Ymacs-Theme-standard .Ymacs_Frame .type { color: #228b22; }
+.Ymacs-Theme-standard .Ymacs_Frame .builtin { color: #da70d6; }
+.Ymacs-Theme-standard .Ymacs_Frame .function-name { color: #0000ff; }
+.Ymacs-Theme-standard .Ymacs_Frame .variable-name { color: #b8860b; }
+.Ymacs-Theme-standard .Ymacs_Frame .constant { color: #5f9ea0; }
+.Ymacs-Theme-standard .Ymacs_Frame .string { color: #bc8f8f; }
+.Ymacs-Theme-standard .Ymacs_Frame .string-starter { color: #bc8f8f; }
+.Ymacs-Theme-standard .Ymacs_Frame .string-stopper { color: #bc8f8f; }
+.Ymacs-Theme-standard .Ymacs_Frame .regexp { color: #bc8f8f; }
+.Ymacs-Theme-standard .Ymacs_Frame .regexp-starter { color: #bc8f8f; }
+.Ymacs-Theme-standard .Ymacs_Frame .regexp-stopper { color: #bc8f8f; }
+.Ymacs-Theme-standard .Ymacs_Frame .regexp-modifier { color: #bc8f8f; }
+.Ymacs-Theme-standard .Ymacs_Frame .keyword { color: #a020f0; }
+.Ymacs-Theme-standard .Ymacs_Frame .comment { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .mcomment { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .comment-starter { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .mcomment-starter { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .mcomment-stopper { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .number { color: #5f9ea0; }
+.Ymacs-Theme-standard .Ymacs_Frame .operator { }
+.Ymacs-Theme-standard .Ymacs_Frame .error { color: #ff0000; font-weight: bold; }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-open-tag { color: #0000ff; }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-close-tag { color: #0000ff; }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-attribute { color: #b8860b; }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-entity-starter { color: #5f9ea0; }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-entity-stopper { color: #5f9ea0; }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-entity { color: #5f9ea0; }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-cdata { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-cdata-starter { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .xml-cdata-stopper { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .lisp-keyword { color: #5f9ea0; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-heading1 { font-size: 1.717em; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-heading2 { font-size: 1.400em; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-heading3 { font-size: 1.175em; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-heading4 { font-weight: bold; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-blockquote { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-blockquote1 { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-blockquote2 { color: #b22222; }
+.Ymacs-Theme-standard .Ymacs_Frame .markdown-blockquote3 { color: #b22222; }
+
+/* Org Mode */
+.Ymacs-Theme-standard .Ymacs_Frame .org-bold { font-weight: bold; color: #da70d6; }
+.Ymacs-Theme-standard .Ymacs_Frame .org-italic { font-style: italic; color: #da70d6; }
+.Ymacs-Theme-standard .Ymacs_Frame .org-underline { text-decoration: underline; color: #da70d6; }
+.Ymacs-Theme-standard .Ymacs_Frame .org-strike { text-decoration: line-through; color: #da70d6; }
+.Ymacs-Theme-standard .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #da70d6; }
+.Ymacs-Theme-standard .Ymacs_Frame .org-link-text {text-decoration: underline; color: #da70d6; }
+.Ymacs-Theme-standard .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #da70d6; }
+.Ymacs-Theme-standard .Ymacs_Frame .org-heading1 { color: #da70d6; }
+.Ymacs-Theme-standard .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-standard .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-standard .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-standard .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-vim-colors.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-vim-colors.css
new file mode 100644
index 0000000..f11d863
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-vim-colors.css
@@ -0,0 +1,59 @@
+.Ymacs-Theme-vim-colors .Ymacs_Frame { color: #000000; background-color: #fefefe; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .type { color: #228b22; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .builtin { color: #a020f0; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .function-name { color: #008a8a; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .variable-name { color: #008a8a; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .constant { color: #008b00; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .string { color: #fe00fe; background-color: #f1f1f1; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .string-starter { color: #fe00fe; background-color: #f1f1f1; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .string-stopper { color: #fe00fe; background-color: #f1f1f1; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .regexp { color: #fe00fe; background-color: #f1f1f1; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .regexp-starter { color: #fe00fe; background-color: #f1f1f1; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .regexp-stopper { color: #fe00fe; background-color: #f1f1f1; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .regexp-modifier { color: #fe00fe; background-color: #f1f1f1; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .keyword { color: #a42929; font-weight: bold; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .comment { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .mcomment { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .comment-starter { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .mcomment-starter { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .mcomment-stopper { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .number { color: #008b00; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .operator { }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .error { color: #ff0000; font-weight: bold; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-open-tag { color: #008a8a; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-close-tag { color: #008a8a; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-attribute { color: #008a8a; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-entity-starter { color: #008b00; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-entity-stopper { color: #008b00; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-entity { color: #008b00; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-open-bracket { }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-close-bracket { }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-closetag-slash { }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-cdata { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-cdata-starter { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .xml-cdata-stopper { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .lisp-keyword { color: #008b00; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-heading1 { font-size: 1.717em; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-heading2 { font-size: 1.400em; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-heading3 { font-size: 1.175em; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-heading4 { font-weight: bold; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-blockquote { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-blockquote1 { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-blockquote2 { color: #0000ff; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .markdown-blockquote3 { color: #0000ff; }
+
+/* Org Mode */
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-bold { font-weight: bold; color: #a020f0; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-italic { font-style: italic; color: #a020f0; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-underline { text-decoration: underline; color: #a020f0; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-strike { text-decoration: line-through; color: #a020f0; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #a020f0; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-link-text {text-decoration: underline; color: #a020f0; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #a020f0; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-heading1 { color: #a020f0; }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-vim-colors .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-zenburn.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-zenburn.css
new file mode 100644
index 0000000..134d7c2
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/themes/emacs-zenburn.css
@@ -0,0 +1,59 @@
+.Ymacs-Theme-zenburn .Ymacs_Frame { color: #dbdbcb; background-color: #3e3e3e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .type { color: #dedebe; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .builtin { color: #8bcfd2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .function-name { color: #efdeae; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .variable-name { color: #efdeae; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .constant { color: #dba2a2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .string { color: #cb9292; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .string-starter { color: #cb9292; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .string-stopper { color: #cb9292; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .regexp { color: #cb9292; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .regexp-starter { color: #cb9292; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .regexp-stopper { color: #cb9292; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .regexp-modifier { color: #cb9292; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .keyword { color: #efdeae; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .comment { color: #7e9e7e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .mcomment { color: #7e9e7e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .comment-starter { color: #6f7f6f; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .mcomment-starter { color: #6f7f6f; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .mcomment-stopper { color: #6f7f6f; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .number { color: #dba2a2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .operator { }
+.Ymacs-Theme-zenburn .Ymacs_Frame .error { color: #e2706f; background-color: #322222; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-open-tag { color: #efdeae; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-close-tag { color: #efdeae; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-attribute { color: #efdeae; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-entity-starter { color: #93bef2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-entity-stopper { color: #93bef2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-entity { color: #93bef2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-open-bracket { color: #dbdbcb; background-color: #3e3e3e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-close-bracket { color: #dbdbcb; background-color: #3e3e3e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-closetag-slash { color: #dbdbcb; background-color: #3e3e3e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-cdata { color: #dbdbcb; background-color: #3e3e3e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-cdata-starter { color: #dba2a2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .xml-cdata-stopper { color: #dba2a2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .lisp-keyword { color: #dba2a2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-heading1 { font-size: 1.717em; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-heading2 { font-size: 1.400em; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-heading3 { font-size: 1.175em; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-heading4 { font-weight: bold; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-heading5 { font-weight: bold; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-heading6 { font-weight: bold; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-blockquote { color: #7e9e7e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-blockquote1 { color: #7e9e7e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-blockquote2 { color: #7e9e7e; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .markdown-blockquote3 { color: #7e9e7e; }
+
+/* Org Mode */
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-bold { font-weight: bold; color: #8bcfd2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-italic { font-style: italic; color: #8bcfd2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-underline { text-decoration: underline; color: #8bcfd2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-strike { text-decoration: line-through; color: #8bcfd2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #8bcfd2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-link-text {text-decoration: underline; color: #8bcfd2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #8bcfd2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-heading1 { color: #8bcfd2; }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-zenburn .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs-dark.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs-dark.css
new file mode 100644
index 0000000..cbb9336
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs-dark.css
@@ -0,0 +1,59 @@
+@import url("ymacs-syntax-dark.css");
+@import url("themes/emacs-mishoo.css");
+@import url("themes/emacs-billw.css");
+@import url("themes/emacs-charcoal-black.css");
+@import url("themes/emacs-clarity-and-beauty.css");
+@import url("themes/emacs-classic.css");
+@import url("themes/emacs-gnome2.css");
+@import url("themes/emacs-calm-forest.css");
+@import url("themes/emacs-linh-dang-dark.css");
+@import url("themes/emacs-blue-mood.css");
+@import url("themes/emacs-zenburn.css");
+@import url("themes/emacs-standard-dark.css");
+
+.Ymacs-Theme-dark .Ymacs-caret {
+ background-color: #aaa;
+ /* outline: 1px solid #f83; */
+}
+
+.Ymacs-Theme-dark .Ymacs_Frame-focus .Ymacs-caret {
+ background-color: #f83;
+ color: #324 !important;
+ /* outline: none; */
+}
+
+.Ymacs-Theme-dark .Ymacs_Frame-focus .Ymacs-current-line {
+ background-color: #000;
+}
+
+.Ymacs-Theme-dark .Ymacs-overwrite-mode .Ymacs-caret {
+ background-color: #97f;
+ color: #fff;
+}
+
+.Ymacs-Theme-dark .Ymacs_Overlay .match-paren { background: #8f8; }
+.Ymacs-Theme-dark .Ymacs_Overlay .selection { background: #ccf; }
+.Ymacs-Theme-dark .Ymacs_Overlay .isearch { background: #ffc; }
+
+.Ymacs-Theme-dark .Ymacs_Modeline {
+ background-color: #777;
+ color: #111;
+ border-top: 1px solid #999;
+ border-bottom: 1px solid #000;
+}
+
+.Ymacs-Theme-dark .Ymacs_Frame-active .Ymacs_Modeline {
+ background-color: #bbb;
+ color: #000;
+ border-top: 1px solid #fff;
+}
+
+.Ymacs-Theme-dark .Ymacs-line-numbers .Ymacs-frame-content div.line:before {
+ border-right: 1px dotted #888;
+ background-color: #112;
+}
+
+.Ymacs-Theme-dark .Ymacs-line-numbers .Ymacs-frame-content div.Ymacs-current-line:before {
+ background-color: #000;
+ color: #f51;
+}
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs-light.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs-light.css
new file mode 100644
index 0000000..7fdf73b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs-light.css
@@ -0,0 +1,55 @@
+@import url("ymacs-syntax-light.css");
+@import url("themes/emacs-andreas.css");
+@import url("themes/emacs-high-contrast.css");
+@import url("themes/emacs-gtk-ide.css");
+@import url("themes/emacs-standard-xemacs.css");
+@import url("themes/emacs-bharadwaj.css");
+@import url("themes/emacs-scintilla.css");
+@import url("themes/emacs-vim-colors.css");
+@import url("themes/emacs-standard.css");
+
+.Ymacs-Theme-light .Ymacs-caret {
+ background-color: #888;
+}
+
+.Ymacs-Theme-light .Ymacs_Frame-focus .Ymacs-caret {
+ background-color: #f51;
+ color: #324;
+}
+
+.Ymacs-Theme-light .Ymacs_Frame-focus .Ymacs-current-line {
+ background-color: #fdb;
+}
+
+.Ymacs-Theme-light .Ymacs-overwrite-mode .Ymacs-caret {
+ background-color: #97f;
+ color: #fff;
+}
+
+
+.Ymacs-Theme-light .Ymacs_Overlay .match-paren { background: #080; }
+.Ymacs-Theme-light .Ymacs_Overlay .selection { background: #88f; opacity: 0.8; }
+.Ymacs-Theme-light .Ymacs_Overlay .isearch { background: #a22; }
+
+.Ymacs-Theme-light .Ymacs_Modeline {
+ background-color: #777;
+ color: #111;
+ border-top: 1px solid #999;
+ border-bottom: 1px solid #000;
+}
+
+.Ymacs-Theme-light .Ymacs_Frame-active .Ymacs_Modeline {
+ background-color: #bbb;
+ color: #000;
+ border-top: 1px solid #fff;
+}
+
+.Ymacs-Theme-light .Ymacs-line-numbers .Ymacs-frame-content div.line:before {
+ border-right: 1px dotted #888;
+ background-color: #edc;
+}
+
+.Ymacs-Theme-light .Ymacs-line-numbers .Ymacs-frame-content div.Ymacs-current-line:before {
+ background-color: #fdb;
+ color: #000;
+}
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs-syntax-dark.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs-syntax-dark.css
new file mode 100644
index 0000000..4a5d8e8
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs-syntax-dark.css
@@ -0,0 +1,73 @@
+/* general stuff */
+
+.Ymacs-Theme-dark .Ymacs_Frame { color: wheat; background-color: #262626; }
+
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .type { color: #87ceeb; font-weight: bold; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .builtin { color: rgb(176, 196, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .function-name { color: rgb(135, 206, 250); font-weight: bold; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .variable-name { color: rgb(238, 221, 130); font-weight: bold; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .constant { color: rgb(127, 255, 212); font-style: normal; }
+
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .string { color: rgb(250, 200, 80); font-style: normal; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .string-starter,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .string-stopper { color: #c59500; }
+
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .regexp { color: #d9f; font-style: normal; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .regexp-starter,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .regexp-stopper,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .regexp-modifier { color: #e4f; font-weight: bold; }
+
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .keyword { color: rgb(0, 255, 255); font-weight: bold; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .comment,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .mcomment { color: #45cc00; font-style: normal; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .comment-starter,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .mcomment-starter,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .mcomment-stopper { color: #999; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .number { color: yellow; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .operator { color: #fff; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .error { color: #ff0; background-color: #a00; font-weight: bold; }
+/* .Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .trailing-whitespace { text-decoration: underline; color: #777; } */
+
+/* XML mode */
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-open-tag,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-close-tag { color: rgb(0, 255, 255); font-weight: bold; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-attribute { color: rgb(106, 176, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-entity-starter,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-entity-stopper { color: #f4c; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-entity { color: #e4f; font-style: normal; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-closetag-slash { color: #f51; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-open-bracket,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-close-bracket { color: #a56500; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-cdata { color: #bbb; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-cdata-starter,
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .xml-cdata-stopper { color: #888; }
+
+/* Lisp mode */
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .lisp-keyword { color: #8f8; font-weight: bold; }
+
+/* Markdown mode */
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-heading1 { color: #8df; font-weight: bold; font-size: 200%; font-family: "Lucida Grande","Trebuchet MS",Verdana,Tahoma,sans-serif;; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-heading2 { color: #8df; font-weight: bold; font-size: 170%; font-family: "Lucida Grande","Trebuchet MS",Verdana,Tahoma,sans-serif;; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-heading3 { color: #8df; font-weight: bold; font-size: 150%; font-family: "Lucida Grande","Trebuchet MS",Verdana,Tahoma,sans-serif;; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-heading4 { color: #8df; font-weight: bold; font-size: 130%; font-family: "Lucida Grande","Trebuchet MS",Verdana,Tahoma,sans-serif;; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-heading5 { color: #8df; font-weight: bold; font-size: 110%; font-family: "Lucida Grande","Trebuchet MS",Verdana,Tahoma,sans-serif;; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-heading6 { color: #8df; font-weight: bold; font-size: 100%; font-family: "Lucida Grande","Trebuchet MS",Verdana,Tahoma,sans-serif;; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-blockquote1 { color: #8f8; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-blockquote2 { color: #88f; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-blockquote3 { color: #f8f; }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .markdown-blockquote { color: #aaa; }
+
+/* Org Mode */
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-bold { font-weight: bold; color: rgb(176, 196, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-italic { font-style: italic; color: rgb(176, 196, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-underline { text-decoration: underline; color: rgb(176, 196, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-strike { text-decoration: line-through; color: rgb(176, 196, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: rgb(176, 196, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-link-text {text-decoration: underline; color: rgb(176, 196, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: rgb(176, 196, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-heading1 { color: rgb(176, 196, 222); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-dark.Ymacs-Theme-y .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs-syntax-light.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs-syntax-light.css
new file mode 100644
index 0000000..e52c77c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs-syntax-light.css
@@ -0,0 +1,58 @@
+/* general stuff */
+
+.Ymacs-Theme-light .Ymacs_Frame { color: #222; background-color: wheat;}
+
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .type { color: #6b8e23; font-weight: bold; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .builtin { color: #9932cc; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .function-name { color: #5f5fff; font-weight: bold; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .variable-name { color: #ba8912; font-weight: bold; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .constant { color: #53868b; font-style: normal; }
+
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .string { color: #8b6969; font-style: normal; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .string-starter,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .string-stopper { color: #6b4949; }
+
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .regexp { color: #8b008b; font-style: normal; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .regexp-starter,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .regexp-stopper,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .regexp-modifier { color: #6b006b; font-weight: bold; }
+
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .keyword { color: #4020f0; font-weight: bold; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .comment,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .mcomment { color: #080; font-style: italic; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .comment-starter,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .mcomment-starter,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .mcomment-stopper { color: #333; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .number { color: #c00; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .operator { color: #000; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .error { color: #f00; background-color: #faa; font-weight: bold; }
+/* .Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .trailing-whitespace { text-decoration: underline; color: #777; } */
+
+/* XML mode */
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-open-tag,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-close-tag { color: #4020f0; font-weight: bold; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-attribute { color: #6b8e23; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-entity-starter,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-entity-stopper { color: #d4a; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-entity { color: #c4d; font-style: normal; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-closetag-slash { color: #f51; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-open-bracket,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-close-bracket { color: #a56500; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-cdata { color: #555; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-cdata-starter,
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-cdata-stopper { color: #888; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .xml-cdata-stopper { font-weight: bold; color: #9932cc; }
+
+/* Org Mode */
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-bold { font-weight: bold; color: #9932cc; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-italic { font-style: italic; color: #9932cc; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-underline { text-decoration: underline; color: #9932cc; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-strike { text-decoration: line-through; color: #9932cc; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-link-url {display: none; text-decoration: underline; color: #9932cc; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-link-text {text-decoration: underline; color: #9932cc; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-link-close {display:none; text-decoration: underline; color: #9932cc; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-heading1 { color: #9932cc; }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-heading2 { color: rgb(255, 255, 0); }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-heading3 { color: rgb(0, 255, 0); }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-heading4 { color: rgb(0, 255, 255); }
+.Ymacs-Theme-light.Ymacs-Theme-y .Ymacs_Frame .org-heading5 { color: rgb(255, 0, 0); }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs.css b/gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs.css
new file mode 100644
index 0000000..37fc096
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/css/ymacs.css
@@ -0,0 +1,92 @@
+@import url("ymacs-dark.css");
+@import url("ymacs-light.css");
+
+.Ymacs_Frame {
+ font-family: "DejaVu Sans Mono","Lucida Sans Typewriter",monospace;
+ overflow: hidden;
+}
+
+/* .Ymacs_Frame { */
+/* opacity: 0.8; */
+/* } */
+/* .Ymacs_Frame-active { */
+/* opacity: 1; */
+/* } */
+
+.Ymacs-frame-overlays {
+ overflow: hidden;
+ position: relative;
+}
+
+.Ymacs-frame-content {
+ white-space: pre;
+ padding-bottom: 1000px;
+}
+
+.Ymacs-caret {
+ margin: 0;
+ padding: 0;
+}
+
+.Ymacs_Frame-focus .Ymacs-caret {
+ opacity: 1;
+}
+
+.Ymacs_Minibuffer .Ymacs-caret { background-color: inherit; color: inherit; }
+
+.Ymacs_Minibuffer .Ymacs_Modeline { display: none; }
+
+.Ymacs_Minibuffer .Ymacs-frame-content {
+ padding-bottom: 0;
+}
+
+/* .Ymacs_Frame-hasOverlays .Ymacs-current-line { */
+/* background: transparent !important; */
+/* } */
+
+.Ymacs-overwrite-mode .Ymacs-caret {
+ -moz-border-radius: 15px;
+}
+
+.Ymacs_Overlay { position: absolute; right: 0; opacity: 0.5; filter: alpha(opacity=50); }
+.Ymacs_Overlay .match-paren { opacity: 0.4; filter: alpha(opacity=40); }
+.Ymacs_Overlay .selection { opacity: 0.7; filter: alpha(opacity=70); }
+
+.Ymacs_Message_Popup {
+ background-color: wheat;
+ padding: 10px;
+}
+
+.Ymacs_Modeline {
+ font-family: "Lucida Sans Typewriter",monospace;
+ white-space: pre;
+ padding-bottom: 1px;
+ overflow: hidden;
+}
+
+.Ymacs_Modeline:after {
+ content: "-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
+}
+
+.Ymacs_Message_Popup {
+ background-color: wheat;
+ color: #000;
+ padding: 10px;
+}
+
+.Ymacs_Completion_Popup .DlMenuItem .div2 { font-size: 100%; }
+
+.Ymacs-line-numbers .Ymacs-frame-content { counter-reset: ymacs-line 0; }
+.Ymacs-line-numbers .Ymacs-frame-content div.line { counter-increment: ymacs-line; }
+.Ymacs-line-numbers .Ymacs-frame-content div.line:before {
+ color: #888;
+ display: inline-block;
+ width: 3em;
+ padding-right: 0.5em;
+ margin-right: 0.5em;
+ content: counter(ymacs-line, decimal);
+ text-align: right;
+}
+
+.Ymacs-splitbar-horiz { border-bottom: 1px solid #000; }
+.Ymacs-splitbar-vert { border-left: 1px solid #000; border-right: 1px solid #000; border-bottom: 1px solid #000; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/el/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/src/el/.svn/all-wcprops
new file mode 100644
index 0000000..d97414e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/el/.svn/all-wcprops
@@ -0,0 +1,11 @@
+K 25
+svn:wc:ra_dav:version-url
+V 36
+/svn/labcode/!svn/ver/2/Ymacs/src/el
+END
+ymacs-color-theme.el
+K 25
+svn:wc:ra_dav:version-url
+V 57
+/svn/labcode/!svn/ver/2/Ymacs/src/el/ymacs-color-theme.el
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/el/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/src/el/.svn/entries
new file mode 100644
index 0000000..fbf1d09
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/el/.svn/entries
@@ -0,0 +1,62 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/src/el
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+ymacs-color-theme.el
+file
+
+
+
+
+2012-01-23T13:07:10.349353Z
+6b3f86816dcb60067a3647f17b8ba319
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+6265
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/el/.svn/text-base/ymacs-color-theme.el.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/el/.svn/text-base/ymacs-color-theme.el.svn-base
new file mode 100644
index 0000000..7d2607f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/el/.svn/text-base/ymacs-color-theme.el.svn-base
@@ -0,0 +1,103 @@
+(require 'cl)
+(require 'nxml-mode)
+(require 'info)
+
+(defvar *ymacs-faces*) ; XXX: defparameter for Elisp?
+
+(defvar *ymacs-default-font-size*)
+
+(setq *ymacs-faces*
+ '(
+ ( "type" font-lock-type-face )
+ ( "builtin" font-lock-builtin-face )
+ ( "function-name" font-lock-function-name-face )
+ ( "variable-name" font-lock-variable-name-face )
+ ( "constant" font-lock-constant-face )
+ ( "string" font-lock-string-face )
+ ( "string-starter" font-lock-string-face )
+ ( "string-stopper" font-lock-string-face )
+ ( "regexp" font-lock-string-face )
+ ( "regexp-starter" font-lock-string-face )
+ ( "regexp-stopper" font-lock-string-face )
+ ( "regexp-modifier" font-lock-string-face )
+ ( "keyword" font-lock-keyword-face )
+ ( "comment" font-lock-comment-face )
+ ( "mcomment" font-lock-comment-face )
+ ( "comment-starter" font-lock-comment-delimiter-face )
+ ( "mcomment-starter" font-lock-comment-delimiter-face )
+ ( "mcomment-stopper" font-lock-comment-delimiter-face )
+ ( "number" font-lock-constant-face )
+ ( "operator" )
+ ( "error" font-lock-warning-face )
+ ( "xml-open-tag" font-lock-function-name-face )
+ ( "xml-close-tag" font-lock-function-name-face )
+ ( "xml-attribute" font-lock-variable-name-face )
+ ( "xml-entity-starter" nxml-entity-ref-delimiter )
+ ( "xml-entity-stopper" nxml-entity-ref-delimiter )
+ ( "xml-entity" nxml-entity-ref-name )
+ ( "xml-open-bracket" nxml-tag-delimiter )
+ ( "xml-close-bracket" nxml-tag-delimiter )
+ ( "xml-closetag-slash" nxml-tag-slash )
+ ( "xml-cdata" nxml-cdata-section-content font-lock-comment-face )
+ ( "xml-cdata-starter" nxml-cdata-section-delimiter font-lock-comment-delimiter-face )
+ ( "xml-cdata-stopper" nxml-cdata-section-delimiter font-lock-comment-delimiter-face )
+ ( "lisp-keyword" font-lock-constant-face )
+ ( "markdown-heading1" Info-title-1-face )
+ ( "markdown-heading2" Info-title-2-face )
+ ( "markdown-heading3" Info-title-3-face )
+ ( "markdown-heading4" Info-title-4-face )
+ ( "markdown-heading5" bold-italic )
+ ( "markdown-heading6" bold )
+ ( "markdown-blockquote" font-lock-comment-face )
+ ( "markdown-blockquote1" font-lock-comment-face )
+ ( "markdown-blockquote2" font-lock-comment-face )
+ ( "markdown-blockquote3" font-lock-comment-face )
+ ))
+
+(defun ymacs-color-css (color)
+ (let ((rgb (color-values color)))
+ (apply 'format "#%02x%02x%02x"
+ (mapcar (lambda (x)
+ (* 255 (/ x 65535.0))) rgb))))
+
+(defun ymacs-make-font-size (size)
+ (if (= size *ymacs-default-font-size*)
+ nil
+ (progn
+ (format "%.3fem" (/ size *ymacs-default-font-size*)))))
+
+(defun ymacs-face-css (faces &optional no-font)
+ (let* ((fg (find-if (lambda (f) (face-foreground f nil t)) faces))
+ (bg (find-if (lambda (f) (face-background f nil t)) faces))
+ (bold (find-if #'face-bold-p faces))
+ (face (first faces))
+ (font-size (and face
+ (not no-font)
+ (ymacs-make-font-size
+ (plist-get (font-face-attributes (face-font face)) :height)))))
+ (when fg
+ (insert " color: " (ymacs-color-css (face-foreground fg nil t)) ";"))
+ (when bg
+ (insert " background-color: " (ymacs-color-css (face-background bg nil t)) ";"))
+ (when bold
+ (insert " font-weight: bold;"))
+ (when font-size
+ (insert " font-size: " font-size ";"))))
+
+(defun ymacs-color-theme-print ()
+ (interactive)
+ (let ((*ymacs-default-font-size* (+ 0.0 ; force float :-/
+ (plist-get (font-face-attributes (face-font 'default)) :height))))
+ (interactive)
+ (switch-to-buffer (get-buffer-create "*Ymacs Theme*"))
+ (erase-buffer)
+ (insert ".Ymacs-Theme-NONAME .Ymacs_Frame {")
+ (ymacs-face-css '(default) t)
+ (insert " }\n")
+ (loop for i in *ymacs-faces*
+ for class = (car i)
+ for faces = (cdr i)
+ do
+ (insert ".Ymacs-Theme-NONAME .Ymacs_Frame ." class " {")
+ (ymacs-face-css faces)
+ (insert " }\n"))))
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/el/ymacs-color-theme.el b/gstudio/static/gstudio/js/Gnowmacs/src/el/ymacs-color-theme.el
new file mode 100644
index 0000000..7d2607f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/el/ymacs-color-theme.el
@@ -0,0 +1,103 @@
+(require 'cl)
+(require 'nxml-mode)
+(require 'info)
+
+(defvar *ymacs-faces*) ; XXX: defparameter for Elisp?
+
+(defvar *ymacs-default-font-size*)
+
+(setq *ymacs-faces*
+ '(
+ ( "type" font-lock-type-face )
+ ( "builtin" font-lock-builtin-face )
+ ( "function-name" font-lock-function-name-face )
+ ( "variable-name" font-lock-variable-name-face )
+ ( "constant" font-lock-constant-face )
+ ( "string" font-lock-string-face )
+ ( "string-starter" font-lock-string-face )
+ ( "string-stopper" font-lock-string-face )
+ ( "regexp" font-lock-string-face )
+ ( "regexp-starter" font-lock-string-face )
+ ( "regexp-stopper" font-lock-string-face )
+ ( "regexp-modifier" font-lock-string-face )
+ ( "keyword" font-lock-keyword-face )
+ ( "comment" font-lock-comment-face )
+ ( "mcomment" font-lock-comment-face )
+ ( "comment-starter" font-lock-comment-delimiter-face )
+ ( "mcomment-starter" font-lock-comment-delimiter-face )
+ ( "mcomment-stopper" font-lock-comment-delimiter-face )
+ ( "number" font-lock-constant-face )
+ ( "operator" )
+ ( "error" font-lock-warning-face )
+ ( "xml-open-tag" font-lock-function-name-face )
+ ( "xml-close-tag" font-lock-function-name-face )
+ ( "xml-attribute" font-lock-variable-name-face )
+ ( "xml-entity-starter" nxml-entity-ref-delimiter )
+ ( "xml-entity-stopper" nxml-entity-ref-delimiter )
+ ( "xml-entity" nxml-entity-ref-name )
+ ( "xml-open-bracket" nxml-tag-delimiter )
+ ( "xml-close-bracket" nxml-tag-delimiter )
+ ( "xml-closetag-slash" nxml-tag-slash )
+ ( "xml-cdata" nxml-cdata-section-content font-lock-comment-face )
+ ( "xml-cdata-starter" nxml-cdata-section-delimiter font-lock-comment-delimiter-face )
+ ( "xml-cdata-stopper" nxml-cdata-section-delimiter font-lock-comment-delimiter-face )
+ ( "lisp-keyword" font-lock-constant-face )
+ ( "markdown-heading1" Info-title-1-face )
+ ( "markdown-heading2" Info-title-2-face )
+ ( "markdown-heading3" Info-title-3-face )
+ ( "markdown-heading4" Info-title-4-face )
+ ( "markdown-heading5" bold-italic )
+ ( "markdown-heading6" bold )
+ ( "markdown-blockquote" font-lock-comment-face )
+ ( "markdown-blockquote1" font-lock-comment-face )
+ ( "markdown-blockquote2" font-lock-comment-face )
+ ( "markdown-blockquote3" font-lock-comment-face )
+ ))
+
+(defun ymacs-color-css (color)
+ (let ((rgb (color-values color)))
+ (apply 'format "#%02x%02x%02x"
+ (mapcar (lambda (x)
+ (* 255 (/ x 65535.0))) rgb))))
+
+(defun ymacs-make-font-size (size)
+ (if (= size *ymacs-default-font-size*)
+ nil
+ (progn
+ (format "%.3fem" (/ size *ymacs-default-font-size*)))))
+
+(defun ymacs-face-css (faces &optional no-font)
+ (let* ((fg (find-if (lambda (f) (face-foreground f nil t)) faces))
+ (bg (find-if (lambda (f) (face-background f nil t)) faces))
+ (bold (find-if #'face-bold-p faces))
+ (face (first faces))
+ (font-size (and face
+ (not no-font)
+ (ymacs-make-font-size
+ (plist-get (font-face-attributes (face-font face)) :height)))))
+ (when fg
+ (insert " color: " (ymacs-color-css (face-foreground fg nil t)) ";"))
+ (when bg
+ (insert " background-color: " (ymacs-color-css (face-background bg nil t)) ";"))
+ (when bold
+ (insert " font-weight: bold;"))
+ (when font-size
+ (insert " font-size: " font-size ";"))))
+
+(defun ymacs-color-theme-print ()
+ (interactive)
+ (let ((*ymacs-default-font-size* (+ 0.0 ; force float :-/
+ (plist-get (font-face-attributes (face-font 'default)) :height))))
+ (interactive)
+ (switch-to-buffer (get-buffer-create "*Ymacs Theme*"))
+ (erase-buffer)
+ (insert ".Ymacs-Theme-NONAME .Ymacs_Frame {")
+ (ymacs-face-css '(default) t)
+ (insert " }\n")
+ (loop for i in *ymacs-faces*
+ for class = (car i)
+ for faces = (cdr i)
+ do
+ (insert ".Ymacs-Theme-NONAME .Ymacs_Frame ." class " {")
+ (ymacs-face-css faces)
+ (insert " }\n"))))
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/gnow-server/gnow-server.el b/gstudio/static/gstudio/js/Gnowmacs/src/gnow-server/gnow-server.el
new file mode 100644
index 0000000..bffbc6c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/gnow-server/gnow-server.el
@@ -0,0 +1,361 @@
+;; This file is part of Ymacs for GNOWSYS: Gnowledge Networking
+;; and Organizing System.
+
+;; Ymacs is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU Affero General Public License as
+;; published by the Free Software Foundation; either version 3 of
+;; the License, or (at your option) any later version.
+
+;; Ymacs is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU Affero General Public
+;; License along with Ymacs (agpl.txt); if not, write to the
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301 USA59 Temple Place, Suite 330,
+
+;; Author: Divya <divyas15@gmail.com>
+
+
+(defcustom gnow-server-port 9292
+ "Local port the gnow server listens to."
+ :group 'gnow-server
+ :type 'integer)
+
+(defcustom gnow-server-host nil
+ "If not nil, accept connections from HOST address rather than just
+localhost. This may present a security issue."
+ :group 'gnow-server
+ :type 'boolean)
+
+(defcustom gnow-server-verbose nil
+ "If not nil, log connections and progress also to the echo area."
+ :group 'gnow-server
+ :type 'boolean)
+
+(defcustom gnow-server-done-hook nil
+ "Hook run when done gnowing a buffer for the Emacs HTTP gnow-server.
+Current buffer holds the text that is about to be sent back to the client."
+ :group 'gnow-server
+ :type 'hook)
+
+; frame options
+(defcustom gnow-server-new-frame t
+ "If not nil, gnow each buffer in a new frame (and raise it)."
+ :group 'gnow-server
+ :type 'boolean)
+
+(defcustom gnow-server-new-frame-minibuffer t
+ "Show the emacs frame's minibuffer if set to t; hide if nil."
+ :group 'gnow-server
+ :type 'boolean)
+
+(defcustom gnow-server-new-frame-menu-bar t
+ "Show the emacs frame's menu-bar if set to t; hide if nil."
+ :group 'gnow-server
+ :type 'boolean)
+
+(defcustom gnow-server-new-frame-mode-line t
+ "Show the emacs frame's mode-line if set to t; hide if nil."
+ :group 'gnow-server
+ :type 'boolean)
+
+;; Vars
+(defconst gnow-server-process-buffer-name " *gnow-server*"
+ "Template name of the gnow-server process buffers.")
+
+(defconst gnow-server-log-buffer-name "*gnow-server-log*"
+ "Template name of the gnow-server process buffers.")
+
+(defconst gnow-server-gnow-buffer-name "TEXTAREA"
+ "Template name of the gnow-server text editing buffers.")
+
+(defconst gnow-server-new-frame-title "Emacs TEXTAREA"
+ "Template name of the emacs frame's title.")
+
+(defconst gnow-server-new-frame-width 80
+ "The emacs frame's width.")
+
+(defconst gnow-server-new-frame-height 25
+ "The emacs frame's height.")
+
+(defvar gnow-server-proc 'nil
+ "Network process associated with the current edit, made local when
+ the edit buffer is created")
+
+(defvar gnow-server-frame 'nil
+ "The frame created for a new gnow-server process, made local when
+ then gnow buffer is created")
+
+(defvar gnow-server-clients '()
+ "List of all client processes associated with the server process.")
+
+(defvar gnow-server-phase nil
+ "Symbol indicating the state of the HTTP request parsing.")
+
+(defvar gnow-server-received nil
+ "Number of bytes received so far in the client buffer.
+Depending on the character encoding, may be different from the buffer length.")
+
+(defvar gnow-server-request nil
+ "The HTTP request (GET, HEAD, POST) received.")
+
+(defvar gnow-server-content-length nil
+ "The value gotten from the HTTP `Content-Length' header.")
+
+(defvar gnow-server-url nil
+ "The value gotten from the HTTP `x-url' header.")
+
+
+;; Gnow Server socket code
+;
+
+(defun gnow-server-start (&optional verbose)
+ "Start the gnow server.
+
+If argument VERBOSE is non-nil, logs all server activity to buffer `*gnow-server-log*'.
+When called interactivity, a prefix argument will cause it to be verbose.
+"
+ (interactive "P")
+ (if (process-status "gnow-server")
+ (message "An gnow-server process is already running")
+ (make-network-process
+ :name "gnow-server"
+ :buffer gnow-server-process-buffer-name
+ :family 'ipv4
+ :host (if gnow-server-host
+ gnow-server-host
+ 'local)
+ :service gnow-server-port
+ :log 'gnow-server-accept
+ :server 't)
+ (setq gnow-server-clients '())
+ (if verbose (get-buffer-create gnow-server-log-buffer-name))
+ (gnow-server-log nil "Created a new gnow-server process")))
+
+(defun gnow-server-stop nil
+ "Stop the gnow server"
+ (interactive)
+ (while gnow-server-clients
+ (gnow-server-kill-client (car gnow-server-clients))
+ (setq gnow-server-clients (cdr gnow-server-clients)))
+ (if (process-status "gnow-server")
+ (delete-process "gnow-server")
+ (message "No gnow server running"))
+ (if (get-buffer gnow-server-process-buffer-name)
+ (kill-buffer gnow-server-process-buffer-name)))
+
+(defun gnow-server-log (proc fmt &rest args)
+ "If a `*gnow-server-log*' buffer exists, write STRING to it for logging purposes.
+If `gnow-server-verbose' is non-nil, then STRING is also echoed to the message line."
+ (let ((string (apply 'format fmt args)))
+ (if gnow-server-verbose
+ (message string))
+ (if (get-buffer gnow-server-log-buffer-name)
+ (with-current-buffer gnow-server-log-buffer-name
+ (goto-char (point-max))
+ (insert (current-time-string)
+ " "
+ (if (processp proc)
+ (concat
+ (buffer-name (process-buffer proc))
+ ": ")
+ "") ; nil is not acceptable to 'insert
+ string)
+ (or (bolp) (newline))))))
+
+(defun gnow-server-accept (server client msg)
+ "Accept a new client connection."
+ (let ((buffer (generate-new-buffer gnow-server-process-buffer-name)))
+ (buffer-disable-undo buffer)
+ (set-process-buffer client buffer)
+ (set-process-filter client 'gnow-server-filter)
+ (set-process-query-on-exit-flag client nil) ; kill-buffer kills the associated process
+ (with-current-buffer buffer
+ (set (make-local-variable 'gnow-server-phase) 'wait)
+ (set (make-local-variable 'gnow-server-received) 0)
+ (set (make-local-variable 'gnow-server-request) nil))
+ (set (make-local-variable 'gnow-server-content-length) nil)
+ (set (make-local-variable 'gnow-server-url) nil))
+ (add-to-list 'gnow-server-clients client)
+ (gnow-server-log client msg))
+
+(defun gnow-server-filter (proc string)
+ "Process data received from the client."
+ ;; there is no guarantee that data belonging to the same client
+ ;; request will arrive all in one go; therefore, we must accumulate
+ ;; data in the buffer and process it in different phases, which
+ ;; requires us to keep track of the processing state.
+ (with-current-buffer (process-buffer proc)
+ (insert string)
+ (setq gnow-server-received
+ (+ gnow-server-received (string-bytes string)))
+ (when (eq gnow-server-phase 'wait)
+ ;; look for a complete HTTP request string
+ (save-excursion
+ (goto-char (point-min))
+ (when (re-search-forward "^\\([A-Z]+\\)\\s-+\\(\\S-+\\)\\s-+\\(HTTP/[0-9\.]+\\)\r?\n" nil t)
+ (gnow-server-log proc
+ "Got HTTP `%s' request, processing in buffer `%s'..."
+ (match-string 1) (current-buffer))
+ (setq gnow-server-request (match-string 1))
+ (setq gnow-server-content-length nil)
+ (setq gnow-server-phase 'head))))
+
+ (when (eq gnow-server-phase 'head)
+ ;; look for "Content-length" header
+ (save-excursion
+ (goto-char (point-min))
+ (when (re-search-forward "^Content-Length:\\s-+\\([0-9]+\\)" nil t)
+ (setq gnow-server-content-length (string-to-number (match-string 1)))))
+ (save-excursion
+ (goto-char (point-min))
+ (when (re-search-forward "\\(\r?\n\\)\\{2\\}" nil t)
+ ;; HTTP headers are pure ASCII (1 char = 1 byte), so we can subtract
+ ;; the buffer position from the count of received bytes
+ (setq gnow-server-received
+ (- gnow-server-received (- (match-end 0) (point-min))))
+ ;; discard headers - keep only HTTP content in buffer
+ (delete-region (point-min) (match-end 0))
+ (setq gnow-server-phase 'body))))
+
+ (when (eq gnow-server-phase 'body)
+ (if (and gnow-server-content-length
+ (> gnow-server-content-length gnow-server-received))
+ (gnow-server-log proc
+ "Received %d bytes of %d ..."
+ gnow-server-received gnow-server-content-length)
+ ;; all content transferred - process request now
+ (cond
+ ((string= gnow-server-request "POST")
+ ;; create gnowing buffer, and move content to it
+ (gnow-server-create-gnow-buffer proc)
+ )
+ (t
+ ;; send 200 OK response to any other request
+ (gnow-server-send-response proc "gnow-server is running.\n" t)))
+ ;; wait for another connection to arrive
+ (setq gnow-server-received 0)
+ (setq gnow-server-phase 'wait)))))
+
+
+(defun gnow-server-create-gnow-buffer(proc)
+ "Create an gnow buffer, place content in it and save the network
+ process for the final call back"
+
+ (let ((buffer (generate-new-buffer gnow-server-gnow-buffer-name)))
+ (copy-to-buffer buffer (point-min) (point-max))
+ (with-current-buffer (process-buffer proc)
+
+ (save-excursion
+ (goto-char (point-min))
+ (when (re-search-forward "^gnow-select:\\s-+\\([a-zA-Z]+\\)" nil t)
+ (setq gnow-server-url (match-string 1))
+ (delete-region (point-min) (match-end 0))
+ ))
+
+ (setq buffer-file-name (concat (expand-file-name "~") "/gnowmacs.org"))
+ (cond ((equal gnow-server-url "HTML")
+ (org-mode)
+ (org-export-as-html 3))
+ ((equal gnow-server-url "PDF")
+ (org-mode)
+ (org-export-as-pdf 3))
+ ((equal gnow-server-url "LaTeX")
+ (org-mode)
+ (org-export-as-latex 3))
+ ((equal gnow-server-url "DocBook")
+ (org-mode)
+ (org-export-as-docbook))
+ ((equal gnow-server-url "XOXO")
+ (org-mode)
+ (org-export-as-xoxo))
+ )
+
+ )))
+
+
+(defun gnow-server-send-response (proc &optional body close)
+ "Send an HTTP 200 OK response back to process PROC.
+Optional second argument BODY specifies the response content:
+ - If nil, the HTTP response will have null content.
+ - If a string, the string is sent as response content.
+ - Any other value will cause the contents of the current
+ buffer to be sent.
+If optional third argument CLOSE is non-nil, then process PROC
+and its buffer are killed with `gnow-server-kill-client'."
+ (interactive)
+rqxbk (if (processp proc)
+ (let ((response-header (concat
+ "HTTP/1.0 200 OK\n"
+ (format "Server: Emacs/%s\n" emacs-version)
+ "Date: "
+ (format-time-string
+ "%a, %d %b %Y %H:%M:%S GMT\n"
+ (current-time)))))
+ (process-send-string proc response-header)
+ (process-send-string proc "\n")
+ (cond
+ ((stringp body) (process-send-string proc body))
+ ((not body) nil)
+ (t (process-send-region proc (point-min) (point-max))))
+ (process-send-eof proc)
+ (if close
+ (gnow-server-kill-client proc))
+ (gnow-server-log proc "Gnowing done, sent HTTP OK response."))
+ (message "gnow-server-send-response: invalid proc (bug?)")))
+
+(defun gnow-server-kill-client (proc)
+ "Kill client process PROC and remove it from the list."
+ (let ((procbuf (process-buffer proc)))
+ (delete-process proc)
+ (kill-buffer procbuf)
+ (setq gnow-server-clients (delq proc gnow-server-clients))))
+
+(defun gnow-server-done (&optional abort nokill)
+ "Finish gnowing: send HTTP response back, close client and gnowing buffers.
+
+The current contents of the buffer are sent back to the HTTP
+client, unless argument ABORT is non-nil, in which case then the
+original text is sent back.
+If optional second argument NOKILL is non-nil, then the gnowing
+buffer is not killed.
+
+When called interactively, use prefix arg to abort gnowing."
+ (interactive "P")
+ ;; Do nothing if the connection is closed by the browser (tab killed, etc.)
+ (unless (eq (process-status gnow-server-proc) 'closed)
+ (let ((buffer (current-buffer))
+ (proc gnow-server-proc)
+ (procbuf (process-buffer gnow-server-proc)))
+ ;; gnow-server-* vars are buffer-local, so they must be used before issuing kill-buffer
+ (if abort
+ ;; send back original content
+ (with-current-buffer procbuf
+ (run-hooks 'gnow-server-done-hook)
+ (gnow-server-send-response proc t))
+ ;; send back gnowed content
+ (save-restriction
+ (widen)
+ (buffer-disable-undo)
+ ;; ensure any format encoding is done (like longlines)
+ (dolist (format buffer-file-format)
+ (format-encode-region (point-min) (point-max) format))
+ ;; send back
+ (run-hooks 'gnow-server-done-hook)
+ (gnow-server-send-response gnow-server-proc t)
+ ;; restore formats (only useful if we keep the buffer)
+ (dolist (format buffer-file-format)
+ (format-decode-region (point-min) (point-max) format))
+ (buffer-enable-undo)))
+ (if gnow-server-frame (delete-frame gnow-server-frame))
+ ;; delete-frame may change the current buffer
+ (unless nokill (kill-buffer buffer))
+ (gnow-server-kill-client proc))))
+
+
+(provide 'gnow-server)
+
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js-minified/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/src/js-minified/.svn/all-wcprops
new file mode 100644
index 0000000..e677b1e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js-minified/.svn/all-wcprops
@@ -0,0 +1,11 @@
+K 25
+svn:wc:ra_dav:version-url
+V 45
+/svn/labcode/!svn/ver/2/Ymacs/src/js-minified
+END
+ymacs-min.js
+K 25
+svn:wc:ra_dav:version-url
+V 58
+/svn/labcode/!svn/ver/2/Ymacs/src/js-minified/ymacs-min.js
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js-minified/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/src/js-minified/.svn/entries
new file mode 100644
index 0000000..78dafd8
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js-minified/.svn/entries
@@ -0,0 +1,62 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/src/js-minified
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+ymacs-min.js
+file
+
+
+
+
+2012-01-23T13:07:10.509354Z
+0ce4f2c6aa84e6a62aeb021fdf4a3747
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+114040
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js-minified/.svn/text-base/ymacs-min.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js-minified/.svn/text-base/ymacs-min.js.svn-base
new file mode 100644
index 0000000..f912886
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js-minified/.svn/text-base/ymacs-min.js.svn-base
@@ -0,0 +1,33 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+DEFINE_CLASS("Ymacs",DlLayout,function(a,b,c){a.DEFAULT_EVENTS=["onBufferSwitch","onCreateBuffer","onDeleteBuffer"],a.DEFAULT_ARGS={buffers:["buffers",null],frames:["frames",null],cf_lineNumbers:["lineNumbers",false],_focusable:["focusable",true]},a.FIXARGS=function(a){a.buffers||(a.buffers=[]),a.frames||(a.frames=[])},a.CONSTRUCT=function(){this.buffers.foreach(function(a){a.ymacs=this},this),this.killRing=[],this.killMasterOfRings=[],this.progress={},this.minibuffer=this.createBuffer({hidden:true,isMinibuffer:true}),this.minibuffer.cmd("minibuffer_mode"),this.minibuffer_frame=this.createFrame({isMinibuffer:true,buffer:this.minibuffer,hidden:true,highlightCurrentLine:false,className:"Ymacs_Minibuffer"}),this.buffers.length==0&&this.createBuffer();var a=this.createFrame({buffer:this.buffers[0]});this.packWidget(this.minibuffer_frame,{pos:"bottom"}),this.packWidget(a,{pos:"top",fill:"*"}),this.setActiveFrame(a),a._redrawCaret()},b.pushToKillRing=function(a,b){b?this.killRing.unshift(a):this.killRing.push(a)},b.killRingToMaster=function(){this.killRing.length&&(this.killMasterOfRings.length==0||this.killMasterOfRings.peek().join("")!=this.killRing.join(""))&&this.killMasterOfRings.push(this.killRing),this.killRing=[]},b.killRingText=function(){return this.killRing.join("")},b.rotateKillRing=function(a){a?(this.killMasterOfRings.push(this.killRing),this.killRing=this.killMasterOfRings.shift()):(this.killMasterOfRings.unshift(this.killRing),this.killRing=this.killMasterOfRings.pop())},b.getBuffer=function(a){a instanceof Ymacs_Buffer||(a=this.buffers.grep_first(function(b){return b.name==a}));return a},b.killBuffer=function(a){a=this.getBuffer(a),this.callHooks("onDeleteBuffer",a),this.buffers.length>1?this.getActiveBuffer()===a&&this.switchToNextBuffer():this.switchToBuffer(this.createBuffer()),this.buffers.remove(a),a.destroy()},b.renameBuffer=function(a,b){a=this.getBuffer(a),a.name=b,a.callHooks("onProgressChange")},b._do_switchToBuffer=function(a){this.getActiveFrame().setBuffer(a),this.callHooks("onBufferSwitch",a)},b.switchToBuffer=function(a){var b=this.getBuffer(a),c=this.buffers;b||(b=this.createBuffer({name:a})),c.remove(b),c.unshift(b),this._do_switchToBuffer(b);return b},b.switchToNextBuffer=function(a){var b=this.buffers;if(b.length>1){var c=b.shift();b.push(c),this._do_switchToBuffer(b[0])}},b.switchToPreviousBuffer=function(a){var b=this.buffers;if(b.length>1){var c=b.pop();b.unshift(c),this._do_switchToBuffer(c)}},b.getNextBuffer=function(a,b){b==null&&(b=1);var c=this.buffers;return c[c.rotateIndex(c.find(a)+b)]},b.getPrevBuffer=function(a,b){b==null&&(b=1);var c=this.buffers;return c[c.rotateIndex(c.find(a)-b)]},b.getBufferFrames=function(a){a=this.getBuffer(a);return this.frames.grep(function(b){return b.buffer===a})},b.createBuffer=function(a){a||(a={}),Object.merge(a,{ymacs:this});var b=new Ymacs_Buffer(a);a.hidden||this.buffers.push(b),this.callHooks("onCreateBuffer",b);return b},b.createFrame=function(a){a||(a={}),Object.merge(a,{ymacs:this});var b=new Ymacs_Frame(a);a.hidden||this.frames.unshift(b),b.addEventListener("onDestroy",function(a){this.frames.remove(a)}.$(this,b));return b},b.keepOnlyFrame=function(a){if(this.frames.length>1){var b=a.parent;while(b.parent!=this)b=b.parent;this.replaceWidget(b,a),b.destroy(),this.setActiveFrame(a),this.doLayout()}},b.deleteFrame=function(a){if(this.frames.length>1){var b=a.parent,d=b.children().grep_first(function(b){return b instanceof DlLayout||b instanceof Ymacs_Frame&&b!==a});b.parent.replaceWidget(b,d),b.destroy();try{c.walk(d.getElement(),function(a){if((a=DlWidget.getFromElement(a))&&a instanceof Ymacs_Frame)throw a})}catch(a){if(!(a instanceof Ymacs_Frame))throw a;d=a}this.setActiveFrame(d),this.doLayout()}},b.focusOtherFrame=function(){this.setActiveFrame(this.frames[0])},b.focus=function(){a.BASE.focus.apply(this,arguments),this.frames.peek().focus()},b.setActiveFrame=function(a,b){if(!a.isMinibuffer){var c=this.getActiveFrame();c&&c.delClass("Ymacs_Frame-active"),this.frames.remove(a),this.frames.push(a)}b||a.focus()},b.getActiveFrame=function(){return this.frames.peek()},b.getActiveBuffer=function(){var a=this.getActiveFrame();return a?a.buffer:this.buffers.peek()},b.setColorTheme=function(a){this.delClass(/Ymacs-Theme-[^\s]*/g),a instanceof Array||(a=[a]),a.foreach(function(a){this.addClass("Ymacs-Theme-"+a)},this)},b.getFrameInDirection=function(a,b,d){d||(d=this.getActiveFrame());var e=d.getCaretElement();b||(b=c.getPos(e)),b.sz||(b.sz=c.getOuterSize(e));var f=this.frames.mergeSort(function(a,b){return a.getPos().x-b.getPos().x}),g=this.frames.mergeSort(function(a,b){return a.getPos().y-b.getPos().y});return this["_get_frameInDir_"+a](f,g,b,d)};function d(a,b){if(a.length>0){var c=a.peek().getPos().x,d=[a.pop()];while(a.length>0&&a.peek().getPos().x==c)d.push(a.pop());return d.minElement(function(a){return Math.abs(b.y-a.getPos().y-a.getSize().y/2)})}}function e(a,b){if(a.length>0){var c=a.peek().getPos().y,d=[a.pop()];while(a.length>0&&a.peek().getPos().y==c)d.push(a.pop());return d.minElement(function(a){return Math.abs(b.x-a.getPos().x-a.getSize().x/2)})}}b._get_frameInDir_left=function(a,b,c,e){a=a.grep(function(a){var b=a.getPos(),d=a.getSize();return a!==e&&b.x<c.x&&b.y-c.sz.y<=c.y&&b.y+d.y>c.y});return d(a,c)},b._get_frameInDir_right=function(a,b,c,e){a.reverse(),a=a.grep(function(a){var b=a.getPos(),d=a.getSize();return a!==e&&b.x>c.x&&b.y-c.sz.y<=c.y&&b.y+d.y>c.y});return d(a,c)},b._get_frameInDir_up=function(a,b,c,d){b=b.grep(function(a){var b=a.getPos(),e=a.getSize();return a!==d&&b.y<c.y&&b.x-c.sz.x<=c.x&&b.x+e.x>c.x});return e(b,c)},b._get_frameInDir_down=function(a,b,c,d){b.reverse(),b=b.grep(function(a){var b=a.getPos(),e=a.getSize();return a!==d&&b.y>c.y&&b.x-c.sz.x<=c.x&&b.x+e.x>c.x});return e(b,c)};function f(){if(!(window.localStorage&&window.localStorage.getItem))throw new Ymacs_Exception("Local storage facility not available in this browser")}b.ls_get=function(){f();return DlJSON.decode(localStorage.getItem(".ymacs")||"{}",true)},b.ls_set=function(a){f(),localStorage.setItem(".ymacs",DlJSON.encode(a))},b.ls_getFileContents=function(a,b){var c=this.ls_getFileDirectory(a),d=c.other,e;d.length==1&&(e=c.dir[d[0]]);if(e==null&&!b)throw new Ymacs_Exception("File not found");return e},b.ls_getFileDirectory=function(a,b){var c,d=c=this.ls_get();a=a.replace(/^[~\x2f]+/,"").split(/\x2f+/);var e=[],f=[];while(a.length>0){var g=a.shift();d.hasOwnProperty(g)&&typeof d[g]!="string"?(d=d[g],e.push(g)):f.push(g)}if(b){var h=b=="file"?1:0;while(f.length>h)d=d[f.shift()]={};this.ls_set(c)}return{store:c,dir:d,path:e,other:f}}}),function(){for(var a={},b=65;b<=90;++b)a[b]=[b,b+32];a[32]=[32,32];var c=[16,17,18,20,144].toHash(true),d=[[49,33],[50,64],[51,35],[52,36],[53,37],[54,94],[55,38],[56,42],[57,40],[48,41]],e=[48,49,50,51,52,53,54,55,56,57].toHash(function(a,b){return d[b]}),f=[[59,58],[61,43],[44,60],[45,95],[46,62],[47,63],[96,126],[91,123],[92,124],[93,125],[39,34]],g=(is_gecko?[59,61,188,109,190,191,192,219,220,221,222]:is_opera?[59,61,44,45,46,47,96,91,92,93,39]:[186,187,188,189,190,191,192,219,220,221,222]).toHash(function(a,b){return f[b]}),h=[37,38,39,40].toHash(true),i=[45,46,36,35,33,34,112,113,114,115,116,117,118,119,120,121,122,123].toHash(true);function j(b,c){var d=a[b]||e[b]||g[b];return d?c?d[1]:d[0]:null}window.KEYBOARD_INSANITY={letters:a,modifiers:c,digits:e,symbols:g,arrows:h,specials:i,getCharCode:j}}(),window.Ymacs_Regexp=function(){var a={};function b(a){a instanceof RegExp&&(a=a.toString());var b=a.lastIndexOf("/"),c="";c=a.substr(b+1),a=a.substring(1,b);return{pattern:a,flags:c}}return{search_backward:function(c){var d=c.toString(),e=a[d];e||(c=b(d),c.flags=c.flags.replace(/g/g,"")+"g",a[d]=e=new RegExp("([^]*)("+c.pattern+")",c.flags)),e.lastIndex=0;return e}}}(),DEFINE_CLASS("Ymacs_Frame",DlContainer,function(a,b,c){var d=300,e=DlException.stopEventBubbling,f=c.createElement("div",null,{className:"line",innerHTML:"<br/>"}),g=225;a.DEFAULT_EVENTS=["onPointChange"],a.DEFAULT_ARGS={highlightCurrentLine:["highlightCurrentLine",true],buffer:["buffer",null],ymacs:["ymacs",null],isMinibuffer:["isMinibuffer",false],_focusable:["focusable",true],_fillParent:["fillParent",true]},a.CONSTRUCT=function(){this.__blinkCaret=this.__blinkCaret.$(this),this.__caretId=Dynarch.ID(),this.redrawModelineWithTimer=this.redrawModeline.clearingTimeout(0,this),this.getElement().innerHTML=h,this.addEventListener({onDestroy:this._on_destroy,onFocus:this._on_focus,onBlur:this._on_blur,onMouseDown:this._on_mouseDown,onKeyDown:this._on_keyDown,onKeyPress:this._on_keyPress,onKeyUp:this._on_keyUp,onResize:this._on_resize}),this._dragSelectCaptures={onMouseOver:e,onMouseOut:e,onMouseEnter:e,onMouseLeave:e,onMouseMove:n.$(this),onMouseUp:o.$(this)},this._bufferEvents={onLineChange:this._on_bufferLineChange.$(this),onInsertLine:this._on_bufferInsertLine.$(this),onDeleteLine:this._on_bufferDeleteLine.$(this),onPointChange:this._on_bufferPointChange.$(this),onResetCode:this._on_bufferResetCode.$(this),onOverwriteMode:this._on_bufferOverwriteMode.$(this),onProgressChange:this._on_bufferProgressChange.$(this),beforeInteractiveCommand:this._on_bufferBeforeInteractiveCommand.$(this),afterInteractiveCommand:this._on_bufferAfterInteractiveCommand.$(this),onOverlayDelete:this._on_bufferOverlayDelete.$(this)},this._moreBufferEvents={onMessage:this._on_bufferMessage.$(this),onOverlayChange:this._on_bufferOverlayChange.$(this),afterInteractiveCommand:this.ensureCaretVisible.$(this)};var a=this.buffer;this.buffer=null,a&&this.setBuffer(a),!this.isMinibuffer&&this.ymacs.cf_lineNumbers&&this.toggleLineNumbers()};var h=String.buffer("<div class='Ymacs-frame-overlays'>","<div class='Ymacs-frame-content'></div>","</div>","<div class='Ymacs_Modeline'></div>").get();b.focus=function(b){a.BASE.focus.call(this),b instanceof Function&&(this.removeEventListener("onBlur",this.__exitFocusHandler),this.addEventListener("onBlur",this.__exitFocusHandler=function(){b.call(this.buffer)?this.removeEventListener("onBlur",this.__exitFocusHandler):this.focus.delayed(2,this,null)}))},b.blur=function(b){b&&this.removeEventListener("onBlur",this.__exitFocusHandler),a.BASE.blur.call(this)},b.getOverlaysContainer=function(){return this.getElement().firstChild},b.getModelineElement=function(){return this.getElement().childNodes[1]},b.getContentElement=function(){return this.getElement().firstChild.firstChild},b.getCaretElement=function(){return document.getElementById(this.__caretId)},b.getLineDivElement=function(a){return this.getContentElement().childNodes[a]||null},b.ensureCaretVisible=function(){this._redrawCaret();var a=this.getCaretElement();if(a){var b=this.getOverlaysContainer(),c=this.getLineDivElement(this.buffer._rowcol.row),d=c.offsetTop+c.offsetHeight-(b.scrollTop+b.clientHeight);d>0?b.scrollTop+=d:(d=c.offsetTop-b.scrollTop)<0&&(b.scrollTop+=d),(d=a.offsetLeft+a.offsetWidth-(b.scrollLeft+b.clientWidth))>0?b.scrollLeft+=d:(d=a.offsetLeft-b.scrollLeft)<0&&(b.scrollLeft+=d)}},b.setBuffer=function(a){this.buffer&&(this.caretMarker&&!this.isMinibuffer&&(this.caretMarker.destroy(),this.caretMarker=null),this.buffer.removeEventListener(this._bufferEvents),this.buffer.removeEventListener(this._moreBufferEvents)),(this.buffer=a)&&(this.buffer.addEventListener(this._bufferEvents),this.focusInside()&&a.addEventListener(this._moreBufferEvents),this.isMinibuffer?this.caretMarker=a.caretMarker:this.caretMarker=a.createMarker(a.caretMarker.getPosition()),this._redrawBuffer(),this._redrawCaret(true),this.centerOnCaret())},b.centerOnCaret=function(){this.centerOnLine(this.buffer._rowcol.row)},b.centerOnLine=function(a){var b=this.getLineDivElement(a),c=this.getOverlaysContainer();c.scrollTop=Math.round(b.offsetTop-c.clientHeight/2+b.offsetHeight/2)},b.setModelineContent=function(a){this.getModelineElement().innerHTML=a},b.deleteOtherFrames=function(){this.ymacs.keepOnlyFrame(this)},b.deleteFrame=function(){this.ymacs.deleteFrame(this)},b.vsplit=function(a){a==null&&(a="50%");var b=this.parent,c=this.ymacs.createFrame({buffer:this.buffer}),d=new DlLayout,e=new DlResizeBar({widget:this,keepPercent:true,horiz:true,className:"Ymacs-splitbar-horiz"});this._resizeBar&&(this._resizeBar._widget=d),this._resizeBar=e,b.replaceWidget(this,d),d.packWidget(this,{pos:"top",fill:a}),d.packWidget(e,{pos:"top"}),d.packWidget(c,{pos:"top",fill:"*"}),b.__doLayout(),c.centerOnCaret()},b.hsplit=function(a){a==null&&(a="50%");var b=this.parent,c=this.ymacs.createFrame({buffer:this.buffer}),d=new DlLayout,e=new DlResizeBar({widget:this,keepPercent:true,className:"Ymacs-splitbar-vert"});this._resizeBar&&(this._resizeBar._widget=d),this._resizeBar=e,b.replaceWidget(this,d),d.packWidget(this,{pos:"left",fill:a}),d.packWidget(e,{pos:"left"}),d.packWidget(c,{pos:"left",fill:"*"}),b.__doLayout(),c.centerOnCaret()},b.toggleLineNumbers=function(){this.condClass(this.__lineNumbers=!this.__lineNumbers,"Ymacs-line-numbers")};function i(a,b,c){if(/^br$/i.test(a.firstChild.tagName)){a.insertBefore(c,a.firstChild);return c}var d=0,e={};function f(a){for(var g=a.firstChild;g;g=g.nextSibling)if(g.nodeType==3){var h=g.length;if(d+h>b){var i=b-d,j=g.splitText(i);a.insertBefore(c,j);throw e}if(d+h==b){a.insertBefore(c,g.nextSibling);throw e}d+=h}else g.nodeType==1&&f(g)}try{f(a)}catch(a){if(a===e)return c;throw a}}b.setMarkerAtPos=function(a,b){a.tagName||(a=this.getLineDivElement(a));if(a)return i(a,b,c.createElement("span"))},b.__restartBlinking=function(){this.__stopBlinking(),this.focusInside()&&(this.__caretTimer=setTimeout(this.__blinkCaret,2*g))},b.__stopBlinking=function(){clearTimeout(this.__caretTimer),this.__showCaret()},b.__blinkCaret=function(){c.condClass(this.getCaretElement(),this.BLINKING=!this.BLINKING,"Ymacs-caret"),this.__caretTimer=setTimeout(this.__blinkCaret,g)},b.__showCaret=function(){c.addClass(this.getCaretElement(),"Ymacs-caret")},b._unhoverLine=function(){this.__hoverLine!=null&&(c.delClass(this.getLineDivElement(this.__hoverLine),"Ymacs-current-line"),this.__hoverLine=null)},b._redrawCaret=function(a){var b=this.ymacs.getActiveFrame()===this;if(!(!a&&!b)){b&&!this.isMinibuffer&&this.caretMarker.setPosition(this.buffer.caretMarker.getPosition());var d=this.buffer._rowcol;this.highlightCurrentLine&&(this._unhoverLine(),c.addClass(this.getLineDivElement(d.row),"Ymacs-current-line"),this.__hoverLine=d.row),this.__prevCaretLine!=null&&this._on_bufferLineChange(this.__prevCaretLine),this.__prevCaretLine!=d.row&&(this.__prevCaretLine=d.row,this._on_bufferLineChange(d.row)),b&&this.__restartBlinking(),this.callHooks("onPointChange",d.row,d.col),this.redrawModelineWithTimer(d)}},b._getLineHTML=function(a){var b=this.buffer.formatLineHTML(a,this.caretMarker),c=b.indexOf("Ymacs-caret'>");c>=0&&(b=b.substr(0,c+12)+" id='"+this.__caretId+"'"+b.substr(c+12));return b},b._redrawBuffer=function(){this.setContent(this.buffer.code.map(function(a,b){return this._getLineHTML(b).htmlEmbed("div","line")},this).join(""))},b.coordinatesToRowCol=function(a,b){function c(a,d){if(a==d)return a;var f=Math.floor((a+d)/2),g=e.getLineDivElement(f),h=g.offsetTop,i=h+g.offsetHeight-1;if(i<b)return c(f+1,d);if(b<h)return c(a,f-1);return f}function d(b,c){if(b==c)return b;var g=Math.floor((b+c)/2),h=e.coordinates(f,g),i=e.coordinates(f,g+1);if(i.x<a)return d(g+1,c);if(a<h.x)return d(b,g-1);return g}var e=this,f=c(0,this.buffer.code.length-1),g=d(0,this.buffer.code[f].length);return{row:f,col:g}},b.coordinates=function(a,b){var d=this.getLineDivElement(a),e=this.setMarkerAtPos(d,b),f={x:e.offsetLeft,y:d.offsetTop,h:d.offsetHeight};c.trash(e);return f},b.heightInLines=function(){return Math.floor(this.getOverlaysContainer().clientHeight/this.getContentElement().firstChild.offsetHeight)},b.setOuterSize=b.setSize=function(b){a.BASE.setOuterSize.apply(this,arguments),c.setOuterSize(this.getOverlaysContainer(),b.x,b.y-this.getModelineElement().offsetHeight),c.setOuterSize(this.getModelineElement(),b.x)},b.redrawModeline=function(a){this.setModelineContent(this.buffer.renderModelineContent(a||this.caretMarker.getRowCol()))},b._on_bufferLineChange=function(a){var b=this.getLineDivElement(a);b&&(b.innerHTML=this._getLineHTML(a))},b._on_bufferInsertLine=function(a,b){var c=f.cloneNode(true);this.getContentElement().insertBefore(c,this.getLineDivElement(a)),b&&(c.innerHTML=this._getLineHTML(a))},b._on_bufferDeleteLine=function(a){c.trash(this.getLineDivElement(a))},b._on_bufferPointChange=function(a,b){this._redrawCaret()},b._on_bufferResetCode=function(){this._redrawBuffer()},b._on_bufferOverwriteMode=function(a){this.condClass(a,"Ymacs-overwrite-mode")},b._on_bufferMessage=function(a,b,c,d){var e=this.isMinibuffer?this.ymacs:this,f=Ymacs_Message_Popup.get(0);f.popup({content:c?b:b.htmlEscape(),widget:e,anchor:e.getElement(),align:{prefer:"CC",fallX1:"CC",fallX2:"CC",fallY1:"CC",fallY2:"CC"}}),f.hide(d||5e3)},b._on_bufferBeforeInteractiveCommand=function(){this._unhoverLine(),Ymacs_Message_Popup.clearAll()},b._on_bufferAfterInteractiveCommand=function(){},b._on_bufferProgressChange=function(){this.redrawModelineWithTimer(null)},b.getOverlayId=function(a){return this.id+"-ovl-"+a},b.getOverlayHTML=function(a,b){if(b.line1==b.line2&&b.col1==b.col2){this._on_bufferOverlayDelete(a,b);return null}var c=this.coordinates(b.line1,b.col1),d=this.coordinates(b.line2,b.col2),e=this.__lineNumbers?this.coordinates(b.line1,0):{x:0,y:0};c.x-=e.x,d.x-=e.x;var f=String.buffer("<div id='",this.getOverlayId(a),"' class='Ymacs_Overlay ",a,"' style='top:",c.y,"px;left:",e.x,"px'>");b.line1==b.line2?f("<div class='",a,"' style='margin-left:",c.x,"px; width:",d.x-c.x,"px;height:",d.h,"px;'>&nbsp;</div>"):(f("<div class='",a,"' style='margin-left:",c.x,"px;height:",c.h,"px;'>&nbsp;</div>"),b.line2-b.line1>1&&f("<div class='",a,"' style='height:",d.y-c.y-c.h,"px'></div>"),f("<div class='",a,"' style='width:",d.x,"px;height:",d.h,"px;'>&nbsp;</div>")),f("</div>");return f.get()},b.getOverlaysCount=function(){return this.getOverlaysContainer().childNodes.length-1},b._on_bufferOverlayChange=function(a,b,d){var e=this.getOverlayHTML(a,b);if(e){e=c.createFromHtml(e);var f=this.getOverlaysContainer(),g=!d&&$(this.getOverlayId(a));g?f.replaceChild(e,g):f.appendChild(e)}},b._on_bufferOverlayDelete=function(a,b,d){c.trash($(this.getOverlayId(a)))},b._on_destroy=function(){this.setBuffer(null),this.__stopBlinking()},b._on_focus=function(){window.focus(),this.ymacs.setActiveFrame(this,true),this.addClass("Ymacs_Frame-active"),this.isMinibuffer||this.buffer.cmd("goto_char",this.caretMarker.getPosition()),this.buffer.addEventListener(this._moreBufferEvents),this.__restartBlinking()},b._on_blur=function(){this.isMinibuffer||this.caretMarker.setPosition(this.buffer.caretMarker.getPosition()),this.buffer.removeEventListener(this._moreBufferEvents),this.__stopBlinking()};var j=0,k=null,l=null;function m(){j=null}b._on_mouseDown=function(a){clearTimeout(k),j++,k=m.delayed(d),this.__restartBlinking();var b=a.computePos(this.getContentElement()),c=this.coordinatesToRowCol(b.x,b.y),f=this.buffer;f.clearTransientMark(),f.cmd("goto_char",f._rowColToPosition(c.row,c.col)),f.callInteractively("keyboard_quit"),j==1?(f.ensureTransientMark(),DlEvent.captureGlobals(this._dragSelectCaptures)):j==2?(f.cmd("backward_word"),f.cmd("forward_word_mark")):j==3?(f.cmd("beginning_of_line"),f.cmd("end_of_line_mark")):j==4&&(f.cmd("backward_paragraph"),f.cmd("forward_whitespace"),f.cmd("beginning_of_line"),f.cmd("forward_paragraph_mark")),e()};function n(a){var b=a.computePos(this.getContentElement()),c=this.coordinatesToRowCol(b.x,b.y);this.buffer.cmd("goto_char",this.buffer._rowColToPosition(c.row,c.col)),this.buffer.ensureTransientMark(),this.ensureCaretVisible()}function o(a){DlEvent.releaseGlobals(this._dragSelectCaptures)}b._on_keyDown=function(a){if(!is_gecko){var b=window.KEYBOARD_INSANITY,c=a.keyCode;c in b.modifiers&&e();if((c in b.letters||c in b.digits||c in b.symbols)&&!(a.ctrlKey||a.altKey))return;a.charCode=b.getCharCode(c,a.shiftKey),a.charCode&&(a.keyCode=0),this.buffer._handleKeyEvent(a)&&e()}},b._on_keyPress=function(a){is_gecko||(a.keyCode=0),this.buffer._handleKeyEvent(a)&&e()},b._on_keyUp=function(a){},b._on_resize=function(){this.centerOnCaret.delayed(1,this)}}),DEFINE_CLASS("Ymacs_Message_Popup",DlPopup,function(a,b){a.FIXARGS=function(a){a.autolink=a.focusable=false,a.zIndex=5e3}}),DEFINE_CLASS("Ymacs_Text_Properties",DlEventProxy,function(a,b){a.DEFAULT_EVENTS=["onChange"],a.DEFAULT_ARGS={buffer:["buffer",null]},a.CONSTRUCT=b.reset=function(){this.props=[]},b.insertLine=function(a){this.props.length<a?this.props[a]=null:this.props.splice(a,0,null)},b.deleteLine=function(a){this.props.splice(a,1)},b.replaceLine=function(a,b){var c=this.props[a];c&&c.length>b.length&&c.splice(b.length,c.length)},b.addLineProps=function(a,b,c,d,e){var f=this.props,g,h=false;if(b<c){f=f[a]||(f[a]=[]);while(b<c)g=f[b]||(f[b]={}),g[d]!=e&&(h=true),g[d]=e,++b;h&&this.callHooks("onChange",a)}return h},b.removeLineProps=function(a,b,c,d){var e=this.props[a],f,g=false;if(e&&b<c){while(b<c)f=e[b],f&&d in f&&(g=true,delete f[d]),++b;g&&this.callHooks("onChange",a)}return g},b.getLineHTML=function(a,b,c){var d=this.props[a];if(c===null){if(b=="")return"<br/>";if(!d||d.length==0)return b.htmlEscape()}else{if(b=="")return"<span class='Ymacs-caret'>&nbsp;</span>";if(!d||d.length==0){if(c===b.length)return b.htmlEscape()+"<span class='Ymacs-caret'>&nbsp;</span>";return b.substr(0,c).htmlEscape()+"<span class='Ymacs-caret'>"+b.charAt(c).htmlEscape()+"</span>"+b.substr(c+1).htmlEscape()}}var e=0,f=b.length,g=null,h,i="",j;while(e<f){h=d[e],h=h&&h.css,e===c&&(h=h?h+" Ymacs-caret":"Ymacs-caret"),h&&h!=g?(g&&(i+="</span>"),i+="<span class='"+h+"'>"):!h&&g&&(i+="</span>"),g=h;switch(j=b.charAt(e)){case"<":i+="&lt;";break;case">":i+="&gt;";break;case"&":i+="&amp;";break;default:i+=j}++e}g&&(i+="</span>"),e===c&&(i+="<span class='Ymacs-caret'>&nbsp;</span>");return i}});function Ymacs_Exception(a){this.message=a}(function(){window.Ymacs_Interactive=function(a,b){if(arguments.length==1)b=a,a=null;else{var c;b instanceof Function||(c=b,b=arguments[2],b.ymacsDoc=c)}b.ymacsInteractive=true;if(a instanceof Function)b.ymacsGetArgs=a;else if(a!=null){if(!(a instanceof Array)){var d=/^[\^\@\*]+/.exec(a);d&&(d=d[0],a=a.substr(d.length),d.indexOf("^")>=0&&(b.ymacsMarkExtend=true),d.indexOf("*")>=0&&(b.ymacsWarnReadonly=true),d.indexOf("@")>=0&&(b.ymacsSelectFrame=true)),a&&(a=a.split(/\n+/))}if(a){var e,f=function(){e.append(Array.$(arguments));return this.callInteractively(b,e,true)};while(a.length>0)f=A(a.pop(),function(a){e.append(Array.$(arguments,1)),a.call(this)}.$(null,f));b.ymacsCallInteractively=function(){e=[];return f.call(this)}}}return b},window.Ymacs_Interactive_X=function(a){return Ymacs_Interactive("p",function(b){b==null&&(b=1),b.times(a,this)})};var a=function(){};a.toString=function(){return""},a.empty=true;function b(a){var b=this.getPrefixArg(true);b&&(a=b+" "+a),this.cmd("minibuffer_prompt",a)}function c(a,c){b.call(this,a),this.cmd("minibuffer_read_function",c)}function d(a,c){b.call(this,a),this.cmd("minibuffer_read_buffer",c)}function e(a,c){b.call(this,a),this.cmd("minibuffer_read_buffer",c)}function f(a,b){}function g(a,c){b.call(this,a),this.cmd("minibuffer_read_command",c)}function h(a,b){b.call(this,this.point())}function i(a,b){}function j(a,b){b.call(this,null)}function k(a,b){}function l(a,b){}function m(a,b){b.call(this,this.markMarker.getPosition())}function n(a,c){b.call(this,a),this.cmd("minibuffer_read_string",null,c)}function o(a,c){b.call(this,a),this.cmd("minibuffer_read_number",c)}function p(a,b){var c=parseInt(this.getPrefixArg(),10);isNaN(c)?o.call(this,a,b):b.call(this,c)}function q(a,b){var c=parseInt(this.getPrefixArg(),10);isNaN(c)&&(c=null),b.call(this,c)}function r(b,c){(b=this.getPrefixArg())===""&&(b=a),c.call(this,b)}function s(a,b){var c=this.getRegion();b.call(this,c.begin,c.end)}function t(a,b){}function u(a,c){b.call(this,a),this.cmd("minibuffer_read_variable",c)}function v(a,c){b.call(this,a),this.cmd("minibuffer_read_existing_file",c)}function w(a,c){b.call(this,a),this.cmd("minibuffer_read_file",c)}function x(a,c){b.call(this,a),this.cmd("minibuffer_read_file_or_directory",c)}function y(a,c){b.call(this,a),this.cmd("minibuffer_read_directory",c)}var z={a:c,b:d,B:e,c:f,C:g,d:h,e:i,i:j,k:k,K:l,m:m,M:n,n:o,N:p,p:q,P:r,r:s,s:n,U:t,v:u,f:v,F:w,G:x,D:y};function A(a,b){var c=a.charAt(0);a=a.substr(1);return z[c].$(null,a,b)}})(),DEFINE_CLASS("Ymacs_Buffer",DlEventProxy,function(a,b){a.DEFAULT_EVENTS=["onLineChange","onInsertLine","onDeleteLine","onPointChange","onResetCode","onMessage","onOverwriteMode","onOverlayChange","onOverlayDelete","beforeInteractiveCommand","afterInteractiveCommand","beforeRedraw","afterRedraw","finishedEvent","onProgressChange","onTextInsert","onTextDelete"],a.DEFAULT_ARGS={name:["name","*scratch*"],_code:["code",null],ymacs:["ymacs",null],tokenizer:["tokenizer",null],isMinibuffer:["isMinibuffer",false]};var c={case_fold_search:true,line_movement_requested_col:0,fill_column:78,tab_width:8,indent_level:8,syntax_word:{test:g},syntax_word_dabbrev:{test:h},syntax_paragraph_sep:/\n\s*\n/g};function d(a,b){if(typeof a=="string"){b===undefined?delete this[a]:this[a]=b,b instanceof Function&&(b.ymacsCommand=a);return b}var c={};for(var e in a)c[e]=this[e],d.call(this,e,a[e]);return c}var e=5e4;function f(a){return a instanceof Ymacs_Marker?a.getPosition():a}function g(a){if(a){var b=a.charCodeAt(0);return b>=48&&b<=57||a.toUpperCase()!=a.toLowerCase()}}function h(a){if(a){var b=a.charCodeAt(0);return b>=48&&b<=57||a=="_"||a.toUpperCase()!=a.toLowerCase()}}b.lastIndexOfRegexp=function(a,b,c,d){a=a.substring(0,c),b=Ymacs_Regexp.search_backward(b),b.lastIndex=d||0;var e=b.exec(a);if(e){var f=Array.$(e,2);f.index=e.index+e[1].length,f.after=e.index+e[0].length,f[0]=a.substring(f.index,f.after);return this.matchData=f}},a.COMMANDS=b.COMMANDS={},a.newCommands=b.newCommands=function(){return d.apply(this.COMMANDS,arguments)},a.newMode=b.newMode=function(b,c){var d="*"+b+"*",e=d+"hooks";a.setGlobal(e,[]),this.COMMANDS[b]=Ymacs_Interactive("P",function(a){var f=this.getq(d);if(f)a!==true&&(this.getq(e).foreach(function(a){a.call(this,false)},this),f instanceof Function&&f.call(this),this.setq(d,null),this.modes.remove(b));else if(a!==false){var g=c.apply(this,arguments);g instanceof Function||(g=true),this.setq(d,g),this.modes.push(b),this.getq(e).foreach(function(a){a.call(this,true)},this)}return f})},a.addModeHook=b.addModeHook=function(a,b){typeof b=="string"&&(b=this.COMMANDS[b]);var c="*"+a+"*hooks";this.getq(c).pushUnique(b)},a.removeModeHook=b.removeModeHook=function(a,b){typeof b=="string"&&(b=this.COMMANDS[b]);var c="*"+a+"*hooks";this.getq(c).remove(b)},a.FIXARGS=function(a){a.code==null&&(a.code="")},a.CONSTRUCT=function(){this.__undoInProgress=this.__preventUndo=this.__preventUpdates=this.__savingExcursion=0,this.__dirtyLines=[],this.__undoQueue=[],this.__redoQueue=[],this.__overlays={},this.markers=[],this.caretMarker=this.createMarker(0,false,"point"),this.markMarker=this.createMarker(0,true,"mark"),this.matchData=[],this.currentCommand=this.previousCommand=null,this.currentKeys=[],this.progress={},this.variables={},this.globalVariables=c,this.modes=[],this.caretMarker.onChange.push(function(a){this._rowcol=this.caretMarker.getRowCol(),this.__preventUpdates==0&&this.callHooks("onPointChange",this._rowcol,this.point())}),this._tokenizerEvents={onFoundToken:this._on_tokenizerFoundToken.$(this)},this._textProperties=new Ymacs_Text_Properties({buffer:this}),this._textProperties.addEventListener("onChange",this._on_textPropertiesChange.$(this)),this.keymap=[],this.pushKeymap(this.makeDefaultKeymap()),this.setCode(this._code),this._lastCommandWasKill=0,delete this._code},b.withVariables=function(a,b){var c={},d,e;for(d in a)c[d]=this.variables[d],this.variables[d]=a[d];try{return b instanceof Function?b.apply(this,Array.$(arguments,2)):this.cmdApply(b,Array.$(arguments,2))}finally{for(d in c)c[d]===undefined?delete this.variables[d]:this.variables[d]=c[d]}},b.withCommands=function(a,b){var c=this.COMMANDS;this.COMMANDS=Object.makeCopy(c),Object.merge(this.COMMANDS,a);try{return b instanceof Function?b.apply(this,Array.$(arguments,2)):this.cmdApply(b,Array.$(arguments,2))}finally{this.COMMANDS=c}},b.getVariable=function(a){return a in this.variables?this.variables[a]:c[a]},b.setVariable=function(){return d.apply(this.variables,arguments)},a.setq=a.setVariable=a.setGlobal=b.setGlobal=function(){return d.apply(c,arguments)},b.setq=b.setVariable,b.getq=b.getVariable,a.getq=a.getVariable=function(a){return c[a]},b.pushKeymap=function(a){a instanceof Array?a.foreach(this.pushKeymap,this):(this.popKeymap(a),this.keymap.push(a),a.attached(this))},b.popKeymap=function(a){this.keymap.remove(a),a.detached(this)},b.makeDefaultKeymap=function(){return Ymacs_Keymap_Emacs()},b.signalError=function(a,b,c){this.callHooks("onMessage","error",a,b,c)},b.signalInfo=function(a,b,c){this.callHooks("onMessage","info",a,b,c)},b.createMarker=function(a,b,c){a==null&&(a=this.point());return new Ymacs_Marker({editor:this,pos:a,name:c,before:b})},b.point=function(){return this.caretMarker.getPosition()},b.setCode=function(a){this.__code=a,this.__size=a.length,this.__undoQueue=[],this.__redoQueue=[],this.__overlays={},this.markers.map("setPosition",0,true,true),this.code=a.split(/\n/),this._textProperties.reset(),this.tokenizer&&this.tokenizer.reset(),this.callHooks("onResetCode",this.code),this.caretMarker.setPosition(0,false,true),this.markMarker.setPosition(0,true)},b.setTokenizer=function(a){this.tokenizer!=null&&this.tokenizer.removeEventListener(this._tokenizerEvents),(this.tokenizer=a)?a.addEventListener(this._tokenizerEvents):(this._textProperties.reset(),this.callHooks("onResetCode",this.code))},b.getCode=function(){return this.__code||(this.__code=this.code.join("\n"))},b.getCodeSize=function(){if(this.__size)return this.__size;var a=this.code.length,b=a>0?-1:0;while(--a>=0)b+=this.code[a].length+1;return this.__size=b},b.getLine=function(a){a==null&&(a=this._rowcol.row);return this.code[a]},b.charAtRowCol=function(a,b){var c=this.code.length;if(a>=c--)return null;var d=this.code[a];if(b==d.length)return a==c&&d.charAt(b)||"\n";return d.charAt(b)},b.charAt=function(a){a==null?a=this.point():(a=f(a))<0&&(a+=this.point());var b=this._positionToRowCol(a);return this.charAtRowCol(b.row,b.col)},b.callInteractively=function(a,b,c){b||(b=[]);var d;a instanceof Function?d=a.ymacsCommand||null:(d=a,a=this.COMMANDS[a]);if(a.ymacsCallInteractively&&!c)return a.ymacsCallInteractively.apply(this,b);(this.currentCommand=d)!="undo"&&(this.__undoQueue=this.__undoQueue.concat(this.__redoQueue),this.__redoQueue=[]);if(this.previousCommand!=d)this.sameCommandCount(0),d!="undo"&&this._placeUndoBoundary();else if(d!="self_insert_command"||this.sameCommandCount()%20==0)d!="undo"&&this._placeUndoBoundary();this.preventUpdates();try{this.callHooks("beforeInteractiveCommand",d,a),a.ymacsMarkExtend||this.clearTransientMark();return a.apply(this,b)}catch(a){if(a instanceof Ymacs_Exception)this.signalError(a.message);else throw a}finally{this.resumeUpdates(),this.callHooks("afterInteractiveCommand",d,a),this.previousCommand=d,this.sameCommandCount(+1)}},b.resetOverwriteMode=function(a){arguments.length==0&&(a=this.overwriteMode),this.callHooks("onOverwriteMode",this.overwriteMode=!a),this.signalInfo(a?"Insert mode":"Overwrite mode")},b.getMinibuffer=function(){return this.whenYmacs(function(a){return a.minibuffer})},b.getMinibufferFrame=function(){return this.whenYmacs(function(a){return a.minibuffer_frame})},b.setMinibuffer=function(a){this.whenMinibuffer(function(b){b.setCode(a),b.cmd("end_of_buffer")})},b.cmd=function(a){return this.COMMANDS[a].apply(this,Array.$(arguments,1))},b.cmdApply=function(a,b){return this.COMMANDS[a].apply(this,b)},b.createDialog=function(a){a.parent||(a.parent=this.getActiveFrame()&&this.getActiveFrame().getParentDialog(),"noShadows"in a||(a.noShadows=true));var b=new DlDialog(a);this.whenActiveFrame(function(a){b.addEventListener("onDestroy",a.focus.clearingTimeout(0,a))});return b},b.getActiveFrame=function(){return this.whenYmacs("getActiveFrame")},b.when=function(a,b){if((a=this[a]||this.getq(a))!=null)return b instanceof Function?b.call(this,a):a[b].apply(a,Array.$(arguments,2))},b.whenActiveFrame=function(){var a=this.getActiveFrame();if(a.buffer===this){this.activeFrame=a;var b=Array.$(arguments);b.unshift("activeFrame");return this.when.apply(this,b)}this.activeFrame=null},b.forAllFrames=function(a){this.ymacs.getBufferFrames(this).foreach(a)},b.whenYmacs=function(){var a=Array.$(arguments);a.unshift("ymacs");return this.when.apply(this,a)},b.whenMinibuffer=function(a){return this.whenYmacs(function(b){if(b.minibuffer)return a.call(this,b.minibuffer)})},b.preventUpdates=function(){++this.__preventUpdates},b.resumeUpdates=function(){(this.__preventUpdates=Math.max(this.__preventUpdates-1,0))==0&&this.redrawDirtyLines()},b.getRegion=function(a,b){a==null&&(a=this.caretMarker),b==null&&(b=this.markMarker),a=f(a);if((b=f(b))<a){var c=a;a=b,b=c}return{begin:a,end:b}},b.redrawDirtyLines=function(){this.callHooks("beforeRedraw"),this.__dirtyLines.foreach(function(a,b){a&&this.callHooks("onLineChange",b)},this),this.__dirtyLines=[],this.callHooks("afterRedraw")},b.getOverlays=function(){return this.__overlays},b.getOverlay=function(a){return this.__overlays[a]},b.setOverlay=function(a,b){var c=this.__overlays[a],d=!c,e;d?c=this.__overlays[a]=b:Object.merge(c,b),c.line2<c.line1?(e=c.line2,c.line2=c.line1,c.line1=e,e=c.col2,c.col2=c.col1,c.col1=e):c.line2==c.line1&&c.col2<c.col1&&(e=c.col2,c.col2=c.col1,c.col1=e),this.callHooks("onOverlayChange",a,c,d)},b.deleteOverlay=function(a){delete this.__overlays[a],this.callHooks("onOverlayDelete",a)},b.ensureTransientMark=function(){var a=this._rowcol,b;this.transientMarker||(this.transientMarker=this.createMarker(),this.markMarker.setPosition(this.point()),b=a),b||(b=this.transientMarker.getRowCol()),this.setOverlay("selection",{line1:b.row,col1:b.col,line2:a.row,col2:a.col})},b.clearTransientMark=function(){this.transientMarker&&(this.transientMarker.destroy(),this.transientMarker=null,this.deleteOverlay("selection"))},b.deleteTransientRegion=function(){if(this.transientMarker){this._deleteText(this.caretMarker,this.transientMarker),this.clearTransientMark(),this._placeUndoBoundary();return true}};var i=0;b.sameCommandCount=function(a){if(a==null)return i;return i+=a};var j;b.interactiveEvent=function(a){if(arguments.length==0)return j;return j=a},b.getPrefixArg=function(a){var b=this.getq("universal_prefix");a||(this.setq("universal_prefix",undefined),this.isMinibuffer||this.setMinibuffer(""));return b},b.setPrefixArg=function(a){return this.setq("universal_prefix",a)},b.updateProgress=function(a,b){b==null?delete this.progress[a]:this.progress[a]=b,this.callHooks("onProgressChange")},b.renderModelineContent=function(a){var b=String.buffer("-- <b>",this.name.htmlEscape(),"</b> (",a.row+1,",",a.col,") "),c=[];for(var d in this.progress)c.push(d+": "+this.progress[d]);c.length>0&&b("[",c.join(", "),"]");return b.get()},b._recordChange=function(a,b,c,d){if(c>0){var f=this.__undoQueue;f.push({type:a,pos:b,len:c,text:d}),f.length>e&&f.shift()}},b._placeUndoBoundary=function(a){a=a||this.__undoQueue;var b=this.markers.map(function(a){return[a,a.getPosition()]}),c=a.peek();!c||c.type!=3?a.push({type:3,markers:b}):c.markers=b},b._playbackUndo=function(a){++this.__undoInProgress;var b=false,c;while(a.length>0&&a.peek().type==3)c=a.pop();while(a.length>0){c=a.pop();if(c.type==3){c.markers.foreach(function(a){a[0].setPosition(a[1])});break}b=true;var d=c.pos;switch(c.type){case 1:this._deleteText(d,d+c.len);break;case 2:this._insertText(c.text,d)}}--this.__undoInProgress;return b},b._replaceLine=function(a,b){this.code[a]=b,this._textProperties.replaceLine(a,b),this.__preventUpdates==0?this.callHooks("onLineChange",a):this.__dirtyLines[a]=true},b._deleteLine=function(a){this.code.splice(a,1),this._textProperties.deleteLine(a),this.tokenizer&&this.tokenizer.quickDeleteLine(a),this.__dirtyLines.splice(a,1),this.callHooks("onDeleteLine",a)},b._insertLine=function(a,b){this.code.splice(a,0,b),this._textProperties.insertLine(a),this.tokenizer&&this.tokenizer.quickInsertLine(a);var c=this.__preventUpdates==0;this.callHooks("onInsertLine",a,c),c||(this.__dirtyLines.length<=a?this.__dirtyLines[a]=true:this.__dirtyLines.splice(a,0,true))},b._insertText=function(a,b){if(!(a.length==0)){b==null&&(b=this.caretMarker.getPosition()),b=f(b),this.__preventUndo==0&&this._recordChange(1,b,a.length);var c=b==this.point()?this._rowcol:this._positionToRowCol(b),d=c.row;if(/^\n+$/.test(a)&&c.col==0)a.length.times(function(a){this._insertLine(d+a,"")},this);else{var e=a.split("\n"),g=this.code[d],h=g.substr(c.col);e.length>1?(this._replaceLine(d,g.substr(0,c.col)+e.shift()),e.foreach(function(a){this._insertLine(++d,a)},this),this._replaceLine(d,this.code[d]+h)):this._replaceLine(d,g.substr(0,c.col)+e[0]+g.substr(c.col))}this._updateMarkers(b,a.length),this.callHooks("onTextInsert",b,a)}},b._deleteText=function(a,b){a=this._boundPosition(f(a)),b=this._boundPosition(f(b));if(!(a==b)){if(b<a){var c=a;a=b,b=c}this.__preventUndo==0&&this._recordChange(2,a,b-a,this._bufferSubstring(a,b));var d=this._positionToRowCol(a),e=this._positionToRowCol(b),g=this.code[d.row];d.row==e.row?(g=g.substr(0,d.col)+g.substr(e.col),this._replaceLine(d.row,g)):(g=g.substr(0,d.col)+this.code[e.row].substr(e.col),this._replaceLine(d.row,g),g=d.row+1,(e.row-d.row).times(this._deleteLine.$(this,g))),this._updateMarkers(a,a-b,a),this.callHooks("onTextDelete",a,b)}},b._replaceText=function(a,b,c){this._deleteText(a,b),this._insertText(c,a)},b._swapAreas=function(a){a=a.map(f).mergeSort();var b=a[0],c=a[1],d=a[2],e=a[3],g=this._bufferSubstring(b,c),h=this._bufferSubstring(d,e);this._replaceText(d,e,g),this._replaceText(b,c,h);return e},b._bufferSubstring=function(a,b){a==null?a=this.point():a=f(a),b==null?b=this.getCodeSize():b=f(b);if(b<a){var c=a;a=b,b=c}return this.getCode().substring(a,b)},b._killingAction=function(a,b,c,d){a=f(a),b=f(b);var e=this._bufferSubstring(a,b);this._saveKilledText(e,c),d||this._deleteText(a,b)},b._saveKilledText=function(a,b){this._lastCommandWasKill||this.ymacs.killRingToMaster(),this.ymacs.pushToKillRing(a,b),this._lastCommandWasKill++},b._positionToRowCol=function(a){var b=0,c=this.code,d=c.length;while(a>0&&b<d){var e=c[b].length;if(e>=a)break;a-=e+1,b++}return{row:b,col:a}},b._rowColToPosition=function(a,b){var c=0,d=this.code,e=Math.min(a,d.length-1),f=e;if(e<0)return 0;while(--e>=0)c+=d[e].length+1;return c+Math.min(b,d[f].length)},b._boundPosition=function(a){if(a<0)return 0;return Math.min(a,this.getCodeSize())},b._repositionCaret=function(a){var b=this.caretMarker.getPosition();a==null&&(a=b),a=f(a),a=this._boundPosition(a),this.caretMarker.setPosition(a);return a!=b},b._updateMarkers=function(a,b,c){this.__code=this.__size=null,this.markers.map("editorChange",a,b,c||0),this.tokenizer&&this.tokenizer.quickUpdate(Math.min(a,a+b))},b._saveExcursion=function(a,b){var c=this.createMarker(null,b);++this.__savingExcursion;try{return a.call(this)}finally{--this.__savingExcursion,this.caretMarker.swap(c,false,true),c.destroy()}},b._disableUndo=function(a){++this.__preventUndo;try{return a.call(this)}finally{--this.__preventUndo}},b._handleKeyEvent=function(a){var b=false;this.interactiveEvent(a);var c=this._lastCommandWasKill;this.__nextIsMeta&&(a.altKey=true),this.__nextIsMeta=false;var d=Ymacs_Keymap.unparseKey(a),e=this.currentKeys,f=false;e.push(d),this.keymap.r_foreach(function(a){var c=a.getHandler(e);c instanceof Array?(this.callInteractively(c[0],c[1]),b=true):c?b=f=true:d==="ESCAPE"?b=this.__nextIsMeta=true:a.defaultHandler&&e.length==1&&(b=this.callInteractively(a.defaultHandler[0],a.defaultHandler[1])),b&&$BREAK()},this),f||(b||e.length>1&&(this.signalError(e.join(" ").bold()+" is undefined",true),b=true),e.splice(0,e.length)),this._lastCommandWasKill==c&&typeof b!="object"&&(this._lastCommandWasKill=0),this.callHooks("finishedEvent",b),this.interactiveEvent(null);return b},b._on_tokenizerFoundToken=function(a,b,c,d){d?this._textProperties.addLineProps(a,b,c,"css",d):this._textProperties.removeLineProps(a,b,c,"css")},b._on_textPropertiesChange=function(a){this.__preventUpdates==0?this.callHooks("onLineChange",a):this.__dirtyLines[a]=true},b.formatLineHTML=function(a,b){var c=this._rowcol;b instanceof Ymacs_Marker&&(c=b.getRowCol()),b=a==c.row?c.col:null;return this._textProperties.getLineHTML(a,this.code[a],b)}}),DEFINE_CLASS("Ymacs_Marker",null,function(a,b){a.DEFAULT_ARGS={position:["pos",null],editor:["editor",null],before:["before",false],name:["name",null]},a.CONSTRUCT=function(){this.editor.markers.push(this),this.rowcol=null,this.onChange=[]},b.destroy=function(){this.editor.markers.remove(this),this.editor=null},b.editorChange=function(a,b,c){var d=this.position;this.before&&--d,b!=0&&a<=d&&(this.rowcol=null,this.position+=b,this.position<c&&(this.position=c),this.callHooks(this.onChange,this.position))},b.callHooks=function(a,b){for(var c=a.length;--c>=0;)a[c].call(this.editor,b)},b.getPosition=function(){return this.position},b.setPosition=function(a,b,c){if(c||this.position!=a)this.rowcol=null,this.position=a,b||this.callHooks(this.onChange,this.position)},b.getRowCol=function(){return this.rowcol||(this.rowcol=this.editor._positionToRowCol(this.position))},b.updateMarkers=function(a){this.editor._updateMarkers(this.getPosition(),a)},b.swap=function(a,b,c){var d=this.getPosition();this.setPosition(a.getPosition(),b,c),a.setPosition(d,b,c)}}),Ymacs_Buffer.newCommands({forward_char:Ymacs_Interactive("p",function(a){a==null&&(a=1);return this.cmd("goto_char",this.point()+a)}),backward_char:Ymacs_Interactive("p",function(a){a==null&&(a=1);return this.cmd("forward_char",-a)}),forward_line:Ymacs_Interactive("p",function(a){a==null&&(a=1);var b=this._rowcol;/^(forward|backward)_line$/.test(this.previousCommand)||this.setq("line_movement_requested_col",b.col);var c=this.cmd("goto_char",this._rowColToPosition(b.row+a,Math.max(b.col,this.getq("line_movement_requested_col"))));c||this.setq("line_movement_requested_col",b.col);return c}),backward_line:Ymacs_Interactive("p",function(a){a==null&&(a=1);return this.cmd("forward_line",-a)}),forward_whitespace:Ymacs_Interactive("P",function(a){var b=a?/[^\x20\t\xA0]/g:/[^\s]/g;if(this.cmd("search_forward_regexp",b)){this.cmd("backward_char");return true}if(!a)return this.cmd("end_of_buffer")}),backward_whitespace:Ymacs_Interactive("P",function(a){var b=a?/[^\x20\t\xA0]/g:/[^\s]/g;if(this.cmd("search_backward_regexp",b)){this.cmd("forward_char");return true}if(!a)return this.cmd("beginning_of_buffer")}),beginning_of_line:Ymacs_Interactive(function(){return this.cmd("goto_char",this._rowColToPosition(this._rowcol.row,0))}),back_to_indentation:Ymacs_Interactive(function(){var a=this._rowcol,b=this.code[a.row],c=/\S/.exec(b);if(c)return this.cmd("goto_char",this._rowColToPosition(a.row,c.index))}),beginning_of_indentation_or_line:Ymacs_Interactive(function(){return this.cmd("back_to_indentation")||this.cmd("beginning_of_line")}),end_of_line:Ymacs_Interactive(function(){var a=this._rowcol;return this.cmd("goto_char",this._rowColToPosition(a.row,this.code[a.row].length))}),beginning_of_buffer:Ymacs_Interactive(function(){return this.cmd("goto_char",0)}),end_of_buffer:Ymacs_Interactive(function(){return this.cmd("goto_char",this.getCodeSize())}),eob_p:function(){return this.point()==this.getCodeSize()},bob_p:function(){return this.point()==0},eol_p:function(){var a=this._positionToRowCol(this.point());return a.col==this.code[a.line].length},bol_p:function(){return this._positionToRowCol(this.point()).col==0},backward_delete_char:Ymacs_Interactive("^p",function(a){if(!this.deleteTransientRegion()){a==null&&(a=1);var b=this.point();b>0&&this._deleteText(b-a,b)}}),delete_char:Ymacs_Interactive("^p",function(a){if(!this.deleteTransientRegion()){a==null&&(a=1);var b=this.point();this._deleteText(b,b+a)}}),delete_whitespace:Ymacs_Interactive("^P",function(a){if(!this.deleteTransientRegion()){var b=this.point();if(this.cmd("forward_whitespace",a)){this._deleteText(b,this.point());return true}}}),backward_delete_whitespace:Ymacs_Interactive("^P",function(a){if(!this.deleteTransientRegion()){var b=this.point();if(this.cmd("backward_whitespace",a)){this._deleteText(this.point(),b);return true}}}),universal_argument:Ymacs_Interactive("^",function(){this.pushKeymap(Ymacs_Keymap_UniversalArgument()),this.isMinibuffer||this.setMinibuffer("C-u")}),overwrite_mode:Ymacs_Interactive(function(){this.resetOverwriteMode()}),self_insert_command:Ymacs_Interactive("^p",function(a){var b=this.interactiveEvent(),c=String.fromCharCode(b.charCode),d=this._rowcol;if(b.charCode&&c&&!b.altKey&&!b.ctrlKey){this.deleteTransientRegion(),a!=null&&(c=c.x(a));if(this.overwriteMode){var e=this.code[d.row],f=e.length-d.col;f>0&&this.cmd("delete_char",Math.min(f,a||1))}this.cmd("insert",c);return b.domStop=true}return false}),newline:Ymacs_Interactive("^p",function(a){a==null&&(a=1),this.deleteTransientRegion(),this.cmd("insert","\n".x(a))}),newline_and_indent:Ymacs_Interactive("^p",function(a){a?this.cmd("newline",a):(this.cmd("backward_delete_whitespace",true),this.cmd("newline"),this.cmd("indent_line"))}),indent_line:Ymacs_Interactive("P",function(a){if(this.tokenizer){var b=this.tokenizer.getIndentation(this._rowcol.row,this);if(b!=null){if(!a||/\S/.test(this.getLine())){var c=this.cmd("save_excursion",function(){this.cmd("back_to_indentation"),this._rowcol.col!=b&&(this.cmd("beginning_of_line"),this.cmd("delete_whitespace",true),this.cmd("insert"," ".x(b)));return this.point()});this.point()<c&&this.cmd("goto_char",c)}return}}this.cmd("insert"," ".x(this.getq("indent_line")))}),indent_region:Ymacs_Interactive("r",function(a,b){if(b<a){var c=a;a=b,b=c}this.cmd("save_excursion",function(){var c=this.createMarker(b);this.cmd("goto_char",a);while(this.point()<c.getPosition()){this.cmd("indent_line",true),this.cmd("beginning_of_line");if(!this.cmd("forward_line"))break}c.destroy()})}),make_marker:function(a){return this.createMarker(a)},looking_at:function(a){var b=a.lastIndex=this.point(),c=this.matchData=a.exec(this.getCode());c&&(c.after=a.lastIndex);return c&&c.index==b},looking_back:function(a){var b=this.lastIndexOfRegexp(this.getCode(),a,this.point());return b&&b.after==this.point()},search_forward:Ymacs_Interactive("sSearch: ",function(a,b){var c=this.getCode(),d=this.point();this.getq("case_fold_search")&&(c=c.toLowerCase(),a=a.toLowerCase());var e=c.indexOf(a,d);if(e>=0&&(b==null||e<=b)){this.cmd("goto_char",e+a.length);return true}}),search_backward:Ymacs_Interactive("sSearch backward: ",function(a,b){var c=this.getCode(),d=this.point();this.getq("case_fold_search")&&(c=c.toLowerCase(),a=a.toLowerCase());var e=c.lastIndexOf(a,d);e==d&&(e=c.lastIndexOf(a,d-1));if(e>=0&&e!=d&&(b==null||e>=b)){this.cmd("goto_char",e);return true}}),make_regexp:function(a){if(!(a instanceof RegExp)){var b=a.toLowerCase()!=a.toUpperCase();try{a=new RegExp(a,b?"ig":"g")}catch(a){throw new Ymacs_Exception("Invalid regexp")}}return a},search_forward_regexp:Ymacs_Interactive("sRegExp search: ",function(a){a=this.cmd("make_regexp",a);var b=this.getCode(),c=a.lastIndex=this.point(),d=this.matchData=a.exec(b);if(d&&a.lastIndex!=c){d.after=a.lastIndex,this.cmd("goto_char",a.lastIndex);return true}}),search_backward_regexp:Ymacs_Interactive("sBackward RegExp search: ",function(a){a=this.cmd("make_regexp",a);var b=this.lastIndexOfRegexp(this.getCode(),a,this.point());if(b&&b.index!=this.point()){this.cmd("goto_char",b.index);return true}}),forward_word:Ymacs_Interactive_X(function(){var a=this.getq("syntax_word"),b=false;while(!b&&!a.test(this.charAt()))this.cmd("forward_char")||(b=true);while(!b&&a.test(this.charAt()))this.cmd("forward_char")||(b=true)}),backward_word:Ymacs_Interactive_X(function(){var a=this.getq("syntax_word"),b=false;while(!b&&!a.test(this.charAt(-1)))this.cmd("backward_char")||(b=true);while(!b&&a.test(this.charAt(-1)))this.cmd("backward_char")||(b=true)}),forward_paragraph:Ymacs_Interactive_X(function(){this.cmd("forward_whitespace"),this.cmd("search_forward_regexp",this.getq("syntax_paragraph_sep"))?this.cmd("goto_char",this.cmd("match_beginning")+1):this.cmd("end_of_buffer")}),backward_paragraph:Ymacs_Interactive_X(function(){this.cmd("backward_whitespace"),this.cmd("search_backward_regexp",this.getq("syntax_paragraph_sep"))?this.cmd("goto_char",this.cmd("match_end")-1):this.cmd("beginning_of_buffer")}),transpose_words:Ymacs_Interactive_X(function(){this.cmd("backward_char"),this.getq("syntax_word").test(this.charAt())&&this.cmd("forward_word");var a=[];this.cmd("forward_word"),a.push(this.point()),this.cmd("backward_word"),a.push(this.point()),this.cmd("backward_word"),a.push(this.point()),this.cmd("forward_word"),a.push(this.point()),this.cmd("goto_char",this._swapAreas(a))}),transpose_lines:Ymacs_Interactive_X(function(){var a=[];this.cmd("backward_line"),this.cmd("beginning_of_line"),a.push(this.point()),this.cmd("end_of_line"),a.push(this.point()),this.cmd("forward_char"),a.push(this.point()),this.cmd("end_of_line"),a.push(this.point()),this.cmd("goto_char",this._swapAreas(a)+1)}),transpose_chars:Ymacs_Interactive_X(function(){var a=this.point();this.cmd("backward_char")&&this.cmd("goto_char",this._swapAreas([a-1,a,a,a+1]))}),kill_word:Ymacs_Interactive_X(function(){var a=this.point();this.cmd("forward_word");var b=this.point();this._killingAction(a,b,false)}),backward_kill_word:Ymacs_Interactive_X(function(){var a=this.point();this.cmd("backward_word");var b=this.point();this._killingAction(a,b,true)}),_apply_operation_on_word:function(a,b){var c=this.point();if(this.getq("syntax_word").test(this.charAt())){var d=this.cmd("save_excursion",function(){this.cmd("forward_word");return this.point()}),e=a.call(this._bufferSubstring(c,d));this._deleteText(c,d),this._insertText(e)}else this.cmd("forward_word"),this.cmd("backward_word"),c!=this.point()&&this.cmd(b)},capitalize_word:Ymacs_Interactive_X(function(){this.cmd("_apply_operation_on_word",function(){return this.charAt(0).toUpperCase()+this.substr(1).toLowerCase()},"capitalize_word")}),downcase_word:Ymacs_Interactive_X(function(){this.cmd("_apply_operation_on_word",String.prototype.toLowerCase,"downcase_word")}),upcase_word:Ymacs_Interactive_X(function(){this.cmd("_apply_operation_on_word",String.prototype.toUpperCase,"upcase_word")}),goto_char:Ymacs_Interactive("NGoto char: ",function(a){return this._repositionCaret(a)}),goto_line:Ymacs_Interactive("NGoto line: ",function(a){var b=this._rowColToPosition(a-1,0);return this.cmd("goto_char",b)}),move_to_column:Ymacs_Interactive("NMove to column: ",function(a,b){var c=this._positionToRowCol(this.point()),d=this.code[c.row];d.length<a?b?(this.cmd("end_of_line"),this.cmd("insert"," ".x(a-d.length))):this.cmd("end_of_line"):this.cmd("goto_char",this._rowColToPosition(c.row,a))}),delete_region:Ymacs_Interactive("r",function(a,b){this._deleteText(a,b)}),insert:Ymacs_Interactive("sInsert text: ",function(){return this._insertText(Array.$(arguments).join(""))}),keyboard_quit:Ymacs_Interactive("^p",Function.noop),buffer_substring:function(a,b){if(arguments.length==0){var c=this.getRegion();a=c.begin,b=c.end}return this._bufferSubstring(a,b)},kill_line:Ymacs_Interactive_X(function(){var a=this.point(),b=this._rowcol,c=this.code[b.row],d=a+c.length-b.col;b.row<this.code.length-1&&this.cmd("looking_at",/\s*$/mg)&&d++,this._killingAction(a,d)}),save_excursion:function(){return this._saveExcursion.apply(this,arguments)},prevent_undo:function(){return this._disableUndo.apply(this,arguments)},point:function(){return this.caretMarker.getPosition()},kill_region:Ymacs_Interactive("r",function(a,b){this._killingAction(a,b)}),copy_region_as_kill:Ymacs_Interactive("r",function(a,b){this._killingAction(a,b,false,true)}),yank:Ymacs_Interactive("^P",function(a){this.deleteTransientRegion();var b=this.point();this._insertText(this.ymacs.killRingText()),this.cmd("set_mark_command",b),a&&this.cmd("exchange_point_and_mark")}),yank_pop:Ymacs_Interactive(function(){/^yank/.test(this.previousCommand)?(this.ymacs.rotateKillRing(false),this._deleteText(this.caretMarker,this.markMarker),this.cmd("yank")):this.signalError("Previous command was not a yank")}),yank_shift:Ymacs_Interactive(function(){/^yank/.test(this.previousCommand)?(this.ymacs.rotateKillRing(true),this._deleteText(this.caretMarker,this.markMarker),this.cmd("yank")):this.signalError("Previous command was not a yank")}),mark:function(){return this.markMarker.getPosition()},set_mark_command:Ymacs_Interactive("d",function(a){this.currentCommand=="set_mark_command"&&this.signalInfo("Mark set",null,1e3),this.markMarker.setPosition(a)}),exchange_point_and_mark:Ymacs_Interactive("^",function(){this.caretMarker.swap(this.markMarker)}),mark_whole_buffer:Ymacs_Interactive(function(){this.clearTransientMark(),this.cmd("end_of_buffer"),this.ensureTransientMark(),this.cmd("beginning_of_buffer"),this.ensureTransientMark()}),recenter_top_bottom:Ymacs_Interactive(function(){this.whenActiveFrame(function(a){a.ensureCaretVisible(true),a.centerOnCaret()})}),ensure_caret_visible:Ymacs_Interactive(function(){this.whenActiveFrame(function(a){a.ensureCaretVisible(true),a.centerOnCaret()})}),fill_paragraph:Ymacs_Interactive("P",function(a){this.cmd("save_excursion",function(){this.cmd("looking_at",this.getq("syntax_paragraph_sep"))||this.cmd("forward_paragraph");var b=this.createMarker(this.point()-1);this.cmd("backward_paragraph"),this.point()>0&&this.cmd("forward_char");var c="",d=false;this.cmd("looking_at",/\s*([-]|[0-9]+\.|\(?[a-z][\).])?\s+/ig)?(c=" ".x(this.matchData[0].length),d=/\s*[#>;\s]*\s*/g):this.cmd("looking_at",/\s*[#>;*\s]+\s*/g)&&(c=this.matchData[0],d=/\s*[#>;\s]*\s*/g),a&&(this._deleteText(this.point(),this.point()+this.matchData[0].length),c="");while(true){this.cmd("end_of_line"),this.cmd("backward_delete_whitespace");if(this.point()>=b.getPosition())break;this._replaceText(this.point(),this.point()+1," "),d&&this.cmd("looking_at",d)&&this._deleteText(this.point(),this.point()+this.matchData[0].length)}this.cmd("beginning_of_line");while(this.point()<b.getPosition()){var e=this.point();if(!this.cmd("search_forward_regexp",/\s/g))break;this.point()>b.getPosition()&&this.cmd("goto_char",b),this._rowcol.col>this.getq("fill_column")&&(this.cmd("goto_char",e),this.cmd("backward_delete_whitespace"),this.cmd("newline"),this.cmd("insert",c))}b.destroy(),this.cmd("recenter_top_bottom")})}),fill_paragraph_no_prefix:Ymacs_Interactive(function(){return this.cmd("fill_paragraph",true)}),start_next_paragraph:Ymacs_Interactive(function(){this.cmd("backward_paragraph"),this.point()>0&&this.cmd("forward_char");var a="";this.cmd("looking_at",/(\s*)([0-9]+)(\.\s+)/g)?a=this.matchData[1]+(parseInt(this.matchData[2],10)+1)+this.matchData[3]:this.cmd("looking_at",/(\s*\(?)([a-z])([\.\)]\s+)/ig)?a=this.matchData[1]+String.fromCharCode(this.matchData[2].charCodeAt(0)+1)+this.matchData[3]:this.cmd("looking_at",/\s*[#>;*\s-]+\s*/g)&&(a=this.matchData[0]),this.cmd("forward_paragraph"),this.cmd("eob_p")&&this.cmd("newline"),this.cmd("insert","\n",a),this.cmd("looking_at",/\n\n/g)||(this.cmd("newline"),this.cmd("backward_char"))}),scroll_down:Ymacs_Interactive_X(function(){this.whenActiveFrame(function(a){var b=a.heightInLines();this.cmd("forward_line",Math.round(b/1.33)),this.cmd("recenter_top_bottom")})}),scroll_up:Ymacs_Interactive_X(function(){this.whenActiveFrame(function(a){var b=a.heightInLines();this.cmd("backward_line",Math.round(b/1.33)),this.cmd("recenter_top_bottom")})}),nuke_trailing_whitespace:Ymacs_Interactive(function(){this.cmd("save_excursion",function(){this.cmd("goto_char",0);while(this._rowcol.row<this.code.length){var a=this.code[this._rowcol.row],b=/\s+$/.exec(a);b&&(this.cmd("beginning_of_line"),this._deleteText(this.point()+b.index,this.point()+a.length));if(!this.cmd("forward_line"))break}})}),match_string:function(a){return this.matchData[a]},match_beginning:function(){return this.matchData.index},match_end:function(){return this.matchData.index+this.matchData[0].length},undo:Ymacs_Interactive_X(function(){var a=this.__undoQueue;this.__undoQueue=this.__redoQueue,this._placeUndoBoundary(),this._playbackUndo(a)||this.signalError("No further undo information"),this.__undoQueue=a}),center_line:Ymacs_Interactive("p",function(a){a==null&&(a=1),a.times(function(a){a>0&&this.cmd("forward_line"),this.cmd("save_excursion",function(){this.cmd("end_of_line"),this.cmd("backward_delete_whitespace",true),this.cmd("beginning_of_line"),this.cmd("delete_whitespace",true);var a=this.code[this._rowcol.row],b=Math.floor((this.getq("fill_column")-a.length)/2);this.cmd("insert"," ".x(b))})},this)}),dabbrev_expand:Ymacs_Interactive_X(function(){this.previousCommand!="dabbrev_expand"&&this.setq("dabbrev_context",null);var a=this.getq("dabbrev_context");if(!a){a=this.setq("dabbrev_context",{});var b=this.cmd("save_excursion",function(){this.cmd("bind_variables",{syntax_word:this.getq("syntax_word_dabbrev")},"backward_word");return this.point()});if(b==this.point())return this.signalError("Nothing to expand");a.search=this.cmd("buffer_substring",b,this.point()),a.point=b,a.length=this.point()-b,a.lastSearch=b,a.encountered={},a.forward=false,a.startBuffer=a.buffer=this}var c;a.buffer.cmd("save_excursion",function d(){var b=this.getq("syntax_word_dabbrev"),e,f=false;this.cmd("goto_char",a.lastSearch);if(a.forward){while(this.cmd("search_forward",a.search))if(!b.test(this.charAt(-a.search.length-1))){f=true;break}if(f)a.lastSearch=this.point(),e=this.point()-a.search.length;else{a.buffer=this.whenYmacs("getNextBuffer",this);if(a.buffer===a.startBuffer){c=a.search,a.startBuffer.signalError("No more completions"),a.lastSearch=a.point+a.length,a.startBuffer.setq("dabbrev_context",null);return}a.lastSearch=0,a.buffer.cmd("save_excursion",d);return}}else{while(this.cmd("search_backward",a.search))if(!b.test(this.charAt(-1))){f=true;break}if(f)a.lastSearch=e=this.point(),this.cmd("goto_char",e+a.search.length);else{a.forward=true,a.lastSearch=a.point+a.length,d.call(this);return}}e!=null&&(this.cmd("bind_variables",{syntax_word:this.getq("syntax_word_dabbrev")},"forward_word"),c=this.cmd("buffer_substring",e,this.point()),Object.HOP(a.encountered,c)&&d.call(this))}),c!=null&&(this._replaceText(a.point,a.point+a.length,c),a.length=c.length,a.encountered[c]=true)}),split_frame_vertically:Ymacs_Interactive("p",function(a){a==null?a="50%":a+="%",this.whenActiveFrame("vsplit",a)}),split_frame_horizontally:Ymacs_Interactive("p",function(a){a==null?a="50%":a+="%",this.whenActiveFrame("hsplit",a)}),delete_other_frames:Ymacs_Interactive(function(){this.whenActiveFrame("deleteOtherFrames")}),delete_frame:Ymacs_Interactive(function(){this.whenActiveFrame("deleteFrame")}),other_frame:Ymacs_Interactive(function(){this.whenYmacs("focusOtherFrame")}),windmove:function(a){this.whenYmacs(function(b){var c=b.getFrameInDirection(a);c&&c.focus()})},next_buffer:Ymacs_Interactive(function(){this.whenYmacs("switchToNextBuffer",this.sameCommandCount()+1)}),previous_buffer:Ymacs_Interactive(function(){this.whenYmacs("switchToPreviousBuffer",this.sameCommandCount()+1)}),switch_to_buffer:Ymacs_Interactive("BSwitch to buffer: ",function(a){this.whenYmacs(function(b){b.switchToBuffer(a)})}),kill_buffer:Ymacs_Interactive(function(){this.whenYmacs(function(a){a.killBuffer(this)})}),rename_buffer:Ymacs_Interactive("sRename current buffer to: ",function(a){this.whenYmacs(function(b){b.renameBuffer(this,a)})}),delete_region_or_line:Ymacs_Interactive("^",function(){if(!this.deleteTransientRegion()){this.cmd("beginning_of_line");var a=this.point();if(this.cmd("forward_line")||this.cmd("end_of_line")){this._deleteText(a,this.point());return true}}}),close_last_xml_tag:Ymacs_Interactive_X(function(){var a,b;this.cmd("save_excursion",function(){var b=1;while(b!=0&&this.cmd("search_backward_regexp",/<\x2f?([a-zA-Z0-9:_-]+)/g))a=this.cmd("match_string",1),this.cmd("looking_at",/<\x2f/g)?++b:this.cmd("looking_at",/<[^\x2f][^>]*?\x2f>/g)||--b;b!=0&&(a=null)});if(a)this.cmd("insert","</",a,">");else throw new Ymacs_Exception("Couldn't find a tag to close")}),bind_variables:function(){return this.withVariables.apply(this,arguments)},for_region:Ymacs_Interactive("^r\nCExecute command within region: ",function(a,b,c){if(b<a){var d=a;a=b,b=d}c instanceof Function||(c=this.COMMANDS[c]),this.clearTransientMark(),this.cmd("goto_char",a),a=this.createMarker(a,true),b=this.createMarker(b),this.withCommands({goto_char:function(c){if(c>=a.getPosition()&&c<=b.getPosition())return this._repositionCaret(c);throw"YMACS_RESTRICT"}},function(){try{while(true){var d=this.point();c.call(this);if(this.point()==d&&!this.cmd("forward_line"))break}}catch(a){if(a!=="YMACS_RESTRICT")throw a}finally{a.destroy(),b.destroy()}})})}),function(){function a(a,b,c,d){a.cmd("save_excursion",function(){for(var a=this._positionToRowCol(b),e=this._positionToRowCol(c),f=Math.abs(e.col-a.col),g=a.row;g<=e.row;++g){this.cmd("goto_char",this._rowColToPosition(g,0));var h=this.code[g],i=a.col,j=e.col,k=this.point(),l=0;if(i>j){var m=i;i=j,j=m}i>h.length&&(l=i-h.length,i=h.length),j>h.length&&(j=h.length),d.call(this,k+i,k+j,l,f)}},b==a.point())}Ymacs_Buffer.newCommands({string_rectangle:Ymacs_Interactive("r\nsString rectangle: ",function(b,c,d){a(this,b,c,function(a,b,c){c>0?this._insertText(" ".x(c),a):this._deleteText(a,b),this._insertText(d,a+c)})}),kill_rectangle:Ymacs_Interactive("r",function(b,c){var d=[];a(this,b,c,function(a,b,c,e){var f=this._bufferSubstring(a,b);b-a<e&&(f+=" ".x(e-b+a)),d.push(f),this._deleteText(a,b)}),this.setq("killed_rectangle",d)}),clear_rectangle:Ymacs_Interactive("r",function(a,b){this.cmd("string_rectangle",a,b," ".x(Math.abs(this._positionToRowCol(b).col-this._positionToRowCol(a).col)))}),insert_rectangle:function(a,b){var c=this._positionToRowCol(a).col;this.cmd("set_mark_command",a),b.foreach(function(a,b){b>0&&(this.cmd("forward_line")||(this.cmd("end_of_line"),this.cmd("newline")),this.cmd("move_to_column",c,true)),this.cmd("insert",a)},this)},yank_rectangle:Ymacs_Interactive("d",function(a){var b=this.getq("killed_rectangle");if(b==null)throw new Ymacs_Exception("No killed rectangle");this.cmd("insert_rectangle",a,b)})})}(),function(){function a(a,b,c){var d=this.createDialog({title:a,quitBtn:"destroy",modal:true}),e=new DlEntry({parent:d,type:"textarea",fillParent:true,value:b});d._focusedWidget=e,d.setSize({x:350,y:250}),e.addEventListener("onKeyPress",function(a){if(a.keyCode!=DlKeyboard.ESCAPE){var b=e.getValue();d.destroy(),c.delayed(0,this,b)}}.clearingTimeout(0,this)),d.show(true),e.select()}Ymacs_Buffer.newCommands({yank_from_operating_system:Ymacs_Interactive(function(){a.call(this,"Paste below (press CTRL-V)",null,function(a){this._saveKilledText(a),this.cmd("yank"),this.cmd("recenter_top_bottom")})}),copy_for_operating_system:Ymacs_Interactive("r",function(b,c){a.call(this,"Press CTRL-C",this.cmd("buffer_substring"),function(){this.cmd("copy_region_as_kill",b,c)})}),kill_for_operating_system:Ymacs_Interactive("r",function(b,c){a.call(this,"Press CTRL-C or CTRL-X",this.cmd("buffer_substring"),function(){this.cmd("kill_region",b,c)})})})}(),["forward_char","forward_word","forward_line","forward_paragraph","forward_sexp","beginning_of_line","beginning_of_indentation_or_line","beginning_of_buffer","backward_char","backward_word","backward_line","backward_paragraph","backward_sexp","end_of_line","end_of_buffer"].foreach(function(a){Ymacs_Buffer.COMMANDS[a+"_mark"]=Ymacs_Interactive("^",function(){this.ensureTransientMark(),this.cmdApply(a,arguments),this.ensureTransientMark()})}),Ymacs_Buffer.newCommands({get_region:function(){return this.getRegion()},cperl_lineup:Ymacs_Interactive("r",function(a,b){this.cmd("save_excursion",function(){var c=this._positionToRowCol(b),d=0,e=[];this.cmd("goto_char",a),this.cmd("forward_whitespace",true);var f=this.charAt();if(f.toLowerCase()!=f.toUpperCase()){this.signalError("Cannot lineup here");return}while(this._rowcol.row<=c.row){var g=this.getLine().indexOf(f);g>=0&&(g>d&&(d=g),e.push([this._rowcol.row,g]));if(!this.cmd("forward_line"))break}++d,e.foreach(function(a){this.cmd("goto_char",this._rowColToPosition(a[0],a[1])),this.cmd("insert"," ".x(d-a[1]))},this)})}),htmlize_region:Ymacs_Interactive("r\nP",function(a,b,c){this.tokenizer.finishParsing();var d=this._positionToRowCol(a).row,e=String.buffer(),f=d,g;c&&!c.empty&&(f=parseInt(c,10)),b=this._positionToRowCol(b).row,g=String(b).length;while(d<=b)e("<div class='line'>"),c&&e("<span class='line-number'>",f.zeroPad(g," "),"</span>"),++f,e(this._textProperties.getLineHTML(d,this.code[d],null),"</div>\n"),++d;e=e.get();var h=this.ymacs.switchToBuffer("*Htmlize*");h.setCode(e),h.cmd("xml_mode",true)}),execute_extended_command:Ymacs_Interactive("^CM-x ",function(a){this.callInteractively(a)}),set_variable:Ymacs_Interactive("vSet variable: \nsTo value: ",function(a,b){var c=parseFloat(b);isNaN(c)||(b=c),this.setq(a,b)}),eval_string:Ymacs_Interactive("^MEval string: ",function(a){try{var b=[this,this.ymacs];a=new Function("buffer","ymacs",a),a.apply(this,b),this.clearTransientMark()}catch(a){this.signalError(a.type+": "+a.message),window.console&&console.log(a)}}),eval_region:Ymacs_Interactive("^r",function(a,b){this.cmd("eval_string",this.cmd("buffer_substring",a,b))}),eval_buffer:Ymacs_Interactive(function(){this.cmd("eval_string",this.getCode())}),toggle_line_numbers:Ymacs_Interactive("^",function(){this.whenActiveFrame("toggleLineNumbers")}),save_file:Ymacs_Interactive("FWrite file: ",function(a){var b=this.ymacs.ls_getFileDirectory(a,"file");b.dir[b.other[0]]=this.getCode(),this.ymacs.ls_set(b.store),this.signalInfo("Saved in local storage")}),load_file:Ymacs_Interactive("fFind file: ",function(a){var b=this.ymacs.ls_getFileContents(a),c=this.ymacs.createBuffer({name:a});c.setCode(b),this.cmd("switch_to_buffer",a)}),delete_file:Ymacs_Interactive("fDelete file: ",function(a){this.ymacs.ls_getFileContents(a);var b=this.ymacs.ls_get();delete b[a],this.ymacs.ls_set(b)}),eval_file:Ymacs_Interactive("fEval file: ",function(a){this.cmd("eval_string",this.ymacs.ls_getFileContents(a))})}),DEFINE_CLASS("Ymacs_Keymap",null,function(a,b){var c={};Object.foreach(DlKeyboard,function(a,b){typeof a=="number"&&(c[a]=b)}),a.CONSTRUCT=function(){this.definitions=Object.makeCopy(this.__originalDefs)},b.FINISH_OBJECT_DEF=function(){this.__originalDefs={};var a=this.constructor.KEYS;a&&this.defineKeys(a)},b.parseKey=function(a){var b={},c=a.split(/-/);c.reverse(),c.foreach(function(a,d){if(d==0)typeof DlKeyboard[a]=="number"?b.keyCode=DlKeyboard[a]:(c[d]=a.toLowerCase(),b.charCode=c[d].charCodeAt(0));else switch(a){case"C":b.ctrlKey=true;break;case"M":b.metaKey=true;break;case"S":b.shiftKey=true}}),c.reverse();var d=c.pop();b.str=c.sort().join("-"),b.str&&(b.str+="-"),b.str+=d;return b},a.unparseKey=function(a){var b,d=[];a.keyCode in c?b=c[a.keyCode]:a.charCode&&(a.charCode==32?b="SPACE":a.charCode==45?b="DASH":b=String.fromCharCode(a.charCode).toLowerCase()),a.ctrlKey&&d.push("C"),a.altKey&&d.push("M"),a.shiftKey&&(a.charCode&&/^[a-zA-Z0-9]$/.test(b)||a.keyCode)&&d.push("S"),d.sort(),(d=d.join("-"))&&(d+="-");return d+b},b.defineKey=function(a,b,c){b instanceof Array&&(c=b.slice(1),b=b[0]),a=a.trim().split(/\s*&&\s*/);if(a.length>1)a.foreach(function(a){this.defineKey(a,b,c)},this);else{a=a[0].trim();var d=this.definitions||this.__originalDefs;if(a.indexOf(" ")>=0){var e=a.split(/\s+/);a=e.pop(),e.foreach(function(a){a=this.parseKey(a).str,d[a]||(d[a]={}),d=d[a]},this)}a=this.parseKey(a),d[a.str]=[b,c]}},b.defineKeys=function(a){Object.foreach(a,function(a,b){this.defineKey(b,a)},this)},b.getHandler=function(a){var b=null,c=this.definitions;a.foreach(function(a){var d=b?b[a]:c[a];d?(b=d)instanceof Array&&$BREAK():b&&(b=null,$BREAK())});return b},b.attached=Function.noop,b.detached=Function.noop}),DEFINE_SINGLETON("Ymacs_Keymap_Emacs",Ymacs_Keymap,function(a,b){var c=String.template("<table>","<tr><td style='text-align: right; font-weight: bold'>Char:</td><td><tt> $ch </tt></td></tr>","<tr><td style='text-align: right; font-weight: bold'>Char code:</td><td> $code / 0x$codeHex </td></tr>","<tr><td style='text-align: right; font-weight: bold'>Position:</td><td> $point </td></tr>","<tr><td style='text-align: right; font-weight: bold'>Mark:</td><td> $mark </td></tr>","<tr><td style='text-align: right; font-weight: bold'>Buffer size:</td><td> $sizeKB </td></tr>","</table>");a.KEYS={"ARROW_UP && C-p":"backward_line","ARROW_DOWN && C-n":"forward_line","ARROW_LEFT && C-b":"backward_char","ARROW_RIGHT && C-f":"forward_char",HOME:"beginning_of_indentation_or_line","END && C-e":"end_of_line","C-a":"beginning_of_line","C-HOME && M-<":"beginning_of_buffer","C-END && M->":"end_of_buffer","C-ARROW_RIGHT && M-f":"forward_word","C-ARROW_LEFT && M-b":"backward_word","C-ARROW_DOWN":"forward_paragraph","C-ARROW_UP":"backward_paragraph","C-l":"recenter_top_bottom","PAGE_UP && M-v":"scroll_up","PAGE_DOWN && C-v":"scroll_down","S-ARROW_UP && S-C-p":"backward_line_mark","S-ARROW_DOWN && S-C-n":"forward_line_mark","S-ARROW_LEFT && S-C-b":"backward_char_mark","S-ARROW_RIGHT && S-C-f":"forward_char_mark","S-C-ARROW_RIGHT && S-M-f":"forward_word_mark","S-C-ARROW_LEFT && S-M-b":"backward_word_mark","S-C-ARROW_DOWN":"forward_paragraph_mark","S-C-ARROW_UP":"backward_paragraph_mark","S-HOME":"beginning_of_indentation_or_line_mark","S-C-a":"beginning_of_line_mark","S-END":"end_of_line_mark","S-C-HOME":"beginning_of_buffer_mark","S-C-END":"end_of_buffer_mark",BACKSPACE:"backward_delete_char","DELETE && C-d":"delete_char","ENTER && C-m":"newline","M-d && C-DELETE":"kill_word","C-BACKSPACE && M-BACKSPACE && M-DELETE":"backward_kill_word","C-k":"kill_line","C-y && S-INSERT":"yank","M-y":"yank_pop","C-SPACE":"set_mark_command","C-x C-x":"exchange_point_and_mark","C-w":"kill_region","M-t":"transpose_words","C-t":"transpose_chars","C-x C-t":"transpose_lines","M-w":"copy_region_as_kill","M-c":"capitalize_word","M-u":"upcase_word","M-l":"downcase_word",F11:"nuke_trailing_whitespace",TAB:"indent_line","C-M-\\":"indent_region","M-q":"fill_paragraph","C-/ && C-x u && C-_ && C-z":"undo",INSERT:"overwrite_mode","M-s":"center_line","M-/":"dabbrev_expand","C-s":"isearch_forward","C-r":"isearch_backward","M-C-s":"isearch_forward_regexp","M-C-r":"isearch_backward_regexp","C-u":"universal_argument","M-g":"goto_line","C-x h":"mark_whole_buffer","C-g":"keyboard_quit","C-x r t":"string_rectangle","C-x r c":"clear_rectangle","C-x r k":"kill_rectangle","C-x r y":"yank_rectangle","C-x C-ARROW_RIGHT && C-x ARROW_RIGHT && C-TAB":"next_buffer","C-x C-ARROW_LEFT && C-x ARROW_LEFT && C-S-TAB":"previous_buffer","C-x b":"switch_to_buffer","C-x k":"kill_buffer","C-x 0":"delete_frame","C-x 1":"delete_other_frames","C-x 2":"split_frame_vertically","C-x 3":"split_frame_horizontally","C-x o":"other_frame","C-x l":"toggle_line_numbers","M-x":"execute_extended_command","C-S-y":"yank_from_operating_system","M-S-w":"copy_for_operating_system","C-S-w":"kill_for_operating_system","M-S-y":"yank_shift","C-c /":"close_last_xml_tag","S-BACKSPACE":"backward_delete_whitespace","S-DELETE":"delete_whitespace","C-M-d":"delete_region_or_line","M-ENTER":"start_next_paragraph","M-S-q":"fill_paragraph_no_prefix","C-M-|":"cperl_lineup","C-F4":"kill_buffer","M-ARROW_LEFT":["windmove","left"],"M-ARROW_RIGHT":["windmove","right"],"M-ARROW_UP":["windmove","up"],"M-ARROW_DOWN":["windmove","down"],"C-x =":function(){var a=this.charAt(),b=a;a==" "?b="<SPACE>":a=="\n"?b="<NEWLINE>":a=="-"&&(b="<DASH>"),this.signalInfo(c({ch:b.htmlEscape(),code:a.charCodeAt(0),codeHex:a.charCodeAt().hex(),point:this.point(),mark:this.markMarker.getPosition(),size:this.getCodeSize(),sizeKB:this.getCodeSize().formatBytes(2)}),true)}},b.defaultHandler=["self_insert_command"]}),DEFINE_SINGLETON("Ymacs_Keymap_UniversalArgument",Ymacs_Keymap,function(a,b){b.defaultHandler=[Ymacs_Interactive("^",function(){var a=this.interactiveEvent(),b=String.fromCharCode(a.charCode),c=this.getPrefixArg(true);if(a.charCode&&(/^[0-9]$/.test(b)||b==="-"&&c==="")&&!a.altKey&&!a.ctrlKey){c+=b,this.setPrefixArg(c),this.isMinibuffer||this.whenMinibuffer(function(a){a.cmd("insert"," ",b)});return true}this.popKeymap(Ymacs_Keymap_UniversalArgument());return false})],b.attached=function(a){a.setPrefixArg("")}}),DEFINE_SINGLETON("Ymacs_Keymap_ISearch",Ymacs_Keymap,function(a,b){a.KEYS={"C-g && ESCAPE":["isearch_abort",true],"C-w":"isearch_yank_word_or_char","C-s":"isearch_forward","C-r":"isearch_backward",BACKSPACE:function(){this.getMinibuffer().point()>this._isearchContext.mbMark.getPosition()&&(this.getMinibuffer().cmd("backward_delete_char"),this.cmd("goto_char",this._isearchContext.point),d.call(this,this._isearchContext.forward))},ENTER:"isearch_abort"},a.CONSTRUCT=function(){this.defaultHandler=["isearch_printing_char"]};function c(a){if(!this._isearchContext){this.pushKeymap(Ymacs_Keymap_ISearch()),this.cmd("set_mark_command",this.point()),this.setMinibuffer(a?"I-Search: ":"I-Search backward: "),this._isearchContext={forward:a,point:this.point(),mbMark:this.getMinibuffer().createMarker(null,true)};return true}}function d(a){this._isearchContext.forward=a,this._isearchContext.point=this.point();var b=f(this);!/\S/.test(b)&&this._isearchLastText&&(this.getMinibuffer()._placeUndoBoundary(),this.getMinibuffer().cmd("insert",this._isearchLastText),b=this._isearchLastText);return e.call(this,b)}function e(a){a==null&&(a=f(this));var b=this.cmd("bind_variables",{case_fold_search:a==a.toLowerCase()},this.cmd,this._isearchContext.forward?"search_forward":"search_backward",a);if(b){this.cmd("ensure_caret_visible");var c=this._positionToRowCol(this.point()+(this._isearchContext.forward?-1:1)*a.length);this.setOverlay("isearch",{line1:c.row,line2:this._rowcol.row,col1:c.col,col2:this._rowcol.col})}return b}function f(a){return a.cmd("isearch_get_search_text")}Ymacs_Buffer.newCommands({isearch_get_search_text:Ymacs_Interactive(function(){if(this._isearchContext)return this.getMinibuffer()._bufferSubstring(this._isearchContext.mbMark)}),isearch_forward:Ymacs_Interactive(function(){c.call(this,true)||(d.call(this,true)||this.signalError("No more forward occurrences of the search text"))}),isearch_forward_regexp:Ymacs_Interactive(function(){this.signalError("Not implemented, but should be easy. Volunteers?")}),isearch_backward_regexp:Ymacs_Interactive(function(){this.signalError("Not implemented, but should be easy. Volunteers?")}),isearch_backward:Ymacs_Interactive(function(){c.call(this,false)||(d.call(this,false)||this.signalError("No more backward occurrences of the search text"))}),isearch_yank_word_or_char:Ymacs_Interactive(function(){var a=this.point(),b=this.cmd("save_excursion",function(){this.cmd("forward_word");return this.point()});if(b!=a){var c=this._bufferSubstring(a,b);this.getMinibuffer()._placeUndoBoundary(),this.getMinibuffer().cmd("insert",c.toLowerCase()),c=f(this),this._isearchContext.forward&&this.cmd("goto_char",b-c.length),e.call(this,c)}}),isearch_printing_char:Ymacs_Interactive(function(){var a=this.interactiveEvent();if(a.charCode&&!a.ctrlKey&&!a.altKey){this.getMinibuffer().cmd("self_insert_command"),this.cmd("goto_char",this._isearchContext.point),e.call(this,f(this));return a.domStop=true}if(a.keyCode!=0||a.ctrlKey||a.altKey){this.cmd("isearch_abort");return false}}),isearch_abort:Ymacs_Interactive(function(a){a||(this._isearchLastText=f(this)),this.setMinibuffer(""),this.popKeymap(Ymacs_Keymap_ISearch()),this._isearchContext.mbMark.destroy(),this._isearchContext=null,a&&this.cmd("exchange_point_and_mark"),this.deleteOverlay("isearch"),this.deleteOverlay("isearch-lazy");return true})})}),Ymacs_Buffer.newMode("minibuffer_mode",function(){var a=this.createMarker(0,true),b=this.setq({minibuffer_end_marker:a}),c=Ymacs_Keymap_Minibuffer();this.pushKeymap(c);return function(){this.setq(b),a.destroy(),this.popKeymap(c)}}),function(){var a=false,b=null,c=null;function d(d,e){b&&b.destroy(),b=new DlVMenu({}),e.foreach(function(a){var c=a;typeof a!="string"&&(c=a.completion,a=a.label),new DlMenuItem({parent:b,label:a.htmlEscape(),data:c})});var f=Ymacs_Completion_Popup.get();f.popup({timeout:0,content:b,align:{prefer:"Tr",fallX1:"_r",fallX2:"_L",fallY1:"B_",fallY2:"T_"},anchor:d.getCaretElement(),widget:d,onHide:function(){a=false,b=c=null},isContext:true}),a=true}function e(a,b,c){this.whenMinibuffer(function(d){var e=d.setq({completion_list:a,minibuffer_validation:function(a){a==null&&(a=d.cmd("minibuffer_contents"));if(c)return c.call(this,d,a);return true}.$(this),minibuffer_continuation:function(a){d.setq(e),b&&b.call(this,a)}.$(this)})})}function f(a,b){var c=this.ymacs.ls_getFileDirectory(b),e=c.dir,f=c.other,g=c.path,h=f[0];if(f.length!=1)throw new Ymacs_Exception("Not found");if(typeof e[h]=="string")return[g.concat([h]).join("/")];var i=[];for(var j in e)j.indexOf(h)==0&&i.push(j);var k=i.common_prefix();if(k!=h)i.length==1&&typeof e[k]!="string"&&(k+="/"),a.cmd("minibuffer_replace_input",g.concat([k]).join("/"));else{if(i.length==1)throw new Ymacs_Exception("Single completion");if(i.length==0)throw new Ymacs_Exception("No completions");i=i.map(function(a){typeof e[a]!="string"&&(a+="/");return{label:a,completion:g.concat([a]).join("/")}}),d(this.getMinibufferFrame(),i)}return null}Ymacs_Buffer.newCommands({minibuffer_prompt:function(a,b){this.whenMinibuffer(function(c){var d=this.getMinibufferFrame();c.setCode(""),c.cmd("prevent_undo",function(){c.cmd("insert",a)}),c.getq("minibuffer_end_marker").setPosition(c.point()),d._redrawCaret(true),b||d.focus()})},minibuffer_read_number:function(a){e.call(this,null,a,function(a,b){var c=parseInt(b,10);isNaN(c)&&a.signalError("Please enter a number");return!isNaN(c)})},minibuffer_read_command:function(a){var b=Array.hashKeys(this.COMMANDS).grep(function(a){return this.COMMANDS[a].ymacsInteractive},this).sort();e.call(this,b,a,function(a,b){var c=this.COMMANDS[b],d=c&&c.ymacsInteractive;d||a.signalError("No such command: "+b);return d})},minibuffer_read_function:function(a){var b=Array.hashKeys(this.COMMANDS).sort();e.call(this,b,a,function(a,b){var c=this.COMMANDS[b],d=!!c;d||a.signalError("No such function: "+b);return d})},minibuffer_read_buffer:function(a){this.whenYmacs(function(b){var c=b.buffers.map("name");c.push(c.shift()),e.call(this,c,a),k.call(this)})},minibuffer_read_string:function(a,b){e.call(this,a,b)},minibuffer_read_variable:function(a){var b=this.globalVariables;Object.merge(b,this.variables);var c=Array.hashKeys(b).grep(function(a){return!/^\*/.test(a)}).sort();e.call(this,c,a)},minibuffer_read_existing_file:function(a){var b=this.ymacs.ls_getFileDirectory(this.name).path.join("/");b&&(b+="/"),this.cmd("minibuffer_replace_input",b),e.call(this,f,a,function(a,b){var c=this.ymacs.ls_getFileContents(b,true);c||a.signalError("No such file: "+b);return c})},minibuffer_read_file:function(a){var b=this.ymacs.ls_getFileDirectory(this.name).path.join("/");b&&(b+="/"),e.call(this,f,a)},minibuffer_read_file_or_directory:function(a){var b=this.ymacs.ls_getFileDirectory(this.name).path.join("/");b&&(b+="/"),e.call(this,f,a)},minibuffer_read_directory:function(a){var b=this.ymacs.ls_getFileDirectory(this.name).path.join("/");b&&(b+="/"),e.call(this,f,a)},minibuffer_prompt_end:function(){return this.whenMinibuffer(function(a){return a.getq("minibuffer_end_marker").getPosition()})},minibuffer_contents:function(){return this.whenMinibuffer(function(a){return a._bufferSubstring(a.getq("minibuffer_end_marker"))})},minibuffer_replace_input:function(a){this.whenMinibuffer(function(b){b._replaceText(b.getq("minibuffer_end_marker"),b.getCodeSize(),a),this.getMinibufferFrame()._redrawCaret(true)})},minibuffer_complete:function(){this.whenMinibuffer(function(a){var b=a.getq("completion_list"),c=a.cmd("minibuffer_contents"),e=c.replace(/([\[\]\(\)\{\}\.\*\+\?\|\\])/g,"\\$1").replace(/([_-])/g,"[^_-]*[_-]");e=new RegExp("^"+e,"i");if(b instanceof Function){b=b.call(this,a,c,e);if(!b)return}else b&&b.length>0&&(b=b.grep(function(a){return e.test(a)}));if(!b||b.length==0)a.signalError("No completions");else{var f=b.common_prefix();f!=c?a.cmd("minibuffer_replace_input",f):b.length==1?a.signalError("Sole completion"):d(this.getMinibufferFrame(),b)}})},minibuffer_complete_and_exit:function(){this.whenMinibuffer(function(a){a.getq("minibuffer_validation").call(a)&&a.cmd("minibuffer_keyboard_quit",this.getq("minibuffer_continuation"))})},minibuffer_keyboard_quit:function(a){this.whenMinibuffer(function(b){var c=this.cmd("minibuffer_contents");b.setCode(""),this.ymacs.getActiveFrame().focus(),function(b){a&&a.call(this,b),this.getPrefixArg()}.delayed(1,this,c)}),DlPopup.clearAllPopups()}});function g(a){var d=c,e;switch(a){case"next":c==null&&(c=-1),c=b.children().rotateIndex(++c);break;case"prev":c==null&&(c=0),c=b.children().rotateIndex(--c)}d!=null&&(e=b.children(d),e.callHooks("onMouseLeave")),d=c,e=b.children(c),e.callHooks("onMouseEnter")}function h(){if(a)return g.call(this,"next")}function i(){if(a)return g.call(this,"prev")}function j(){a?c!=null?(this.cmd("minibuffer_replace_input",b.children()[c].userData),DlPopup.clearAllPopups()):this.signalError("Select something..."):this.cmd("minibuffer_complete_and_exit")}function k(){a||this.cmd("minibuffer_complete"),h.call(this)}function l(){i.call(this)}function m(){a?DlPopup.clearAllPopups():this.cmd("minibuffer_keyboard_quit")}DEFINE_SINGLETON("Ymacs_Keymap_Minibuffer",Ymacs_Keymap,function(a,b){a.KEYS={"C-g":"minibuffer_keyboard_quit",TAB:k,"S-TAB":l,ARROW_DOWN:h,ARROW_UP:i,ENTER:j,ESCAPE:m},b.defaultHandler=[function(){DlPopup.clearAllPopups();return false}]})}(),DEFINE_CLASS("Ymacs_Completion_Popup",DlCompletionPopup),DEFINE_CLASS("Ymacs_Stream",null,function(a,b){a.DEFAULT_ARGS={buffer:["buffer",null],line:["line",0],col:["col",0]},b.nextCol=function(){++this.col},b.prevCol=function(){--this.col},b.nextLine=function(){++this.line,this.col=0},b.prevLine=function(){--this.line,this.col=0},b.peek=function(a){a==null&&(a=0);return this.buffer.code[this.line].charAt(this.col+a)},b.get=function(){var a=this.peek();this.nextCol();return a},b.lineText=function(a){a==null&&(a=this.line);return this.buffer.code[a]},b.lineIndentation=function(a){return/^\s*/.exec(this.lineText(a))[0].length},b.lookingAt=function(a){var b=this.buffer.code[this.line];return a instanceof RegExp?a.exec(b.substr(this.col)):b.substr(this.col,a.length)==a},b.textBefore=function(a){a==null&&(a=this.buffer._rowColToPosition(this.line,this.col));return this.buffer.getCode().substr(0,a)},b.textAfter=function(a){a==null&&(a=this.buffer._rowColToPosition(this.line,this.col));return this.buffer.getCode().substr(a)},b.substring=function(a,b){return this.buffer.getCode().substring(a,b)},b.substr=function(a,b){return this.buffer.getCode().substr(a,b)},b.eol=function(){return this.col==this.buffer.code[this.line].length},b.eof=function(){var a=this.buffer.code.length,b=this.line;return b>=a||b==a-1&&this.eol()},b.length=function(){return this.buffer.code.length},b.lineLength=function(a){a==null&&(a=this.line);return this.buffer.code[a].length},b.save=function(){return{buffer:this.buffer,line:this.line,col:this.col}},b.restore=function(a){this.buffer=a.buffer,this.line=a.line,this.col=a.col},b.checkStop=function(){if(this.eof())throw this.EOF;if(this.eol())throw this.EOL},b.EOL=new function(){},b.EOF=new function(){}}),DEFINE_CLASS("Ymacs_Tokenizer",DlEventProxy,function(a,b){var c={};a.define=function(a,b){c[a.toLowerCase()]=b},a.DEFAULT_EVENTS=["onFoundToken"],a.DEFAULT_ARGS={buffer:["buffer",null],type:["type",null]},a.FIXARGS=function(a){typeof a.type=="string"&&(a.type=c[a.type.toLowerCase()])},a.CONSTRUCT=function(){var a=null,b=null;this.quickUpdate=function(c){var d=this.buffer._positionToRowCol(c).row;this.parsers.splice(d-1,this.parsers.length+1),a!=null?a=Math.min(d,a):a=d,clearTimeout(b),b=function(){this._do_quickUpdate(a),a=null}.delayed(1,this)},this._stopQuickUpdate=function(){clearTimeout(b),clearTimeout(this.timerUpdate)},this.reset()},b.reset=function(){this.stream=new Ymacs_Stream({buffer:this.buffer}),this.theParser=this.type(this.stream,this),this.parsers=[],this.parsers[-1]=this.theParser.copy(),this.timerUpdate=null,this.quickUpdate(0)},b.getLanguage=function(a){return c[a](this.stream,this)},b.showProgress=function(a){a!=null&&(a=Math.round(a/this.stream.length()*100)+"%"),this.buffer.updateProgress("Syntax highlighting",a)},b._do_quickUpdate=function(a){this._stopQuickUpdate();var b=this.stream,c,d=this.parsers,e;b.line=a-1;while(!(c=d[b.line]))b.prevLine();b.nextLine(),c=c();var f=0,g=true,h=function(){this.buffer.preventUpdates(),e=g?3:20,++f>10&&this.showProgress(this.stream.line);while(true)try{while(true)c.next()}catch(a){if(a===b.EOL){d[b.line]=c.copy(),b.nextLine();if(--e==0){this.buffer.resumeUpdates(),this.timerUpdate=setTimeout(h,g?500:50),g=false;return}}else{if(a===b.EOF){d[b.line]=c.copy(),this.buffer.resumeUpdates(),c.on_EOF&&c.on_EOF();break}throw a}}this.showProgress()}.$(this);h()},b.quickInsertLine=function(a){this.parsers.splice(a,this.parsers.length+1)},b.quickDeleteLine=function(a){this.parsers.splice(a,this.parsers.length+1)},b.onToken=function(a,b,c,d){this.callHooks("onFoundToken",a,b,c,d)},b.getParserForLine=function(a){this._stopQuickUpdate();var b=this.stream,c,d=this.parsers,e,f=b.line;b.line=a-1;while(!(c=d[b.line]))b.prevLine();b.nextLine(),c=c();try{this.buffer.preventUpdates();while(true){if(b.line==a)return c;try{while(true)c.next()}catch(a){if(a===b.EOL)d[b.line]=c.copy(),b.nextLine();else{if(a===b.EOF)break;throw a}}}}finally{this.buffer.resumeUpdates(),b.line<b.length()&&(this.timerUpdate=this._do_quickUpdate.delayed(50,this,b.line))}},b.reparseAll=function(){this.parsers.splice(0,this.parsers.length);return this.finishParsing()},b.finishParsing=function(){this.getParserForLine(this.stream.length());return this.getLastParser()},b.getLastParser=function(){return this.parsers.peek()},b.getIndentation=function(a,b){var c=this.getParserForLine(a);if(c&&c.indentation instanceof Function)return c.indentation(b)}}),DEFINE_SINGLETON("Ymacs_Keymap_ParenMatch",Ymacs_Keymap,function(a,b){a.KEYS={"C-c \\":"goto_matching_paren","C-M-q":"indent_sexp","C-M-f && C-M-n":"forward_sexp","C-M-b && C-M-p":"backward_sexp","C-M-u && M-a":"backward_up_list","M-e && C-M-ARROW_UP":"up_list","C-M-ARROW_DOWN":"down_list","M-C-k":"kill_sexp","M-C-SPACE":"mark_sexp","M-C-t":"transpose_sexps","M-(":["paredit_wrap_round","("],"M-[":["paredit_wrap_round","["],"M-{":["paredit_wrap_round","{"],"M-\"":["paredit_wrap_round","\"",true],"M-'":["paredit_wrap_round","'",true]};function c(a,b){return a.line<b.line?-1:a.line>b.line?1:a.col-b.col}var d={"(":")","[":"]","{":"}","\"":{close:"\"",backslash:/[\x22\\]/g},"'":{close:"'",backslash:/[\x27\\]/g}};function e(a){throw new Ymacs_Exception("Balanced expression not found")}function f(a){var b=a.context.passedParens;return b instanceof Function?b():b}Ymacs_Buffer.newCommands({matching_paren:function(){var a=this.tokenizer.getLastParser(),b=this._rowcol;if(a){var c=f(a);return c.foreach(function(a){var c=a.closed;a.line==b.row&&a.col==b.col?$RETURN(this._rowColToPosition(c.line,c.col+1)):c.line==b.row&&c.col==b.col-1&&$RETURN(this._rowColToPosition(a.line,a.col))},this)}},indent_sexp:Ymacs_Interactive(function(){var a=this.cmd("matching_paren");a!=null?this.cmd("indent_region",this.point(),a):e(this)}),goto_matching_paren:Ymacs_Interactive(function(){var a=this.cmd("matching_paren");if(a!=null){this.cmd("goto_char",a);return true}}),forward_sexp:Ymacs_Interactive(function(){var a=this._rowcol,b=this.tokenizer.finishParsing();if(b){var d=f(b).mergeSort(c),g=d.foreach(function(b){(b.line>a.row||b.line==a.row&&b.col>=a.col)&&$RETURN(b)});if(!g||!g.closed){e(this);return}var h=this._rowColToPosition(g.line,g.col);this._rowcol.row==g.line&&this._rowcol.col==g.col||!/\S/.test(this._bufferSubstring(null,h))?this.cmd("goto_char",this._rowColToPosition(g.closed.line,g.closed.col)+1):this.cmd("goto_char",h);return true}}),backward_sexp:Ymacs_Interactive(function(){var a=this._rowcol,b=this.tokenizer.finishParsing();if(b){var d=f(b).grep("closed").map("closed").mergeSort(c),g=d.r_foreach(function(b){(b.line<a.row||b.line==a.row&&b.col<a.col)&&$RETURN(b)});if(!g){e(this);return}this.cmd("goto_char",this._rowColToPosition(g.opened.line,g.opened.col));return true}}),mark_sexp:Ymacs_Interactive("^r",function(a,b){this.cmd("save_excursion",function(){this.transientMarker&&this.cmd("goto_char",b),this.ensureTransientMark(),this.cmd("forward_sexp"),this.cmd("set_mark_command",this.point()),this.transientMarker.swap(this.caretMarker)}),this.ensureTransientMark()}),kill_sexp:Ymacs_Interactive(function(){this._killingAction(this.point(),this.cmd("save_excursion",function(){this.cmd("forward_sexp");return this.point()}))}),transpose_sexps:Ymacs_Interactive(function(){var a=[];this.cmd("forward_sexp"),a.push(this.point()),this.cmd("backward_sexp"),a.push(this.point()),this.cmd("backward_sexp"),a.push(this.point()),this.cmd("forward_sexp"),a.push(this.point()),this.cmd("goto_char",this._swapAreas(a))}),paredit_wrap_round:Ymacs_Interactive("^",function(a,b){a||(a="(");var c=d[a],e=this.transientMarker?this.getRegion():this.cmd("save_excursion",function(){var a=this.point();b||this.cmd("forward_sexp");return{begin:a,end:this.point()}}),f=this._bufferSubstring(e.begin,e.end),g=this.point()<e.end;typeof c!="string"&&(f=f.replace(c.backslash,function(a){return"\\"+a}),c=c.close);var h=this.createMarker(e.end);this.cmd("save_excursion",function(){this._replaceText(e.begin,e.end,a+f+c)},g),this.cmd("forward_char",g?1:-1),this.clearTransientMark(),this.cmd("indent_region",e.begin,h.getPosition()),h.destroy()}),down_list:Ymacs_Interactive(function(){var a=this._rowcol,b=this.tokenizer.finishParsing();if(b){var d={line:a.row,col:a.col};b=f(b).grep("closed").mergeSort(c).grep_first(function(a){return c(a,d)>=0}),b!=null?this.cmd("goto_char",this._rowColToPosition(b.line,b.col)+1):e(this)}}),backward_up_list:Ymacs_Interactive(function(){var a=this._rowcol,b=this.tokenizer.finishParsing();if(b){var d={line:a.row,col:a.col};b=f(b).grep("closed").mergeSort(c).grep_last(function(a){return c(a,d)<0&&c(a.closed,d)>=0}),b!=null?this.cmd("goto_char",this._rowColToPosition(b.line,b.col)):e(this)}}),up_list:Ymacs_Interactive(function(){this.cmd("backward_up_list"),this.cmd("forward_sexp")})}),Ymacs_Buffer.newMode("paren_match_mode",function(){var a=Ymacs_Keymap_ParenMatch();this.pushKeymap(a);var b=false,c=function(){b&&this.deleteOverlay("match-paren")}.clearingTimeout(500,this),d={beforeInteractiveCommand:function(){c.doItNow()},afterInteractiveCommand:function(){var a=this.tokenizer.getLastParser(),d=this._rowcol;a&&f(a).foreach(function(a){var e=a.closed;if(a.line==d.row&&a.col==d.col||e.line==d.row&&e.col==d.col-1)b=true,this.setOverlay("match-paren",{line1:a.line,line2:e.line,col1:a.col,col2:e.col+1}),c()},this)}.clearingTimeout(100)};this.addEventListener(d);return function(){c.doItNow(),this.popKeymap(a),this.removeEventListener(d)}})}),function(){Ymacs_Buffer.newCommands({lisp_open_paren:Ymacs_Interactive(function(a){a==null&&(a="("),a+=i(a),this.cmd("insert",a),this.cmd("backward_char")}),lisp_close_paren:Ymacs_Interactive(function(a){var b=new RegExp("\\s*\\"+a,"ig");this.cmd("looking_at",b)&&this._deleteText(this.point(),this.matchData.after),this.cmd("insert",a)}),lisp_close_all_parens:Ymacs_Interactive(function(){var a=this.tokenizer.getParserForLine(this._rowcol.row);if(a){var b=this.tokenizer.stream;b.line=this._rowcol.row,b.col=0;try{while(b.col<this._rowcol.col)a.next()}catch(a){}a=a.copy().context.parens,a.r_foreach(function(a){this.cmd("lisp_close_paren",i(a.type))},this)}})});var a="\ndeftype defstruct defclass \ndefmacro defun defmethod defgeneric defpackage in-package defreadtable in-readtable \nwhen cond unless etypecase typecase ctypecase \nlambda let load-time-value quote macrolet \nprogn prog1 prog2 progv go flet the \nif throw eval-when multiple-value-prog1 unwind-protect let* \nignore-errors handler-case case \nlabels function symbol-macrolet block tagbody catch locally \nreturn return-from setq multiple-value-call".qw().toHash(),b="loop do while".qw().toHash(),c="t nil".qw().toHash(),d={"(":")","{":"}","[":"]"},e={")":"(","}":"{","]":"["},f="defun defgeneric defmethod".qw().toHash(),g="deftype defclass defstruct".qw().toHash(),h={"if":"3+",when:"1*",lambda:"1*",unless:"1*",defun:"2*",defgeneric:"2*",defmethod:"2*",defclass:"2*",defmacro:"2*",progn:"0*",prog1:"0*",prog2:"0*",let:"1*"};function i(a){return d[a]}function j(a){return e[a]}function k(a){return a.toLowerCase()!=a.toUpperCase()||/^[-0-9!#$%&*+./:<=>?@\[\]\^_\{\}~]$/i.test(a)}function l(a){return a!="#"&&k(a)}Ymacs_Tokenizer.define("lisp",function(d,e){var m=[],n=false,o=false,p=null,q=[],r=[],s=[],t=[],u={next:D,copy:v,indentation:E};function v(){var a=b.context={cont:m.slice(0),quote:p,inString:n,inComment:o,parens:q.slice(0),passedParens:r.slice(0),backList:s.slice(0),list:t.slice(0)};function b(){m=a.cont.slice(0),n=a.inString,p=a.quote,o=a.inComment,q=a.parens.slice(0),r=a.passedParens.slice(0),s=a.backList.slice(0),t=a.list.slice(0);return u}return b}function w(a,b,c){e.onToken(d.line,a,b,c)}function x(a){a==null&&(a={c1:d.col}),t.push(a)}function y(){return d.buffer.getq("indent_level")}function z(){var a=d.col,b=d.get(),c=b;while(!d.eol()){b=d.peek();if(!k(b))break;c+=b,d.nextCol()}return b&&{line:d.line,c1:a,c2:d.col,id:c.toLowerCase()}}function A(a,b){var c,e=false,f=d.col;while(!d.eol()){if((c=d.peek())===a&&!e){m.pop(),n=null,w(f,d.col,b),w(d.col,++d.col,b+"-stopper");return true}e=!e&&c==="\\",d.nextCol()}w(f,d.col,b)}function B(){var a=d.lineText(),b=a.indexOf("|#",d.col),c=/^\s*\|+/.exec(a.substr(d.col));c&&w(d.col,d.col+=c[0].length,"mcomment-starter"),b>=0?(m.pop(),o=null,w(d.col,b,"mcomment"),w(b,b+=2,"mcomment-stopper"),d.col=b):(w(d.col,a.length,"mcomment"),d.col=a.length)}function C(a){var b=t&&t.length>0&&t[0].id;if(b){b=b.toLowerCase();if(a==null)return b;return typeof a=="string"?b==a:b in a}}function D(){d.checkStop();if(m.length>0)return m.peek()();var e=d.peek(),h;if(h=d.lookingAt(/^#\\(Space|Newline|.?)/i))x(),w(d.col,d.col+=h[0].length,"constant");else if(d.lookingAt(/^#\x27[^(]/))x(),d.col+=2,h=z(),w(h.c1,h.c2,"function-name");else if(d.lookingAt("#|"))o={line:d.line,c1:d.col},w(d.col,d.col+=2,"mcomment-starter"),m.push(B);else if(h=d.lookingAt(/^;+/))w(d.col,d.col+=h[0].length,"comment-starter"),w(d.col,d.col=d.lineLength(),"comment");else if(e==="\"")x(),n={line:d.line,c1:d.col},w(d.col,++d.col,"string-starter"),m.push(A.$C(e,"string"));else if(h=d.lookingAt(/^[+-]?(#x[0-9a-f]+|#o[0-7]+|#b[01]+|[0-9]*\.?[0-9]+e?[0-9]*)(\x2f(#x[0-9a-f]+|#o[0-7]+|#b[01]+|[0-9]*\.?[0-9]+e?[0-9]*))?/))x(),w(d.col,d.col+=h[0].length,"number");else if(h=i(e))x(),s.push(t),t=[],q.push({line:d.line,col:d.col,type:e}),w(d.col,++d.col,"open-paren");else if(h=j(e)){var k=q.pop();!k||k.type!=h?w(d.col,++d.col,"error"):(k.closed={line:d.line,col:d.col,opened:k},r.push(k),t=s.pop(),w(d.col,++d.col,"close-paren"))}else if(l(e)&&(h=z())){var p=e==":"?"lisp-keyword":h.id in a?"keyword":h.id in b?"builtin":h.id in c?"constant":null;p||(C(f)&&t.length==1?p="function-name":C(g)&&t.length==1?p="type":/^with-/i.test(h.id)&&(p="builtin")),x(h),w(h.c1,h.c2,p)}else w(d.col,++d.col,null)}function E(){if(n)return 0;var a=d.lineText(),b=0,c=q.peek();if(c){var e=d.lineText(c.line);b=c.col+1;var f;if(l(e.charAt(b))){b=c.col+y();var g=/\s\S/g;g.lastIndex=c.col,(f=g.exec(e))&&(f=f.index+1)}if(t&&t.length){var i=C();if(i){i=i.replace(/\*$/,"");var j=h[i];!j&&/^with/.test(i)&&(j="1*"),j||(j="1+");if(j){var k=parseInt(j,10),m=/\+$/.test(j),o=/\*$/.test(j);if(t.length-1<k||m)f?b=f:b+=y()}}}}return b}return u})}(),DEFINE_SINGLETON("Ymacs_Keymap_LispMode",Ymacs_Keymap,function(a,b){a.KEYS={ENTER:"newline_and_indent","(":["lisp_open_paren","("],")":["lisp_close_paren",")"],"C-c ] && C-c C-]":"lisp_close_all_parens"}}),Ymacs_Buffer.newMode("lisp_mode",function(){var a=this.tokenizer;this.setTokenizer(new Ymacs_Tokenizer({buffer:this,type:"lisp"}));var b=this.setq({indent_level:2}),c=Ymacs_Keymap_LispMode();this.pushKeymap(c);var d=this.cmd("paren_match_mode",true);return function(){this.setTokenizer(a),this.setq(b),this.popKeymap(c),d||this.cmd("paren_match_mode",false)}}),function(){var a="abstract break case catch class const \ncontinue debugger default delete do else \nenum export extends final finally for \nfunction goto if implements import in \ninstanceof interface native new package \nprivate protected public return static \nsuper switch synchronized throw \nthrows transient try typeof var void let \nyield volatile while with".qw(),b="boolean byte char double float int long short void \nArray Date Function Math Number Object RegExp String".qw(),c="false null undefined Infinity NaN true arguments this".qw(),d="Infinity NaN \nPackages decodeURI decodeURIComponent \nencodeURI encodeURIComponent eval isFinite isNaN parseFloat \nparseInt undefined window document alert prototype constructor".qw(),e=/[\[({,;+\-*=?&|!:][\x20\t\n\xa0]*$|return\s+$|typeof\s+$/;function f(a){return a.toLowerCase()!=a.toUpperCase()}function g(a){return a&&(f(a)||/^[_$]$/.test(a))}function h(a){return a&&(f(a)||/^[0-9_$]$/.test(a))}var i={"(":")","{":"}","[":"]"},j={")":"(","}":"{","]":"["};function k(a){return i[a]}function l(a){return j[a]}function m(a,b,c,d,f,j){var m=[],n=[],o=[],p=null,q=null,r={next:z,copy:t,indentation:A};function s(){return f.buffer.getq("indent_level")}function t(){var a=b.context={cont:m.slice(0),inComment:p,inString:q,parens:n.slice(0),passedParens:o.slice(0)};function b(){m=a.cont.slice(0),p=a.inComment,q=a.inString,n=a.parens.slice(0),o=a.passedParens.slice(0);return r}return b}function u(a,b,c){j.onToken(f.line,a,b,c)}function v(){var a=f.col,b=f.get(),c=b;while(!f.eol()){b=f.peek();if(!h(b))break;c+=b,f.nextCol()}return b&&{line:f.line,c1:a,c2:f.col,id:c}}function w(){var a=f.lineText(),b=a.indexOf("*/",f.col),c=/^\s*\*+/.exec(a.substr(f.col));c&&u(f.col,f.col+=c[0].length,"mcomment-starter"),b>=0?(m.pop(),p=null,u(f.col,b,"mcomment"),u(b,b+=2,"mcomment-stopper"),f.col=b):(u(f.col,a.length,"mcomment"),f.col=a.length)}function x(a,b){var c,d=false,e=f.col;while(!f.eol()){if((c=f.peek())===a&&!d){m.pop(),q=null,u(e,f.col,b),u(f.col,++f.col,b+"-stopper");return true}d=!d&&c==="\\",f.nextCol()}u(e,f.col,b)}function y(){var a,b=false,c=0,d=f.col;while(!f.eol()){a=f.peek(),k(a)&&!b&&!c&&c++,l(a)&&!b&&(c--,c<0&&(c=0));if(a==="/"&&!b&&!c){m.pop(),q=null,u(d,f.col,"regexp"),u(f.col,++f.col,"regexp-stopper");var e=f.lookingAt(/^[gmsiy]+/);e&&u(f.col,f.col+=e[0].length,"regexp-modifier");return true}b=!b&&a==="\\",f.nextCol()}u(d,f.col,"regexp")}function z(){f.checkStop();if(m.length>0)return m.peek()();var h=f.peek(),i,j;if(f.lookingAt("/*"))p={line:f.line,c1:f.col},u(f.col,f.col+=2,"mcomment-starter"),m.push(w);else if(f.lookingAt("//"))u(f.col,f.col+=2,"comment-starter"),u(f.col,f.col=f.lineLength(),"comment");else if(h==="\""||h==="'")q={line:f.line,c1:f.col},u(f.col,++f.col,"string-starter"),m.push(x.$C(h,"string"));else if(i=f.lookingAt(/^0x[0-9a-f]+|^[0-9]*\.?[0-9]+/))u(f.col,f.col+=i[0].length,"number");else if(g(h)&&(j=v())){var r=j.id in a?"keyword":j.id in b?"type":j.id in c?"constant":j.id in d?"builtin":null;u(j.c1,j.c2,r)}else if(j=k(h))n.push({line:f.line,col:f.col,type:h}),u(f.col,++f.col,"open-paren");else if(j=l(h)){var s=n.pop();!s||s.type!=j?u(f.col,++f.col,"error"):(s.closed={line:f.line,col:f.col,opened:s},o.push(s),u(f.col,++f.col,"close-paren"))}else h==="/"&&e.test(f.textBefore())?(u(f.col,++f.col,"regexp-starter"),m.push(y)):(i=f.lookingAt(/^\s+$/))?u(f.col,f.col+=i[0].length,"trailing-whitespace"):u(f.col,++f.col,null)}function A(){if(q)return 0;var a=f.line,b=f.lineText(),c=0;if(p){var d=f.lineText(p.line);c=p.c1+1;if(!/^\s*\*/.test(b)){var e=/[^\s*]/g;e.lastIndex=p.c1+1;var g=e.exec(d);g&&(c=g.index)}return c}var h=n.peek();if(h){var e=new RegExp("^\\s*\\"+i[h.type]),j=e.test(b),k=f.lineText(h.line);e=/\S/g,e.lastIndex=h.col+1;var g=e.exec(k);g?c=j?h.col:g.index:(c=f.lineIndentation(h.line)+s(),j&&(c-=s()))}if(a>0){var l=f.textBefore();if(/\)\s*$/.test(l)&&o.length>0){h=o.peek();var m=f.lineText(h.line);/^\s*(if|for|while)\W/.test(m)&&(c+=s())}else/\Welse\s*$/.test(l)&&(c+=s())}/^\s*(case|default)\W/.test(b)&&(c-=s()/2);return c}return r}Ymacs_Tokenizer.define("js",m.$C(a.toHash(true),b.toHash(true),c.toHash(true),d.toHash(true)));var n=d.concat("\nDEFINE_CLASS DEFINE_SINGLETON DEFINE_HIDDEN_CLASS \nDEFAULT_ARGS DEFAULT_EVENTS \nFIXARGS CONSTRUCT BEFORE_BASE FINISH_OBJECT_DEF \nD P $".qw());Ymacs_Tokenizer.define("js-dynarchlib",m.$C(a.toHash(true),b.toHash(true),c.toHash(true),n.toHash(true)))}(),DEFINE_SINGLETON("Ymacs_Keymap_CLanguages",Ymacs_Keymap,function(a,b){a.KEYS={ENTER:"newline_and_indent","} && ) && ] && : && ; && { && ( && [ && *":"c_insert_and_indent"}}),Ymacs_Buffer.newMode("javascript_mode",function(a){var b=this.tokenizer,c=Ymacs_Keymap_CLanguages();this.setTokenizer(new Ymacs_Tokenizer({buffer:this,type:a?"js-dynarchlib":"js"})),this.pushKeymap(c);var d=this.cmd("paren_match_mode",true);return function(){this.setTokenizer(b),this.popKeymap(c),d||this.cmd("paren_match_mode",false)}}),Ymacs_Buffer.newCommands({javascript_dl_mode:Ymacs_Interactive(function(){return this.cmd("javascript_mode",true)}),c_electric_block:Ymacs_Interactive(function(){this.cmd("indent_line"),this.cmd("insert","{\n\n}"),this.cmd("indent_line"),this.cmd("backward_line",1),this.cmd("indent_line")}),c_insert_and_indent:Ymacs_Interactive(function(){var a;if(a=this.cmd("self_insert_command")){this.cmd("indent_line");return a}})}),Ymacs_Tokenizer.define("xml",function(a,b){var c=[],d=[],e=null,f=null,g={next:s,copy:h,indentation:t};function h(){var a=c.slice(0),b=d.slice(0),h=e,i=f;function j(){d=b.slice(0),c=a.slice(0),e=h,f=i;return g}return j}function i(){return a.buffer.getq("indent_level")}function j(c,d,e){b.onToken(a.line,c,d,e)}function k(a){return a.toLowerCase()!=a.toUpperCase()}function l(a){return a&&(k(a)||/^[:_-]$/.test(a))}function m(a){return a&&(k(a)||/^[0-9_-]$/.test(a))}function n(){var b=a.col,c=a.get(),d=c;while(!a.eol()){c=a.peek();if(!m(c))break;d+=c,a.nextCol()}return c&&{line:a.line,c1:b,c2:a.col,id:d}}function o(b){var c,e=false,f=a.col;while(!a.eol()){if((c=a.peek())===b&&!e){d.pop(),j(f,a.col,"string"),j(a.col,++a.col,"string-stopper");return}e=!e&&c==="\\",a.nextCol()}j(f,a.col,"string")}function p(){var b=a.peek(),f;a.lookingAt(/^\x2f>/)?(d.pop(),e=null,j(a.col,++a.col,"xml-closetag-slash"),j(a.col,++a.col,"xml-close-bracket")):b===">"?(d.pop(),c.push(e),e=null,j(a.col,++a.col,"xml-close-bracket")):l(b)&&(f=n())?j(f.c1,f.c2,"xml-attribute"):b==="\""||b==="'"?(j(a.col,++a.col,"string-starter"),d.push(o.$C(b))):j(a.col,++a.col,null)}function q(b,c){var e=a.lineText(),g=e.indexOf(c,a.col);g>=0?(d.pop(),j(a.col,g,b),f=null,j(g,g+=c.length,b+"-stopper"),a.col=g):(j(a.col,e.length,b),a.col=e.length)}function r(){var b=a.lookingAt(/^([\s\xA0]*)(>?)/);b&&b[0]?(b[1]&&j(a.col,a.col+=b[1].length,null),b[2]&&(j(a.col,a.col+=b[2].length,"xml-close-bracket"),d.pop())):j(a.col,++a.col,"error")}function s(){a.checkStop();if(d.length>0)return d.peek()();var b=a.peek(),g;if(a.lookingAt("<![CDATA["))j(a.col,a.col+=9,"xml-cdata-starter"),f={line:a.line,c1:a.col},d.push(q.$C("xml-cdata","]]>"));else if(a.lookingAt("<!--"))j(a.col,a.col+=4,"mcomment-starter"),f={line:a.line,c1:a.col},d.push(q.$C("mcomment","-->"));else if(a.lookingAt(/^<\x2f/)&&l(a.peek(+2))){j(a.col,++a.col,"xml-open-bracket"),j(a.col,++a.col,"xml-closetag-slash");var h=n(),i=c.pop();j(h.c1,h.c2,i&&i.id==h.id?"xml-close-tag":"error"),d.push(r)}else if(b==="<"&&l(a.peek(+1))){j(a.col,++a.col,"xml-open-bracket");var h=n();j(h.c1,h.c2,"xml-open-tag"),e=h,d.push(p)}else(g=a.lookingAt(/^&.*?;/))?(j(a.col,++a.col,"xml-entity-starter"),j(a.col,a.col+=g[0].length-2,"xml-entity"),j(a.col,++a.col,"xml-entity-stopper")):b==="&"?j(a.col,++a.col,"error"):j(a.col,++a.col,null)}function t(){var b,d;if(f)b=a.lineIndentation(f.line)+i();else if(e)b=e.c1+e.id.length+1;else if(d=c.peek())b=a.lineIndentation(d.line)+i(),/^\s*<\x2f/.test(a.lineText())&&(b-=i());return b}return g}),DEFINE_SINGLETON("Ymacs_Keymap_XML",Ymacs_Keymap,function(a,b){a.KEYS={"C-c /":"xml_close_tag","C-ENTER":"xml_zen_expand",ENTER:"newline_and_indent"}}),Ymacs_Buffer.newMode("xml_mode",function(){var a=this.tokenizer;this.setTokenizer(new Ymacs_Tokenizer({buffer:this,type:"xml"}));var b=Ymacs_Keymap_XML();this.pushKeymap(b);var c=this.setq({indent_level:2});return function(){this.setTokenizer(a),this.popKeymap(b),this.setq(c)}}),function(){DEFINE_SINGLETON("Ymacs_Keymap_XML_Zen",Ymacs_Keymap,function(a,b){a.KEYS={TAB:"xml_zen_next_poi","S-TAB":"xml_zen_prev_poi","C-g":"xml_zen_stop"}});var a=1,b=2,c=3,d=4,e=5;function f(a,b){for(var c=a.repeat||1,d=1;d<=c;++d)d>1&&b("\n"),b("<",a.type),a.id&&b(" id=\"",a.id.replace(/\$/g,d),"\""),a.klass&&b(" class=\"",a.klass.replace(/\$/g,d),"\""),a.attributes&&a.attributes.foreach(function(a){b(" ",a,"=\"|\"")}),b(">"),a.child?(b("\n"),f(a.child,b),b("\n")):b("|"),b("</",a.type,">"),a.next&&(b("\n"),f(a.next,b))}function g(f,h){var i={type:""},j=a;OUTER:while(h<f.length){var k=f.charAt(h++);switch(k){case"#":j=c,i.id="";break;case".":j=b,i.klass!=null?i.klass+=" ":i.klass="";break;case":":j=e,i.attributes==null&&(i.attributes=[]),i.attributes.push("");break;case"*":j=d,i.repeat="";break;case">":i.child=g(f,h),h=i.child.i;break OUTER;case"(":i.child=g(f,h),h=i.child.i;break;case")":break OUTER;case"+":i.next=g(f,h),h=i.next.i;break OUTER;default:switch(j){case a:i.type+=k;break;case b:i.klass+=k;break;case c:i.id+=k;break;case d:i.repeat=parseInt(String(i.repeat)+k,10);break;case e:i.attributes.push(i.attributes.pop()+k)}}}i.i=h;return i}function h(){var a=this.point(),b=this.getq("xml_zen_markers"),c=b[0],d=b.peek();(a<c.getPosition()||a>d.getPosition()||d.getPosition()==b.peek(1).getPosition())&&this.cmd("xml_zen_stop")}Ymacs_Buffer.newCommands({xml_close_tag:Ymacs_Interactive(function(){this.cmd("close_last_xml_tag"),this.cmd("indent_line")}),xml_zen_expand:Ymacs_Interactive(function(){this.cmd("xml_zen_stop");var a=String.buffer(),b=this.cmd("save_excursion",function(){this.cmd("backward_whitespace");while(!this.cmd("looking_back",/[\x20\xa0\s\t\n;&]/))if(!this.cmd("backward_char"))break;return this.point()}),c=this.point();try{f(g(this.cmd("buffer_substring",b,c).trim(),0),a)}catch(a){throw new Ymacs_Exception("The Zen is not strong today :-/")}a=a.get(),this.cmd("delete_region",b,c),this.cmd("insert",a),b=this.createMarker(b,false,"xml_zen");var d=this.createMarker(this.point(),true,"xml_zen"),e=[];this.cmd("goto_char",b.getPosition());while(this.cmd("search_forward","|",d.getPosition()))this.cmd("backward_delete_char"),e.push(this.createMarker(this.point(),true,"xml_zen_start")),e.push(this.createMarker(this.point(),false,"xml_zen_end"));this.cmd("indent_region",b.getPosition(),d.getPosition());var i=e.length;i>0?(this.cmd("goto_char",e[0]),e.unshift(b),e.push(d),this.setq("xml_zen_markers",e),this.pushKeymap(Ymacs_Keymap_XML_Zen()),this.addEventListener("afterInteractiveCommand",h)):(b.destroy(),d.destroy())}),xml_zen_stop:Ymacs_Interactive(function(){var a=this.getq("xml_zen_markers");a&&(a.map("destroy"),this.setq("xml_zen_markers",null)),this.popKeymap(Ymacs_Keymap_XML_Zen()),this.removeEventListener("afterInteractiveCommand",h)}),xml_zen_next_poi:Ymacs_Interactive(function(){var a=this.getq("xml_zen_markers"),b=this.point();a.foreach(function(a){a.getPosition()>b&&(this.cmd("goto_char",a.getPosition()),$BREAK())},this)}),xml_zen_prev_poi:Ymacs_Interactive(function(){var a=this.getq("xml_zen_markers"),b=this.point();a.r_foreach(function(a){a.getPosition()<b&&(this.cmd("goto_char",a.getPosition()),$BREAK())},this)})})}(),Ymacs_Tokenizer.define("css",function(a,b){var c={next:r,copy:i,indentation:s},d=[],e=[],f=[],g=null,h=null;function i(){var a=b.context={parens:d.slice(0),passedParens:e.slice(0),cont:f.slice(0),inString:g,inComment:h};function b(){d=a.parens.slice(0),e=a.passedParens.slice(0),f=a.cont.slice(0),g=a.inString,h=a.inComment;return c}return b}function j(){return b.buffer.getq("indent_level")}var k={"(":")","{":"}","[":"]"},l={")":"(","}":"{","]":"["};function m(a){return k[a]}function n(a){return l[a]}function o(c,d,e){b.onToken(a.line,c,d,e)}function p(){var b=a.lineText(),c=b.indexOf("*/",a.col),d=/^\s*\*+/.exec(b.substr(a.col));d&&o(a.col,a.col+=d[0].length,"mcomment-starter"),c>=0?(f.pop(),h=null,o(a.col,c,"mcomment"),o(c,c+=2,"mcomment-stopper"),a.col=c):(o(a.col,b.length,"mcomment"),a.col=b.length)}function q(b,c){var d,e=false,h=a.col;while(!a.eol()){if((d=a.peek())===b&&!e){f.pop(),g=null,o(h,a.col,c),o(a.col,++a.col,c+"-stopper");return true}e=!e&&d==="\\",a.nextCol()}o(h,a.col,c)}function r(){a.checkStop();if(f.length>0)return f.peek()();var b=a.peek(),c;if(a.lookingAt("/*"))h={line:a.line,c1:a.col},o(a.col,a.col+=2,"mcomment-starter"),f.push(p);else if(b==="\""||b==="'")g={line:a.line,c1:a.col},o(a.col,++a.col,"string-starter"),f.push(q.$C(b,"string"));else if(c=m(b))d.push({line:a.line,col:a.col,type:b}),o(a.col,++a.col,"open-paren");else if(c=n(b)){var i=d.pop();!i||i.type!=c?o(a.col,++a.col,"error"):(i.closed={line:a.line,col:a.col,opened:i},e.push(i),o(a.col,++a.col,"close-paren"))}else(c=a.lookingAt(/^([a-zA-z-]+):/))?(o(a.col,a.col+=c[1].length,"keyword"),o(a.col,++a.col,"operator")):(c=a.lookingAt(/^([0-9.]+)(px|pt|em|ex|in|cm|mm|%)/))?(o(a.col,a.col+=c[1].length,"number"),o(a.col,a.col+=c[2].length,"type")):(c=a.lookingAt(/^(\.[a-zA-Z0-9_:-]+)/))?o(a.col,a.col+=c[1].length,"function-name"):(c=a.lookingAt(/^(#[a-zA-Z0-9_:-]+)/))?o(a.col,a.col+=c[1].length,"constant"):(c=a.lookingAt(/^(@[a-zA-Z0-9_:-]+)/))?o(a.col,a.col+=c[1].length,"builtin"):(c=a.lookingAt(/^(url|none|auto|bold|italic|normal|inherit|print|screen|all)/))?o(a.col,a.col+=c[1].length,"builtin"):o(a.col,++a.col,null)}function s(){if(g)return 0;var b=a.line,c=a.lineText(),e=0;if(h){var f=a.lineText(h.line);e=h.c1+1;if(!/^\s*\*/.test(c)){var i=/[^\s*]/g;i.lastIndex=h.c1+1;var l=i.exec(f);l&&(e=l.index)}return e}var m=d.peek();if(m){var i=new RegExp("^\\s*\\"+k[m.type]),n=i.test(c),o=a.lineText(m.line);i=/\S/g,i.lastIndex=m.col+1;var l=i.exec(o);l?e=n?m.col:l.index:(e=a.lineIndentation(m.line)+j(),n&&(e-=j()))}return e}return c}),DEFINE_SINGLETON("Ymacs_Keymap_CSS",Ymacs_Keymap),Ymacs_Keymap_CSS().defineKeys({ENTER:"newline_and_indent",": && } && )":"c_insert_and_indent"}),Ymacs_Buffer.newMode("css_mode",function(){var a=this.tokenizer;this.setTokenizer(new Ymacs_Tokenizer({buffer:this,type:"css"}));var b=this.cmd("paren_match_mode",true);this.pushKeymap(Ymacs_Keymap_CSS());return function(){this.setTokenizer(a),b||this.cmd("paren_match_mode",false),this.popKeymap(Ymacs_Keymap_CSS())}}),Ymacs_Tokenizer.define("markdown",function(a,b){var c={next:f,copy:d};function d(){var a=b.context={};function b(){return c}return b}function e(c,d,e){b.onToken(a.line,c,d,e)}function f(){a.checkStop();var c;a.col==0&&(c=a.lookingAt(/^(#+)/))?e(0,a.col=a.lineLength(),"markdown-heading"+c[0].length):a.line>0&&a.col==0&&(c=a.lookingAt(/^[=-]+$/))&&/\S/.test(a.lineText(a.line-1))?(c=c[0].charAt(0)=="="?1:2,c="markdown-heading"+c,b.onToken(a.line-1,0,a.lineLength(a.line-1),c),e(0,a.col=a.lineLength(),c)):a.col==0&&(c=a.lookingAt(/^[>\s]*/))?((c=c[0].replace(/\s+/g,"").length)>3&&(c=""),c="markdown-blockquote"+c,e(0,a.col=a.lineLength(),c)):e(a.col,++a.col,null)}return c}),Ymacs_Buffer.newMode("markdown_mode",function(){var a=this.tokenizer;this.setTokenizer(new Ymacs_Tokenizer({buffer:this,type:"markdown"}));return function(){this.setTokenizer(a)}}) \ No newline at end of file
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js-minified/ymacs-min.js b/gstudio/static/gstudio/js/Gnowmacs/src/js-minified/ymacs-min.js
new file mode 100644
index 0000000..f912886
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js-minified/ymacs-min.js
@@ -0,0 +1,33 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+DEFINE_CLASS("Ymacs",DlLayout,function(a,b,c){a.DEFAULT_EVENTS=["onBufferSwitch","onCreateBuffer","onDeleteBuffer"],a.DEFAULT_ARGS={buffers:["buffers",null],frames:["frames",null],cf_lineNumbers:["lineNumbers",false],_focusable:["focusable",true]},a.FIXARGS=function(a){a.buffers||(a.buffers=[]),a.frames||(a.frames=[])},a.CONSTRUCT=function(){this.buffers.foreach(function(a){a.ymacs=this},this),this.killRing=[],this.killMasterOfRings=[],this.progress={},this.minibuffer=this.createBuffer({hidden:true,isMinibuffer:true}),this.minibuffer.cmd("minibuffer_mode"),this.minibuffer_frame=this.createFrame({isMinibuffer:true,buffer:this.minibuffer,hidden:true,highlightCurrentLine:false,className:"Ymacs_Minibuffer"}),this.buffers.length==0&&this.createBuffer();var a=this.createFrame({buffer:this.buffers[0]});this.packWidget(this.minibuffer_frame,{pos:"bottom"}),this.packWidget(a,{pos:"top",fill:"*"}),this.setActiveFrame(a),a._redrawCaret()},b.pushToKillRing=function(a,b){b?this.killRing.unshift(a):this.killRing.push(a)},b.killRingToMaster=function(){this.killRing.length&&(this.killMasterOfRings.length==0||this.killMasterOfRings.peek().join("")!=this.killRing.join(""))&&this.killMasterOfRings.push(this.killRing),this.killRing=[]},b.killRingText=function(){return this.killRing.join("")},b.rotateKillRing=function(a){a?(this.killMasterOfRings.push(this.killRing),this.killRing=this.killMasterOfRings.shift()):(this.killMasterOfRings.unshift(this.killRing),this.killRing=this.killMasterOfRings.pop())},b.getBuffer=function(a){a instanceof Ymacs_Buffer||(a=this.buffers.grep_first(function(b){return b.name==a}));return a},b.killBuffer=function(a){a=this.getBuffer(a),this.callHooks("onDeleteBuffer",a),this.buffers.length>1?this.getActiveBuffer()===a&&this.switchToNextBuffer():this.switchToBuffer(this.createBuffer()),this.buffers.remove(a),a.destroy()},b.renameBuffer=function(a,b){a=this.getBuffer(a),a.name=b,a.callHooks("onProgressChange")},b._do_switchToBuffer=function(a){this.getActiveFrame().setBuffer(a),this.callHooks("onBufferSwitch",a)},b.switchToBuffer=function(a){var b=this.getBuffer(a),c=this.buffers;b||(b=this.createBuffer({name:a})),c.remove(b),c.unshift(b),this._do_switchToBuffer(b);return b},b.switchToNextBuffer=function(a){var b=this.buffers;if(b.length>1){var c=b.shift();b.push(c),this._do_switchToBuffer(b[0])}},b.switchToPreviousBuffer=function(a){var b=this.buffers;if(b.length>1){var c=b.pop();b.unshift(c),this._do_switchToBuffer(c)}},b.getNextBuffer=function(a,b){b==null&&(b=1);var c=this.buffers;return c[c.rotateIndex(c.find(a)+b)]},b.getPrevBuffer=function(a,b){b==null&&(b=1);var c=this.buffers;return c[c.rotateIndex(c.find(a)-b)]},b.getBufferFrames=function(a){a=this.getBuffer(a);return this.frames.grep(function(b){return b.buffer===a})},b.createBuffer=function(a){a||(a={}),Object.merge(a,{ymacs:this});var b=new Ymacs_Buffer(a);a.hidden||this.buffers.push(b),this.callHooks("onCreateBuffer",b);return b},b.createFrame=function(a){a||(a={}),Object.merge(a,{ymacs:this});var b=new Ymacs_Frame(a);a.hidden||this.frames.unshift(b),b.addEventListener("onDestroy",function(a){this.frames.remove(a)}.$(this,b));return b},b.keepOnlyFrame=function(a){if(this.frames.length>1){var b=a.parent;while(b.parent!=this)b=b.parent;this.replaceWidget(b,a),b.destroy(),this.setActiveFrame(a),this.doLayout()}},b.deleteFrame=function(a){if(this.frames.length>1){var b=a.parent,d=b.children().grep_first(function(b){return b instanceof DlLayout||b instanceof Ymacs_Frame&&b!==a});b.parent.replaceWidget(b,d),b.destroy();try{c.walk(d.getElement(),function(a){if((a=DlWidget.getFromElement(a))&&a instanceof Ymacs_Frame)throw a})}catch(a){if(!(a instanceof Ymacs_Frame))throw a;d=a}this.setActiveFrame(d),this.doLayout()}},b.focusOtherFrame=function(){this.setActiveFrame(this.frames[0])},b.focus=function(){a.BASE.focus.apply(this,arguments),this.frames.peek().focus()},b.setActiveFrame=function(a,b){if(!a.isMinibuffer){var c=this.getActiveFrame();c&&c.delClass("Ymacs_Frame-active"),this.frames.remove(a),this.frames.push(a)}b||a.focus()},b.getActiveFrame=function(){return this.frames.peek()},b.getActiveBuffer=function(){var a=this.getActiveFrame();return a?a.buffer:this.buffers.peek()},b.setColorTheme=function(a){this.delClass(/Ymacs-Theme-[^\s]*/g),a instanceof Array||(a=[a]),a.foreach(function(a){this.addClass("Ymacs-Theme-"+a)},this)},b.getFrameInDirection=function(a,b,d){d||(d=this.getActiveFrame());var e=d.getCaretElement();b||(b=c.getPos(e)),b.sz||(b.sz=c.getOuterSize(e));var f=this.frames.mergeSort(function(a,b){return a.getPos().x-b.getPos().x}),g=this.frames.mergeSort(function(a,b){return a.getPos().y-b.getPos().y});return this["_get_frameInDir_"+a](f,g,b,d)};function d(a,b){if(a.length>0){var c=a.peek().getPos().x,d=[a.pop()];while(a.length>0&&a.peek().getPos().x==c)d.push(a.pop());return d.minElement(function(a){return Math.abs(b.y-a.getPos().y-a.getSize().y/2)})}}function e(a,b){if(a.length>0){var c=a.peek().getPos().y,d=[a.pop()];while(a.length>0&&a.peek().getPos().y==c)d.push(a.pop());return d.minElement(function(a){return Math.abs(b.x-a.getPos().x-a.getSize().x/2)})}}b._get_frameInDir_left=function(a,b,c,e){a=a.grep(function(a){var b=a.getPos(),d=a.getSize();return a!==e&&b.x<c.x&&b.y-c.sz.y<=c.y&&b.y+d.y>c.y});return d(a,c)},b._get_frameInDir_right=function(a,b,c,e){a.reverse(),a=a.grep(function(a){var b=a.getPos(),d=a.getSize();return a!==e&&b.x>c.x&&b.y-c.sz.y<=c.y&&b.y+d.y>c.y});return d(a,c)},b._get_frameInDir_up=function(a,b,c,d){b=b.grep(function(a){var b=a.getPos(),e=a.getSize();return a!==d&&b.y<c.y&&b.x-c.sz.x<=c.x&&b.x+e.x>c.x});return e(b,c)},b._get_frameInDir_down=function(a,b,c,d){b.reverse(),b=b.grep(function(a){var b=a.getPos(),e=a.getSize();return a!==d&&b.y>c.y&&b.x-c.sz.x<=c.x&&b.x+e.x>c.x});return e(b,c)};function f(){if(!(window.localStorage&&window.localStorage.getItem))throw new Ymacs_Exception("Local storage facility not available in this browser")}b.ls_get=function(){f();return DlJSON.decode(localStorage.getItem(".ymacs")||"{}",true)},b.ls_set=function(a){f(),localStorage.setItem(".ymacs",DlJSON.encode(a))},b.ls_getFileContents=function(a,b){var c=this.ls_getFileDirectory(a),d=c.other,e;d.length==1&&(e=c.dir[d[0]]);if(e==null&&!b)throw new Ymacs_Exception("File not found");return e},b.ls_getFileDirectory=function(a,b){var c,d=c=this.ls_get();a=a.replace(/^[~\x2f]+/,"").split(/\x2f+/);var e=[],f=[];while(a.length>0){var g=a.shift();d.hasOwnProperty(g)&&typeof d[g]!="string"?(d=d[g],e.push(g)):f.push(g)}if(b){var h=b=="file"?1:0;while(f.length>h)d=d[f.shift()]={};this.ls_set(c)}return{store:c,dir:d,path:e,other:f}}}),function(){for(var a={},b=65;b<=90;++b)a[b]=[b,b+32];a[32]=[32,32];var c=[16,17,18,20,144].toHash(true),d=[[49,33],[50,64],[51,35],[52,36],[53,37],[54,94],[55,38],[56,42],[57,40],[48,41]],e=[48,49,50,51,52,53,54,55,56,57].toHash(function(a,b){return d[b]}),f=[[59,58],[61,43],[44,60],[45,95],[46,62],[47,63],[96,126],[91,123],[92,124],[93,125],[39,34]],g=(is_gecko?[59,61,188,109,190,191,192,219,220,221,222]:is_opera?[59,61,44,45,46,47,96,91,92,93,39]:[186,187,188,189,190,191,192,219,220,221,222]).toHash(function(a,b){return f[b]}),h=[37,38,39,40].toHash(true),i=[45,46,36,35,33,34,112,113,114,115,116,117,118,119,120,121,122,123].toHash(true);function j(b,c){var d=a[b]||e[b]||g[b];return d?c?d[1]:d[0]:null}window.KEYBOARD_INSANITY={letters:a,modifiers:c,digits:e,symbols:g,arrows:h,specials:i,getCharCode:j}}(),window.Ymacs_Regexp=function(){var a={};function b(a){a instanceof RegExp&&(a=a.toString());var b=a.lastIndexOf("/"),c="";c=a.substr(b+1),a=a.substring(1,b);return{pattern:a,flags:c}}return{search_backward:function(c){var d=c.toString(),e=a[d];e||(c=b(d),c.flags=c.flags.replace(/g/g,"")+"g",a[d]=e=new RegExp("([^]*)("+c.pattern+")",c.flags)),e.lastIndex=0;return e}}}(),DEFINE_CLASS("Ymacs_Frame",DlContainer,function(a,b,c){var d=300,e=DlException.stopEventBubbling,f=c.createElement("div",null,{className:"line",innerHTML:"<br/>"}),g=225;a.DEFAULT_EVENTS=["onPointChange"],a.DEFAULT_ARGS={highlightCurrentLine:["highlightCurrentLine",true],buffer:["buffer",null],ymacs:["ymacs",null],isMinibuffer:["isMinibuffer",false],_focusable:["focusable",true],_fillParent:["fillParent",true]},a.CONSTRUCT=function(){this.__blinkCaret=this.__blinkCaret.$(this),this.__caretId=Dynarch.ID(),this.redrawModelineWithTimer=this.redrawModeline.clearingTimeout(0,this),this.getElement().innerHTML=h,this.addEventListener({onDestroy:this._on_destroy,onFocus:this._on_focus,onBlur:this._on_blur,onMouseDown:this._on_mouseDown,onKeyDown:this._on_keyDown,onKeyPress:this._on_keyPress,onKeyUp:this._on_keyUp,onResize:this._on_resize}),this._dragSelectCaptures={onMouseOver:e,onMouseOut:e,onMouseEnter:e,onMouseLeave:e,onMouseMove:n.$(this),onMouseUp:o.$(this)},this._bufferEvents={onLineChange:this._on_bufferLineChange.$(this),onInsertLine:this._on_bufferInsertLine.$(this),onDeleteLine:this._on_bufferDeleteLine.$(this),onPointChange:this._on_bufferPointChange.$(this),onResetCode:this._on_bufferResetCode.$(this),onOverwriteMode:this._on_bufferOverwriteMode.$(this),onProgressChange:this._on_bufferProgressChange.$(this),beforeInteractiveCommand:this._on_bufferBeforeInteractiveCommand.$(this),afterInteractiveCommand:this._on_bufferAfterInteractiveCommand.$(this),onOverlayDelete:this._on_bufferOverlayDelete.$(this)},this._moreBufferEvents={onMessage:this._on_bufferMessage.$(this),onOverlayChange:this._on_bufferOverlayChange.$(this),afterInteractiveCommand:this.ensureCaretVisible.$(this)};var a=this.buffer;this.buffer=null,a&&this.setBuffer(a),!this.isMinibuffer&&this.ymacs.cf_lineNumbers&&this.toggleLineNumbers()};var h=String.buffer("<div class='Ymacs-frame-overlays'>","<div class='Ymacs-frame-content'></div>","</div>","<div class='Ymacs_Modeline'></div>").get();b.focus=function(b){a.BASE.focus.call(this),b instanceof Function&&(this.removeEventListener("onBlur",this.__exitFocusHandler),this.addEventListener("onBlur",this.__exitFocusHandler=function(){b.call(this.buffer)?this.removeEventListener("onBlur",this.__exitFocusHandler):this.focus.delayed(2,this,null)}))},b.blur=function(b){b&&this.removeEventListener("onBlur",this.__exitFocusHandler),a.BASE.blur.call(this)},b.getOverlaysContainer=function(){return this.getElement().firstChild},b.getModelineElement=function(){return this.getElement().childNodes[1]},b.getContentElement=function(){return this.getElement().firstChild.firstChild},b.getCaretElement=function(){return document.getElementById(this.__caretId)},b.getLineDivElement=function(a){return this.getContentElement().childNodes[a]||null},b.ensureCaretVisible=function(){this._redrawCaret();var a=this.getCaretElement();if(a){var b=this.getOverlaysContainer(),c=this.getLineDivElement(this.buffer._rowcol.row),d=c.offsetTop+c.offsetHeight-(b.scrollTop+b.clientHeight);d>0?b.scrollTop+=d:(d=c.offsetTop-b.scrollTop)<0&&(b.scrollTop+=d),(d=a.offsetLeft+a.offsetWidth-(b.scrollLeft+b.clientWidth))>0?b.scrollLeft+=d:(d=a.offsetLeft-b.scrollLeft)<0&&(b.scrollLeft+=d)}},b.setBuffer=function(a){this.buffer&&(this.caretMarker&&!this.isMinibuffer&&(this.caretMarker.destroy(),this.caretMarker=null),this.buffer.removeEventListener(this._bufferEvents),this.buffer.removeEventListener(this._moreBufferEvents)),(this.buffer=a)&&(this.buffer.addEventListener(this._bufferEvents),this.focusInside()&&a.addEventListener(this._moreBufferEvents),this.isMinibuffer?this.caretMarker=a.caretMarker:this.caretMarker=a.createMarker(a.caretMarker.getPosition()),this._redrawBuffer(),this._redrawCaret(true),this.centerOnCaret())},b.centerOnCaret=function(){this.centerOnLine(this.buffer._rowcol.row)},b.centerOnLine=function(a){var b=this.getLineDivElement(a),c=this.getOverlaysContainer();c.scrollTop=Math.round(b.offsetTop-c.clientHeight/2+b.offsetHeight/2)},b.setModelineContent=function(a){this.getModelineElement().innerHTML=a},b.deleteOtherFrames=function(){this.ymacs.keepOnlyFrame(this)},b.deleteFrame=function(){this.ymacs.deleteFrame(this)},b.vsplit=function(a){a==null&&(a="50%");var b=this.parent,c=this.ymacs.createFrame({buffer:this.buffer}),d=new DlLayout,e=new DlResizeBar({widget:this,keepPercent:true,horiz:true,className:"Ymacs-splitbar-horiz"});this._resizeBar&&(this._resizeBar._widget=d),this._resizeBar=e,b.replaceWidget(this,d),d.packWidget(this,{pos:"top",fill:a}),d.packWidget(e,{pos:"top"}),d.packWidget(c,{pos:"top",fill:"*"}),b.__doLayout(),c.centerOnCaret()},b.hsplit=function(a){a==null&&(a="50%");var b=this.parent,c=this.ymacs.createFrame({buffer:this.buffer}),d=new DlLayout,e=new DlResizeBar({widget:this,keepPercent:true,className:"Ymacs-splitbar-vert"});this._resizeBar&&(this._resizeBar._widget=d),this._resizeBar=e,b.replaceWidget(this,d),d.packWidget(this,{pos:"left",fill:a}),d.packWidget(e,{pos:"left"}),d.packWidget(c,{pos:"left",fill:"*"}),b.__doLayout(),c.centerOnCaret()},b.toggleLineNumbers=function(){this.condClass(this.__lineNumbers=!this.__lineNumbers,"Ymacs-line-numbers")};function i(a,b,c){if(/^br$/i.test(a.firstChild.tagName)){a.insertBefore(c,a.firstChild);return c}var d=0,e={};function f(a){for(var g=a.firstChild;g;g=g.nextSibling)if(g.nodeType==3){var h=g.length;if(d+h>b){var i=b-d,j=g.splitText(i);a.insertBefore(c,j);throw e}if(d+h==b){a.insertBefore(c,g.nextSibling);throw e}d+=h}else g.nodeType==1&&f(g)}try{f(a)}catch(a){if(a===e)return c;throw a}}b.setMarkerAtPos=function(a,b){a.tagName||(a=this.getLineDivElement(a));if(a)return i(a,b,c.createElement("span"))},b.__restartBlinking=function(){this.__stopBlinking(),this.focusInside()&&(this.__caretTimer=setTimeout(this.__blinkCaret,2*g))},b.__stopBlinking=function(){clearTimeout(this.__caretTimer),this.__showCaret()},b.__blinkCaret=function(){c.condClass(this.getCaretElement(),this.BLINKING=!this.BLINKING,"Ymacs-caret"),this.__caretTimer=setTimeout(this.__blinkCaret,g)},b.__showCaret=function(){c.addClass(this.getCaretElement(),"Ymacs-caret")},b._unhoverLine=function(){this.__hoverLine!=null&&(c.delClass(this.getLineDivElement(this.__hoverLine),"Ymacs-current-line"),this.__hoverLine=null)},b._redrawCaret=function(a){var b=this.ymacs.getActiveFrame()===this;if(!(!a&&!b)){b&&!this.isMinibuffer&&this.caretMarker.setPosition(this.buffer.caretMarker.getPosition());var d=this.buffer._rowcol;this.highlightCurrentLine&&(this._unhoverLine(),c.addClass(this.getLineDivElement(d.row),"Ymacs-current-line"),this.__hoverLine=d.row),this.__prevCaretLine!=null&&this._on_bufferLineChange(this.__prevCaretLine),this.__prevCaretLine!=d.row&&(this.__prevCaretLine=d.row,this._on_bufferLineChange(d.row)),b&&this.__restartBlinking(),this.callHooks("onPointChange",d.row,d.col),this.redrawModelineWithTimer(d)}},b._getLineHTML=function(a){var b=this.buffer.formatLineHTML(a,this.caretMarker),c=b.indexOf("Ymacs-caret'>");c>=0&&(b=b.substr(0,c+12)+" id='"+this.__caretId+"'"+b.substr(c+12));return b},b._redrawBuffer=function(){this.setContent(this.buffer.code.map(function(a,b){return this._getLineHTML(b).htmlEmbed("div","line")},this).join(""))},b.coordinatesToRowCol=function(a,b){function c(a,d){if(a==d)return a;var f=Math.floor((a+d)/2),g=e.getLineDivElement(f),h=g.offsetTop,i=h+g.offsetHeight-1;if(i<b)return c(f+1,d);if(b<h)return c(a,f-1);return f}function d(b,c){if(b==c)return b;var g=Math.floor((b+c)/2),h=e.coordinates(f,g),i=e.coordinates(f,g+1);if(i.x<a)return d(g+1,c);if(a<h.x)return d(b,g-1);return g}var e=this,f=c(0,this.buffer.code.length-1),g=d(0,this.buffer.code[f].length);return{row:f,col:g}},b.coordinates=function(a,b){var d=this.getLineDivElement(a),e=this.setMarkerAtPos(d,b),f={x:e.offsetLeft,y:d.offsetTop,h:d.offsetHeight};c.trash(e);return f},b.heightInLines=function(){return Math.floor(this.getOverlaysContainer().clientHeight/this.getContentElement().firstChild.offsetHeight)},b.setOuterSize=b.setSize=function(b){a.BASE.setOuterSize.apply(this,arguments),c.setOuterSize(this.getOverlaysContainer(),b.x,b.y-this.getModelineElement().offsetHeight),c.setOuterSize(this.getModelineElement(),b.x)},b.redrawModeline=function(a){this.setModelineContent(this.buffer.renderModelineContent(a||this.caretMarker.getRowCol()))},b._on_bufferLineChange=function(a){var b=this.getLineDivElement(a);b&&(b.innerHTML=this._getLineHTML(a))},b._on_bufferInsertLine=function(a,b){var c=f.cloneNode(true);this.getContentElement().insertBefore(c,this.getLineDivElement(a)),b&&(c.innerHTML=this._getLineHTML(a))},b._on_bufferDeleteLine=function(a){c.trash(this.getLineDivElement(a))},b._on_bufferPointChange=function(a,b){this._redrawCaret()},b._on_bufferResetCode=function(){this._redrawBuffer()},b._on_bufferOverwriteMode=function(a){this.condClass(a,"Ymacs-overwrite-mode")},b._on_bufferMessage=function(a,b,c,d){var e=this.isMinibuffer?this.ymacs:this,f=Ymacs_Message_Popup.get(0);f.popup({content:c?b:b.htmlEscape(),widget:e,anchor:e.getElement(),align:{prefer:"CC",fallX1:"CC",fallX2:"CC",fallY1:"CC",fallY2:"CC"}}),f.hide(d||5e3)},b._on_bufferBeforeInteractiveCommand=function(){this._unhoverLine(),Ymacs_Message_Popup.clearAll()},b._on_bufferAfterInteractiveCommand=function(){},b._on_bufferProgressChange=function(){this.redrawModelineWithTimer(null)},b.getOverlayId=function(a){return this.id+"-ovl-"+a},b.getOverlayHTML=function(a,b){if(b.line1==b.line2&&b.col1==b.col2){this._on_bufferOverlayDelete(a,b);return null}var c=this.coordinates(b.line1,b.col1),d=this.coordinates(b.line2,b.col2),e=this.__lineNumbers?this.coordinates(b.line1,0):{x:0,y:0};c.x-=e.x,d.x-=e.x;var f=String.buffer("<div id='",this.getOverlayId(a),"' class='Ymacs_Overlay ",a,"' style='top:",c.y,"px;left:",e.x,"px'>");b.line1==b.line2?f("<div class='",a,"' style='margin-left:",c.x,"px; width:",d.x-c.x,"px;height:",d.h,"px;'>&nbsp;</div>"):(f("<div class='",a,"' style='margin-left:",c.x,"px;height:",c.h,"px;'>&nbsp;</div>"),b.line2-b.line1>1&&f("<div class='",a,"' style='height:",d.y-c.y-c.h,"px'></div>"),f("<div class='",a,"' style='width:",d.x,"px;height:",d.h,"px;'>&nbsp;</div>")),f("</div>");return f.get()},b.getOverlaysCount=function(){return this.getOverlaysContainer().childNodes.length-1},b._on_bufferOverlayChange=function(a,b,d){var e=this.getOverlayHTML(a,b);if(e){e=c.createFromHtml(e);var f=this.getOverlaysContainer(),g=!d&&$(this.getOverlayId(a));g?f.replaceChild(e,g):f.appendChild(e)}},b._on_bufferOverlayDelete=function(a,b,d){c.trash($(this.getOverlayId(a)))},b._on_destroy=function(){this.setBuffer(null),this.__stopBlinking()},b._on_focus=function(){window.focus(),this.ymacs.setActiveFrame(this,true),this.addClass("Ymacs_Frame-active"),this.isMinibuffer||this.buffer.cmd("goto_char",this.caretMarker.getPosition()),this.buffer.addEventListener(this._moreBufferEvents),this.__restartBlinking()},b._on_blur=function(){this.isMinibuffer||this.caretMarker.setPosition(this.buffer.caretMarker.getPosition()),this.buffer.removeEventListener(this._moreBufferEvents),this.__stopBlinking()};var j=0,k=null,l=null;function m(){j=null}b._on_mouseDown=function(a){clearTimeout(k),j++,k=m.delayed(d),this.__restartBlinking();var b=a.computePos(this.getContentElement()),c=this.coordinatesToRowCol(b.x,b.y),f=this.buffer;f.clearTransientMark(),f.cmd("goto_char",f._rowColToPosition(c.row,c.col)),f.callInteractively("keyboard_quit"),j==1?(f.ensureTransientMark(),DlEvent.captureGlobals(this._dragSelectCaptures)):j==2?(f.cmd("backward_word"),f.cmd("forward_word_mark")):j==3?(f.cmd("beginning_of_line"),f.cmd("end_of_line_mark")):j==4&&(f.cmd("backward_paragraph"),f.cmd("forward_whitespace"),f.cmd("beginning_of_line"),f.cmd("forward_paragraph_mark")),e()};function n(a){var b=a.computePos(this.getContentElement()),c=this.coordinatesToRowCol(b.x,b.y);this.buffer.cmd("goto_char",this.buffer._rowColToPosition(c.row,c.col)),this.buffer.ensureTransientMark(),this.ensureCaretVisible()}function o(a){DlEvent.releaseGlobals(this._dragSelectCaptures)}b._on_keyDown=function(a){if(!is_gecko){var b=window.KEYBOARD_INSANITY,c=a.keyCode;c in b.modifiers&&e();if((c in b.letters||c in b.digits||c in b.symbols)&&!(a.ctrlKey||a.altKey))return;a.charCode=b.getCharCode(c,a.shiftKey),a.charCode&&(a.keyCode=0),this.buffer._handleKeyEvent(a)&&e()}},b._on_keyPress=function(a){is_gecko||(a.keyCode=0),this.buffer._handleKeyEvent(a)&&e()},b._on_keyUp=function(a){},b._on_resize=function(){this.centerOnCaret.delayed(1,this)}}),DEFINE_CLASS("Ymacs_Message_Popup",DlPopup,function(a,b){a.FIXARGS=function(a){a.autolink=a.focusable=false,a.zIndex=5e3}}),DEFINE_CLASS("Ymacs_Text_Properties",DlEventProxy,function(a,b){a.DEFAULT_EVENTS=["onChange"],a.DEFAULT_ARGS={buffer:["buffer",null]},a.CONSTRUCT=b.reset=function(){this.props=[]},b.insertLine=function(a){this.props.length<a?this.props[a]=null:this.props.splice(a,0,null)},b.deleteLine=function(a){this.props.splice(a,1)},b.replaceLine=function(a,b){var c=this.props[a];c&&c.length>b.length&&c.splice(b.length,c.length)},b.addLineProps=function(a,b,c,d,e){var f=this.props,g,h=false;if(b<c){f=f[a]||(f[a]=[]);while(b<c)g=f[b]||(f[b]={}),g[d]!=e&&(h=true),g[d]=e,++b;h&&this.callHooks("onChange",a)}return h},b.removeLineProps=function(a,b,c,d){var e=this.props[a],f,g=false;if(e&&b<c){while(b<c)f=e[b],f&&d in f&&(g=true,delete f[d]),++b;g&&this.callHooks("onChange",a)}return g},b.getLineHTML=function(a,b,c){var d=this.props[a];if(c===null){if(b=="")return"<br/>";if(!d||d.length==0)return b.htmlEscape()}else{if(b=="")return"<span class='Ymacs-caret'>&nbsp;</span>";if(!d||d.length==0){if(c===b.length)return b.htmlEscape()+"<span class='Ymacs-caret'>&nbsp;</span>";return b.substr(0,c).htmlEscape()+"<span class='Ymacs-caret'>"+b.charAt(c).htmlEscape()+"</span>"+b.substr(c+1).htmlEscape()}}var e=0,f=b.length,g=null,h,i="",j;while(e<f){h=d[e],h=h&&h.css,e===c&&(h=h?h+" Ymacs-caret":"Ymacs-caret"),h&&h!=g?(g&&(i+="</span>"),i+="<span class='"+h+"'>"):!h&&g&&(i+="</span>"),g=h;switch(j=b.charAt(e)){case"<":i+="&lt;";break;case">":i+="&gt;";break;case"&":i+="&amp;";break;default:i+=j}++e}g&&(i+="</span>"),e===c&&(i+="<span class='Ymacs-caret'>&nbsp;</span>");return i}});function Ymacs_Exception(a){this.message=a}(function(){window.Ymacs_Interactive=function(a,b){if(arguments.length==1)b=a,a=null;else{var c;b instanceof Function||(c=b,b=arguments[2],b.ymacsDoc=c)}b.ymacsInteractive=true;if(a instanceof Function)b.ymacsGetArgs=a;else if(a!=null){if(!(a instanceof Array)){var d=/^[\^\@\*]+/.exec(a);d&&(d=d[0],a=a.substr(d.length),d.indexOf("^")>=0&&(b.ymacsMarkExtend=true),d.indexOf("*")>=0&&(b.ymacsWarnReadonly=true),d.indexOf("@")>=0&&(b.ymacsSelectFrame=true)),a&&(a=a.split(/\n+/))}if(a){var e,f=function(){e.append(Array.$(arguments));return this.callInteractively(b,e,true)};while(a.length>0)f=A(a.pop(),function(a){e.append(Array.$(arguments,1)),a.call(this)}.$(null,f));b.ymacsCallInteractively=function(){e=[];return f.call(this)}}}return b},window.Ymacs_Interactive_X=function(a){return Ymacs_Interactive("p",function(b){b==null&&(b=1),b.times(a,this)})};var a=function(){};a.toString=function(){return""},a.empty=true;function b(a){var b=this.getPrefixArg(true);b&&(a=b+" "+a),this.cmd("minibuffer_prompt",a)}function c(a,c){b.call(this,a),this.cmd("minibuffer_read_function",c)}function d(a,c){b.call(this,a),this.cmd("minibuffer_read_buffer",c)}function e(a,c){b.call(this,a),this.cmd("minibuffer_read_buffer",c)}function f(a,b){}function g(a,c){b.call(this,a),this.cmd("minibuffer_read_command",c)}function h(a,b){b.call(this,this.point())}function i(a,b){}function j(a,b){b.call(this,null)}function k(a,b){}function l(a,b){}function m(a,b){b.call(this,this.markMarker.getPosition())}function n(a,c){b.call(this,a),this.cmd("minibuffer_read_string",null,c)}function o(a,c){b.call(this,a),this.cmd("minibuffer_read_number",c)}function p(a,b){var c=parseInt(this.getPrefixArg(),10);isNaN(c)?o.call(this,a,b):b.call(this,c)}function q(a,b){var c=parseInt(this.getPrefixArg(),10);isNaN(c)&&(c=null),b.call(this,c)}function r(b,c){(b=this.getPrefixArg())===""&&(b=a),c.call(this,b)}function s(a,b){var c=this.getRegion();b.call(this,c.begin,c.end)}function t(a,b){}function u(a,c){b.call(this,a),this.cmd("minibuffer_read_variable",c)}function v(a,c){b.call(this,a),this.cmd("minibuffer_read_existing_file",c)}function w(a,c){b.call(this,a),this.cmd("minibuffer_read_file",c)}function x(a,c){b.call(this,a),this.cmd("minibuffer_read_file_or_directory",c)}function y(a,c){b.call(this,a),this.cmd("minibuffer_read_directory",c)}var z={a:c,b:d,B:e,c:f,C:g,d:h,e:i,i:j,k:k,K:l,m:m,M:n,n:o,N:p,p:q,P:r,r:s,s:n,U:t,v:u,f:v,F:w,G:x,D:y};function A(a,b){var c=a.charAt(0);a=a.substr(1);return z[c].$(null,a,b)}})(),DEFINE_CLASS("Ymacs_Buffer",DlEventProxy,function(a,b){a.DEFAULT_EVENTS=["onLineChange","onInsertLine","onDeleteLine","onPointChange","onResetCode","onMessage","onOverwriteMode","onOverlayChange","onOverlayDelete","beforeInteractiveCommand","afterInteractiveCommand","beforeRedraw","afterRedraw","finishedEvent","onProgressChange","onTextInsert","onTextDelete"],a.DEFAULT_ARGS={name:["name","*scratch*"],_code:["code",null],ymacs:["ymacs",null],tokenizer:["tokenizer",null],isMinibuffer:["isMinibuffer",false]};var c={case_fold_search:true,line_movement_requested_col:0,fill_column:78,tab_width:8,indent_level:8,syntax_word:{test:g},syntax_word_dabbrev:{test:h},syntax_paragraph_sep:/\n\s*\n/g};function d(a,b){if(typeof a=="string"){b===undefined?delete this[a]:this[a]=b,b instanceof Function&&(b.ymacsCommand=a);return b}var c={};for(var e in a)c[e]=this[e],d.call(this,e,a[e]);return c}var e=5e4;function f(a){return a instanceof Ymacs_Marker?a.getPosition():a}function g(a){if(a){var b=a.charCodeAt(0);return b>=48&&b<=57||a.toUpperCase()!=a.toLowerCase()}}function h(a){if(a){var b=a.charCodeAt(0);return b>=48&&b<=57||a=="_"||a.toUpperCase()!=a.toLowerCase()}}b.lastIndexOfRegexp=function(a,b,c,d){a=a.substring(0,c),b=Ymacs_Regexp.search_backward(b),b.lastIndex=d||0;var e=b.exec(a);if(e){var f=Array.$(e,2);f.index=e.index+e[1].length,f.after=e.index+e[0].length,f[0]=a.substring(f.index,f.after);return this.matchData=f}},a.COMMANDS=b.COMMANDS={},a.newCommands=b.newCommands=function(){return d.apply(this.COMMANDS,arguments)},a.newMode=b.newMode=function(b,c){var d="*"+b+"*",e=d+"hooks";a.setGlobal(e,[]),this.COMMANDS[b]=Ymacs_Interactive("P",function(a){var f=this.getq(d);if(f)a!==true&&(this.getq(e).foreach(function(a){a.call(this,false)},this),f instanceof Function&&f.call(this),this.setq(d,null),this.modes.remove(b));else if(a!==false){var g=c.apply(this,arguments);g instanceof Function||(g=true),this.setq(d,g),this.modes.push(b),this.getq(e).foreach(function(a){a.call(this,true)},this)}return f})},a.addModeHook=b.addModeHook=function(a,b){typeof b=="string"&&(b=this.COMMANDS[b]);var c="*"+a+"*hooks";this.getq(c).pushUnique(b)},a.removeModeHook=b.removeModeHook=function(a,b){typeof b=="string"&&(b=this.COMMANDS[b]);var c="*"+a+"*hooks";this.getq(c).remove(b)},a.FIXARGS=function(a){a.code==null&&(a.code="")},a.CONSTRUCT=function(){this.__undoInProgress=this.__preventUndo=this.__preventUpdates=this.__savingExcursion=0,this.__dirtyLines=[],this.__undoQueue=[],this.__redoQueue=[],this.__overlays={},this.markers=[],this.caretMarker=this.createMarker(0,false,"point"),this.markMarker=this.createMarker(0,true,"mark"),this.matchData=[],this.currentCommand=this.previousCommand=null,this.currentKeys=[],this.progress={},this.variables={},this.globalVariables=c,this.modes=[],this.caretMarker.onChange.push(function(a){this._rowcol=this.caretMarker.getRowCol(),this.__preventUpdates==0&&this.callHooks("onPointChange",this._rowcol,this.point())}),this._tokenizerEvents={onFoundToken:this._on_tokenizerFoundToken.$(this)},this._textProperties=new Ymacs_Text_Properties({buffer:this}),this._textProperties.addEventListener("onChange",this._on_textPropertiesChange.$(this)),this.keymap=[],this.pushKeymap(this.makeDefaultKeymap()),this.setCode(this._code),this._lastCommandWasKill=0,delete this._code},b.withVariables=function(a,b){var c={},d,e;for(d in a)c[d]=this.variables[d],this.variables[d]=a[d];try{return b instanceof Function?b.apply(this,Array.$(arguments,2)):this.cmdApply(b,Array.$(arguments,2))}finally{for(d in c)c[d]===undefined?delete this.variables[d]:this.variables[d]=c[d]}},b.withCommands=function(a,b){var c=this.COMMANDS;this.COMMANDS=Object.makeCopy(c),Object.merge(this.COMMANDS,a);try{return b instanceof Function?b.apply(this,Array.$(arguments,2)):this.cmdApply(b,Array.$(arguments,2))}finally{this.COMMANDS=c}},b.getVariable=function(a){return a in this.variables?this.variables[a]:c[a]},b.setVariable=function(){return d.apply(this.variables,arguments)},a.setq=a.setVariable=a.setGlobal=b.setGlobal=function(){return d.apply(c,arguments)},b.setq=b.setVariable,b.getq=b.getVariable,a.getq=a.getVariable=function(a){return c[a]},b.pushKeymap=function(a){a instanceof Array?a.foreach(this.pushKeymap,this):(this.popKeymap(a),this.keymap.push(a),a.attached(this))},b.popKeymap=function(a){this.keymap.remove(a),a.detached(this)},b.makeDefaultKeymap=function(){return Ymacs_Keymap_Emacs()},b.signalError=function(a,b,c){this.callHooks("onMessage","error",a,b,c)},b.signalInfo=function(a,b,c){this.callHooks("onMessage","info",a,b,c)},b.createMarker=function(a,b,c){a==null&&(a=this.point());return new Ymacs_Marker({editor:this,pos:a,name:c,before:b})},b.point=function(){return this.caretMarker.getPosition()},b.setCode=function(a){this.__code=a,this.__size=a.length,this.__undoQueue=[],this.__redoQueue=[],this.__overlays={},this.markers.map("setPosition",0,true,true),this.code=a.split(/\n/),this._textProperties.reset(),this.tokenizer&&this.tokenizer.reset(),this.callHooks("onResetCode",this.code),this.caretMarker.setPosition(0,false,true),this.markMarker.setPosition(0,true)},b.setTokenizer=function(a){this.tokenizer!=null&&this.tokenizer.removeEventListener(this._tokenizerEvents),(this.tokenizer=a)?a.addEventListener(this._tokenizerEvents):(this._textProperties.reset(),this.callHooks("onResetCode",this.code))},b.getCode=function(){return this.__code||(this.__code=this.code.join("\n"))},b.getCodeSize=function(){if(this.__size)return this.__size;var a=this.code.length,b=a>0?-1:0;while(--a>=0)b+=this.code[a].length+1;return this.__size=b},b.getLine=function(a){a==null&&(a=this._rowcol.row);return this.code[a]},b.charAtRowCol=function(a,b){var c=this.code.length;if(a>=c--)return null;var d=this.code[a];if(b==d.length)return a==c&&d.charAt(b)||"\n";return d.charAt(b)},b.charAt=function(a){a==null?a=this.point():(a=f(a))<0&&(a+=this.point());var b=this._positionToRowCol(a);return this.charAtRowCol(b.row,b.col)},b.callInteractively=function(a,b,c){b||(b=[]);var d;a instanceof Function?d=a.ymacsCommand||null:(d=a,a=this.COMMANDS[a]);if(a.ymacsCallInteractively&&!c)return a.ymacsCallInteractively.apply(this,b);(this.currentCommand=d)!="undo"&&(this.__undoQueue=this.__undoQueue.concat(this.__redoQueue),this.__redoQueue=[]);if(this.previousCommand!=d)this.sameCommandCount(0),d!="undo"&&this._placeUndoBoundary();else if(d!="self_insert_command"||this.sameCommandCount()%20==0)d!="undo"&&this._placeUndoBoundary();this.preventUpdates();try{this.callHooks("beforeInteractiveCommand",d,a),a.ymacsMarkExtend||this.clearTransientMark();return a.apply(this,b)}catch(a){if(a instanceof Ymacs_Exception)this.signalError(a.message);else throw a}finally{this.resumeUpdates(),this.callHooks("afterInteractiveCommand",d,a),this.previousCommand=d,this.sameCommandCount(+1)}},b.resetOverwriteMode=function(a){arguments.length==0&&(a=this.overwriteMode),this.callHooks("onOverwriteMode",this.overwriteMode=!a),this.signalInfo(a?"Insert mode":"Overwrite mode")},b.getMinibuffer=function(){return this.whenYmacs(function(a){return a.minibuffer})},b.getMinibufferFrame=function(){return this.whenYmacs(function(a){return a.minibuffer_frame})},b.setMinibuffer=function(a){this.whenMinibuffer(function(b){b.setCode(a),b.cmd("end_of_buffer")})},b.cmd=function(a){return this.COMMANDS[a].apply(this,Array.$(arguments,1))},b.cmdApply=function(a,b){return this.COMMANDS[a].apply(this,b)},b.createDialog=function(a){a.parent||(a.parent=this.getActiveFrame()&&this.getActiveFrame().getParentDialog(),"noShadows"in a||(a.noShadows=true));var b=new DlDialog(a);this.whenActiveFrame(function(a){b.addEventListener("onDestroy",a.focus.clearingTimeout(0,a))});return b},b.getActiveFrame=function(){return this.whenYmacs("getActiveFrame")},b.when=function(a,b){if((a=this[a]||this.getq(a))!=null)return b instanceof Function?b.call(this,a):a[b].apply(a,Array.$(arguments,2))},b.whenActiveFrame=function(){var a=this.getActiveFrame();if(a.buffer===this){this.activeFrame=a;var b=Array.$(arguments);b.unshift("activeFrame");return this.when.apply(this,b)}this.activeFrame=null},b.forAllFrames=function(a){this.ymacs.getBufferFrames(this).foreach(a)},b.whenYmacs=function(){var a=Array.$(arguments);a.unshift("ymacs");return this.when.apply(this,a)},b.whenMinibuffer=function(a){return this.whenYmacs(function(b){if(b.minibuffer)return a.call(this,b.minibuffer)})},b.preventUpdates=function(){++this.__preventUpdates},b.resumeUpdates=function(){(this.__preventUpdates=Math.max(this.__preventUpdates-1,0))==0&&this.redrawDirtyLines()},b.getRegion=function(a,b){a==null&&(a=this.caretMarker),b==null&&(b=this.markMarker),a=f(a);if((b=f(b))<a){var c=a;a=b,b=c}return{begin:a,end:b}},b.redrawDirtyLines=function(){this.callHooks("beforeRedraw"),this.__dirtyLines.foreach(function(a,b){a&&this.callHooks("onLineChange",b)},this),this.__dirtyLines=[],this.callHooks("afterRedraw")},b.getOverlays=function(){return this.__overlays},b.getOverlay=function(a){return this.__overlays[a]},b.setOverlay=function(a,b){var c=this.__overlays[a],d=!c,e;d?c=this.__overlays[a]=b:Object.merge(c,b),c.line2<c.line1?(e=c.line2,c.line2=c.line1,c.line1=e,e=c.col2,c.col2=c.col1,c.col1=e):c.line2==c.line1&&c.col2<c.col1&&(e=c.col2,c.col2=c.col1,c.col1=e),this.callHooks("onOverlayChange",a,c,d)},b.deleteOverlay=function(a){delete this.__overlays[a],this.callHooks("onOverlayDelete",a)},b.ensureTransientMark=function(){var a=this._rowcol,b;this.transientMarker||(this.transientMarker=this.createMarker(),this.markMarker.setPosition(this.point()),b=a),b||(b=this.transientMarker.getRowCol()),this.setOverlay("selection",{line1:b.row,col1:b.col,line2:a.row,col2:a.col})},b.clearTransientMark=function(){this.transientMarker&&(this.transientMarker.destroy(),this.transientMarker=null,this.deleteOverlay("selection"))},b.deleteTransientRegion=function(){if(this.transientMarker){this._deleteText(this.caretMarker,this.transientMarker),this.clearTransientMark(),this._placeUndoBoundary();return true}};var i=0;b.sameCommandCount=function(a){if(a==null)return i;return i+=a};var j;b.interactiveEvent=function(a){if(arguments.length==0)return j;return j=a},b.getPrefixArg=function(a){var b=this.getq("universal_prefix");a||(this.setq("universal_prefix",undefined),this.isMinibuffer||this.setMinibuffer(""));return b},b.setPrefixArg=function(a){return this.setq("universal_prefix",a)},b.updateProgress=function(a,b){b==null?delete this.progress[a]:this.progress[a]=b,this.callHooks("onProgressChange")},b.renderModelineContent=function(a){var b=String.buffer("-- <b>",this.name.htmlEscape(),"</b> (",a.row+1,",",a.col,") "),c=[];for(var d in this.progress)c.push(d+": "+this.progress[d]);c.length>0&&b("[",c.join(", "),"]");return b.get()},b._recordChange=function(a,b,c,d){if(c>0){var f=this.__undoQueue;f.push({type:a,pos:b,len:c,text:d}),f.length>e&&f.shift()}},b._placeUndoBoundary=function(a){a=a||this.__undoQueue;var b=this.markers.map(function(a){return[a,a.getPosition()]}),c=a.peek();!c||c.type!=3?a.push({type:3,markers:b}):c.markers=b},b._playbackUndo=function(a){++this.__undoInProgress;var b=false,c;while(a.length>0&&a.peek().type==3)c=a.pop();while(a.length>0){c=a.pop();if(c.type==3){c.markers.foreach(function(a){a[0].setPosition(a[1])});break}b=true;var d=c.pos;switch(c.type){case 1:this._deleteText(d,d+c.len);break;case 2:this._insertText(c.text,d)}}--this.__undoInProgress;return b},b._replaceLine=function(a,b){this.code[a]=b,this._textProperties.replaceLine(a,b),this.__preventUpdates==0?this.callHooks("onLineChange",a):this.__dirtyLines[a]=true},b._deleteLine=function(a){this.code.splice(a,1),this._textProperties.deleteLine(a),this.tokenizer&&this.tokenizer.quickDeleteLine(a),this.__dirtyLines.splice(a,1),this.callHooks("onDeleteLine",a)},b._insertLine=function(a,b){this.code.splice(a,0,b),this._textProperties.insertLine(a),this.tokenizer&&this.tokenizer.quickInsertLine(a);var c=this.__preventUpdates==0;this.callHooks("onInsertLine",a,c),c||(this.__dirtyLines.length<=a?this.__dirtyLines[a]=true:this.__dirtyLines.splice(a,0,true))},b._insertText=function(a,b){if(!(a.length==0)){b==null&&(b=this.caretMarker.getPosition()),b=f(b),this.__preventUndo==0&&this._recordChange(1,b,a.length);var c=b==this.point()?this._rowcol:this._positionToRowCol(b),d=c.row;if(/^\n+$/.test(a)&&c.col==0)a.length.times(function(a){this._insertLine(d+a,"")},this);else{var e=a.split("\n"),g=this.code[d],h=g.substr(c.col);e.length>1?(this._replaceLine(d,g.substr(0,c.col)+e.shift()),e.foreach(function(a){this._insertLine(++d,a)},this),this._replaceLine(d,this.code[d]+h)):this._replaceLine(d,g.substr(0,c.col)+e[0]+g.substr(c.col))}this._updateMarkers(b,a.length),this.callHooks("onTextInsert",b,a)}},b._deleteText=function(a,b){a=this._boundPosition(f(a)),b=this._boundPosition(f(b));if(!(a==b)){if(b<a){var c=a;a=b,b=c}this.__preventUndo==0&&this._recordChange(2,a,b-a,this._bufferSubstring(a,b));var d=this._positionToRowCol(a),e=this._positionToRowCol(b),g=this.code[d.row];d.row==e.row?(g=g.substr(0,d.col)+g.substr(e.col),this._replaceLine(d.row,g)):(g=g.substr(0,d.col)+this.code[e.row].substr(e.col),this._replaceLine(d.row,g),g=d.row+1,(e.row-d.row).times(this._deleteLine.$(this,g))),this._updateMarkers(a,a-b,a),this.callHooks("onTextDelete",a,b)}},b._replaceText=function(a,b,c){this._deleteText(a,b),this._insertText(c,a)},b._swapAreas=function(a){a=a.map(f).mergeSort();var b=a[0],c=a[1],d=a[2],e=a[3],g=this._bufferSubstring(b,c),h=this._bufferSubstring(d,e);this._replaceText(d,e,g),this._replaceText(b,c,h);return e},b._bufferSubstring=function(a,b){a==null?a=this.point():a=f(a),b==null?b=this.getCodeSize():b=f(b);if(b<a){var c=a;a=b,b=c}return this.getCode().substring(a,b)},b._killingAction=function(a,b,c,d){a=f(a),b=f(b);var e=this._bufferSubstring(a,b);this._saveKilledText(e,c),d||this._deleteText(a,b)},b._saveKilledText=function(a,b){this._lastCommandWasKill||this.ymacs.killRingToMaster(),this.ymacs.pushToKillRing(a,b),this._lastCommandWasKill++},b._positionToRowCol=function(a){var b=0,c=this.code,d=c.length;while(a>0&&b<d){var e=c[b].length;if(e>=a)break;a-=e+1,b++}return{row:b,col:a}},b._rowColToPosition=function(a,b){var c=0,d=this.code,e=Math.min(a,d.length-1),f=e;if(e<0)return 0;while(--e>=0)c+=d[e].length+1;return c+Math.min(b,d[f].length)},b._boundPosition=function(a){if(a<0)return 0;return Math.min(a,this.getCodeSize())},b._repositionCaret=function(a){var b=this.caretMarker.getPosition();a==null&&(a=b),a=f(a),a=this._boundPosition(a),this.caretMarker.setPosition(a);return a!=b},b._updateMarkers=function(a,b,c){this.__code=this.__size=null,this.markers.map("editorChange",a,b,c||0),this.tokenizer&&this.tokenizer.quickUpdate(Math.min(a,a+b))},b._saveExcursion=function(a,b){var c=this.createMarker(null,b);++this.__savingExcursion;try{return a.call(this)}finally{--this.__savingExcursion,this.caretMarker.swap(c,false,true),c.destroy()}},b._disableUndo=function(a){++this.__preventUndo;try{return a.call(this)}finally{--this.__preventUndo}},b._handleKeyEvent=function(a){var b=false;this.interactiveEvent(a);var c=this._lastCommandWasKill;this.__nextIsMeta&&(a.altKey=true),this.__nextIsMeta=false;var d=Ymacs_Keymap.unparseKey(a),e=this.currentKeys,f=false;e.push(d),this.keymap.r_foreach(function(a){var c=a.getHandler(e);c instanceof Array?(this.callInteractively(c[0],c[1]),b=true):c?b=f=true:d==="ESCAPE"?b=this.__nextIsMeta=true:a.defaultHandler&&e.length==1&&(b=this.callInteractively(a.defaultHandler[0],a.defaultHandler[1])),b&&$BREAK()},this),f||(b||e.length>1&&(this.signalError(e.join(" ").bold()+" is undefined",true),b=true),e.splice(0,e.length)),this._lastCommandWasKill==c&&typeof b!="object"&&(this._lastCommandWasKill=0),this.callHooks("finishedEvent",b),this.interactiveEvent(null);return b},b._on_tokenizerFoundToken=function(a,b,c,d){d?this._textProperties.addLineProps(a,b,c,"css",d):this._textProperties.removeLineProps(a,b,c,"css")},b._on_textPropertiesChange=function(a){this.__preventUpdates==0?this.callHooks("onLineChange",a):this.__dirtyLines[a]=true},b.formatLineHTML=function(a,b){var c=this._rowcol;b instanceof Ymacs_Marker&&(c=b.getRowCol()),b=a==c.row?c.col:null;return this._textProperties.getLineHTML(a,this.code[a],b)}}),DEFINE_CLASS("Ymacs_Marker",null,function(a,b){a.DEFAULT_ARGS={position:["pos",null],editor:["editor",null],before:["before",false],name:["name",null]},a.CONSTRUCT=function(){this.editor.markers.push(this),this.rowcol=null,this.onChange=[]},b.destroy=function(){this.editor.markers.remove(this),this.editor=null},b.editorChange=function(a,b,c){var d=this.position;this.before&&--d,b!=0&&a<=d&&(this.rowcol=null,this.position+=b,this.position<c&&(this.position=c),this.callHooks(this.onChange,this.position))},b.callHooks=function(a,b){for(var c=a.length;--c>=0;)a[c].call(this.editor,b)},b.getPosition=function(){return this.position},b.setPosition=function(a,b,c){if(c||this.position!=a)this.rowcol=null,this.position=a,b||this.callHooks(this.onChange,this.position)},b.getRowCol=function(){return this.rowcol||(this.rowcol=this.editor._positionToRowCol(this.position))},b.updateMarkers=function(a){this.editor._updateMarkers(this.getPosition(),a)},b.swap=function(a,b,c){var d=this.getPosition();this.setPosition(a.getPosition(),b,c),a.setPosition(d,b,c)}}),Ymacs_Buffer.newCommands({forward_char:Ymacs_Interactive("p",function(a){a==null&&(a=1);return this.cmd("goto_char",this.point()+a)}),backward_char:Ymacs_Interactive("p",function(a){a==null&&(a=1);return this.cmd("forward_char",-a)}),forward_line:Ymacs_Interactive("p",function(a){a==null&&(a=1);var b=this._rowcol;/^(forward|backward)_line$/.test(this.previousCommand)||this.setq("line_movement_requested_col",b.col);var c=this.cmd("goto_char",this._rowColToPosition(b.row+a,Math.max(b.col,this.getq("line_movement_requested_col"))));c||this.setq("line_movement_requested_col",b.col);return c}),backward_line:Ymacs_Interactive("p",function(a){a==null&&(a=1);return this.cmd("forward_line",-a)}),forward_whitespace:Ymacs_Interactive("P",function(a){var b=a?/[^\x20\t\xA0]/g:/[^\s]/g;if(this.cmd("search_forward_regexp",b)){this.cmd("backward_char");return true}if(!a)return this.cmd("end_of_buffer")}),backward_whitespace:Ymacs_Interactive("P",function(a){var b=a?/[^\x20\t\xA0]/g:/[^\s]/g;if(this.cmd("search_backward_regexp",b)){this.cmd("forward_char");return true}if(!a)return this.cmd("beginning_of_buffer")}),beginning_of_line:Ymacs_Interactive(function(){return this.cmd("goto_char",this._rowColToPosition(this._rowcol.row,0))}),back_to_indentation:Ymacs_Interactive(function(){var a=this._rowcol,b=this.code[a.row],c=/\S/.exec(b);if(c)return this.cmd("goto_char",this._rowColToPosition(a.row,c.index))}),beginning_of_indentation_or_line:Ymacs_Interactive(function(){return this.cmd("back_to_indentation")||this.cmd("beginning_of_line")}),end_of_line:Ymacs_Interactive(function(){var a=this._rowcol;return this.cmd("goto_char",this._rowColToPosition(a.row,this.code[a.row].length))}),beginning_of_buffer:Ymacs_Interactive(function(){return this.cmd("goto_char",0)}),end_of_buffer:Ymacs_Interactive(function(){return this.cmd("goto_char",this.getCodeSize())}),eob_p:function(){return this.point()==this.getCodeSize()},bob_p:function(){return this.point()==0},eol_p:function(){var a=this._positionToRowCol(this.point());return a.col==this.code[a.line].length},bol_p:function(){return this._positionToRowCol(this.point()).col==0},backward_delete_char:Ymacs_Interactive("^p",function(a){if(!this.deleteTransientRegion()){a==null&&(a=1);var b=this.point();b>0&&this._deleteText(b-a,b)}}),delete_char:Ymacs_Interactive("^p",function(a){if(!this.deleteTransientRegion()){a==null&&(a=1);var b=this.point();this._deleteText(b,b+a)}}),delete_whitespace:Ymacs_Interactive("^P",function(a){if(!this.deleteTransientRegion()){var b=this.point();if(this.cmd("forward_whitespace",a)){this._deleteText(b,this.point());return true}}}),backward_delete_whitespace:Ymacs_Interactive("^P",function(a){if(!this.deleteTransientRegion()){var b=this.point();if(this.cmd("backward_whitespace",a)){this._deleteText(this.point(),b);return true}}}),universal_argument:Ymacs_Interactive("^",function(){this.pushKeymap(Ymacs_Keymap_UniversalArgument()),this.isMinibuffer||this.setMinibuffer("C-u")}),overwrite_mode:Ymacs_Interactive(function(){this.resetOverwriteMode()}),self_insert_command:Ymacs_Interactive("^p",function(a){var b=this.interactiveEvent(),c=String.fromCharCode(b.charCode),d=this._rowcol;if(b.charCode&&c&&!b.altKey&&!b.ctrlKey){this.deleteTransientRegion(),a!=null&&(c=c.x(a));if(this.overwriteMode){var e=this.code[d.row],f=e.length-d.col;f>0&&this.cmd("delete_char",Math.min(f,a||1))}this.cmd("insert",c);return b.domStop=true}return false}),newline:Ymacs_Interactive("^p",function(a){a==null&&(a=1),this.deleteTransientRegion(),this.cmd("insert","\n".x(a))}),newline_and_indent:Ymacs_Interactive("^p",function(a){a?this.cmd("newline",a):(this.cmd("backward_delete_whitespace",true),this.cmd("newline"),this.cmd("indent_line"))}),indent_line:Ymacs_Interactive("P",function(a){if(this.tokenizer){var b=this.tokenizer.getIndentation(this._rowcol.row,this);if(b!=null){if(!a||/\S/.test(this.getLine())){var c=this.cmd("save_excursion",function(){this.cmd("back_to_indentation"),this._rowcol.col!=b&&(this.cmd("beginning_of_line"),this.cmd("delete_whitespace",true),this.cmd("insert"," ".x(b)));return this.point()});this.point()<c&&this.cmd("goto_char",c)}return}}this.cmd("insert"," ".x(this.getq("indent_line")))}),indent_region:Ymacs_Interactive("r",function(a,b){if(b<a){var c=a;a=b,b=c}this.cmd("save_excursion",function(){var c=this.createMarker(b);this.cmd("goto_char",a);while(this.point()<c.getPosition()){this.cmd("indent_line",true),this.cmd("beginning_of_line");if(!this.cmd("forward_line"))break}c.destroy()})}),make_marker:function(a){return this.createMarker(a)},looking_at:function(a){var b=a.lastIndex=this.point(),c=this.matchData=a.exec(this.getCode());c&&(c.after=a.lastIndex);return c&&c.index==b},looking_back:function(a){var b=this.lastIndexOfRegexp(this.getCode(),a,this.point());return b&&b.after==this.point()},search_forward:Ymacs_Interactive("sSearch: ",function(a,b){var c=this.getCode(),d=this.point();this.getq("case_fold_search")&&(c=c.toLowerCase(),a=a.toLowerCase());var e=c.indexOf(a,d);if(e>=0&&(b==null||e<=b)){this.cmd("goto_char",e+a.length);return true}}),search_backward:Ymacs_Interactive("sSearch backward: ",function(a,b){var c=this.getCode(),d=this.point();this.getq("case_fold_search")&&(c=c.toLowerCase(),a=a.toLowerCase());var e=c.lastIndexOf(a,d);e==d&&(e=c.lastIndexOf(a,d-1));if(e>=0&&e!=d&&(b==null||e>=b)){this.cmd("goto_char",e);return true}}),make_regexp:function(a){if(!(a instanceof RegExp)){var b=a.toLowerCase()!=a.toUpperCase();try{a=new RegExp(a,b?"ig":"g")}catch(a){throw new Ymacs_Exception("Invalid regexp")}}return a},search_forward_regexp:Ymacs_Interactive("sRegExp search: ",function(a){a=this.cmd("make_regexp",a);var b=this.getCode(),c=a.lastIndex=this.point(),d=this.matchData=a.exec(b);if(d&&a.lastIndex!=c){d.after=a.lastIndex,this.cmd("goto_char",a.lastIndex);return true}}),search_backward_regexp:Ymacs_Interactive("sBackward RegExp search: ",function(a){a=this.cmd("make_regexp",a);var b=this.lastIndexOfRegexp(this.getCode(),a,this.point());if(b&&b.index!=this.point()){this.cmd("goto_char",b.index);return true}}),forward_word:Ymacs_Interactive_X(function(){var a=this.getq("syntax_word"),b=false;while(!b&&!a.test(this.charAt()))this.cmd("forward_char")||(b=true);while(!b&&a.test(this.charAt()))this.cmd("forward_char")||(b=true)}),backward_word:Ymacs_Interactive_X(function(){var a=this.getq("syntax_word"),b=false;while(!b&&!a.test(this.charAt(-1)))this.cmd("backward_char")||(b=true);while(!b&&a.test(this.charAt(-1)))this.cmd("backward_char")||(b=true)}),forward_paragraph:Ymacs_Interactive_X(function(){this.cmd("forward_whitespace"),this.cmd("search_forward_regexp",this.getq("syntax_paragraph_sep"))?this.cmd("goto_char",this.cmd("match_beginning")+1):this.cmd("end_of_buffer")}),backward_paragraph:Ymacs_Interactive_X(function(){this.cmd("backward_whitespace"),this.cmd("search_backward_regexp",this.getq("syntax_paragraph_sep"))?this.cmd("goto_char",this.cmd("match_end")-1):this.cmd("beginning_of_buffer")}),transpose_words:Ymacs_Interactive_X(function(){this.cmd("backward_char"),this.getq("syntax_word").test(this.charAt())&&this.cmd("forward_word");var a=[];this.cmd("forward_word"),a.push(this.point()),this.cmd("backward_word"),a.push(this.point()),this.cmd("backward_word"),a.push(this.point()),this.cmd("forward_word"),a.push(this.point()),this.cmd("goto_char",this._swapAreas(a))}),transpose_lines:Ymacs_Interactive_X(function(){var a=[];this.cmd("backward_line"),this.cmd("beginning_of_line"),a.push(this.point()),this.cmd("end_of_line"),a.push(this.point()),this.cmd("forward_char"),a.push(this.point()),this.cmd("end_of_line"),a.push(this.point()),this.cmd("goto_char",this._swapAreas(a)+1)}),transpose_chars:Ymacs_Interactive_X(function(){var a=this.point();this.cmd("backward_char")&&this.cmd("goto_char",this._swapAreas([a-1,a,a,a+1]))}),kill_word:Ymacs_Interactive_X(function(){var a=this.point();this.cmd("forward_word");var b=this.point();this._killingAction(a,b,false)}),backward_kill_word:Ymacs_Interactive_X(function(){var a=this.point();this.cmd("backward_word");var b=this.point();this._killingAction(a,b,true)}),_apply_operation_on_word:function(a,b){var c=this.point();if(this.getq("syntax_word").test(this.charAt())){var d=this.cmd("save_excursion",function(){this.cmd("forward_word");return this.point()}),e=a.call(this._bufferSubstring(c,d));this._deleteText(c,d),this._insertText(e)}else this.cmd("forward_word"),this.cmd("backward_word"),c!=this.point()&&this.cmd(b)},capitalize_word:Ymacs_Interactive_X(function(){this.cmd("_apply_operation_on_word",function(){return this.charAt(0).toUpperCase()+this.substr(1).toLowerCase()},"capitalize_word")}),downcase_word:Ymacs_Interactive_X(function(){this.cmd("_apply_operation_on_word",String.prototype.toLowerCase,"downcase_word")}),upcase_word:Ymacs_Interactive_X(function(){this.cmd("_apply_operation_on_word",String.prototype.toUpperCase,"upcase_word")}),goto_char:Ymacs_Interactive("NGoto char: ",function(a){return this._repositionCaret(a)}),goto_line:Ymacs_Interactive("NGoto line: ",function(a){var b=this._rowColToPosition(a-1,0);return this.cmd("goto_char",b)}),move_to_column:Ymacs_Interactive("NMove to column: ",function(a,b){var c=this._positionToRowCol(this.point()),d=this.code[c.row];d.length<a?b?(this.cmd("end_of_line"),this.cmd("insert"," ".x(a-d.length))):this.cmd("end_of_line"):this.cmd("goto_char",this._rowColToPosition(c.row,a))}),delete_region:Ymacs_Interactive("r",function(a,b){this._deleteText(a,b)}),insert:Ymacs_Interactive("sInsert text: ",function(){return this._insertText(Array.$(arguments).join(""))}),keyboard_quit:Ymacs_Interactive("^p",Function.noop),buffer_substring:function(a,b){if(arguments.length==0){var c=this.getRegion();a=c.begin,b=c.end}return this._bufferSubstring(a,b)},kill_line:Ymacs_Interactive_X(function(){var a=this.point(),b=this._rowcol,c=this.code[b.row],d=a+c.length-b.col;b.row<this.code.length-1&&this.cmd("looking_at",/\s*$/mg)&&d++,this._killingAction(a,d)}),save_excursion:function(){return this._saveExcursion.apply(this,arguments)},prevent_undo:function(){return this._disableUndo.apply(this,arguments)},point:function(){return this.caretMarker.getPosition()},kill_region:Ymacs_Interactive("r",function(a,b){this._killingAction(a,b)}),copy_region_as_kill:Ymacs_Interactive("r",function(a,b){this._killingAction(a,b,false,true)}),yank:Ymacs_Interactive("^P",function(a){this.deleteTransientRegion();var b=this.point();this._insertText(this.ymacs.killRingText()),this.cmd("set_mark_command",b),a&&this.cmd("exchange_point_and_mark")}),yank_pop:Ymacs_Interactive(function(){/^yank/.test(this.previousCommand)?(this.ymacs.rotateKillRing(false),this._deleteText(this.caretMarker,this.markMarker),this.cmd("yank")):this.signalError("Previous command was not a yank")}),yank_shift:Ymacs_Interactive(function(){/^yank/.test(this.previousCommand)?(this.ymacs.rotateKillRing(true),this._deleteText(this.caretMarker,this.markMarker),this.cmd("yank")):this.signalError("Previous command was not a yank")}),mark:function(){return this.markMarker.getPosition()},set_mark_command:Ymacs_Interactive("d",function(a){this.currentCommand=="set_mark_command"&&this.signalInfo("Mark set",null,1e3),this.markMarker.setPosition(a)}),exchange_point_and_mark:Ymacs_Interactive("^",function(){this.caretMarker.swap(this.markMarker)}),mark_whole_buffer:Ymacs_Interactive(function(){this.clearTransientMark(),this.cmd("end_of_buffer"),this.ensureTransientMark(),this.cmd("beginning_of_buffer"),this.ensureTransientMark()}),recenter_top_bottom:Ymacs_Interactive(function(){this.whenActiveFrame(function(a){a.ensureCaretVisible(true),a.centerOnCaret()})}),ensure_caret_visible:Ymacs_Interactive(function(){this.whenActiveFrame(function(a){a.ensureCaretVisible(true),a.centerOnCaret()})}),fill_paragraph:Ymacs_Interactive("P",function(a){this.cmd("save_excursion",function(){this.cmd("looking_at",this.getq("syntax_paragraph_sep"))||this.cmd("forward_paragraph");var b=this.createMarker(this.point()-1);this.cmd("backward_paragraph"),this.point()>0&&this.cmd("forward_char");var c="",d=false;this.cmd("looking_at",/\s*([-]|[0-9]+\.|\(?[a-z][\).])?\s+/ig)?(c=" ".x(this.matchData[0].length),d=/\s*[#>;\s]*\s*/g):this.cmd("looking_at",/\s*[#>;*\s]+\s*/g)&&(c=this.matchData[0],d=/\s*[#>;\s]*\s*/g),a&&(this._deleteText(this.point(),this.point()+this.matchData[0].length),c="");while(true){this.cmd("end_of_line"),this.cmd("backward_delete_whitespace");if(this.point()>=b.getPosition())break;this._replaceText(this.point(),this.point()+1," "),d&&this.cmd("looking_at",d)&&this._deleteText(this.point(),this.point()+this.matchData[0].length)}this.cmd("beginning_of_line");while(this.point()<b.getPosition()){var e=this.point();if(!this.cmd("search_forward_regexp",/\s/g))break;this.point()>b.getPosition()&&this.cmd("goto_char",b),this._rowcol.col>this.getq("fill_column")&&(this.cmd("goto_char",e),this.cmd("backward_delete_whitespace"),this.cmd("newline"),this.cmd("insert",c))}b.destroy(),this.cmd("recenter_top_bottom")})}),fill_paragraph_no_prefix:Ymacs_Interactive(function(){return this.cmd("fill_paragraph",true)}),start_next_paragraph:Ymacs_Interactive(function(){this.cmd("backward_paragraph"),this.point()>0&&this.cmd("forward_char");var a="";this.cmd("looking_at",/(\s*)([0-9]+)(\.\s+)/g)?a=this.matchData[1]+(parseInt(this.matchData[2],10)+1)+this.matchData[3]:this.cmd("looking_at",/(\s*\(?)([a-z])([\.\)]\s+)/ig)?a=this.matchData[1]+String.fromCharCode(this.matchData[2].charCodeAt(0)+1)+this.matchData[3]:this.cmd("looking_at",/\s*[#>;*\s-]+\s*/g)&&(a=this.matchData[0]),this.cmd("forward_paragraph"),this.cmd("eob_p")&&this.cmd("newline"),this.cmd("insert","\n",a),this.cmd("looking_at",/\n\n/g)||(this.cmd("newline"),this.cmd("backward_char"))}),scroll_down:Ymacs_Interactive_X(function(){this.whenActiveFrame(function(a){var b=a.heightInLines();this.cmd("forward_line",Math.round(b/1.33)),this.cmd("recenter_top_bottom")})}),scroll_up:Ymacs_Interactive_X(function(){this.whenActiveFrame(function(a){var b=a.heightInLines();this.cmd("backward_line",Math.round(b/1.33)),this.cmd("recenter_top_bottom")})}),nuke_trailing_whitespace:Ymacs_Interactive(function(){this.cmd("save_excursion",function(){this.cmd("goto_char",0);while(this._rowcol.row<this.code.length){var a=this.code[this._rowcol.row],b=/\s+$/.exec(a);b&&(this.cmd("beginning_of_line"),this._deleteText(this.point()+b.index,this.point()+a.length));if(!this.cmd("forward_line"))break}})}),match_string:function(a){return this.matchData[a]},match_beginning:function(){return this.matchData.index},match_end:function(){return this.matchData.index+this.matchData[0].length},undo:Ymacs_Interactive_X(function(){var a=this.__undoQueue;this.__undoQueue=this.__redoQueue,this._placeUndoBoundary(),this._playbackUndo(a)||this.signalError("No further undo information"),this.__undoQueue=a}),center_line:Ymacs_Interactive("p",function(a){a==null&&(a=1),a.times(function(a){a>0&&this.cmd("forward_line"),this.cmd("save_excursion",function(){this.cmd("end_of_line"),this.cmd("backward_delete_whitespace",true),this.cmd("beginning_of_line"),this.cmd("delete_whitespace",true);var a=this.code[this._rowcol.row],b=Math.floor((this.getq("fill_column")-a.length)/2);this.cmd("insert"," ".x(b))})},this)}),dabbrev_expand:Ymacs_Interactive_X(function(){this.previousCommand!="dabbrev_expand"&&this.setq("dabbrev_context",null);var a=this.getq("dabbrev_context");if(!a){a=this.setq("dabbrev_context",{});var b=this.cmd("save_excursion",function(){this.cmd("bind_variables",{syntax_word:this.getq("syntax_word_dabbrev")},"backward_word");return this.point()});if(b==this.point())return this.signalError("Nothing to expand");a.search=this.cmd("buffer_substring",b,this.point()),a.point=b,a.length=this.point()-b,a.lastSearch=b,a.encountered={},a.forward=false,a.startBuffer=a.buffer=this}var c;a.buffer.cmd("save_excursion",function d(){var b=this.getq("syntax_word_dabbrev"),e,f=false;this.cmd("goto_char",a.lastSearch);if(a.forward){while(this.cmd("search_forward",a.search))if(!b.test(this.charAt(-a.search.length-1))){f=true;break}if(f)a.lastSearch=this.point(),e=this.point()-a.search.length;else{a.buffer=this.whenYmacs("getNextBuffer",this);if(a.buffer===a.startBuffer){c=a.search,a.startBuffer.signalError("No more completions"),a.lastSearch=a.point+a.length,a.startBuffer.setq("dabbrev_context",null);return}a.lastSearch=0,a.buffer.cmd("save_excursion",d);return}}else{while(this.cmd("search_backward",a.search))if(!b.test(this.charAt(-1))){f=true;break}if(f)a.lastSearch=e=this.point(),this.cmd("goto_char",e+a.search.length);else{a.forward=true,a.lastSearch=a.point+a.length,d.call(this);return}}e!=null&&(this.cmd("bind_variables",{syntax_word:this.getq("syntax_word_dabbrev")},"forward_word"),c=this.cmd("buffer_substring",e,this.point()),Object.HOP(a.encountered,c)&&d.call(this))}),c!=null&&(this._replaceText(a.point,a.point+a.length,c),a.length=c.length,a.encountered[c]=true)}),split_frame_vertically:Ymacs_Interactive("p",function(a){a==null?a="50%":a+="%",this.whenActiveFrame("vsplit",a)}),split_frame_horizontally:Ymacs_Interactive("p",function(a){a==null?a="50%":a+="%",this.whenActiveFrame("hsplit",a)}),delete_other_frames:Ymacs_Interactive(function(){this.whenActiveFrame("deleteOtherFrames")}),delete_frame:Ymacs_Interactive(function(){this.whenActiveFrame("deleteFrame")}),other_frame:Ymacs_Interactive(function(){this.whenYmacs("focusOtherFrame")}),windmove:function(a){this.whenYmacs(function(b){var c=b.getFrameInDirection(a);c&&c.focus()})},next_buffer:Ymacs_Interactive(function(){this.whenYmacs("switchToNextBuffer",this.sameCommandCount()+1)}),previous_buffer:Ymacs_Interactive(function(){this.whenYmacs("switchToPreviousBuffer",this.sameCommandCount()+1)}),switch_to_buffer:Ymacs_Interactive("BSwitch to buffer: ",function(a){this.whenYmacs(function(b){b.switchToBuffer(a)})}),kill_buffer:Ymacs_Interactive(function(){this.whenYmacs(function(a){a.killBuffer(this)})}),rename_buffer:Ymacs_Interactive("sRename current buffer to: ",function(a){this.whenYmacs(function(b){b.renameBuffer(this,a)})}),delete_region_or_line:Ymacs_Interactive("^",function(){if(!this.deleteTransientRegion()){this.cmd("beginning_of_line");var a=this.point();if(this.cmd("forward_line")||this.cmd("end_of_line")){this._deleteText(a,this.point());return true}}}),close_last_xml_tag:Ymacs_Interactive_X(function(){var a,b;this.cmd("save_excursion",function(){var b=1;while(b!=0&&this.cmd("search_backward_regexp",/<\x2f?([a-zA-Z0-9:_-]+)/g))a=this.cmd("match_string",1),this.cmd("looking_at",/<\x2f/g)?++b:this.cmd("looking_at",/<[^\x2f][^>]*?\x2f>/g)||--b;b!=0&&(a=null)});if(a)this.cmd("insert","</",a,">");else throw new Ymacs_Exception("Couldn't find a tag to close")}),bind_variables:function(){return this.withVariables.apply(this,arguments)},for_region:Ymacs_Interactive("^r\nCExecute command within region: ",function(a,b,c){if(b<a){var d=a;a=b,b=d}c instanceof Function||(c=this.COMMANDS[c]),this.clearTransientMark(),this.cmd("goto_char",a),a=this.createMarker(a,true),b=this.createMarker(b),this.withCommands({goto_char:function(c){if(c>=a.getPosition()&&c<=b.getPosition())return this._repositionCaret(c);throw"YMACS_RESTRICT"}},function(){try{while(true){var d=this.point();c.call(this);if(this.point()==d&&!this.cmd("forward_line"))break}}catch(a){if(a!=="YMACS_RESTRICT")throw a}finally{a.destroy(),b.destroy()}})})}),function(){function a(a,b,c,d){a.cmd("save_excursion",function(){for(var a=this._positionToRowCol(b),e=this._positionToRowCol(c),f=Math.abs(e.col-a.col),g=a.row;g<=e.row;++g){this.cmd("goto_char",this._rowColToPosition(g,0));var h=this.code[g],i=a.col,j=e.col,k=this.point(),l=0;if(i>j){var m=i;i=j,j=m}i>h.length&&(l=i-h.length,i=h.length),j>h.length&&(j=h.length),d.call(this,k+i,k+j,l,f)}},b==a.point())}Ymacs_Buffer.newCommands({string_rectangle:Ymacs_Interactive("r\nsString rectangle: ",function(b,c,d){a(this,b,c,function(a,b,c){c>0?this._insertText(" ".x(c),a):this._deleteText(a,b),this._insertText(d,a+c)})}),kill_rectangle:Ymacs_Interactive("r",function(b,c){var d=[];a(this,b,c,function(a,b,c,e){var f=this._bufferSubstring(a,b);b-a<e&&(f+=" ".x(e-b+a)),d.push(f),this._deleteText(a,b)}),this.setq("killed_rectangle",d)}),clear_rectangle:Ymacs_Interactive("r",function(a,b){this.cmd("string_rectangle",a,b," ".x(Math.abs(this._positionToRowCol(b).col-this._positionToRowCol(a).col)))}),insert_rectangle:function(a,b){var c=this._positionToRowCol(a).col;this.cmd("set_mark_command",a),b.foreach(function(a,b){b>0&&(this.cmd("forward_line")||(this.cmd("end_of_line"),this.cmd("newline")),this.cmd("move_to_column",c,true)),this.cmd("insert",a)},this)},yank_rectangle:Ymacs_Interactive("d",function(a){var b=this.getq("killed_rectangle");if(b==null)throw new Ymacs_Exception("No killed rectangle");this.cmd("insert_rectangle",a,b)})})}(),function(){function a(a,b,c){var d=this.createDialog({title:a,quitBtn:"destroy",modal:true}),e=new DlEntry({parent:d,type:"textarea",fillParent:true,value:b});d._focusedWidget=e,d.setSize({x:350,y:250}),e.addEventListener("onKeyPress",function(a){if(a.keyCode!=DlKeyboard.ESCAPE){var b=e.getValue();d.destroy(),c.delayed(0,this,b)}}.clearingTimeout(0,this)),d.show(true),e.select()}Ymacs_Buffer.newCommands({yank_from_operating_system:Ymacs_Interactive(function(){a.call(this,"Paste below (press CTRL-V)",null,function(a){this._saveKilledText(a),this.cmd("yank"),this.cmd("recenter_top_bottom")})}),copy_for_operating_system:Ymacs_Interactive("r",function(b,c){a.call(this,"Press CTRL-C",this.cmd("buffer_substring"),function(){this.cmd("copy_region_as_kill",b,c)})}),kill_for_operating_system:Ymacs_Interactive("r",function(b,c){a.call(this,"Press CTRL-C or CTRL-X",this.cmd("buffer_substring"),function(){this.cmd("kill_region",b,c)})})})}(),["forward_char","forward_word","forward_line","forward_paragraph","forward_sexp","beginning_of_line","beginning_of_indentation_or_line","beginning_of_buffer","backward_char","backward_word","backward_line","backward_paragraph","backward_sexp","end_of_line","end_of_buffer"].foreach(function(a){Ymacs_Buffer.COMMANDS[a+"_mark"]=Ymacs_Interactive("^",function(){this.ensureTransientMark(),this.cmdApply(a,arguments),this.ensureTransientMark()})}),Ymacs_Buffer.newCommands({get_region:function(){return this.getRegion()},cperl_lineup:Ymacs_Interactive("r",function(a,b){this.cmd("save_excursion",function(){var c=this._positionToRowCol(b),d=0,e=[];this.cmd("goto_char",a),this.cmd("forward_whitespace",true);var f=this.charAt();if(f.toLowerCase()!=f.toUpperCase()){this.signalError("Cannot lineup here");return}while(this._rowcol.row<=c.row){var g=this.getLine().indexOf(f);g>=0&&(g>d&&(d=g),e.push([this._rowcol.row,g]));if(!this.cmd("forward_line"))break}++d,e.foreach(function(a){this.cmd("goto_char",this._rowColToPosition(a[0],a[1])),this.cmd("insert"," ".x(d-a[1]))},this)})}),htmlize_region:Ymacs_Interactive("r\nP",function(a,b,c){this.tokenizer.finishParsing();var d=this._positionToRowCol(a).row,e=String.buffer(),f=d,g;c&&!c.empty&&(f=parseInt(c,10)),b=this._positionToRowCol(b).row,g=String(b).length;while(d<=b)e("<div class='line'>"),c&&e("<span class='line-number'>",f.zeroPad(g," "),"</span>"),++f,e(this._textProperties.getLineHTML(d,this.code[d],null),"</div>\n"),++d;e=e.get();var h=this.ymacs.switchToBuffer("*Htmlize*");h.setCode(e),h.cmd("xml_mode",true)}),execute_extended_command:Ymacs_Interactive("^CM-x ",function(a){this.callInteractively(a)}),set_variable:Ymacs_Interactive("vSet variable: \nsTo value: ",function(a,b){var c=parseFloat(b);isNaN(c)||(b=c),this.setq(a,b)}),eval_string:Ymacs_Interactive("^MEval string: ",function(a){try{var b=[this,this.ymacs];a=new Function("buffer","ymacs",a),a.apply(this,b),this.clearTransientMark()}catch(a){this.signalError(a.type+": "+a.message),window.console&&console.log(a)}}),eval_region:Ymacs_Interactive("^r",function(a,b){this.cmd("eval_string",this.cmd("buffer_substring",a,b))}),eval_buffer:Ymacs_Interactive(function(){this.cmd("eval_string",this.getCode())}),toggle_line_numbers:Ymacs_Interactive("^",function(){this.whenActiveFrame("toggleLineNumbers")}),save_file:Ymacs_Interactive("FWrite file: ",function(a){var b=this.ymacs.ls_getFileDirectory(a,"file");b.dir[b.other[0]]=this.getCode(),this.ymacs.ls_set(b.store),this.signalInfo("Saved in local storage")}),load_file:Ymacs_Interactive("fFind file: ",function(a){var b=this.ymacs.ls_getFileContents(a),c=this.ymacs.createBuffer({name:a});c.setCode(b),this.cmd("switch_to_buffer",a)}),delete_file:Ymacs_Interactive("fDelete file: ",function(a){this.ymacs.ls_getFileContents(a);var b=this.ymacs.ls_get();delete b[a],this.ymacs.ls_set(b)}),eval_file:Ymacs_Interactive("fEval file: ",function(a){this.cmd("eval_string",this.ymacs.ls_getFileContents(a))})}),DEFINE_CLASS("Ymacs_Keymap",null,function(a,b){var c={};Object.foreach(DlKeyboard,function(a,b){typeof a=="number"&&(c[a]=b)}),a.CONSTRUCT=function(){this.definitions=Object.makeCopy(this.__originalDefs)},b.FINISH_OBJECT_DEF=function(){this.__originalDefs={};var a=this.constructor.KEYS;a&&this.defineKeys(a)},b.parseKey=function(a){var b={},c=a.split(/-/);c.reverse(),c.foreach(function(a,d){if(d==0)typeof DlKeyboard[a]=="number"?b.keyCode=DlKeyboard[a]:(c[d]=a.toLowerCase(),b.charCode=c[d].charCodeAt(0));else switch(a){case"C":b.ctrlKey=true;break;case"M":b.metaKey=true;break;case"S":b.shiftKey=true}}),c.reverse();var d=c.pop();b.str=c.sort().join("-"),b.str&&(b.str+="-"),b.str+=d;return b},a.unparseKey=function(a){var b,d=[];a.keyCode in c?b=c[a.keyCode]:a.charCode&&(a.charCode==32?b="SPACE":a.charCode==45?b="DASH":b=String.fromCharCode(a.charCode).toLowerCase()),a.ctrlKey&&d.push("C"),a.altKey&&d.push("M"),a.shiftKey&&(a.charCode&&/^[a-zA-Z0-9]$/.test(b)||a.keyCode)&&d.push("S"),d.sort(),(d=d.join("-"))&&(d+="-");return d+b},b.defineKey=function(a,b,c){b instanceof Array&&(c=b.slice(1),b=b[0]),a=a.trim().split(/\s*&&\s*/);if(a.length>1)a.foreach(function(a){this.defineKey(a,b,c)},this);else{a=a[0].trim();var d=this.definitions||this.__originalDefs;if(a.indexOf(" ")>=0){var e=a.split(/\s+/);a=e.pop(),e.foreach(function(a){a=this.parseKey(a).str,d[a]||(d[a]={}),d=d[a]},this)}a=this.parseKey(a),d[a.str]=[b,c]}},b.defineKeys=function(a){Object.foreach(a,function(a,b){this.defineKey(b,a)},this)},b.getHandler=function(a){var b=null,c=this.definitions;a.foreach(function(a){var d=b?b[a]:c[a];d?(b=d)instanceof Array&&$BREAK():b&&(b=null,$BREAK())});return b},b.attached=Function.noop,b.detached=Function.noop}),DEFINE_SINGLETON("Ymacs_Keymap_Emacs",Ymacs_Keymap,function(a,b){var c=String.template("<table>","<tr><td style='text-align: right; font-weight: bold'>Char:</td><td><tt> $ch </tt></td></tr>","<tr><td style='text-align: right; font-weight: bold'>Char code:</td><td> $code / 0x$codeHex </td></tr>","<tr><td style='text-align: right; font-weight: bold'>Position:</td><td> $point </td></tr>","<tr><td style='text-align: right; font-weight: bold'>Mark:</td><td> $mark </td></tr>","<tr><td style='text-align: right; font-weight: bold'>Buffer size:</td><td> $sizeKB </td></tr>","</table>");a.KEYS={"ARROW_UP && C-p":"backward_line","ARROW_DOWN && C-n":"forward_line","ARROW_LEFT && C-b":"backward_char","ARROW_RIGHT && C-f":"forward_char",HOME:"beginning_of_indentation_or_line","END && C-e":"end_of_line","C-a":"beginning_of_line","C-HOME && M-<":"beginning_of_buffer","C-END && M->":"end_of_buffer","C-ARROW_RIGHT && M-f":"forward_word","C-ARROW_LEFT && M-b":"backward_word","C-ARROW_DOWN":"forward_paragraph","C-ARROW_UP":"backward_paragraph","C-l":"recenter_top_bottom","PAGE_UP && M-v":"scroll_up","PAGE_DOWN && C-v":"scroll_down","S-ARROW_UP && S-C-p":"backward_line_mark","S-ARROW_DOWN && S-C-n":"forward_line_mark","S-ARROW_LEFT && S-C-b":"backward_char_mark","S-ARROW_RIGHT && S-C-f":"forward_char_mark","S-C-ARROW_RIGHT && S-M-f":"forward_word_mark","S-C-ARROW_LEFT && S-M-b":"backward_word_mark","S-C-ARROW_DOWN":"forward_paragraph_mark","S-C-ARROW_UP":"backward_paragraph_mark","S-HOME":"beginning_of_indentation_or_line_mark","S-C-a":"beginning_of_line_mark","S-END":"end_of_line_mark","S-C-HOME":"beginning_of_buffer_mark","S-C-END":"end_of_buffer_mark",BACKSPACE:"backward_delete_char","DELETE && C-d":"delete_char","ENTER && C-m":"newline","M-d && C-DELETE":"kill_word","C-BACKSPACE && M-BACKSPACE && M-DELETE":"backward_kill_word","C-k":"kill_line","C-y && S-INSERT":"yank","M-y":"yank_pop","C-SPACE":"set_mark_command","C-x C-x":"exchange_point_and_mark","C-w":"kill_region","M-t":"transpose_words","C-t":"transpose_chars","C-x C-t":"transpose_lines","M-w":"copy_region_as_kill","M-c":"capitalize_word","M-u":"upcase_word","M-l":"downcase_word",F11:"nuke_trailing_whitespace",TAB:"indent_line","C-M-\\":"indent_region","M-q":"fill_paragraph","C-/ && C-x u && C-_ && C-z":"undo",INSERT:"overwrite_mode","M-s":"center_line","M-/":"dabbrev_expand","C-s":"isearch_forward","C-r":"isearch_backward","M-C-s":"isearch_forward_regexp","M-C-r":"isearch_backward_regexp","C-u":"universal_argument","M-g":"goto_line","C-x h":"mark_whole_buffer","C-g":"keyboard_quit","C-x r t":"string_rectangle","C-x r c":"clear_rectangle","C-x r k":"kill_rectangle","C-x r y":"yank_rectangle","C-x C-ARROW_RIGHT && C-x ARROW_RIGHT && C-TAB":"next_buffer","C-x C-ARROW_LEFT && C-x ARROW_LEFT && C-S-TAB":"previous_buffer","C-x b":"switch_to_buffer","C-x k":"kill_buffer","C-x 0":"delete_frame","C-x 1":"delete_other_frames","C-x 2":"split_frame_vertically","C-x 3":"split_frame_horizontally","C-x o":"other_frame","C-x l":"toggle_line_numbers","M-x":"execute_extended_command","C-S-y":"yank_from_operating_system","M-S-w":"copy_for_operating_system","C-S-w":"kill_for_operating_system","M-S-y":"yank_shift","C-c /":"close_last_xml_tag","S-BACKSPACE":"backward_delete_whitespace","S-DELETE":"delete_whitespace","C-M-d":"delete_region_or_line","M-ENTER":"start_next_paragraph","M-S-q":"fill_paragraph_no_prefix","C-M-|":"cperl_lineup","C-F4":"kill_buffer","M-ARROW_LEFT":["windmove","left"],"M-ARROW_RIGHT":["windmove","right"],"M-ARROW_UP":["windmove","up"],"M-ARROW_DOWN":["windmove","down"],"C-x =":function(){var a=this.charAt(),b=a;a==" "?b="<SPACE>":a=="\n"?b="<NEWLINE>":a=="-"&&(b="<DASH>"),this.signalInfo(c({ch:b.htmlEscape(),code:a.charCodeAt(0),codeHex:a.charCodeAt().hex(),point:this.point(),mark:this.markMarker.getPosition(),size:this.getCodeSize(),sizeKB:this.getCodeSize().formatBytes(2)}),true)}},b.defaultHandler=["self_insert_command"]}),DEFINE_SINGLETON("Ymacs_Keymap_UniversalArgument",Ymacs_Keymap,function(a,b){b.defaultHandler=[Ymacs_Interactive("^",function(){var a=this.interactiveEvent(),b=String.fromCharCode(a.charCode),c=this.getPrefixArg(true);if(a.charCode&&(/^[0-9]$/.test(b)||b==="-"&&c==="")&&!a.altKey&&!a.ctrlKey){c+=b,this.setPrefixArg(c),this.isMinibuffer||this.whenMinibuffer(function(a){a.cmd("insert"," ",b)});return true}this.popKeymap(Ymacs_Keymap_UniversalArgument());return false})],b.attached=function(a){a.setPrefixArg("")}}),DEFINE_SINGLETON("Ymacs_Keymap_ISearch",Ymacs_Keymap,function(a,b){a.KEYS={"C-g && ESCAPE":["isearch_abort",true],"C-w":"isearch_yank_word_or_char","C-s":"isearch_forward","C-r":"isearch_backward",BACKSPACE:function(){this.getMinibuffer().point()>this._isearchContext.mbMark.getPosition()&&(this.getMinibuffer().cmd("backward_delete_char"),this.cmd("goto_char",this._isearchContext.point),d.call(this,this._isearchContext.forward))},ENTER:"isearch_abort"},a.CONSTRUCT=function(){this.defaultHandler=["isearch_printing_char"]};function c(a){if(!this._isearchContext){this.pushKeymap(Ymacs_Keymap_ISearch()),this.cmd("set_mark_command",this.point()),this.setMinibuffer(a?"I-Search: ":"I-Search backward: "),this._isearchContext={forward:a,point:this.point(),mbMark:this.getMinibuffer().createMarker(null,true)};return true}}function d(a){this._isearchContext.forward=a,this._isearchContext.point=this.point();var b=f(this);!/\S/.test(b)&&this._isearchLastText&&(this.getMinibuffer()._placeUndoBoundary(),this.getMinibuffer().cmd("insert",this._isearchLastText),b=this._isearchLastText);return e.call(this,b)}function e(a){a==null&&(a=f(this));var b=this.cmd("bind_variables",{case_fold_search:a==a.toLowerCase()},this.cmd,this._isearchContext.forward?"search_forward":"search_backward",a);if(b){this.cmd("ensure_caret_visible");var c=this._positionToRowCol(this.point()+(this._isearchContext.forward?-1:1)*a.length);this.setOverlay("isearch",{line1:c.row,line2:this._rowcol.row,col1:c.col,col2:this._rowcol.col})}return b}function f(a){return a.cmd("isearch_get_search_text")}Ymacs_Buffer.newCommands({isearch_get_search_text:Ymacs_Interactive(function(){if(this._isearchContext)return this.getMinibuffer()._bufferSubstring(this._isearchContext.mbMark)}),isearch_forward:Ymacs_Interactive(function(){c.call(this,true)||(d.call(this,true)||this.signalError("No more forward occurrences of the search text"))}),isearch_forward_regexp:Ymacs_Interactive(function(){this.signalError("Not implemented, but should be easy. Volunteers?")}),isearch_backward_regexp:Ymacs_Interactive(function(){this.signalError("Not implemented, but should be easy. Volunteers?")}),isearch_backward:Ymacs_Interactive(function(){c.call(this,false)||(d.call(this,false)||this.signalError("No more backward occurrences of the search text"))}),isearch_yank_word_or_char:Ymacs_Interactive(function(){var a=this.point(),b=this.cmd("save_excursion",function(){this.cmd("forward_word");return this.point()});if(b!=a){var c=this._bufferSubstring(a,b);this.getMinibuffer()._placeUndoBoundary(),this.getMinibuffer().cmd("insert",c.toLowerCase()),c=f(this),this._isearchContext.forward&&this.cmd("goto_char",b-c.length),e.call(this,c)}}),isearch_printing_char:Ymacs_Interactive(function(){var a=this.interactiveEvent();if(a.charCode&&!a.ctrlKey&&!a.altKey){this.getMinibuffer().cmd("self_insert_command"),this.cmd("goto_char",this._isearchContext.point),e.call(this,f(this));return a.domStop=true}if(a.keyCode!=0||a.ctrlKey||a.altKey){this.cmd("isearch_abort");return false}}),isearch_abort:Ymacs_Interactive(function(a){a||(this._isearchLastText=f(this)),this.setMinibuffer(""),this.popKeymap(Ymacs_Keymap_ISearch()),this._isearchContext.mbMark.destroy(),this._isearchContext=null,a&&this.cmd("exchange_point_and_mark"),this.deleteOverlay("isearch"),this.deleteOverlay("isearch-lazy");return true})})}),Ymacs_Buffer.newMode("minibuffer_mode",function(){var a=this.createMarker(0,true),b=this.setq({minibuffer_end_marker:a}),c=Ymacs_Keymap_Minibuffer();this.pushKeymap(c);return function(){this.setq(b),a.destroy(),this.popKeymap(c)}}),function(){var a=false,b=null,c=null;function d(d,e){b&&b.destroy(),b=new DlVMenu({}),e.foreach(function(a){var c=a;typeof a!="string"&&(c=a.completion,a=a.label),new DlMenuItem({parent:b,label:a.htmlEscape(),data:c})});var f=Ymacs_Completion_Popup.get();f.popup({timeout:0,content:b,align:{prefer:"Tr",fallX1:"_r",fallX2:"_L",fallY1:"B_",fallY2:"T_"},anchor:d.getCaretElement(),widget:d,onHide:function(){a=false,b=c=null},isContext:true}),a=true}function e(a,b,c){this.whenMinibuffer(function(d){var e=d.setq({completion_list:a,minibuffer_validation:function(a){a==null&&(a=d.cmd("minibuffer_contents"));if(c)return c.call(this,d,a);return true}.$(this),minibuffer_continuation:function(a){d.setq(e),b&&b.call(this,a)}.$(this)})})}function f(a,b){var c=this.ymacs.ls_getFileDirectory(b),e=c.dir,f=c.other,g=c.path,h=f[0];if(f.length!=1)throw new Ymacs_Exception("Not found");if(typeof e[h]=="string")return[g.concat([h]).join("/")];var i=[];for(var j in e)j.indexOf(h)==0&&i.push(j);var k=i.common_prefix();if(k!=h)i.length==1&&typeof e[k]!="string"&&(k+="/"),a.cmd("minibuffer_replace_input",g.concat([k]).join("/"));else{if(i.length==1)throw new Ymacs_Exception("Single completion");if(i.length==0)throw new Ymacs_Exception("No completions");i=i.map(function(a){typeof e[a]!="string"&&(a+="/");return{label:a,completion:g.concat([a]).join("/")}}),d(this.getMinibufferFrame(),i)}return null}Ymacs_Buffer.newCommands({minibuffer_prompt:function(a,b){this.whenMinibuffer(function(c){var d=this.getMinibufferFrame();c.setCode(""),c.cmd("prevent_undo",function(){c.cmd("insert",a)}),c.getq("minibuffer_end_marker").setPosition(c.point()),d._redrawCaret(true),b||d.focus()})},minibuffer_read_number:function(a){e.call(this,null,a,function(a,b){var c=parseInt(b,10);isNaN(c)&&a.signalError("Please enter a number");return!isNaN(c)})},minibuffer_read_command:function(a){var b=Array.hashKeys(this.COMMANDS).grep(function(a){return this.COMMANDS[a].ymacsInteractive},this).sort();e.call(this,b,a,function(a,b){var c=this.COMMANDS[b],d=c&&c.ymacsInteractive;d||a.signalError("No such command: "+b);return d})},minibuffer_read_function:function(a){var b=Array.hashKeys(this.COMMANDS).sort();e.call(this,b,a,function(a,b){var c=this.COMMANDS[b],d=!!c;d||a.signalError("No such function: "+b);return d})},minibuffer_read_buffer:function(a){this.whenYmacs(function(b){var c=b.buffers.map("name");c.push(c.shift()),e.call(this,c,a),k.call(this)})},minibuffer_read_string:function(a,b){e.call(this,a,b)},minibuffer_read_variable:function(a){var b=this.globalVariables;Object.merge(b,this.variables);var c=Array.hashKeys(b).grep(function(a){return!/^\*/.test(a)}).sort();e.call(this,c,a)},minibuffer_read_existing_file:function(a){var b=this.ymacs.ls_getFileDirectory(this.name).path.join("/");b&&(b+="/"),this.cmd("minibuffer_replace_input",b),e.call(this,f,a,function(a,b){var c=this.ymacs.ls_getFileContents(b,true);c||a.signalError("No such file: "+b);return c})},minibuffer_read_file:function(a){var b=this.ymacs.ls_getFileDirectory(this.name).path.join("/");b&&(b+="/"),e.call(this,f,a)},minibuffer_read_file_or_directory:function(a){var b=this.ymacs.ls_getFileDirectory(this.name).path.join("/");b&&(b+="/"),e.call(this,f,a)},minibuffer_read_directory:function(a){var b=this.ymacs.ls_getFileDirectory(this.name).path.join("/");b&&(b+="/"),e.call(this,f,a)},minibuffer_prompt_end:function(){return this.whenMinibuffer(function(a){return a.getq("minibuffer_end_marker").getPosition()})},minibuffer_contents:function(){return this.whenMinibuffer(function(a){return a._bufferSubstring(a.getq("minibuffer_end_marker"))})},minibuffer_replace_input:function(a){this.whenMinibuffer(function(b){b._replaceText(b.getq("minibuffer_end_marker"),b.getCodeSize(),a),this.getMinibufferFrame()._redrawCaret(true)})},minibuffer_complete:function(){this.whenMinibuffer(function(a){var b=a.getq("completion_list"),c=a.cmd("minibuffer_contents"),e=c.replace(/([\[\]\(\)\{\}\.\*\+\?\|\\])/g,"\\$1").replace(/([_-])/g,"[^_-]*[_-]");e=new RegExp("^"+e,"i");if(b instanceof Function){b=b.call(this,a,c,e);if(!b)return}else b&&b.length>0&&(b=b.grep(function(a){return e.test(a)}));if(!b||b.length==0)a.signalError("No completions");else{var f=b.common_prefix();f!=c?a.cmd("minibuffer_replace_input",f):b.length==1?a.signalError("Sole completion"):d(this.getMinibufferFrame(),b)}})},minibuffer_complete_and_exit:function(){this.whenMinibuffer(function(a){a.getq("minibuffer_validation").call(a)&&a.cmd("minibuffer_keyboard_quit",this.getq("minibuffer_continuation"))})},minibuffer_keyboard_quit:function(a){this.whenMinibuffer(function(b){var c=this.cmd("minibuffer_contents");b.setCode(""),this.ymacs.getActiveFrame().focus(),function(b){a&&a.call(this,b),this.getPrefixArg()}.delayed(1,this,c)}),DlPopup.clearAllPopups()}});function g(a){var d=c,e;switch(a){case"next":c==null&&(c=-1),c=b.children().rotateIndex(++c);break;case"prev":c==null&&(c=0),c=b.children().rotateIndex(--c)}d!=null&&(e=b.children(d),e.callHooks("onMouseLeave")),d=c,e=b.children(c),e.callHooks("onMouseEnter")}function h(){if(a)return g.call(this,"next")}function i(){if(a)return g.call(this,"prev")}function j(){a?c!=null?(this.cmd("minibuffer_replace_input",b.children()[c].userData),DlPopup.clearAllPopups()):this.signalError("Select something..."):this.cmd("minibuffer_complete_and_exit")}function k(){a||this.cmd("minibuffer_complete"),h.call(this)}function l(){i.call(this)}function m(){a?DlPopup.clearAllPopups():this.cmd("minibuffer_keyboard_quit")}DEFINE_SINGLETON("Ymacs_Keymap_Minibuffer",Ymacs_Keymap,function(a,b){a.KEYS={"C-g":"minibuffer_keyboard_quit",TAB:k,"S-TAB":l,ARROW_DOWN:h,ARROW_UP:i,ENTER:j,ESCAPE:m},b.defaultHandler=[function(){DlPopup.clearAllPopups();return false}]})}(),DEFINE_CLASS("Ymacs_Completion_Popup",DlCompletionPopup),DEFINE_CLASS("Ymacs_Stream",null,function(a,b){a.DEFAULT_ARGS={buffer:["buffer",null],line:["line",0],col:["col",0]},b.nextCol=function(){++this.col},b.prevCol=function(){--this.col},b.nextLine=function(){++this.line,this.col=0},b.prevLine=function(){--this.line,this.col=0},b.peek=function(a){a==null&&(a=0);return this.buffer.code[this.line].charAt(this.col+a)},b.get=function(){var a=this.peek();this.nextCol();return a},b.lineText=function(a){a==null&&(a=this.line);return this.buffer.code[a]},b.lineIndentation=function(a){return/^\s*/.exec(this.lineText(a))[0].length},b.lookingAt=function(a){var b=this.buffer.code[this.line];return a instanceof RegExp?a.exec(b.substr(this.col)):b.substr(this.col,a.length)==a},b.textBefore=function(a){a==null&&(a=this.buffer._rowColToPosition(this.line,this.col));return this.buffer.getCode().substr(0,a)},b.textAfter=function(a){a==null&&(a=this.buffer._rowColToPosition(this.line,this.col));return this.buffer.getCode().substr(a)},b.substring=function(a,b){return this.buffer.getCode().substring(a,b)},b.substr=function(a,b){return this.buffer.getCode().substr(a,b)},b.eol=function(){return this.col==this.buffer.code[this.line].length},b.eof=function(){var a=this.buffer.code.length,b=this.line;return b>=a||b==a-1&&this.eol()},b.length=function(){return this.buffer.code.length},b.lineLength=function(a){a==null&&(a=this.line);return this.buffer.code[a].length},b.save=function(){return{buffer:this.buffer,line:this.line,col:this.col}},b.restore=function(a){this.buffer=a.buffer,this.line=a.line,this.col=a.col},b.checkStop=function(){if(this.eof())throw this.EOF;if(this.eol())throw this.EOL},b.EOL=new function(){},b.EOF=new function(){}}),DEFINE_CLASS("Ymacs_Tokenizer",DlEventProxy,function(a,b){var c={};a.define=function(a,b){c[a.toLowerCase()]=b},a.DEFAULT_EVENTS=["onFoundToken"],a.DEFAULT_ARGS={buffer:["buffer",null],type:["type",null]},a.FIXARGS=function(a){typeof a.type=="string"&&(a.type=c[a.type.toLowerCase()])},a.CONSTRUCT=function(){var a=null,b=null;this.quickUpdate=function(c){var d=this.buffer._positionToRowCol(c).row;this.parsers.splice(d-1,this.parsers.length+1),a!=null?a=Math.min(d,a):a=d,clearTimeout(b),b=function(){this._do_quickUpdate(a),a=null}.delayed(1,this)},this._stopQuickUpdate=function(){clearTimeout(b),clearTimeout(this.timerUpdate)},this.reset()},b.reset=function(){this.stream=new Ymacs_Stream({buffer:this.buffer}),this.theParser=this.type(this.stream,this),this.parsers=[],this.parsers[-1]=this.theParser.copy(),this.timerUpdate=null,this.quickUpdate(0)},b.getLanguage=function(a){return c[a](this.stream,this)},b.showProgress=function(a){a!=null&&(a=Math.round(a/this.stream.length()*100)+"%"),this.buffer.updateProgress("Syntax highlighting",a)},b._do_quickUpdate=function(a){this._stopQuickUpdate();var b=this.stream,c,d=this.parsers,e;b.line=a-1;while(!(c=d[b.line]))b.prevLine();b.nextLine(),c=c();var f=0,g=true,h=function(){this.buffer.preventUpdates(),e=g?3:20,++f>10&&this.showProgress(this.stream.line);while(true)try{while(true)c.next()}catch(a){if(a===b.EOL){d[b.line]=c.copy(),b.nextLine();if(--e==0){this.buffer.resumeUpdates(),this.timerUpdate=setTimeout(h,g?500:50),g=false;return}}else{if(a===b.EOF){d[b.line]=c.copy(),this.buffer.resumeUpdates(),c.on_EOF&&c.on_EOF();break}throw a}}this.showProgress()}.$(this);h()},b.quickInsertLine=function(a){this.parsers.splice(a,this.parsers.length+1)},b.quickDeleteLine=function(a){this.parsers.splice(a,this.parsers.length+1)},b.onToken=function(a,b,c,d){this.callHooks("onFoundToken",a,b,c,d)},b.getParserForLine=function(a){this._stopQuickUpdate();var b=this.stream,c,d=this.parsers,e,f=b.line;b.line=a-1;while(!(c=d[b.line]))b.prevLine();b.nextLine(),c=c();try{this.buffer.preventUpdates();while(true){if(b.line==a)return c;try{while(true)c.next()}catch(a){if(a===b.EOL)d[b.line]=c.copy(),b.nextLine();else{if(a===b.EOF)break;throw a}}}}finally{this.buffer.resumeUpdates(),b.line<b.length()&&(this.timerUpdate=this._do_quickUpdate.delayed(50,this,b.line))}},b.reparseAll=function(){this.parsers.splice(0,this.parsers.length);return this.finishParsing()},b.finishParsing=function(){this.getParserForLine(this.stream.length());return this.getLastParser()},b.getLastParser=function(){return this.parsers.peek()},b.getIndentation=function(a,b){var c=this.getParserForLine(a);if(c&&c.indentation instanceof Function)return c.indentation(b)}}),DEFINE_SINGLETON("Ymacs_Keymap_ParenMatch",Ymacs_Keymap,function(a,b){a.KEYS={"C-c \\":"goto_matching_paren","C-M-q":"indent_sexp","C-M-f && C-M-n":"forward_sexp","C-M-b && C-M-p":"backward_sexp","C-M-u && M-a":"backward_up_list","M-e && C-M-ARROW_UP":"up_list","C-M-ARROW_DOWN":"down_list","M-C-k":"kill_sexp","M-C-SPACE":"mark_sexp","M-C-t":"transpose_sexps","M-(":["paredit_wrap_round","("],"M-[":["paredit_wrap_round","["],"M-{":["paredit_wrap_round","{"],"M-\"":["paredit_wrap_round","\"",true],"M-'":["paredit_wrap_round","'",true]};function c(a,b){return a.line<b.line?-1:a.line>b.line?1:a.col-b.col}var d={"(":")","[":"]","{":"}","\"":{close:"\"",backslash:/[\x22\\]/g},"'":{close:"'",backslash:/[\x27\\]/g}};function e(a){throw new Ymacs_Exception("Balanced expression not found")}function f(a){var b=a.context.passedParens;return b instanceof Function?b():b}Ymacs_Buffer.newCommands({matching_paren:function(){var a=this.tokenizer.getLastParser(),b=this._rowcol;if(a){var c=f(a);return c.foreach(function(a){var c=a.closed;a.line==b.row&&a.col==b.col?$RETURN(this._rowColToPosition(c.line,c.col+1)):c.line==b.row&&c.col==b.col-1&&$RETURN(this._rowColToPosition(a.line,a.col))},this)}},indent_sexp:Ymacs_Interactive(function(){var a=this.cmd("matching_paren");a!=null?this.cmd("indent_region",this.point(),a):e(this)}),goto_matching_paren:Ymacs_Interactive(function(){var a=this.cmd("matching_paren");if(a!=null){this.cmd("goto_char",a);return true}}),forward_sexp:Ymacs_Interactive(function(){var a=this._rowcol,b=this.tokenizer.finishParsing();if(b){var d=f(b).mergeSort(c),g=d.foreach(function(b){(b.line>a.row||b.line==a.row&&b.col>=a.col)&&$RETURN(b)});if(!g||!g.closed){e(this);return}var h=this._rowColToPosition(g.line,g.col);this._rowcol.row==g.line&&this._rowcol.col==g.col||!/\S/.test(this._bufferSubstring(null,h))?this.cmd("goto_char",this._rowColToPosition(g.closed.line,g.closed.col)+1):this.cmd("goto_char",h);return true}}),backward_sexp:Ymacs_Interactive(function(){var a=this._rowcol,b=this.tokenizer.finishParsing();if(b){var d=f(b).grep("closed").map("closed").mergeSort(c),g=d.r_foreach(function(b){(b.line<a.row||b.line==a.row&&b.col<a.col)&&$RETURN(b)});if(!g){e(this);return}this.cmd("goto_char",this._rowColToPosition(g.opened.line,g.opened.col));return true}}),mark_sexp:Ymacs_Interactive("^r",function(a,b){this.cmd("save_excursion",function(){this.transientMarker&&this.cmd("goto_char",b),this.ensureTransientMark(),this.cmd("forward_sexp"),this.cmd("set_mark_command",this.point()),this.transientMarker.swap(this.caretMarker)}),this.ensureTransientMark()}),kill_sexp:Ymacs_Interactive(function(){this._killingAction(this.point(),this.cmd("save_excursion",function(){this.cmd("forward_sexp");return this.point()}))}),transpose_sexps:Ymacs_Interactive(function(){var a=[];this.cmd("forward_sexp"),a.push(this.point()),this.cmd("backward_sexp"),a.push(this.point()),this.cmd("backward_sexp"),a.push(this.point()),this.cmd("forward_sexp"),a.push(this.point()),this.cmd("goto_char",this._swapAreas(a))}),paredit_wrap_round:Ymacs_Interactive("^",function(a,b){a||(a="(");var c=d[a],e=this.transientMarker?this.getRegion():this.cmd("save_excursion",function(){var a=this.point();b||this.cmd("forward_sexp");return{begin:a,end:this.point()}}),f=this._bufferSubstring(e.begin,e.end),g=this.point()<e.end;typeof c!="string"&&(f=f.replace(c.backslash,function(a){return"\\"+a}),c=c.close);var h=this.createMarker(e.end);this.cmd("save_excursion",function(){this._replaceText(e.begin,e.end,a+f+c)},g),this.cmd("forward_char",g?1:-1),this.clearTransientMark(),this.cmd("indent_region",e.begin,h.getPosition()),h.destroy()}),down_list:Ymacs_Interactive(function(){var a=this._rowcol,b=this.tokenizer.finishParsing();if(b){var d={line:a.row,col:a.col};b=f(b).grep("closed").mergeSort(c).grep_first(function(a){return c(a,d)>=0}),b!=null?this.cmd("goto_char",this._rowColToPosition(b.line,b.col)+1):e(this)}}),backward_up_list:Ymacs_Interactive(function(){var a=this._rowcol,b=this.tokenizer.finishParsing();if(b){var d={line:a.row,col:a.col};b=f(b).grep("closed").mergeSort(c).grep_last(function(a){return c(a,d)<0&&c(a.closed,d)>=0}),b!=null?this.cmd("goto_char",this._rowColToPosition(b.line,b.col)):e(this)}}),up_list:Ymacs_Interactive(function(){this.cmd("backward_up_list"),this.cmd("forward_sexp")})}),Ymacs_Buffer.newMode("paren_match_mode",function(){var a=Ymacs_Keymap_ParenMatch();this.pushKeymap(a);var b=false,c=function(){b&&this.deleteOverlay("match-paren")}.clearingTimeout(500,this),d={beforeInteractiveCommand:function(){c.doItNow()},afterInteractiveCommand:function(){var a=this.tokenizer.getLastParser(),d=this._rowcol;a&&f(a).foreach(function(a){var e=a.closed;if(a.line==d.row&&a.col==d.col||e.line==d.row&&e.col==d.col-1)b=true,this.setOverlay("match-paren",{line1:a.line,line2:e.line,col1:a.col,col2:e.col+1}),c()},this)}.clearingTimeout(100)};this.addEventListener(d);return function(){c.doItNow(),this.popKeymap(a),this.removeEventListener(d)}})}),function(){Ymacs_Buffer.newCommands({lisp_open_paren:Ymacs_Interactive(function(a){a==null&&(a="("),a+=i(a),this.cmd("insert",a),this.cmd("backward_char")}),lisp_close_paren:Ymacs_Interactive(function(a){var b=new RegExp("\\s*\\"+a,"ig");this.cmd("looking_at",b)&&this._deleteText(this.point(),this.matchData.after),this.cmd("insert",a)}),lisp_close_all_parens:Ymacs_Interactive(function(){var a=this.tokenizer.getParserForLine(this._rowcol.row);if(a){var b=this.tokenizer.stream;b.line=this._rowcol.row,b.col=0;try{while(b.col<this._rowcol.col)a.next()}catch(a){}a=a.copy().context.parens,a.r_foreach(function(a){this.cmd("lisp_close_paren",i(a.type))},this)}})});var a="\ndeftype defstruct defclass \ndefmacro defun defmethod defgeneric defpackage in-package defreadtable in-readtable \nwhen cond unless etypecase typecase ctypecase \nlambda let load-time-value quote macrolet \nprogn prog1 prog2 progv go flet the \nif throw eval-when multiple-value-prog1 unwind-protect let* \nignore-errors handler-case case \nlabels function symbol-macrolet block tagbody catch locally \nreturn return-from setq multiple-value-call".qw().toHash(),b="loop do while".qw().toHash(),c="t nil".qw().toHash(),d={"(":")","{":"}","[":"]"},e={")":"(","}":"{","]":"["},f="defun defgeneric defmethod".qw().toHash(),g="deftype defclass defstruct".qw().toHash(),h={"if":"3+",when:"1*",lambda:"1*",unless:"1*",defun:"2*",defgeneric:"2*",defmethod:"2*",defclass:"2*",defmacro:"2*",progn:"0*",prog1:"0*",prog2:"0*",let:"1*"};function i(a){return d[a]}function j(a){return e[a]}function k(a){return a.toLowerCase()!=a.toUpperCase()||/^[-0-9!#$%&*+./:<=>?@\[\]\^_\{\}~]$/i.test(a)}function l(a){return a!="#"&&k(a)}Ymacs_Tokenizer.define("lisp",function(d,e){var m=[],n=false,o=false,p=null,q=[],r=[],s=[],t=[],u={next:D,copy:v,indentation:E};function v(){var a=b.context={cont:m.slice(0),quote:p,inString:n,inComment:o,parens:q.slice(0),passedParens:r.slice(0),backList:s.slice(0),list:t.slice(0)};function b(){m=a.cont.slice(0),n=a.inString,p=a.quote,o=a.inComment,q=a.parens.slice(0),r=a.passedParens.slice(0),s=a.backList.slice(0),t=a.list.slice(0);return u}return b}function w(a,b,c){e.onToken(d.line,a,b,c)}function x(a){a==null&&(a={c1:d.col}),t.push(a)}function y(){return d.buffer.getq("indent_level")}function z(){var a=d.col,b=d.get(),c=b;while(!d.eol()){b=d.peek();if(!k(b))break;c+=b,d.nextCol()}return b&&{line:d.line,c1:a,c2:d.col,id:c.toLowerCase()}}function A(a,b){var c,e=false,f=d.col;while(!d.eol()){if((c=d.peek())===a&&!e){m.pop(),n=null,w(f,d.col,b),w(d.col,++d.col,b+"-stopper");return true}e=!e&&c==="\\",d.nextCol()}w(f,d.col,b)}function B(){var a=d.lineText(),b=a.indexOf("|#",d.col),c=/^\s*\|+/.exec(a.substr(d.col));c&&w(d.col,d.col+=c[0].length,"mcomment-starter"),b>=0?(m.pop(),o=null,w(d.col,b,"mcomment"),w(b,b+=2,"mcomment-stopper"),d.col=b):(w(d.col,a.length,"mcomment"),d.col=a.length)}function C(a){var b=t&&t.length>0&&t[0].id;if(b){b=b.toLowerCase();if(a==null)return b;return typeof a=="string"?b==a:b in a}}function D(){d.checkStop();if(m.length>0)return m.peek()();var e=d.peek(),h;if(h=d.lookingAt(/^#\\(Space|Newline|.?)/i))x(),w(d.col,d.col+=h[0].length,"constant");else if(d.lookingAt(/^#\x27[^(]/))x(),d.col+=2,h=z(),w(h.c1,h.c2,"function-name");else if(d.lookingAt("#|"))o={line:d.line,c1:d.col},w(d.col,d.col+=2,"mcomment-starter"),m.push(B);else if(h=d.lookingAt(/^;+/))w(d.col,d.col+=h[0].length,"comment-starter"),w(d.col,d.col=d.lineLength(),"comment");else if(e==="\"")x(),n={line:d.line,c1:d.col},w(d.col,++d.col,"string-starter"),m.push(A.$C(e,"string"));else if(h=d.lookingAt(/^[+-]?(#x[0-9a-f]+|#o[0-7]+|#b[01]+|[0-9]*\.?[0-9]+e?[0-9]*)(\x2f(#x[0-9a-f]+|#o[0-7]+|#b[01]+|[0-9]*\.?[0-9]+e?[0-9]*))?/))x(),w(d.col,d.col+=h[0].length,"number");else if(h=i(e))x(),s.push(t),t=[],q.push({line:d.line,col:d.col,type:e}),w(d.col,++d.col,"open-paren");else if(h=j(e)){var k=q.pop();!k||k.type!=h?w(d.col,++d.col,"error"):(k.closed={line:d.line,col:d.col,opened:k},r.push(k),t=s.pop(),w(d.col,++d.col,"close-paren"))}else if(l(e)&&(h=z())){var p=e==":"?"lisp-keyword":h.id in a?"keyword":h.id in b?"builtin":h.id in c?"constant":null;p||(C(f)&&t.length==1?p="function-name":C(g)&&t.length==1?p="type":/^with-/i.test(h.id)&&(p="builtin")),x(h),w(h.c1,h.c2,p)}else w(d.col,++d.col,null)}function E(){if(n)return 0;var a=d.lineText(),b=0,c=q.peek();if(c){var e=d.lineText(c.line);b=c.col+1;var f;if(l(e.charAt(b))){b=c.col+y();var g=/\s\S/g;g.lastIndex=c.col,(f=g.exec(e))&&(f=f.index+1)}if(t&&t.length){var i=C();if(i){i=i.replace(/\*$/,"");var j=h[i];!j&&/^with/.test(i)&&(j="1*"),j||(j="1+");if(j){var k=parseInt(j,10),m=/\+$/.test(j),o=/\*$/.test(j);if(t.length-1<k||m)f?b=f:b+=y()}}}}return b}return u})}(),DEFINE_SINGLETON("Ymacs_Keymap_LispMode",Ymacs_Keymap,function(a,b){a.KEYS={ENTER:"newline_and_indent","(":["lisp_open_paren","("],")":["lisp_close_paren",")"],"C-c ] && C-c C-]":"lisp_close_all_parens"}}),Ymacs_Buffer.newMode("lisp_mode",function(){var a=this.tokenizer;this.setTokenizer(new Ymacs_Tokenizer({buffer:this,type:"lisp"}));var b=this.setq({indent_level:2}),c=Ymacs_Keymap_LispMode();this.pushKeymap(c);var d=this.cmd("paren_match_mode",true);return function(){this.setTokenizer(a),this.setq(b),this.popKeymap(c),d||this.cmd("paren_match_mode",false)}}),function(){var a="abstract break case catch class const \ncontinue debugger default delete do else \nenum export extends final finally for \nfunction goto if implements import in \ninstanceof interface native new package \nprivate protected public return static \nsuper switch synchronized throw \nthrows transient try typeof var void let \nyield volatile while with".qw(),b="boolean byte char double float int long short void \nArray Date Function Math Number Object RegExp String".qw(),c="false null undefined Infinity NaN true arguments this".qw(),d="Infinity NaN \nPackages decodeURI decodeURIComponent \nencodeURI encodeURIComponent eval isFinite isNaN parseFloat \nparseInt undefined window document alert prototype constructor".qw(),e=/[\[({,;+\-*=?&|!:][\x20\t\n\xa0]*$|return\s+$|typeof\s+$/;function f(a){return a.toLowerCase()!=a.toUpperCase()}function g(a){return a&&(f(a)||/^[_$]$/.test(a))}function h(a){return a&&(f(a)||/^[0-9_$]$/.test(a))}var i={"(":")","{":"}","[":"]"},j={")":"(","}":"{","]":"["};function k(a){return i[a]}function l(a){return j[a]}function m(a,b,c,d,f,j){var m=[],n=[],o=[],p=null,q=null,r={next:z,copy:t,indentation:A};function s(){return f.buffer.getq("indent_level")}function t(){var a=b.context={cont:m.slice(0),inComment:p,inString:q,parens:n.slice(0),passedParens:o.slice(0)};function b(){m=a.cont.slice(0),p=a.inComment,q=a.inString,n=a.parens.slice(0),o=a.passedParens.slice(0);return r}return b}function u(a,b,c){j.onToken(f.line,a,b,c)}function v(){var a=f.col,b=f.get(),c=b;while(!f.eol()){b=f.peek();if(!h(b))break;c+=b,f.nextCol()}return b&&{line:f.line,c1:a,c2:f.col,id:c}}function w(){var a=f.lineText(),b=a.indexOf("*/",f.col),c=/^\s*\*+/.exec(a.substr(f.col));c&&u(f.col,f.col+=c[0].length,"mcomment-starter"),b>=0?(m.pop(),p=null,u(f.col,b,"mcomment"),u(b,b+=2,"mcomment-stopper"),f.col=b):(u(f.col,a.length,"mcomment"),f.col=a.length)}function x(a,b){var c,d=false,e=f.col;while(!f.eol()){if((c=f.peek())===a&&!d){m.pop(),q=null,u(e,f.col,b),u(f.col,++f.col,b+"-stopper");return true}d=!d&&c==="\\",f.nextCol()}u(e,f.col,b)}function y(){var a,b=false,c=0,d=f.col;while(!f.eol()){a=f.peek(),k(a)&&!b&&!c&&c++,l(a)&&!b&&(c--,c<0&&(c=0));if(a==="/"&&!b&&!c){m.pop(),q=null,u(d,f.col,"regexp"),u(f.col,++f.col,"regexp-stopper");var e=f.lookingAt(/^[gmsiy]+/);e&&u(f.col,f.col+=e[0].length,"regexp-modifier");return true}b=!b&&a==="\\",f.nextCol()}u(d,f.col,"regexp")}function z(){f.checkStop();if(m.length>0)return m.peek()();var h=f.peek(),i,j;if(f.lookingAt("/*"))p={line:f.line,c1:f.col},u(f.col,f.col+=2,"mcomment-starter"),m.push(w);else if(f.lookingAt("//"))u(f.col,f.col+=2,"comment-starter"),u(f.col,f.col=f.lineLength(),"comment");else if(h==="\""||h==="'")q={line:f.line,c1:f.col},u(f.col,++f.col,"string-starter"),m.push(x.$C(h,"string"));else if(i=f.lookingAt(/^0x[0-9a-f]+|^[0-9]*\.?[0-9]+/))u(f.col,f.col+=i[0].length,"number");else if(g(h)&&(j=v())){var r=j.id in a?"keyword":j.id in b?"type":j.id in c?"constant":j.id in d?"builtin":null;u(j.c1,j.c2,r)}else if(j=k(h))n.push({line:f.line,col:f.col,type:h}),u(f.col,++f.col,"open-paren");else if(j=l(h)){var s=n.pop();!s||s.type!=j?u(f.col,++f.col,"error"):(s.closed={line:f.line,col:f.col,opened:s},o.push(s),u(f.col,++f.col,"close-paren"))}else h==="/"&&e.test(f.textBefore())?(u(f.col,++f.col,"regexp-starter"),m.push(y)):(i=f.lookingAt(/^\s+$/))?u(f.col,f.col+=i[0].length,"trailing-whitespace"):u(f.col,++f.col,null)}function A(){if(q)return 0;var a=f.line,b=f.lineText(),c=0;if(p){var d=f.lineText(p.line);c=p.c1+1;if(!/^\s*\*/.test(b)){var e=/[^\s*]/g;e.lastIndex=p.c1+1;var g=e.exec(d);g&&(c=g.index)}return c}var h=n.peek();if(h){var e=new RegExp("^\\s*\\"+i[h.type]),j=e.test(b),k=f.lineText(h.line);e=/\S/g,e.lastIndex=h.col+1;var g=e.exec(k);g?c=j?h.col:g.index:(c=f.lineIndentation(h.line)+s(),j&&(c-=s()))}if(a>0){var l=f.textBefore();if(/\)\s*$/.test(l)&&o.length>0){h=o.peek();var m=f.lineText(h.line);/^\s*(if|for|while)\W/.test(m)&&(c+=s())}else/\Welse\s*$/.test(l)&&(c+=s())}/^\s*(case|default)\W/.test(b)&&(c-=s()/2);return c}return r}Ymacs_Tokenizer.define("js",m.$C(a.toHash(true),b.toHash(true),c.toHash(true),d.toHash(true)));var n=d.concat("\nDEFINE_CLASS DEFINE_SINGLETON DEFINE_HIDDEN_CLASS \nDEFAULT_ARGS DEFAULT_EVENTS \nFIXARGS CONSTRUCT BEFORE_BASE FINISH_OBJECT_DEF \nD P $".qw());Ymacs_Tokenizer.define("js-dynarchlib",m.$C(a.toHash(true),b.toHash(true),c.toHash(true),n.toHash(true)))}(),DEFINE_SINGLETON("Ymacs_Keymap_CLanguages",Ymacs_Keymap,function(a,b){a.KEYS={ENTER:"newline_and_indent","} && ) && ] && : && ; && { && ( && [ && *":"c_insert_and_indent"}}),Ymacs_Buffer.newMode("javascript_mode",function(a){var b=this.tokenizer,c=Ymacs_Keymap_CLanguages();this.setTokenizer(new Ymacs_Tokenizer({buffer:this,type:a?"js-dynarchlib":"js"})),this.pushKeymap(c);var d=this.cmd("paren_match_mode",true);return function(){this.setTokenizer(b),this.popKeymap(c),d||this.cmd("paren_match_mode",false)}}),Ymacs_Buffer.newCommands({javascript_dl_mode:Ymacs_Interactive(function(){return this.cmd("javascript_mode",true)}),c_electric_block:Ymacs_Interactive(function(){this.cmd("indent_line"),this.cmd("insert","{\n\n}"),this.cmd("indent_line"),this.cmd("backward_line",1),this.cmd("indent_line")}),c_insert_and_indent:Ymacs_Interactive(function(){var a;if(a=this.cmd("self_insert_command")){this.cmd("indent_line");return a}})}),Ymacs_Tokenizer.define("xml",function(a,b){var c=[],d=[],e=null,f=null,g={next:s,copy:h,indentation:t};function h(){var a=c.slice(0),b=d.slice(0),h=e,i=f;function j(){d=b.slice(0),c=a.slice(0),e=h,f=i;return g}return j}function i(){return a.buffer.getq("indent_level")}function j(c,d,e){b.onToken(a.line,c,d,e)}function k(a){return a.toLowerCase()!=a.toUpperCase()}function l(a){return a&&(k(a)||/^[:_-]$/.test(a))}function m(a){return a&&(k(a)||/^[0-9_-]$/.test(a))}function n(){var b=a.col,c=a.get(),d=c;while(!a.eol()){c=a.peek();if(!m(c))break;d+=c,a.nextCol()}return c&&{line:a.line,c1:b,c2:a.col,id:d}}function o(b){var c,e=false,f=a.col;while(!a.eol()){if((c=a.peek())===b&&!e){d.pop(),j(f,a.col,"string"),j(a.col,++a.col,"string-stopper");return}e=!e&&c==="\\",a.nextCol()}j(f,a.col,"string")}function p(){var b=a.peek(),f;a.lookingAt(/^\x2f>/)?(d.pop(),e=null,j(a.col,++a.col,"xml-closetag-slash"),j(a.col,++a.col,"xml-close-bracket")):b===">"?(d.pop(),c.push(e),e=null,j(a.col,++a.col,"xml-close-bracket")):l(b)&&(f=n())?j(f.c1,f.c2,"xml-attribute"):b==="\""||b==="'"?(j(a.col,++a.col,"string-starter"),d.push(o.$C(b))):j(a.col,++a.col,null)}function q(b,c){var e=a.lineText(),g=e.indexOf(c,a.col);g>=0?(d.pop(),j(a.col,g,b),f=null,j(g,g+=c.length,b+"-stopper"),a.col=g):(j(a.col,e.length,b),a.col=e.length)}function r(){var b=a.lookingAt(/^([\s\xA0]*)(>?)/);b&&b[0]?(b[1]&&j(a.col,a.col+=b[1].length,null),b[2]&&(j(a.col,a.col+=b[2].length,"xml-close-bracket"),d.pop())):j(a.col,++a.col,"error")}function s(){a.checkStop();if(d.length>0)return d.peek()();var b=a.peek(),g;if(a.lookingAt("<![CDATA["))j(a.col,a.col+=9,"xml-cdata-starter"),f={line:a.line,c1:a.col},d.push(q.$C("xml-cdata","]]>"));else if(a.lookingAt("<!--"))j(a.col,a.col+=4,"mcomment-starter"),f={line:a.line,c1:a.col},d.push(q.$C("mcomment","-->"));else if(a.lookingAt(/^<\x2f/)&&l(a.peek(+2))){j(a.col,++a.col,"xml-open-bracket"),j(a.col,++a.col,"xml-closetag-slash");var h=n(),i=c.pop();j(h.c1,h.c2,i&&i.id==h.id?"xml-close-tag":"error"),d.push(r)}else if(b==="<"&&l(a.peek(+1))){j(a.col,++a.col,"xml-open-bracket");var h=n();j(h.c1,h.c2,"xml-open-tag"),e=h,d.push(p)}else(g=a.lookingAt(/^&.*?;/))?(j(a.col,++a.col,"xml-entity-starter"),j(a.col,a.col+=g[0].length-2,"xml-entity"),j(a.col,++a.col,"xml-entity-stopper")):b==="&"?j(a.col,++a.col,"error"):j(a.col,++a.col,null)}function t(){var b,d;if(f)b=a.lineIndentation(f.line)+i();else if(e)b=e.c1+e.id.length+1;else if(d=c.peek())b=a.lineIndentation(d.line)+i(),/^\s*<\x2f/.test(a.lineText())&&(b-=i());return b}return g}),DEFINE_SINGLETON("Ymacs_Keymap_XML",Ymacs_Keymap,function(a,b){a.KEYS={"C-c /":"xml_close_tag","C-ENTER":"xml_zen_expand",ENTER:"newline_and_indent"}}),Ymacs_Buffer.newMode("xml_mode",function(){var a=this.tokenizer;this.setTokenizer(new Ymacs_Tokenizer({buffer:this,type:"xml"}));var b=Ymacs_Keymap_XML();this.pushKeymap(b);var c=this.setq({indent_level:2});return function(){this.setTokenizer(a),this.popKeymap(b),this.setq(c)}}),function(){DEFINE_SINGLETON("Ymacs_Keymap_XML_Zen",Ymacs_Keymap,function(a,b){a.KEYS={TAB:"xml_zen_next_poi","S-TAB":"xml_zen_prev_poi","C-g":"xml_zen_stop"}});var a=1,b=2,c=3,d=4,e=5;function f(a,b){for(var c=a.repeat||1,d=1;d<=c;++d)d>1&&b("\n"),b("<",a.type),a.id&&b(" id=\"",a.id.replace(/\$/g,d),"\""),a.klass&&b(" class=\"",a.klass.replace(/\$/g,d),"\""),a.attributes&&a.attributes.foreach(function(a){b(" ",a,"=\"|\"")}),b(">"),a.child?(b("\n"),f(a.child,b),b("\n")):b("|"),b("</",a.type,">"),a.next&&(b("\n"),f(a.next,b))}function g(f,h){var i={type:""},j=a;OUTER:while(h<f.length){var k=f.charAt(h++);switch(k){case"#":j=c,i.id="";break;case".":j=b,i.klass!=null?i.klass+=" ":i.klass="";break;case":":j=e,i.attributes==null&&(i.attributes=[]),i.attributes.push("");break;case"*":j=d,i.repeat="";break;case">":i.child=g(f,h),h=i.child.i;break OUTER;case"(":i.child=g(f,h),h=i.child.i;break;case")":break OUTER;case"+":i.next=g(f,h),h=i.next.i;break OUTER;default:switch(j){case a:i.type+=k;break;case b:i.klass+=k;break;case c:i.id+=k;break;case d:i.repeat=parseInt(String(i.repeat)+k,10);break;case e:i.attributes.push(i.attributes.pop()+k)}}}i.i=h;return i}function h(){var a=this.point(),b=this.getq("xml_zen_markers"),c=b[0],d=b.peek();(a<c.getPosition()||a>d.getPosition()||d.getPosition()==b.peek(1).getPosition())&&this.cmd("xml_zen_stop")}Ymacs_Buffer.newCommands({xml_close_tag:Ymacs_Interactive(function(){this.cmd("close_last_xml_tag"),this.cmd("indent_line")}),xml_zen_expand:Ymacs_Interactive(function(){this.cmd("xml_zen_stop");var a=String.buffer(),b=this.cmd("save_excursion",function(){this.cmd("backward_whitespace");while(!this.cmd("looking_back",/[\x20\xa0\s\t\n;&]/))if(!this.cmd("backward_char"))break;return this.point()}),c=this.point();try{f(g(this.cmd("buffer_substring",b,c).trim(),0),a)}catch(a){throw new Ymacs_Exception("The Zen is not strong today :-/")}a=a.get(),this.cmd("delete_region",b,c),this.cmd("insert",a),b=this.createMarker(b,false,"xml_zen");var d=this.createMarker(this.point(),true,"xml_zen"),e=[];this.cmd("goto_char",b.getPosition());while(this.cmd("search_forward","|",d.getPosition()))this.cmd("backward_delete_char"),e.push(this.createMarker(this.point(),true,"xml_zen_start")),e.push(this.createMarker(this.point(),false,"xml_zen_end"));this.cmd("indent_region",b.getPosition(),d.getPosition());var i=e.length;i>0?(this.cmd("goto_char",e[0]),e.unshift(b),e.push(d),this.setq("xml_zen_markers",e),this.pushKeymap(Ymacs_Keymap_XML_Zen()),this.addEventListener("afterInteractiveCommand",h)):(b.destroy(),d.destroy())}),xml_zen_stop:Ymacs_Interactive(function(){var a=this.getq("xml_zen_markers");a&&(a.map("destroy"),this.setq("xml_zen_markers",null)),this.popKeymap(Ymacs_Keymap_XML_Zen()),this.removeEventListener("afterInteractiveCommand",h)}),xml_zen_next_poi:Ymacs_Interactive(function(){var a=this.getq("xml_zen_markers"),b=this.point();a.foreach(function(a){a.getPosition()>b&&(this.cmd("goto_char",a.getPosition()),$BREAK())},this)}),xml_zen_prev_poi:Ymacs_Interactive(function(){var a=this.getq("xml_zen_markers"),b=this.point();a.r_foreach(function(a){a.getPosition()<b&&(this.cmd("goto_char",a.getPosition()),$BREAK())},this)})})}(),Ymacs_Tokenizer.define("css",function(a,b){var c={next:r,copy:i,indentation:s},d=[],e=[],f=[],g=null,h=null;function i(){var a=b.context={parens:d.slice(0),passedParens:e.slice(0),cont:f.slice(0),inString:g,inComment:h};function b(){d=a.parens.slice(0),e=a.passedParens.slice(0),f=a.cont.slice(0),g=a.inString,h=a.inComment;return c}return b}function j(){return b.buffer.getq("indent_level")}var k={"(":")","{":"}","[":"]"},l={")":"(","}":"{","]":"["};function m(a){return k[a]}function n(a){return l[a]}function o(c,d,e){b.onToken(a.line,c,d,e)}function p(){var b=a.lineText(),c=b.indexOf("*/",a.col),d=/^\s*\*+/.exec(b.substr(a.col));d&&o(a.col,a.col+=d[0].length,"mcomment-starter"),c>=0?(f.pop(),h=null,o(a.col,c,"mcomment"),o(c,c+=2,"mcomment-stopper"),a.col=c):(o(a.col,b.length,"mcomment"),a.col=b.length)}function q(b,c){var d,e=false,h=a.col;while(!a.eol()){if((d=a.peek())===b&&!e){f.pop(),g=null,o(h,a.col,c),o(a.col,++a.col,c+"-stopper");return true}e=!e&&d==="\\",a.nextCol()}o(h,a.col,c)}function r(){a.checkStop();if(f.length>0)return f.peek()();var b=a.peek(),c;if(a.lookingAt("/*"))h={line:a.line,c1:a.col},o(a.col,a.col+=2,"mcomment-starter"),f.push(p);else if(b==="\""||b==="'")g={line:a.line,c1:a.col},o(a.col,++a.col,"string-starter"),f.push(q.$C(b,"string"));else if(c=m(b))d.push({line:a.line,col:a.col,type:b}),o(a.col,++a.col,"open-paren");else if(c=n(b)){var i=d.pop();!i||i.type!=c?o(a.col,++a.col,"error"):(i.closed={line:a.line,col:a.col,opened:i},e.push(i),o(a.col,++a.col,"close-paren"))}else(c=a.lookingAt(/^([a-zA-z-]+):/))?(o(a.col,a.col+=c[1].length,"keyword"),o(a.col,++a.col,"operator")):(c=a.lookingAt(/^([0-9.]+)(px|pt|em|ex|in|cm|mm|%)/))?(o(a.col,a.col+=c[1].length,"number"),o(a.col,a.col+=c[2].length,"type")):(c=a.lookingAt(/^(\.[a-zA-Z0-9_:-]+)/))?o(a.col,a.col+=c[1].length,"function-name"):(c=a.lookingAt(/^(#[a-zA-Z0-9_:-]+)/))?o(a.col,a.col+=c[1].length,"constant"):(c=a.lookingAt(/^(@[a-zA-Z0-9_:-]+)/))?o(a.col,a.col+=c[1].length,"builtin"):(c=a.lookingAt(/^(url|none|auto|bold|italic|normal|inherit|print|screen|all)/))?o(a.col,a.col+=c[1].length,"builtin"):o(a.col,++a.col,null)}function s(){if(g)return 0;var b=a.line,c=a.lineText(),e=0;if(h){var f=a.lineText(h.line);e=h.c1+1;if(!/^\s*\*/.test(c)){var i=/[^\s*]/g;i.lastIndex=h.c1+1;var l=i.exec(f);l&&(e=l.index)}return e}var m=d.peek();if(m){var i=new RegExp("^\\s*\\"+k[m.type]),n=i.test(c),o=a.lineText(m.line);i=/\S/g,i.lastIndex=m.col+1;var l=i.exec(o);l?e=n?m.col:l.index:(e=a.lineIndentation(m.line)+j(),n&&(e-=j()))}return e}return c}),DEFINE_SINGLETON("Ymacs_Keymap_CSS",Ymacs_Keymap),Ymacs_Keymap_CSS().defineKeys({ENTER:"newline_and_indent",": && } && )":"c_insert_and_indent"}),Ymacs_Buffer.newMode("css_mode",function(){var a=this.tokenizer;this.setTokenizer(new Ymacs_Tokenizer({buffer:this,type:"css"}));var b=this.cmd("paren_match_mode",true);this.pushKeymap(Ymacs_Keymap_CSS());return function(){this.setTokenizer(a),b||this.cmd("paren_match_mode",false),this.popKeymap(Ymacs_Keymap_CSS())}}),Ymacs_Tokenizer.define("markdown",function(a,b){var c={next:f,copy:d};function d(){var a=b.context={};function b(){return c}return b}function e(c,d,e){b.onToken(a.line,c,d,e)}function f(){a.checkStop();var c;a.col==0&&(c=a.lookingAt(/^(#+)/))?e(0,a.col=a.lineLength(),"markdown-heading"+c[0].length):a.line>0&&a.col==0&&(c=a.lookingAt(/^[=-]+$/))&&/\S/.test(a.lineText(a.line-1))?(c=c[0].charAt(0)=="="?1:2,c="markdown-heading"+c,b.onToken(a.line-1,0,a.lineLength(a.line-1),c),e(0,a.col=a.lineLength(),c)):a.col==0&&(c=a.lookingAt(/^[>\s]*/))?((c=c[0].replace(/\s+/g,"").length)>3&&(c=""),c="markdown-blockquote"+c,e(0,a.col=a.lineLength(),c)):e(a.col,++a.col,null)}return c}),Ymacs_Buffer.newMode("markdown_mode",function(){var a=this.tokenizer;this.setTokenizer(new Ymacs_Tokenizer({buffer:this,type:"markdown"}));return function(){this.setTokenizer(a)}}) \ No newline at end of file
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.#editorload.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/.#editorload.js
new file mode 120000
index 0000000..76cdbc5
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.#editorload.js
@@ -0,0 +1 @@
+supriya@dragbox.4544:1338183693 \ No newline at end of file
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.#savetext.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/.#savetext.js
new file mode 120000
index 0000000..22b842f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.#savetext.js
@@ -0,0 +1 @@
+supriya@dragbox.2387:1336633521 \ No newline at end of file
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/all-wcprops
new file mode 100644
index 0000000..de6e46b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/all-wcprops
@@ -0,0 +1,149 @@
+K 25
+svn:wc:ra_dav:version-url
+V 37
+/svn/labcode/!svn/ver/56/Ymacs/src/js
+END
+ymacs-frame.js
+K 25
+svn:wc:ra_dav:version-url
+V 52
+/svn/labcode/!svn/ver/56/Ymacs/src/js/ymacs-frame.js
+END
+ymacs-regexp.js
+K 25
+svn:wc:ra_dav:version-url
+V 52
+/svn/labcode/!svn/ver/2/Ymacs/src/js/ymacs-regexp.js
+END
+ymacs-mode-js.js
+K 25
+svn:wc:ra_dav:version-url
+V 53
+/svn/labcode/!svn/ver/2/Ymacs/src/js/ymacs-mode-js.js
+END
+ymacs-exception.js
+K 25
+svn:wc:ra_dav:version-url
+V 55
+/svn/labcode/!svn/ver/2/Ymacs/src/js/ymacs-exception.js
+END
+ymacs-commands-utils.js
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svn/labcode/!svn/ver/2/Ymacs/src/js/ymacs-commands-utils.js
+END
+ymacs-keyboard.js
+K 25
+svn:wc:ra_dav:version-url
+V 54
+/svn/labcode/!svn/ver/2/Ymacs/src/js/ymacs-keyboard.js
+END
+ymacs-commands.js
+K 25
+svn:wc:ra_dav:version-url
+V 55
+/svn/labcode/!svn/ver/56/Ymacs/src/js/ymacs-commands.js
+END
+ymacs-keymap-isearch.js
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svn/labcode/!svn/ver/2/Ymacs/src/js/ymacs-keymap-isearch.js
+END
+ymacs.js
+K 25
+svn:wc:ra_dav:version-url
+V 46
+/svn/labcode/!svn/ver/51/Ymacs/src/js/ymacs.js
+END
+gnowmacs.js
+K 25
+svn:wc:ra_dav:version-url
+V 49
+/svn/labcode/!svn/ver/51/Ymacs/src/js/gnowmacs.js
+END
+ymacs-mode-markdown.js
+K 25
+svn:wc:ra_dav:version-url
+V 59
+/svn/labcode/!svn/ver/2/Ymacs/src/js/ymacs-mode-markdown.js
+END
+ymacs-buffer.js
+K 25
+svn:wc:ra_dav:version-url
+V 52
+/svn/labcode/!svn/ver/2/Ymacs/src/js/ymacs-buffer.js
+END
+ymacs-mode-css.js
+K 25
+svn:wc:ra_dav:version-url
+V 54
+/svn/labcode/!svn/ver/2/Ymacs/src/js/ymacs-mode-css.js
+END
+ymacs-tokenizer.js
+K 25
+svn:wc:ra_dav:version-url
+V 56
+/svn/labcode/!svn/ver/51/Ymacs/src/js/ymacs-tokenizer.js
+END
+ymacs-keymap-emacs.js
+K 25
+svn:wc:ra_dav:version-url
+V 59
+/svn/labcode/!svn/ver/51/Ymacs/src/js/ymacs-keymap-emacs.js
+END
+ymacs-interactive.js
+K 25
+svn:wc:ra_dav:version-url
+V 57
+/svn/labcode/!svn/ver/2/Ymacs/src/js/ymacs-interactive.js
+END
+gnowmoz.html
+K 25
+svn:wc:ra_dav:version-url
+V 49
+/svn/labcode/!svn/ver/2/Ymacs/src/js/gnowmoz.html
+END
+ymacs-marker.js
+K 25
+svn:wc:ra_dav:version-url
+V 52
+/svn/labcode/!svn/ver/2/Ymacs/src/js/ymacs-marker.js
+END
+ymacs-mode-paren-match.js
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svn/labcode/!svn/ver/2/Ymacs/src/js/ymacs-mode-paren-match.js
+END
+ymacs-mode-xml.js
+K 25
+svn:wc:ra_dav:version-url
+V 54
+/svn/labcode/!svn/ver/2/Ymacs/src/js/ymacs-mode-xml.js
+END
+ymacs-textprop.js
+K 25
+svn:wc:ra_dav:version-url
+V 54
+/svn/labcode/!svn/ver/2/Ymacs/src/js/ymacs-textprop.js
+END
+ymacs-minibuffer.js
+K 25
+svn:wc:ra_dav:version-url
+V 56
+/svn/labcode/!svn/ver/2/Ymacs/src/js/ymacs-minibuffer.js
+END
+ymacs-keymap.js
+K 25
+svn:wc:ra_dav:version-url
+V 52
+/svn/labcode/!svn/ver/2/Ymacs/src/js/ymacs-keymap.js
+END
+ymacs-mode-lisp.js
+K 25
+svn:wc:ra_dav:version-url
+V 55
+/svn/labcode/!svn/ver/2/Ymacs/src/js/ymacs-mode-lisp.js
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/entries
new file mode 100644
index 0000000..f240c44
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/entries
@@ -0,0 +1,844 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/src/js
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-07-04T13:18:15.544880Z
+56
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+ymacs-frame.js
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+5ed2cc2361ad9c42a97908abb74ebf7e
+2011-07-04T13:18:15.544880Z
+56
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+29678
+
+ymacs-regexp.js
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+2fce9bea79401ba94d305c4ea70d28c2
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4579
+
+ymacs-mode-js.js
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+96a16055c49d7c1018e00fc3458bd8e0
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+19781
+
+ymacs-exception.js
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+6bdf528e2365965debcdd385776b6654
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1778
+
+ymacs-commands-utils.js
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+1550ac489247bfadb2f82ca481d7ea82
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+6924
+
+ymacs-keyboard.js
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+aafe1644d74cdadfc1981798c831a7d8
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4025
+
+ymacs-commands.js
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+722253cc4ce0092e0efe74f24fcb0e43
+2011-07-04T13:18:15.544880Z
+56
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+60351
+
+ymacs-keymap-isearch.js
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+79bc67c8ab57bc84d73900400fb508a7
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+8603
+
+ymacs.js
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+0b839bd5d69a92cbde47c20453bf8215
+2011-06-29T11:25:20.046232Z
+51
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+21453
+
+gnowmacs.js
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+b499c721fadefaccd92df487619fbb14
+2011-06-29T11:25:20.046232Z
+51
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+12608
+
+ymacs-mode-markdown.js
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+2f403e0c6c30cd6fb80a5e2e928ddf5b
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+3741
+
+ymacs-buffer.js
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+41fbb9ce94f505c47688e6f8a7331613
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+42762
+
+ymacs-mode-css.js
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+0036f7c58e013e824960b1ce8a973b89
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+11214
+
+ymacs-tokenizer.js
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+78f31630e293e4eaad6dd207ca2621e0
+2011-06-29T11:25:20.046232Z
+51
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+12442
+
+ymacs-keymap-emacs.js
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+f72ee282d04ce2e9b631fbb865e32d6b
+2011-06-29T11:25:20.046232Z
+51
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+14759
+
+ymacs-interactive.js
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+796e38ee63e912813e326cab98cd2020
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+10933
+
+gnowmoz.html
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+aafcff8e156382d178dc64dd5a306515
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+11409
+
+ymacs-marker.js
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+afa98ce75b65cad4757cd6c86c2a5f69
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4050
+
+ymacs-mode-paren-match.js
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+7d81f6ee6801b386db66f7cfa81eb5e0
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+14679
+
+ymacs-mode-xml.js
+file
+
+
+
+
+2012-01-23T13:07:10.493354Z
+6dcb936c73b5fe24479b065d80de8755
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+20046
+
+ymacs-textprop.js
+file
+
+
+
+
+2012-01-23T13:07:10.497354Z
+a50dd6040857ea0ddc45de8175544fbb
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+7437
+
+ymacs-minibuffer.js
+file
+
+
+
+
+2012-01-23T13:07:10.497354Z
+6a9c387990e489ef6ff0ebdbfcb78b68
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+19677
+
+ymacs-keymap.js
+file
+
+
+
+
+2012-01-23T13:07:10.497354Z
+a5e9c330425cf8c639b929076ad9e66e
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+6856
+
+ymacs-mode-lisp.js
+file
+
+
+
+
+2012-01-23T13:07:10.497354Z
+9bced0959eba036e3b05cd01010b25ed
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+19965
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/gnowmacs.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/gnowmacs.js.svn-base
new file mode 100644
index 0000000..86945dd
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/gnowmacs.js.svn-base
@@ -0,0 +1,345 @@
+// This file is part of Gnowmacs for GNOWSYS: Gnowledge Networking
+// and Organizing System.
+
+// Gnowmacs is free software; you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation; either version 3 of
+// the License, or (at your option) any later version.
+
+// Gnowmacs is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU Affero General Public
+// License along with Gnowmacs (agpl.txt); if not, write to the
+// Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+// Boston, MA 02110-1301 USA59 Temple Place, Suite 330,
+
+// Author: Divya <divyas15@gmail.com>
+
+// @require ymacs-tokenizer.js
+
+var arr4;
+Ymacs_Tokenizer.define("org", function(stream, tok){
+
+ var PARSER = {
+ next : next,
+ copy : copy,
+ indentation : indentation
+ };
+
+ var $parens = [];
+ var $passedParens = [];
+ var $cont = [];
+ var $inString = null;
+ var $inComment = null;
+ var $inHeading = null;
+
+ function copy() {
+ var c = resume.context = {
+ parens : $parens.slice(0),
+ passedParens : $passedParens.slice(0),
+ cont : $cont.slice(0),
+ inString : $inString,
+ inComment : $inComment,
+ inHeading : $inHeading
+ };
+ function resume() {
+ $parens = c.parens.slice(0);
+ $passedParens = c.passedParens.slice(0);
+ $cont = c.cont.slice(0);
+ $inString = c.inString;
+ $inComment = c.inComment;
+ $inHeading = c.inHeading;
+ return PARSER;
+ };
+ return resume;
+ };
+
+ function INDENT_LEVEL() {
+ return tok.buffer.getq("indent_level");
+ };
+
+ var OPEN_PAREN = {
+ "(" : ")",
+ "{" : "}",
+ "[" : "]"
+ };
+
+ var CLOSE_PAREN = {
+ ")" : "(",
+ "}" : "{",
+ "]" : "["
+ };
+
+ function isOpenParen(ch) {
+ return OPEN_PAREN[ch];
+ };
+
+ function isCloseParen(ch) {
+ return CLOSE_PAREN[ch];
+ };
+
+ function foundToken(c1, c2, type) {
+ tok.onToken(stream.line, c1, c2, type);
+ };
+
+ function readComment() {
+ var line = stream.lineText(), pos = line.indexOf("*/", stream.col);
+ var m = /^\s*\*+/.exec(line.substr(stream.col));
+ if (m) {
+ foundToken(stream.col, stream.col += m[0].length, "mcomment-starter");
+ }
+ if (pos >= 0) {
+ $cont.pop();
+ $inComment = null;
+ foundToken(stream.col, pos, "mcomment");
+ foundToken(pos, pos += 2, "mcomment-stopper");
+ stream.col = pos;
+ } else {
+ foundToken(stream.col, line.length, "mcomment");
+ stream.col = line.length;
+ }
+ };
+
+ function readString(end, type) {
+ var ch, esc = false, start = stream.col;
+ while (!stream.eol()) {
+ ch = stream.peek();
+ if (ch === end && !esc) {
+ $cont.pop();
+ $inString = null;
+ foundToken(start, stream.col, type);
+ foundToken(stream.col, ++stream.col, type + "-stopper");
+ return true;
+ }
+ esc = !esc && ch === "\\";
+ stream.nextCol();
+ }
+ foundToken(start, stream.col, type);
+ };
+
+ function readHeading(type) {
+ var start = stream.col;
+ while (!stream.eol()) {
+ stream.nextCol();
+ }
+ foundToken(start, stream.col, type);
+ };
+
+ function next() {
+ stream.checkStop();
+ if ($cont.length > 0)
+ return $cont.peek()();
+ var ch = stream.peek(), tmp;
+ if (stream.lookingAt("/*")) {
+ $inComment = { line: stream.line, c1: stream.col };
+ foundToken(stream.col, stream.col += 2, "mcomment-starter");
+ $cont.push(readComment);
+ }
+ else if (ch === '"' || ch === "'") {
+ $inString = { line: stream.line, c1: stream.col };
+ foundToken(stream.col, ++stream.col, "string-starter");
+ $cont.push(readString.$C(ch, "string"));
+ }
+ //to start with org
+ else if ((tmp = stream.lookingAt(/^(\[\[)(.+?)(\]\[)(.+?)(\]\])/))) {
+ foundToken(stream.col, stream.col += tmp[2].length+4, "org-link-url");
+ var url = tmp[2];
+ foundToken(stream.col, stream.col += (tmp[4].length+1), "org-link-text");
+ window.open(url);
+ foundToken(stream.col, stream.col += 1, "org-link-close");
+
+
+ }
+ else if ((tmp = stream.lookingAt(/^(\*.+?\*)/))) {
+ if (tmp[1].substring(1,2) === " " || tmp[1].substring(tmp[1].length-2, tmp[1].length-1) === " ")
+ {foundToken(stream.col, stream.col += tmp[1].length, null);}
+ else{
+ foundToken(stream.col, stream.col += tmp[1].length, "org-bold");
+ }
+ }
+ else if ((tmp = stream.lookingAt(/^(\/.+?\/)/))) {
+ if (tmp[1].substring(1,2) === " " || tmp[1].substring(tmp[1].length-2, tmp[1].length-1) === " ")
+ {foundToken(stream.col, stream.col += tmp[1].length, null);}
+ else{
+ foundToken(stream.col, stream.col += tmp[1].length, "org-italic");
+ }
+ }
+ else if ((tmp = stream.lookingAt(/^(_.+?_)/))) {
+ if (tmp[1].substring(1,2) === " " || tmp[1].substring(tmp[1].length-2, tmp[1].length-1) === " ")
+ {foundToken(stream.col, stream.col += tmp[1].length, null);}
+ else{
+ foundToken(stream.col, stream.col += tmp[1].length, "org-underline");
+ }
+ }
+ else if ((tmp = stream.lookingAt(/^(\+.+?\+)/))) {
+ if (tmp[1].substring(1,2) === " " || tmp[1].substring(tmp[1].length-2, tmp[1].length-1) === " ")
+ {foundToken(stream.col, stream.col += tmp[1].length, null);}
+ else{
+ foundToken(stream.col, stream.col += tmp[1].length, "org-strike");
+ }
+ }
+
+ else if ((tmp = stream.lookingAt(/^(\*+\s+)/))) {
+ if (stream.col == 0){
+ var headtype = "org-heading" + (tmp[1].length -1);
+ foundToken(stream.col, stream.col += tmp[1].length, headtype);
+ readHeading(headtype);
+ }
+ }
+
+
+ //to end with org
+
+ else {
+ foundToken(stream.col, ++stream.col, null);
+ }
+ };
+
+
+
+
+ function indentation() {
+ // no indentation for continued strings
+ if ($inString)
+ return 0;
+
+ var row = stream.line;
+ var currentLine = stream.lineText();
+ var indent = 0;
+
+ if ($inComment) {
+ var commentStartLine = stream.lineText($inComment.line);
+ indent = $inComment.c1 + 1;
+ if (!/^\s*\*/.test(currentLine)) {
+ // align with the first non-whitespace and non-asterisk character in the comment
+ var re = /[^\s*]/g;
+ re.lastIndex = $inComment.c1 + 1;
+ var m = re.exec(commentStartLine);
+ if (m)
+ indent = m.index;
+ }
+ return indent;
+ }
+
+ var p = $parens.peek();
+ if (p) {
+ // check if the current line closes the paren
+ var re = new RegExp("^\\s*\\" + OPEN_PAREN[p.type]);
+ var thisLineCloses = re.test(currentLine);
+
+ // Check if there is text after the opening paren. If so, indent to that column.
+ var line = stream.lineText(p.line);
+ re = /\S/g;
+ re.lastIndex = p.col + 1;
+ var m = re.exec(line);
+ if (m) {
+ // but if this line closes the paren, better use the column of the open paren
+ indent = thisLineCloses ? p.col : m.index;
+ }
+ else {
+ // Otherwise we should indent to one level more than the indentation of the line
+ // containing the opening paren.
+ indent = stream.lineIndentation(p.line) + INDENT_LEVEL();
+
+ // but if this line closes the paren, then back one level
+ if (thisLineCloses)
+ indent -= INDENT_LEVEL();
+ }
+ }
+
+ return indent;
+ };
+
+ return PARSER;
+
+});
+
+DEFINE_SINGLETON("Ymacs_Keymap_Org", Ymacs_Keymap);
+Ymacs_Keymap_Org().defineKeys({
+ "ENTER" : "newline_and_indent",
+ ": && } && )" : "c_insert_and_indent"
+});
+
+Ymacs_Buffer.newMode("org_mode", function(){
+
+ var tok = this.tokenizer;
+ this.setTokenizer(new Ymacs_Tokenizer({ buffer: this, type: "org" }));
+ var was_paren_match = this.cmd("paren_match_mode", true);
+ this.pushKeymap(Ymacs_Keymap_Org());
+
+ return function() {
+ this.setTokenizer(tok);
+ if (!was_paren_match)
+ this.cmd("paren_match_mode", false);
+ this.popKeymap(Ymacs_Keymap_Org());
+ };
+});
+
+
+Ymacs_Buffer.newCommands({
+
+ org_insert_heading: Ymacs_Interactive(function() {
+ this.cmd("beginning_of_line");
+ this.cmd("insert", "* ");
+ }),
+
+ org_bold: Ymacs_Interactive("r", function(begin, end) {
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ this.cmd("goto_char", begin);
+ this.cmd("insert", "*");
+ this.cmd("goto_char", end+1);
+ this.cmd("insert", "*");
+ }),
+
+ org_italic: Ymacs_Interactive("r", function(begin, end) {
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ this.cmd("goto_char", begin);
+ this.cmd("insert", "/");
+ this.cmd("goto_char", end+1);
+ this.cmd("insert", "/");
+ }),
+
+ org_underline: Ymacs_Interactive("r", function(begin, end) {
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ this.cmd("goto_char", begin);
+ this.cmd("insert", "_");
+ this.cmd("goto_char", end+1);
+ this.cmd("insert", "_");
+ }),
+
+ org_strike: Ymacs_Interactive("r", function(begin, end) {
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ this.cmd("goto_char", begin);
+ this.cmd("insert", "+");
+ this.cmd("goto_char", end+1);
+ this.cmd("insert", "+");
+ }),
+
+ org_file: Ymacs_Interactive("f", function() {
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ this.cmd("goto_char", begin);
+ this.cmd("insert", "+");
+ this.cmd("goto_char", end+1);
+ this.cmd("insert", "+");
+ }),
+ org_link: Ymacs_Interactive("r", function(begin, end) {
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ this.cmd("goto_char", begin);
+ this.cmd("insert", "[[");
+ this.cmd("goto_char", end+2);
+ this.cmd("insert", "]]");
+ }),
+ org_table_create: Ymacs_Interactive("r", function(begin, end) {
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ this.cmd("goto_char", begin);
+ this.cmd("insert", "|");
+ this.cmd("insert"," ");
+ //this.cmd("goto_char", end+1);
+ //this.cmd("insert", "|");
+ })
+
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/gnowmoz.html.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/gnowmoz.html.svn-base
new file mode 100644
index 0000000..7873887
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/gnowmoz.html.svn-base
@@ -0,0 +1,276 @@
+<!DOCTYPE html>
+<!--
+#**** BEGIN LICENSE BLOCK *****
+# Version: MPL 1.1/GPL 2.0/LGPL 2.1
+#
+# The contents of this file are subject to the Mozilla Public License
+# Version 1.1 (the "License"); you may not use this file except in
+# compliance with the License. You may obtain a copy of the License at
+# http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS"
+# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+# License for the specific language governing rights and limitations
+# under the License.
+#
+# The Original Code is MozGnowser code.
+#
+# The Initial Developer of the Original Code is Jayakrishnan B Nair
+# Portions created by the Initial Developer are Copyright (C) 2009-2010.
+# All Rights Reserved.
+#
+# Contributor(s):
+# Jayakrishnan B Nair <jayakrishnan.bk.nair@gmail.com>
+# Sai Srivatsan R Iyengar
+# Ridima Borkar
+# Foram Dalal
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 2 or later (the "GPL"), or
+# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+# in which case the provisions of the GPL or the LGPL are applicable instead
+# of those above. If you wish to allow use of your version of this file only
+# under the terms of either the GPL or the LGPL, and not to allow others to
+# use your version of this file under the terms of the MPL, indicate your
+# decision by deleting the provisions above and replace them with the notice
+# and other provisions required by the GPL or the LGPL. If you do not delete
+# the provisions above, a recipient may use your version of this file under
+# the terms of any one of the MPL, the GPL or the LGPL.
+#
+#**** END LICENSE BLOCK *****
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
+<head>
+<!--<link type="text/css" href="chrome://gnowmoz/content/css/ui-darkness/jquery-ui-1.8rc3.custom.css" rel="stylesheet" />-->
+<link type="text/css" href="chrome://gnowmoz/content/css/cupertino/jquery-ui-1.8rc3.custom.css" rel="stylesheet" />
+<!--<link type="text/css" rel="stylesheet" href="http://jqueryui.com/themes/base/ui.all.css" />-->
+<script type="text/javascript" src="chrome://gnowmoz/content/js/json2.js"></script>
+<script type="text/javascript" src="chrome://gnowmoz/content/js/jquery.js"></script>
+<script type="text/javascript" src="chrome://gnowmoz/content/js/jquery-ui.js"></script>
+<script type="text/javascript" src="chrome://gnowmoz/content/js/jquery.qtip.min.js"></script>
+<script type="text/javascript" src="chrome://gnowmoz/content/js/jquery.jsonviewer.js"></script>
+<!--<script type="text/javascript" src="http://jqueryui.com/themeroller/themeswitchertool/"></script>-->
+
+<script type="text/javascript" src="chrome://gnowmoz/content/js/jquery.hotkeys.js"></script>
+<script type="text/javascript" src="chrome://gnowmoz/content/js/gnowmoz.js"></script>
+
+</head>
+<body onLoad="dologin()">
+
+ <!-- HEADER WITH SEARCH BOX -->
+<div id="layout-header" style="display:none">
+ <div id="page-header" style="padding:5px;height:30px;background:#deedf7" class="ui-corner-all">
+ <div style="float:left;width:20%;font-weight:bold">MozGnowser</div>
+ <button style="float:left;width:10%" id="help">HELP TIPS</button>
+ <button style="float:left;" id="gnowql-shell-link" onClick="gnowqlShell()" > GnowQL SHELL </button>
+ <div style="float:left" id="themes" ></div>
+ <button style="float:right;" id="SEARCH" class="ui-widget-content" onClick="GnowqlSearch()">SEARCH</button>
+ <input type="text" style="float:right;font-size:18px" class="ui-widget-content ui-corner-all autocomplete"
+ id="search-value" value="" >
+ <select style="float:right;font-size:18px" id="search-type" class="ui-widget ui-widget-content ui-corner-all ">
+ <option value="All">ALL</option>
+ <option value="gbobjects">Object</option>
+ <option value="gbobjecttypes">Objecttype</option>
+ <option value="gbrelations">Relation</option>
+ <option value="gbrelationtypes">Relationtype</option>
+ <option value="gbattributes">Attribute</option>
+ <option value="gbattributetypes">Attributetype</option>
+ <option value="gbmetatypes">Metatype</option>
+ <option value="gbusers">User</option>
+ <option value="gbusertypes">Usertype</option>
+ <option value="gbprocess">Process</option>
+ <option value="gbprocesstypes">Processtype</option>
+ </select>
+
+ </div>
+<div id="search-loading"></div>
+</div>
+
+
+
+<div id="startup-info" style="display:none" class="ui-widget">
+<pre>
+ Welcome to MozGnowser
+
+ Searching the Gnowsys DB can be done using the
+ search box on the top right of the page.
+ The appropriate item of choice can be selected from the list.
+ The NBH-SVG tab will give a digramatic representation
+ of the item selected.
+ The NBH-INFO tab will give u textual representation
+ of the node's neighbourhood.
+
+ Various Key Shortcuts are available :
+ (do not press down the buttons continously and make sure to
+ have clicked outside the SVG image before using the shortcuts)
+ 1) Ctrl + z : Zoom In for the SVG image
+ 2) Ctrl + x : Zoom Out for the SVG image
+ 3) Ctrl + arrowkeys will help u pan the image as per requirement
+
+</pre>
+</div>
+
+<div id="search-tip" style="display:none">
+<pre>
+ Search Box :
+ You can search the title from the Gnowsys DB.
+ You can use "ssid:" without the quotes to
+ make a specific search example: "ssid:108"
+</pre>
+</div>
+
+
+<div id="result-table" style="width:100%;display:none">
+
+ <div id="result-border" style="width:79%;height:100%;border:4px #00FFFF solid;float:left">
+
+ <div id="add" style="width:100%:z-index:1000">
+ <h3><a href="#">Add</a></h3>
+ <div id="nbh-add" style="height:20%">
+ <ul>
+ <li><a href="#atabs-1" id="addrel">RELATIONS</a></li>
+ <li><a href="#atabs-2" id="addatt">ATTRIBUTES</a></li>
+ <li><a href="#atabs-3" id="adddep">DEPENDSON</a></li>
+ </ul>
+ <div id="atabs-1" >
+ <input type="text" id="nbh-add-nid-rel" style="width:30%;float:left;"
+ class="ui-widget-content ui-corner-all autocomplete"></input>
+ <select id="nbh-add-select-rel" class="text ui-widget-content " style="width:30%;float:left"></select>
+ <input type="text" id="nbh-add-text-rel" class="ui-widget-content ui-corner-all autocomplete"
+ style="width:30%;float:left"></input>
+ <input type="button" id="nbh-add-submit-rel" class="ui-widget-content ui-corner-all" value="Submit"
+ onclick='if(document.getElementById("nbh-add-text-rel").value!="")add("rel");'></input>
+ </div>
+ <div id="atabs-2">
+ <input type="text" id="nbh-add-nid-att" style="width:30%;float:left;"
+ class="ui-widget-content ui-corner-all autocomplete"></input>
+ <select id="nbh-add-select-att" class="text ui-widget-content" style="width:30%;float:left"></select>
+ <input type="text" id="nbh-add-text-att" class="text ui-widget-content ui-corner-all autocomplete"
+ style="width:30%;float:left"></input>
+ <input type="button" id="nbh-add-submit-att" class="text ui-widget-content ui-corner-all"
+ value="Submit" onclick='if(document.getElementById("nbh-add-text-att").value!="")add("att")'></input>
+ </div>
+
+ <div id="atabs-3">
+ <input type="text" id="nbh-add-nid-dep" style="width:30%;float:left;"
+ class="ui-widget-content ui-corner-all autocomplete"></input>
+ <select id="nbh-add-select-dep" class="text ui-widget-content" style="width:30%;float:left"></select>
+ <input type="text" id="nbh-add-text-dep" class="text ui-widget-content ui-corner-all autocomplete"
+ style="width:30%;float:left"></input>
+ <input type="button" id="nbh-add-submit-dep" class="text ui-widget-content ui-corner-all"
+ value="Submit" onclick='if(document.getElementById("nbh-add-text-dep").value!="")add("dep")'></input>
+ </div>
+
+ </div>
+ </div>
+
+
+ <div id="nbh-resultinfo" style="width:100%">
+ <ul>
+ <li><a href="#tabs-1" >NBH-SVG</a></li>
+ <li><a href="#tabs-2" >NBH-INFO</a></li>
+ </ul>
+ <div id="tabs-1">
+ <div id="nbh-svg" style="height:100%;width:100%"></div>
+ </div>
+ <div id="tabs-2">
+ <div id="nbh-info" style="height:100%;width:100%" ></div>
+ </div>
+ </div>
+ </div>
+
+ <div id="result-area" class="text" style="width:19.5%;float:right;border:4px #00FFFF solid;overflow:auto" ></div>
+
+</div>
+
+
+
+<!-- LOGIN FORM DIALOG-->
+<div id="login-form" title="Dialog Title" style="display:none" title="Login Form">
+ <p >All form fields are required.</p>
+
+
+ <table style="width:100%" align="left">
+ <tr>
+ <td><label for="name" >Name</label></td>
+ <td><input type="text" name="name" id="login" value="" class="text ui-widget-content ui-corner-all logintext"
+ style="width:100%"></td>
+ </tr>
+
+ <tr>
+ <td><label for="password" >Password</label></td>
+ <td><input type="password" name="password" id="pass" value="" style="width:100%"
+ class="text ui-widget-content ui-corner-all logintext"></td>
+ </tr>
+
+ <tr>
+ <td><label for="text" >GnowQL URL</label></td>
+ <td><input type="text" name="url" id="url" value="http://sandboxat.gnowledge.org/gnowql"
+ style="width:100%" class="text ui-widget-content ui-corner-all logintext"></td>
+ </tr>
+ </table>
+ <table style="width:100%">
+ <tr>
+ <td>
+ <div id="proxy" style="width:100%">
+ <h3><a href="#">Proxy Settings : Click To Enable</a></h3>
+ <div>
+ <table>
+ <tr>
+ <td><label style="float:left">Proxy URL</label></td>
+ <td><input type="text" name="url" id="proxy-url" value=""
+ style="width:100%" class="text ui-widget-content ui-corner-all logintext"> </td>
+ </tr>
+ <tr>
+ <td><label style="float:left">Proxy Port</label></td>
+ <td><input type="text" name="url" id="proxy-port" value="0"
+ style="width:100%" class="text ui-widget-content ui-corner-all logintext"></td>
+ </tr>
+ <tr>
+ <td><label >Proxy Username</label></td>
+ <td><input type="text" name="url" id="proxy-username" value=""
+ style="width:100%" class="text ui-widget-content ui-corner-all logintext"></td>
+ </tr>
+ <tr>
+ <td><label >Proxy Password</label></td>
+ <td><input type="password" name="url" id="proxy-password" value=""
+ style="width:100%" class="text ui-widget-content ui-corner-all logintext"></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ <table>
+ </table>
+ <tr>
+ <td></td>
+ <td colspan=2><div id="login-error" style="color:black;visibility:hidden">LOGIN ERROR !!!</div></td>
+ </tr>
+ </table>
+
+
+ </div>
+
+<!-- ADD Options -->
+<div id="add-options" title="Choice" style="display:none" title="Multiple Choice">
+ <p class="validateTips">Please Select your Choice!!!</p>
+ </div>
+
+<!--GnowQL Shell-->
+
+
+<div id="gnowql-shell" title="GnowQL SHELL" style="display:none" >
+ <label>Type HERE : </label>
+ <input type="text" id="gnowql-shell-text" value="" style="width:100%;height:50px;font-weight:bold;font-size:30px"
+ class="text ui-widget-content ui-corner-all">
+ <label> Result (JSON string) : </label><br />
+ <textarea id="gnowql-shell-box" cols="130" rows="20" style:"float:left"></textarea>
+ <br />
+<div style="overflow:auto">
+<div id="gnowql-shell-tree"></div>
+</div>
+ </div>
+
+</body>
+</html>
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-buffer.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-buffer.js.svn-base
new file mode 100644
index 0000000..ba6303e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-buffer.js.svn-base
@@ -0,0 +1,1079 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-interactive.js
+
+DEFINE_CLASS("Ymacs_Buffer", DlEventProxy, function(D, P){
+
+ D.DEFAULT_EVENTS = [
+ "onLineChange",
+ "onInsertLine",
+ "onDeleteLine",
+ "onPointChange",
+ "onResetCode",
+ "onMessage",
+ "onOverwriteMode",
+ "onOverlayChange",
+ "onOverlayDelete",
+ "beforeInteractiveCommand",
+ "afterInteractiveCommand",
+ "beforeRedraw",
+ "afterRedraw",
+ "finishedEvent",
+ "onProgressChange",
+ "onTextInsert",
+ "onTextDelete"
+ ];
+
+ D.DEFAULT_ARGS = {
+ name : [ "name" , "*scratch*" ],
+ _code : [ "code" , null ],
+ ymacs : [ "ymacs" , null ],
+ tokenizer : [ "tokenizer" , null ],
+ isMinibuffer : [ "isMinibuffer" , false ]
+ };
+
+ var GLOBAL_VARS = {
+ case_fold_search : true,
+ line_movement_requested_col : 0,
+ fill_column : 78,
+ tab_width : 8,
+ indent_level : 8,
+
+ // syntax variables
+ syntax_word : { test: TEST_UNICODE_WORD_CHAR },
+ syntax_word_dabbrev : { test: TEST_DABBREV_WORD_CHAR },
+ syntax_paragraph_sep : /\n\s*\n/g
+ };
+
+ function setq(key, val) {
+ if (typeof key == "string") {
+ if (val === undefined)
+ delete this[key];
+ else
+ this[key] = val;
+ if (val instanceof Function)
+ val.ymacsCommand = key;
+ return val;
+ } else {
+ var changed = {};
+ for (var i in key) {
+ changed[i] = this[i];
+ setq.call(this, i, key[i]);
+ }
+ return changed;
+ }
+ };
+
+ var MAX_UNDO_RECORDS = 50000; // XXX: should we not limit?
+
+ function MRK(x) {
+ return x instanceof Ymacs_Marker ? x.getPosition() : x;
+ };
+
+ function TEST_UNICODE_WORD_CHAR(c) {
+ if (c) {
+ var code = c.charCodeAt(0);
+ return (code >= 48 && code <= 57) || c.toUpperCase() != c.toLowerCase();
+ }
+ };
+
+ function TEST_DABBREV_WORD_CHAR(c) {
+ if (c) {
+ var code = c.charCodeAt(0);
+ return (code >= 48 && code <= 57) || c == "_" || c.toUpperCase() != c.toLowerCase();
+ }
+ };
+
+ P.lastIndexOfRegexp = function(str, re, caret, bound) {
+ str = str.substring(0, caret);
+ re = Ymacs_Regexp.search_backward(re);
+ re.lastIndex = bound || 0;
+ var m = re.exec(str);
+ if (m) {
+ var a = Array.$(m, 2);
+ a.index = m.index + m[1].length;
+ a.after = m.index + m[0].length;
+ a[0] = str.substring(a.index, a.after);
+ this.matchData = a;
+ return a;
+ }
+ };
+
+ D.COMMANDS = P.COMMANDS = {};
+
+ D.newCommands = P.newCommands = function() {
+ return setq.apply(this.COMMANDS, arguments);
+ };
+
+ D.newMode = P.newMode = function(name, activate) {
+ var modevar = "*" + name + "*", hookvar = modevar + "hooks";
+ D.setGlobal(hookvar, []);
+ this.COMMANDS[name] = Ymacs_Interactive("P", function(force){
+ var status = this.getq(modevar);
+ if (status) {
+ // currently active
+ if (force !== true) {
+ // deactivate
+ this.getq(hookvar).foreach(function(hook){
+ hook.call(this, false);
+ }, this);
+ if (status instanceof Function) {
+ // clean-up
+ status.call(this);
+ }
+ this.setq(modevar, null);
+ this.modes.remove(name);
+ }
+ }
+ else {
+ // inactive
+ if (force !== false) {
+ var off = activate.apply(this, arguments);
+ if (!(off instanceof Function))
+ off = true;
+ this.setq(modevar, off);
+ this.modes.push(name);
+ this.getq(hookvar).foreach(function(hook){
+ hook.call(this, true);
+ }, this);
+ }
+ }
+ return status;
+ });
+ };
+
+ D.addModeHook = P.addModeHook = function(name, func) {
+ if (typeof func == "string")
+ func = this.COMMANDS[func];
+ var hookvar = "*" + name + "*hooks";
+ this.getq(hookvar).pushUnique(func);
+ };
+
+ D.removeModeHook = P.removeModeHook = function(name, func) {
+ if (typeof func == "string")
+ func = this.COMMANDS[func];
+ var hookvar = "*" + name + "*hooks";
+ this.getq(hookvar).remove(func);
+ };
+
+ D.FIXARGS = function(args) {
+ if (args.code == null)
+ args.code = "";
+ };
+
+ D.CONSTRUCT = function() {
+ this.__savingExcursion = 0;
+ this.__preventUpdates = 0;
+ this.__preventUndo = 0;
+ this.__undoInProgress = 0;
+ this.__dirtyLines = [];
+ this.__undoQueue = [];
+ this.__redoQueue = [];
+ this.__overlays = {};
+
+ this.markers = [];
+ this.caretMarker = this.createMarker(0, false, "point");
+ this.markMarker = this.createMarker(0, true, "mark");
+ this.matchData = [];
+ this.previousCommand = null;
+ this.currentCommand = null;
+ this.currentKeys = [];
+ this.progress = {};
+
+ this.variables = {};
+ this.globalVariables = GLOBAL_VARS;
+ this.modes = [];
+
+ this.caretMarker.onChange.push(function(pos) {
+ this._rowcol = this.caretMarker.getRowCol();
+ // XXX: this shouldn't be needed
+ if (this.__preventUpdates == 0) {
+ this.callHooks("onPointChange", this._rowcol, this.point());
+ }
+ });
+
+ this._tokenizerEvents = {
+ "onFoundToken": this._on_tokenizerFoundToken.$(this)
+ };
+
+ this._textProperties = new Ymacs_Text_Properties({ buffer: this });
+ this._textProperties.addEventListener("onChange", this._on_textPropertiesChange.$(this));
+
+ this.keymap = [];
+ this.pushKeymap(this.makeDefaultKeymap());
+ this.setCode(this._code);
+ this._lastCommandWasKill = 0;
+ delete this["_code"];
+ };
+
+ /* -----[ dynamic variables ]----- */
+
+ // Who said dynamic scope is bad? Ever since I'm using Lisp I
+ // started considering them one of the most valuable features.
+ // Everybody is using dynamic scope.
+ //
+ // Since we don't have real dynamic scope in JS, we store the
+ // values in a hash and using the withVariables method we can
+ // assign temporary values to them and execute a function.
+
+ P.withVariables = function(vars, cont) {
+ var saved = {}, i, ret;
+ for (i in vars) {
+ saved[i] = this.variables[i];
+ this.variables[i] = vars[i];
+ }
+ try {
+ if (cont instanceof Function)
+ return cont.apply(this, Array.$(arguments, 2));
+ else
+ return this.cmdApply(cont, Array.$(arguments, 2));
+ } finally {
+ for (i in saved) {
+ if (saved[i] === undefined)
+ delete this.variables[i];
+ else
+ this.variables[i] = saved[i];
+ }
+ }
+ };
+
+ P.withCommands = function(cmds, cont) {
+ var saved = this.COMMANDS;
+ this.COMMANDS = Object.makeCopy(saved);
+ Object.merge(this.COMMANDS, cmds);
+ try {
+ if (cont instanceof Function)
+ return cont.apply(this, Array.$(arguments, 2));
+ else
+ return this.cmdApply(cont, Array.$(arguments, 2));
+ } finally {
+ this.COMMANDS = saved;
+ }
+ };
+
+ P.getVariable = function(key) {
+ return (key in this.variables)
+ ? this.variables[key]
+ : GLOBAL_VARS[key];
+ };
+
+ P.setVariable = function() {
+ return setq.apply(this.variables, arguments);
+ };
+
+ D.setq = D.setVariable = D.setGlobal = P.setGlobal = function() {
+ return setq.apply(GLOBAL_VARS, arguments);
+ };
+
+ P.setq = P.setVariable;
+ P.getq = P.getVariable;
+ D.getq = D.getVariable = function(key) {
+ return GLOBAL_VARS[key];
+ };
+
+ /* -----[ public API ]----- */
+
+ P.pushKeymap = function(keymap) {
+ if (keymap instanceof Array) {
+ keymap.foreach(this.pushKeymap, this);
+ } else {
+ this.popKeymap(keymap);
+ this.keymap.push(keymap);
+ keymap.attached(this);
+ }
+ };
+
+ P.popKeymap = function(keymap) {
+ this.keymap.remove(keymap);
+ keymap.detached(this);
+ };
+
+ P.makeDefaultKeymap = function() {
+ return Ymacs_Keymap_Emacs();
+ };
+
+ P.signalError = function(text, html, timeout) {
+ this.callHooks("onMessage", "error", text, html, timeout);
+ };
+
+ P.signalInfo = function(text, html, timeout) {
+ this.callHooks("onMessage", "info", text, html, timeout);
+ };
+
+ P.createMarker = function(pos, before, name) {
+ if (pos == null)
+ pos = this.point();
+ return new Ymacs_Marker({ editor: this, pos: pos, name: name, before: before });
+ };
+
+ P.point = function() {
+ return this.caretMarker.getPosition();
+ };
+
+ P.setCode = function(code) {
+ // this.__code = code = code.replace(/\t/g, " ".x(this.getq("tab_width")));
+ this.__code = code;
+ this.__size = code.length;
+ this.__undoQueue = [];
+ this.__redoQueue = [];
+ this.__overlays = {};
+ this.markers.map("setPosition", 0, true, true);
+ this.code = code.split(/\n/);
+ this._textProperties.reset();
+ if (this.tokenizer) {
+ this.tokenizer.reset();
+ }
+ this.callHooks("onResetCode", this.code);
+ this.caretMarker.setPosition(0, false, true);
+ this.markMarker.setPosition(0, true);
+ };
+
+ P.setTokenizer = function(tok) {
+ if (this.tokenizer != null) {
+ this.tokenizer.removeEventListener(this._tokenizerEvents);
+ }
+ this.tokenizer = tok;
+ if (tok) {
+ tok.addEventListener(this._tokenizerEvents);
+ } else {
+ this._textProperties.reset();
+ this.callHooks("onResetCode", this.code);
+ }
+ };
+
+ P.getCode = function() {
+ return this.__code || (this.__code = this.code.join("\n"));
+ };
+
+ P.getCodeSize = function() {
+ if (this.__size)
+ return this.__size;
+ var i = this.code.length, size = i > 0 ? -1 : 0;
+ while (--i >= 0)
+ size += this.code[i].length + 1;
+ return this.__size = size;
+ };
+
+ P.getLine = function(row) {
+ if (row == null)
+ row = this._rowcol.row;
+ return this.code[row];
+ };
+
+ P.charAtRowCol = function(row, col) {
+ var n = this.code.length;
+ if (row >= n--)
+ return null;
+ var line = this.code[row];
+ if (col == line.length)
+ return row == n && line.charAt(col) || "\n";
+ return line.charAt(col);
+ };
+
+ P.charAt = function(point) {
+ if (point == null)
+ point = this.point();
+ else {
+ point = MRK(point);
+ if (point < 0)
+ point += this.point();
+ }
+ var rc = this._positionToRowCol(point);
+ return this.charAtRowCol(rc.row, rc.col);
+ };
+
+ P.callInteractively = function(func, args, finalArgs) {
+ if (!args)
+ args = []; // make IE happy
+ var cmd;
+ if (!(func instanceof Function)) {
+ cmd = func;
+ func = this.COMMANDS[func];
+ } else {
+ cmd = func.ymacsCommand || null;
+ }
+ if (func.ymacsCallInteractively && !finalArgs) {
+ // after prompting for eventual
+ // arguments, ymacsCallInteractively
+ // will actually call back again
+ // buffer's callInteractively, so we
+ // should STOP here.
+ return func.ymacsCallInteractively.apply(this, args);
+ }
+ this.currentCommand = cmd;
+ // the amount of brain twisting to get
+ // this right is incredible. :-( I give up.
+ if (cmd != "undo") {
+ this.__undoQueue = this.__undoQueue.concat(this.__redoQueue);
+ this.__redoQueue = [];
+ }
+ if (this.previousCommand != cmd) {
+ this.sameCommandCount(0);
+ if (cmd != "undo") {
+ this._placeUndoBoundary();
+ }
+ } else if (cmd != "self_insert_command" || this.sameCommandCount() % 20 == 0) {
+ if (cmd != "undo") {
+ this._placeUndoBoundary();
+ }
+ }
+ this.preventUpdates();
+ try {
+ this.callHooks("beforeInteractiveCommand", cmd, func);
+ if (!func.ymacsMarkExtend)
+ this.clearTransientMark();
+ return func.apply(this, args);
+ } catch(ex) {
+ if (ex instanceof Ymacs_Exception) {
+ this.signalError(ex.message);
+ } else {
+ throw ex;
+ }
+ } finally {
+ this.resumeUpdates();
+ this.callHooks("afterInteractiveCommand", cmd, func);
+ this.previousCommand = cmd;
+ this.sameCommandCount(+1);
+ }
+ };
+
+ P.resetOverwriteMode = function(om) {
+ if (arguments.length == 0)
+ om = this.overwriteMode;
+ this.callHooks("onOverwriteMode", this.overwriteMode = !om);
+ this.signalInfo(om ? "Insert mode" : "Overwrite mode");
+ };
+
+ P.getMinibuffer = function() {
+ return this.whenYmacs(function(ymacs) { return ymacs.minibuffer; });
+ };
+
+ P.getMinibufferFrame = function() {
+ return this.whenYmacs(function(ymacs) { return ymacs.minibuffer_frame; });
+ };
+
+ P.setMinibuffer = function(text) {
+ this.whenMinibuffer(function(mb){
+ mb.setCode(text);
+ mb.cmd("end_of_buffer");
+ });
+ };
+
+ P.cmd = function(cmd) {
+ return this.COMMANDS[cmd].apply(this, Array.$(arguments, 1));
+ };
+
+ P.cmdApply = function(cmd, args) {
+ return this.COMMANDS[cmd].apply(this, args);
+ };
+
+ P.createDialog = function(args) {
+ if (!args.parent) {
+ args.parent = this.getActiveFrame() && this.getActiveFrame().getParentDialog();
+ if (!("noShadows" in args)) {
+ args.noShadows = true;
+ }
+ }
+ var dlg = new DlDialog(args);
+ this.whenActiveFrame(function(frame){
+ dlg.addEventListener("onDestroy", frame.focus.clearingTimeout(0, frame));
+ });
+ return dlg;
+ };
+
+ P.getActiveFrame = function() {
+ return this.whenYmacs("getActiveFrame");
+ };
+
+ // This function receives a string and a continuation. If
+ // there is an object property or variable named $what, then
+ // $cont is called in the context of this object and given the
+ // value of $what as first argument. The returned value is
+ // passed back to caller.
+ //
+ // The continuation can also be a string, in which case it's
+ // assumed to be a method in the value of $what, thus called
+ // on it.
+ //
+ // This is a bit messy, but should work well as long as we
+ // don't use the same name for both an object property and a
+ // variable in this.variables. Otherwise, the property takes
+ // precedence.
+ P.when = function(what, cont) {
+ what = this[what] || this.getq(what);
+ if (what != null) {
+ if (cont instanceof Function)
+ return cont.call(this, what);
+ else {
+ return what[cont].apply(what, Array.$(arguments, 2));
+ }
+ }
+ };
+
+ // XXX: this is way too ugly.
+ P.whenActiveFrame = function() {
+ var fr = this.getActiveFrame(); // miserable hack
+ if (fr.buffer === this) {
+ this.activeFrame = fr;
+ var a = Array.$(arguments);
+ a.unshift("activeFrame");
+ return this.when.apply(this, a);
+ } else {
+ this.activeFrame = null;
+ }
+ };
+
+ P.forAllFrames = function(cont) {
+ this.ymacs.getBufferFrames(this).foreach(cont);
+ };
+
+ P.whenYmacs = function() {
+ var a = Array.$(arguments);
+ a.unshift("ymacs");
+ return this.when.apply(this, a);
+ };
+
+ P.whenMinibuffer = function(cont) {
+ // In fact, we should move when() into some base
+ // object... but which one? JS doesn't have multiple
+ // inheritance, though we could easily "invent" it.
+ return this.whenYmacs(function(ymacs){
+ if (ymacs.minibuffer)
+ return cont.call(this, ymacs.minibuffer);
+ });
+ };
+
+ P.preventUpdates = function() {
+ ++this.__preventUpdates;
+ };
+
+ P.resumeUpdates = function() {
+ if ((this.__preventUpdates = Math.max(this.__preventUpdates - 1, 0)) == 0) {
+ this.redrawDirtyLines();
+ }
+ };
+
+ P.getRegion = function(begin, end) {
+ if (begin == null) begin = this.caretMarker;
+ if (end == null) end = this.markMarker;
+ begin = MRK(begin);
+ end = MRK(end);
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ return { begin: begin, end: end };
+ };
+
+ P.redrawDirtyLines = function() {
+ this.callHooks("beforeRedraw");
+ this.__dirtyLines.foreach(function(draw, row){
+ if (draw) {
+ this.callHooks("onLineChange", row);
+ }
+ }, this);
+ this.__dirtyLines = [];
+ this.callHooks("afterRedraw");
+ };
+
+ P.getOverlays = function() {
+ return this.__overlays;
+ };
+
+ P.getOverlay = function(name) {
+ return this.__overlays[name];
+ };
+
+ P.setOverlay = function(name, props) {
+ var ov = this.__overlays[name], isNew = !ov, tmp;
+ if (isNew)
+ ov = this.__overlays[name] = props;
+ else
+ Object.merge(ov, props);
+ // normalize line/col
+ if (ov.line2 < ov.line1) {
+ tmp = ov.line2; ov.line2 = ov.line1; ov.line1 = tmp;
+ tmp = ov.col2; ov.col2 = ov.col1; ov.col1 = tmp;
+ }
+ else if (ov.line2 == ov.line1 && ov.col2 < ov.col1) {
+ tmp = ov.col2; ov.col2 = ov.col1; ov.col1 = tmp;
+ }
+ this.callHooks("onOverlayChange", name, ov, isNew);
+ };
+
+ P.deleteOverlay = function(name) {
+ delete this.__overlays[name];
+ this.callHooks("onOverlayDelete", name);
+ };
+
+ P.ensureTransientMark = function() {
+ var rc = this._rowcol, tm;
+ if (!this.transientMarker) {
+ this.transientMarker = this.createMarker();
+ this.markMarker.setPosition(this.point());
+ tm = rc;
+ }
+ if (!tm)
+ tm = this.transientMarker.getRowCol();
+ this.setOverlay("selection", {
+ line1 : tm.row,
+ col1 : tm.col,
+ line2 : rc.row,
+ col2 : rc.col
+ });
+ };
+
+ P.clearTransientMark = function() {
+ if (this.transientMarker) {
+ this.transientMarker.destroy();
+ this.transientMarker = null;
+ this.deleteOverlay("selection");
+ }
+ };
+
+ P.deleteTransientRegion = function() {
+ if (this.transientMarker) {
+ this._deleteText(this.caretMarker, this.transientMarker);
+ this.clearTransientMark();
+ this._placeUndoBoundary();
+ return true;
+ }
+ };
+
+ var $sameCommandCount = 0;
+ P.sameCommandCount = function(diff) {
+ if (diff == null)
+ return $sameCommandCount;
+ return $sameCommandCount += diff;
+ };
+
+ var $lastKeyEvent;
+ P.interactiveEvent = function(ev) {
+ if (arguments.length == 0)
+ return $lastKeyEvent;
+ return $lastKeyEvent = ev;
+ };
+
+ P.getPrefixArg = function(noDiscard) {
+ var ret = this.getq("universal_prefix");
+ if (!noDiscard) {
+ this.setq("universal_prefix", undefined);
+ if (!this.isMinibuffer)
+ this.setMinibuffer("");
+ }
+ return ret;
+ };
+
+ P.setPrefixArg = function(val) {
+ return this.setq("universal_prefix", val);
+ };
+
+ P.updateProgress = function(name, val) {
+ if (val == null)
+ delete this.progress[name];
+ else
+ this.progress[name] = val;
+ this.callHooks("onProgressChange");
+ };
+
+ P.renderModelineContent = function(rc) {
+ var ml = String.buffer("-- <b>", this.name.htmlEscape(), "</b> (", rc.row + 1, ",", rc.col, ") ");
+ var pr = [];
+ for (var i in this.progress) {
+ pr.push(i + ": " + this.progress[i]);
+ }
+ if (pr.length > 0) {
+ ml("[", pr.join(", "), "]");
+ }
+ return ml.get();
+ };
+
+ /* -----[ not-so-public API ]----- */
+
+ // BEGIN: undo queue
+
+ P._recordChange = function(type, pos, len, text) {
+ if (len > 0) {
+ var q = this.__undoQueue;
+ q.push({
+ type : type,
+ pos : pos,
+ len : len,
+ text : text
+ });
+ if (q.length > MAX_UNDO_RECORDS)
+ q.shift();
+ }
+ };
+
+ P._placeUndoBoundary = function(q) {
+ q = q || this.__undoQueue;
+ var m = this.markers.map(function(m){
+ return [ m, m.getPosition() ];
+ });
+ var last = q.peek();
+ if (!last || last.type != 3) {
+ q.push({ type: 3, markers: m });
+ } else {
+ last.markers = m;
+ }
+ };
+
+ P._playbackUndo = function(q) {
+ ++this.__undoInProgress;
+ var didit = false, action;
+ while (q.length > 0 && q.peek().type == 3) {
+ action = q.pop();
+ }
+ while (q.length > 0) {
+ action = q.pop();
+ if (action.type == 3) { // boundary
+ // restore markers
+ action.markers.foreach(function(m){
+ m[0].setPosition(m[1]);
+ });
+ break;
+ }
+ didit = true;
+ var pos = action.pos;
+ switch (action.type) {
+ case 1: // insert
+ this._deleteText(pos, pos + action.len);
+ break;
+ case 2: // delete
+ this._insertText(action.text, pos);
+ break;
+ }
+ }
+ --this.__undoInProgress;
+ return didit;
+ };
+
+ // END: undo
+
+ P._replaceLine = function(row, text) {
+ this.code[row] = text;
+ this._textProperties.replaceLine(row, text);
+ if (this.__preventUpdates == 0) {
+ this.callHooks("onLineChange", row);
+ } else {
+ this.__dirtyLines[row] = true;
+ }
+ };
+
+ P._deleteLine = function(row) {
+ this.code.splice(row, 1);
+ this._textProperties.deleteLine(row);
+ if (this.tokenizer)
+ this.tokenizer.quickDeleteLine(row);
+ this.__dirtyLines.splice(row, 1);
+ this.callHooks("onDeleteLine", row);
+ };
+
+ P._insertLine = function(row, text) {
+ this.code.splice(row, 0, text);
+ this._textProperties.insertLine(row);
+ if (this.tokenizer)
+ this.tokenizer.quickInsertLine(row);
+ var drawIt = this.__preventUpdates == 0;
+ this.callHooks("onInsertLine", row, drawIt);
+ if (!drawIt) {
+ if (this.__dirtyLines.length <= row)
+ this.__dirtyLines[row] = true;
+ else
+ this.__dirtyLines.splice(row, 0, true);
+ }
+ };
+
+ P._insertText = function(text, pos) {
+ if (text.length == 0)
+ return;
+ if (pos == null)
+ pos = this.caretMarker.getPosition();
+ pos = MRK(pos);
+ // *** UNDO RECORDING
+ if (this.__preventUndo == 0)
+ this._recordChange(1, pos, text.length);
+ var rc = pos == this.point() ? this._rowcol : this._positionToRowCol(pos),
+ i = rc.row;
+ if (/^\n+$/.test(text) && rc.col == 0) {
+ // handle this case separately, since it's so
+ // frequently used (ENTER pressed) and the
+ // default algorithm messes up colorization
+ // for a fraction of a second, flashing badly.
+ text.length.times(function(j){
+ this._insertLine(i + j, "");
+ }, this);
+ } else {
+ var lines = text.split("\n"), ln = this.code[i], rest = ln.substr(rc.col);
+ if (lines.length > 1) {
+ this._replaceLine(i, ln.substr(0, rc.col) + lines.shift());
+ lines.foreach(function(text){
+ this._insertLine(++i, text);
+ }, this);
+ this._replaceLine(i, this.code[i] + rest);
+ } else {
+ this._replaceLine(i, ln.substr(0, rc.col) + lines[0] + ln.substr(rc.col));
+ }
+ }
+ this._updateMarkers(pos, text.length);
+ this.callHooks("onTextInsert", pos, text);
+ };
+
+ P._deleteText = function(begin, end) {
+ begin = this._boundPosition(MRK(begin));
+ end = this._boundPosition(MRK(end));
+ if (begin == end)
+ return;
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ // *** UNDO RECORDING
+ if (this.__preventUndo == 0)
+ this._recordChange(2, begin, end - begin, this._bufferSubstring(begin, end));
+ var brc = this._positionToRowCol(begin),
+ erc = this._positionToRowCol(end);
+ var line = this.code[brc.row];
+ if (brc.row == erc.row) {
+ // same line, that's easy
+ line = line.substr(0, brc.col) + line.substr(erc.col);
+ this._replaceLine(brc.row, line);
+ } else {
+ // fix first line
+ line = line.substr(0, brc.col) + this.code[erc.row].substr(erc.col);
+ this._replaceLine(brc.row, line);
+ // delete lines in between
+ line = brc.row + 1;
+ (erc.row - brc.row).times(this._deleteLine.$(this, line));
+ }
+ this._updateMarkers(begin, begin - end, begin);
+ this.callHooks("onTextDelete", begin, end);
+ };
+
+ P._replaceText = function(begin, end, text) {
+ this._deleteText(begin, end);
+ this._insertText(text, begin);
+ };
+
+ P._swapAreas = function(a) {
+ a = a.map(MRK).mergeSort();
+ var b1 = a[0],
+ e1 = a[1],
+ b2 = a[2],
+ e2 = a[3],
+ t1 = this._bufferSubstring(b1, e1),
+ t2 = this._bufferSubstring(b2, e2);
+ this._replaceText(b2, e2, t1);
+ this._replaceText(b1, e1, t2);
+ return e2;
+ };
+
+ P._bufferSubstring = function(begin, end) {
+ if (begin == null) begin = this.point();
+ else begin = MRK(begin);
+
+ if (end == null) end = this.getCodeSize();
+ else end = MRK(end);
+
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ // var brc = this._positionToRowCol(begin),
+ // erc = this._positionToRowCol(end);
+ // if (brc.row == erc.row) {
+ // return this.code[brc.row].substring(brc.col, erc.col);
+ // } else return [ this.code[brc.row].substr(brc.col) ].
+ // concat(this.code.slice(brc.row + 1, erc.row)).
+ // concat(this.code[erc.row].substr(0, erc.col)).
+ // join("\n");
+ return this.getCode().substring(begin, end);
+ };
+
+ P._killingAction = function(p1, p2, prepend, noDelete) {
+ p1 = MRK(p1);
+ p2 = MRK(p2);
+ var text = this._bufferSubstring(p1, p2);
+ this._saveKilledText(text, prepend);
+ if (!noDelete)
+ this._deleteText(p1, p2);
+ };
+
+ P._saveKilledText = function(text, prepend) {
+ if (!this._lastCommandWasKill)
+ this.ymacs.killRingToMaster();
+ this.ymacs.pushToKillRing(text, prepend);
+ this._lastCommandWasKill++;
+ };
+
+ P._positionToRowCol = function(pos) {
+ var line = 0, a = this.code, n = a.length;
+ while (pos > 0 && line < n) {
+ var len = a[line].length;
+ if (len >= pos)
+ break;
+ pos -= len + 1; // one for the newline
+ line++;
+ }
+ return { row: line, col: pos };
+ };
+
+ P._rowColToPosition = function(row, col) {
+ var pos = 0, a = this.code, i = Math.min(row, a.length - 1), n = i;
+ if (i < 0)
+ return 0;
+ while (--i >= 0)
+ pos += a[i].length + 1; // one for the newline
+ return pos + Math.min(col, a[n].length);
+ };
+
+ P._boundPosition = function(pos) {
+ if (pos < 0)
+ return 0;
+ return Math.min(pos, this.getCodeSize());
+ };
+
+ P._repositionCaret = function(pos) {
+ var p = this.caretMarker.getPosition();
+ if (pos == null)
+ pos = p;
+ pos = MRK(pos);
+ pos = this._boundPosition(pos);
+ this.caretMarker.setPosition(pos);
+ return pos != p;
+ };
+
+ P._updateMarkers = function(offset, delta, min) {
+ this.__size = null;
+ this.__code = null;
+ // if (this.__undoInProgress == 0) {
+ this.markers.map("editorChange", offset, delta, min || 0);
+ // }
+ if (this.tokenizer) {
+ this.tokenizer.quickUpdate(Math.min(offset, offset + delta));
+ }
+ };
+
+ P._saveExcursion = function(cont, markerBefore) {
+ var tmp = this.createMarker(null, markerBefore);
+ ++this.__savingExcursion;
+ try {
+ return cont.call(this);
+ } finally {
+ --this.__savingExcursion;
+ this.caretMarker.swap(tmp, false, true);
+ tmp.destroy();
+ }
+ };
+
+ P._disableUndo = function(cont) {
+ ++this.__preventUndo;
+ try {
+ return cont.call(this);
+ } finally {
+ --this.__preventUndo;
+ }
+ };
+
+ P._handleKeyEvent = function(ev) {
+ var handled = false;
+ this.interactiveEvent(ev);
+ var lcwk = this._lastCommandWasKill;
+
+ if (this.__nextIsMeta)
+ ev.altKey = true;
+ this.__nextIsMeta = false;
+
+ var key = Ymacs_Keymap.unparseKey(ev);
+ var cc = this.currentKeys;
+ var foundPrefix = false;
+ cc.push(key);
+
+ this.keymap.r_foreach(function(km){
+ var h = km.getHandler(cc);
+ if (h instanceof Array) {
+ this.callInteractively(h[0], h[1]);
+ handled = true;
+ }
+ else if (h) {
+ handled = foundPrefix = true;
+ }
+ else if (key === "ESCAPE") {
+ this.__nextIsMeta = true;
+ handled = true;
+ }
+ else if (km.defaultHandler && cc.length == 1) {
+ handled = this.callInteractively(km.defaultHandler[0], km.defaultHandler[1]);
+ }
+ if (handled)
+ $BREAK();
+ }, this);
+
+ if (!foundPrefix) {
+ if (!handled) {
+ if (cc.length > 1) {
+ this.signalError(cc.join(" ").bold() + " is undefined", true);
+ handled = true;
+ }
+ }
+ cc.splice(0, cc.length);
+ }
+
+ if (this._lastCommandWasKill == lcwk && typeof handled != "object") {
+ // selecting a prefix keymap shouldn't clear the killRing
+ this._lastCommandWasKill = 0;
+ }
+
+ this.callHooks("finishedEvent", handled);
+ this.interactiveEvent(null);
+ return handled;
+ };
+
+ P._on_tokenizerFoundToken = function(row, c1, c2, what) {
+ if (what) {
+ this._textProperties.addLineProps(row, c1, c2, "css", what);
+ } else {
+ this._textProperties.removeLineProps(row, c1, c2, "css");
+ }
+ };
+
+ P._on_textPropertiesChange = function(row) {
+ if (this.__preventUpdates == 0) {
+ this.callHooks("onLineChange", row);
+ } else {
+ this.__dirtyLines[row] = true;
+ }
+ };
+
+ P.formatLineHTML = function(row, caret) {
+ var rc = this._rowcol;
+ if (caret instanceof Ymacs_Marker)
+ rc = caret.getRowCol();
+ caret = row == rc.row ? rc.col : null;
+ return this._textProperties.getLineHTML(row, this.code[row], caret);
+ };
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-commands-utils.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-commands-utils.js.svn-base
new file mode 100644
index 0000000..04d3d36
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-commands-utils.js.svn-base
@@ -0,0 +1,157 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-buffer.js
+
+Ymacs_Buffer.newCommands({
+
+ get_region: function() {
+ return this.getRegion();
+ },
+
+ cperl_lineup: Ymacs_Interactive("r", function(begin, end){
+ this.cmd("save_excursion", function(){
+ var rcend = this._positionToRowCol(end), max = 0, lines = [];
+ this.cmd("goto_char", begin);
+ this.cmd("forward_whitespace", true);
+ var ch = this.charAt();
+ if (ch.toLowerCase() != ch.toUpperCase()) {
+ this.signalError("Cannot lineup here");
+ return;
+ }
+ while (this._rowcol.row <= rcend.row) {
+ var pos = this.getLine().indexOf(ch);
+ if (pos >= 0) {
+ if (pos > max)
+ max = pos;
+ lines.push([ this._rowcol.row, pos ]);
+ }
+ if (!this.cmd("forward_line"))
+ break;
+ }
+ ++max;
+ lines.foreach(function(l){
+ this.cmd("goto_char", this._rowColToPosition(l[0], l[1]));
+ this.cmd("insert", " ".x(max - l[1]));
+ }, this);
+ });
+ }),
+
+ htmlize_region: Ymacs_Interactive("r\nP", function(begin, end, lineNum) {
+ this.tokenizer.finishParsing();
+ var row = this._positionToRowCol(begin).row,
+ html = String.buffer(),
+ line = row, pad;
+ if (lineNum && !lineNum.empty)
+ line = parseInt(lineNum, 10);
+ end = this._positionToRowCol(end).row;
+ pad = String(end).length;
+ while (row <= end) {
+ html("<div class='line'>");
+ if (lineNum)
+ html("<span class='line-number'>", line.zeroPad(pad, " "), "</span>");
+ ++line;
+ html(this._textProperties.getLineHTML(row, this.code[row], null), "</div>\n");
+ ++row;
+ }
+ html = html.get();
+ var tmp = this.ymacs.switchToBuffer("*Htmlize*");
+ tmp.setCode(html);
+ tmp.cmd("xml_mode", true);
+ }),
+
+ execute_extended_command: Ymacs_Interactive("^CM-x ", function(cmd) {
+ this.callInteractively(cmd);
+ }),
+
+ set_variable: Ymacs_Interactive("vSet variable: \nsTo value: ", function(variable, value) {
+ var tmp = parseFloat(value);
+ if (!isNaN(tmp))
+ value = tmp;
+ this.setq(variable, value);
+ }),
+
+ eval_string: Ymacs_Interactive("^MEval string: ", function(code){
+ try {
+ var variables = [
+ this, // buffer
+ this.ymacs // ymacs
+ ];
+ code = new Function("buffer", "ymacs", code);
+ code.apply(this, variables);
+ this.clearTransientMark();
+ } catch(ex) {
+ this.signalError(ex.type + ": " + ex.message);
+ if (window.console)
+ console.log(ex);
+ }
+ }),
+
+ eval_region: Ymacs_Interactive("^r", function(begin, end) {
+ this.cmd("eval_string", this.cmd("buffer_substring", begin, end));
+ }),
+
+ eval_buffer: Ymacs_Interactive(function(){
+ this.cmd("eval_string", this.getCode());
+ }),
+
+ toggle_line_numbers: Ymacs_Interactive("^", function(){
+ this.whenActiveFrame("toggleLineNumbers");
+ }),
+
+ save_file: Ymacs_Interactive("FWrite file: ", function(name){
+ var files = this.ymacs.ls_getFileDirectory(name, "file");
+ files.dir[files.other[0]] = this.getCode();
+ this.ymacs.ls_set(files.store);
+ this.signalInfo("Saved in local storage");
+ }),
+
+ load_file: Ymacs_Interactive("fFind file: ", function(name){
+ var code = this.ymacs.ls_getFileContents(name);
+ var buffer = this.ymacs.createBuffer({ name: name });
+ buffer.setCode(code);
+ this.cmd("switch_to_buffer", name);
+ }),
+
+ delete_file: Ymacs_Interactive("fDelete file: ", function(name){
+ this.ymacs.ls_getFileContents(name);
+ var files = this.ymacs.ls_get();
+ delete files[name];
+ this.ymacs.ls_set(files);
+ }),
+
+ eval_file: Ymacs_Interactive("fEval file: ", function(name){
+ this.cmd("eval_string", this.ymacs.ls_getFileContents(name));
+ })
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-commands.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-commands.js.svn-base
new file mode 100644
index 0000000..93190e0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-commands.js.svn-base
@@ -0,0 +1,1491 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-buffer.js
+
+
+Ymacs_Buffer.newCommands({
+
+ forward_char: Ymacs_Interactive("p", function(x) {
+ if (x == null) x = 1;
+ return this.cmd("goto_char", this.point() + x);
+ }),
+
+ backward_char: Ymacs_Interactive("p", function(x) {
+ if (x == null) x = 1;
+ return this.cmd("forward_char", -x);
+ }),
+
+ forward_line: Ymacs_Interactive("p", function(x) {
+ if (x == null) x = 1;
+ var rc = this._rowcol;
+ if (!/^(forward|backward)_line$/.test(this.previousCommand)) {
+ this.setq("line_movement_requested_col", rc.col);
+ }
+ var ret = this.cmd("goto_char",
+ this._rowColToPosition(rc.row + x,
+ Math.max(rc.col,
+ this.getq("line_movement_requested_col")))); // starting to look like Lisp, eh?
+ if (!ret)
+ this.setq("line_movement_requested_col", rc.col);
+ return ret;
+ }),
+
+ backward_line: Ymacs_Interactive("p", function(x) {
+ if (x == null) x = 1;
+ return this.cmd("forward_line", -x);
+ }),
+
+ forward_whitespace: Ymacs_Interactive("P", function(noLine) {
+ var re = noLine ? /[^\x20\t\xA0]/g : /[^\s]/g;
+ if (this.cmd("search_forward_regexp", re)) {
+ this.cmd("backward_char");
+ return true;
+ } else if (!noLine)
+ return this.cmd("end_of_buffer");
+ }),
+
+ backward_whitespace: Ymacs_Interactive("P", function(noLine) {
+ var re = noLine ? /[^\x20\t\xA0]/g : /[^\s]/g;
+ if (this.cmd("search_backward_regexp", re)) {
+ this.cmd("forward_char");
+ return true;
+ } else if (!noLine)
+ return this.cmd("beginning_of_buffer");
+ }),
+
+ beginning_of_line: Ymacs_Interactive(function() {
+ return this.cmd("goto_char", this._rowColToPosition(this._rowcol.row, 0));
+ }),
+
+ back_to_indentation: Ymacs_Interactive(function() {
+ var rc = this._rowcol, line = this.code[rc.row], m = /\S/.exec(line);
+ if (m)
+ return this.cmd("goto_char", this._rowColToPosition(rc.row, m.index));
+ }),
+
+ beginning_of_indentation_or_line: Ymacs_Interactive(function() {
+ return this.cmd("back_to_indentation") || this.cmd("beginning_of_line");
+ }),
+
+ end_of_line: Ymacs_Interactive(function() {
+ var rc = this._rowcol;
+ return this.cmd("goto_char", this._rowColToPosition(rc.row, this.code[rc.row].length));
+ }),
+ wrap : Ymacs_Interactive(function() {
+ var i = 0;
+ this.cmd("end_of_buffer");
+ var st1 = this.caretMarker.getPosition();
+ this.cmd("beginning_of_buffer");
+ if(st1 != 0)
+ {
+ while(i < 50 )
+ {
+ this.cmd("goto_line", i);
+ i= i+1;
+ rc = this._rowcol;
+ var line = this.code[rc.row];
+ var line_size = line.length;
+ if(line_size > 112)
+ {
+ this.cmd("move_to_column", 111);
+ this.cmd("insert", "\n");
+ this.cmd("forward_line");
+ }
+ }
+
+ }
+
+ }),
+
+
+ wrap_at_edge : Ymacs_Interactive(function() {
+ rc = this._rowcol;
+ var line = this.code[rc.row];
+ var str1 = line.length;
+ if(str1 > 112)
+ {
+ this.cmd("insert", "\n");
+ }
+ }),
+
+ wrap_status:Ymacs_Interactive(function() {
+ var one = flag;
+ //alert("inside wrap_status");
+ return one;
+ }),
+
+ word_wrap : Ymacs_Interactive(function() {
+
+ var one1 = this.cmd("wrap_status");
+ if(one1 == "Word Wrap")
+ {
+ var x = 112;
+ rc = this._rowcol;
+ var line = this.code[rc.row];
+ var str1 = line.length;
+ if(str1 > x)
+ {
+ var str2 = line.slice(0,str1-2);
+ var str3 = str2.lastIndexOf(" ");
+ this.cmd("move_to_column", str3+1);
+ this.cmd("insert", "\n");
+ this.cmd("end_of_line");
+ this.cmd("insert", " ");
+ }
+ else
+ {
+ this.cmd("insert", " ");
+ }
+ }
+ else
+ {
+
+ this.cmd("insert", " ");
+ }
+
+
+ }),
+
+
+ wrap1:Ymacs_Interactive(function() {
+ var i = 1;
+ this.cmd("end_of_buffer");
+ var str1 = this.caretMarker.getPosition();
+ //this.cmd("beginning_of_buffer");
+ if(str1 != 0)
+ {
+ while(i < 50 )
+ {
+ this.cmd("goto_line" ,i);
+ i=i+1;
+ rc = this._rowcol;
+ var line = this.code[rc.row];
+ var str2 = line.lastIndexOf(" ");
+ if(str2 > 112)
+ {
+ var str2 = line.slice(0,115);
+ var str3 = str2.lastIndexOf(" ");
+ this.cmd("move_to_column", str3+1);
+ this.cmd("insert", "\n");
+ this.cmd("forward_line");
+ }
+ }
+ }
+
+ }),
+
+
+ beginning_of_buffer: Ymacs_Interactive(function() {
+ return this.cmd("goto_char", 0);
+ }),
+
+ end_of_buffer: Ymacs_Interactive(function() {
+ return this.cmd("goto_char", this.getCodeSize());
+ }),
+
+ eob_p: function() {
+ return this.point() == this.getCodeSize();
+ },
+
+ bob_p: function() {
+ return this.point() == 0;
+ },
+
+ eol_p: function() {
+ var rc = this._positionToRowCol(this.point());
+ return rc.col == this.code[rc.line].length;
+ },
+
+ bol_p: function() {
+ return this._positionToRowCol(this.point()).col == 0;
+ },
+
+ backward_delete_char: Ymacs_Interactive("^p", function(n){
+ if (!this.deleteTransientRegion()) {
+ if (n == null) n = 1;
+ var pos = this.point();
+ if (pos > 0)
+ this._deleteText(pos - n, pos);
+ }
+ }),
+
+ delete_char: Ymacs_Interactive("^p", function(n){
+ if (!this.deleteTransientRegion()) {
+ if (n == null) n = 1;
+ var pos = this.point();
+ this._deleteText(pos, pos + n);
+ }
+ }),
+
+ delete_whitespace: Ymacs_Interactive("^P", function(noLine) {
+ if (!this.deleteTransientRegion()) {
+ var p = this.point();
+ if (this.cmd("forward_whitespace", noLine)) {
+ this._deleteText(p, this.point());
+ return true;
+ }
+ }
+ }),
+
+ backward_delete_whitespace: Ymacs_Interactive("^P", function(noLine) {
+ if (!this.deleteTransientRegion()) {
+ var p = this.point();
+ if (this.cmd("backward_whitespace", noLine)) {
+ this._deleteText(this.point(), p);
+ return true;
+ }
+ }
+ }),
+
+ universal_argument: Ymacs_Interactive("^", function(){
+ this.pushKeymap(Ymacs_Keymap_UniversalArgument());
+ if (!this.isMinibuffer)
+ this.setMinibuffer("C-u");
+ }),
+
+ overwrite_mode: Ymacs_Interactive(function() {
+ this.resetOverwriteMode();
+ }),
+
+ self_insert_command: Ymacs_Interactive("^p", function(repeat) {
+ var ev = this.interactiveEvent(),
+ ch = String.fromCharCode(ev.charCode),
+ rc = this._rowcol;
+ if (ev.charCode && ch && !ev.altKey && !ev.ctrlKey) {
+ this.deleteTransientRegion();
+ if (repeat != null)
+ ch = ch.x(repeat);
+ if (this.overwriteMode) {
+ var line = this.code[rc.row], left = line.length - rc.col;
+ if (left > 0)
+ this.cmd("delete_char", Math.min(left, repeat || 1));
+ }
+ this.cmd("insert", ch);
+ ev.domStop = true;
+ return true;
+ }
+ return false;
+ }),
+
+ newline: Ymacs_Interactive("^p", function(n){
+ if (n == null) n = 1;
+ this.deleteTransientRegion();
+ this.cmd("insert", "\n".x(n));
+ }),
+
+
+ newline_and_indent: Ymacs_Interactive("^p", function(n){
+ if (n) {
+ this.cmd("newline", n);
+ } else {
+ this.cmd("backward_delete_whitespace", true);
+ this.cmd("newline");
+ this.cmd("indent_line");
+ }
+ }),
+
+
+// tab is not working on the 1st position of the buffer
+// user should create table from 1st position only
+
+ indent_line: Ymacs_Interactive("P", function(noEmpty) {
+ if (this.tokenizer) {
+ var indent = this.tokenizer.getIndentation(this._rowcol.row, this);
+ var a = " ";
+ if (indent != null) {
+ if (!noEmpty || /\S/.test(this.getLine())) {
+ var pos = this.cmd("save_excursion", function(){
+
+ if (this._rowcol.col != indent) {
+
+
+ var pos1 = this.caretMarker.getPosition();
+ //alert(pos1);
+ this.cmd("beginning_of_line");
+
+ var pos2 = this.caretMarker.getPosition();
+
+ var char1 = this.charAt(pos2);
+ this.cmd("forward_paragraph");
+ this.cmd("backward_line");
+ this.cmd("end_of_line");
+ var para_end1 = this.caretMarker.getPosition();
+ var para_end2 = (para_end1 - 1);
+
+
+ // identifying table or text
+
+ if (char1 == "|"){
+ this.cmd("goto_char",pos1);
+ this.cmd("end_of_line");
+ var end_line1 = this.caretMarker.getPosition();
+ var end_line2 =(end_line1 - 1);
+ for( var a1=1;a1<113;a1=a1+1){
+
+ var pos3 = (pos1 + a1);
+ //alert(pos3);
+ var char2 = this.charAt(pos3);
+ // checks end of the table
+ if (char2 == "|"){
+ if (char2 == "|" && pos3 == para_end2)
+ {this.cmd("goto_char",pos3);
+ //this.point();
+ this.cmd("beginning_of_line");
+ var B11 = this.caretMarker.getPosition();
+ //alert(B1);
+ this.cmd("end_of_line");
+ var P11 = this.caretMarker.getPosition();
+ //alert(P1);
+ var count1=0;
+ for(i=B11;i<=P11;i=i+1)
+ {
+ var c11=this.charAt(i);
+ if(c11=="|")
+ {count1=count1 + 1;}
+
+ }
+
+ var count2 = (count1 - 1);
+ this.cmd("newline");
+ for(i=1;i<=count2;i=i+1)
+ {
+ this.cmd("org_table_create");}
+ this.cmd("insert","|");
+ this.cmd("beginning_of_line");
+ this.cmd("forward_char");
+ }
+ // checks row or table end
+ else if(char2 == "|" && end_line2 == pos3)
+ { this.cmd("forward_line");
+ this.cmd("beginning_of_line");
+ var beg = this.caretMarker.getPosition();
+ var a11= this.charAt(beg);
+ if(a11 == "|"){
+ //alert(a11);
+ var beg1 = (beg + 1);
+ this.cmd("goto_char",beg1);}
+ else
+ {//alert("table-end");
+ this.cmd("goto_char",pos1);
+ var r_count = 1;
+ for(i=0;i<=5;i=i+1)
+ {
+ this.cmd("backward_line");
+ this.cmd("beginning_of_line");
+ var c_row = this.caretMarker.getPosition();
+ this.cmd("goto_char",c_row);
+ var ch_row = this.charAt(c_row);
+ // alert(ch_row);
+
+ if (ch_row == "|")
+ { r_count = r_count + 1 ;
+
+ }else
+ break;
+ }//alert("no_of_rows:" +r_count);
+
+
+ this.cmd("goto_char",pos3);
+ //this.point();
+ this.cmd("beginning_of_line");
+ var B1 = this.caretMarker.getPosition();
+ //alert(B1);
+ this.cmd("end_of_line");
+ var P1 = this.caretMarker.getPosition();
+ //alert(P1);
+ var count=0;
+ for(i=B1;i<=P1;i=i+1)
+ {
+ var c1=this.charAt(i);
+ if(c1=="|")
+ {count=count + 1;}
+
+ }
+ var count_n = (count -1);
+ //alert(count);
+ this.cmd("newline");
+ for(i=1;i<=count_n;i=i+1)
+ {this.cmd("org_table_create");}
+ this.cmd("insert","|");
+ this.cmd("beginning_of_line");
+ this.cmd("forward_char");
+ }
+
+ }
+ else if (char2 == "|")
+ {
+
+ var pos31 = (pos3 + 1);
+ this.cmd("goto_char",pos31);
+
+ }break;}}
+
+
+ }
+ // for text gives 4 spaces
+ else {
+ this.cmd("goto_char",pos1);
+ this.cmd("insert",a);}
+
+ }
+ return this.point();
+ });
+ // when point is before the indentation, go there.
+ if (this.point() < pos)
+ this.cmd("goto_char", pos);
+ }
+ return;
+ }
+ }
+ this.cmd("insert", " ".x(this.getq("indent_line")));
+ }),
+ indent_region: Ymacs_Interactive("r", function(begin, end) {
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ this.cmd("save_excursion", function() {
+ var m = this.createMarker(end);
+ this.cmd("goto_char", begin);
+ while (this.point() < m.getPosition()) {
+ this.cmd("indent_line", true);
+ this.cmd("beginning_of_line");
+ if (!this.cmd("forward_line"))
+ break;
+ };
+ m.destroy();
+ });
+ }),
+
+ make_marker: function(pos) {
+ return this.createMarker(pos);
+ },
+
+ looking_at: function(rx) {
+ var pos = rx.lastIndex = this.point();
+ var ret = this.matchData = rx.exec(this.getCode());
+ if (ret)
+ ret.after = rx.lastIndex;
+ return ret && ret.index == pos;
+ },
+
+ looking_back: function(rx) {
+ var m = this.lastIndexOfRegexp(this.getCode(), rx, this.point());
+ return m && m.after == this.point();
+ },
+
+ search_forward: Ymacs_Interactive("sSearch: ", function(str, bound) {
+ var code = this.getCode(), point = this.point();
+ if (this.getq("case_fold_search")) {
+ code = code.toLowerCase();
+ str = str.toLowerCase();
+ }
+ var pos = code.indexOf(str, point);
+ if (pos >= 0 && (bound == null || pos <= bound)) {
+ this.cmd("goto_char", pos + str.length);
+ return true;
+ }
+ }),
+
+ search_backward: Ymacs_Interactive("sSearch backward: ", function(str, bound) {
+ var code = this.getCode(), point = this.point();
+ if (this.getq("case_fold_search")) {
+ code = code.toLowerCase();
+ str = str.toLowerCase();
+ }
+ var pos = code.lastIndexOf(str, point);
+ if (pos == point)
+ pos = code.lastIndexOf(str, point - 1);
+ if (pos >= 0 && pos != point && (bound == null || pos >= bound)) {
+ this.cmd("goto_char", pos);
+ return true;
+ }
+ }),
+
+ make_regexp: function(rx) {
+ if (!(rx instanceof RegExp)) {
+ var matchCase = rx.toLowerCase() != rx.toUpperCase();
+ try {
+ rx = new RegExp(rx, matchCase ? "ig" : "g");
+ } catch(ex) {
+ throw new Ymacs_Exception("Invalid regexp");
+ }
+ }
+ return rx;
+ },
+
+ search_forward_regexp: Ymacs_Interactive("sRegExp search: ", function(rx) {
+ rx = this.cmd("make_regexp", rx);
+ var code = this.getCode(),
+ pos = rx.lastIndex = this.point(),
+ ret = this.matchData = rx.exec(code);
+ if (ret && rx.lastIndex != pos) {
+ ret.after = rx.lastIndex;
+ this.cmd("goto_char", rx.lastIndex);
+ return true;
+ }
+ }),
+
+ search_backward_regexp: Ymacs_Interactive("sBackward RegExp search: ", function(rx) {
+ rx = this.cmd("make_regexp", rx);
+ var m = this.lastIndexOfRegexp(this.getCode(), rx, this.point());
+ if (m && m.index != this.point()) {
+ this.cmd("goto_char", m.index);
+ return true;
+ }
+ }),
+
+ forward_word: Ymacs_Interactive_X(function(){
+ var word = this.getq("syntax_word"), end = false;
+ while (!end && !word.test(this.charAt()))
+ if (!this.cmd("forward_char"))
+ end = true;
+ while (!end && word.test(this.charAt()))
+ if (!this.cmd("forward_char"))
+ end = true;
+ }),
+
+ backward_word: Ymacs_Interactive_X(function(){
+ var word = this.getq("syntax_word"), end = false;
+ while (!end && !word.test(this.charAt(-1)))
+ if (!this.cmd("backward_char"))
+ end = true;
+ while (!end && word.test(this.charAt(-1)))
+ if (!this.cmd("backward_char"))
+ end = true;
+ }),
+
+ forward_paragraph: Ymacs_Interactive_X(function(){
+ this.cmd("forward_whitespace");
+ if (this.cmd("search_forward_regexp", this.getq("syntax_paragraph_sep")))
+ this.cmd("goto_char", this.cmd("match_beginning") + 1);
+ else
+ this.cmd("end_of_buffer");
+ }),
+
+ backward_paragraph: Ymacs_Interactive_X(function(){
+ this.cmd("backward_whitespace");
+ if (this.cmd("search_backward_regexp", this.getq("syntax_paragraph_sep")))
+ this.cmd("goto_char", this.cmd("match_end") - 1);
+ else
+ this.cmd("beginning_of_buffer");
+ }),
+
+ transpose_words: Ymacs_Interactive_X(function() {
+ // if we're in the middle of a word, some
+ // weird things happen; better skip it, just
+ // like Emacs does.
+ this.cmd("backward_char");
+ if (this.getq("syntax_word").test(this.charAt()))
+ this.cmd("forward_word");
+
+ var a = [];
+ this.cmd("forward_word"); a.push(this.point());
+ this.cmd("backward_word"); a.push(this.point());
+ this.cmd("backward_word"); a.push(this.point());
+ this.cmd("forward_word"); a.push(this.point());
+ this.cmd("goto_char", this._swapAreas(a));
+ }),
+
+ transpose_lines: Ymacs_Interactive_X(function() {
+ var a = [];
+ //alert(a[0]);
+ this.cmd("backward_line");
+ this.cmd("beginning_of_line"); a.push(this.point());
+ this.cmd("end_of_line"); a.push(this.point());
+ this.cmd("forward_char"); a.push(this.point());
+ this.cmd("end_of_line"); a.push(this.point());
+ this.cmd("goto_char", this._swapAreas(a));
+ }),
+
+ transpose_para: Ymacs_Interactive_X(function() {
+ var a = [];
+ //alert(a[0]);
+ this.cmd("backward_paragraph");
+ // this.cmd("backward_line");
+ this.cmd("forward_line"); a.push(this.point());
+ this.cmd("forward_paragraph");
+ this.cmd("backward_char"); a.push(this.point());
+ this.cmd("forward_whitespace"); a.push(this.point());
+ this.cmd("forward_paragraph");
+ this.cmd("backward_char");a.push(this.point());
+ this.cmd("goto_char", this._swapAreas(a));
+ }),
+
+ transpose_text: Ymacs_Interactive_X(function() {
+ var a = [];
+ //alert(a[0]);
+ this.cmd("beginning_of_line");
+ this.cmd("backward_paragraph");
+ this.cmd("forward_line");
+ this.cmd("forward_char");
+ this.cmd("forward_char"); a.push(this.point());
+ this.cmd("forward_paragraph");
+ this.cmd("backward_char"); a.push(this.point());
+ this.cmd("forward_whitespace");
+ this.cmd("forward_char");
+ this.cmd("forward_char");a.push(this.point());
+ this.cmd("forward_paragraph");
+ this.cmd("backward_char");a.push(this.point());
+ this.cmd("goto_char", this._swapAreas(a));
+ }),
+
+ transpose_chars: Ymacs_Interactive_X(function() {
+ var pos = this.point();
+ if (this.cmd("backward_char"))
+ this.cmd("goto_char", this._swapAreas([ pos - 1, pos, pos, pos + 1 ]));
+ }),
+
+ kill_word: Ymacs_Interactive_X(function() {
+ var pos = this.point();
+ this.cmd("forward_word");
+ var pos2 = this.point();
+ this._killingAction(pos, pos2, false);
+ }),
+
+ backward_kill_word: Ymacs_Interactive_X(function() {
+ var pos = this.point();
+ this.cmd("backward_word");
+ var pos2 = this.point();
+ this._killingAction(pos, pos2, true);
+ }),
+
+ _apply_operation_on_word: function (op, cc) {
+ var pos = this.point();
+ if (this.getq("syntax_word").test(this.charAt())) {
+ var pos2 = this.cmd("save_excursion", function(){
+ this.cmd("forward_word");
+ return this.point();
+ });
+ var word = op.call(this._bufferSubstring(pos, pos2));
+ this._deleteText(pos, pos2);
+ this._insertText(word);
+ } else {
+ this.cmd("forward_word");
+ this.cmd("backward_word");
+ if (pos != this.point())
+ this.cmd(cc);
+ }
+ },
+
+ capitalize_word: Ymacs_Interactive_X(function() {
+ this.cmd("_apply_operation_on_word", function() {
+ return this.charAt(0).toUpperCase() + this.substr(1).toLowerCase();
+ }, "capitalize_word");
+ }),
+
+ downcase_word: Ymacs_Interactive_X(function() {
+ this.cmd("_apply_operation_on_word", String.prototype.toLowerCase, "downcase_word");
+ }),
+
+ upcase_word: Ymacs_Interactive_X(function() {
+ this.cmd("_apply_operation_on_word", String.prototype.toUpperCase, "upcase_word");
+ }),
+
+ goto_char: Ymacs_Interactive("NGoto char: ", function(pos){
+ return this._repositionCaret(pos);
+ }),
+
+ goto_line: Ymacs_Interactive("NGoto line: ", function(row){
+ var pos = this._rowColToPosition(row - 1, 0);
+ return this.cmd("goto_char", pos);
+ }),
+
+ move_to_column: Ymacs_Interactive("NMove to column: ", function(col, force){
+ var rc = this._positionToRowCol(this.point());
+ var text = this.code[rc.row];
+ if (text.length < col) {
+ if (force) {
+ this.cmd("end_of_line");
+ this.cmd("insert", " ".x(col - text.length));
+ } else {
+ this.cmd("end_of_line");
+ }
+ } else {
+ this.cmd("goto_char", this._rowColToPosition(rc.row, col));
+ }
+ }),
+
+ delete_region: Ymacs_Interactive("r", function(begin, end){
+ this._deleteText(begin, end);
+ }),
+
+ insert: Ymacs_Interactive("sInsert text: ", function(){
+ return this._insertText(Array.$(arguments).join(""));
+ }),
+
+ keyboard_quit: Ymacs_Interactive("^p", Function.noop),
+
+ buffer_substring: function(begin, end) {
+ if (arguments.length == 0) {
+ var r = this.getRegion();
+ begin = r.begin;
+ end = r.end;
+ }
+ return this._bufferSubstring(begin, end);
+ },
+
+ kill_line: Ymacs_Interactive_X(function() {
+ var pos = this.point(),
+ rc = this._rowcol,
+ line = this.code[rc.row],
+ end = pos + line.length - rc.col;
+ if (rc.row < this.code.length - 1 && this.cmd("looking_at", /\s*$/mg))
+ end++;
+ this._killingAction(pos, end);
+ }),
+
+ save_excursion: function() {
+ return this._saveExcursion.apply(this, arguments);
+ },
+
+ prevent_undo: function() {
+ return this._disableUndo.apply(this, arguments);
+ },
+
+ point: function() {
+ return this.caretMarker.getPosition();
+ },
+
+ kill_region: Ymacs_Interactive("r", function(begin, end){
+ this._killingAction(begin, end);
+ }),
+
+ copy_region_as_kill: Ymacs_Interactive("r", function(begin, end){
+ this._killingAction(begin, end, false, true);
+ }),
+
+ yank: Ymacs_Interactive("^P", function(atStart){
+ this.deleteTransientRegion();
+ var point = this.point();
+ this._insertText(this.ymacs.killRingText());
+ this.cmd("set_mark_command", point);
+ if (atStart)
+ this.cmd("exchange_point_and_mark");
+ }),
+
+ yank_pop: Ymacs_Interactive(function() {
+ if (/^yank/.test(this.previousCommand)) {
+ this.ymacs.rotateKillRing(false);
+ this._deleteText(this.caretMarker, this.markMarker);
+ this.cmd("yank");
+ } else {
+ this.signalError("Previous command was not a yank");
+ }
+ }),
+
+ yank_shift: Ymacs_Interactive(function() {
+ if (/^yank/.test(this.previousCommand)) {
+ this.ymacs.rotateKillRing(true);
+ this._deleteText(this.caretMarker, this.markMarker);
+ this.cmd("yank");
+ } else {
+ this.signalError("Previous command was not a yank");
+ }
+ }),
+
+ mark: function() {
+ return this.markMarker.getPosition();
+ },
+
+ set_mark_command: Ymacs_Interactive("d", function(x){
+ if (this.currentCommand == "set_mark_command")
+ this.signalInfo("Mark set", null, 1000);
+ this.markMarker.setPosition(x);
+ }),
+
+ exchange_point_and_mark: Ymacs_Interactive("^", function(){
+ this.caretMarker.swap(this.markMarker);
+ }),
+
+ mark_whole_buffer: Ymacs_Interactive(function(){
+ this.clearTransientMark();
+ this.cmd("end_of_buffer");
+ this.ensureTransientMark();
+ this.cmd("beginning_of_buffer");
+ this.ensureTransientMark();
+ }),
+
+ // <XXX>: the following two kind of suck
+
+ recenter_top_bottom: Ymacs_Interactive(function() {
+ this.whenActiveFrame(function(frame){
+ frame.ensureCaretVisible(true);
+ frame.centerOnCaret();
+ });
+ }),
+
+ ensure_caret_visible: Ymacs_Interactive(function() {
+ this.whenActiveFrame(function(frame){
+ // frame.centerOnCaretIfNotVisible();
+ frame.ensureCaretVisible(true);
+ frame.centerOnCaret();
+ });
+ }),
+
+ // </XXX>
+
+ /* -----[ paragraphs ]----- */
+
+ fill_paragraph: Ymacs_Interactive("P", function(noPrefix) {
+ this.cmd("save_excursion", function(){
+ if (!this.cmd("looking_at", this.getq("syntax_paragraph_sep")))
+ this.cmd("forward_paragraph");
+ var eop = this.createMarker(this.point() - 1);
+ this.cmd("backward_paragraph");
+ if (this.point() > 0)
+ this.cmd("forward_char");
+
+ // identify the prefix to use for each line
+ var prefix = "", del = false;
+ if (this.cmd("looking_at", /\s*([-]|[0-9]+\.|\(?[a-z][\).])?\s+/ig)) {
+ prefix = " ".x(this.matchData[0].length);
+ del = /\s*[#>;\s]*\s*/g;
+ }
+ else if (this.cmd("looking_at", /\s*[#>;*\s]+\s*/g)) {
+ prefix = this.matchData[0];
+ del = /\s*[#>;\s]*\s*/g;
+ }
+
+ if (noPrefix) {
+ this._deleteText(this.point(), this.point() + this.matchData[0].length);
+ prefix = "";
+ }
+
+ // remove newlines first
+ while (true) {
+ this.cmd("end_of_line");
+ this.cmd("backward_delete_whitespace");
+ if (this.point() >= eop.getPosition())
+ break;
+ this._replaceText(this.point(), this.point() + 1, " ");
+ if (del && this.cmd("looking_at", del)) {
+ this._deleteText(this.point(), this.point() + this.matchData[0].length);
+ }
+ }
+
+ this.cmd("beginning_of_line");
+
+ // main operation
+ while (this.point() < eop.getPosition()) {
+ var p = this.point();
+ if (!this.cmd("search_forward_regexp", /\s/g))
+ break;
+ if (this.point() > eop.getPosition()) {
+ this.cmd("goto_char", eop);
+ }
+ if (this._rowcol.col > this.getq("fill_column")) {
+ this.cmd("goto_char", p);
+ this.cmd("backward_delete_whitespace");
+ this.cmd("newline");
+ this.cmd("insert", prefix);
+ }
+ }
+
+ eop.destroy();
+
+ this.cmd("recenter_top_bottom");
+ });
+ }),
+
+ fill_paragraph_no_prefix: Ymacs_Interactive(function() {
+ return this.cmd("fill_paragraph", true);
+ }),
+
+ // this looks at the style of the current paragraph and starts
+ // a similar one, i.e. using same indentation level and prefix
+ // (list-like prefixes are incremented)
+
+
+
+
+
+ sub_bullet: Ymacs_Interactive(function() {
+ this.cmd("backward_line");
+ if (this.point() > 1)
+ this.cmd("forward_char");
+
+ // identify the prefix to use for each line
+ var prefix = "*";
+ if (this.cmd("looking_at", /(\s*)([+#-])(\s)([a-z]+)/g)) {
+
+ prefix = this.matchData[1]+this.matchData[2];
+ //alert(prefix);
+
+ }
+
+ this.cmd("forward_line");
+ if (this.cmd("eob_p"))
+ this.cmd("newline");
+ // this.cmd("newline");
+
+ this.cmd("insert",prefix);
+
+ if (!this.cmd("looking_at", /\n/g)) {
+ this.cmd("newline");
+ this.cmd("backward_char");
+ };
+ }),
+
+ start_next_paragraph: Ymacs_Interactive(function() {
+ this.cmd("backward_paragraph");
+ if (this.point() > 1)
+ this.cmd("forward_char");
+
+ // identify the prefix to use for each line
+ var prefix = "*";
+ if (this.cmd("looking_at", /(\s*)([0-9]+)(\.)(\s+)/g)) {
+ prefix = this.matchData[1] +
+ (parseInt(this.matchData[2], 10) + 1) +
+ this.matchData[3];//+this.matchdata[4];//+this.matchdata[5];
+
+ }
+ else if (this.cmd("looking_at", /(\s*\(?)([a-z])([\.\)]\s+)/ig)) {
+ prefix = this.matchData[1] +
+ String.fromCharCode(this.matchData[2].charCodeAt(0) + 1) +
+ this.matchData[3];//+this.matchdata[4];//+this.matchdata[5];
+
+ }
+
+
+ else if (this.cmd("looking_at", /[#>;*-]+/g)) {
+ prefix = this.matchData[0];
+
+ }
+ this.cmd("forward_paragraph");
+ if (this.cmd("eob_p"))
+ this.cmd("newline");
+ this.cmd("newline");
+
+ this.cmd("insert",prefix," ");
+
+ if (!this.cmd("looking_at", /\n/g)) {
+ this.cmd("newline");
+ this.cmd("backward_char");
+ };
+ }),
+
+ scroll_down: Ymacs_Interactive_X(function() {
+ this.whenActiveFrame(function(frame){
+ var hl = frame.heightInLines();
+ this.cmd("forward_line", Math.round(hl / 1.33));
+ this.cmd("recenter_top_bottom");
+ });
+ }),
+
+ scroll_up: Ymacs_Interactive_X(function() {
+ this.whenActiveFrame(function(frame){
+ var hl = frame.heightInLines();
+ this.cmd("backward_line", Math.round(hl / 1.33));
+ this.cmd("recenter_top_bottom");
+ });
+ }),
+
+ nuke_trailing_whitespace: Ymacs_Interactive(function() {
+ this.cmd("save_excursion", function(){
+ this.cmd("goto_char", 0);
+ while (this._rowcol.row < this.code.length) {
+ var line = this.code[this._rowcol.row],
+ m = /\s+$/.exec(line);
+ if (m) {
+ this.cmd("beginning_of_line");
+ this._deleteText(this.point() + m.index, this.point() + line.length);
+ }
+ if (!this.cmd("forward_line"))
+ break;
+ }
+ });
+ }),
+
+ match_string: function(n) {
+ return this.matchData[n];
+ },
+
+ match_beginning: function() {
+ return this.matchData.index;
+ },
+
+ match_end: function() {
+ return this.matchData.index + this.matchData[0].length;
+ },
+
+ undo: Ymacs_Interactive_X(function() {
+ var q = this.__undoQueue;
+ this.__undoQueue = this.__redoQueue;
+ this._placeUndoBoundary();
+ if (!this._playbackUndo(q)) {
+ this.signalError("No further undo information");
+ }
+ this.__undoQueue = q;
+ }),
+
+ center_line: Ymacs_Interactive("p", function(n){
+ if (n == null) n = 1;
+ n.times(function(i){
+ if (i > 0)
+ this.cmd("forward_line");
+ this.cmd("save_excursion", function(){
+ this.cmd("end_of_line");
+ this.cmd("backward_delete_whitespace", true);
+ this.cmd("beginning_of_line");
+ this.cmd("delete_whitespace", true);
+ var line = this.code[this._rowcol.row];
+ var indent = Math.floor((this.getq("fill_column") - line.length) / 2);
+ this.cmd("insert", " ".x(indent));
+ });
+ }, this);
+ }),
+
+ /* -----[ dabbrev ]----- */
+
+ dabbrev_expand: Ymacs_Interactive_X(function() {
+ if (this.previousCommand != "dabbrev_expand")
+ this.setq("dabbrev_context", null);
+
+ var ctx = this.getq("dabbrev_context");
+ if (!ctx) {
+ ctx = this.setq("dabbrev_context", {});
+ var p1 = this.cmd("save_excursion", function(){
+ this.cmd("bind_variables", {
+ syntax_word: this.getq("syntax_word_dabbrev")
+ }, "backward_word");
+ return this.point();
+ });
+ if (p1 == this.point())
+ return this.signalError("Nothing to expand");
+ ctx.search = this.cmd("buffer_substring", p1, this.point());
+ ctx.point = p1;
+ ctx.length = this.point() - p1;
+ ctx.lastSearch = p1;
+ ctx.encountered = {};
+ ctx.forward = false;
+ ctx.buffer = this;
+ ctx.startBuffer = this;
+ }
+ var expansion;
+
+ // in the following excursion, *this* is ctx.buffer,
+ // not necessarily the currently active buffer. It's
+ // purpose is to determine the next expansion and
+ // setup the context so that the next invocation would
+ // continue.
+ ctx.buffer.cmd("save_excursion", function repeat(){
+ var word = this.getq("syntax_word_dabbrev");
+ var p1;
+ var found = false;
+ this.cmd("goto_char", ctx.lastSearch);
+ // console.log("last at: %d", ctx.lastSearch);
+ if (!ctx.forward) {
+ while (this.cmd("search_backward", ctx.search)) {
+ if (!word.test(this.charAt(-1))) {
+ found = true;
+ break;
+ }
+ }
+ if (found) {
+ p1 = this.point();
+ ctx.lastSearch = p1;
+ this.cmd("goto_char", p1 + ctx.search.length);
+ } else {
+ ctx.forward = true;
+ ctx.lastSearch = ctx.point + ctx.length;
+ repeat.call(this);
+ return;
+ }
+ } else {
+ while (this.cmd("search_forward", ctx.search))
+ if (!word.test(this.charAt(-ctx.search.length - 1))) {
+ found = true;
+ break;
+ }
+ if (found) {
+ ctx.lastSearch = this.point();
+ p1 = this.point() - ctx.search.length;
+ } else {
+ ctx.buffer = this.whenYmacs("getNextBuffer", this);
+ if (ctx.buffer === ctx.startBuffer) {
+ expansion = ctx.search;
+ ctx.startBuffer.signalError("No more completions");
+ ctx.lastSearch = ctx.point + ctx.length;
+ ctx.startBuffer.setq("dabbrev_context", null);
+ return;
+ } else {
+ ctx.lastSearch = 0;
+ ctx.buffer.cmd("save_excursion", repeat);
+ return;
+ }
+ }
+ }
+ if (p1 != null) {
+ // console.log("%s at %d, next from %d", ctx.search, p1, ctx.lastSearch);
+ this.cmd("bind_variables", {
+ syntax_word: this.getq("syntax_word_dabbrev")
+ }, "forward_word");
+ expansion = this.cmd("buffer_substring", p1, this.point());
+ if (Object.HOP(ctx.encountered, expansion))
+ repeat.call(this);
+ }
+ });
+ if (expansion != null) {
+ this._replaceText(ctx.point, ctx.point + ctx.length, expansion);
+ ctx.length = expansion.length;
+ ctx.encountered[expansion] = true;
+ }
+ }),
+
+ /* -----[ frames and buffers ]----- */
+
+ split_frame_vertically: Ymacs_Interactive("p", function(percent) {
+ if (percent == null) percent = "50%";
+ else percent += "%";
+ this.whenActiveFrame("vsplit", percent);
+ }),
+
+ split_frame_horizontally: Ymacs_Interactive("p", function(percent) {
+ if (percent == null) percent = "50%";
+ else percent += "%";
+ this.whenActiveFrame("hsplit", percent);
+ }),
+
+ delete_other_frames: Ymacs_Interactive(function() {
+ this.whenActiveFrame("deleteOtherFrames");
+ }),
+
+ delete_frame: Ymacs_Interactive(function() {
+ this.whenActiveFrame("deleteFrame");
+ }),
+
+ other_frame: Ymacs_Interactive(function() {
+ this.whenYmacs("focusOtherFrame");
+ }),
+
+ windmove: function(dir) {
+ this.whenYmacs(function(ymacs){
+ var f = ymacs.getFrameInDirection(dir);
+ if (f) f.focus();
+ });
+ },
+
+ next_buffer: Ymacs_Interactive(function() {
+ this.whenYmacs("switchToNextBuffer", this.sameCommandCount() + 1);
+ }),
+
+ previous_buffer: Ymacs_Interactive(function() {
+ this.whenYmacs("switchToPreviousBuffer", this.sameCommandCount() + 1);
+ }),
+
+ switch_to_buffer: Ymacs_Interactive("BSwitch to buffer: ", function(name) {
+ this.whenYmacs(function(ymacs){
+ ymacs.switchToBuffer(name);
+ });
+ }),
+
+ kill_buffer: Ymacs_Interactive(function() {
+ this.whenYmacs(function(ymacs){
+ ymacs.killBuffer(this);
+ });
+ }),
+
+ rename_buffer: Ymacs_Interactive("sRename current buffer to: ", function(name){
+ this.whenYmacs(function(ymacs){
+ ymacs.renameBuffer(this, name);
+ });
+ }),
+
+ /* -----[ other ]----- */
+
+ delete_region_or_line: Ymacs_Interactive("^", function() {
+ if (!this.deleteTransientRegion()) {
+ this.cmd("beginning_of_line");
+ var pos = this.point();
+ if (this.cmd("forward_line") || this.cmd("end_of_line")) {
+ this._deleteText(pos, this.point());
+ return true;
+ }
+ }
+ }),
+ delete_line: Ymacs_Interactive("^", function() {
+
+
+ this.cmd("beginning_of_line");
+ var pos = this.point();
+ alert(pos);
+ this.cmd("end_of_line");
+ var pos1 = this.point();
+ alert(pos1);
+ this._replaceText(pos, pos1,"");
+ return true;
+
+
+
+
+
+ }),
+
+
+
+ // http://mihai.bazon.net/blog/close-last-xml-tag-emacs
+ close_last_xml_tag: Ymacs_Interactive_X(function() {
+ var tag, quote;
+ this.cmd("save_excursion", function() {
+ var skip = 1;
+ while (skip != 0 && this.cmd("search_backward_regexp", /<\x2f?([a-zA-Z0-9:_-]+)/g)) {
+ tag = this.cmd("match_string", 1);
+ if (this.cmd("looking_at", /<\x2f/g)) {
+ ++skip;
+ }
+ else if (!this.cmd("looking_at", /<[^\x2f][^>]*?\x2f>/g)) {
+ --skip;
+ }
+ }
+ if (skip != 0)
+ tag = null;
+ });
+ if (tag) {
+ this.cmd("insert", "</", tag, ">");
+ } else {
+ throw new Ymacs_Exception("Couldn't find a tag to close");
+ }
+ }),
+
+ bind_variables: function() {
+ return this.withVariables.apply(this, arguments);
+ },
+
+ for_region: Ymacs_Interactive("^r\nCExecute command within region: ", function(begin, end, func) {
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; } // MACROS! I WANT MACROS! EVAL SUCKS. x-(
+ if (!(func instanceof Function))
+ func = this.COMMANDS[func];
+ this.clearTransientMark();
+ this.cmd("goto_char", begin);
+ begin = this.createMarker(begin, true);
+ end = this.createMarker(end);
+ this.withCommands(
+ {
+ goto_char: function(pos){
+ if (pos >= begin.getPosition() && pos <= end.getPosition())
+ return this._repositionCaret(pos);
+ throw "YMACS_RESTRICT";
+ }
+ },
+ function() {
+ try {
+ while (true) {
+ var tmp = this.point();
+ func.call(this);
+ if (this.point() == tmp && !this.cmd("forward_line"))
+ break;
+ }
+ } catch(ex) {
+ if (ex !== "YMACS_RESTRICT")
+ throw ex;
+ } finally {
+ begin.destroy();
+ end.destroy();
+ }
+ }
+ );
+ })
+
+});
+
+/* -----[ rectangle functions (vertical editing) ]----- */
+
+(function(){
+
+ function apply_on_rectangle(buffer, begin, end, func) {
+ buffer.cmd("save_excursion", function(){
+ var p1 = this._positionToRowCol(begin),
+ p2 = this._positionToRowCol(end),
+ width = Math.abs(p2.col - p1.col);
+ for (var line = p1.row; line <= p2.row; ++line) {
+ this.cmd("goto_char", this._rowColToPosition(line, 0));
+ var text = this.code[line],
+ c1 = p1.col,
+ c2 = p2.col,
+ p = this.point(), ws = 0;
+ if (c1 > c2) {
+ var tmp = c1;
+ c1 = c2;
+ c2 = tmp;
+ }
+ if (c1 > text.length) {
+ ws = c1 - text.length;
+ c1 = text.length;
+ }
+ if (c2 > text.length) {
+ c2 = text.length;
+ }
+ func.call(this, p + c1, p + c2, ws, width);
+ }
+ }, begin == buffer.point());
+ };
+
+ Ymacs_Buffer.newCommands({
+
+ string_rectangle: Ymacs_Interactive("r\nsString rectangle: ", function(begin, end, string) {
+ apply_on_rectangle(this, begin, end, function(c1, c2, ws){
+ if (ws > 0) {
+ this._insertText(" ".x(ws), c1);
+ } else {
+ this._deleteText(c1, c2);
+ }
+ this._insertText(string, c1 + ws);
+ });
+ }),
+
+ kill_rectangle: Ymacs_Interactive("r", function(begin, end){
+ var text = [];
+ apply_on_rectangle(this, begin, end, function(c1, c2, ws, width){
+ var str = this._bufferSubstring(c1, c2);
+ if (c2 - c1 < width)
+ str += " ".x(width - c2 + c1);
+ text.push(str);
+ this._deleteText(c1, c2);
+ });
+ this.setq("killed_rectangle", text);
+ }),
+
+ clear_rectangle: Ymacs_Interactive("r", function(begin, end){
+ this.cmd("string_rectangle", begin, end,
+ " ".x(Math.abs(this._positionToRowCol(end).col -
+ this._positionToRowCol(begin).col)));
+ }),
+
+ insert_rectangle: function(point, rect) {
+ var col = this._positionToRowCol(point).col;
+ this.cmd("set_mark_command", point);
+ rect.foreach(function(text, i){
+ if (i > 0) {
+ if (!this.cmd("forward_line")) {
+ this.cmd("end_of_line");
+ this.cmd("newline");
+ }
+ this.cmd("move_to_column", col, true);
+ }
+ this.cmd("insert", text);
+ }, this);
+ },
+
+ yank_rectangle: Ymacs_Interactive("d", function(point){
+ var kr = this.getq("killed_rectangle");
+ if (kr == null)
+ throw new Ymacs_Exception("No killed rectangle");
+ this.cmd("insert_rectangle", point, kr);
+ })
+
+ });
+
+})();
+
+/* -----[ commands to help using the system clipboard ]----- */
+
+(function(){
+
+ // <XXX>
+ // this should be moved some level up if it proves to be more
+ // generally useful
+ function modalTextarea(title, text, cont) {
+ var dlg = this.createDialog({ title : title,
+ quitBtn : "destroy",
+ modal : true });
+ var entry = new DlEntry({ parent: dlg, type: "textarea", fillParent: true, value: text });
+ dlg._focusedWidget = entry;
+ dlg.setSize({ x: 350, y: 250 });
+ entry.addEventListener("onKeyPress", function(ev){
+ if (ev.keyCode != DlKeyboard.ESCAPE) {
+ // var code = entry.getValue().replace(/\t/g, " ");
+ var code = entry.getValue();
+ dlg.destroy();
+ cont.delayed(0, this, code);
+ // XXX Without a delay here, be it zero, stars will align in such a way that
+ // yank_from_operating_system will move the caret in some bizarre position after
+ // inserting the pasted text.
+ // cont.call(this, code);
+ }
+ }.clearingTimeout(0, this));
+ dlg.show(true);
+ entry.select();
+ };
+ // </XXX>
+
+ Ymacs_Buffer.newCommands({
+
+ yank_from_operating_system: Ymacs_Interactive(function() {
+ modalTextarea.call(this, "Paste below (press CTRL-V)", null, function(code){
+ this._saveKilledText(code);
+ this.cmd("yank");
+ this.cmd("recenter_top_bottom");
+ });
+ }),
+
+ copy_for_operating_system: Ymacs_Interactive("r", function(begin, end) {
+ modalTextarea.call(this, "Press CTRL-C", this.cmd("buffer_substring"), function(){
+ this.cmd("copy_region_as_kill", begin, end);
+ });
+ }),
+
+ kill_for_operating_system: Ymacs_Interactive("r", function(begin, end) {
+ modalTextarea.call(this, "Press CTRL-C or CTRL-X", this.cmd("buffer_substring"), function(){
+ this.cmd("kill_region", begin, end);
+ });
+ })
+
+ });
+
+})();
+
+/* -----[ transient mark extension commands ]----- */
+
+[
+ "forward_char",
+ "forward_word",
+ "forward_line",
+ "forward_paragraph",
+ "forward_sexp",
+ "beginning_of_line",
+ "beginning_of_indentation_or_line",
+ "beginning_of_buffer",
+ "backward_char",
+ "backward_word",
+ "backward_line",
+ "backward_paragraph",
+ "backward_sexp",
+ "end_of_line",
+ "end_of_buffer"
+
+].foreach(function(cmd) {
+ Ymacs_Buffer.COMMANDS[cmd + "_mark"] = Ymacs_Interactive("^", function(){
+ this.ensureTransientMark();
+ this.cmdApply(cmd, arguments);
+ this.ensureTransientMark();
+ });
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-exception.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-exception.js.svn-base
new file mode 100644
index 0000000..9a3f9bb
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-exception.js.svn-base
@@ -0,0 +1,36 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+function Ymacs_Exception(why) {
+ this.message = why;
+};
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-frame.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-frame.js.svn-base
new file mode 100644
index 0000000..c2c83cd
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-frame.js.svn-base
@@ -0,0 +1,696 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs.js
+
+DEFINE_CLASS("Ymacs_Frame", DlContainer, function(D, P, DOM) {
+
+ var DBL_CLICK_SPEED = 300;
+
+ var EX = DlException.stopEventBubbling;
+
+ var LINE_DIV = DOM.createElement("div", null, { className: "line", innerHTML: "<br/>" });
+
+ var BLINK_TIMEOUT = 225;
+
+ D.DEFAULT_EVENTS = [ "onPointChange" ];
+
+ D.DEFAULT_ARGS = {
+ highlightCurrentLine : [ "highlightCurrentLine" , true ],
+ buffer : [ "buffer" , null ],
+ ymacs : [ "ymacs" , null ],
+ isMinibuffer : [ "isMinibuffer" , false ],
+
+ // override in DlWidget
+ _focusable : [ "focusable" , true ],
+ _fillParent : [ "fillParent" , true ]
+ };
+
+ D.CONSTRUCT = function() {
+ this.__blinkCaret = this.__blinkCaret.$(this);
+ this.__caretId = Dynarch.ID();
+ this.redrawModelineWithTimer = this.redrawModeline.clearingTimeout(0, this);
+
+ this.getElement().innerHTML = HTML;
+
+ this.addEventListener({
+ onDestroy : this._on_destroy,
+ onFocus : this._on_focus,
+ onBlur : this._on_blur,
+ onMouseDown : this._on_mouseDown,
+ onKeyDown : this._on_keyDown,
+ onKeyPress : this._on_keyPress,
+ onKeyPress : this._on_keyPress,
+ onKeyUp : this._on_keyUp,
+ onResize : this._on_resize
+ });
+
+ this._dragSelectCaptures = {
+ onMouseOver : EX,
+ onMouseOut : EX,
+ onMouseEnter : EX,
+ onMouseLeave : EX,
+ onMouseMove : _dragSelect_onMouseMove.$(this),
+ onMouseUp : _dragSelect_onMouseUp.$(this)
+ };
+
+ this._bufferEvents = {
+ onLineChange : this._on_bufferLineChange.$(this),
+ onInsertLine : this._on_bufferInsertLine.$(this),
+ onDeleteLine : this._on_bufferDeleteLine.$(this),
+ onPointChange : this._on_bufferPointChange.$(this),
+ onResetCode : this._on_bufferResetCode.$(this),
+ onOverwriteMode : this._on_bufferOverwriteMode.$(this),
+ onProgressChange : this._on_bufferProgressChange.$(this),
+ beforeInteractiveCommand : this._on_bufferBeforeInteractiveCommand.$(this),
+ afterInteractiveCommand : this._on_bufferAfterInteractiveCommand.$(this),
+ onOverlayDelete : this._on_bufferOverlayDelete.$(this)
+ };
+
+ this._moreBufferEvents = {
+ onMessage : this._on_bufferMessage.$(this),
+ onOverlayChange : this._on_bufferOverlayChange.$(this),
+ afterInteractiveCommand : this.ensureCaretVisible.$(this)
+ };
+
+ var buffer = this.buffer;
+ this.buffer = null;
+ if (buffer)
+ this.setBuffer(buffer);
+ if (!this.isMinibuffer && this.ymacs.cf_lineNumbers)
+ this.toggleLineNumbers();
+ };
+
+ var HTML = String.buffer(
+ "<div class='Ymacs-frame-overlays'>",
+ "<div class='Ymacs-frame-content'></div>",
+ "</div>",
+ "<div class='Ymacs_Modeline'></div>"
+ ).get();
+
+ P.focus = function(exitAllowed) {
+ D.BASE.focus.call(this);
+ if (exitAllowed instanceof Function) {
+ this.removeEventListener("onBlur", this.__exitFocusHandler);
+ this.addEventListener("onBlur", this.__exitFocusHandler = function(){
+ if (exitAllowed.call(this.buffer)) {
+ this.removeEventListener("onBlur", this.__exitFocusHandler);
+ } else {
+ this.focus.delayed(2, this, null);
+ }
+ });
+ }
+ };
+
+ P.blur = function(force) {
+ if (force)
+ this.removeEventListener("onBlur", this.__exitFocusHandler);
+ D.BASE.blur.call(this);
+ };
+
+ P.getOverlaysContainer = function() {
+ return this.getElement().firstChild;
+ };
+
+ P.getModelineElement = function() {
+ return this.getElement().childNodes[1];
+ };
+
+ P.getContentElement = function() {
+ return this.getElement().firstChild.firstChild;
+ };
+
+ P.getCaretElement = function() {
+ return document.getElementById(this.__caretId);
+ };
+
+ P.getLineDivElement = function(row) {
+ return this.getContentElement().childNodes[row] || null;
+ };
+
+ P.ensureCaretVisible = function() {
+ this._redrawCaret();
+
+ var caret = this.getCaretElement();
+ if (!caret)
+ return;
+ var div = this.getOverlaysContainer(), line = this.getLineDivElement(this.buffer._rowcol.row);
+
+ // vertical
+ var diff = line.offsetTop + line.offsetHeight - (div.scrollTop + div.clientHeight);
+ if (diff > 0) {
+ div.scrollTop += diff;
+ } else {
+ diff = line.offsetTop - div.scrollTop;
+ if (diff < 0) {
+ div.scrollTop += diff;
+ }
+ }
+
+ // horizontal
+ diff = caret.offsetLeft + caret.offsetWidth - (div.scrollLeft + div.clientWidth);
+ // if (caret.offsetLeft + caret.offsetWidth < div.clientWidth)
+ // div.scrollLeft = 0;
+ if (diff > 0) {
+ div.scrollLeft += diff;
+ } else {
+ diff = caret.offsetLeft - div.scrollLeft;
+ if (diff < 0)
+ div.scrollLeft += diff;
+ }
+ };
+
+ P.setBuffer = function(buffer) {
+ if (this.buffer) {
+ if (this.caretMarker && !this.isMinibuffer) {
+ this.caretMarker.destroy();
+ this.caretMarker = null;
+ }
+ this.buffer.removeEventListener(this._bufferEvents);
+ this.buffer.removeEventListener(this._moreBufferEvents);
+ }
+ this.buffer = buffer;
+ if (buffer) {
+ this.buffer.addEventListener(this._bufferEvents);
+ if (this.focusInside()) {
+ buffer.addEventListener(this._moreBufferEvents);
+ }
+ if (this.isMinibuffer) {
+ this.caretMarker = buffer.caretMarker;
+ } else {
+ this.caretMarker = buffer.createMarker(buffer.caretMarker.getPosition());
+ }
+ this._redrawBuffer();
+ this._redrawCaret(true);
+ this.centerOnCaret();
+ }
+ };
+
+ P.centerOnCaret = function() {
+ this.centerOnLine(this.buffer._rowcol.row);
+ };
+
+ P.centerOnLine = function(row) {
+ var line = this.getLineDivElement(row), div = this.getOverlaysContainer();
+ div.scrollTop = Math.round(line.offsetTop - div.clientHeight / 2 + line.offsetHeight / 2);
+ // this._redrawBuffer();
+ };
+
+ P.setModelineContent = function(html) {
+ this.getModelineElement().innerHTML = html;
+ };
+
+ P.deleteOtherFrames = function() {
+ this.ymacs.keepOnlyFrame(this);
+ };
+
+ P.deleteFrame = function() {
+ this.ymacs.deleteFrame(this);
+ };
+
+ P.vsplit = function(percent) {
+ if (percent == null) percent = "50%";
+ var cont = this.parent,
+ fr = this.ymacs.createFrame({ buffer: this.buffer }),
+ layout = new DlLayout(),
+ rb = new DlResizeBar({ widget: this, keepPercent: true, horiz: true, className: "Ymacs-splitbar-horiz" });
+ if (this._resizeBar)
+ this._resizeBar._widget = layout;
+ this._resizeBar = rb;
+ cont.replaceWidget(this, layout);
+ layout.packWidget(this, { pos: "top", fill: percent });
+ layout.packWidget(rb, { pos: "top" });
+ layout.packWidget(fr, { pos: "top", fill: "*" });
+ cont.__doLayout();
+ fr.centerOnCaret();
+ };
+
+ P.hsplit = function(percent) {
+ if (percent == null) percent = "50%";
+ var cont = this.parent,
+ fr = this.ymacs.createFrame({ buffer: this.buffer }),
+ layout = new DlLayout(),
+ rb = new DlResizeBar({ widget: this, keepPercent: true, className: "Ymacs-splitbar-vert" });
+ if (this._resizeBar)
+ this._resizeBar._widget = layout;
+ this._resizeBar = rb;
+ cont.replaceWidget(this, layout);
+ layout.packWidget(this, { pos: "left", fill: percent });
+ layout.packWidget(rb, { pos: "left" });
+ layout.packWidget(fr, { pos: "left", fill: "*" });
+ cont.__doLayout();
+ fr.centerOnCaret();
+ };
+
+ P.toggleLineNumbers = function() {
+ this.condClass(this.__lineNumbers =! this.__lineNumbers, "Ymacs-line-numbers");
+ };
+
+ function insertInText(div, col, el) {
+ // this is for empty lines
+ if (/^br$/i.test(div.firstChild.tagName)) {
+ div.insertBefore(el, div.firstChild);
+ return el;
+ }
+ var len = 0, OUT = {};
+ function walk(div) {
+ for (var i = div.firstChild; i; i = i.nextSibling) {
+ if (i.nodeType == 3 /* TEXT */) {
+ var clen = i.length;
+ if (len + clen > col) {
+ var pos = col - len; // here we should insert it, relative to the current node
+ var next = i.splitText(pos);
+ div.insertBefore(el, next);
+ throw OUT;
+ }
+ else if (len + clen == col) {
+ // this case is simpler; it could have been treated
+ // above, but let's optimize a bit since there's no need
+ // to split the text.
+ div.insertBefore(el, i.nextSibling);
+ throw OUT;
+ }
+ len += clen;
+ }
+ else if (i.nodeType == 1 /* ELEMENT */) {
+ walk(i); // recurse
+ }
+ }
+ };
+ try {
+ walk(div);
+ }
+ catch(ex) {
+ if (ex === OUT)
+ return el;
+ throw ex;
+ }
+ };
+
+ P.setMarkerAtPos = function(row, col) {
+ if (!row.tagName) // accept an element as well
+ row = this.getLineDivElement(row);
+ if (row)
+ return insertInText(row, col, DOM.createElement("span"));
+ };
+
+ P.__restartBlinking = function() {
+ this.__stopBlinking();
+ if (this.focusInside()) {
+ this.__caretTimer = setTimeout(this.__blinkCaret, 2 * BLINK_TIMEOUT);
+ }
+ };
+
+ P.__stopBlinking = function() {
+ clearTimeout(this.__caretTimer);
+ this.__showCaret();
+ };
+
+ P.__blinkCaret = function() {
+ DOM.condClass(this.getCaretElement(), this.BLINKING = ! this.BLINKING, "Ymacs-caret");
+ this.__caretTimer = setTimeout(this.__blinkCaret, BLINK_TIMEOUT);
+ };
+
+ P.__showCaret = function() {
+ DOM.addClass(this.getCaretElement(), "Ymacs-caret");
+ };
+
+ P._unhoverLine = function() {
+ if (this.__hoverLine != null) {
+ DOM.delClass(this.getLineDivElement(this.__hoverLine), "Ymacs-current-line");
+ this.__hoverLine = null;
+ }
+ };
+
+ P._redrawCaret = function(force) {
+ var isActive = this.ymacs.getActiveFrame() === this;
+ if (!force && !isActive)
+ return;
+
+ if (isActive && !this.isMinibuffer)
+ this.caretMarker.setPosition(this.buffer.caretMarker.getPosition());
+
+ var rc = this.buffer._rowcol;
+
+ if (this.highlightCurrentLine) {
+ this._unhoverLine();
+ DOM.addClass(this.getLineDivElement(rc.row), "Ymacs-current-line");
+ this.__hoverLine = rc.row;
+ }
+
+ // redraw the line where the caret was previously, so that it disappears from there
+ if (this.__prevCaretLine != null) {
+ this._on_bufferLineChange(this.__prevCaretLine);
+ }
+
+ // redraw current line if it's different
+ if (this.__prevCaretLine != rc.row) {
+ this.__prevCaretLine = rc.row;
+ this._on_bufferLineChange(rc.row);
+ }
+
+ // var caret = this.getCaretElement();
+ // if (caret)
+ // DOM.strip(caret);
+ // this._on_bufferLineChange(rc.row);
+
+ if (isActive)
+ this.__restartBlinking();
+
+ this.callHooks("onPointChange", rc.row, rc.col);
+ this.redrawModelineWithTimer(rc);
+ };
+
+ P._getLineHTML = function(row) {
+ var html = this.buffer.formatLineHTML(row, this.caretMarker);
+ // taking advantage of the fact that a literal > entered by the user will never appear in
+ // the generated HTML, since special HTMl characters are escaped.
+ var pos = html.indexOf("Ymacs-caret'>");
+ if (pos >= 0) {
+ html = html.substr(0, pos + 12)
+ + " id='" + this.__caretId + "'"
+ + html.substr(pos + 12);
+ }
+ return html;
+ };
+
+ P._redrawBuffer = function() {
+ this.setContent(this.buffer.code.map(function(line, i){
+ return this._getLineHTML(i).htmlEmbed("div", "line");
+ }, this).join(""));
+ };
+
+ P.coordinatesToRowCol = function(x, y) {
+ function findLine(r1, r2) {
+ if (r1 == r2)
+ return r1;
+ var row = Math.floor((r1 + r2) / 2),
+ div = self.getLineDivElement(row),
+ y1 = div.offsetTop,
+ y2 = y1 + div.offsetHeight - 1;
+ if (y2 < y)
+ return findLine(row + 1, r2);
+ if (y < y1)
+ return findLine(r1, row - 1);
+ return row;
+ };
+ function findCol(c1, c2) {
+ if (c1 == c2)
+ return c1;
+ var col = Math.floor((c1 + c2) / 2);
+ var p1 = self.coordinates(row, col),
+ p2 = self.coordinates(row, col + 1);
+ if (p2.x < x)
+ return findCol(col + 1, c2);
+ if (x < p1.x)
+ return findCol(c1, col - 1);
+ return col;
+ };
+ var self = this,
+ row = findLine(0, this.buffer.code.length - 1),
+ col = findCol(0, this.buffer.code[row].length);
+ return { row: row, col: col };
+ };
+
+ P.coordinates = function(row, col) {
+ var div = this.getLineDivElement(row);
+ var span = this.setMarkerAtPos(div, col);
+ var ret = { x: span.offsetLeft, y: div.offsetTop, h: div.offsetHeight };
+ DOM.trash(span);
+ return ret;
+ };
+
+ P.heightInLines = function() {
+ return Math.floor(this.getOverlaysContainer().clientHeight / this.getContentElement().firstChild.offsetHeight);
+ };
+
+ P.setOuterSize = P.setSize = function(sz) {
+ D.BASE.setOuterSize.apply(this, arguments);
+ DOM.setOuterSize(this.getOverlaysContainer(), sz.x, sz.y - this.getModelineElement().offsetHeight);
+ DOM.setOuterSize(this.getModelineElement(), sz.x);
+ };
+
+ P.redrawModeline = function(rc) {
+ this.setModelineContent(this.buffer.renderModelineContent(rc || this.caretMarker.getRowCol()));
+ };
+
+ /* -----[ event handlers ]----- */
+
+ P._on_bufferLineChange = function(row) {
+ var div = this.getLineDivElement(row);
+ if (div) {
+ //console.log("Redrawing line %d [%s]", row, this.buffer.code[row]);
+ div.innerHTML = this._getLineHTML(row);
+ }
+ };
+
+ P._on_bufferInsertLine = function(row, drawIt) {
+ var div = LINE_DIV.cloneNode(true);
+ this.getContentElement().insertBefore(div, this.getLineDivElement(row));
+ if (drawIt) {
+ div.innerHTML = this._getLineHTML(row);
+ }
+ };
+
+ P._on_bufferDeleteLine = function(row) {
+ DOM.trash(this.getLineDivElement(row));
+ };
+
+ P._on_bufferPointChange = function(rc, pos) {
+ this._redrawCaret();
+ };
+
+ P._on_bufferResetCode = function() {
+ this._redrawBuffer();
+ };
+
+ P._on_bufferOverwriteMode = function(om) {
+ this.condClass(om, "Ymacs-overwrite-mode");
+ };
+
+ P._on_bufferMessage = function(type, text, html, timeout) {
+ var anchor = this.isMinibuffer ? this.ymacs : this;
+ var popup = Ymacs_Message_Popup.get(0);
+ popup.popup({
+ content : html ? text : text.htmlEscape(),
+ widget : anchor,
+ anchor : anchor.getElement(),
+ align : { prefer: "CC", fallX1: "CC", fallX2: "CC", fallY1: "CC", fallY2: "CC" }
+ });
+ popup.hide(timeout || 5000);
+ };
+
+ P._on_bufferBeforeInteractiveCommand = function() {
+ this._unhoverLine();
+ Ymacs_Message_Popup.clearAll();
+ };
+
+ P._on_bufferAfterInteractiveCommand = function() {};
+
+ P._on_bufferProgressChange = function() {
+ this.redrawModelineWithTimer(null);
+ };
+
+ P.getOverlayId = function(name) {
+ return this.id + "-ovl-" + name;
+ };
+
+ P.getOverlayHTML = function(name, props) {
+ if (props.line1 == props.line2 && props.col1 == props.col2) {
+ this._on_bufferOverlayDelete(name, props);
+ return null;
+ }
+ var p1 = this.coordinates(props.line1, props.col1);
+ var p2 = this.coordinates(props.line2, props.col2);
+ var p0 = this.__lineNumbers ? this.coordinates(props.line1, 0) : { x: 0, y: 0 };
+ p1.x -= p0.x;
+ p2.x -= p0.x;
+ var str = String.buffer(
+ "<div id='", this.getOverlayId(name), "' class='Ymacs_Overlay ", name,
+ "' style='top:", p1.y, "px;left:", p0.x, "px'>"
+ );
+ if (props.line1 == props.line2) {
+ str("<div class='", name, "' style='margin-left:", p1.x,
+ "px; width:", p2.x - p1.x, "px;height:", p2.h, "px;'>&nbsp;</div>");
+ } else {
+ str("<div class='", name, "' style='margin-left:", p1.x, "px;height:", p1.h, "px;'>&nbsp;</div>");
+ if (props.line2 - props.line1 > 1)
+ str("<div class='", name, "' style='height:", p2.y - p1.y - p1.h, "px'></div>");
+ str("<div class='", name, "' style='width:", p2.x, "px;height:", p2.h, "px;'>&nbsp;</div>");
+ }
+ str("</div>");
+ return str.get();
+ };
+
+ P.getOverlaysCount = function() {
+ return this.getOverlaysContainer().childNodes.length - 1; // XXX: subtract the div.content; we need to revisit this if we add new elements.
+ };
+
+ P._on_bufferOverlayChange = function(name, props, isNew) {
+ var div = this.getOverlayHTML(name, props);
+ if (div) {
+ div = DOM.createFromHtml(div);
+ var p = this.getOverlaysContainer(),
+ old = !isNew && $(this.getOverlayId(name));
+ old ? p.replaceChild(div, old) : p.appendChild(div);
+ // this.condClass(this.getOverlaysCount() > 0, "Ymacs_Frame-hasOverlays");
+ }
+ };
+
+ P._on_bufferOverlayDelete = function(name, props, isNew) {
+ DOM.trash($(this.getOverlayId(name)));
+ // this.condClass(this.getOverlaysCount() > 0, "Ymacs_Frame-hasOverlays");
+ };
+
+ /* -----[ self events ]----- */
+
+ P._on_destroy = function() {
+ this.setBuffer(null);
+ this.__stopBlinking();
+ };
+
+ P._on_focus = function() {
+ window.focus();
+ // console.log("FOCUS for %s", this.buffer.name);
+ this.ymacs.setActiveFrame(this, true);
+ this.addClass("Ymacs_Frame-active");
+ if (!this.isMinibuffer) {
+ this.buffer.cmd("goto_char", this.caretMarker.getPosition());
+ }
+ this.buffer.addEventListener(this._moreBufferEvents);
+ this.__restartBlinking();
+ };
+
+ P._on_blur = function() {
+ // console.log("BLUR for %s", this.buffer.name);
+ if (!this.isMinibuffer) {
+ this.caretMarker.setPosition(this.buffer.caretMarker.getPosition());
+ }
+ this.buffer.removeEventListener(this._moreBufferEvents);
+ this.__stopBlinking();
+ };
+
+ var CLICK_COUNT = 0, CLICK_COUNT_TIMER = null, CLICK_LAST_TIME = null;
+ function CLEAR_CLICK_COUNT() { CLICK_COUNT = null };
+
+ P._on_mouseDown = function(ev) {
+ clearTimeout(CLICK_COUNT_TIMER);
+ CLICK_COUNT++;
+ CLICK_COUNT_TIMER = CLEAR_CLICK_COUNT.delayed(DBL_CLICK_SPEED);
+
+ this.__restartBlinking();
+ var pos = ev.computePos(this.getContentElement()),
+ rc = this.coordinatesToRowCol(pos.x, pos.y),
+ buf = this.buffer;
+
+ buf.clearTransientMark();
+ buf.cmd("goto_char", buf._rowColToPosition(rc.row, rc.col));
+ buf.callInteractively("keyboard_quit");
+ if (CLICK_COUNT == 1) {
+ buf.ensureTransientMark();
+ DlEvent.captureGlobals(this._dragSelectCaptures);
+ }
+ else if (CLICK_COUNT == 2) {
+ buf.cmd("backward_word");
+ buf.cmd("forward_word_mark");
+ }
+ else if (CLICK_COUNT == 3) {
+ buf.cmd("beginning_of_line");
+ buf.cmd("end_of_line_mark");
+ }
+ else if (CLICK_COUNT == 4) {
+ buf.cmd("backward_paragraph");
+ buf.cmd("forward_whitespace");
+ buf.cmd("beginning_of_line");
+ buf.cmd("forward_paragraph_mark");
+ }
+
+ EX();
+ };
+
+ function _dragSelect_onMouseMove(ev) {
+ var pos = ev.computePos(this.getContentElement()),
+ rc = this.coordinatesToRowCol(pos.x, pos.y);
+ this.buffer.cmd("goto_char", this.buffer._rowColToPosition(rc.row, rc.col));
+ this.buffer.ensureTransientMark();
+ this.ensureCaretVisible();
+ };
+
+ function _dragSelect_onMouseUp(ev) {
+ DlEvent.releaseGlobals(this._dragSelectCaptures);
+ };
+
+ P._on_keyDown = function(ev) {
+ if (!is_gecko) {
+ var ki = window.KEYBOARD_INSANITY, code = ev.keyCode;
+ if (code in ki.modifiers)
+ EX();
+ if ((code in ki.letters || code in ki.digits || code in ki.symbols) && !(ev.ctrlKey || ev.altKey)) {
+ return; // to be handled by the upcoming keypress event
+ }
+ ev.charCode = ki.getCharCode(code, ev.shiftKey);
+ if (ev.charCode)
+ ev.keyCode = 0;
+ if (this.buffer._handleKeyEvent(ev))
+ EX();
+ }
+ };
+ P._on_keyPress = function(ev) {
+ if (!is_gecko)
+ ev.keyCode = 0;
+ if (this.buffer._handleKeyEvent(ev))
+ EX();
+ var one = this.buffer.cmd("wrap_status");
+ if(one =="Wrap At Edge")
+ {
+ this.buffer.cmd("wrap_at_edge");
+ }
+ };
+
+
+ P._on_keyUp = function(ev) {
+ };
+
+ P._on_resize = function() {
+ this.centerOnCaret.delayed(1, this);
+ };
+
+});
+
+DEFINE_CLASS("Ymacs_Message_Popup", DlPopup, function(D, P) {
+ D.FIXARGS = function(args) {
+ args.focusable = false;
+ args.autolink = false;
+ args.zIndex = 5000;
+ };
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-interactive.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-interactive.js.svn-base
new file mode 100644
index 0000000..565c264
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-interactive.js.svn-base
@@ -0,0 +1,286 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-exception.js
+
+(function(){
+
+ /*
+ * Ymacs_Interactive(args_description, function_reference)
+ *
+ * This is a wrapper that makes it easy to define "interactive" commands. Pass two arguments: arguments
+ * description (args), and a function (func). args can be null, or a string, an array or a function. When null
+ * it is assumed that the function should not receive any arguments. When an array or a string, it contains
+ * some argument descriptions similar to Emacs:
+ *
+ * http://www.gnu.org/s/emacs/manual/html_node/elisp/Interactive-Codes.html#Interactive-Codes
+ *
+ * (note that Emacs does not take a list for this argument).
+ *
+ * Ymacs_Interactive returns func. When not called interactively, the code should supply all the required
+ * arguments and the function is called with no performance penalty. To call it interactively, use
+ * func.ymacsCallInteractively(), which will read arguments from the minibuffer according to their description.
+ */
+
+ window.Ymacs_Interactive = function(args, func) {
+ if (arguments.length == 1) {
+ func = args;
+ args = null;
+ } else {
+ var documentation;
+ if (!(func instanceof Function)) {
+ documentation = func;
+ func = arguments[2];
+ func.ymacsDoc = documentation;
+ }
+ }
+ func.ymacsInteractive = true;
+ if (args instanceof Function) {
+ func.ymacsGetArgs = args;
+ }
+ else if (args != null) {
+ if (!(args instanceof Array)) {
+ var m = /^[\^\@\*]+/.exec(args);
+ if (m) {
+ m = m[0];
+ args = args.substr(m.length);
+ if (m.indexOf("^") >= 0) {
+ func.ymacsMarkExtend = true;
+ }
+ if (m.indexOf("*") >= 0) {
+ func.ymacsWarnReadonly = true;
+ }
+ if (m.indexOf("@") >= 0) {
+ func.ymacsSelectFrame = true;
+ }
+ }
+ if (args)
+ args = args.split(/\n+/);
+ }
+ if (args) {
+ var collect,
+ execute = function() {
+ collect.append(Array.$(arguments));
+ return this.callInteractively(func, collect, true);
+ };
+ while (args.length > 0) {
+ execute = createArgumentFunction(args.pop(), function(next) {
+ collect.append(Array.$(arguments, 1));
+ next.call(this);
+ }.$(null, execute));
+ }
+ func.ymacsCallInteractively = function(){
+ collect = [];
+ return execute.call(this);
+ };
+ }
+ }
+ return func;
+ };
+
+ window.Ymacs_Interactive_X = function(func) {
+ return Ymacs_Interactive("p", function(n){
+ if (n == null) n = 1;
+ n.times(func, this);
+ });
+ };
+
+ var $TRUE = (function(){});
+ $TRUE.toString = function() { return "" };
+ $TRUE.empty = true;
+
+ /* -----[ argument reader functions ]----- */
+
+ function prompt(arg) {
+ var pr = this.getPrefixArg(true /* noDiscard */);
+ if (pr) {
+ arg = pr + " " + arg;
+ }
+ this.cmd("minibuffer_prompt", arg);
+ };
+
+ function read_function_name(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_function", cont);
+ // XXX: enforce it!
+ };
+
+ function read_existing_buffer_name(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_buffer", cont);
+ // XXX: enforce it!
+ };
+
+ function read_buffer_name(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_buffer", cont);
+ };
+
+ function read_character(arg, cont) {
+
+ };
+
+ function read_command_name(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_command", cont);
+ // XXX: enforce it!
+ };
+
+ function get_point(arg, cont) {
+ cont.call(this, this.point());
+ };
+
+ function get_mouse_event(arg, cont) {
+
+ };
+
+ function irrelevant(arg, cont) {
+ cont.call(this, null);
+ };
+
+ function read_key_sequence(arg, cont) {
+
+ };
+
+ function read_key_sequence2(arg, cont) {
+
+ };
+
+ function get_mark(arg, cont) {
+ cont.call(this, this.markMarker.getPosition());
+ };
+
+ function read_arbitrary_text(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_string", null, cont);
+ };
+
+ function read_number(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_number", cont);
+ };
+
+ function read_number_or_prefix(arg, cont) {
+ var n = parseInt(this.getPrefixArg(), 10);
+ if (!isNaN(n))
+ cont.call(this, n);
+ else
+ read_number.call(this, arg, cont);
+ };
+
+ function get_numeric_prefix(arg, cont) {
+ var n = parseInt(this.getPrefixArg(), 10);
+ if (isNaN(n))
+ n = null;
+ cont.call(this, n);
+ };
+
+ function get_raw_prefix(arg, cont) {
+ arg = this.getPrefixArg();
+ if (arg === "")
+ arg = $TRUE;
+ cont.call(this, arg);
+ };
+
+ function get_point_and_mark(arg, cont) {
+ var r = this.getRegion();
+ cont.call(this, r.begin, r.end);
+ };
+
+ function read_key_sequence3(arg, cont) {
+
+ };
+
+ function read_variable_name(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_variable", cont);
+ };
+
+ function read_existing_file_name(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_existing_file", cont);
+ };
+
+ function read_file_name(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_file", cont);
+ };
+
+ function read_file_or_directory_name(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_file_or_directory", cont);
+ };
+
+ function read_existing_directory_name(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_directory", cont);
+ };
+
+ var ARG_READERS = {
+ a: read_function_name,
+ b: read_existing_buffer_name,
+ B: read_buffer_name,
+ c: read_character,
+ C: read_command_name,
+ d: get_point,
+ e: get_mouse_event,
+ i: irrelevant,
+ k: read_key_sequence,
+ K: read_key_sequence2,
+ m: get_mark,
+ M: read_arbitrary_text,
+ n: read_number,
+ N: read_number_or_prefix,
+ p: get_numeric_prefix,
+ P: get_raw_prefix,
+ r: get_point_and_mark,
+ s: read_arbitrary_text,
+ U: read_key_sequence3,
+ v: read_variable_name,
+
+ f: read_existing_file_name,
+ F: read_file_name,
+ G: read_file_or_directory_name,
+ D: read_existing_directory_name
+
+ // S: no reader for interned symbols in Ymacs
+ // no x, X, z and Z either
+ };
+
+ function createArgumentFunction(arg, cont) {
+ var code = arg.charAt(0);
+ arg = arg.substr(1);
+ return ARG_READERS[code].$(null, arg, cont);
+ };
+
+})();
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-keyboard.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-keyboard.js.svn-base
new file mode 100644
index 0000000..c15fd35
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-keyboard.js.svn-base
@@ -0,0 +1,106 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// This file tries to define some keyboard constants based on the
+// sheer insanity of browser inconsistencies described here:
+//
+// http://unixpapa.com/js/key.html
+//
+// Kudos for that work!
+
+(function(){
+
+ var letters = {};
+ for (var i = 65; i <= 90; ++i)
+ letters[i] = [ i, i + 32 ];
+ letters[32] = [ 32, 32 ];
+
+ var modifiers = [ 16, 17, 18, 20, 144 ].toHash(true);
+
+ var digit_charcodes = [
+ [ 49, 33 ],
+ [ 50, 64 ],
+ [ 51, 35 ],
+ [ 52, 36 ],
+ [ 53, 37 ],
+ [ 54, 94 ],
+ [ 55, 38 ],
+ [ 56, 42 ],
+ [ 57, 40 ],
+ [ 48, 41 ]
+ ];
+
+ var digits = [ 48, 49, 50, 51, 52, 53, 54, 55, 56, 57 ].toHash(function(k, i) {
+ return digit_charcodes[i];
+ });
+
+ var symbol_charcodes = [
+ [ 59, 58 ],
+ [ 61, 43 ],
+ [ 44, 60 ],
+ [ 45, 95 ],
+ [ 46, 62 ],
+ [ 47, 63 ],
+ [ 96, 126 ],
+ [ 91, 123 ],
+ [ 92, 124 ],
+ [ 93, 125 ],
+ [ 39, 34 ]
+ ];
+
+ var symbols = ( is_gecko ? [ 59, 61, 188, 109, 190, 191, 192, 219, 220, 221, 222 ]
+ : is_opera ? [ 59, 61, 44, 45, 46, 47, 96, 91, 92, 93, 39 ]
+ : [ 186, 187, 188, 189, 190, 191, 192, 219, 220, 221, 222 ] ).toHash(function(k, i) {
+ return symbol_charcodes[i];
+ });
+
+ var arrows = [ 37, 38, 39, 40 ].toHash(true);
+
+ var specials = [ 45, 46, 36, 35, 33, 34, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123 ].toHash(true);
+
+ function getCharCode(code, shift) {
+ var a = letters[code] || digits[code] || symbols[code];
+ return a ? shift ? a[1] : a[0] : null;
+ };
+
+ window.KEYBOARD_INSANITY = {
+ letters : letters,
+ modifiers : modifiers,
+ digits : digits,
+ symbols : symbols,
+ arrows : arrows,
+ specials : specials,
+ getCharCode : getCharCode
+ };
+
+})();
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-keymap-emacs.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-keymap-emacs.js.svn-base
new file mode 100644
index 0000000..64c9891
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-keymap-emacs.js.svn-base
@@ -0,0 +1,264 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-keymap.js
+
+// This is the default keymap, as configured in
+// Ymacs_Buffer::makeDefaultKeymap. It follows closely the standard
+// Emacs keybindings, with some small deviations that match my taste
+// (search for "my stuff" below).
+
+// It would be nice to have more options, such as an Eclipse keymap,
+// or Visual Studio -- but I'm not familiar with any of them.
+// Contributions welcome.
+
+// A keymap inherits from Ymacs_Keymap and should define its bindings
+// in D.KEYS. They can also define a defaultHandler property to take
+// whatever action they consider necessary -- for example the Isearch
+// keymap will, by default, print the entered character in the
+// minibuffer and trigger a search action. Isearch mode is almost
+// completely defined in a keymap -- with the minor note that
+// isearch_forward and isearch_backward are assigned below to key
+// combinations; once pressed, they will push the Isearch keymap onto
+// the buffer's keymap stack, and it will be used until isearch is
+// ended.
+
+/* KEY DEFINITIONS. A key is generally defined in standard Emacs
+ notation, with the following notes:
+
+ - it is possible to define multiple keys at once for the same
+ operation, by using the "&&" combination (separate with spaces
+ from the actual keys)
+
+ - some special characters are named literally; their names contain
+ more than one character. The available names are defined in
+ DlKeyboard (see keyboard.js in DynarchLIB). Examples:
+ ARROW_RIGHT, PAGE_UP, etc. but also SPACE and DASH.
+
+ Normally you would define commands using Ymacs_Buffer.newCommands
+ (see ymacs-commands.js) and specify the command name for key
+ bindings, but you can specify a function as well, if you want:
+
+ "C-8": function() {
+ alert("You pressed CTRL-8");
+ }
+
+ It is advised to define commands for more than simple cases, for
+ two reasons:
+
+ 1. they can be used for "non-interactive" calls too
+
+ 2. the command name is saved in this.currentCommand /
+ this.previousCommand, which is useful in a number of cases.
+
+*/
+
+DEFINE_SINGLETON("Ymacs_Keymap_Emacs", Ymacs_Keymap, function(D, P){
+
+ var TMPL_INFO = String.template(
+ "<table>",
+ "<tr><td style='text-align: right; font-weight: bold'>Char:</td><td><tt> $ch </tt></td></tr>",
+ "<tr><td style='text-align: right; font-weight: bold'>Char code:</td><td> $code / 0x$codeHex </td></tr>",
+ "<tr><td style='text-align: right; font-weight: bold'>Position:</td><td> $point </td></tr>",
+ "<tr><td style='text-align: right; font-weight: bold'>Mark:</td><td> $mark </td></tr>",
+ "<tr><td style='text-align: right; font-weight: bold'>Buffer size:</td><td> $sizeKB </td></tr>",
+ "</table>"
+ );
+
+ D.KEYS = {
+ // movement
+ "ARROW_UP && C-p" : "backward_line",
+ "ARROW_DOWN && C-n" : "forward_line",
+ "ARROW_LEFT && C-b" : "backward_char",
+ "ARROW_RIGHT && C-f" : "forward_char",
+ "HOME" : "beginning_of_indentation_or_line",
+ "END && C-e" : "end_of_line",
+ "C-c C-c" : "sub_bullet",
+ "C-a" : "beginning_of_line",
+ "C-HOME && M-<" : "beginning_of_buffer",
+ "C-END && M->" : "end_of_buffer",
+ "C-ARROW_RIGHT && M-f" : "forward_word",
+ "C-ARROW_LEFT && M-b" : "backward_word",
+ "C-ARROW_DOWN" : "forward_paragraph",
+ "C-ARROW_UP" : "backward_paragraph",
+ "C-l" : "recenter_top_bottom",
+ "PAGE_UP && M-v" : "scroll_up",
+ "PAGE_DOWN && C-v" : "scroll_down",
+
+ // transient mark
+ "S-ARROW_UP && S-C-p" : "backward_line_mark",
+ "S-ARROW_DOWN && S-C-n" : "forward_line_mark",
+ "S-ARROW_LEFT && S-C-b" : "backward_char_mark",
+ "S-ARROW_RIGHT && S-C-f" : "forward_char_mark",
+ "S-C-ARROW_RIGHT && S-M-f" : "forward_word_mark",
+ "S-C-ARROW_LEFT && S-M-b" : "backward_word_mark",
+ "S-C-ARROW_DOWN" : "forward_paragraph_mark",
+ "S-C-ARROW_UP" : "backward_paragraph_mark",
+ "S-HOME" : "beginning_of_indentation_or_line_mark",
+ "S-C-a" : "beginning_of_line_mark",
+ "S-END" : "end_of_line_mark",
+ "S-C-HOME" : "beginning_of_buffer_mark",
+ "S-C-END" : "end_of_buffer_mark",
+
+ // basic editing
+ "BACKSPACE" : "backward_delete_char",
+ "DELETE && C-d" : "delete_char",
+ "ENTER && C-m" : "newline",
+ "M-d && C-DELETE" : "kill_word",
+ "C-BACKSPACE && M-BACKSPACE && M-DELETE" : "backward_kill_word",
+ "C-k" : "kill_line",
+ "C-y && S-INSERT" : "yank",
+ "M-y" : "yank_pop",
+ "C-SPACE" : "set_mark_command",
+ "C-x C-x" : "exchange_point_and_mark",
+ "C-w" : "kill_region",
+ "M-t" : "transpose_words",
+ "C-t" : "transpose_chars",
+ "C-x C-t" : "transpose_lines",
+ "M-w" : "copy_region_as_kill",
+ "M-c" : "capitalize_word",
+ "M-u" : "upcase_word",
+ "M-l" : "downcase_word",
+ "F11" : "nuke_trailing_whitespace",
+ "TAB" : "indent_line",
+ "C-M-\\" : "indent_region",
+ "M-q" : "fill_paragraph",
+ "C-/ && C-x u && C-_ && C-z" : "undo",
+ "INSERT" : "overwrite_mode",
+ "M-s" : "center_line",
+ "M-/" : "dabbrev_expand",
+ "C-s" : "isearch_forward",
+ "C-r" : "isearch_backward",
+ "M-C-s" : "isearch_forward_regexp",
+ "M-C-r" : "isearch_backward_regexp",
+ "C-u" : "universal_argument",
+ "M-g" : "goto_line",
+ "C-x h" : "mark_whole_buffer",
+ "C-g" : "keyboard_quit",
+
+ // vertical editing
+ "C-x r t" : "string_rectangle",
+ "C-x r c" : "clear_rectangle",
+ "C-x r k" : "kill_rectangle",
+ "C-x r y" : "yank_rectangle",
+
+ // buffers
+ "C-x C-ARROW_RIGHT && C-x ARROW_RIGHT && C-TAB" : "next_buffer",
+ "C-x C-ARROW_LEFT && C-x ARROW_LEFT && C-S-TAB" : "previous_buffer",
+ "C-x b" : "switch_to_buffer",
+ "C-x k" : "kill_buffer",
+
+ // frames
+ "C-x 0" : "delete_frame",
+ "C-x 1" : "delete_other_frames",
+ "C-x 2" : "split_frame_vertically",
+ "C-x 3" : "split_frame_horizontally",
+ "C-x o" : "other_frame",
+ "C-x l" : "toggle_line_numbers",
+ "C-c C-o" : "org-open-at-point",
+ //"C-c C-l" : "Links",
+
+ // eval
+ "M-x" : "execute_extended_command",
+
+ // necessary evil
+ "C-S-y" : "yank_from_operating_system",
+ "M-S-w" : "copy_for_operating_system",
+ "C-S-w" : "kill_for_operating_system",
+
+ // my stuff, sorry if these have different meanings in the standard Emacs keys
+ "M-S-y" : "yank_shift", // that's the reverse of yank_shift
+ "C-c /" : "close_last_xml_tag",
+ "S-BACKSPACE" : "backward_delete_whitespace",
+ "S-DELETE" : "delete_whitespace",
+ "C-M-d" : "delete_region_or_line",
+ "M-ENTER" : "start_next_paragraph",
+ "M-S-q" : "fill_paragraph_no_prefix",
+ "C-M-|" : "cperl_lineup",
+ "C-F4" : "kill_buffer",
+ "M-ARROW_LEFT" : [ "windmove", "left" ],
+ "M-ARROW_RIGHT" : [ "windmove", "right" ],
+ "M-ARROW_UP" : [ "windmove", "up" ],
+ "M-ARROW_DOWN" : [ "windmove", "down" ],
+
+ // others
+ "C-x =": function() {
+ var ch = this.charAt(), chname = ch;
+ if (ch == " ")
+ chname = "<SPACE>";
+ else if (ch == "\n")
+ chname = "<NEWLINE>";
+ else if (ch == "-")
+ chname = "<DASH>";
+
+ this.signalInfo(TMPL_INFO({
+ ch : chname.htmlEscape(),
+ code : ch.charCodeAt(0),
+ codeHex : ch.charCodeAt().hex(),
+ point : this.point(),
+ mark : this.markMarker.getPosition(),
+ size : this.getCodeSize(),
+ sizeKB : this.getCodeSize().formatBytes(2)
+ }), true);
+ }
+ };
+
+ P.defaultHandler = [ "self_insert_command" ];
+
+});
+
+DEFINE_SINGLETON("Ymacs_Keymap_UniversalArgument", Ymacs_Keymap, function(D, P){
+
+ P.defaultHandler = [ Ymacs_Interactive("^", function(){
+ var ev = this.interactiveEvent(),
+ ch = String.fromCharCode(ev.charCode),
+ prefix = this.getPrefixArg(true);
+ if (ev.charCode && (/^[0-9]$/.test(ch) || (ch === "-" && prefix === "")) && !ev.altKey && !ev.ctrlKey) {
+ prefix += ch;
+ this.setPrefixArg(prefix);
+ if (!this.isMinibuffer) {
+ this.whenMinibuffer(function(mb){
+ mb.cmd("insert", " ", ch);
+ });
+ }
+ return true;
+ }
+ this.popKeymap(Ymacs_Keymap_UniversalArgument());
+ return false;
+ }) ];
+
+ P.attached = function(buffer) {
+ buffer.setPrefixArg("");
+ };
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-keymap-isearch.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-keymap-isearch.js.svn-base
new file mode 100644
index 0000000..593b772
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-keymap-isearch.js.svn-base
@@ -0,0 +1,181 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-keymap.js
+
+DEFINE_SINGLETON("Ymacs_Keymap_ISearch", Ymacs_Keymap, function(D, P){
+
+ D.KEYS = {
+ "C-g && ESCAPE": [ "isearch_abort", true ],
+ "C-w": "isearch_yank_word_or_char",
+ "C-s": "isearch_forward",
+ "C-r": "isearch_backward",
+ "BACKSPACE": function() {
+ if (this.getMinibuffer().point() > this._isearchContext.mbMark.getPosition()) {
+ this.getMinibuffer().cmd("backward_delete_char");
+ this.cmd("goto_char", this._isearchContext.point);
+ updateIsearch.call(this, this._isearchContext.forward);
+ }
+ },
+ "ENTER": "isearch_abort"
+ };
+
+ D.CONSTRUCT = function() {
+ this.defaultHandler = [ "isearch_printing_char" ];
+ };
+
+ function initIsearch(fw) {
+ if (!this._isearchContext) {
+ this.pushKeymap(Ymacs_Keymap_ISearch());
+ this.cmd("set_mark_command", this.point());
+ this.setMinibuffer(fw ? "I-Search: " : "I-Search backward: ");
+ this._isearchContext = {
+ forward : fw,
+ point : this.point(),
+ mbMark : this.getMinibuffer().createMarker(null, true)
+ };
+ return true;
+ }
+ };
+
+ function updateIsearch(fw) {
+ this._isearchContext.forward = fw;
+ this._isearchContext.point = this.point();
+ var text = getText(this);
+ if (!/\S/.test(text) && this._isearchLastText) {
+ this.getMinibuffer()._placeUndoBoundary();
+ this.getMinibuffer().cmd("insert", this._isearchLastText);
+ text = this._isearchLastText;
+ }
+ return doSearch.call(this, text);
+ };
+
+ function doSearch(text) {
+ if (text == null)
+ text = getText(this);
+ var found = this.cmd("bind_variables", { case_fold_search: text == text.toLowerCase() },
+ this.cmd,
+ this._isearchContext.forward ? "search_forward" : "search_backward",
+ text);
+ if (found) {
+ this.cmd("ensure_caret_visible");
+ var rc_begin = this._positionToRowCol(this.point() + (this._isearchContext.forward ? -1 : 1) * text.length);
+ this.setOverlay("isearch", {
+ line1: rc_begin.row, line2: this._rowcol.row,
+ col1: rc_begin.col, col2: this._rowcol.col
+ });
+ }
+ return found;
+ };
+
+ function getText(o) {
+ return o.cmd("isearch_get_search_text");
+ };
+
+ Ymacs_Buffer.newCommands({
+
+ isearch_get_search_text: Ymacs_Interactive(function() {
+ if (this._isearchContext) {
+ return this.getMinibuffer()._bufferSubstring(this._isearchContext.mbMark);
+ }
+ }),
+
+ isearch_forward: Ymacs_Interactive(function() {
+ if (!initIsearch.call(this, true)) {
+ if (!updateIsearch.call(this, true))
+ this.signalError("No more forward occurrences of the search text");
+ }
+ }),
+
+ isearch_forward_regexp: Ymacs_Interactive(function() {
+ this.signalError("Not implemented, but should be easy. Volunteers?");
+ }),
+
+ isearch_backward_regexp: Ymacs_Interactive(function() {
+ this.signalError("Not implemented, but should be easy. Volunteers?");
+ }),
+
+ isearch_backward: Ymacs_Interactive(function() {
+ if (!initIsearch.call(this, false)) {
+ if (!updateIsearch.call(this, false))
+ this.signalError("No more backward occurrences of the search text");
+ }
+ }),
+
+ isearch_yank_word_or_char: Ymacs_Interactive(function() {
+ var pos = this.point(),
+ pos2 = this.cmd("save_excursion", function(){
+ this.cmd("forward_word");
+ return this.point();
+ });
+ if (pos2 != pos) {
+ var word = this._bufferSubstring(pos, pos2);
+ this.getMinibuffer()._placeUndoBoundary();
+ this.getMinibuffer().cmd("insert", word.toLowerCase());
+ word = getText(this);
+ if (this._isearchContext.forward)
+ this.cmd("goto_char", pos2 - word.length);
+ doSearch.call(this, word);
+ }
+ }),
+
+ isearch_printing_char: Ymacs_Interactive(function() {
+ var ev = this.interactiveEvent();
+ if (ev.charCode && !ev.ctrlKey && !ev.altKey) {
+ this.getMinibuffer().cmd("self_insert_command");
+ this.cmd("goto_char", this._isearchContext.point);
+ doSearch.call(this, getText(this));
+ return ev.domStop = true;
+ } else if (ev.keyCode != 0 || ev.ctrlKey || ev.altKey) {
+ this.cmd("isearch_abort");
+ return false;
+ }
+ }),
+
+ isearch_abort: Ymacs_Interactive(function(cancelled) {
+ if (!cancelled)
+ this._isearchLastText = getText(this);
+ this.setMinibuffer("");
+ this.popKeymap(Ymacs_Keymap_ISearch());
+ this._isearchContext.mbMark.destroy();
+ this._isearchContext = null;
+ if (cancelled)
+ this.cmd("exchange_point_and_mark");
+ this.deleteOverlay("isearch");
+ this.deleteOverlay("isearch-lazy");
+ return true;
+ })
+
+ });
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-keymap.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-keymap.js.svn-base
new file mode 100644
index 0000000..142570a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-keymap.js.svn-base
@@ -0,0 +1,167 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-buffer.js
+
+DEFINE_CLASS("Ymacs_Keymap", null, function(D, P){
+
+ var REVERSE_KEYS = {};
+ Object.foreach(DlKeyboard, function(val, key) {
+ if (typeof val == "number")
+ REVERSE_KEYS[val] = key;
+ });
+
+ D.CONSTRUCT = function() {
+ this.definitions = Object.makeCopy(this.__originalDefs);
+ };
+
+ P.FINISH_OBJECT_DEF = function() {
+ this.__originalDefs = {};
+ var keys = this.constructor.KEYS;
+ if (keys)
+ this.defineKeys(keys);
+ };
+
+ P.parseKey = function(str) {
+ var key = {};
+ var a = str.split(/-/);
+ a.reverse();
+ a.foreach(function(c, i){
+ if (i == 0) {
+ if (typeof DlKeyboard[c] == "number")
+ key.keyCode = DlKeyboard[c];
+ else {
+ a[i] = c.toLowerCase();
+ key.charCode = a[i].charCodeAt(0);
+ }
+ } else switch(c) {
+ case "C": key.ctrlKey = true; break;
+ case "M": key.metaKey = true; break;
+ case "S": key.shiftKey = true; break;
+ }
+ });
+ a.reverse();
+ var c = a.pop();
+ key.str = a.sort().join("-");
+ if (key.str)
+ key.str += "-";
+ key.str += c;
+ return key;
+ };
+
+ D.unparseKey = function(ev) {
+ var key, modifiers = [];
+ if (ev.keyCode in REVERSE_KEYS)
+ key = REVERSE_KEYS[ev.keyCode];
+ else if (ev.charCode) {
+ if (ev.charCode == 32)
+ key = "SPACE";
+ else if (ev.charCode == 45)
+ key = "DASH";
+ else if (ev.charCode == 58)
+ key = "COLON";
+ else if (ev.charCode == 41)
+ key = "CLOSED ROUND BRACKET";
+ else if (ev.charCode == 125)
+ key = "CLOSED CURLY BRACKET";
+ else
+ key = String.fromCharCode(ev.charCode).toLowerCase();
+ }
+ if (ev.ctrlKey)
+ modifiers.push("C");
+ if (ev.altKey)
+ modifiers.push("M");
+ if (ev.shiftKey && (ev.charCode && /^[a-zA-Z0-9]$/.test(key) || ev.keyCode))
+ modifiers.push("S");
+ modifiers.sort();
+ modifiers = modifiers.join("-");
+ if (modifiers)
+ modifiers += "-";
+ return modifiers + key;
+ };
+
+ P.defineKey = function(key, func, args) {
+ if (func instanceof Array) {
+ args = func.slice(1);
+ func = func[0];
+ }
+ key = key.trim().split(/\s*&&\s*/);
+ if (key.length > 1) {
+ key.foreach(function(key){
+ this.defineKey(key, func, args);
+ }, this);
+ } else {
+ key = key[0].trim();
+ var dfn = this.definitions || this.__originalDefs;
+ if (key.indexOf(" ") >= 0) {
+ var a = key.split(/\s+/);
+ key = a.pop();
+ a.foreach(function(key){
+ key = this.parseKey(key).str;
+ if (!dfn[key])
+ dfn[key] = {};
+ dfn = dfn[key];
+ }, this);
+ }
+ key = this.parseKey(key);
+ dfn[key.str] = [ func, args ];
+ }
+ };
+
+ P.defineKeys = function(map) {
+ Object.foreach(map, function(func, key){
+ this.defineKey(key, func);
+ }, this);
+ };
+
+ P.getHandler = function(keys) {
+ var handler = null, def = this.definitions;
+ keys.foreach(function(key){
+ var tmp = handler ? handler[key] : def[key];
+ if (tmp) {
+ handler = tmp;
+ if (handler instanceof Array)
+ $BREAK();
+ }
+ else if (handler) {
+ handler = null;
+ $BREAK();
+ }
+ });
+ return handler;
+ };
+
+ P.attached = Function.noop;
+ P.detached = Function.noop;
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-marker.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-marker.js.svn-base
new file mode 100644
index 0000000..ca9c1c0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-marker.js.svn-base
@@ -0,0 +1,105 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-buffer.js
+
+/* -----[ markers are objects that hold a position which is
+ automatically maintained as text is inserted or
+ removed ]----- */
+
+DEFINE_CLASS("Ymacs_Marker", null, function(D, P){
+
+ D.DEFAULT_ARGS = {
+ position : [ "pos" , null ],
+ editor : [ "editor" , null ],
+ before : [ "before" , false ],
+ name : [ "name" , null ]
+ };
+
+ D.CONSTRUCT = function() {
+ this.editor.markers.push(this);
+ this.rowcol = null;
+ this.onChange = [];
+ };
+
+ P.destroy = function() {
+ this.editor.markers.remove(this);
+ this.editor = null;
+ };
+
+ P.editorChange = function(pos, diff, min) {
+ var p = this.position;
+ if (this.before)
+ --p;
+ if (diff != 0 && pos <= p) {
+ this.rowcol = null;
+ this.position += diff;
+ if (this.position < min)
+ this.position = min;
+ this.callHooks(this.onChange, this.position);
+ }
+ };
+
+ P.callHooks = function(a, arg) {
+ for (var i = a.length; --i >= 0;)
+ a[i].call(this.editor, arg);
+ };
+
+ P.getPosition = function() {
+ return this.position;
+ };
+
+ P.setPosition = function(pos, noHooks, force) {
+ if (force || this.position != pos) {
+ this.rowcol = null;
+ this.position = pos;
+ if (!noHooks)
+ this.callHooks(this.onChange, this.position);
+ }
+ };
+
+ P.getRowCol = function() {
+ return this.rowcol || (this.rowcol = this.editor._positionToRowCol(this.position));
+ };
+
+ P.updateMarkers = function(delta) {
+ this.editor._updateMarkers(this.getPosition(), delta);
+ };
+
+ P.swap = function(other, noHooks, force) {
+ var tmp = this.getPosition();
+ this.setPosition(other.getPosition(), noHooks, force);
+ other.setPosition(tmp, noHooks, force);
+ };
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-minibuffer.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-minibuffer.js.svn-base
new file mode 100644
index 0000000..01fd0f2
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-minibuffer.js.svn-base
@@ -0,0 +1,429 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-buffer.js
+// @require ymacs-keymap.js
+
+Ymacs_Buffer.newMode("minibuffer_mode", function(){
+ var marker = this.createMarker(0, true);
+ var changed_vars = this.setq({
+ minibuffer_end_marker: marker
+ });
+ var keymap = Ymacs_Keymap_Minibuffer();
+ this.pushKeymap(keymap);
+ return function() {
+ this.setq(changed_vars);
+ marker.destroy();
+ this.popKeymap(keymap);
+ };
+});
+
+(function(){
+
+ var $popupActive = false;
+ var $menu = null, $item = null;
+ function popupCompletionMenu(frame, list) {
+ if ($menu)
+ $menu.destroy();
+ $menu = new DlVMenu({});
+ list.foreach(function(item){
+ var data = item;
+ if (typeof item != "string") {
+ data = item.completion;
+ item = item.label;
+ }
+ new DlMenuItem({ parent: $menu, label: item.htmlEscape(), data: data });
+ });
+ var popup = Ymacs_Completion_Popup.get();
+ popup.popup({
+ timeout: 0,
+ content: $menu,
+ align: {
+ prefer: "Tr",
+ fallX1: "_r",
+ fallX2: "_L",
+ fallY1: "B_",
+ fallY2: "T_"
+ },
+ anchor: frame.getCaretElement(),
+ widget: frame,
+ onHide: function() {
+ $popupActive = false;
+ // $menu.destroy();
+ $item = null;
+ $menu = null;
+ },
+ isContext: true
+ });
+ $popupActive = true;
+ };
+
+ function read_with_continuation(completions, cont, validate) {
+ this.whenMinibuffer(function(mb){
+ var changed_vars = mb.setq({
+ completion_list: completions,
+ minibuffer_validation: function(what){
+ if (what == null)
+ what = mb.cmd("minibuffer_contents");
+ if (validate)
+ return validate.call(this, mb, what);
+ return true; // accept anything by default
+ }.$(this),
+ minibuffer_continuation: function(what){
+ mb.setq(changed_vars);
+ if (cont)
+ cont.call(this, what);
+ }.$(this)
+ });
+ });
+ };
+
+ function filename_completion(mb, str) {
+ var info = this.ymacs.ls_getFileDirectory(str),
+ dir = info.dir,
+ other = info.other,
+ path = info.path,
+ last = other[0];
+ if (other.length != 1)
+ throw new Ymacs_Exception("Not found");
+ if (typeof dir[last] == "string")
+ return [ path.concat([ last ]).join("/") ]; // fully completed
+ var completions = [];
+ for (var i in dir) {
+ if (i.indexOf(last) == 0) {
+ completions.push(i);
+ }
+ }
+ var prefix = completions.common_prefix();
+ if (prefix != last) {
+ if (completions.length == 1 && typeof dir[prefix] != "string")
+ prefix += "/";
+ mb.cmd("minibuffer_replace_input", path.concat([ prefix ]).join("/"));
+ }
+ else if (completions.length == 1) {
+ // XXX: do we ever get here?
+ throw new Ymacs_Exception("Single completion");
+ }
+ else if (completions.length == 0) {
+ throw new Ymacs_Exception("No completions");
+ }
+ else {
+ completions = completions.map(function(name){
+ if (typeof dir[name] != "string")
+ name += "/";
+ return {
+ label: name,
+ completion: path.concat([ name ]).join("/")
+ };
+ });
+ popupCompletionMenu(this.getMinibufferFrame(), completions);
+ }
+ return null;
+ };
+
+ Ymacs_Buffer.newCommands({
+
+ minibuffer_prompt: function(prompt, nofocus) {
+ this.whenMinibuffer(function(mb){
+ var f = this.getMinibufferFrame();
+ mb.setCode("");
+ mb.cmd("prevent_undo", function(){
+ mb.cmd("insert", prompt);
+ });
+ mb.getq("minibuffer_end_marker").setPosition(mb.point());
+ f._redrawCaret(true);
+ if (!nofocus)
+ f.focus();
+ });
+ },
+
+ minibuffer_read_number: function(cont) {
+ read_with_continuation.call(this, null, cont, function(mb, text){
+ var n = parseInt(text, 10);
+ if (isNaN(n))
+ mb.signalError("Please enter a number");
+ return !isNaN(n);
+ });
+ },
+
+ minibuffer_read_command: function(cont) {
+ var commandNames = Array.hashKeys(this.COMMANDS).grep(function(cmd){
+ return this.COMMANDS[cmd].ymacsInteractive;
+ }, this).sort();
+ read_with_continuation.call(this, commandNames, cont, function(mb, name){
+ var cmd = this.COMMANDS[name],
+ ret = cmd && cmd.ymacsInteractive;
+ if (!ret) {
+ mb.signalError("No such command: " + name);
+ }
+ return ret;
+ });
+ },
+
+ minibuffer_read_function: function(cont) {
+ var commandNames = Array.hashKeys(this.COMMANDS).sort();
+ read_with_continuation.call(this, commandNames, cont, function(mb, name){
+ var cmd = this.COMMANDS[name],
+ ret = !!cmd;
+ if (!ret)
+ mb.signalError("No such function: " + name);
+ return ret;
+ });
+ },
+
+ minibuffer_read_buffer: function(cont) {
+ this.whenYmacs(function(ymacs){
+ var bufferNames = ymacs.buffers.map("name");
+ bufferNames.push(bufferNames.shift());
+ read_with_continuation.call(this, bufferNames, cont);
+ handle_tab.call(this);
+ });
+ },
+
+ minibuffer_read_string: function(completions, cont) {
+ read_with_continuation.call(this, completions, cont);
+ },
+
+ minibuffer_read_variable: function(cont) {
+ var tmp = this.globalVariables;
+ Object.merge(tmp, this.variables);
+ var completions = Array.hashKeys(tmp).grep(function(name){
+ return !/^\*/.test(name);
+ }).sort();
+ read_with_continuation.call(this, completions, cont
+ // XXX: seems like a good idea, but it doesn't work
+ // XXX: need to refactor the signalInfo stuff. It doesn't show up
+ // currently because the buffer frame is not active, or something...
+ // , function(mb, name){
+ // var val = this.getq(name);
+ // mb.signalInfo("Current value of " + name + ": " + val);
+ // return true;
+ // }
+ );
+ },
+
+ minibuffer_read_existing_file: function(cont) {
+ var dir = this.ymacs.ls_getFileDirectory(this.name).path.join("/");
+ if (dir) dir += "/";
+ this.cmd("minibuffer_replace_input", dir);
+ read_with_continuation.call(this, filename_completion, cont, function(mb, name){
+ var ret = this.ymacs.ls_getFileContents(name, true);
+ if (!ret)
+ mb.signalError("No such file: " + name);
+ return ret;
+ });
+ },
+
+ minibuffer_read_file: function(cont) {
+ var dir = this.ymacs.ls_getFileDirectory(this.name).path.join("/");
+ if (dir) dir += "/";
+ read_with_continuation.call(this, filename_completion, cont);
+ },
+
+ minibuffer_read_file_or_directory: function(cont) {
+ var dir = this.ymacs.ls_getFileDirectory(this.name).path.join("/");
+ if (dir) dir += "/";
+ read_with_continuation.call(this, filename_completion, cont);
+ },
+
+ minibuffer_read_directory: function(cont) {
+ var dir = this.ymacs.ls_getFileDirectory(this.name).path.join("/");
+ if (dir) dir += "/";
+ read_with_continuation.call(this, filename_completion, cont);
+ },
+
+ minibuffer_prompt_end: function() {
+ return this.whenMinibuffer(function(mb){
+ return mb.getq("minibuffer_end_marker").getPosition();
+ });
+ },
+
+ minibuffer_contents: function() {
+ return this.whenMinibuffer(function(mb){
+ return mb._bufferSubstring(mb.getq("minibuffer_end_marker"));
+ });
+ },
+
+ minibuffer_replace_input: function(value) {
+ this.whenMinibuffer(function(mb){
+ mb._replaceText(mb.getq("minibuffer_end_marker"), mb.getCodeSize(), value);
+ this.getMinibufferFrame()._redrawCaret(true);
+ });
+ },
+
+ minibuffer_complete: function() {
+ this.whenMinibuffer(function(mb){
+ var a = mb.getq("completion_list"),
+ str = mb.cmd("minibuffer_contents"),
+ re = str.replace(/([\[\]\(\)\{\}\.\*\+\?\|\\])/g, "\\$1").replace(/([_-])/g, "[^_-]*[_-]");
+ re = new RegExp("^" + re, "i");
+ if (a instanceof Function) {
+ a = a.call(this, mb, str, re);
+ if (!a)
+ return;
+ }
+ else if (a && a.length > 0) {
+ a = a.grep(function(cmd){
+ return re.test(cmd);
+ });
+ }
+ if (!a || a.length == 0) {
+ mb.signalError("No completions");
+ }
+ else {
+ var prefix = a.common_prefix();
+ if (prefix != str) {
+ mb.cmd("minibuffer_replace_input", prefix);
+ }
+ else if (a.length == 1) {
+ mb.signalError("Sole completion");
+ }
+ else {
+ popupCompletionMenu(this.getMinibufferFrame(), a);
+ }
+ }
+ });
+ },
+
+ minibuffer_complete_and_exit: function() {
+ this.whenMinibuffer(function(mb){
+ if (mb.getq("minibuffer_validation").call(mb)) {
+ mb.cmd("minibuffer_keyboard_quit", this.getq("minibuffer_continuation"));
+ }
+ });
+ },
+
+ minibuffer_keyboard_quit: function(cont) {
+ this.whenMinibuffer(function(mb){
+ var text = this.cmd("minibuffer_contents");
+ mb.setCode("");
+ this.ymacs.getActiveFrame().focus();
+ (function(text){
+ if (cont)
+ cont.call(this, text);
+ this.getPrefixArg();
+ }).delayed(1, this, text);
+ });
+ DlPopup.clearAllPopups();
+ }
+
+ });
+
+ function handle_completion(how) {
+ var old_item = $item, w;
+ switch (how) {
+ case "next":
+ if ($item == null)
+ $item = -1;
+ $item = $menu.children().rotateIndex(++$item);
+ break;
+ case "prev":
+ if ($item == null)
+ $item = 0;
+ $item = $menu.children().rotateIndex(--$item);
+ break;
+ }
+ if (old_item != null) {
+ w = $menu.children(old_item);
+ w.callHooks("onMouseLeave");
+ }
+ old_item = $item;
+ w = $menu.children($item);
+ w.callHooks("onMouseEnter");
+ };
+
+ function handle_arrow_down() {
+ if ($popupActive) {
+ return handle_completion.call(this, "next");
+ }
+ };
+
+ function handle_arrow_up() {
+ if ($popupActive) {
+ return handle_completion.call(this, "prev");
+ }
+ };
+
+ function handle_enter() {
+ if ($popupActive) {
+ if ($item != null) {
+ this.cmd("minibuffer_replace_input", $menu.children()[$item].userData);
+ DlPopup.clearAllPopups();
+ } else {
+ this.signalError("Select something...");
+ }
+ } else {
+ this.cmd("minibuffer_complete_and_exit");
+ }
+ };
+
+ function handle_tab() {
+ if (!$popupActive)
+ this.cmd("minibuffer_complete");
+ handle_arrow_down.call(this); // autoselect the first one anyway
+ };
+
+ function handle_s_tab() {
+ handle_arrow_up.call(this);
+ };
+
+ function handle_escape() {
+ if ($popupActive) {
+ DlPopup.clearAllPopups();
+ } else {
+ this.cmd("minibuffer_keyboard_quit");
+ }
+ };
+
+ DEFINE_SINGLETON("Ymacs_Keymap_Minibuffer", Ymacs_Keymap, function(D, P){
+
+ D.KEYS = {
+ "C-g" : "minibuffer_keyboard_quit",
+ "TAB" : handle_tab,
+ "S-TAB" : handle_s_tab,
+ "ARROW_DOWN" : handle_arrow_down,
+ "ARROW_UP" : handle_arrow_up,
+ "ENTER" : handle_enter,
+ "ESCAPE" : handle_escape
+ };
+
+ P.defaultHandler = [ function() {
+ DlPopup.clearAllPopups();
+ return false; // say it's not handled though
+ } ];
+
+ });
+
+})();
+
+DEFINE_CLASS("Ymacs_Completion_Popup", DlCompletionPopup);
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-css.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-css.js.svn-base
new file mode 100644
index 0000000..40cb87a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-css.js.svn-base
@@ -0,0 +1,263 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-tokenizer.js
+
+Ymacs_Tokenizer.define("css", function(stream, tok){
+
+ var PARSER = {
+ next : next,
+ copy : copy,
+ indentation : indentation
+ };
+
+ var $parens = [];
+ var $passedParens = [];
+ var $cont = [];
+ var $inString = null;
+ var $inComment = null;
+
+ function copy() {
+ var c = resume.context = {
+ parens : $parens.slice(0),
+ passedParens : $passedParens.slice(0),
+ cont : $cont.slice(0),
+ inString : $inString,
+ inComment : $inComment
+ };
+ function resume() {
+ $parens = c.parens.slice(0);
+ $passedParens = c.passedParens.slice(0);
+ $cont = c.cont.slice(0);
+ $inString = c.inString;
+ $inComment = c.inComment;
+ return PARSER;
+ };
+ return resume;
+ };
+
+ function INDENT_LEVEL() {
+ return tok.buffer.getq("indent_level");
+ };
+
+ var OPEN_PAREN = {
+ "(" : ")",
+ "{" : "}",
+ "[" : "]"
+ };
+
+ var CLOSE_PAREN = {
+ ")" : "(",
+ "}" : "{",
+ "]" : "["
+ };
+
+ function isOpenParen(ch) {
+ return OPEN_PAREN[ch];
+ };
+
+ function isCloseParen(ch) {
+ return CLOSE_PAREN[ch];
+ };
+
+ function foundToken(c1, c2, type) {
+ tok.onToken(stream.line, c1, c2, type);
+ };
+
+ function readComment() {
+ var line = stream.lineText(), pos = line.indexOf("*/", stream.col);
+ var m = /^\s*\*+/.exec(line.substr(stream.col));
+ if (m) {
+ foundToken(stream.col, stream.col += m[0].length, "mcomment-starter");
+ }
+ if (pos >= 0) {
+ $cont.pop();
+ $inComment = null;
+ foundToken(stream.col, pos, "mcomment");
+ foundToken(pos, pos += 2, "mcomment-stopper");
+ stream.col = pos;
+ } else {
+ foundToken(stream.col, line.length, "mcomment");
+ stream.col = line.length;
+ }
+ };
+
+ function readString(end, type) {
+ var ch, esc = false, start = stream.col;
+ while (!stream.eol()) {
+ ch = stream.peek();
+ if (ch === end && !esc) {
+ $cont.pop();
+ $inString = null;
+ foundToken(start, stream.col, type);
+ foundToken(stream.col, ++stream.col, type + "-stopper");
+ return true;
+ }
+ esc = !esc && ch === "\\";
+ stream.nextCol();
+ }
+ foundToken(start, stream.col, type);
+ };
+
+ function next() {
+ stream.checkStop();
+ if ($cont.length > 0)
+ return $cont.peek()();
+ var ch = stream.peek(), tmp;
+ if (stream.lookingAt("/*")) {
+ $inComment = { line: stream.line, c1: stream.col };
+ foundToken(stream.col, stream.col += 2, "mcomment-starter");
+ $cont.push(readComment);
+ }
+ else if (ch === '"' || ch === "'") {
+ $inString = { line: stream.line, c1: stream.col };
+ foundToken(stream.col, ++stream.col, "string-starter");
+ $cont.push(readString.$C(ch, "string"));
+ }
+ else if ((tmp = isOpenParen(ch))) {
+ $parens.push({ line: stream.line, col: stream.col, type: ch });
+ foundToken(stream.col, ++stream.col, "open-paren");
+ }
+ else if ((tmp = isCloseParen(ch))) {
+ var p = $parens.pop();
+ if (!p || p.type != tmp) {
+ foundToken(stream.col, ++stream.col, "error");
+ } else {
+ // circular reference; poor browsers will leak. mwuhahahaha
+ p.closed = { line: stream.line, col: stream.col, opened: p };
+ $passedParens.push(p);
+ foundToken(stream.col, ++stream.col, "close-paren");
+ }
+ }
+ else if ((tmp = stream.lookingAt(/^([a-zA-z-]+):/))) {
+ foundToken(stream.col, stream.col += tmp[1].length, "keyword");
+ foundToken(stream.col, ++stream.col, "operator");
+ }
+ else if ((tmp = stream.lookingAt(/^([0-9.]+)(px|pt|em|ex|in|cm|mm|%)/))) {
+ foundToken(stream.col, stream.col += tmp[1].length, "number");
+ foundToken(stream.col, stream.col += tmp[2].length, "type");
+ }
+ else if ((tmp = stream.lookingAt(/^(\.[a-zA-Z0-9_:-]+)/))) {
+ foundToken(stream.col, stream.col += tmp[1].length, "function-name");
+ }
+ else if ((tmp = stream.lookingAt(/^(#[a-zA-Z0-9_:-]+)/))) {
+ foundToken(stream.col, stream.col += tmp[1].length, "constant");
+ }
+ else if ((tmp = stream.lookingAt(/^(@[a-zA-Z0-9_:-]+)/))) {
+ foundToken(stream.col, stream.col += tmp[1].length, "builtin");
+ }
+ else if ((tmp = stream.lookingAt(/^(url|none|auto|bold|italic|normal|inherit|print|screen|all)/))) {
+ foundToken(stream.col, stream.col += tmp[1].length, "builtin");
+ }
+ else {
+ foundToken(stream.col, ++stream.col, null);
+ }
+ };
+
+ function indentation() {
+ // no indentation for continued strings
+ if ($inString)
+ return 0;
+
+ var row = stream.line;
+ var currentLine = stream.lineText();
+ var indent = 0;
+
+ if ($inComment) {
+ var commentStartLine = stream.lineText($inComment.line);
+ indent = $inComment.c1 + 1;
+ if (!/^\s*\*/.test(currentLine)) {
+ // align with the first non-whitespace and non-asterisk character in the comment
+ var re = /[^\s*]/g;
+ re.lastIndex = $inComment.c1 + 1;
+ var m = re.exec(commentStartLine);
+ if (m)
+ indent = m.index;
+ }
+ return indent;
+ }
+
+ var p = $parens.peek();
+ if (p) {
+ // check if the current line closes the paren
+ var re = new RegExp("^\\s*\\" + OPEN_PAREN[p.type]);
+ var thisLineCloses = re.test(currentLine);
+
+ // Check if there is text after the opening paren. If so, indent to that column.
+ var line = stream.lineText(p.line);
+ re = /\S/g;
+ re.lastIndex = p.col + 1;
+ var m = re.exec(line);
+ if (m) {
+ // but if this line closes the paren, better use the column of the open paren
+ indent = thisLineCloses ? p.col : m.index;
+ }
+ else {
+ // Otherwise we should indent to one level more than the indentation of the line
+ // containing the opening paren.
+ indent = stream.lineIndentation(p.line) + INDENT_LEVEL();
+
+ // but if this line closes the paren, then back one level
+ if (thisLineCloses)
+ indent -= INDENT_LEVEL();
+ }
+ }
+
+ return indent;
+ };
+
+ return PARSER;
+
+});
+
+DEFINE_SINGLETON("Ymacs_Keymap_CSS", Ymacs_Keymap);
+Ymacs_Keymap_CSS().defineKeys({
+ "ENTER" : "newline_and_indent",
+ ": && } && )" : "c_insert_and_indent"
+});
+
+Ymacs_Buffer.newMode("css_mode", function(){
+
+ var tok = this.tokenizer;
+ this.setTokenizer(new Ymacs_Tokenizer({ buffer: this, type: "css" }));
+ var was_paren_match = this.cmd("paren_match_mode", true);
+ this.pushKeymap(Ymacs_Keymap_CSS());
+
+ return function() {
+ this.setTokenizer(tok);
+ if (!was_paren_match)
+ this.cmd("paren_match_mode", false);
+ this.popKeymap(Ymacs_Keymap_CSS());
+ };
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-js.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-js.js.svn-base
new file mode 100644
index 0000000..1265bc6
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-js.js.svn-base
@@ -0,0 +1,431 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-tokenizer.js
+
+/* -----[ This defines the tokenizer ]----- */
+
+(function(){
+
+ var KEYWORDS = "abstract break case catch class const \
+continue debugger default delete do else \
+enum export extends final finally for \
+function goto if implements import in \
+instanceof interface native new package \
+private protected public return static \
+super switch synchronized throw \
+throws transient try typeof var void let \
+yield volatile while with".qw();
+
+ var KEYWORDS_TYPE = "boolean byte char double float int long short void \
+Array Date Function Math Number Object RegExp String".qw();
+
+ var KEYWORDS_CONST = "false null undefined Infinity NaN true arguments this".qw();
+
+ var KEYWORDS_BUILTIN = "Infinity NaN \
+Packages decodeURI decodeURIComponent \
+encodeURI encodeURIComponent eval isFinite isNaN parseFloat \
+parseInt undefined window document alert prototype constructor".qw();
+
+ var ALLOW_REGEXP_AFTER = /[\[({,;+\-*=?&|!:][\x20\t\n\xa0]*$|return\s+$|typeof\s+$/;
+
+ function isLetter(ch) {
+ return ch.toLowerCase() != ch.toUpperCase();
+ };
+
+ function isNameStart(ch) {
+ return ch && (isLetter(ch) || /^[_$]$/.test(ch));
+ };
+
+ function isNameChar(ch) {
+ return ch && (isLetter(ch) || /^[0-9_$]$/.test(ch));
+ };
+
+ var OPEN_PAREN = {
+ "(" : ")",
+ "{" : "}",
+ "[" : "]"
+ };
+
+ var CLOSE_PAREN = {
+ ")" : "(",
+ "}" : "{",
+ "]" : "["
+ };
+
+ function isOpenParen(ch) {
+ return OPEN_PAREN[ch];
+ };
+
+ function isCloseParen(ch) {
+ return CLOSE_PAREN[ch];
+ };
+
+ function JS_PARSER(KEYWORDS, KEYWORDS_TYPE, KEYWORDS_CONST, KEYWORDS_BUILTIN, stream, tok) {
+
+ var $cont = [],
+ $parens = [],
+ $passedParens = [],
+ $inComment = null,
+ $inString = null,
+ PARSER = {
+ next : next,
+ copy : copy,
+ indentation : indentation
+ };
+
+ function INDENT_LEVEL() {
+ return stream.buffer.getq("indent_level");
+ };
+
+ function copy() {
+ var context = restore.context = {
+ cont : $cont.slice(0),
+ inComment : $inComment,
+ inString : $inString,
+ parens : $parens.slice(0),
+ passedParens : $passedParens.slice(0)
+ };
+ function restore() {
+ $cont = context.cont.slice(0);
+ $inComment = context.inComment;
+ $inString = context.inString;
+ $parens = context.parens.slice(0);
+ $passedParens = context.passedParens.slice(0);
+ return PARSER;
+ };
+ return restore;
+ };
+
+ function foundToken(c1, c2, type) {
+ tok.onToken(stream.line, c1, c2, type);
+ };
+
+ function readName() {
+ var col = stream.col, ch = stream.get(),
+ name = ch;
+ while (!stream.eol()) {
+ ch = stream.peek();
+ if (!isNameChar(ch))
+ break;
+ name += ch;
+ stream.nextCol();
+ }
+ return ch && { line: stream.line, c1: col, c2: stream.col, id: name };
+ };
+
+ function readComment() {
+ var line = stream.lineText(), pos = line.indexOf("*/", stream.col);
+ var m = /^\s*\*+/.exec(line.substr(stream.col));
+ if (m) {
+ foundToken(stream.col, stream.col += m[0].length, "mcomment-starter");
+ }
+ if (pos >= 0) {
+ $cont.pop();
+ $inComment = null;
+ foundToken(stream.col, pos, "mcomment");
+ foundToken(pos, pos += 2, "mcomment-stopper");
+ stream.col = pos;
+ } else {
+ foundToken(stream.col, line.length, "mcomment");
+ stream.col = line.length;
+ }
+ };
+
+ function readString(end, type) {
+ var ch, esc = false, start = stream.col;
+ while (!stream.eol()) {
+ ch = stream.peek();
+ if (ch === end && !esc) {
+ $cont.pop();
+ $inString = null;
+ foundToken(start, stream.col, type);
+ foundToken(stream.col, ++stream.col, type + "-stopper");
+ return true;
+ }
+ esc = !esc && ch === "\\";
+ stream.nextCol();
+ }
+ foundToken(start, stream.col, type);
+ };
+
+ // function readLiteralRegexp() {
+ // var m;
+ // if (readString("/", "regexp") && (m = stream.lookingAt(/^[gmsiy]+/)))
+ // foundToken(stream.col, stream.col += m[0].length, "regexp-modifier");
+ // };
+
+ function readLiteralRegexp() {
+ var ch, esc = false, inset = 0, start = stream.col;
+ while (!stream.eol()) {
+ ch = stream.peek();
+ if (isOpenParen(ch) && !esc && !inset)
+ inset++;
+ if (isCloseParen(ch) && !esc) {
+ inset--;
+ if (inset < 0)
+ inset = 0;
+ }
+ if (ch === "/" && !esc && !inset) {
+ $cont.pop();
+ $inString = null;
+ foundToken(start, stream.col, "regexp");
+ foundToken(stream.col, ++stream.col, "regexp-stopper");
+ var m = stream.lookingAt(/^[gmsiy]+/);
+ if (m)
+ foundToken(stream.col, stream.col += m[0].length, "regexp-modifier");
+ return true;
+ }
+ esc = !esc && ch === "\\";
+ stream.nextCol();
+ }
+ foundToken(start, stream.col, "regexp");
+ };
+
+ function next() {
+ stream.checkStop();
+ if ($cont.length > 0)
+ return $cont.peek()();
+ var ch = stream.peek(), m, tmp;
+ if (stream.lookingAt("/*")) {
+ $inComment = { line: stream.line, c1: stream.col };
+ foundToken(stream.col, stream.col += 2, "mcomment-starter");
+ $cont.push(readComment);
+ }
+ else if (stream.lookingAt("//")) {
+ foundToken(stream.col, stream.col += 2, "comment-starter");
+ foundToken(stream.col, stream.col = stream.lineLength(), "comment");
+ }
+ else if (ch === '"' || ch === "'") {
+ $inString = { line: stream.line, c1: stream.col };
+ foundToken(stream.col, ++stream.col, "string-starter");
+ $cont.push(readString.$C(ch, "string"));
+ }
+ else if ((m = stream.lookingAt(/^0x[0-9a-f]+|^[0-9]*\.?[0-9]+/))) {
+ foundToken(stream.col, stream.col += m[0].length, "number");
+ }
+ else if (isNameStart(ch) && (tmp = readName())) {
+ var type = tmp.id in KEYWORDS ? "keyword"
+ : tmp.id in KEYWORDS_TYPE ? "type"
+ : tmp.id in KEYWORDS_CONST ? "constant"
+ : tmp.id in KEYWORDS_BUILTIN ? "builtin"
+ : null;
+ foundToken(tmp.c1, tmp.c2, type);
+ }
+ else if ((tmp = isOpenParen(ch))) {
+ $parens.push({ line: stream.line, col: stream.col, type: ch });
+ foundToken(stream.col, ++stream.col, "open-paren");
+ }
+ else if ((tmp = isCloseParen(ch))) {
+ var p = $parens.pop();
+ if (!p || p.type != tmp) {
+ foundToken(stream.col, ++stream.col, "error");
+ } else {
+ // circular reference; poor browsers will leak. mwuhahahaha
+ p.closed = { line: stream.line, col: stream.col, opened: p };
+ $passedParens.push(p);
+ foundToken(stream.col, ++stream.col, "close-paren");
+ }
+ }
+ else if (ch === "/" && ALLOW_REGEXP_AFTER.test(stream.textBefore())) {
+ foundToken(stream.col, ++stream.col, "regexp-starter");
+ $cont.push(readLiteralRegexp);
+ }
+ else if ((m = stream.lookingAt(/^\s+$/))) {
+ foundToken(stream.col, stream.col += m[0].length, "trailing-whitespace");
+ }
+ else {
+ foundToken(stream.col, ++stream.col, null);
+ }
+ };
+
+ function indentation() {
+
+ // no indentation for continued strings
+ if ($inString)
+ return 0;
+
+ var row = stream.line;
+ var currentLine = stream.lineText();
+ var indent = 0;
+
+ if ($inComment) {
+ var commentStartLine = stream.lineText($inComment.line);
+ indent = $inComment.c1 + 1;
+ if (!/^\s*\*/.test(currentLine)) {
+ // align with the first non-whitespace and non-asterisk character in the comment
+ var re = /[^\s*]/g;
+ re.lastIndex = $inComment.c1 + 1;
+ var m = re.exec(commentStartLine);
+ if (m)
+ indent = m.index;
+ }
+ return indent;
+ }
+
+ var p = $parens.peek();
+ if (p) {
+ // check if the current line closes the paren
+ var re = new RegExp("^\\s*\\" + OPEN_PAREN[p.type]);
+ var thisLineCloses = re.test(currentLine);
+
+ // Check if there is text after the opening paren. If so, indent to that column.
+ var line = stream.lineText(p.line);
+ re = /\S/g;
+ re.lastIndex = p.col + 1;
+ var m = re.exec(line);
+ if (m) {
+ // but if this line closes the paren, better use the column of the open paren
+ indent = thisLineCloses ? p.col : m.index;
+ }
+ else {
+ // Otherwise we should indent to one level more than the indentation of the line
+ // containing the opening paren.
+ indent = stream.lineIndentation(p.line) + INDENT_LEVEL();
+
+ // but if this line closes the paren, then back one level
+ if (thisLineCloses)
+ indent -= INDENT_LEVEL();
+ }
+ }
+
+ // Some more adjustments for continued statements. Since we don't really have a
+ // rigorous parser, we have to rely on other regexps here, which sucks but will do for
+ // now.
+
+ if (row > 0) {
+ var before = stream.textBefore();
+ if (/\)\s*$/.test(before) && $passedParens.length > 0) {
+ // Ends in a paren, could be an if, while or for which demands smart
+ // indentation on the current line, let's check it out.
+
+ // Note that the passedParen saved for that close paren is actually
+ // the opening one, which suits us greatly.
+ p = $passedParens.peek();
+ var stmtLine = stream.lineText(p.line);
+ if (/^\s*(if|for|while)\W/.test(stmtLine))
+ indent += INDENT_LEVEL();
+ }
+ else if (/\Welse\s*$/.test(before)) {
+ indent += INDENT_LEVEL();
+ }
+ }
+
+ // switch labels use half the indent level, which is my favorite
+ if (/^\s*(case|default)\W/.test(currentLine))
+ indent -= INDENT_LEVEL() / 2;
+
+ return indent;
+ };
+
+ return PARSER;
+
+ };
+
+ Ymacs_Tokenizer.define("js", JS_PARSER.$C(
+ KEYWORDS.toHash(true),
+ KEYWORDS_TYPE.toHash(true),
+ KEYWORDS_CONST.toHash(true),
+ KEYWORDS_BUILTIN.toHash(true)
+ ));
+
+ /* -----[ DynarchLIB ]----- */
+
+ var DL_KEYWORDS_BUILTIN = KEYWORDS_BUILTIN.concat("\
+DEFINE_CLASS DEFINE_SINGLETON DEFINE_HIDDEN_CLASS \
+DEFAULT_ARGS DEFAULT_EVENTS \
+FIXARGS CONSTRUCT BEFORE_BASE FINISH_OBJECT_DEF \
+D P $".qw());
+
+ Ymacs_Tokenizer.define("js-dynarchlib", JS_PARSER.$C(
+ KEYWORDS.toHash(true),
+ KEYWORDS_TYPE.toHash(true),
+ KEYWORDS_CONST.toHash(true),
+ DL_KEYWORDS_BUILTIN.toHash(true)
+ ));
+
+})();
+
+/* -----[ Keymap for C-like language mode ]----- */
+
+DEFINE_SINGLETON("Ymacs_Keymap_CLanguages", Ymacs_Keymap, function(D, P){
+
+ D.KEYS = {
+ "ENTER" : "newline_and_indent",
+ "} && ) && ] && : && ; && { && ( && [ && *" : "c_insert_and_indent"
+ // "{" : "c_electric_block"
+ };
+
+});
+
+/* -----[ Mode entry point ]----- */
+
+Ymacs_Buffer.newMode("javascript_mode", function(useDL) {
+ var tok = this.tokenizer;
+ var keymap = Ymacs_Keymap_CLanguages();
+ this.setTokenizer(new Ymacs_Tokenizer({ buffer: this, type: useDL ? "js-dynarchlib" : "js" }));
+ this.pushKeymap(keymap);
+ var was_paren_match = this.cmd("paren_match_mode", true);
+
+ return function() {
+ this.setTokenizer(tok);
+ this.popKeymap(keymap);
+ if (!was_paren_match)
+ this.cmd("paren_match_mode", false);
+ };
+
+});
+
+Ymacs_Buffer.newCommands({
+
+ javascript_dl_mode: Ymacs_Interactive(function() {
+ return this.cmd("javascript_mode", true);
+ }),
+
+ c_electric_block: Ymacs_Interactive(function() {
+ this.cmd("indent_line");
+ this.cmd("insert", "{\n\n}");
+ this.cmd("indent_line");
+ this.cmd("backward_line", 1);
+ this.cmd("indent_line");
+ }),
+
+ c_insert_and_indent: Ymacs_Interactive(function() {
+ var ret;
+ if ((ret = this.cmd("self_insert_command"))) {
+ this.cmd("indent_line");
+ return ret;
+ }
+ })
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-lisp.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-lisp.js.svn-base
new file mode 100644
index 0000000..dede250
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-lisp.js.svn-base
@@ -0,0 +1,419 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-tokenizer.js
+
+(function(){
+
+ Ymacs_Buffer.newCommands({
+
+ lisp_open_paren: Ymacs_Interactive(function(what) {
+ if (what == null)
+ what = "(";
+ what += isOpenParen(what);
+ this.cmd("insert", what);
+ this.cmd("backward_char");
+ }),
+
+ lisp_close_paren: Ymacs_Interactive(function(what) {
+ var re = new RegExp("\\s*\\" + what, "ig");
+ if (this.cmd("looking_at", re))
+ this._deleteText(this.point(), this.matchData.after);
+ this.cmd("insert", what);
+ }),
+
+ lisp_close_all_parens: Ymacs_Interactive(function() {
+ var p = this.tokenizer.getParserForLine(this._rowcol.row);
+ if (p) {
+ // this kind of sucks, we need to rewind the stream to that location..
+ var s = this.tokenizer.stream;
+ s.line = this._rowcol.row;
+ s.col = 0;
+ try {
+ while (s.col < this._rowcol.col)
+ p.next();
+ } catch(ex) {}
+ p = p.copy().context.parens; // these are still-to-close
+ p.r_foreach(function(p){
+ this.cmd("lisp_close_paren", isOpenParen(p.type));
+ }, this);
+ }
+ })
+
+ });
+
+ // XXX: much of the parser is actually copied from ymacs-mode-js.js. I should somehow unify
+ // the duplicate code.
+
+ var SPECIAL_FORMS = "\
+deftype defstruct defclass \
+defmacro defun defmethod defgeneric defpackage in-package defreadtable in-readtable \
+when cond unless etypecase typecase ctypecase \
+lambda let load-time-value quote macrolet \
+progn prog1 prog2 progv go flet the \
+if throw eval-when multiple-value-prog1 unwind-protect let* \
+ignore-errors handler-case case \
+labels function symbol-macrolet block tagbody catch locally \
+return return-from setq multiple-value-call".qw().toHash();
+
+ var COMMON_MACROS = "loop do while".qw().toHash();
+
+ var CONSTANTS = "t nil".qw().toHash();
+
+ var OPEN_PAREN = {
+ "(" : ")",
+ "{" : "}",
+ "[" : "]"
+ };
+
+ var CLOSE_PAREN = {
+ ")" : "(",
+ "}" : "{",
+ "]" : "["
+ };
+
+ var DEFINES_FUNCTION = "defun defgeneric defmethod".qw().toHash();
+
+ var DEFINES_TYPE = "deftype defclass defstruct".qw().toHash();
+
+ var FORM_ARGS = {
+ "if" : "3+",
+ "when" : "1*",
+ "lambda" : "1*",
+ "unless" : "1*",
+ "defun" : "2*",
+ "defgeneric" : "2*",
+ "defmethod" : "2*",
+ "defclass" : "2*",
+ "defmacro" : "2*",
+ "progn" : "0*",
+ "prog1" : "0*",
+ "prog2" : "0*",
+ "let" : "1*"
+ };
+
+ function isOpenParen(ch) {
+ return OPEN_PAREN[ch];
+ };
+
+ function isCloseParen(ch) {
+ return CLOSE_PAREN[ch];
+ };
+
+ function isConstituent(ch) {
+ return ch.toLowerCase() != ch.toUpperCase() ||
+ /^[-0-9!#$%&*+./:<=>?@\[\]\^_\{\}~]$/i.test(ch);
+ };
+
+ function isConstituentStart(ch) {
+ return ch != "#" && isConstituent(ch);
+ };
+
+ // the tokenizer function
+ Ymacs_Tokenizer.define("lisp", function(stream, tok){
+
+ var $cont = [],
+ $inString = false,
+ $inComment = false,
+ $quote = null,
+ $parens = [],
+ $passedParens = [],
+ $backList = [],
+ $list = [],
+ PARSER = { next: next, copy: copy, indentation: indentation };
+
+ function copy() {
+ var context = restore.context = {
+ cont : $cont.slice(0),
+ quote : $quote,
+ inString : $inString,
+ inComment : $inComment,
+ parens : $parens.slice(0),
+ passedParens : $passedParens.slice(0),
+ backList : $backList.slice(0),
+ list : $list.slice(0)
+ };
+ function restore() {
+ $cont = context.cont.slice(0);
+ $inString = context.inString;
+ $quote = context.quote;
+ $inComment = context.inComment;
+ $parens = context.parens.slice(0);
+ $passedParens = context.passedParens.slice(0);
+ $backList = context.backList.slice(0),
+ $list = context.list.slice(0);
+ return PARSER;
+ };
+ return restore;
+ };
+
+ function foundToken(c1, c2, type) {
+ tok.onToken(stream.line, c1, c2, type);
+ };
+
+ function newArg(what) {
+ if (what == null)
+ what = { c1: stream.col };
+ $list.push(what);
+ };
+
+ function INDENT_LEVEL() { return stream.buffer.getq("indent_level"); };
+
+ function readName() {
+ var col = stream.col, ch = stream.get(),
+ name = ch;
+ while (!stream.eol()) {
+ ch = stream.peek();
+ if (!isConstituent(ch))
+ break;
+ name += ch;
+ stream.nextCol();
+ }
+ return ch && { line: stream.line, c1: col, c2: stream.col, id: name.toLowerCase() };
+ };
+
+ function readString(end, type) {
+ var ch, esc = false, start = stream.col;
+ while (!stream.eol()) {
+ ch = stream.peek();
+ if (ch === end && !esc) {
+ $cont.pop();
+ $inString = null;
+ foundToken(start, stream.col, type);
+ foundToken(stream.col, ++stream.col, type + "-stopper");
+ return true;
+ }
+ esc = !esc && ch === "\\";
+ stream.nextCol();
+ }
+ foundToken(start, stream.col, type);
+ };
+
+ function readComment() {
+ var line = stream.lineText(), pos = line.indexOf("|#", stream.col);
+ var m = /^\s*\|+/.exec(line.substr(stream.col));
+ if (m) {
+ foundToken(stream.col, stream.col += m[0].length, "mcomment-starter");
+ }
+ if (pos >= 0) {
+ $cont.pop();
+ $inComment = null;
+ foundToken(stream.col, pos, "mcomment");
+ foundToken(pos, pos += 2, "mcomment-stopper");
+ stream.col = pos;
+ } else {
+ foundToken(stream.col, line.length, "mcomment");
+ stream.col = line.length;
+ }
+ };
+
+ function isForm(form) {
+ var f = $list && $list.length > 0 && $list[0].id;
+ if (f) {
+ f = f.toLowerCase();
+ if (form == null)
+ return f;
+ return typeof form == "string" ? f == form : f in form;
+ }
+ };
+
+ function next() {
+ stream.checkStop();
+ if ($cont.length > 0)
+ return $cont.peek()();
+ var ch = stream.peek(), tmp;
+ if ((tmp = stream.lookingAt(/^#\\(Space|Newline|.?)/i))) {
+ newArg();
+ foundToken(stream.col, stream.col += tmp[0].length, "constant");
+ }
+ else if (stream.lookingAt(/^#\x27[^(]/)) {
+ newArg();
+ stream.col += 2;
+ tmp = readName();
+ foundToken(tmp.c1, tmp.c2, "function-name");
+ }
+ else if (stream.lookingAt("#|")) {
+ $inComment = { line: stream.line, c1: stream.col };
+ foundToken(stream.col, stream.col += 2, "mcomment-starter");
+ $cont.push(readComment);
+ }
+ else if ((tmp = stream.lookingAt(/^;+/))) {
+ foundToken(stream.col, stream.col += tmp[0].length, "comment-starter");
+ foundToken(stream.col, stream.col = stream.lineLength(), "comment");
+ }
+ else if (ch === '"') {
+ newArg();
+ $inString = { line: stream.line, c1: stream.col };
+ foundToken(stream.col, ++stream.col, "string-starter");
+ $cont.push(readString.$C(ch, "string"));
+ }
+ else if ((tmp = stream.lookingAt(/^[+-]?(#x[0-9a-f]+|#o[0-7]+|#b[01]+|[0-9]*\.?[0-9]+e?[0-9]*)(\x2f(#x[0-9a-f]+|#o[0-7]+|#b[01]+|[0-9]*\.?[0-9]+e?[0-9]*))?/))) { // Dude, WTF...
+ newArg();
+ foundToken(stream.col, stream.col += tmp[0].length, "number");
+ }
+ else if ((tmp = isOpenParen(ch))) {
+ newArg();
+ $backList.push($list);
+ $list = [];
+ $parens.push({ line: stream.line, col: stream.col, type: ch });
+ foundToken(stream.col, ++stream.col, "open-paren");
+ }
+ else if ((tmp = isCloseParen(ch))) {
+ var p = $parens.pop();
+ if (!p || p.type != tmp) {
+ foundToken(stream.col, ++stream.col, "error");
+ } else {
+ p.closed = { line: stream.line, col: stream.col, opened: p };
+ $passedParens.push(p);
+ $list = $backList.pop();
+ foundToken(stream.col, ++stream.col, "close-paren");
+ }
+ }
+ else if (isConstituentStart(ch) && (tmp = readName())) {
+ var type = ch == ":" ? "lisp-keyword"
+ : tmp.id in SPECIAL_FORMS ? "keyword"
+ : tmp.id in COMMON_MACROS ? "builtin"
+ : tmp.id in CONSTANTS ? "constant"
+ : null;
+ if (!type) {
+ // perhaps function name?
+ if (isForm(DEFINES_FUNCTION) && $list.length == 1) {
+ type = "function-name";
+ }
+ else if (isForm(DEFINES_TYPE) && $list.length == 1) {
+ type = "type";
+ }
+ // there are a lot of macros starting with "with-", so let's highlight this
+ else if (/^with-/i.test(tmp.id)) {
+ type = "builtin";
+ }
+ }
+ newArg(tmp);
+ foundToken(tmp.c1, tmp.c2, type);
+ }
+ else {
+ foundToken(stream.col, ++stream.col, null);
+ }
+ };
+
+ function indentation() {
+ // no indentation for continued strings
+ if ($inString)
+ return 0;
+
+ var currentLine = stream.lineText();
+ var indent = 0;
+
+ var p = $parens.peek();
+ if (p) {
+ var line = stream.lineText(p.line);
+ indent = p.col + 1;
+ var nextNonSpace;
+ if (isConstituentStart(line.charAt(indent))) {
+ indent = p.col + INDENT_LEVEL();
+ var re = /\s\S/g;
+ re.lastIndex = p.col;
+ nextNonSpace = re.exec(line);
+ if (nextNonSpace) {
+ nextNonSpace = nextNonSpace.index + 1;
+ }
+ }
+ if ($list && $list.length) {
+ // console.log($list);
+ var currentForm = isForm();
+ if (currentForm) {
+ currentForm = currentForm.replace(/\*$/, "");
+ var formArgs = FORM_ARGS[currentForm];
+ if (!formArgs && /^with/.test(currentForm)) {
+ // "with" macros usually take one argument, then &body
+ formArgs = "1*";
+ }
+ if (!formArgs) {
+ formArgs = "1+"; // kind of sucky now
+ }
+ if (formArgs) {
+ var n = parseInt(formArgs, 10);
+ var hasRest = /\+$/.test(formArgs);
+ var hasBody =/\*$/.test(formArgs);
+ // console.log("Expecting %d arguments, got %d already (rest=%o, body=%o)", n, $list.length - 1, hasRest, hasBody);
+ if ($list.length - 1 < n || hasRest) {
+ // still in the arguments
+ if (nextNonSpace)
+ indent = nextNonSpace;
+ else
+ indent += INDENT_LEVEL();
+ }
+ }
+ }
+ }
+ }
+
+ return indent;
+ };
+
+ return PARSER;
+ });
+
+})();
+
+DEFINE_SINGLETON("Ymacs_Keymap_LispMode", Ymacs_Keymap, function(D, P){
+
+ D.KEYS = {
+ "ENTER" : "newline_and_indent",
+ "(" : [ "lisp_open_paren", "(" ],
+ ")" : [ "lisp_close_paren", ")" ],
+ "C-c ] && C-c C-]" : "lisp_close_all_parens"
+ };
+
+});
+
+Ymacs_Buffer.newMode("lisp_mode", function() {
+
+ var tok = this.tokenizer;
+ this.setTokenizer(new Ymacs_Tokenizer({ buffer: this, type: "lisp" }));
+ var changed_vars = this.setq({
+ indent_level: 2
+ });
+ var keymap = Ymacs_Keymap_LispMode();
+ this.pushKeymap(keymap);
+ var was_paren_match = this.cmd("paren_match_mode", true);
+
+ return function() {
+ this.setTokenizer(tok);
+ this.setq(changed_vars);
+ this.popKeymap(keymap);
+ if (!was_paren_match)
+ this.cmd("paren_match_mode", false);
+ };
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-markdown.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-markdown.js.svn-base
new file mode 100644
index 0000000..42a92b9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-markdown.js.svn-base
@@ -0,0 +1,89 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-tokenizer.js
+
+Ymacs_Tokenizer.define("markdown", function(stream, tok) {
+
+ var PARSER = { next: next, copy: copy };
+
+ function copy() {
+ var context = restore.context = {
+ };
+ function restore() {
+ return PARSER;
+ };
+ return restore;
+ };
+
+ function foundToken(c1, c2, type) {
+ tok.onToken(stream.line, c1, c2, type);
+ };
+
+ function next() {
+ stream.checkStop();
+ var tmp;
+ if (stream.col == 0 && (tmp = stream.lookingAt(/^(#+)/))) {
+ foundToken(0, stream.col = stream.lineLength(), "markdown-heading" + tmp[0].length);
+ }
+ else if (stream.line > 0 && stream.col == 0 && (tmp = stream.lookingAt(/^[=-]+$/)) && /\S/.test(stream.lineText(stream.line - 1))) {
+ tmp = tmp[0].charAt(0) == "=" ? 1 : 2;
+ tmp = "markdown-heading" + tmp;
+ tok.onToken(stream.line - 1, 0, stream.lineLength(stream.line - 1), tmp);
+ foundToken(0, stream.col = stream.lineLength(), tmp);
+ }
+ else if (stream.col == 0 && (tmp = stream.lookingAt(/^[>\s]*/))) {
+ tmp = tmp[0].replace(/\s+/g, "").length;
+ if (tmp > 3)
+ tmp = "";
+ tmp = "markdown-blockquote" + tmp;
+ foundToken(0, stream.col = stream.lineLength(), tmp);
+ }
+ else {
+ foundToken(stream.col, ++stream.col, null);
+ }
+ };
+
+ return PARSER;
+
+});
+
+Ymacs_Buffer.newMode("markdown_mode", function() {
+
+ var tok = this.tokenizer;
+ this.setTokenizer(new Ymacs_Tokenizer({ buffer: this, type: "markdown" }));
+ return function() {
+ this.setTokenizer(tok);
+ };
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-paren-match.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-paren-match.js.svn-base
new file mode 100644
index 0000000..cdeeb8f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-paren-match.js.svn-base
@@ -0,0 +1,301 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-buffer.js
+// @require ymacs-tokenizer.js
+
+DEFINE_SINGLETON("Ymacs_Keymap_ParenMatch", Ymacs_Keymap, function(D, P) {
+
+ D.KEYS = {
+ "C-c \\" : "goto_matching_paren",
+ "C-M-q" : "indent_sexp",
+ "C-M-f && C-M-n" : "forward_sexp",
+ "C-M-b && C-M-p" : "backward_sexp",
+ "C-M-u && M-a" : "backward_up_list",
+ "M-e && C-M-ARROW_UP" : "up_list",
+ "C-M-ARROW_DOWN" : "down_list",
+ "M-C-k" : "kill_sexp",
+ "M-C-SPACE" : "mark_sexp",
+ "M-C-t" : "transpose_sexps",
+ "M-(" : [ "paredit_wrap_round", "(" ],
+ "M-[" : [ "paredit_wrap_round", "[" ],
+ "M-{" : [ "paredit_wrap_round", "{" ],
+ 'M-"' : [ "paredit_wrap_round", '"', true ],
+ "M-'" : [ "paredit_wrap_round", "'", true ]
+ };
+
+ /* -----[ new commands ]----- */
+
+ function compareRowCol(p1, p2) {
+ return (p1.line < p2.line)
+ ? -1
+ : p1.line > p2.line
+ ? 1
+ : p1.col - p2.col;
+ };
+
+ var PARENS = {
+ "(" : ")",
+ "[" : "]",
+ "{" : "}",
+ '"' : { close: '"', backslash: /[\x22\\]/g },
+ "'" : { close: "'", backslash: /[\x27\\]/g }
+ };
+
+ function ERROR(o) {
+ throw new Ymacs_Exception("Balanced expression not found");
+ };
+
+ function getPP(p) {
+ var pp = p.context.passedParens;
+ return pp instanceof Function ? pp() : pp;
+ };
+
+ Ymacs_Buffer.newCommands({
+
+ matching_paren: function() {
+ var p = this.tokenizer.getLastParser(), rc = this._rowcol;
+ if (p) {
+ var parens = getPP(p);
+ return parens.foreach(function(p){
+ var match = p.closed;
+ if (p.line == rc.row && p.col == rc.col) {
+ $RETURN( this._rowColToPosition(match.line, match.col + 1) );
+ } else if (match.line == rc.row && match.col == rc.col - 1) {
+ $RETURN( this._rowColToPosition(p.line, p.col) );
+ }
+ }, this);
+ }
+ },
+
+ indent_sexp: Ymacs_Interactive(function() {
+ var pos = this.cmd("matching_paren");
+ if (pos != null) {
+ this.cmd("indent_region", this.point(), pos);
+ } else {
+ ERROR(this);
+ }
+ }),
+
+ goto_matching_paren: Ymacs_Interactive(function() {
+ var pos = this.cmd("matching_paren");
+ if (pos != null) {
+ this.cmd("goto_char", pos);
+ return true;
+ }
+ }),
+
+ forward_sexp: Ymacs_Interactive(function() {
+ var rc = this._rowcol, p = this.tokenizer.finishParsing();
+ if (p) {
+ // find next paren
+ var parens = getPP(p).mergeSort(compareRowCol);
+ var next = parens.foreach(function(p){
+ if (p.line > rc.row || (p.line == rc.row && p.col >= rc.col)) {
+ $RETURN(p);
+ }
+ });
+ if (!next || !next.closed) {
+ ERROR(this);
+ return;
+ }
+ var start = this._rowColToPosition(next.line, next.col);
+ if ((this._rowcol.row == next.line && this._rowcol.col == next.col)
+ || !/\S/.test(this._bufferSubstring(null, start)))
+ this.cmd("goto_char", this._rowColToPosition(next.closed.line, next.closed.col) + 1);
+ else
+ this.cmd("goto_char", start);
+ return true;
+ }
+ }),
+
+ backward_sexp: Ymacs_Interactive(function() {
+ var rc = this._rowcol, p = this.tokenizer.finishParsing();
+ if (p) {
+ // find next paren
+ var parens = getPP(p).grep("closed").map("closed").mergeSort(compareRowCol);
+ var prev = parens.r_foreach(function(p){
+ if (p.line < rc.row || (p.line == rc.row && p.col < rc.col))
+ $RETURN(p);
+ });
+ if (!prev) {
+ ERROR(this);
+ return;
+ }
+ this.cmd("goto_char", this._rowColToPosition(prev.opened.line, prev.opened.col));
+ return true;
+ }
+ }),
+
+ mark_sexp: Ymacs_Interactive("^r", function(begin, end){
+ this.cmd("save_excursion", function(){
+ if (this.transientMarker)
+ this.cmd("goto_char", end);
+ this.ensureTransientMark();
+ this.cmd("forward_sexp");
+ this.cmd("set_mark_command", this.point());
+ this.transientMarker.swap(this.caretMarker);
+ });
+ this.ensureTransientMark();
+ }),
+
+ kill_sexp: Ymacs_Interactive(function() {
+ this._killingAction(
+ this.point(),
+ this.cmd("save_excursion", function() {
+ this.cmd("forward_sexp");
+ return this.point();
+ })
+ );
+ }),
+
+ transpose_sexps: Ymacs_Interactive(function() {
+ var a = [];
+ this.cmd("forward_sexp"); a.push(this.point());
+ this.cmd("backward_sexp"); a.push(this.point());
+ this.cmd("backward_sexp"); a.push(this.point());
+ this.cmd("forward_sexp"); a.push(this.point());
+ this.cmd("goto_char", this._swapAreas(a));
+ }),
+
+ paredit_wrap_round: Ymacs_Interactive("^", function(paren, nosexp){
+ if (!paren)
+ paren = "(";
+ var closing = PARENS[paren],
+ r = this.transientMarker
+ ? this.getRegion()
+ : this.cmd("save_excursion", function(){
+ var begin = this.point();
+ if (!nosexp)
+ this.cmd("forward_sexp");
+ return { begin: begin, end: this.point() };
+ }),
+ txt = this._bufferSubstring(r.begin, r.end),
+ before = this.point() < r.end;
+ if (typeof closing != "string") {
+ txt = txt.replace(closing.backslash, function(s){
+ return "\\" + s;
+ });
+ closing = closing.close;
+ }
+ var m = this.createMarker(r.end);
+ this.cmd("save_excursion", function(){
+ this._replaceText(r.begin, r.end, paren + txt + closing);
+ }, before);
+ this.cmd("forward_char", before ? 1 : -1);
+ this.clearTransientMark();
+ this.cmd("indent_region", r.begin, m.getPosition());
+ m.destroy();
+ }),
+
+ down_list: Ymacs_Interactive(function(){
+ var rc = this._rowcol, p = this.tokenizer.finishParsing();
+ if (p) {
+ var lc = { line: rc.row, col: rc.col };
+ p = getPP(p).grep("closed").mergeSort(compareRowCol).grep_first(function(p){
+ return compareRowCol(p, lc) >= 0;
+ });
+ if (p != null) {
+ this.cmd("goto_char", this._rowColToPosition(p.line, p.col) + 1);
+ } else {
+ ERROR(this);
+ }
+ }
+ }),
+
+ backward_up_list: Ymacs_Interactive(function(){
+ var rc = this._rowcol, p = this.tokenizer.finishParsing();
+ if (p) {
+ var lc = { line: rc.row, col: rc.col };
+ p = getPP(p).grep("closed").mergeSort(compareRowCol).grep_last(function(p){
+ return compareRowCol(p, lc) < 0 && compareRowCol(p.closed, lc) >= 0;
+ });
+ if (p != null) {
+ this.cmd("goto_char", this._rowColToPosition(p.line, p.col));
+ } else {
+ ERROR(this);
+ }
+ }
+ }),
+
+ up_list: Ymacs_Interactive(function(){
+ this.cmd("backward_up_list");
+ this.cmd("forward_sexp");
+ })
+
+ });
+
+ Ymacs_Buffer.newMode("paren_match_mode", function(){
+
+ var keymap = Ymacs_Keymap_ParenMatch();
+ this.pushKeymap(keymap);
+
+ var active = false,
+ clearOvl = function() {
+ if (active)
+ this.deleteOverlay("match-paren");
+ }.clearingTimeout(500, this);
+
+ var events = {
+ beforeInteractiveCommand: function() {
+ clearOvl.doItNow();
+ },
+ afterInteractiveCommand: function() {
+ var p = this.tokenizer.getLastParser(), rc = this._rowcol;
+ if (p) {
+ getPP(p).foreach(function(p){
+ var match = p.closed;
+ if ((p.line == rc.row && p.col == rc.col) ||
+ (match.line == rc.row && match.col == rc.col - 1)) {
+ active = true;
+ this.setOverlay("match-paren", {
+ line1: p.line, line2: match.line,
+ col1: p.col, col2: match.col + 1
+ });
+ clearOvl();
+ }
+ }, this);
+ }
+ }.clearingTimeout(100)
+ };
+ this.addEventListener(events);
+
+ return function() {
+ clearOvl.doItNow();
+ this.popKeymap(keymap);
+ this.removeEventListener(events);
+ };
+
+ });
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-xml.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-xml.js.svn-base
new file mode 100644
index 0000000..0e0ed47
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-mode-xml.js.svn-base
@@ -0,0 +1,474 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-tokenizer.js
+
+Ymacs_Tokenizer.define("xml", function(stream, tok) {
+
+ var $tags = [],
+ $cont = [],
+ $inTag = null,
+ $inComment = null,
+ PARSER = { next: next, copy: copy, indentation: indentation };
+
+ function copy() {
+ var _tags = $tags.slice(0),
+ _cont = $cont.slice(0),
+ _inTag = $inTag,
+ _inComment = $inComment;
+ function resume() {
+ $cont = _cont.slice(0);
+ $tags = _tags.slice(0);
+ $inTag = _inTag;
+ $inComment = _inComment;
+ return PARSER;
+ };
+ return resume;
+ };
+
+ function INDENT_LEVEL() {
+ return stream.buffer.getq("indent_level");
+ };
+
+ function foundToken(c1, c2, type) {
+ tok.onToken(stream.line, c1, c2, type);
+ };
+
+ function isLetter(ch) {
+ return ch.toLowerCase() != ch.toUpperCase();
+ };
+
+ function isNameStart(ch) {
+ return ch && (isLetter(ch) || /^[:_-]$/.test(ch));
+ };
+
+ function isNameChar(ch) {
+ return ch && (isLetter(ch) || /^[0-9_-]$/.test(ch));
+ };
+
+ function readName() {
+ var col = stream.col, ch = stream.get(),
+ name = ch;
+ while (!stream.eol()) {
+ ch = stream.peek();
+ if (!isNameChar(ch))
+ break;
+ name += ch;
+ stream.nextCol();
+ }
+ return ch && { line: stream.line, c1: col, c2: stream.col, id: name };
+ };
+
+ function readString(end) {
+ var ch, esc = false, start = stream.col;
+ while (!stream.eol()) {
+ ch = stream.peek();
+ if (ch === end && !esc) {
+ $cont.pop();
+ foundToken(start, stream.col, "string");
+ foundToken(stream.col, ++stream.col, "string-stopper");
+ return;
+ }
+ esc = !esc && ch === "\\";
+ stream.nextCol();
+ }
+ foundToken(start, stream.col, "string");
+ };
+
+ function readTag() {
+ var ch = stream.peek(), name;
+ if (stream.lookingAt(/^\x2f>/)) {
+ $cont.pop();
+ $inTag = null;
+ foundToken(stream.col, ++stream.col, "xml-closetag-slash");
+ foundToken(stream.col, ++stream.col, "xml-close-bracket");
+ }
+ else if (ch === ">") {
+ $cont.pop();
+ $tags.push($inTag);
+ $inTag = null;
+ foundToken(stream.col, ++stream.col, "xml-close-bracket");
+ }
+ else if (isNameStart(ch) && (name = readName())) {
+ foundToken(name.c1, name.c2, "xml-attribute");
+ }
+ else if (ch === '"' || ch === "'") {
+ foundToken(stream.col, ++stream.col, "string-starter");
+ $cont.push(readString.$C(ch));
+ }
+ else foundToken(stream.col, ++stream.col, null);
+ };
+
+ function readComment(type, end) {
+ var line = stream.lineText(), pos = line.indexOf(end, stream.col);
+ if (pos >= 0) {
+ $cont.pop();
+ foundToken(stream.col, pos, type);
+ $inComment = null;
+ foundToken(pos, pos += end.length, type + "-stopper");
+ stream.col = pos;
+ } else {
+ foundToken(stream.col, line.length, type);
+ stream.col = line.length;
+ }
+ };
+
+ function readCloseBracket() {
+ var m = stream.lookingAt(/^([\s\xA0]*)(>?)/);
+ if (m && m[0]) {
+ if (m[1])
+ foundToken(stream.col, stream.col += m[1].length, null);
+ if (m[2]) {
+ foundToken(stream.col, stream.col += m[2].length, "xml-close-bracket");
+ $cont.pop();
+ }
+ } else {
+ foundToken(stream.col, ++stream.col, "error");
+ }
+ };
+
+ function next() {
+ stream.checkStop();
+ if ($cont.length > 0)
+ return $cont.peek()();
+ var ch = stream.peek(), m;
+ if (stream.lookingAt("<![CDATA[")) {
+ foundToken(stream.col, stream.col += 9, "xml-cdata-starter");
+ $inComment = { line: stream.line, c1: stream.col };
+ $cont.push(readComment.$C("xml-cdata", "]]>"));
+ }
+ else if (stream.lookingAt("<!--")) {
+ foundToken(stream.col, stream.col += 4, "mcomment-starter");
+ $inComment = { line: stream.line, c1: stream.col };
+ $cont.push(readComment.$C("mcomment", "-->"));
+ }
+ else if (stream.lookingAt(/^<\x2f/) && isNameStart(stream.peek(+2))) {
+ foundToken(stream.col, ++stream.col, "xml-open-bracket");
+ foundToken(stream.col, ++stream.col, "xml-closetag-slash");
+ var tag = readName(), prev = $tags.pop();
+ foundToken(tag.c1, tag.c2, ( prev && prev.id == tag.id
+ ? "xml-close-tag"
+ : "error" ));
+ $cont.push(readCloseBracket);
+ }
+ else if (ch === "<" && isNameStart(stream.peek(+1))) {
+ foundToken(stream.col, ++stream.col, "xml-open-bracket");
+ var tag = readName();
+ foundToken(tag.c1, tag.c2, "xml-open-tag");
+ $inTag = tag;
+ $cont.push(readTag);
+ }
+ else if ((m = stream.lookingAt(/^&.*?;/))) {
+ foundToken(stream.col, ++stream.col, "xml-entity-starter");
+ foundToken(stream.col, stream.col += m[0].length - 2, "xml-entity");
+ foundToken(stream.col, ++stream.col, "xml-entity-stopper");
+ }
+ else if (ch === "&") {
+ foundToken(stream.col, ++stream.col, "error");
+ }
+ else {
+ foundToken(stream.col, ++stream.col, null);
+ }
+ };
+
+ function indentation() {
+ var indent, lastTag;
+ if ($inComment) {
+ indent = stream.lineIndentation($inComment.line) + INDENT_LEVEL();
+ }
+ else if ($inTag) {
+ indent = $inTag.c1 + $inTag.id.length + 1;
+ }
+ else if ((lastTag = $tags.peek())) {
+ indent = stream.lineIndentation(lastTag.line) + INDENT_LEVEL();
+ // if current line begins with a closing tag, back one level
+ if (/^\s*<\x2f/.test(stream.lineText()))
+ indent -= INDENT_LEVEL();
+ }
+ return indent;
+ };
+
+ return PARSER;
+
+});
+
+DEFINE_SINGLETON("Ymacs_Keymap_XML", Ymacs_Keymap, function(D, P){
+
+ D.KEYS = {
+ "C-c /" : "xml_close_tag",
+ "C-ENTER" : "xml_zen_expand",
+ "ENTER" : "newline_and_indent"
+ };
+
+});
+
+Ymacs_Buffer.newMode("xml_mode", function(){
+
+ var tok = this.tokenizer;
+ this.setTokenizer(new Ymacs_Tokenizer({ buffer: this, type: "xml" }));
+ var keymap = Ymacs_Keymap_XML();
+ this.pushKeymap(keymap);
+ var changed_vars = this.setq({ indent_level: 2 });
+ return function() {
+ this.setTokenizer(tok);
+ this.popKeymap(keymap);
+ this.setq(changed_vars);
+ };
+
+});
+
+(function(){
+
+ DEFINE_SINGLETON("Ymacs_Keymap_XML_Zen", Ymacs_Keymap, function(D, P){
+ D.KEYS = {
+ "TAB" : "xml_zen_next_poi",
+ "S-TAB" : "xml_zen_prev_poi",
+ "C-g" : "xml_zen_stop"
+ };
+ });
+
+ var MODE_TYPE = 1, MODE_CLASS = 2, MODE_ID = 3, MODE_REPEAT = 4, MODE_ATTR = 5;
+
+ function zen_render(el, html) {
+ var n = el.repeat || 1;
+ for (var i = 1; i <= n; ++i) {
+ if (i > 1)
+ html("\n");
+ html("<", el.type);
+ if (el.id) {
+ html(' id="', el.id.replace(/\$/g, i), '"');
+ }
+ if (el.klass) {
+ html(' class="', el.klass.replace(/\$/g, i), '"');
+ }
+ if (el.attributes) {
+ el.attributes.foreach(function(attr){
+ html(" ", attr, '="|"');
+ });
+ }
+ html(">");
+ if (el.child) {
+ html("\n");
+ zen_render(el.child, html);
+ html("\n");
+ } else {
+ html("|");
+ }
+ html("</", el.type, ">");
+ if (el.next) {
+ html("\n");
+ zen_render(el.next, html);
+ }
+ }
+ };
+
+ function zen_parse(str, i) {
+ var el = { type: "" }, mode = MODE_TYPE;
+ OUTER: while (i < str.length) {
+ var ch = str.charAt(i++);
+ switch (ch) {
+
+ case "#":
+ mode = MODE_ID;
+ el.id = "";
+ break;
+
+ case ".":
+ mode = MODE_CLASS;
+ if (el.klass != null) {
+ el.klass += " ";
+ } else {
+ el.klass = "";
+ }
+ break;
+
+ case ":":
+ mode = MODE_ATTR;
+ if (el.attributes == null)
+ el.attributes = [];
+ el.attributes.push("");
+ break;
+
+ case "*":
+ mode = MODE_REPEAT;
+ el.repeat = "";
+ break;
+
+ case ">":
+ el.child = zen_parse(str, i);
+ i = el.child.i;
+ break OUTER;
+
+ case "(":
+ el.child = zen_parse(str, i);
+ i = el.child.i;
+ break;
+
+ case ")":
+ break OUTER;
+
+ case "+":
+ el.next = zen_parse(str, i);
+ i = el.next.i;
+ break OUTER;
+
+ default:
+ switch (mode) {
+ case MODE_TYPE:
+ el.type += ch;
+ break;
+ case MODE_CLASS:
+ el.klass += ch;
+ break;
+ case MODE_ID:
+ el.id += ch;
+ break;
+ case MODE_REPEAT:
+ el.repeat = parseInt(String(el.repeat) + ch, 10);
+ break;
+ case MODE_ATTR:
+ el.attributes.push(el.attributes.pop() + ch);
+ break;
+ }
+ }
+ }
+
+ el.i = i;
+ return el;
+ };
+
+ function maybe_stop_zen() {
+ var point = this.point(),
+ a = this.getq("xml_zen_markers"),
+ start = a[0],
+ end = a.peek();
+ if (point < start.getPosition() || point > end.getPosition() ||
+ end.getPosition() == a.peek(1).getPosition()) {
+ this.cmd("xml_zen_stop");
+ }
+ };
+
+ Ymacs_Buffer.newCommands({
+
+ xml_close_tag: Ymacs_Interactive(function() {
+ this.cmd("close_last_xml_tag");
+ this.cmd("indent_line");
+ }),
+
+ xml_zen_expand: Ymacs_Interactive(function() {
+ this.cmd("xml_zen_stop");
+ var html = String.buffer(),
+ start = this.cmd("save_excursion", function() {
+ this.cmd("backward_whitespace");
+ while (!this.cmd("looking_back", /[\x20\xa0\s\t\n;&]/))
+ if (!this.cmd("backward_char"))
+ break;
+ return this.point();
+ }),
+ point = this.point();
+
+ try {
+ zen_render(
+ zen_parse(
+ this.cmd("buffer_substring", start, point).trim(), 0
+ ),
+ html
+ );
+ } catch(ex) {
+ throw new Ymacs_Exception("The Zen is not strong today :-/");
+ }
+
+ html = html.get();
+ this.cmd("delete_region", start, point);
+ this.cmd("insert", html);
+ start = this.createMarker(start, false, "xml_zen");
+
+ // locate points of interest
+ var end = this.createMarker(this.point(), true, "xml_zen"), markers = [];
+ this.cmd("goto_char", start.getPosition());
+ while (this.cmd("search_forward", "|", end.getPosition())) {
+ this.cmd("backward_delete_char");
+ markers.push(this.createMarker(this.point(), true, "xml_zen_start"));
+ markers.push(this.createMarker(this.point(), false, "xml_zen_end"));
+ }
+
+ this.cmd("indent_region", start.getPosition(), end.getPosition());
+
+ var count = markers.length;
+ if (count > 0) {
+ // move to first POI
+ this.cmd("goto_char", markers[0]);
+ markers.unshift(start);
+ markers.push(end);
+ this.setq("xml_zen_markers", markers);
+ this.pushKeymap(Ymacs_Keymap_XML_Zen());
+ this.addEventListener("afterInteractiveCommand", maybe_stop_zen);
+ } else {
+ start.destroy();
+ end.destroy();
+ }
+ }),
+
+ xml_zen_stop: Ymacs_Interactive(function(){
+ var tmp = this.getq("xml_zen_markers");
+ if (tmp) {
+ tmp.map("destroy");
+ this.setq("xml_zen_markers", null);
+ }
+ this.popKeymap(Ymacs_Keymap_XML_Zen());
+ this.removeEventListener("afterInteractiveCommand", maybe_stop_zen);
+ }),
+
+ xml_zen_next_poi: Ymacs_Interactive(function(){
+ var markers = this.getq("xml_zen_markers"), pos = this.point();
+ markers.foreach(function(m){
+ if (m.getPosition() > pos) {
+ this.cmd("goto_char", m.getPosition());
+ $BREAK();
+ }
+ }, this);
+ }),
+
+ xml_zen_prev_poi: Ymacs_Interactive(function(){
+ var markers = this.getq("xml_zen_markers"), pos = this.point();
+ markers.r_foreach(function(m){
+ if (m.getPosition() < pos) {
+ this.cmd("goto_char", m.getPosition());
+ $BREAK();
+ }
+ }, this);
+ })
+
+ });
+
+})();
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-regexp.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-regexp.js.svn-base
new file mode 100644
index 0000000..cf793af
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-regexp.js.svn-base
@@ -0,0 +1,96 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs.js
+
+window.Ymacs_Regexp = (function(){
+
+ var SEARCH_BACKWARD = {};
+
+ // var LOOKING_BACK = {};
+
+ function getPatternAndFlags(rx) {
+ if (rx instanceof RegExp)
+ rx = rx.toString();
+ var pos = rx.lastIndexOf("/"), flags = "";
+ flags = rx.substr(pos + 1);
+ rx = rx.substring(1, pos);
+ return { pattern: rx, flags: flags };
+ };
+
+ return {
+
+ // Prepends to the regexp a token that will greedily eat any characters in
+ // front of the pattern. This is useful to get the last occurrence of the
+ // pattern in a string. The returned regexp is cached, so it's not
+ // reconstructed a second time.
+ //
+ // A function using such regexp must be aware that m.index will always be zero,
+ // because it matches from the beginning of the string. To find the index of
+ // the real match, it should use m[0].length (where m is an array returned by
+ // rx.exec()).
+ search_backward: function(rx) {
+ var key = rx.toString();
+ var cached = SEARCH_BACKWARD[key];
+ if (!cached) {
+ rx = getPatternAndFlags(key);
+ rx.flags = rx.flags.replace(/g/g, "") + "g"; // make sure it's global
+ cached = new RegExp("([^]*)(" + rx.pattern + ")", rx.flags);
+ SEARCH_BACKWARD[key] = cached;
+ }
+ cached.lastIndex = 0;
+ return cached;
+ }
+
+ // Returns a regexp that has the "$" appended, so that it would match only at
+ // the end of the string. This should be faster than using search_backward and
+ // checking the lastIndex, since the JS regexp engine can optimize it, knowing
+ // that it should match only at the end of the string. Well, I hope.
+ //
+ // Update: it's not faster, and it's buggy. Don't use this.
+ //
+ // looking_back: function(rx) {
+ // var key = rx.toString();
+ // var cached = LOOKING_BACK[key];
+ // if (!cached) {
+ // rx = getPatternAndFlags(key);
+ // rx.pattern = rx.pattern.replace(/\$*$/, "$");
+ // cached = new RegExp(rx.pattern, rx.flags);
+ // LOOKING_BACK[key] = cached;
+ // }
+ // return cached;
+ // }
+
+ };
+
+})();
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-textprop.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-textprop.js.svn-base
new file mode 100644
index 0000000..0290838
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-textprop.js.svn-base
@@ -0,0 +1,168 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+DEFINE_CLASS("Ymacs_Text_Properties", DlEventProxy, function(D, P){
+
+ D.DEFAULT_EVENTS = [ "onChange" ];
+
+ D.DEFAULT_ARGS = {
+ buffer: [ "buffer", null ]
+ };
+
+ D.CONSTRUCT = P.reset = function() {
+ this.props = [];
+ };
+
+ P.insertLine = function(row) {
+ if (this.props.length < row)
+ this.props[row] = null;
+ else {
+ this.props.splice(row, 0, null);
+ }
+ };
+
+ P.deleteLine = function(row) {
+ this.props.splice(row, 1);
+ };
+
+ P.replaceLine = function(row, text) {
+ var p = this.props[row];
+ if (p && p.length > text.length) {
+ // remove extra-properties
+ p.splice(text.length, p.length);
+ }
+ };
+
+ P.addLineProps = function(row, i, j, prop, val) {
+ var p = this.props, o, changed = false;
+ if (i < j) {
+ p = p[row] || (p[row] = []);
+ while (i < j) {
+ o = p[i] || (p[i] = {});
+ if (o[prop] != val)
+ changed = true;
+ o[prop] = val;
+ ++i;
+ }
+ if (changed)
+ this.callHooks("onChange", row);
+ }
+ return changed;
+ };
+
+ P.removeLineProps = function(row, i, j, prop) {
+ var p = this.props[row], o, changed = false;
+ if (p && i < j) {
+ while (i < j) {
+ o = p[i];
+ if (o && prop in o) {
+ changed = true;
+ delete o[prop];
+ }
+ ++i;
+ }
+ if (changed)
+ this.callHooks("onChange", row);
+ }
+ return changed;
+ };
+
+ // this uses the "css" text property to intercalate <span class="$css"> ... </span> tags in the given text.
+ // "css" properties are added as the tokenizer parses the code and sends onFoundToken events.
+ //
+ // XXX: this function will be called a lot of times; seems complicated for what it does. Figure out if it can be
+ // optimized.
+ //
+ // Update: the mess got bigger once I decided to embed the caret in the text, rather than have it absolutely
+ // positioned (which seems to be the only practical way to position the cursor at the correct location). It is
+ // ESSENTIAL that the start tag of the element that defines the caret ends with "Ymacs-caret'>", so that the
+ // frame widget can find it.
+ P.getLineHTML = function(row, text, caret) {
+ var p = this.props[row];
+ if (caret === null) {
+ if (text == "")
+ return "<br/>";
+ if (!p || p.length == 0) {
+ return text.htmlEscape();
+ }
+ } else {
+ if (text == "")
+ return "<span class='Ymacs-caret'>&nbsp;</span>";
+ if (!p || p.length == 0) {
+ if (caret === text.length)
+ return text.htmlEscape() + "<span class='Ymacs-caret'>&nbsp;</span>";
+ return text.substr(0, caret).htmlEscape() +
+ "<span class='Ymacs-caret'>" +
+ text.charAt(caret).htmlEscape() +
+ "</span>" +
+ text.substr(caret + 1).htmlEscape();
+ }
+ }
+ var i = 0, n = text.length, last = null, o, ret = "", ch;
+ while (i < n) {
+ o = p[i];
+ o = o && o.css;
+ if (i === caret) {
+ o = o ? o + " Ymacs-caret" : "Ymacs-caret";
+ }
+ if (o && o != last) {
+ if (last)
+ ret += "</span>";
+ ret += "<span class='" + o + "'>";
+ }
+ else if (!o && last) {
+ ret += "</span>";
+ }
+ last = o;
+ // XXX: Should have used a hash rather than a
+ // switch statement? I'm not sure but I have
+ // a feeling that switch is faster.
+ ch = text.charAt(i);
+ switch (ch) {
+ case "<" : ret += "&lt;"; break;
+ case ">" : ret += "&gt;"; break;
+ case "&" : ret += "&amp;"; break;
+ default : ret += ch; break;
+ }
+ ++i;
+ }
+ if (last)
+ ret += "</span>";
+ if (i === caret) {
+ // caret is at EOL
+ ret += "<span class='Ymacs-caret'>&nbsp;</span>";
+ }
+ return ret;
+ };
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-tokenizer.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-tokenizer.js.svn-base
new file mode 100644
index 0000000..4eed935
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs-tokenizer.js.svn-base
@@ -0,0 +1,337 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-buffer.js
+
+DEFINE_CLASS("Ymacs_Stream", null, function(D, P){
+
+ D.DEFAULT_ARGS = {
+ buffer : [ "buffer" , null ],
+ line : [ "line" , 0 ],
+ col : [ "col" , 0]
+ };
+
+ P.nextCol = function() {
+ ++this.col;
+ };
+
+ P.prevCol = function() {
+ --this.col;
+ };
+
+ P.nextLine = function() {
+ ++this.line;
+ this.col = 0;
+ };
+
+ P.prevLine = function() {
+ --this.line;
+ this.col = 0;
+ };
+
+ P.peek = function(n) {
+ if (n == null) n = 0;
+ return this.buffer.code[this.line].charAt(this.col + n);
+ };
+
+ P.get = function() {
+ var ch = this.peek();
+ this.nextCol();
+ return ch;
+ };
+
+ P.lineText = function(row) {
+ if (row == null)
+ row = this.line;
+ return this.buffer.code[row];
+ };
+
+ P.lineIndentation = function(row) {
+ return /^\s*/.exec(this.lineText(row))[0].length;
+ };
+
+ P.lookingAt = function(what) {
+
+ var line = this.buffer.code[this.line];
+ if (what instanceof RegExp) {
+ //what = 1;
+ return what.exec(line.substr(this.col + 1));
+ } else {
+ return line.substr(this.col, what.length) == what;
+ }
+ };
+
+ P.textBefore = function(pos) {
+ if (pos == null)
+ pos = this.buffer._rowColToPosition(this.line, this.col);
+ return this.buffer.getCode().substr(0, pos);
+ };
+
+ P.textAfter = function(pos) {
+ if (pos == null)
+ pos = this.buffer._rowColToPosition(this.line, this.col);
+ return this.buffer.getCode().substr(pos);
+ };
+
+ P.substring = function(start, end) {
+ return this.buffer.getCode().substring(start, end);
+ };
+
+ P.substr = function(start, end) {
+ return this.buffer.getCode().substr(start, end);
+ };
+
+ P.eol = function() {
+ return this.col == this.buffer.code[this.line].length;
+ };
+
+ P.eof = function() {
+ var n = this.buffer.code.length, l = this.line;
+ return l >= n || l == n - 1 && this.eol();
+ };
+
+ P.length = function() {
+ return this.buffer.code.length;
+ };
+
+ P.lineLength = function(line) {
+ if (line == null)
+ line = this.line;
+ return this.buffer.code[line].length;
+ };
+
+ P.save = function() {
+ return { buffer: this.buffer, line: this.line, col: this.col };
+ };
+
+ P.restore = function(state) {
+ this.buffer = state.buffer;
+ this.line = state.line;
+ this.col = state.col;
+ };
+
+ P.checkStop = function() {
+ if (this.eof()) throw this.EOF;
+ if (this.eol()) throw this.EOL;
+ };
+
+ P.EOL = new (function(){});
+
+ P.EOF = new (function(){});
+
+});
+
+DEFINE_CLASS("Ymacs_Tokenizer", DlEventProxy, function(D, P){
+
+ var LANGUAGES = {};
+
+ D.define = function(name, func) {
+ LANGUAGES[name.toLowerCase()] = func;
+ };
+
+ D.DEFAULT_EVENTS = [ "onFoundToken" ];
+
+ D.DEFAULT_ARGS = {
+ buffer : [ "buffer", null ],
+ type : [ "type", null ]
+ };
+
+ D.FIXARGS = function(args) {
+ if (typeof args.type == "string")
+ args.type = LANGUAGES[args.type.toLowerCase()];
+ };
+
+ D.CONSTRUCT = function() {
+ var smallest = null;
+ var timer = null;
+ this.quickUpdate = function(offset) {
+ var row = this.buffer._positionToRowCol(offset).row;
+ this.parsers.splice(row - 1, this.parsers.length + 1);
+
+ if (smallest != null) {
+ smallest = Math.min(row, smallest);
+ } else {
+ smallest = row;
+ }
+ clearTimeout(timer);
+ timer = function(){
+ this._do_quickUpdate(smallest);
+ smallest = null;
+ }.delayed(1, this);
+ };
+ this._stopQuickUpdate = function() {
+ clearTimeout(timer);
+ clearTimeout(this.timerUpdate);
+ };
+ this.reset();
+ };
+
+ P.reset = function() {
+ this.stream = new Ymacs_Stream({ buffer: this.buffer });
+ this.theParser = this.type(this.stream, this);
+ this.parsers = [];
+ this.parsers[-1] = this.theParser.copy();
+ this.timerUpdate = null;
+ this.quickUpdate(0);
+ };
+
+ P.getLanguage = function(name) {
+ return LANGUAGES[name](this.stream, this);
+ };
+
+ P.showProgress = function(p) {
+ if (p != null) {
+ p = Math.round(p / this.stream.length() * 100) + "%";
+ }
+ this.buffer.updateProgress("Syntax highlighting", p);
+ };
+
+ P._do_quickUpdate = function(row) {
+ this._stopQuickUpdate();
+ var s = this.stream, p, a = this.parsers, n;
+ s.line = row - 1;
+ while (!(p = a[s.line]))
+ s.prevLine();
+ s.nextLine();
+ p = p();
+ var iteration = 0;
+ var first = true;
+ var doit = function() {
+ this.buffer.preventUpdates();
+ n = first ? 3 : 20;
+ if (++iteration > 10)
+ this.showProgress(this.stream.line);
+ while (true) {
+ try {
+ while (true) p.next();
+ }
+ catch(ex) {
+ if (ex === s.EOL) {
+ a[s.line] = p.copy();
+ s.nextLine();
+ if (--n == 0) {
+ this.buffer.resumeUpdates();
+ this.timerUpdate = setTimeout(doit, first ? 500 : 50);
+ first = false;
+ return;
+ }
+ }
+ else if (ex === s.EOF) {
+ a[s.line] = p.copy();
+ this.buffer.resumeUpdates();
+ if (p.on_EOF)
+ p.on_EOF();
+ break;
+ }
+ else throw ex;
+ }
+ }
+ this.showProgress();
+ }.$(this);
+ doit();
+ };
+
+ P.quickInsertLine = function(row) {
+ this.parsers.splice(row, this.parsers.length + 1);
+ };
+
+ P.quickDeleteLine = function(row) {
+ this.parsers.splice(row, this.parsers.length + 1);
+ };
+
+ P.onToken = function(line, c1, c2, type) {
+ this.callHooks("onFoundToken", line, c1, c2, type);
+ };
+
+ P.getParserForLine = function(row) {
+ this._stopQuickUpdate();
+ var s = this.stream, p, a = this.parsers, n;
+ var currentLine = s.line;
+ s.line = row - 1;
+ while (!(p = a[s.line]))
+ s.prevLine();
+ s.nextLine();
+ p = p();
+ try {
+ this.buffer.preventUpdates();
+ while (true) {
+ if (s.line == row) {
+ return p;
+ }
+ try {
+ while (true) p.next();
+ } catch(ex) {
+ if (ex === s.EOL) {
+ a[s.line] = p.copy();
+ s.nextLine();
+ }
+ else if (ex === s.EOF) {
+ break;
+ }
+ else {
+ throw ex;
+ }
+ }
+ }
+ } finally {
+ this.buffer.resumeUpdates();
+ // if (currentLine < s.length()) {
+ // // resume lazy tokenizer if it was interrupted
+ // this.timerUpdate = this._do_quickUpdate.delayed(50, this, Math.min(row, currentLine));
+ // }
+ if (s.line < s.length())
+ this.timerUpdate = this._do_quickUpdate.delayed(50, this, s.line);
+ }
+ };
+
+ P.reparseAll = function() {
+ this.parsers.splice(0, this.parsers.length);
+ return this.finishParsing();
+ };
+
+ P.finishParsing = function() {
+ this.getParserForLine(this.stream.length());
+ return this.getLastParser();
+ };
+
+ P.getLastParser = function() {
+ return this.parsers.peek();
+ };
+
+ P.getIndentation = function(row, buffer) {
+ var p = this.getParserForLine(row);
+ if (p && p.indentation instanceof Function)
+ return p.indentation(buffer);
+ };
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs.js.svn-base
new file mode 100644
index 0000000..cf58706
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/.svn/text-base/ymacs.js.svn-base
@@ -0,0 +1,559 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+DEFINE_CLASS("Ymacs", DlLayout, function(D, P, DOM){
+
+ D.DEFAULT_EVENTS = [
+ "onBufferSwitch",
+ "onCreateBuffer",
+ "onDeleteBuffer"
+ ];
+
+ D.DEFAULT_ARGS = {
+ buffers : [ "buffers" , null ],
+ frames : [ "frames" , null ],
+
+ // default options
+ cf_lineNumbers: [ "lineNumbers", false ],
+
+ // override in DlWidget
+ _focusable : [ "focusable" , true ]
+ };
+
+ D.FIXARGS = function(args) {
+ if (!args.buffers)
+ args.buffers = [];
+ if (!args.frames)
+ args.frames = [];
+ };
+
+ D.CONSTRUCT = function() {
+ this.buffers.foreach(function(b){
+ b.ymacs = this;
+ }, this);
+
+ /* -----[ variables ]----- */
+ this.killRing = [];
+ this.killMasterOfRings = [];
+ this.progress = {};
+
+ /* -----[ minibuffer ]----- */
+ this.minibuffer = this.createBuffer({ hidden: true, isMinibuffer: true });
+ this.minibuffer.cmd("minibuffer_mode");
+ this.minibuffer_frame = this.createFrame({
+ isMinibuffer : true,
+ buffer : this.minibuffer,
+ hidden : true,
+ highlightCurrentLine : false,
+ className : "Ymacs_Minibuffer"
+ });
+
+ /* -----[ main content ]----- */
+ if (this.buffers.length == 0)
+ this.createBuffer();
+
+ var frame = this.createFrame({ buffer: this.buffers[0] });
+
+ this.packWidget(this.minibuffer_frame, { pos: "bottom" });
+ this.packWidget(frame, { pos: "top", fill: "*" });
+
+ // this.__activeFrameEvents = {
+ // // onPointChange: this._on_activeFramePointChange.$(this)
+ // };
+
+ this.setActiveFrame(frame);
+ frame._redrawCaret();
+ };
+
+ P.pushToKillRing = function(text, prepend) {
+ prepend ? this.killRing.unshift(text)
+ : this.killRing.push(text);
+ };
+
+ P.killRingToMaster = function() {
+ if (this.killRing.length && (this.killMasterOfRings.length == 0 ||
+ this.killMasterOfRings.peek().join("") != this.killRing.join("")))
+ this.killMasterOfRings.push(this.killRing);
+ this.killRing = [];
+ };
+
+ P.killRingText = function() {
+ return this.killRing.join("");
+ };
+
+ P.rotateKillRing = function(push) {
+ if (push) {
+ this.killMasterOfRings.push(this.killRing);
+ this.killRing = this.killMasterOfRings.shift();
+ } else {
+ this.killMasterOfRings.unshift(this.killRing);
+ this.killRing = this.killMasterOfRings.pop();
+ }
+ };
+
+ P.getBuffer = function(buf) {
+ if (!(buf instanceof Ymacs_Buffer)) {
+ buf = this.buffers.grep_first(function(b){
+ return b.name == buf;
+ });
+ }
+ return buf;
+ };
+
+ P.killBuffer = function(buf) {
+ buf = this.getBuffer(buf);
+ this.callHooks("onDeleteBuffer", buf);
+ if (this.buffers.length > 1) {
+ if (this.getActiveBuffer() === buf)
+ this.switchToNextBuffer();
+ } else {
+ // make a brand new buffer
+ this.switchToBuffer(this.createBuffer());
+ }
+ this.buffers.remove(buf);
+ buf.destroy();
+ };
+
+ P.renameBuffer = function(buf, name) {
+ buf = this.getBuffer(buf);
+ buf.name = name;
+ buf.callHooks("onProgressChange");
+ };
+
+ P._do_switchToBuffer = function(buf) {
+ this.getActiveFrame().setBuffer(buf);
+ this.callHooks("onBufferSwitch", buf);
+ };
+
+ P.switchToBuffer = function(maybeName) {
+ var buf = this.getBuffer(maybeName), a = this.buffers;
+ if (!buf) {
+ // create new buffer
+ buf = this.createBuffer({ name: maybeName });
+ }
+ a.remove(buf);
+ a.unshift(buf);
+ this._do_switchToBuffer(buf);
+ return buf;
+ };
+
+ P.switchToNextBuffer = function(n) {
+ var a = this.buffers;
+ if (a.length > 1) {
+ var buf = a.shift();
+ a.push(buf);
+ this._do_switchToBuffer(a[0]);
+ }
+ };
+
+ P.switchToPreviousBuffer = function(n) {
+ var a = this.buffers;
+ if (a.length > 1) {
+ var buf = a.pop();
+ a.unshift(buf);
+ this._do_switchToBuffer(buf);
+ }
+ };
+
+ P.getNextBuffer = function(buf, n) {
+ if (n == null) n = 1;
+ var a = this.buffers;
+ return a[a.rotateIndex(a.find(buf) + n)];
+ };
+
+ P.getPrevBuffer = function(buf, n) {
+ if (n == null) n = 1;
+ var a = this.buffers;
+ return a[a.rotateIndex(a.find(buf) - n)];
+ };
+
+ P.getBufferFrames = function(buf) {
+ buf = this.getBuffer(buf);
+ return this.frames.grep(function(f){
+ return f.buffer === buf;
+ });
+ };
+
+ P.createBuffer = function(args) {
+ if (!args) args = {};
+ Object.merge(args, { ymacs: this });
+ var buf = new Ymacs_Buffer(args);
+ if (!args.hidden)
+ this.buffers.push(buf);
+ //
+ // XXX: although this seems the right way to do it,
+ // instead of doing it in killBuffer, for some
+ // reason we never get this event. Should
+ // investigate.
+ //
+ // buf.addEventListener("onDestroy", function(buf){
+ // console.log("got here, %s, %s", this.getActiveBuffer().name, buf.name);
+ // if (this.getActiveBuffer() === buf)
+ // this.switchToPreviousBuffer();
+ // this.buffers.remove(buf);
+ // }.$(this, buf));
+ //
+
+ this.callHooks("onCreateBuffer", buf);
+
+ return buf;
+ };
+
+ P.createFrame = function(args) {
+ if (!args) args = {};
+ Object.merge(args, { ymacs: this });
+ var frame = new Ymacs_Frame(args);
+ if (!args.hidden)
+ this.frames.unshift(frame);
+ frame.addEventListener("onDestroy", function(frame) {
+ this.frames.remove(frame);
+ }.$(this, frame));
+ return frame;
+ };
+
+ P.keepOnlyFrame = function(frame) {
+ if (this.frames.length > 1) {
+ var p = frame.parent;
+ while (p.parent != this)
+ p = p.parent;
+ this.replaceWidget(p, frame);
+ p.destroy();
+ this.setActiveFrame(frame);
+ this.doLayout();
+ }
+ };
+
+ P.deleteFrame = function(frame) {
+ if (this.frames.length > 1) {
+ var p = frame.parent, other = p.children().grep_first(function(f){
+ return f instanceof DlLayout || f instanceof Ymacs_Frame && f !== frame;
+ });
+ p.parent.replaceWidget(p, other);
+ p.destroy();
+ try {
+ DOM.walk(other.getElement(), function(el){
+ el = DlWidget.getFromElement(el);
+ if (el && el instanceof Ymacs_Frame)
+ throw el;
+ });
+ } catch(ex) {
+ if (!(ex instanceof Ymacs_Frame))
+ throw ex;
+ other = ex;
+ }
+ this.setActiveFrame(other);
+ this.doLayout();
+ }
+ };
+
+ P.focusOtherFrame = function() {
+ this.setActiveFrame(this.frames[0]);
+ };
+
+ P.focus = function() {
+ D.BASE.focus.apply(this, arguments);
+ this.frames.peek().focus();
+ };
+
+ P.setActiveFrame = function(frame, nofocus) {
+ if (!frame.isMinibuffer) {
+ var old = this.getActiveFrame();
+ if (old) {
+ old.delClass("Ymacs_Frame-active");
+ }
+ this.frames.remove(frame);
+ this.frames.push(frame);
+ }
+ if (!nofocus)
+ frame.focus();
+ };
+
+ P.getActiveFrame = function() {
+ return this.frames.peek();
+ };
+
+ P.getActiveBuffer = function() {
+ var frame = this.getActiveFrame();
+ return frame ? frame.buffer : this.buffers.peek();
+ };
+
+ P.setColorTheme = function(themeId) {
+ this.delClass(/Ymacs-Theme-[^\s]*/g);
+ if (!(themeId instanceof Array))
+ themeId = [ themeId ];
+ themeId.foreach(function(themeId){
+ this.addClass("Ymacs-Theme-" + themeId);
+ }, this);
+ };
+
+ P.getFrameInDirection = function(dir, pos, frame) {
+ if (!frame)
+ frame = this.getActiveFrame();
+ var caret = frame.getCaretElement();
+ if (!pos)
+ pos = DOM.getPos(caret);
+ if (!pos.sz)
+ pos.sz = DOM.getOuterSize(caret);
+ var byx = this.frames.mergeSort(function(a, b){ return a.getPos().x - b.getPos().x });
+ var byy = this.frames.mergeSort(function(a, b){ return a.getPos().y - b.getPos().y });
+ return this["_get_frameInDir_" + dir](byx, byy, pos, frame);
+
+ };
+
+ function selectClosestFrameX(byx, pos) {
+
+ if (byx.length > 0) {
+ var x = byx.peek().getPos().x, a = [ byx.pop() ];
+ while (byx.length > 0 && byx.peek().getPos().x == x)
+ a.push(byx.pop());
+ return a.minElement(function(f){
+ return Math.abs(pos.y - f.getPos().y - f.getSize().y/2);
+
+ });
+ }
+ };
+
+ function selectClosestFrameY(byy, pos) {
+ if (byy.length > 0) {
+ var y = byy.peek().getPos().y, a = [ byy.pop() ];
+ while (byy.length > 0 && byy.peek().getPos().y == y)
+ a.push(byy.pop());
+ return a.minElement(function(f){
+ return Math.abs(pos.x - f.getPos().x - f.getSize().x/2);
+
+ });
+
+}
+ };
+
+ P._get_frameInDir_left = function(byx, byy, pos, frame) {
+ byx = byx.grep(function(f){
+ var p = f.getPos(), s = f.getSize();
+ ymacs.getActiveBuffer().cmd("backward_delete_char");
+ return (f !== frame) && (p.x < pos.x) && (p.y - pos.sz.y <= pos.y) && (p.y + s.y > pos.y);
+ });
+ return selectClosestFrameX(byx, pos);
+ };
+
+ P._get_frameInDir_right = function(byx, byy, pos, frame) {
+ byx.reverse();
+ byx = byx.grep(function(f){
+ var p = f.getPos(), s = f.getSize();
+ var temp = "*";
+ ymacs.getActiveBuffer().cmd("insert",temp);
+ return (f !== frame) && (p.x > pos.x) && (p.y - pos.sz.y <= pos.y) && (p.y + s.y > pos.y);
+ });
+ return selectClosestFrameX(byx, pos);
+ };
+
+ P._get_frameInDir_up = function(byx, byy, pos, frame) {
+ byy = byy.grep(function(f){
+ var p = f.getPos(), s = f.getSize();
+ var prefix1,prefix2,pretemp1,pretemp2;
+ var temp1; var p1;
+ var temp2;
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ if (ymacs.getActiveBuffer().cmd("looking_at", /[*]+/g))
+ {
+ temp1 = ymacs.getActiveBuffer().matchData[0];
+ // ymacs.getActiveBuffer().cmd("backward_paragraph");
+ ymacs.getActiveBuffer().cmd("backward_paragraph");
+ ymacs.getActiveBuffer().cmd("forward_char"); p1= ymacs.getActiveBuffer().point();
+ if (ymacs.getActiveBuffer().cmd("looking_at", /[*]+/g))
+ {
+ temp2 = ymacs.getActiveBuffer().matchData[0];
+ if (temp1.length > temp2.length)
+ {
+ alert("Cannot move past superior level or buffer limit");
+ }
+ else {
+ ymacs.getActiveBuffer().cmd("forward_paragraph");
+ ymacs.getActiveBuffer().cmd("forward_char");
+ ymacs.getActiveBuffer().cmd("forward_line");
+ if (ymacs.getActiveBuffer().cmd("looking_at", /[^*]+/g))
+ {
+ ymacs.getActiveBuffer().cmd("backward_line");
+ ymacs.getActiveBuffer().cmd("transpose_para");
+ ymacs.getActiveBuffer()._repositionCaret(p1);
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ }
+ else
+ {
+ ymacs.getActiveBuffer().cmd("backward_line");
+ ymacs.getActiveBuffer().cmd("transpose_para");
+ ymacs.getActiveBuffer()._repositionCaret(p1);
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ }
+
+ }
+ }
+ }
+ else if (ymacs.getActiveBuffer().cmd("looking_at", /([0-9]+)(\.\s+)([a-z]+)+/g))
+ {
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ ymacs.getActiveBuffer().cmd("transpose_text");
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ ymacs.getActiveBuffer().cmd("backward_paragraph");
+ ymacs.getActiveBuffer().cmd("forward_line");
+ }
+
+
+ else
+ {
+ ymacs.getActiveBuffer().cmd("transpose_lines");
+ ymacs.getActiveBuffer().cmd("backward_line");
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ }
+
+ return (f !== frame) && (p.y < pos.y) && (p.x - pos.sz.x <= pos.x) && (p.x + s.x > pos.x);
+ });
+ return selectClosestFrameY(byy, pos);
+ };
+
+ P._get_frameInDir_down = function(byx, byy, pos, frame) {
+ byy.reverse();
+ byy = byy.grep(function(f){
+ var p = f.getPos(), s = f.getSize();
+
+ var p2;
+ var temp1;
+ var temp2;
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ if (ymacs.getActiveBuffer().cmd("looking_at", /[*]+/g))
+ {
+ temp1 = ymacs.getActiveBuffer().matchData[0];
+ // ymacs.getActiveBuffer().cmd("backward_paragraph");
+ ymacs.getActiveBuffer().cmd("forward_paragraph");
+ ymacs.getActiveBuffer().cmd("forward_char");
+ p2= ymacs.getActiveBuffer().point();
+ if (ymacs.getActiveBuffer().cmd("looking_at", /[*]+/g))
+ {
+ temp2 = ymacs.getActiveBuffer().matchData[0];
+ if (temp1.length > temp2.length)
+ {
+ alert("Cannot move past superior level or buffer limit");
+ }
+ else {
+ /* ymacs.getActiveBuffer().cmd("backward_paragraph");
+ ymacs.getActiveBuffer().cmd("forward_char"); */
+ ymacs.getActiveBuffer().cmd("forward_line");
+ if (ymacs.getActiveBuffer().cmd("looking_at", /[^*]+/g))
+ { ymacs.getActiveBuffer().cmd("backward_line");
+ ymacs.getActiveBuffer().cmd("transpose_para");
+ ymacs.getActiveBuffer()._repositionCaret(p2);
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ }
+ else
+ { ymacs.getActiveBuffer().cmd("backward_line");
+ ymacs.getActiveBuffer().cmd("transpose_para");
+ ymacs.getActiveBuffer()._repositionCaret(p2);
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ }
+
+} }}
+ else if (ymacs.getActiveBuffer().cmd("looking_at", /([0-9]+)(\.\s+)([a-z]+)+/g))
+ {
+
+ ymacs.getActiveBuffer().cmd("forward_paragraph");
+ ymacs.getActiveBuffer().cmd("forward_line");
+ // ymacs.getActiveBuffer().cmd("beginning_of_line");
+ ymacs.getActiveBuffer().cmd("transpose_text");
+
+ }
+
+
+ else
+ {
+ ymacs.getActiveBuffer().cmd("forward_line");
+ ymacs.getActiveBuffer().cmd("transpose_lines");
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ }
+
+ return (f !== frame) && (p.y > pos.y) && (p.x - pos.sz.x <= pos.x) && (p.x + s.x > pos.x);
+ });
+ return selectClosestFrameY(byy, pos);
+ };
+
+ /* -----[ local storage ]----- */
+
+ function ensureLocalStorage() {
+ if (!(window.localStorage && window.localStorage.getItem))
+ throw new Ymacs_Exception("Local storage facility not available in this browser");
+ };
+
+ P.ls_get = function() {
+ ensureLocalStorage();
+ return DlJSON.decode(localStorage.getItem(".ymacs") || "{}", true);
+ };
+
+ P.ls_set = function(src) {
+ ensureLocalStorage();
+ localStorage.setItem(".ymacs", DlJSON.encode(src));
+ };
+
+ P.ls_getFileContents = function(name, nothrow) {
+ var info = this.ls_getFileDirectory(name), other = info.other, code;
+ if (other.length == 1) {
+ code = info.dir[other[0]];
+ }
+ if (code == null && !nothrow) {
+ throw new Ymacs_Exception("File not found");
+ }
+ return code;
+ };
+
+ P.ls_getFileDirectory = function(name, create) {
+ var store, dir = store = this.ls_get();
+ name = name.replace(/^[~\x2f]+/, "").split(/\x2f+/);
+ var path = [], other = [];
+ while (name.length > 0) {
+ var part = name.shift();
+ if (dir.hasOwnProperty(part) && (typeof dir[part] != "string")) {
+ dir = dir[part];
+ path.push(part);
+ }
+ else {
+ other.push(part);
+ }
+ };
+ if (create) {
+ var n = create == "file" ? 1 : 0;
+ while (other.length > n) {
+ dir = dir[other.shift()] = {};
+ }
+ this.ls_set(store);
+ }
+ return { store: store, dir: dir, path: path, other: other };
+ };
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/content.html b/gstudio/static/gstudio/js/Gnowmacs/src/js/content.html
new file mode 100644
index 0000000..df1c8a1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/content.html
@@ -0,0 +1,91 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+lang="en" xml:lang="en">
+<head>
+<title>*org content</title>
+<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
+<meta name="generator" content="Org-mode"/>
+<meta name="generated" content="2012-05-08 11:22:31 IST"/>
+<meta name="author" content=""/>
+<style type="text/css">
+ <!--/*--><![CDATA[/*><!--*/
+ html { font-family: Times, serif; font-size: 12pt; }
+ .title { text-align: center; }
+ .todo { color: red; }
+ .done { color: green; }
+ .tag { background-color:lightblue; font-weight:normal }
+ .target { }
+ .timestamp { color: grey }
+ .timestamp-kwd { color: CadetBlue }
+ p.verse { margin-left: 3% }
+ pre {
+ border: 1pt solid #AEBDCC;
+ background-color: #F3F5F7;
+ padding: 5pt;
+ font-family: courier, monospace;
+ font-size: 90%;
+ overflow:auto;
+ }
+ table { border-collapse: collapse; }
+ td, th { vertical-align: top; }
+ dt { font-weight: bold; }
+ div.figure { padding: 0.5em; }
+ div.figure p { text-align: center; }
+ .linenr { font-size:smaller }
+ .code-highlighted {background-color:#ffff00;}
+ .org-info-js_info-navigation { border-style:none; }
+ #org-info-js_console-label { font-size:10px; font-weight:bold;
+ white-space:nowrap; }
+ .org-info-js_search-highlight {background-color:#ffff00; color:#000000;
+ font-weight:bold; }
+ /*]]>*/-->
+</style>
+<script type="text/javascript">
+<!--/*--><![CDATA[/*><!--*/
+ function CodeHighlightOn(elem, id)
+ {
+ var target = document.getElementById(id);
+ if(null != target) {
+ elem.cacheClassElem = elem.className;
+ elem.cacheClassTarget = target.className;
+ target.className = "code-highlighted";
+ elem.className = "code-highlighted";
+ }
+ }
+ function CodeHighlightOff(elem, id)
+ {
+ var target = document.getElementById(id);
+ if(elem.cacheClassElem)
+ elem.className = elem.cacheClassElem;
+ if(elem.cacheClassTarget)
+ target.className = elem.cacheClassTarget;
+ }
+/*]]>*/-->
+</script>
+</head><body>
+<h1 class="title">*org content</h1>
+
+
+<div id="table-of-contents">
+<h2>Table of Contents</h2>
+<div id="text-table-of-contents">
+<ul>
+<li><a href="#sec-1">1 abc </a></li>
+</ul>
+</div>
+</div>
+
+<div id="outline-container-1" class="outline-3">
+<h3 id="sec-1">1 abc </h3>
+<div id="text-1">
+
+</div>
+</div>
+<div id="postamble"><p class="author"> Author:
+<a href="mailto:supriya@dragbox">&lt;supriya@dragbox&gt;</a>
+</p>
+<p class="date"> Date: 2012-05-08 11:22:31 IST</p>
+<p>HTML generated by org-mode 6.21b in emacs 23</p>
+</div></body>
+</html>
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/editorload.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/editorload.js
new file mode 100644
index 0000000..294efa7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/editorload.js
@@ -0,0 +1,28 @@
+ $.noConflict();
+ jQuery(document).ready(function($) {
+ // Code that uses jQuery's $ can follow here.
+ $("#editdata").click(function(){
+ alert("test");
+ $("#sidebar").hide();
+ $("#gnoweditor").gnowmacs();
+
+ // var org_data = encodeURIComponent($("#bufferdata").val());
+ // alert("encode" +org_data);
+
+ // alert("supriya");
+ // var content = $("#bufferdata").val();
+ // var iden = $("#objectid").val();
+ // alert ("data" + content);
+ //alert ("id" +iden);
+ // url = "/nodetypes/ajax/contentorgadd/?id=" + iden + "&contentorg=" +content;
+ // alert(url);
+ // $.get(url,
+ // function(data){
+ // alert("qqq" + data);
+ // })
+
+ });
+
+ });
+ // Code that uses other library's $ can follow here.
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/gnowmacs.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/gnowmacs.js
new file mode 100644
index 0000000..ec21f01
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/gnowmacs.js
@@ -0,0 +1,345 @@
+// This file is part of Ymacs for GNOWSYS: Gnowledge Networking
+// and Organizing System.
+
+// Ymacs is free software; you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation; either version 3 of
+// the License, or (at your option) any later version.
+
+// Ymacs is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU Affero General Public
+// License along with Ymacs (agpl.txt); if not, write to the
+// Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+// Boston, MA 02110-1301 USA59 Temple Place, Suite 330,
+
+// Author: Divya <divyas15@gmail.com>
+
+// @require ymacs-tokenizer.js
+
+var arr4;
+Ymacs_Tokenizer.define("org", function(stream, tok){
+
+ var PARSER = {
+ next : next,
+ copy : copy,
+ indentation : indentation
+ };
+
+ var $parens = [];
+ var $passedParens = [];
+ var $cont = [];
+ var $inString = null;
+ var $inComment = null;
+ var $inHeading = null;
+
+ function copy() {
+ var c = resume.context = {
+ parens : $parens.slice(0),
+ passedParens : $passedParens.slice(0),
+ cont : $cont.slice(0),
+ inString : $inString,
+ inComment : $inComment,
+ inHeading : $inHeading
+ };
+ function resume() {
+ $parens = c.parens.slice(0);
+ $passedParens = c.passedParens.slice(0);
+ $cont = c.cont.slice(0);
+ $inString = c.inString;
+ $inComment = c.inComment;
+ $inHeading = c.inHeading;
+ return PARSER;
+ };
+ return resume;
+ };
+
+ function INDENT_LEVEL() {
+ return tok.buffer.getq("indent_level");
+ };
+
+ var OPEN_PAREN = {
+ "(" : ")",
+ "{" : "}",
+ "[" : "]"
+ };
+
+ var CLOSE_PAREN = {
+ ")" : "(",
+ "}" : "{",
+ "]" : "["
+ };
+
+ function isOpenParen(ch) {
+ return OPEN_PAREN[ch];
+ };
+
+ function isCloseParen(ch) {
+ return CLOSE_PAREN[ch];
+ };
+
+ function foundToken(c1, c2, type) {
+ tok.onToken(stream.line, c1, c2, type);
+ };
+
+ function readComment() {
+ var line = stream.lineText(), pos = line.indexOf("*/", stream.col);
+ var m = /^\s*\*+/.exec(line.substr(stream.col));
+ if (m) {
+ foundToken(stream.col, stream.col += m[0].length, "mcomment-starter");
+ }
+ if (pos >= 0) {
+ $cont.pop();
+ $inComment = null;
+ foundToken(stream.col, pos, "mcomment");
+ foundToken(pos, pos += 2, "mcomment-stopper");
+ stream.col = pos;
+ } else {
+ foundToken(stream.col, line.length, "mcomment");
+ stream.col = line.length;
+ }
+ };
+
+ function readString(end, type) {
+ var ch, esc = false, start = stream.col;
+ while (!stream.eol()) {
+ ch = stream.peek();
+ if (ch === end && !esc) {
+ $cont.pop();
+ $inString = null;
+ foundToken(start, stream.col, type);
+ foundToken(stream.col, ++stream.col, type + "-stopper");
+ return true;
+ }
+ esc = !esc && ch === "\\";
+ stream.nextCol();
+ }
+ foundToken(start, stream.col, type);
+ };
+
+ function readHeading(type) {
+ var start = stream.col;
+ while (!stream.eol()) {
+ stream.nextCol();
+ }
+ foundToken(start, stream.col, type);
+ };
+
+ function next() {
+ stream.checkStop();
+ if ($cont.length > 0)
+ return $cont.peek()();
+ var ch = stream.peek(), tmp;
+ if (stream.lookingAt("/*")) {
+ $inComment = { line: stream.line, c1: stream.col };
+ foundToken(stream.col, stream.col += 2, "mcomment-starter");
+ $cont.push(readComment);
+ }
+ else if (ch === '"' || ch === "'") {
+ $inString = { line: stream.line, c1: stream.col };
+ foundToken(stream.col, ++stream.col, "string-starter");
+ $cont.push(readString.$C(ch, "string"));
+ }
+ //to start with org
+ else if ((tmp = stream.lookingAt(/^(\[\[)(.+?)(\]\[)(.+?)(\]\])/))) {
+ foundToken(stream.col, stream.col += tmp[2].length+4, "org-link-url");
+ var url = tmp[2];
+ foundToken(stream.col, stream.col += (tmp[4].length+1), "org-link-text");
+ window.open(url);
+ foundToken(stream.col, stream.col += 1, "org-link-close");
+
+
+ }
+ else if ((tmp = stream.lookingAt(/^(\*.+?\*)/))) {
+ if (tmp[1].substring(1,2) === " " || tmp[1].substring(tmp[1].length-2, tmp[1].length-1) === " ")
+ {foundToken(stream.col, stream.col += tmp[1].length, null);}
+ else{
+ foundToken(stream.col, stream.col += tmp[1].length, "org-bold");
+ }
+ }
+ else if ((tmp = stream.lookingAt(/^(\/.+?\/)/))) {
+ if (tmp[1].substring(1,2) === " " || tmp[1].substring(tmp[1].length-2, tmp[1].length-1) === " ")
+ {foundToken(stream.col, stream.col += tmp[1].length, null);}
+ else{
+ foundToken(stream.col, stream.col += tmp[1].length, "org-italic");
+ }
+ }
+ else if ((tmp = stream.lookingAt(/^(_.+?_)/))) {
+ if (tmp[1].substring(1,2) === " " || tmp[1].substring(tmp[1].length-2, tmp[1].length-1) === " ")
+ {foundToken(stream.col, stream.col += tmp[1].length, null);}
+ else{
+ foundToken(stream.col, stream.col += tmp[1].length, "org-underline");
+ }
+ }
+ else if ((tmp = stream.lookingAt(/^(\+.+?\+)/))) {
+ if (tmp[1].substring(1,2) === " " || tmp[1].substring(tmp[1].length-2, tmp[1].length-1) === " ")
+ {foundToken(stream.col, stream.col += tmp[1].length, null);}
+ else{
+ foundToken(stream.col, stream.col += tmp[1].length, "org-strike");
+ }
+ }
+
+ else if ((tmp = stream.lookingAt(/^(\*+\s+)/))) {
+ if (stream.col == 0){
+ var headtype = "org-heading" + (tmp[1].length -1);
+ foundToken(stream.col, stream.col += tmp[1].length, headtype);
+ readHeading(headtype);
+ }
+ }
+
+
+ //to end with org
+
+ else {
+ foundToken(stream.col, ++stream.col, null);
+ }
+ };
+
+
+
+
+ function indentation() {
+ // no indentation for continued strings
+ if ($inString)
+ return 0;
+
+ var row = stream.line;
+ var currentLine = stream.lineText();
+ var indent = 0;
+
+ if ($inComment) {
+ var commentStartLine = stream.lineText($inComment.line);
+ indent = $inComment.c1 + 1;
+ if (!/^\s*\*/.test(currentLine)) {
+ // align with the first non-whitespace and non-asterisk character in the comment
+ var re = /[^\s*]/g;
+ re.lastIndex = $inComment.c1 + 1;
+ var m = re.exec(commentStartLine);
+ if (m)
+ indent = m.index;
+ }
+ return indent;
+ }
+
+ var p = $parens.peek();
+ if (p) {
+ // check if the current line closes the paren
+ var re = new RegExp("^\\s*\\" + OPEN_PAREN[p.type]);
+ var thisLineCloses = re.test(currentLine);
+
+ // Check if there is text after the opening paren. If so, indent to that column.
+ var line = stream.lineText(p.line);
+ re = /\S/g;
+ re.lastIndex = p.col + 1;
+ var m = re.exec(line);
+ if (m) {
+ // but if this line closes the paren, better use the column of the open paren
+ indent = thisLineCloses ? p.col : m.index;
+ }
+ else {
+ // Otherwise we should indent to one level more than the indentation of the line
+ // containing the opening paren.
+ indent = stream.lineIndentation(p.line) + INDENT_LEVEL();
+
+ // but if this line closes the paren, then back one level
+ if (thisLineCloses)
+ indent -= INDENT_LEVEL();
+ }
+ }
+
+ return indent;
+ };
+
+ return PARSER;
+
+});
+
+DEFINE_SINGLETON("Ymacs_Keymap_Org", Ymacs_Keymap);
+Ymacs_Keymap_Org().defineKeys({
+ "ENTER" : "newline_and_indent",
+ ": && } && )" : "c_insert_and_indent"
+});
+
+Ymacs_Buffer.newMode("org_mode", function(){
+
+ var tok = this.tokenizer;
+ this.setTokenizer(new Ymacs_Tokenizer({ buffer: this, type: "org" }));
+ var was_paren_match = this.cmd("paren_match_mode", true);
+ this.pushKeymap(Ymacs_Keymap_Org());
+
+ return function() {
+ this.setTokenizer(tok);
+ if (!was_paren_match)
+ this.cmd("paren_match_mode", false);
+ this.popKeymap(Ymacs_Keymap_Org());
+ };
+});
+
+
+Ymacs_Buffer.newCommands({
+
+ org_insert_heading: Ymacs_Interactive(function() {
+ this.cmd("beginning_of_line");
+ this.cmd("insert", "* ");
+ }),
+
+ org_bold: Ymacs_Interactive("r", function(begin, end) {
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ this.cmd("goto_char", begin);
+ this.cmd("insert", "*");
+ this.cmd("goto_char", end+1);
+ this.cmd("insert", "*");
+ }),
+
+ org_italic: Ymacs_Interactive("r", function(begin, end) {
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ this.cmd("goto_char", begin);
+ this.cmd("insert", "/");
+ this.cmd("goto_char", end+1);
+ this.cmd("insert", "/");
+ }),
+
+ org_underline: Ymacs_Interactive("r", function(begin, end) {
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ this.cmd("goto_char", begin);
+ this.cmd("insert", "_");
+ this.cmd("goto_char", end+1);
+ this.cmd("insert", "_");
+ }),
+
+ org_strike: Ymacs_Interactive("r", function(begin, end) {
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ this.cmd("goto_char", begin);
+ this.cmd("insert", "+");
+ this.cmd("goto_char", end+1);
+ this.cmd("insert", "+");
+ }),
+
+ org_file: Ymacs_Interactive("f", function() {
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ this.cmd("goto_char", begin);
+ this.cmd("insert", "+");
+ this.cmd("goto_char", end+1);
+ this.cmd("insert", "+");
+ }),
+ org_link: Ymacs_Interactive("r", function(begin, end) {
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ this.cmd("goto_char", begin);
+ this.cmd("insert", "[[");
+ this.cmd("goto_char", end+2);
+ this.cmd("insert", "]]");
+ }),
+ org_table_create: Ymacs_Interactive("r", function(begin, end) {
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ this.cmd("goto_char", begin);
+ this.cmd("insert", "|");
+ this.cmd("insert"," ");
+ //this.cmd("goto_char", end+1);
+ //this.cmd("insert", "|");
+ })
+
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/jquery-1.7.1.min.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/jquery-1.7.1.min.js
new file mode 100644
index 0000000..198b3ff
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/jquery-1.7.1.min.js
@@ -0,0 +1,4 @@
+/*! jQuery v1.7.1 jquery.com | jquery.org/license */
+(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function cb(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function ca(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bE.test(a)?d(a,e):ca(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else if(!c&&b!=null&&typeof b=="object")for(var e in b)ca(a+"["+e+"]",b[e],c,d);else d(a,b)}function b_(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function b$(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bT,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=b$(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=b$(a,c,d,e,"*",g));return l}function bZ(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bP),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bC(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bx:by,g=0,h=e.length;if(d>0){if(c!=="border")for(;g<h;g++)c||(d-=parseFloat(f.css(a,"padding"+e[g]))||0),c==="margin"?d+=parseFloat(f.css(a,c+e[g]))||0:d-=parseFloat(f.css(a,"border"+e[g]+"Width"))||0;return d+"px"}d=bz(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0;if(c)for(;g<h;g++)d+=parseFloat(f.css(a,"padding"+e[g]))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+e[g]+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+e[g]))||0);return d+"px"}function bp(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bf,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bo(a){var b=c.createElement("div");bh.appendChild(b),b.innerHTML=a.outerHTML;return b.firstChild}function bn(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bm(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bm)}function bm(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bl(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bk(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bj(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c+(i[c][d].namespace?".":"")+i[c][d].namespace,i[c][d],i[c][d].data)}h.data&&(h.data=f.extend({},h.data))}}function bi(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function U(a){var b=V.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function T(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(O.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(H)return H.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c=="object"){for(var j in c)e.access(a,j,c[j],f,g,d);return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready())});return e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h==="array"?m(g):h==="function"&&(!a.unique||!o.has(g))&&c.push(g)},n=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,l=j||0,j=0,k=c.length;for(;c&&l<k;l++)if(c[l].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}i=!1,c&&(a.once?e===!0?o.disable():c=[]:d&&d.length&&(e=d.shift(),o.fireWith(e[0],e[1])))},o={add:function(){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){i&&f<=k&&(k--,f<=l&&l--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){c=[];return this},disable:function(){c=d=e=b;return this},disabled:function(){return!c},lock:function(){d=b,(!e||e===!0)&&o.disable();return this},locked:function(){return!d},fireWith:function(b,c){d&&(i?a.once||d.push([b,c]):(!a.once||!e)&&n(b,c));return this},fire:function(){o.fireWith(this,arguments);return this},fired:function(){return!!e}};return o};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,then:function(a,b,c){i.done(a).fail(b).progress(c);return this},always:function(){i.done.apply(i,arguments).fail.apply(i,arguments);return this},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+"With"]=g[j].fireWith;i.done(function(){e="resolved"},c.disable,d.lock).fail(function(){e="rejected"},b.disable,d.lock),a&&a.call(i,i);return i},when:function(a){function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var b,d,e,g,h,i,j,k,l,m,n,o,p,q=c.createElement("div"),r=c.documentElement;q.setAttribute("className","t"),q.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="<div "+n+"><div></div></div>"+"<table "+n+" cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="<div style='width:4px;'></div>",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[h]:a.removeAttribute?a.removeAttribute(h):a[h]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d,e,g,h=null;if(typeof a=="undefined"){if(this.length){h=f.data(this[0]);if(this[0].nodeType===1&&!f._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var i=0,j=e.length;i<j;i++)g=e[i].name,g.indexOf("data-")===0&&(g=f.camelCase(g.substring(5)),l(this[0],g,h[g]));f._data(this[0],"parsedAttrs",!0)}}return h}if(typeof a=="object")return this.each(function(){f.data(this,a)});d=a.split("."),d[1]=d[1]?"."+d[1]:"";if(c===b){h=this.triggerHandler("getData"+d[1]+"!",[d[0]]),h===b&&this.length&&(h=f.data(this[0],a),h=l(this[0],a,h));return h===b&&d[1]?this.data(d[0]):h}return this.each(function(){var b=f(this),e=[d[0],c];b.triggerHandler("setData"+d[1]+"!",e),f.data(this,a,c),b.triggerHandler("changeData"+d[1]+"!",e)})},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){typeof a!="string"&&(c=a,a="fx");if(c===b)return f.queue(this[0],a);return this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.add(m);m();return d.promise()}});var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textarea)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(o," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNode,"optgroup"))){b=f(e).val();if(j)return b;h.push(b)}}if(j&&!h.length&&i.length)return f(i[g]).val();return h},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h<g;h++)e=d[h],e&&(c=f.propFix[e]||e,f.attr(a,e,""),a.removeAttribute(v?e:c),u.test(e)&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(r.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},value:{get:function(a,b){if(w&&f.nodeName(a,"button"))return w.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,"button"))return w.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e,g,h,i=a.nodeType;if(!!a&&i!==3&&i!==8&&i!==2){h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]);return d!==b?g&&"set"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get"in g&&(e=g.get(a,c))!==null?e:a[c]}},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},v||(y={name:!0,id:!0},w=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);e||(e=c.createAttribute(d),a.setAttributeNode(e));return e.nodeValue=b+""}},f.attrHooks.tabindex.set=w.set,f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})}),f.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""&&(b="false"),w.set(a,b,c)}}),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex);return null}})),f.support.enctype||(f.propFix.enctype="encoding"),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};
+f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k<c.length;k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,quick:G(g),namespace:n.join(".")},p),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null}},global:{},remove:function(a,b,c,d,e){var g=f.hasData(a)&&f._data(a),h,i,j,k,l,m,n,o,p,q,r,s;if(!!g&&!!(o=g.events)){b=f.trim(I(b||"")).split(" ");for(h=0;h<b.length;h++){i=A.exec(b[h])||[],j=k=i[1],l=i[2];if(!j){for(j in o)f.event.remove(a,j+b[h],c,d,!0);continue}p=f.event.special[j]||{},j=(d?p.delegateType:p.bindType)||j,r=o[j]||[],m=r.length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(n=0;n<r.length;n++)s=r[n],(e||k===s.origType)&&(!c||c.guid===s.guid)&&(!l||l.test(s.namespace))&&(!d||d===s.selector||d==="**"&&s.selector)&&(r.splice(n--,1),s.selector&&r.delegateCount--,p.remove&&p.remove.call(a,s));r.length===0&&m!==r.length&&((!p.teardown||p.teardown.call(a,l)===!1)&&f.removeEvent(a,j,g.handle),delete o[j])}f.isEmptyObject(o)&&(q=g.handle,q&&(q.elem=null),f.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;if(E.test(h+f.event.triggered))return;h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length&&!c.isPropagationStopped();l++)m=r[l][0],c.type=r[l][1],q=(f._data(m,"events")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d)===!1&&c.preventDefault();c.type=h,!g&&!c.isDefaultPrevented()&&(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n));return c.result}},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=[],j,k,l,m,n,o,p,q,r,s,t;g[0]=c,c.delegateTarget=this;if(e&&!c.target.disabled&&(!c.button||c.type!=="click")){m=f(this),m.context=this.ownerDocument||this;for(l=c.target;l!=this;l=l.parentNode||this){o={},q=[],m[0]=l;for(j=0;j<e;j++)r=d[j],s=r.selector,o[s]===b&&(o[s]=r.quick?H(l,r.quick):m.is(s)),o[s]&&q.push(r);q.length&&i.push({elem:l,matches:q})}}d.length>e&&i.push({elem:this,matches:d.slice(e)});for(j=0;j<i.length&&!c.isPropagationStopped();j++){p=i[j],c.currentTarget=p.elem;for(k=0;k<p.matches.length&&!c.isImmediatePropagationStopped();k++){r=p.matches[k];if(h||!c.namespace&&!r.namespace||c.namespace_re&&c.namespace_re.test(r.namespace))c.data=r.data,c.handleObj=r,n=((f.event.special[r.origType]||{}).handle||r.handler).apply(p.elem,g),n!==b&&(c.result=n,n===!1&&(c.preventDefault(),c.stopPropagation()))}}return c.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;a.pageX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0);return a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey);return h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?K:J):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=K;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K,this.stopPropagation()},isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c=this,d=a.relatedTarget,e=a.handleObj,g=e.selector,h;if(!d||d!==c&&!f.contains(c,d))a.type=e.origType,h=e.handler.apply(this,arguments),a.type=b;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){this.parentNode&&!a.isTrigger&&f.event.simulate("submit",this.parentNode,a,!0)}),d._submit_attached=!0)})},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,"._submit")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(z.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,f.event.simulate("change",this,a,!0))});return!1}f.event.add(this,"beforeactivate._change",function(a){var b=a.target;z.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&f.event.simulate("change",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){f.event.remove(this,"._change");return z.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a=="object"){typeof c!="string"&&(d=c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=J;else if(!e)return this;g===1&&(h=e,e=function(a){f().off(a);return h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++));return this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on.call(this,a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;f(a.delegateTarget).off(e.namespace?e.type+"."+e.namespace:e.type,e.selector,e.handler);return this}if(typeof a=="object"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c=="function")d=c,c=b;d===!1&&(d=J);return this.each(function(){f.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){f(this.context).on(a,this.selector,b,c);return this},die:function(a,b){f(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d;f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!="string"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)==="\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],"");if(!g)return[];break}}if(a===q)if(g==null)m.error(a);else break;q=a}return s},m.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)};var n=m.getText=function(a){var b,c,d=a.nodeType,e="";if(d){if(d===1||d===9){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(k,"");for(a=a.firstChild;a;a=a.nextSibling)e+=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case"only":case"first":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k==="first")return!0;l=a;case"last":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case"nth":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}j=a.nodeIndex-e;return c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){if(a===b){h=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b){h=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var L=/Until$/,M=/^(?:parents|prevUntil|prevAll)/,N=/,/,O=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,Q=f.expr.match.POS,R={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(T(this,a,!1),"not",a)},filter:function(a){return this.pushStack(T(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?Q.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=Q.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(i?i.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/<tbody/i,_=/<|&#?\w+;/,ba=/<(?:script|style)/i,bb=/<(?:script|object|embed|option|style)/i,bc=new RegExp("<(?:"+V+")","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*<!(?:\[CDATA\[|\-\-)/,bg={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function()
+{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++)this[c].nodeType===1&&(f.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(e){this.empty().append(a)}}else f.isFunction(a)?this.each(function(b){var c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!="string"&&(a=f(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bd.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bi(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,bp)}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0];b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j=="string"&&j.length<512&&i===c&&j.charAt(0)==="<"&&!bb.test(j)&&(f.support.checkClone||!bd.test(j))&&(f.support.html5Clone||!bc.test(j))&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1></$2>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]==="<table>"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i<r;i++)bn(k[i]);else bn(k);k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return!a.type||be.test(a.type)};for(j=0;h[j];j++)if(e&&f.nodeName(h[j],"script")&&(!h[j].type||h[j].type.toLowerCase()==="text/javascript"))e.push(h[j].parentNode?h[j].parentNode.removeChild(h[j]):h[j]);else{if(h[j].nodeType===1){var s=f.grep(h[j].getElementsByTagName("script"),g);h.splice.apply(h,[j+1,0].concat(s))}d.appendChild(h[j])}}return h},cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando;for(var h=0,i;(i=a[h])!=null;h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()])continue;c=i[f.expando];if(c){b=d[c];if(b&&b.events){for(var j in b.events)e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle);b.handle&&(b.handle.elem=null)}g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]}}}});var bq=/alpha\([^)]*\)/i,br=/opacity=([^)]*)/,bs=/([A-Z]|^ms)/g,bt=/^-?\d+(?:px)?$/i,bu=/^-?\d/,bv=/^([\-+])=([\-+.\de]+)/,bw={position:"absolute",visibility:"hidden",display:"block"},bx=["Left","Right"],by=["Top","Bottom"],bz,bA,bB;f.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return f.access(this,a,c,!0,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bz(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bv.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(bz)return bz(a,c)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]}}),f.curCSS=f.css,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){var e;if(c){if(a.offsetWidth!==0)return bC(a,b,d);f.swap(a,bw,function(){e=bC(a,b,d)});return e}},set:function(a,b){if(!bt.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),e===""&&f.css(d,"display")==="none"&&f._data(d,"olddisplay",cv(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cu("hide",3),a,b,c);var d,e,g=0,h=this.length;for(;g<h;g++)d=this[g],d.style&&(e=f.css(d,"display"),e!=="none"&&!f._data(d,"olddisplay")&&f._data(d,"olddisplay",e));for(g=0;g<h;g++)this[g].style&&(this[g].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(cu("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cv(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)j=new f.fx(this,b,i),h=a[i],cn.test(h)?(o=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),o?(f._data(this,"toggle"+i,o==="show"?"hide":"show"),j[o]()):j[h]()):(k=co.exec(h),l=j.cur(),k?(m=parseFloat(k[2]),n=k[3]||(f.cssNumber[i]?"":"px"),n!=="px"&&(f.style(this,i,(m||1)+n),l=(m||1)/j.cur()*l,f.style(this,i,l+n)),k[1]&&(m=(k[1]==="-="?-1:1)*m+l),j.custom(l,m,n)):j.custom(l,h,""));return!0}var e=f.speed(b,c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return e.queue===!1?this.each(g):this.queue(e.queue,g)},stop:function(a,c,d){typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]);return this.each(function(){function h(a,b,c){var e=b[c];f.removeData(a,c,!0),e.stop(d)}var b,c=!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b in g)g[b]&&g[b].stop&&b.indexOf(".run")===b.length-4&&h(this,g,b);else g[b=a+".run"]&&g[b].stop&&h(this,g,b);for(b=e.length;b--;)e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1));(!d||!c)&&f.dequeue(this,a)})}}),f.each({slideDown:cu("show",1),slideUp:cu("hide",1),slideToggle:cu("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,c,d){function h(a){return e.step(a)}var e=this,g=f.fx;this.startTime=cr||cs(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?"":"px"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){e.options.hide&&f._data(e.elem,"fxshow"+e.prop)===b&&f._data(e.elem,"fxshow"+e.prop,e.start)},h()&&f.timers.push(h)&&!cp&&(cp=setInterval(g.tick,g.interval))},show:function(){var a=f._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f._data(this.elem,"fxshow"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b,c,d,e=cr||cs(),g=!0,h=this.elem,i=this.options;if(a||e>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||f.fx.stop()},interval:13,stop:function(){clearInterval(cp),cp=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}}),f.each(["width","height"],function(a,b){f.fx.step[b]=function(a){f.style(a.elem,b,Math.max(0,a.now)+a.unit)}}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var cw=/^t(?:able|d|h)$/i,cx=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?f.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(d){}var e=b.ownerDocument,g=e.documentElement;if(!c||!f.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=e.body,i=cy(e),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||f.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||f.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:f.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);var c,d=b.offsetParent,e=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(f.support.fixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===d&&(l+=b.offsetTop,m+=b.offsetLeft,f.support.doesNotAddBorder&&(!f.support.doesAddBorderForTableAndCells||!cw.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),e=d,d=b.offsetParent),f.support.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;f.support.fixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},f.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); \ No newline at end of file
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/jquery-ui-1.8.18.custom.min.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/jquery-ui-1.8.18.custom.min.js
new file mode 100644
index 0000000..f00a62f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/jquery-ui-1.8.18.custom.min.js
@@ -0,0 +1,356 @@
+/*!
+ * jQuery UI 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI
+ */(function(a,b){function d(b){return!a(b).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}function c(b,c){var e=b.nodeName.toLowerCase();if("area"===e){var f=b.parentNode,g=f.name,h;if(!b.href||!g||f.nodeName.toLowerCase()!=="map")return!1;h=a("img[usemap=#"+g+"]")[0];return!!h&&d(h)}return(/input|select|textarea|button|object/.test(e)?!b.disabled:"a"==e?b.href||c:c)&&d(b)}a.ui=a.ui||{};a.ui.version||(a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}),a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(b,c){return typeof b=="number"?this.each(function(){var d=this;setTimeout(function(){a(d).focus(),c&&c.call(d)},b)}):this._focus.apply(this,arguments)},scrollParent:function(){var b;a.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?b=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.curCSS(this,"position",1))&&/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0):b=this.parents().filter(function(){return/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!b.length?a(document):b},zIndex:function(c){if(c!==b)return this.css("zIndex",c);if(this.length){var d=a(this[0]),e,f;while(d.length&&d[0]!==document){e=d.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){f=parseInt(d.css("zIndex"),10);if(!isNaN(f)&&f!==0)return f}d=d.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),a.each(["Width","Height"],function(c,d){function h(b,c,d,f){a.each(e,function(){c-=parseFloat(a.curCSS(b,"padding"+this,!0))||0,d&&(c-=parseFloat(a.curCSS(b,"border"+this+"Width",!0))||0),f&&(c-=parseFloat(a.curCSS(b,"margin"+this,!0))||0)});return c}var e=d==="Width"?["Left","Right"]:["Top","Bottom"],f=d.toLowerCase(),g={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn["inner"+d]=function(c){if(c===b)return g["inner"+d].call(this);return this.each(function(){a(this).css(f,h(this,c)+"px")})},a.fn["outer"+d]=function(b,c){if(typeof b!="number")return g["outer"+d].call(this,b);return this.each(function(){a(this).css(f,h(this,b,!0,c)+"px")})}}),a.extend(a.expr[":"],{data:function(b,c,d){return!!a.data(b,d[3])},focusable:function(b){return c(b,!isNaN(a.attr(b,"tabindex")))},tabbable:function(b){var d=a.attr(b,"tabindex"),e=isNaN(d);return(e||d>=0)&&c(b,!e)}}),a(function(){var b=document.body,c=b.appendChild(c=document.createElement("div"));c.offsetHeight,a.extend(c.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),a.support.minHeight=c.offsetHeight===100,a.support.selectstart="onselectstart"in c,b.removeChild(c).style.display="none"}),a.extend(a.ui,{plugin:{add:function(b,c,d){var e=a.ui[b].prototype;for(var f in d)e.plugins[f]=e.plugins[f]||[],e.plugins[f].push([c,d[f]])},call:function(a,b,c){var d=a.plugins[b];if(!!d&&!!a.element[0].parentNode)for(var e=0;e<d.length;e++)a.options[d[e][0]]&&d[e][1].apply(a.element,c)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(b,c){if(a(b).css("overflow")==="hidden")return!1;var d=c&&c==="left"?"scrollLeft":"scrollTop",e=!1;if(b[d]>0)return!0;b[d]=1,e=b[d]>0,b[d]=0;return e},isOverAxis:function(a,b,c){return a>b&&a<b+c},isOver:function(b,c,d,e,f,g){return a.ui.isOverAxis(b,d,f)&&a.ui.isOverAxis(c,e,g)}}))})(jQuery);/*!
+ * jQuery UI Widget 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Widget
+ */(function(a,b){if(a.cleanData){var c=a.cleanData;a.cleanData=function(b){for(var d=0,e;(e=b[d])!=null;d++)try{a(e).triggerHandler("remove")}catch(f){}c(b)}}else{var d=a.fn.remove;a.fn.remove=function(b,c){return this.each(function(){c||(!b||a.filter(b,[this]).length)&&a("*",this).add([this]).each(function(){try{a(this).triggerHandler("remove")}catch(b){}});return d.call(a(this),b,c)})}}a.widget=function(b,c,d){var e=b.split(".")[0],f;b=b.split(".")[1],f=e+"-"+b,d||(d=c,c=a.Widget),a.expr[":"][f]=function(c){return!!a.data(c,b)},a[e]=a[e]||{},a[e][b]=function(a,b){arguments.length&&this._createWidget(a,b)};var g=new c;g.options=a.extend(!0,{},g.options),a[e][b].prototype=a.extend(!0,g,{namespace:e,widgetName:b,widgetEventPrefix:a[e][b].prototype.widgetEventPrefix||b,widgetBaseClass:f},d),a.widget.bridge(b,a[e][b])},a.widget.bridge=function(c,d){a.fn[c]=function(e){var f=typeof e=="string",g=Array.prototype.slice.call(arguments,1),h=this;e=!f&&g.length?a.extend.apply(null,[!0,e].concat(g)):e;if(f&&e.charAt(0)==="_")return h;f?this.each(function(){var d=a.data(this,c),f=d&&a.isFunction(d[e])?d[e].apply(d,g):d;if(f!==d&&f!==b){h=f;return!1}}):this.each(function(){var b=a.data(this,c);b?b.option(e||{})._init():a.data(this,c,new d(e,this))});return h}},a.Widget=function(a,b){arguments.length&&this._createWidget(a,b)},a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:!1},_createWidget:function(b,c){a.data(c,this.widgetName,this),this.element=a(c),this.options=a.extend(!0,{},this.options,this._getCreateOptions(),b);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()}),this._create(),this._trigger("create"),this._init()},_getCreateOptions:function(){return a.metadata&&a.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName),this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled "+"ui-state-disabled")},widget:function(){return this.element},option:function(c,d){var e=c;if(arguments.length===0)return a.extend({},this.options);if(typeof c=="string"){if(d===b)return this.options[c];e={},e[c]=d}this._setOptions(e);return this},_setOptions:function(b){var c=this;a.each(b,function(a,b){c._setOption(a,b)});return this},_setOption:function(a,b){this.options[a]=b,a==="disabled"&&this.widget()[b?"addClass":"removeClass"](this.widgetBaseClass+"-disabled"+" "+"ui-state-disabled").attr("aria-disabled",b);return this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_trigger:function(b,c,d){var e,f,g=this.options[b];d=d||{},c=a.Event(c),c.type=(b===this.widgetEventPrefix?b:this.widgetEventPrefix+b).toLowerCase(),c.target=this.element[0],f=c.originalEvent;if(f)for(e in f)e in c||(c[e]=f[e]);this.element.trigger(c,d);return!(a.isFunction(g)&&g.call(this.element[0],c,d)===!1||c.isDefaultPrevented())}}})(jQuery);/*!
+ * jQuery UI Mouse 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Mouse
+ *
+ * Depends:
+ * jquery.ui.widget.js
+ */(function(a,b){var c=!1;a(document).mouseup(function(a){c=!1}),a.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var b=this;this.element.bind("mousedown."+this.widgetName,function(a){return b._mouseDown(a)}).bind("click."+this.widgetName,function(c){if(!0===a.data(c.target,b.widgetName+".preventClickEvent")){a.removeData(c.target,b.widgetName+".preventClickEvent"),c.stopImmediatePropagation();return!1}}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(b){if(!c){this._mouseStarted&&this._mouseUp(b),this._mouseDownEvent=b;var d=this,e=b.which==1,f=typeof this.options.cancel=="string"&&b.target.nodeName?a(b.target).closest(this.options.cancel).length:!1;if(!e||f||!this._mouseCapture(b))return!0;this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){d.mouseDelayMet=!0},this.options.delay));if(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)){this._mouseStarted=this._mouseStart(b)!==!1;if(!this._mouseStarted){b.preventDefault();return!0}}!0===a.data(b.target,this.widgetName+".preventClickEvent")&&a.removeData(b.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(a){return d._mouseMove(a)},this._mouseUpDelegate=function(a){return d._mouseUp(a)},a(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),b.preventDefault(),c=!0;return!0}},_mouseMove:function(b){if(a.browser.msie&&!(document.documentMode>=9)&&!b.button)return this._mouseUp(b);if(this._mouseStarted){this._mouseDrag(b);return b.preventDefault()}this._mouseDistanceMet(b)&&this._mouseDelayMet(b)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,b)!==!1,this._mouseStarted?this._mouseDrag(b):this._mouseUp(b));return!this._mouseStarted},_mouseUp:function(b){a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,b.target==this._mouseDownEvent.target&&a.data(b.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(b));return!1},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(a){return this.mouseDelayMet},_mouseStart:function(a){},_mouseDrag:function(a){},_mouseStop:function(a){},_mouseCapture:function(a){return!0}})})(jQuery);/*
+ * jQuery UI Position 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Position
+ */(function(a,b){a.ui=a.ui||{};var c=/left|center|right/,d=/top|center|bottom/,e="center",f={},g=a.fn.position,h=a.fn.offset;a.fn.position=function(b){if(!b||!b.of)return g.apply(this,arguments);b=a.extend({},b);var h=a(b.of),i=h[0],j=(b.collision||"flip").split(" "),k=b.offset?b.offset.split(" "):[0,0],l,m,n;i.nodeType===9?(l=h.width(),m=h.height(),n={top:0,left:0}):i.setTimeout?(l=h.width(),m=h.height(),n={top:h.scrollTop(),left:h.scrollLeft()}):i.preventDefault?(b.at="left top",l=m=0,n={top:b.of.pageY,left:b.of.pageX}):(l=h.outerWidth(),m=h.outerHeight(),n=h.offset()),a.each(["my","at"],function(){var a=(b[this]||"").split(" ");a.length===1&&(a=c.test(a[0])?a.concat([e]):d.test(a[0])?[e].concat(a):[e,e]),a[0]=c.test(a[0])?a[0]:e,a[1]=d.test(a[1])?a[1]:e,b[this]=a}),j.length===1&&(j[1]=j[0]),k[0]=parseInt(k[0],10)||0,k.length===1&&(k[1]=k[0]),k[1]=parseInt(k[1],10)||0,b.at[0]==="right"?n.left+=l:b.at[0]===e&&(n.left+=l/2),b.at[1]==="bottom"?n.top+=m:b.at[1]===e&&(n.top+=m/2),n.left+=k[0],n.top+=k[1];return this.each(function(){var c=a(this),d=c.outerWidth(),g=c.outerHeight(),h=parseInt(a.curCSS(this,"marginLeft",!0))||0,i=parseInt(a.curCSS(this,"marginTop",!0))||0,o=d+h+(parseInt(a.curCSS(this,"marginRight",!0))||0),p=g+i+(parseInt(a.curCSS(this,"marginBottom",!0))||0),q=a.extend({},n),r;b.my[0]==="right"?q.left-=d:b.my[0]===e&&(q.left-=d/2),b.my[1]==="bottom"?q.top-=g:b.my[1]===e&&(q.top-=g/2),f.fractions||(q.left=Math.round(q.left),q.top=Math.round(q.top)),r={left:q.left-h,top:q.top-i},a.each(["left","top"],function(c,e){a.ui.position[j[c]]&&a.ui.position[j[c]][e](q,{targetWidth:l,targetHeight:m,elemWidth:d,elemHeight:g,collisionPosition:r,collisionWidth:o,collisionHeight:p,offset:k,my:b.my,at:b.at})}),a.fn.bgiframe&&c.bgiframe(),c.offset(a.extend(q,{using:b.using}))})},a.ui.position={fit:{left:function(b,c){var d=a(window),e=c.collisionPosition.left+c.collisionWidth-d.width()-d.scrollLeft();b.left=e>0?b.left-e:Math.max(b.left-c.collisionPosition.left,b.left)},top:function(b,c){var d=a(window),e=c.collisionPosition.top+c.collisionHeight-d.height()-d.scrollTop();b.top=e>0?b.top-e:Math.max(b.top-c.collisionPosition.top,b.top)}},flip:{left:function(b,c){if(c.at[0]!==e){var d=a(window),f=c.collisionPosition.left+c.collisionWidth-d.width()-d.scrollLeft(),g=c.my[0]==="left"?-c.elemWidth:c.my[0]==="right"?c.elemWidth:0,h=c.at[0]==="left"?c.targetWidth:-c.targetWidth,i=-2*c.offset[0];b.left+=c.collisionPosition.left<0?g+h+i:f>0?g+h+i:0}},top:function(b,c){if(c.at[1]!==e){var d=a(window),f=c.collisionPosition.top+c.collisionHeight-d.height()-d.scrollTop(),g=c.my[1]==="top"?-c.elemHeight:c.my[1]==="bottom"?c.elemHeight:0,h=c.at[1]==="top"?c.targetHeight:-c.targetHeight,i=-2*c.offset[1];b.top+=c.collisionPosition.top<0?g+h+i:f>0?g+h+i:0}}}},a.offset.setOffset||(a.offset.setOffset=function(b,c){/static/.test(a.curCSS(b,"position"))&&(b.style.position="relative");var d=a(b),e=d.offset(),f=parseInt(a.curCSS(b,"top",!0),10)||0,g=parseInt(a.curCSS(b,"left",!0),10)||0,h={top:c.top-e.top+f,left:c.left-e.left+g};"using"in c?c.using.call(b,h):d.css(h)},a.fn.offset=function(b){var c=this[0];if(!c||!c.ownerDocument)return null;if(b)return this.each(function(){a.offset.setOffset(this,b)});return h.call(this)}),function(){var b=document.getElementsByTagName("body")[0],c=document.createElement("div"),d,e,g,h,i;d=document.createElement(b?"div":"body"),g={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},b&&a.extend(g,{position:"absolute",left:"-1000px",top:"-1000px"});for(var j in g)d.style[j]=g[j];d.appendChild(c),e=b||document.documentElement,e.insertBefore(d,e.firstChild),c.style.cssText="position: absolute; left: 10.7432222px; top: 10.432325px; height: 30px; width: 201px;",h=a(c).offset(function(a,b){return b}).offset(),d.innerHTML="",e.removeChild(d),i=h.top+h.left+(b?2e3:0),f.fractions=i>21&&i<22}()})(jQuery);/*
+ * jQuery UI Draggable 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Draggables
+ *
+ * Depends:
+ * jquery.ui.core.js
+ * jquery.ui.mouse.js
+ * jquery.ui.widget.js
+ */(function(a,b){a.widget("ui.draggable",a.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1},_create:function(){this.options.helper=="original"&&!/^(?:r|a|f)/.test(this.element.css("position"))&&(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},destroy:function(){if(!!this.element.data("draggable")){this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy();return this}},_mouseCapture:function(b){var c=this.options;if(this.helper||c.disabled||a(b.target).is(".ui-resizable-handle"))return!1;this.handle=this._getHandle(b);if(!this.handle)return!1;c.iframeFix&&a(c.iframeFix===!0?"iframe":c.iframeFix).each(function(){a('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(a(this).offset()).appendTo("body")});return!0},_mouseStart:function(b){var c=this.options;this.helper=this._createHelper(b),this._cacheHelperProportions(),a.ui.ddmanager&&(a.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},a.extend(this.offset,{click:{left:b.pageX-this.offset.left,top:b.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(b),this.originalPageX=b.pageX,this.originalPageY=b.pageY,c.cursorAt&&this._adjustOffsetFromHelper(c.cursorAt),c.containment&&this._setContainment();if(this._trigger("start",b)===!1){this._clear();return!1}this._cacheHelperProportions(),a.ui.ddmanager&&!c.dropBehaviour&&a.ui.ddmanager.prepareOffsets(this,b),this.helper.addClass("ui-draggable-dragging"),this._mouseDrag(b,!0),a.ui.ddmanager&&a.ui.ddmanager.dragStart(this,b);return!0},_mouseDrag:function(b,c){this.position=this._generatePosition(b),this.positionAbs=this._convertPositionTo("absolute");if(!c){var d=this._uiHash();if(this._trigger("drag",b,d)===!1){this._mouseUp({});return!1}this.position=d.position}if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";a.ui.ddmanager&&a.ui.ddmanager.drag(this,b);return!1},_mouseStop:function(b){var c=!1;a.ui.ddmanager&&!this.options.dropBehaviour&&(c=a.ui.ddmanager.drop(this,b)),this.dropped&&(c=this.dropped,this.dropped=!1);if((!this.element[0]||!this.element[0].parentNode)&&this.options.helper=="original")return!1;if(this.options.revert=="invalid"&&!c||this.options.revert=="valid"&&c||this.options.revert===!0||a.isFunction(this.options.revert)&&this.options.revert.call(this.element,c)){var d=this;a(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){d._trigger("stop",b)!==!1&&d._clear()})}else this._trigger("stop",b)!==!1&&this._clear();return!1},_mouseUp:function(b){this.options.iframeFix===!0&&a("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),a.ui.ddmanager&&a.ui.ddmanager.dragStop(this,b);return a.ui.mouse.prototype._mouseUp.call(this,b)},cancel:function(){this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear();return this},_getHandle:function(b){var c=!this.options.handle||!a(this.options.handle,this.element).length?!0:!1;a(this.options.handle,this.element).find("*").andSelf().each(function(){this==b.target&&(c=!0)});return c},_createHelper:function(b){var c=this.options,d=a.isFunction(c.helper)?a(c.helper.apply(this.element[0],[b])):c.helper=="clone"?this.element.clone().removeAttr("id"):this.element;d.parents("body").length||d.appendTo(c.appendTo=="parent"?this.element[0].parentNode:c.appendTo),d[0]!=this.element[0]&&!/(fixed|absolute)/.test(d.css("position"))&&d.css("position","absolute");return d},_adjustOffsetFromHelper:function(b){typeof b=="string"&&(b=b.split(" ")),a.isArray(b)&&(b={left:+b[0],top:+b[1]||0}),"left"in b&&(this.offset.click.left=b.left+this.margins.left),"right"in b&&(this.offset.click.left=this.helperProportions.width-b.right+this.margins.left),"top"in b&&(this.offset.click.top=b.top+this.margins.top),"bottom"in b&&(this.offset.click.top=this.helperProportions.height-b.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var b=this.offsetParent.offset();this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0])&&(b.left+=this.scrollParent.scrollLeft(),b.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&a.browser.msie)b={top:0,left:0};return{top:b.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:b.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var a=this.element.position();return{top:a.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var b=this.options;b.containment=="parent"&&(b.containment=this.helper[0].parentNode);if(b.containment=="document"||b.containment=="window")this.containment=[b.containment=="document"?0:a(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,b.containment=="document"?0:a(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,(b.containment=="document"?0:a(window).scrollLeft())+a(b.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(b.containment=="document"?0:a(window).scrollTop())+(a(b.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(b.containment)&&b.containment.constructor!=Array){var c=a(b.containment),d=c[0];if(!d)return;var e=c.offset(),f=a(d).css("overflow")!="hidden";this.containment=[(parseInt(a(d).css("borderLeftWidth"),10)||0)+(parseInt(a(d).css("paddingLeft"),10)||0),(parseInt(a(d).css("borderTopWidth"),10)||0)+(parseInt(a(d).css("paddingTop"),10)||0),(f?Math.max(d.scrollWidth,d.offsetWidth):d.offsetWidth)-(parseInt(a(d).css("borderLeftWidth"),10)||0)-(parseInt(a(d).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(f?Math.max(d.scrollHeight,d.offsetHeight):d.offsetHeight)-(parseInt(a(d).css("borderTopWidth"),10)||0)-(parseInt(a(d).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=c}else b.containment.constructor==Array&&(this.containment=b.containment)},_convertPositionTo:function(b,c){c||(c=this.position);var d=b=="absolute"?1:-1,e=this.options,f=this.cssPosition=="absolute"&&(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,g=/(html|body)/i.test(f[0].tagName);return{top:c.top+this.offset.relative.top*d+this.offset.parent.top*d-(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():g?0:f.scrollTop())*d),left:c.left+this.offset.relative.left*d+this.offset.parent.left*d-(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():g?0:f.scrollLeft())*d)}},_generatePosition:function(b){var c=this.options,d=this.cssPosition=="absolute"&&(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(d[0].tagName),f=b.pageX,g=b.pageY;if(this.originalPosition){var h;if(this.containment){if(this.relative_container){var i=this.relative_container.offset();h=[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]}else h=this.containment;b.pageX-this.offset.click.left<h[0]&&(f=h[0]+this.offset.click.left),b.pageY-this.offset.click.top<h[1]&&(g=h[1]+this.offset.click.top),b.pageX-this.offset.click.left>h[2]&&(f=h[2]+this.offset.click.left),b.pageY-this.offset.click.top>h[3]&&(g=h[3]+this.offset.click.top)}if(c.grid){var j=c.grid[1]?this.originalPageY+Math.round((g-this.originalPageY)/c.grid[1])*c.grid[1]:this.originalPageY;g=h?j-this.offset.click.top<h[1]||j-this.offset.click.top>h[3]?j-this.offset.click.top<h[1]?j+c.grid[1]:j-c.grid[1]:j:j;var k=c.grid[0]?this.originalPageX+Math.round((f-this.originalPageX)/c.grid[0])*c.grid[0]:this.originalPageX;f=h?k-this.offset.click.left<h[0]||k-this.offset.click.left>h[2]?k-this.offset.click.left<h[0]?k+c.grid[0]:k-c.grid[0]:k:k}}return{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():e?0:d.scrollTop()),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():e?0:d.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(b,c,d){d=d||this._uiHash(),a.ui.plugin.call(this,b,[c,d]),b=="drag"&&(this.positionAbs=this._convertPositionTo("absolute"));return a.Widget.prototype._trigger.call(this,b,c,d)},plugins:{},_uiHash:function(a){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),a.extend(a.ui.draggable,{version:"1.8.18"}),a.ui.plugin.add("draggable","connectToSortable",{start:function(b,c){var d=a(this).data("draggable"),e=d.options,f=a.extend({},c,{item:d.element});d.sortables=[],a(e.connectToSortable).each(function(){var c=a.data(this,"sortable");c&&!c.options.disabled&&(d.sortables.push({instance:c,shouldRevert:c.options.revert}),c.refreshPositions(),c._trigger("activate",b,f))})},stop:function(b,c){var d=a(this).data("draggable"),e=a.extend({},c,{item:d.element});a.each(d.sortables,function(){this.instance.isOver?(this.instance.isOver=0,d.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=!0),this.instance._mouseStop(b),this.instance.options.helper=this.instance.options._helper,d.options.helper=="original"&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",b,e))})},drag:function(b,c){var d=a(this).data("draggable"),e=this,f=function(b){var c=this.offset.click.top,d=this.offset.click.left,e=this.positionAbs.top,f=this.positionAbs.left,g=b.height,h=b.width,i=b.top,j=b.left;return a.ui.isOver(e+c,f+d,i,j,g,h)};a.each(d.sortables,function(f){this.instance.positionAbs=d.positionAbs,this.instance.helperProportions=d.helperProportions,this.instance.offset.click=d.offset.click,this.instance._intersectsWith(this.instance.containerCache)?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=a(e).clone().removeAttr("id").appendTo(this.instance.element).data("sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return c.helper[0]},b.target=this.instance.currentItem[0],this.instance._mouseCapture(b,!0),this.instance._mouseStart(b,!0,!0),this.instance.offset.click.top=d.offset.click.top,this.instance.offset.click.left=d.offset.click.left,this.instance.offset.parent.left-=d.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=d.offset.parent.top-this.instance.offset.parent.top,d._trigger("toSortable",b),d.dropped=this.instance.element,d.currentItem=d.element,this.instance.fromOutside=d),this.instance.currentItem&&this.instance._mouseDrag(b)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",b,this.instance._uiHash(this.instance)),this.instance._mouseStop(b,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),d._trigger("fromSortable",b),d.dropped=!1)})}}),a.ui.plugin.add("draggable","cursor",{start:function(b,c){var d=a("body"),e=a(this).data("draggable").options;d.css("cursor")&&(e._cursor=d.css("cursor")),d.css("cursor",e.cursor)},stop:function(b,c){var d=a(this).data("draggable").options;d._cursor&&a("body").css("cursor",d._cursor)}}),a.ui.plugin.add("draggable","opacity",{start:function(b,c){var d=a(c.helper),e=a(this).data("draggable").options;d.css("opacity")&&(e._opacity=d.css("opacity")),d.css("opacity",e.opacity)},stop:function(b,c){var d=a(this).data("draggable").options;d._opacity&&a(c.helper).css("opacity",d._opacity)}}),a.ui.plugin.add("draggable","scroll",{start:function(b,c){var d=a(this).data("draggable");d.scrollParent[0]!=document&&d.scrollParent[0].tagName!="HTML"&&(d.overflowOffset=d.scrollParent.offset())},drag:function(b,c){var d=a(this).data("draggable"),e=d.options,f=!1;if(d.scrollParent[0]!=document&&d.scrollParent[0].tagName!="HTML"){if(!e.axis||e.axis!="x")d.overflowOffset.top+d.scrollParent[0].offsetHeight-b.pageY<e.scrollSensitivity?d.scrollParent[0].scrollTop=f=d.scrollParent[0].scrollTop+e.scrollSpeed:b.pageY-d.overflowOffset.top<e.scrollSensitivity&&(d.scrollParent[0].scrollTop=f=d.scrollParent[0].scrollTop-e.scrollSpeed);if(!e.axis||e.axis!="y")d.overflowOffset.left+d.scrollParent[0].offsetWidth-b.pageX<e.scrollSensitivity?d.scrollParent[0].scrollLeft=f=d.scrollParent[0].scrollLeft+e.scrollSpeed:b.pageX-d.overflowOffset.left<e.scrollSensitivity&&(d.scrollParent[0].scrollLeft=f=d.scrollParent[0].scrollLeft-e.scrollSpeed)}else{if(!e.axis||e.axis!="x")b.pageY-a(document).scrollTop()<e.scrollSensitivity?f=a(document).scrollTop(a(document).scrollTop()-e.scrollSpeed):a(window).height()-(b.pageY-a(document).scrollTop())<e.scrollSensitivity&&(f=a(document).scrollTop(a(document).scrollTop()+e.scrollSpeed));if(!e.axis||e.axis!="y")b.pageX-a(document).scrollLeft()<e.scrollSensitivity?f=a(document).scrollLeft(a(document).scrollLeft()-e.scrollSpeed):a(window).width()-(b.pageX-a(document).scrollLeft())<e.scrollSensitivity&&(f=a(document).scrollLeft(a(document).scrollLeft()+e.scrollSpeed))}f!==!1&&a.ui.ddmanager&&!e.dropBehaviour&&a.ui.ddmanager.prepareOffsets(d,b)}}),a.ui.plugin.add("draggable","snap",{start:function(b,c){var d=a(this).data("draggable"),e=d.options;d.snapElements=[],a(e.snap.constructor!=String?e.snap.items||":data(draggable)":e.snap).each(function(){var b=a(this),c=b.offset();this!=d.element[0]&&d.snapElements.push({item:this,width:b.outerWidth(),height:b.outerHeight(),top:c.top,left:c.left})})},drag:function(b,c){var d=a(this).data("draggable"),e=d.options,f=e.snapTolerance,g=c.offset.left,h=g+d.helperProportions.width,i=c.offset.top,j=i+d.helperProportions.height;for(var k=d.snapElements.length-1;k>=0;k--){var l=d.snapElements[k].left,m=l+d.snapElements[k].width,n=d.snapElements[k].top,o=n+d.snapElements[k].height;if(!(l-f<g&&g<m+f&&n-f<i&&i<o+f||l-f<g&&g<m+f&&n-f<j&&j<o+f||l-f<h&&h<m+f&&n-f<i&&i<o+f||l-f<h&&h<m+f&&n-f<j&&j<o+f)){d.snapElements[k].snapping&&d.options.snap.release&&d.options.snap.release.call(d.element,b,a.extend(d._uiHash(),{snapItem:d.snapElements[k].item})),d.snapElements[k].snapping=!1;continue}if(e.snapMode!="inner"){var p=Math.abs(n-j)<=f,q=Math.abs(o-i)<=f,r=Math.abs(l-h)<=f,s=Math.abs(m-g)<=f;p&&(c.position.top=d._convertPositionTo("relative",{top:n-d.helperProportions.height,left:0}).top-d.margins.top),q&&(c.position.top=d._convertPositionTo("relative",{top:o,left:0}).top-d.margins.top),r&&(c.position.left=d._convertPositionTo("relative",{top:0,left:l-d.helperProportions.width}).left-d.margins.left),s&&(c.position.left=d._convertPositionTo("relative",{top:0,left:m}).left-d.margins.left)}var t=p||q||r||s;if(e.snapMode!="outer"){var p=Math.abs(n-i)<=f,q=Math.abs(o-j)<=f,r=Math.abs(l-g)<=f,s=Math.abs(m-h)<=f;p&&(c.position.top=d._convertPositionTo("relative",{top:n,left:0}).top-d.margins.top),q&&(c.position.top=d._convertPositionTo("relative",{top:o-d.helperProportions.height,left:0}).top-d.margins.top),r&&(c.position.left=d._convertPositionTo("relative",{top:0,left:l}).left-d.margins.left),s&&(c.position.left=d._convertPositionTo("relative",{top:0,left:m-d.helperProportions.width}).left-d.margins.left)}!d.snapElements[k].snapping&&(p||q||r||s||t)&&d.options.snap.snap&&d.options.snap.snap.call(d.element,b,a.extend(d._uiHash(),{snapItem:d.snapElements[k].item})),d.snapElements[k].snapping=p||q||r||s||t}}}),a.ui.plugin.add("draggable","stack",{start:function(b,c){var d=a(this).data("draggable").options,e=a.makeArray(a(d.stack)).sort(function(b,c){return(parseInt(a(b).css("zIndex"),10)||0)-(parseInt(a(c).css("zIndex"),10)||0)});if(!!e.length){var f=parseInt(e[0].style.zIndex)||0;a(e).each(function(a){this.style.zIndex=f+a}),this[0].style.zIndex=f+e.length}}}),a.ui.plugin.add("draggable","zIndex",{start:function(b,c){var d=a(c.helper),e=a(this).data("draggable").options;d.css("zIndex")&&(e._zIndex=d.css("zIndex")),d.css("zIndex",e.zIndex)},stop:function(b,c){var d=a(this).data("draggable").options;d._zIndex&&a(c.helper).css("zIndex",d._zIndex)}})})(jQuery);/*
+ * jQuery UI Droppable 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Droppables
+ *
+ * Depends:
+ * jquery.ui.core.js
+ * jquery.ui.widget.js
+ * jquery.ui.mouse.js
+ * jquery.ui.draggable.js
+ */(function(a,b){a.widget("ui.droppable",{widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect"},_create:function(){var b=this.options,c=b.accept;this.isover=0,this.isout=1,this.accept=a.isFunction(c)?c:function(a){return a.is(c)},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},a.ui.ddmanager.droppables[b.scope]=a.ui.ddmanager.droppables[b.scope]||[],a.ui.ddmanager.droppables[b.scope].push(this),b.addClasses&&this.element.addClass("ui-droppable")},destroy:function(){var b=a.ui.ddmanager.droppables[this.options.scope];for(var c=0;c<b.length;c++)b[c]==this&&b.splice(c,1);this.element.removeClass("ui-droppable ui-droppable-disabled").removeData("droppable").unbind(".droppable");return this},_setOption:function(b,c){b=="accept"&&(this.accept=a.isFunction(c)?c:function(a){return a.is(c)}),a.Widget.prototype._setOption.apply(this,arguments)},_activate:function(b){var c=a.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),c&&this._trigger("activate",b,this.ui(c))},_deactivate:function(b){var c=a.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),c&&this._trigger("deactivate",b,this.ui(c))},_over:function(b){var c=a.ui.ddmanager.current;!!c&&(c.currentItem||c.element)[0]!=this.element[0]&&this.accept.call(this.element[0],c.currentItem||c.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",b,this.ui(c)))},_out:function(b){var c=a.ui.ddmanager.current;!!c&&(c.currentItem||c.element)[0]!=this.element[0]&&this.accept.call(this.element[0],c.currentItem||c.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",b,this.ui(c)))},_drop:function(b,c){var d=c||a.ui.ddmanager.current;if(!d||(d.currentItem||d.element)[0]==this.element[0])return!1;var e=!1;this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function(){var b=a.data(this,"droppable");if(b.options.greedy&&!b.options.disabled&&b.options.scope==d.options.scope&&b.accept.call(b.element[0],d.currentItem||d.element)&&a.ui.intersect(d,a.extend(b,{offset:b.element.offset()}),b.options.tolerance)){e=!0;return!1}});if(e)return!1;if(this.accept.call(this.element[0],d.currentItem||d.element)){this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",b,this.ui(d));return this.element}return!1},ui:function(a){return{draggable:a.currentItem||a.element,helper:a.helper,position:a.position,offset:a.positionAbs}}}),a.extend(a.ui.droppable,{version:"1.8.18"}),a.ui.intersect=function(b,c,d){if(!c.offset)return!1;var e=(b.positionAbs||b.position.absolute).left,f=e+b.helperProportions.width,g=(b.positionAbs||b.position.absolute).top,h=g+b.helperProportions.height,i=c.offset.left,j=i+c.proportions.width,k=c.offset.top,l=k+c.proportions.height;switch(d){case"fit":return i<=e&&f<=j&&k<=g&&h<=l;case"intersect":return i<e+b.helperProportions.width/2&&f-b.helperProportions.width/2<j&&k<g+b.helperProportions.height/2&&h-b.helperProportions.height/2<l;case"pointer":var m=(b.positionAbs||b.position.absolute).left+(b.clickOffset||b.offset.click).left,n=(b.positionAbs||b.position.absolute).top+(b.clickOffset||b.offset.click).top,o=a.ui.isOver(n,m,k,i,c.proportions.height,c.proportions.width);return o;case"touch":return(g>=k&&g<=l||h>=k&&h<=l||g<k&&h>l)&&(e>=i&&e<=j||f>=i&&f<=j||e<i&&f>j);default:return!1}},a.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(b,c){var d=a.ui.ddmanager.droppables[b.options.scope]||[],e=c?c.type:null,f=(b.currentItem||b.element).find(":data(droppable)").andSelf();droppablesLoop:for(var g=0;g<d.length;g++){if(d[g].options.disabled||b&&!d[g].accept.call(d[g].element[0],b.currentItem||b.element))continue;for(var h=0;h<f.length;h++)if(f[h]==d[g].element[0]){d[g].proportions.height=0;continue droppablesLoop}d[g].visible=d[g].element.css("display")!="none";if(!d[g].visible)continue;e=="mousedown"&&d[g]._activate.call(d[g],c),d[g].offset=d[g].element.offset(),d[g].proportions={width:d[g].element[0].offsetWidth,height:d[g].element[0].offsetHeight}}},drop:function(b,c){var d=!1;a.each(a.ui.ddmanager.droppables[b.options.scope]||[],function(){!this.options||(!this.options.disabled&&this.visible&&a.ui.intersect(b,this,this.options.tolerance)&&(d=this._drop.call(this,c)||d),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],b.currentItem||b.element)&&(this.isout=1,this.isover=0,this._deactivate.call(this,c)))});return d},dragStart:function(b,c){b.element.parents(":not(body,html)").bind("scroll.droppable",function(){b.options.refreshPositions||a.ui.ddmanager.prepareOffsets(b,c)})},drag:function(b,c){b.options.refreshPositions&&a.ui.ddmanager.prepareOffsets(b,c),a.each(a.ui.ddmanager.droppables[b.options.scope]||[],function(){if(!(this.options.disabled||this.greedyChild||!this.visible)){var d=a.ui.intersect(b,this,this.options.tolerance),e=!d&&this.isover==1?"isout":d&&this.isover==0?"isover":null;if(!e)return;var f;if(this.options.greedy){var g=this.element.parents(":data(droppable):eq(0)");g.length&&(f=a.data(g[0],"droppable"),f.greedyChild=e=="isover"?1:0)}f&&e=="isover"&&(f.isover=0,f.isout=1,f._out.call(f,c)),this[e]=1,this[e=="isout"?"isover":"isout"]=0,this[e=="isover"?"_over":"_out"].call(this,c),f&&e=="isout"&&(f.isout=0,f.isover=1,f._over.call(f,c))}})},dragStop:function(b,c){b.element.parents(":not(body,html)").unbind("scroll.droppable"),b.options.refreshPositions||a.ui.ddmanager.prepareOffsets(b,c)}}})(jQuery);/*
+ * jQuery UI Resizable 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Resizables
+ *
+ * Depends:
+ * jquery.ui.core.js
+ * jquery.ui.mouse.js
+ * jquery.ui.widget.js
+ */(function(a,b){a.widget("ui.resizable",a.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1e3},_create:function(){var b=this,c=this.options;this.element.addClass("ui-resizable"),a.extend(this,{_aspectRatio:!!c.aspectRatio,aspectRatio:c.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:c.helper||c.ghost||c.animate?c.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(a('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("resizable",this.element.data("resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=c.handles||(a(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se");if(this.handles.constructor==String){this.handles=="all"&&(this.handles="n,e,s,w,se,sw,ne,nw");var d=this.handles.split(",");this.handles={};for(var e=0;e<d.length;e++){var f=a.trim(d[e]),g="ui-resizable-"+f,h=a('<div class="ui-resizable-handle '+g+'"></div>');/sw|se|ne|nw/.test(f)&&h.css({zIndex:++c.zIndex}),"se"==f&&h.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[f]=".ui-resizable-"+f,this.element.append(h)}}this._renderAxis=function(b){b=b||this.element;for(var c in this.handles){this.handles[c].constructor==String&&(this.handles[c]=a(this.handles[c],this.element).show());if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var d=a(this.handles[c],this.element),e=0;e=/sw|ne|nw|se|n|s/.test(c)?d.outerHeight():d.outerWidth();var f=["padding",/ne|nw|n/.test(c)?"Top":/se|sw|s/.test(c)?"Bottom":/^e$/.test(c)?"Right":"Left"].join("");b.css(f,e),this._proportionallyResize()}if(!a(this.handles[c]).length)continue}},this._renderAxis(this.element),this._handles=a(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){if(!b.resizing){if(this.className)var a=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=a&&a[1]?a[1]:"se"}}),c.autoHide&&(this._handles.hide(),a(this.element).addClass("ui-resizable-autohide").hover(function(){c.disabled||(a(this).removeClass("ui-resizable-autohide"),b._handles.show())},function(){c.disabled||b.resizing||(a(this).addClass("ui-resizable-autohide"),b._handles.hide())})),this._mouseInit()},destroy:function(){this._mouseDestroy();var b=function(b){a(b).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){b(this.element);var c=this.element;c.after(this.originalElement.css({position:c.css("position"),width:c.outerWidth(),height:c.outerHeight(),top:c.css("top"),left:c.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle),b(this.originalElement);return this},_mouseCapture:function(b){var c=!1;for(var d in this.handles)a(this.handles[d])[0]==b.target&&(c=!0);return!this.options.disabled&&c},_mouseStart:function(b){var d=this.options,e=this.element.position(),f=this.element;this.resizing=!0,this.documentScroll={top:a(document).scrollTop(),left:a(document).scrollLeft()},(f.is(".ui-draggable")||/absolute/.test(f.css("position")))&&f.css({position:"absolute",top:e.top,left:e.left}),this._renderProxy();var g=c(this.helper.css("left")),h=c(this.helper.css("top"));d.containment&&(g+=a(d.containment).scrollLeft()||0,h+=a(d.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:g,top:h},this.size=this._helper?{width:f.outerWidth(),height:f.outerHeight()}:{width:f.width(),height:f.height()},this.originalSize=this._helper?{width:f.outerWidth(),height:f.outerHeight()}:{width:f.width(),height:f.height()},this.originalPosition={left:g,top:h},this.sizeDiff={width:f.outerWidth()-f.width(),height:f.outerHeight()-f.height()},this.originalMousePosition={left:b.pageX,top:b.pageY},this.aspectRatio=typeof d.aspectRatio=="number"?d.aspectRatio:this.originalSize.width/this.originalSize.height||1;var i=a(".ui-resizable-"+this.axis).css("cursor");a("body").css("cursor",i=="auto"?this.axis+"-resize":i),f.addClass("ui-resizable-resizing"),this._propagate("start",b);return!0},_mouseDrag:function(b){var c=this.helper,d=this.options,e={},f=this,g=this.originalMousePosition,h=this.axis,i=b.pageX-g.left||0,j=b.pageY-g.top||0,k=this._change[h];if(!k)return!1;var l=k.apply(this,[b,i,j]),m=a.browser.msie&&a.browser.version<7,n=this.sizeDiff;this._updateVirtualBoundaries(b.shiftKey);if(this._aspectRatio||b.shiftKey)l=this._updateRatio(l,b);l=this._respectSize(l,b),this._propagate("resize",b),c.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"}),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),this._updateCache(l),this._trigger("resize",b,this.ui());return!1},_mouseStop:function(b){this.resizing=!1;var c=this.options,d=this;if(this._helper){var e=this._proportionallyResizeElements,f=e.length&&/textarea/i.test(e[0].nodeName),g=f&&a.ui.hasScroll(e[0],"left")?0:d.sizeDiff.height,h=f?0:d.sizeDiff.width,i={width:d.helper.width()-h,height:d.helper.height()-g},j=parseInt(d.element.css("left"),10)+(d.position.left-d.originalPosition.left)||null,k=parseInt(d.element.css("top"),10)+(d.position.top-d.originalPosition.top)||null;c.animate||this.element.css(a.extend(i,{top:k,left:j})),d.helper.height(d.size.height),d.helper.width(d.size.width),this._helper&&!c.animate&&this._proportionallyResize()}a("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",b),this._helper&&this.helper.remove();return!1},_updateVirtualBoundaries:function(a){var b=this.options,c,e,f,g,h;h={minWidth:d(b.minWidth)?b.minWidth:0,maxWidth:d(b.maxWidth)?b.maxWidth:Infinity,minHeight:d(b.minHeight)?b.minHeight:0,maxHeight:d(b.maxHeight)?b.maxHeight:Infinity};if(this._aspectRatio||a)c=h.minHeight*this.aspectRatio,f=h.minWidth/this.aspectRatio,e=h.maxHeight*this.aspectRatio,g=h.maxWidth/this.aspectRatio,c>h.minWidth&&(h.minWidth=c),f>h.minHeight&&(h.minHeight=f),e<h.maxWidth&&(h.maxWidth=e),g<h.maxHeight&&(h.maxHeight=g);this._vBoundaries=h},_updateCache:function(a){var b=this.options;this.offset=this.helper.offset(),d(a.left)&&(this.position.left=a.left),d(a.top)&&(this.position.top=a.top),d(a.height)&&(this.size.height=a.height),d(a.width)&&(this.size.width=a.width)},_updateRatio:function(a,b){var c=this.options,e=this.position,f=this.size,g=this.axis;d(a.height)?a.width=a.height*this.aspectRatio:d(a.width)&&(a.height=a.width/this.aspectRatio),g=="sw"&&(a.left=e.left+(f.width-a.width),a.top=null),g=="nw"&&(a.top=e.top+(f.height-a.height),a.left=e.left+(f.width-a.width));return a},_respectSize:function(a,b){var c=this.helper,e=this._vBoundaries,f=this._aspectRatio||b.shiftKey,g=this.axis,h=d(a.width)&&e.maxWidth&&e.maxWidth<a.width,i=d(a.height)&&e.maxHeight&&e.maxHeight<a.height,j=d(a.width)&&e.minWidth&&e.minWidth>a.width,k=d(a.height)&&e.minHeight&&e.minHeight>a.height;j&&(a.width=e.minWidth),k&&(a.height=e.minHeight),h&&(a.width=e.maxWidth),i&&(a.height=e.maxHeight);var l=this.originalPosition.left+this.originalSize.width,m=this.position.top+this.size.height,n=/sw|nw|w/.test(g),o=/nw|ne|n/.test(g);j&&n&&(a.left=l-e.minWidth),h&&n&&(a.left=l-e.maxWidth),k&&o&&(a.top=m-e.minHeight),i&&o&&(a.top=m-e.maxHeight);var p=!a.width&&!a.height;p&&!a.left&&a.top?a.top=null:p&&!a.top&&a.left&&(a.left=null);return a},_proportionallyResize:function(){var b=this.options;if(!!this._proportionallyResizeElements.length){var c=this.helper||this.element;for(var d=0;d<this._proportionallyResizeElements.length;d++){var e=this._proportionallyResizeElements[d];if(!this.borderDif){var f=[e.css("borderTopWidth"),e.css("borderRightWidth"),e.css("borderBottomWidth"),e.css("borderLeftWidth")],g=[e.css("paddingTop"),e.css("paddingRight"),e.css("paddingBottom"),e.css("paddingLeft")];this.borderDif=a.map(f,function(a,b){var c=parseInt(a,10)||0,d=parseInt(g[b],10)||0;return c+d})}if(a.browser.msie&&(!!a(c).is(":hidden")||!!a(c).parents(":hidden").length))continue;e.css({height:c.height()-this.borderDif[0]-this.borderDif[2]||0,width:c.width()-this.borderDif[1]-this.borderDif[3]||0})}}},_renderProxy:function(){var b=this.element,c=this.options;this.elementOffset=b.offset();if(this._helper){this.helper=this.helper||a('<div style="overflow:hidden;"></div>');var d=a.browser.msie&&a.browser.version<7,e=d?1:0,f=d?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+f,height:this.element.outerHeight()+f,position:"absolute",left:this.elementOffset.left-e+"px",top:this.elementOffset.top-e+"px",zIndex:++c.zIndex}),this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(a,b,c){return{width:this.originalSize.width+b}},w:function(a,b,c){var d=this.options,e=this.originalSize,f=this.originalPosition;return{left:f.left+b,width:e.width-b}},n:function(a,b,c){var d=this.options,e=this.originalSize,f=this.originalPosition;return{top:f.top+c,height:e.height-c}},s:function(a,b,c){return{height:this.originalSize.height+c}},se:function(b,c,d){return a.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[b,c,d]))},sw:function(b,c,d){return a.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[b,c,d]))},ne:function(b,c,d){return a.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[b,c,d]))},nw:function(b,c,d){return a.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[b,c,d]))}},_propagate:function(b,c){a.ui.plugin.call(this,b,[c,this.ui()]),b!="resize"&&this._trigger(b,c,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),a.extend(a.ui.resizable,{version:"1.8.18"}),a.ui.plugin.add("resizable","alsoResize",{start:function(b,c){var d=a(this).data("resizable"),e=d.options,f=function(b){a(b).each(function(){var b=a(this);b.data("resizable-alsoresize",{width:parseInt(b.width(),10),height:parseInt(b.height(),10),left:parseInt(b.css("left"),10),top:parseInt(b.css("top"),10)})})};typeof e.alsoResize=="object"&&!e.alsoResize.parentNode?e.alsoResize.length?(e.alsoResize=e.alsoResize[0],f(e.alsoResize)):a.each(e.alsoResize,function(a){f(a)}):f(e.alsoResize)},resize:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.originalSize,g=d.originalPosition,h={height:d.size.height-f.height||0,width:d.size.width-f.width||0,top:d.position.top-g.top||0,left:d.position.left-g.left||0},i=function(b,d){a(b).each(function(){var b=a(this),e=a(this).data("resizable-alsoresize"),f={},g=d&&d.length?d:b.parents(c.originalElement[0]).length?["width","height"]:["width","height","top","left"];a.each(g,function(a,b){var c=(e[b]||0)+(h[b]||0);c&&c>=0&&(f[b]=c||null)}),b.css(f)})};typeof e.alsoResize=="object"&&!e.alsoResize.nodeType?a.each(e.alsoResize,function(a,b){i(a,b)}):i(e.alsoResize)},stop:function(b,c){a(this).removeData("resizable-alsoresize")}}),a.ui.plugin.add("resizable","animate",{stop:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d._proportionallyResizeElements,g=f.length&&/textarea/i.test(f[0].nodeName),h=g&&a.ui.hasScroll(f[0],"left")?0:d.sizeDiff.height,i=g?0:d.sizeDiff.width,j={width:d.size.width-i,height:d.size.height-h},k=parseInt(d.element.css("left"),10)+(d.position.left-d.originalPosition.left)||null,l=parseInt(d.element.css("top"),10)+(d.position.top-d.originalPosition.top)||null;d.element.animate(a.extend(j,l&&k?{top:l,left:k}:{}),{duration:e.animateDuration,easing:e.animateEasing,step:function(){var c={width:parseInt(d.element.css("width"),10),height:parseInt(d.element.css("height"),10),top:parseInt(d.element.css("top"),10),left:parseInt(d.element.css("left"),10)};f&&f.length&&a(f[0]).css({width:c.width,height:c.height}),d._updateCache(c),d._propagate("resize",b)}})}}),a.ui.plugin.add("resizable","containment",{start:function(b,d){var e=a(this).data("resizable"),f=e.options,g=e.element,h=f.containment,i=h instanceof a?h.get(0):/parent/.test(h)?g.parent().get(0):h;if(!!i){e.containerElement=a(i);if(/document/.test(h)||h==document)e.containerOffset={left:0,top:0},e.containerPosition={left:0,top:0},e.parentData={element:a(document),left:0,top:0,width:a(document).width(),height:a(document).height()||document.body.parentNode.scrollHeight};else{var j=a(i),k=[];a(["Top","Right","Left","Bottom"]).each(function(a,b){k[a]=c(j.css("padding"+b))}),e.containerOffset=j.offset(),e.containerPosition=j.position(),e.containerSize={height:j.innerHeight()-k[3],width:j.innerWidth()-k[1]};var l=e.containerOffset,m=e.containerSize.height,n=e.containerSize.width,o=a.ui.hasScroll(i,"left")?i.scrollWidth:n,p=a.ui.hasScroll(i)?i.scrollHeight:m;e.parentData={element:i,left:l.left,top:l.top,width:o,height:p}}}},resize:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.containerSize,g=d.containerOffset,h=d.size,i=d.position,j=d._aspectRatio||b.shiftKey,k={top:0,left:0},l=d.containerElement;l[0]!=document&&/static/.test(l.css("position"))&&(k=g),i.left<(d._helper?g.left:0)&&(d.size.width=d.size.width+(d._helper?d.position.left-g.left:d.position.left-k.left),j&&(d.size.height=d.size.width/e.aspectRatio),d.position.left=e.helper?g.left:0),i.top<(d._helper?g.top:0)&&(d.size.height=d.size.height+(d._helper?d.position.top-g.top:d.position.top),j&&(d.size.width=d.size.height*e.aspectRatio),d.position.top=d._helper?g.top:0),d.offset.left=d.parentData.left+d.position.left,d.offset.top=d.parentData.top+d.position.top;var m=Math.abs((d._helper?d.offset.left-k.left:d.offset.left-k.left)+d.sizeDiff.width),n=Math.abs((d._helper?d.offset.top-k.top:d.offset.top-g.top)+d.sizeDiff.height),o=d.containerElement.get(0)==d.element.parent().get(0),p=/relative|absolute/.test(d.containerElement.css("position"));o&&p&&(m-=d.parentData.left),m+d.size.width>=d.parentData.width&&(d.size.width=d.parentData.width-m,j&&(d.size.height=d.size.width/d.aspectRatio)),n+d.size.height>=d.parentData.height&&(d.size.height=d.parentData.height-n,j&&(d.size.width=d.size.height*d.aspectRatio))},stop:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.position,g=d.containerOffset,h=d.containerPosition,i=d.containerElement,j=a(d.helper),k=j.offset(),l=j.outerWidth()-d.sizeDiff.width,m=j.outerHeight()-d.sizeDiff.height;d._helper&&!e.animate&&/relative/.test(i.css("position"))&&a(this).css({left:k.left-h.left-g.left,width:l,height:m}),d._helper&&!e.animate&&/static/.test(i.css("position"))&&a(this).css({left:k.left-h.left-g.left,width:l,height:m})}}),a.ui.plugin.add("resizable","ghost",{start:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.size;d.ghost=d.originalElement.clone(),d.ghost.css({opacity:.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof e.ghost=="string"?e.ghost:""),d.ghost.appendTo(d.helper)},resize:function(b,c){var d=a(this).data("resizable"),e=d.options;d.ghost&&d.ghost.css({position:"relative",height:d.size.height,width:d.size.width})},stop:function(b,c){var d=a(this).data("resizable"),e=d.options;d.ghost&&d.helper&&d.helper.get(0).removeChild(d.ghost.get(0))}}),a.ui.plugin.add("resizable","grid",{resize:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.size,g=d.originalSize,h=d.originalPosition,i=d.axis,j=e._aspectRatio||b.shiftKey;e.grid=typeof e.grid=="number"?[e.grid,e.grid]:e.grid;var k=Math.round((f.width-g.width)/(e.grid[0]||1))*(e.grid[0]||1),l=Math.round((f.height-g.height)/(e.grid[1]||1))*(e.grid[1]||1);/^(se|s|e)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l):/^(ne)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l,d.position.top=h.top-l):/^(sw)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l,d.position.left=h.left-k):(d.size.width=g.width+k,d.size.height=g.height+l,d.position.top=h.top-l,d.position.left=h.left-k)}});var c=function(a){return parseInt(a,10)||0},d=function(a){return!isNaN(parseInt(a,10))}})(jQuery);/*
+ * jQuery UI Selectable 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Selectables
+ *
+ * Depends:
+ * jquery.ui.core.js
+ * jquery.ui.mouse.js
+ * jquery.ui.widget.js
+ */(function(a,b){a.widget("ui.selectable",a.ui.mouse,{options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch"},_create:function(){var b=this;this.element.addClass("ui-selectable"),this.dragged=!1;var c;this.refresh=function(){c=a(b.options.filter,b.element[0]),c.addClass("ui-selectee"),c.each(function(){var b=a(this),c=b.offset();a.data(this,"selectable-item",{element:this,$element:b,left:c.left,top:c.top,right:c.left+b.outerWidth(),bottom:c.top+b.outerHeight(),startselected:!1,selected:b.hasClass("ui-selected"),selecting:b.hasClass("ui-selecting"),unselecting:b.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=c.addClass("ui-selectee"),this._mouseInit(),this.helper=a("<div class='ui-selectable-helper'></div>")},destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable"),this._mouseDestroy();return this},_mouseStart:function(b){var c=this;this.opos=[b.pageX,b.pageY];if(!this.options.disabled){var d=this.options;this.selectees=a(d.filter,this.element[0]),this._trigger("start",b),a(d.appendTo).append(this.helper),this.helper.css({left:b.clientX,top:b.clientY,width:0,height:0}),d.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var d=a.data(this,"selectable-item");d.startselected=!0,!b.metaKey&&!b.ctrlKey&&(d.$element.removeClass("ui-selected"),d.selected=!1,d.$element.addClass("ui-unselecting"),d.unselecting=!0,c._trigger("unselecting",b,{unselecting:d.element}))}),a(b.target).parents().andSelf().each(function(){var d=a.data(this,"selectable-item");if(d){var e=!b.metaKey&&!b.ctrlKey||!d.$element.hasClass("ui-selected");d.$element.removeClass(e?"ui-unselecting":"ui-selected").addClass(e?"ui-selecting":"ui-unselecting"),d.unselecting=!e,d.selecting=e,d.selected=e,e?c._trigger("selecting",b,{selecting:d.element}):c._trigger("unselecting",b,{unselecting:d.element});return!1}})}},_mouseDrag:function(b){var c=this;this.dragged=!0;if(!this.options.disabled){var d=this.options,e=this.opos[0],f=this.opos[1],g=b.pageX,h=b.pageY;if(e>g){var i=g;g=e,e=i}if(f>h){var i=h;h=f,f=i}this.helper.css({left:e,top:f,width:g-e,height:h-f}),this.selectees.each(function(){var i=a.data(this,"selectable-item");if(!!i&&i.element!=c.element[0]){var j=!1;d.tolerance=="touch"?j=!(i.left>g||i.right<e||i.top>h||i.bottom<f):d.tolerance=="fit"&&(j=i.left>e&&i.right<g&&i.top>f&&i.bottom<h),j?(i.selected&&(i.$element.removeClass("ui-selected"),i.selected=!1),i.unselecting&&(i.$element.removeClass("ui-unselecting"),i.unselecting=!1),i.selecting||(i.$element.addClass("ui-selecting"),i.selecting=!0,c._trigger("selecting",b,{selecting:i.element}))):(i.selecting&&((b.metaKey||b.ctrlKey)&&i.startselected?(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.$element.addClass("ui-selected"),i.selected=!0):(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.startselected&&(i.$element.addClass("ui-unselecting"),i.unselecting=!0),c._trigger("unselecting",b,{unselecting:i.element}))),i.selected&&!b.metaKey&&!b.ctrlKey&&!i.startselected&&(i.$element.removeClass("ui-selected"),i.selected=!1,i.$element.addClass("ui-unselecting"),i.unselecting=!0,c._trigger("unselecting",b,{unselecting:i.element})))}});return!1}},_mouseStop:function(b){var c=this;this.dragged=!1;var d=this.options;a(".ui-unselecting",this.element[0]).each(function(){var d=a.data(this,"selectable-item");d.$element.removeClass("ui-unselecting"),d.unselecting=!1,d.startselected=!1,c._trigger("unselected",b,{unselected:d.element})}),a(".ui-selecting",this.element[0]).each(function(){var d=a.data(this,"selectable-item");d.$element.removeClass("ui-selecting").addClass("ui-selected"),d.selecting=!1,d.selected=!0,d.startselected=!0,c._trigger("selected",b,{selected:d.element})}),this._trigger("stop",b),this.helper.remove();return!1}}),a.extend(a.ui.selectable,{version:"1.8.18"})})(jQuery);/*
+ * jQuery UI Sortable 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Sortables
+ *
+ * Depends:
+ * jquery.ui.core.js
+ * jquery.ui.mouse.js
+ * jquery.ui.widget.js
+ */(function(a,b){a.widget("ui.sortable",a.ui.mouse,{widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3},_create:function(){var a=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=this.items.length?a.axis==="x"||/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display")):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},destroy:function(){a.Widget.prototype.destroy.call(this),this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var b=this.items.length-1;b>=0;b--)this.items[b].item.removeData(this.widgetName+"-item");return this},_setOption:function(b,c){b==="disabled"?(this.options[b]=c,this.widget()[c?"addClass":"removeClass"]("ui-sortable-disabled")):a.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(b,c){var d=this;if(this.reverting)return!1;if(this.options.disabled||this.options.type=="static")return!1;this._refreshItems(b);var e=null,f=this,g=a(b.target).parents().each(function(){if(a.data(this,d.widgetName+"-item")==f){e=a(this);return!1}});a.data(b.target,d.widgetName+"-item")==f&&(e=a(b.target));if(!e)return!1;if(this.options.handle&&!c){var h=!1;a(this.options.handle,e).find("*").andSelf().each(function(){this==b.target&&(h=!0)});if(!h)return!1}this.currentItem=e,this._removeCurrentsFromItems();return!0},_mouseStart:function(b,c,d){var e=this.options,f=this;this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(b),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),a.extend(this.offset,{click:{left:b.pageX-this.offset.left,top:b.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this._generatePosition(b),this.originalPageX=b.pageX,this.originalPageY=b.pageY,e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!=this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),e.containment&&this._setContainment(),e.cursor&&(a("body").css("cursor")&&(this._storedCursor=a("body").css("cursor")),a("body").css("cursor",e.cursor)),e.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",e.opacity)),e.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",e.zIndex)),this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",b,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions();if(!d)for(var g=this.containers.length-1;g>=0;g--)this.containers[g]._trigger("activate",b,f._uiHash(this));a.ui.ddmanager&&(a.ui.ddmanager.current=this),a.ui.ddmanager&&!e.dropBehaviour&&a.ui.ddmanager.prepareOffsets(this,b),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(b);return!0},_mouseDrag:function(b){this.position=this._generatePosition(b),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs);if(this.options.scroll){var c=this.options,d=!1;this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-b.pageY<c.scrollSensitivity?this.scrollParent[0].scrollTop=d=this.scrollParent[0].scrollTop+c.scrollSpeed:b.pageY-this.overflowOffset.top<c.scrollSensitivity&&(this.scrollParent[0].scrollTop=d=this.scrollParent[0].scrollTop-c.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-b.pageX<c.scrollSensitivity?this.scrollParent[0].scrollLeft=d=this.scrollParent[0].scrollLeft+c.scrollSpeed:b.pageX-this.overflowOffset.left<c.scrollSensitivity&&(this.scrollParent[0].scrollLeft=d=this.scrollParent[0].scrollLeft-c.scrollSpeed)):(b.pageY-a(document).scrollTop()<c.scrollSensitivity?d=a(document).scrollTop(a(document).scrollTop()-c.scrollSpeed):a(window).height()-(b.pageY-a(document).scrollTop())<c.scrollSensitivity&&(d=a(document).scrollTop(a(document).scrollTop()+c.scrollSpeed)),b.pageX-a(document).scrollLeft()<c.scrollSensitivity?d=a(document).scrollLeft(a(document).scrollLeft()-c.scrollSpeed):a(window).width()-(b.pageX-a(document).scrollLeft())<c.scrollSensitivity&&(d=a(document).scrollLeft(a(document).scrollLeft()+c.scrollSpeed))),d!==!1&&a.ui.ddmanager&&!c.dropBehaviour&&a.ui.ddmanager.prepareOffsets(this,b)}this.positionAbs=this._convertPositionTo("absolute");if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";for(var e=this.items.length-1;e>=0;e--){var f=this.items[e],g=f.item[0],h=this._intersectsWithPointer(f);if(!h)continue;if(g!=this.currentItem[0]&&this.placeholder[h==1?"next":"prev"]()[0]!=g&&!a.ui.contains(this.placeholder[0],g)&&(this.options.type=="semi-dynamic"?!a.ui.contains(this.element[0],g):!0)){this.direction=h==1?"down":"up";if(this.options.tolerance=="pointer"||this._intersectsWithSides(f))this._rearrange(b,f);else break;this._trigger("change",b,this._uiHash());break}}this._contactContainers(b),a.ui.ddmanager&&a.ui.ddmanager.drag(this,b),this._trigger("sort",b,this._uiHash()),this.lastPositionAbs=this.positionAbs;return!1},_mouseStop:function(b,c){if(!!b){a.ui.ddmanager&&!this.options.dropBehaviour&&a.ui.ddmanager.drop(this,b);if(this.options.revert){var d=this,e=d.placeholder.offset();d.reverting=!0,a(this.helper).animate({left:e.left-this.offset.parent.left-d.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:e.top-this.offset.parent.top-d.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){d._clear(b)})}else this._clear(b,c);return!1}},cancel:function(){var b=this;if(this.dragging){this._mouseUp({target:null}),this.options.helper=="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var c=this.containers.length-1;c>=0;c--)this.containers[c]._trigger("deactivate",null,b._uiHash(this)),this.containers[c].containerCache.over&&(this.containers[c]._trigger("out",null,b._uiHash(this)),this.containers[c].containerCache.over=0)}this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.options.helper!="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),a.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?a(this.domPosition.prev).after(this.currentItem):a(this.domPosition.parent).prepend(this.currentItem));return this},serialize:function(b){var c=this._getItemsAsjQuery(b&&b.connected),d=[];b=b||{},a(c).each(function(){var c=(a(b.item||this).attr(b.attribute||"id")||"").match(b.expression||/(.+)[-=_](.+)/);c&&d.push((b.key||c[1]+"[]")+"="+(b.key&&b.expression?c[1]:c[2]))}),!d.length&&b.key&&d.push(b.key+"=");return d.join("&")},toArray:function(b){var c=this._getItemsAsjQuery(b&&b.connected),d=[];b=b||{},c.each(function(){d.push(a(b.item||this).attr(b.attribute||"id")||"")});return d},_intersectsWith:function(a){var b=this.positionAbs.left,c=b+this.helperProportions.width,d=this.positionAbs.top,e=d+this.helperProportions.height,f=a.left,g=f+a.width,h=a.top,i=h+a.height,j=this.offset.click.top,k=this.offset.click.left,l=d+j>h&&d+j<i&&b+k>f&&b+k<g;return this.options.tolerance=="pointer"||this.options.forcePointerForContainers||this.options.tolerance!="pointer"&&this.helperProportions[this.floating?"width":"height"]>a[this.floating?"width":"height"]?l:f<b+this.helperProportions.width/2&&c-this.helperProportions.width/2<g&&h<d+this.helperProportions.height/2&&e-this.helperProportions.height/2<i},_intersectsWithPointer:function(b){var c=a.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,b.top,b.height),d=a.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,b.left,b.width),e=c&&d,f=this._getDragVerticalDirection(),g=this._getDragHorizontalDirection();if(!e)return!1;return this.floating?g&&g=="right"||f=="down"?2:1:f&&(f=="down"?2:1)},_intersectsWithSides:function(b){var c=a.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,b.top+b.height/2,b.height),d=a.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,b.left+b.width/2,b.width),e=this._getDragVerticalDirection(),f=this._getDragHorizontalDirection();return this.floating&&f?f=="right"&&d||f=="left"&&!d:e&&(e=="down"&&c||e=="up"&&!c)},_getDragVerticalDirection:function(){var a=this.positionAbs.top-this.lastPositionAbs.top;return a!=0&&(a>0?"down":"up")},_getDragHorizontalDirection:function(){var a=this.positionAbs.left-this.lastPositionAbs.left;return a!=0&&(a>0?"right":"left")},refresh:function(a){this._refreshItems(a),this.refreshPositions();return this},_connectWith:function(){var a=this.options;return a.connectWith.constructor==String?[a.connectWith]:a.connectWith},_getItemsAsjQuery:function(b){var c=this,d=[],e=[],f=this._connectWith();if(f&&b)for(var g=f.length-1;g>=0;g--){var h=a(f[g]);for(var i=h.length-1;i>=0;i--){var j=a.data(h[i],this.widgetName);j&&j!=this&&!j.options.disabled&&e.push([a.isFunction(j.options.items)?j.options.items.call(j.element):a(j.options.items,j.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),j])}}e.push([a.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):a(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(var g=e.length-1;g>=0;g--)e[g][0].each(function(){d.push(this)});return a(d)},_removeCurrentsFromItems:function(){var a=this.currentItem.find(":data("+this.widgetName+"-item)");for(var b=0;b<this.items.length;b++)for(var c=0;c<a.length;c++)a[c]==this.items[b].item[0]&&this.items.splice(b,1)},_refreshItems:function(b){this.items=[],this.containers=[this];var c=this.items,d=this,e=[[a.isFunction(this.options.items)?this.options.items.call(this.element[0],b,{item:this.currentItem}):a(this.options.items,this.element),this]],f=this._connectWith();if(f&&this.ready)for(var g=f.length-1;g>=0;g--){var h=a(f[g]);for(var i=h.length-1;i>=0;i--){var j=a.data(h[i],this.widgetName);j&&j!=this&&!j.options.disabled&&(e.push([a.isFunction(j.options.items)?j.options.items.call(j.element[0],b,{item:this.currentItem}):a(j.options.items,j.element),j]),this.containers.push(j))}}for(var g=e.length-1;g>=0;g--){var k=e[g][1],l=e[g][0];for(var i=0,m=l.length;i<m;i++){var n=a(l[i]);n.data(this.widgetName+"-item",k),c.push({item:n,instance:k,width:0,height:0,left:0,top:0})}}},refreshPositions:function(b){this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());for(var c=this.items.length-1;c>=0;c--){var d=this.items[c];if(d.instance!=this.currentContainer&&this.currentContainer&&d.item[0]!=this.currentItem[0])continue;var e=this.options.toleranceElement?a(this.options.toleranceElement,d.item):d.item;b||(d.width=e.outerWidth(),d.height=e.outerHeight());var f=e.offset();d.left=f.left,d.top=f.top}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(var c=this.containers.length-1;c>=0;c--){var f=this.containers[c].element.offset();this.containers[c].containerCache.left=f.left,this.containers[c].containerCache.top=f.top,this.containers[c].containerCache.width=this.containers[c].element.outerWidth(),this.containers[c].containerCache.height=this.containers[c].element.outerHeight()}return this},_createPlaceholder:function(b){var c=b||this,d=c.options;if(!d.placeholder||d.placeholder.constructor==String){var e=d.placeholder;d.placeholder={element:function(){var b=a(document.createElement(c.currentItem[0].nodeName)).addClass(e||c.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];e||(b.style.visibility="hidden");return b},update:function(a,b){if(!e||!!d.forcePlaceholderSize)b.height()||b.height(c.currentItem.innerHeight()-parseInt(c.currentItem.css("paddingTop")||0,10)-parseInt(c.currentItem.css("paddingBottom")||0,10)),b.width()||b.width(c.currentItem.innerWidth()-parseInt(c.currentItem.css("paddingLeft")||0,10)-parseInt(c.currentItem.css("paddingRight")||0,10))}}}c.placeholder=a(d.placeholder.element.call(c.element,c.currentItem)),c.currentItem.after(c.placeholder),d.placeholder.update(c,c.placeholder)},_contactContainers:function(b){var c=null,d=null;for(var e=this.containers.length-1;e>=0;e--){if(a.ui.contains(this.currentItem[0],this.containers[e].element[0]))continue;if(this._intersectsWith(this.containers[e].containerCache)){if(c&&a.ui.contains(this.containers[e].element[0],c.element[0]))continue;c=this.containers[e],d=e}else this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",b,this._uiHash(this)),this.containers[e].containerCache.over=0)}if(!!c)if(this.containers.length===1)this.containers[d]._trigger("over",b,this._uiHash(this)),this.containers[d].containerCache.over=1;else if(this.currentContainer!=this.containers[d]){var f=1e4,g=null,h=this.positionAbs[this.containers[d].floating?"left":"top"];for(var i=this.items.length-1;i>=0;i--){if(!a.ui.contains(this.containers[d].element[0],this.items[i].item[0]))continue;var j=this.items[i][this.containers[d].floating?"left":"top"];Math.abs(j-h)<f&&(f=Math.abs(j-h),g=this.items[i])}if(!g&&!this.options.dropOnEmpty)return;this.currentContainer=this.containers[d],g?this._rearrange(b,g,null,!0):this._rearrange(b,null,this.containers[d].element,!0),this._trigger("change",b,this._uiHash()),this.containers[d]._trigger("change",b,this._uiHash(this)),this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[d]._trigger("over",b,this._uiHash(this)),this.containers[d].containerCache.over=1}},_createHelper:function(b){var c=this.options,d=a.isFunction(c.helper)?a(c.helper.apply(this.element[0],[b,this.currentItem])):c.helper=="clone"?this.currentItem.clone():this.currentItem;d.parents("body").length||a(c.appendTo!="parent"?c.appendTo:this.currentItem[0].parentNode)[0].appendChild(d[0]),d[0]==this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(d[0].style.width==""||c.forceHelperSize)&&d.width(this.currentItem.width()),(d[0].style.height==""||c.forceHelperSize)&&d.height(this.currentItem.height());return d},_adjustOffsetFromHelper:function(b){typeof b=="string"&&(b=b.split(" ")),a.isArray(b)&&(b={left:+b[0],top:+b[1]||0}),"left"in b&&(this.offset.click.left=b.left+this.margins.left),"right"in b&&(this.offset.click.left=this.helperProportions.width-b.right+this.margins.left),"top"in b&&(this.offset.click.top=b.top+this.margins.top),"bottom"in b&&(this.offset.click.top=this.helperProportions.height-b.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var b=this.offsetParent.offset();this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0])&&(b.left+=this.scrollParent.scrollLeft(),b.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&a.browser.msie)b={top:0,left:0};return{top:b.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:b.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var a=this.currentItem.position();return{top:a.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var b=this.options;b.containment=="parent"&&(b.containment=this.helper[0].parentNode);if(b.containment=="document"||b.containment=="window")this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,a(b.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(a(b.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(b.containment)){var c=a(b.containment)[0],d=a(b.containment).offset(),e=a(c).css("overflow")!="hidden";this.containment=[d.left+(parseInt(a(c).css("borderLeftWidth"),10)||0)+(parseInt(a(c).css("paddingLeft"),10)||0)-this.margins.left,d.top+(parseInt(a(c).css("borderTopWidth"),10)||0)+(parseInt(a(c).css("paddingTop"),10)||0)-this.margins.top,d.left+(e?Math.max(c.scrollWidth,c.offsetWidth):c.offsetWidth)-(parseInt(a(c).css("borderLeftWidth"),10)||0)-(parseInt(a(c).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,d.top+(e?Math.max(c.scrollHeight,c.offsetHeight):c.offsetHeight)-(parseInt(a(c).css("borderTopWidth"),10)||0)-(parseInt(a(c).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(b,c){c||(c=this.position);var d=b=="absolute"?1:-1,e=this.options,f=this.cssPosition=="absolute"&&(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,g=/(html|body)/i.test(f[0].tagName);return{top:c.top+this.offset.relative.top*d+this.offset.parent.top*d-(a.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():g?0:f.scrollTop())*d),left:c.left+this.offset.relative.left*d+this.offset.parent.left*d-(a.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():g?0:f.scrollLeft())*d)}},_generatePosition:function(b){var c=this.options,d=this.cssPosition=="absolute"&&(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(d[0].tagName);this.cssPosition=="relative"&&(this.scrollParent[0]==document||this.scrollParent[0]==this.offsetParent[0])&&(this.offset.relative=this._getRelativeOffset());var f=b.pageX,g=b.pageY;if(this.originalPosition){this.containment&&(b.pageX-this.offset.click.left<this.containment[0]&&(f=this.containment[0]+this.offset.click.left),b.pageY-this.offset.click.top<this.containment[1]&&(g=this.containment[1]+this.offset.click.top),b.pageX-this.offset.click.left>this.containment[2]&&(f=this.containment[2]+this.offset.click.left),b.pageY-this.offset.click.top>this.containment[3]&&(g=this.containment[3]+this.offset.click.top));if(c.grid){var h=this.originalPageY+Math.round((g-this.originalPageY)/c.grid[1])*c.grid[1];g=this.containment?h-this.offset.click.top<this.containment[1]||h-this.offset.click.top>this.containment[3]?h-this.offset.click.top<this.containment[1]?h+c.grid[1]:h-c.grid[1]:h:h;var i=this.originalPageX+Math.round((f-this.originalPageX)/c.grid[0])*c.grid[0];f=this.containment?i-this.offset.click.left<this.containment[0]||i-this.offset.click.left>this.containment[2]?i-this.offset.click.left<this.containment[0]?i+c.grid[0]:i-c.grid[0]:i:i}}return{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(a.browser.safari&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():e?0:d.scrollTop()),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(a.browser.safari&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():e?0:d.scrollLeft())}},_rearrange:function(a,b,c,d){c?c[0].appendChild(this.placeholder[0]):b.item[0].parentNode.insertBefore(this.placeholder[0],this.direction=="down"?b.item[0]:b.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var e=this,f=this.counter;window.setTimeout(function(){f==e.counter&&e.refreshPositions(!d)},0)},_clear:function(b,c){this.reverting=!1;var d=[],e=this;!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var f in this._storedCSS)if(this._storedCSS[f]=="auto"||this._storedCSS[f]=="static")this._storedCSS[f]="";this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();this.fromOutside&&!c&&d.push(function(a){this._trigger("receive",a,this._uiHash(this.fromOutside))}),(this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!=this.currentItem.parent()[0])&&!c&&d.push(function(a){this._trigger("update",a,this._uiHash())});if(!a.ui.contains(this.element[0],this.currentItem[0])){c||d.push(function(a){this._trigger("remove",a,this._uiHash())});for(var f=this.containers.length-1;f>=0;f--)a.ui.contains(this.containers[f].element[0],this.currentItem[0])&&!c&&(d.push(function(a){return function(b){a._trigger("receive",b,this._uiHash(this))}}.call(this,this.containers[f])),d.push(function(a){return function(b){a._trigger("update",b,this._uiHash(this))}}.call(this,this.containers[f])))}for(var f=this.containers.length-1;f>=0;f--)c||d.push(function(a){return function(b){a._trigger("deactivate",b,this._uiHash(this))}}.call(this,this.containers[f])),this.containers[f].containerCache.over&&(d.push(function(a){return function(b){a._trigger("out",b,this._uiHash(this))}}.call(this,this.containers[f])),this.containers[f].containerCache.over=0);this._storedCursor&&a("body").css("cursor",this._storedCursor),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex),this.dragging=!1;if(this.cancelHelperRemoval){if(!c){this._trigger("beforeStop",b,this._uiHash());for(var f=0;f<d.length;f++)d[f].call(this,b);this._trigger("stop",b,this._uiHash())}return!1}c||this._trigger("beforeStop",b,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!=this.currentItem[0]&&this.helper.remove(),this.helper=null;if(!c){for(var f=0;f<d.length;f++)d[f].call(this,b);this._trigger("stop",b,this._uiHash())}this.fromOutside=!1;return!0},_trigger:function(){a.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(b){var c=b||this;return{helper:c.helper,placeholder:c.placeholder||a([]),position:c.position,originalPosition:c.originalPosition,offset:c.positionAbs,item:c.currentItem,sender:b?b.element:null}}}),a.extend(a.ui.sortable,{version:"1.8.18"})})(jQuery);/*
+ * jQuery UI Accordion 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Accordion
+ *
+ * Depends:
+ * jquery.ui.core.js
+ * jquery.ui.widget.js
+ */(function(a,b){a.widget("ui.accordion",{options:{active:0,animated:"slide",autoHeight:!0,clearStyle:!1,collapsible:!1,event:"click",fillSpace:!1,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:!1,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}},_create:function(){var b=this,c=b.options;b.running=0,b.element.addClass("ui-accordion ui-widget ui-helper-reset").children("li").addClass("ui-accordion-li-fix"),b.headers=b.element.find(c.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){c.disabled||a(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){c.disabled||a(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){c.disabled||a(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){c.disabled||a(this).removeClass("ui-state-focus")}),b.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");if(c.navigation){var d=b.element.find("a").filter(c.navigationFilter).eq(0);if(d.length){var e=d.closest(".ui-accordion-header");e.length?b.active=e:b.active=d.closest(".ui-accordion-content").prev()}}b.active=b._findActive(b.active||c.active).addClass("ui-state-default ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top"),b.active.next().addClass("ui-accordion-content-active"),b._createIcons(),b.resize(),b.element.attr("role","tablist"),b.headers.attr("role","tab").bind("keydown.accordion",function(a){return b._keydown(a)}).next().attr("role","tabpanel"),b.headers.not(b.active||"").attr({"aria-expanded":"false","aria-selected":"false",tabIndex:-1}).next().hide(),b.active.length?b.active.attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}):b.headers.eq(0).attr("tabIndex",0),a.browser.safari||b.headers.find("a").attr("tabIndex",-1),c.event&&b.headers.bind(c.event.split(" ").join(".accordion ")+".accordion",function(a){b._clickHandler.call(b,a,this),a.preventDefault()})},_createIcons:function(){var b=this.options;b.icons&&(a("<span></span>").addClass("ui-icon "+b.icons.header).prependTo(this.headers),this.active.children(".ui-icon").toggleClass(b.icons.header).toggleClass(b.icons.headerSelected),this.element.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.children(".ui-icon").remove(),this.element.removeClass("ui-accordion-icons")},destroy:function(){var b=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("tabIndex"),this.headers.find("a").removeAttr("tabIndex"),this._destroyIcons();var c=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled");(b.autoHeight||b.fillHeight)&&c.css("height","");return a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments),b=="active"&&this.activate(c),b=="icons"&&(this._destroyIcons(),c&&this._createIcons()),b=="disabled"&&this.headers.add(this.headers.next())[c?"addClass":"removeClass"]("ui-accordion-disabled ui-state-disabled")},_keydown:function(b){if(!(this.options.disabled||b.altKey||b.ctrlKey)){var c=a.ui.keyCode,d=this.headers.length,e=this.headers.index(b.target),f=!1;switch(b.keyCode){case c.RIGHT:case c.DOWN:f=this.headers[(e+1)%d];break;case c.LEFT:case c.UP:f=this.headers[(e-1+d)%d];break;case c.SPACE:case c.ENTER:this._clickHandler({target:b.target},b.target),b.preventDefault()}if(f){a(b.target).attr("tabIndex",-1),a(f).attr("tabIndex",0),f.focus();return!1}return!0}},resize:function(){var b=this.options,c;if(b.fillSpace){if(a.browser.msie){var d=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}c=this.element.parent().height(),a.browser.msie&&this.element.parent().css("overflow",d),this.headers.each(function(){c-=a(this).outerHeight(!0)}),this.headers.next().each(function(){a(this).height(Math.max(0,c-a(this).innerHeight()+a(this).height()))}).css("overflow","auto")}else b.autoHeight&&(c=0,this.headers.next().each(function(){c=Math.max(c,a(this).height("").height())}).height(c));return this},activate:function(a){this.options.active=a;var b=this._findActive(a)[0];this._clickHandler({target:b},b);return this},_findActive:function(b){return b?typeof b=="number"?this.headers.filter(":eq("+b+")"):this.headers.not(this.headers.not(b)):b===!1?a([]):this.headers.filter(":eq(0)")},_clickHandler:function(b,c){var d=this.options;if(!d.disabled){if(!b.target){if(!d.collapsible)return;this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header),this.active.next().addClass("ui-accordion-content-active");var e=this.active.next(),f={options:d,newHeader:a([]),oldHeader:d.active,newContent:a([]),oldContent:e},g=this.active=a([]);this._toggle(g,e,f);return}var h=a(b.currentTarget||c),i=h[0]===this.active[0];d.active=d.collapsible&&i?!1:this.headers.index(h);if(this.running||!d.collapsible&&i)return;var j=this.active,g=h.next(),e=this.active.next(),f={options:d,newHeader:i&&d.collapsible?a([]):h,oldHeader:this.active,newContent:i&&d.collapsible?a([]):g,oldContent:e},k=this.headers.index(this.active[0])>this.headers.index(h[0]);this.active=i?a([]):h,this._toggle(g,e,f,i,k),j.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header),i||(h.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").children(".ui-icon").removeClass(d.icons.header).addClass(d.icons.headerSelected),h.next().addClass("ui-accordion-content-active"));return}},_toggle:function(b,c,d,e,f){var g=this,h=g.options;g.toShow=b,g.toHide=c,g.data=d;var i=function(){if(!!g)return g._completed.apply(g,arguments)};g._trigger("changestart",null,g.data),g.running=c.size()===0?b.size():c.size();if(h.animated){var j={};h.collapsible&&e?j={toShow:a([]),toHide:c,complete:i,down:f,autoHeight:h.autoHeight||h.fillSpace}:j={toShow:b,toHide:c,complete:i,down:f,autoHeight:h.autoHeight||h.fillSpace},h.proxied||(h.proxied=h.animated),h.proxiedDuration||(h.proxiedDuration=h.duration),h.animated=a.isFunction(h.proxied)?h.proxied(j):h.proxied,h.duration=a.isFunction(h.proxiedDuration)?h.proxiedDuration(j):h.proxiedDuration;var k=a.ui.accordion.animations,l=h.duration,m=h.animated;m&&!k[m]&&!a.easing[m]&&(m="slide"),k[m]||(k[m]=function(a){this.slide(a,{easing:m,duration:l||700})}),k[m](j)}else h.collapsible&&e?b.toggle():(c.hide(),b.show()),i(!0);c.prev().attr({"aria-expanded":"false","aria-selected":"false",tabIndex:-1}).blur(),b.prev().attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}).focus()},_completed:function(a){this.running=a?0:--this.running;this.running||(this.options.clearStyle&&this.toShow.add(this.toHide).css({height:"",overflow:""}),this.toHide.removeClass("ui-accordion-content-active"),this.toHide.length&&(this.toHide.parent()[0].className=this.toHide.parent()[0].className),this._trigger("change",null,this.data))}}),a.extend(a.ui.accordion,{version:"1.8.18",animations:{slide:function(b,c){b=a.extend({easing:"swing",duration:300},b,c);if(!b.toHide.size())b.toShow.animate({height:"show",paddingTop:"show",paddingBottom:"show"},b);else{if(!b.toShow.size()){b.toHide.animate({height:"hide",paddingTop:"hide",paddingBottom:"hide"},b);return}var d=b.toShow.css("overflow"),e=0,f={},g={},h=["height","paddingTop","paddingBottom"],i,j=b.toShow;i=j[0].style.width,j.width(j.parent().width()-parseFloat(j.css("paddingLeft"))-parseFloat(j.css("paddingRight"))-(parseFloat(j.css("borderLeftWidth"))||0)-(parseFloat(j.css("borderRightWidth"))||0)),a.each(h,function(c,d){g[d]="hide";var e=(""+a.css(b.toShow[0],d)).match(/^([\d+-.]+)(.*)$/);f[d]={value:e[1],unit:e[2]||"px"}}),b.toShow.css({height:0,overflow:"hidden"}).show(),b.toHide.filter(":hidden").each(b.complete).end().filter(":visible").animate(g,{step:function(a,c){c.prop=="height"&&(e=c.end-c.start===0?0:(c.now-c.start)/(c.end-c.start)),b.toShow[0].style[c.prop]=e*f[c.prop].value+f[c.prop].unit},duration:b.duration,easing:b.easing,complete:function(){b.autoHeight||b.toShow.css("height",""),b.toShow.css({width:i,overflow:d}),b.complete()}})}},bounceslide:function(a){this.slide(a,{easing:a.down?"easeOutBounce":"swing",duration:a.down?1e3:200})}}})})(jQuery);/*
+ * jQuery UI Autocomplete 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Autocomplete
+ *
+ * Depends:
+ * jquery.ui.core.js
+ * jquery.ui.widget.js
+ * jquery.ui.position.js
+ */(function(a,b){var c=0;a.widget("ui.autocomplete",{options:{appendTo:"body",autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var b=this,c=this.element[0].ownerDocument,d;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(c){if(!b.options.disabled&&!b.element.propAttr("readOnly")){d=!1;var e=a.ui.keyCode;switch(c.keyCode){case e.PAGE_UP:b._move("previousPage",c);break;case e.PAGE_DOWN:b._move("nextPage",c);break;case e.UP:b._move("previous",c),c.preventDefault();break;case e.DOWN:b._move("next",c),c.preventDefault();break;case e.ENTER:case e.NUMPAD_ENTER:b.menu.active&&(d=!0,c.preventDefault());case e.TAB:if(!b.menu.active)return;b.menu.select(c);break;case e.ESCAPE:b.element.val(b.term),b.close(c);break;default:clearTimeout(b.searching),b.searching=setTimeout(function(){b.term!=b.element.val()&&(b.selectedItem=null,b.search(null,c))},b.options.delay)}}}).bind("keypress.autocomplete",function(a){d&&(d=!1,a.preventDefault())}).bind("focus.autocomplete",function(){b.options.disabled||(b.selectedItem=null,b.previous=b.element.val())}).bind("blur.autocomplete",function(a){b.options.disabled||(clearTimeout(b.searching),b.closing=setTimeout(function(){b.close(a),b._change(a)},150))}),this._initSource(),this.response=function(){return b._response.apply(b,arguments)},this.menu=a("<ul></ul>").addClass("ui-autocomplete").appendTo(a(this.options.appendTo||"body",c)[0]).mousedown(function(c){var d=b.menu.element[0];a(c.target).closest(".ui-menu-item").length||setTimeout(function(){a(document).one("mousedown",function(c){c.target!==b.element[0]&&c.target!==d&&!a.ui.contains(d,c.target)&&b.close()})},1),setTimeout(function(){clearTimeout(b.closing)},13)}).menu({focus:function(a,c){var d=c.item.data("item.autocomplete");!1!==b._trigger("focus",a,{item:d})&&/^key/.test(a.originalEvent.type)&&b.element.val(d.value)},selected:function(a,d){var e=d.item.data("item.autocomplete"),f=b.previous;b.element[0]!==c.activeElement&&(b.element.focus(),b.previous=f,setTimeout(function(){b.previous=f,b.selectedItem=e},1)),!1!==b._trigger("select",a,{item:e})&&b.element.val(e.value),b.term=b.element.val(),b.close(a),b.selectedItem=e},blur:function(a,c){b.menu.element.is(":visible")&&b.element.val()!==b.term&&b.element.val(b.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu"),a.fn.bgiframe&&this.menu.element.bgiframe(),b.beforeunloadHandler=function(){b.element.removeAttr("autocomplete")},a(window).bind("beforeunload",b.beforeunloadHandler)},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup"),this.menu.element.remove(),a(window).unbind("beforeunload",this.beforeunloadHandler),a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments),b==="source"&&this._initSource(),b==="appendTo"&&this.menu.element.appendTo(a(c||"body",this.element[0].ownerDocument)[0]),b==="disabled"&&c&&this.xhr&&this.xhr.abort()},_initSource:function(){var b=this,d,e;a.isArray(this.options.source)?(d=this.options.source,this.source=function(b,c){c(a.ui.autocomplete.filter(d,b.term))}):typeof this.options.source=="string"?(e=this.options.source,this.source=function(d,f){b.xhr&&b.xhr.abort(),b.xhr=a.ajax({url:e,data:d,dataType:"json",context:{autocompleteRequest:++c},success:function(a,b){this.autocompleteRequest===c&&f(a)},error:function(){this.autocompleteRequest===c&&f([])}})}):this.source=this.options.source},search:function(a,b){a=a!=null?a:this.element.val(),this.term=this.element.val();if(a.length<this.options.minLength)return this.close(b);clearTimeout(this.closing);if(this._trigger("search",b)!==!1)return this._search(a)},_search:function(a){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.source({term:a},this.response)},_response:function(a){!this.options.disabled&&a&&a.length?(a=this._normalize(a),this._suggest(a),this._trigger("open")):this.close(),this.pending--,this.pending||this.element.removeClass("ui-autocomplete-loading")},close:function(a){clearTimeout(this.closing),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.deactivate(),this._trigger("close",a))},_change:function(a){this.previous!==this.element.val()&&this._trigger("change",a,{item:this.selectedItem})},_normalize:function(b){if(b.length&&b[0].label&&b[0].value)return b;return a.map(b,function(b){if(typeof b=="string")return{label:b,value:b};return a.extend({label:b.label||b.value,value:b.value||b.label},b)})},_suggest:function(b){var c=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(c,b),this.menu.deactivate(),this.menu.refresh(),c.show(),this._resizeMenu(),c.position(a.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(new a.Event("mouseover"))},_resizeMenu:function(){var a=this.menu.element;a.outerWidth(Math.max(a.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(b,c){var d=this;a.each(c,function(a,c){d._renderItem(b,c)})},_renderItem:function(b,c){return a("<li></li>").data("item.autocomplete",c).append(a("<a></a>").text(c.label)).appendTo(b)},_move:function(a,b){if(!this.menu.element.is(":visible"))this.search(null,b);else{if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term),this.menu.deactivate();return}this.menu[a](b)}},widget:function(){return this.menu.element}}),a.extend(a.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},filter:function(b,c){var d=new RegExp(a.ui.autocomplete.escapeRegex(c),"i");return a.grep(b,function(a){return d.test(a.label||a.value||a)})}})})(jQuery),function(a){a.widget("ui.menu",{_create:function(){var b=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(c){!a(c.target).closest(".ui-menu-item a").length||(c.preventDefault(),b.select(c))}),this.refresh()},refresh:function(){var b=this,c=this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem");c.children("a").addClass("ui-corner-all").attr("tabindex",-1).mouseenter(function(c){b.activate(c,a(this).parent())}).mouseleave(function(){b.deactivate()})},activate:function(a,b){this.deactivate();if(this.hasScroll()){var c=b.offset().top-this.element.offset().top,d=this.element.scrollTop(),e=this.element.height();c<0?this.element.scrollTop(d+c):c>=e&&this.element.scrollTop(d+c-e+b.height())}this.active=b.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end(),this._trigger("focus",a,{item:b})},deactivate:function(){!this.active||(this.active.children("a").removeClass("ui-state-hover").removeAttr("id"),this._trigger("blur"),this.active=null)},next:function(a){this.move("next",".ui-menu-item:first",a)},previous:function(a){this.move("prev",".ui-menu-item:last",a)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(a,b,c){if(!this.active)this.activate(c,this.element.children(b));else{var d=this.active[a+"All"](".ui-menu-item").eq(0);d.length?this.activate(c,d):this.activate(c,this.element.children(b))}},nextPage:function(b){if(this.hasScroll()){if(!this.active||this.last()){this.activate(b,this.element.children(".ui-menu-item:first"));return}var c=this.active.offset().top,d=this.element.height(),e=this.element.children(".ui-menu-item").filter(function(){var b=a(this).offset().top-c-d+a(this).height();return b<10&&b>-10});e.length||(e=this.element.children(".ui-menu-item:last")),this.activate(b,e)}else this.activate(b,this.element.children(".ui-menu-item").filter(!this.active||this.last()?":first":":last"))},previousPage:function(b){if(this.hasScroll()){if(!this.active||this.first()){this.activate(b,this.element.children(".ui-menu-item:last"));return}var c=this.active.offset().top,d=this.element.height();result=this.element.children(".ui-menu-item").filter(function(){var b=a(this).offset().top-c+d-a(this).height();return b<10&&b>-10}),result.length||(result=this.element.children(".ui-menu-item:first")),this.activate(b,result)}else this.activate(b,this.element.children(".ui-menu-item").filter(!this.active||this.first()?":last":":first"))},hasScroll:function(){return this.element.height()<this.element[a.fn.prop?"prop":"attr"]("scrollHeight")},select:function(a){this._trigger("selected",a,{item:this.active})}})}(jQuery);/*
+ * jQuery UI Button 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Button
+ *
+ * Depends:
+ * jquery.ui.core.js
+ * jquery.ui.widget.js
+ */(function(a,b){var c,d,e,f,g="ui-button ui-widget ui-state-default ui-corner-all",h="ui-state-hover ui-state-active ",i="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",j=function(){var b=a(this).find(":ui-button");setTimeout(function(){b.button("refresh")},1)},k=function(b){var c=b.name,d=b.form,e=a([]);c&&(d?e=a(d).find("[name='"+c+"']"):e=a("[name='"+c+"']",b.ownerDocument).filter(function(){return!this.form}));return e};a.widget("ui.button",{options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset.button").bind("reset.button",j),typeof this.options.disabled!="boolean"?this.options.disabled=!!this.element.propAttr("disabled"):this.element.propAttr("disabled",this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr("title");var b=this,h=this.options,i=this.type==="checkbox"||this.type==="radio",l="ui-state-hover"+(i?"":" ui-state-active"),m="ui-state-focus";h.label===null&&(h.label=this.buttonElement.html()),this.buttonElement.addClass(g).attr("role","button").bind("mouseenter.button",function(){h.disabled||(a(this).addClass("ui-state-hover"),this===c&&a(this).addClass("ui-state-active"))}).bind("mouseleave.button",function(){h.disabled||a(this).removeClass(l)}).bind("click.button",function(a){h.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}),this.element.bind("focus.button",function(){b.buttonElement.addClass(m)}).bind("blur.button",function(){b.buttonElement.removeClass(m)}),i&&(this.element.bind("change.button",function(){f||b.refresh()}),this.buttonElement.bind("mousedown.button",function(a){h.disabled||(f=!1,d=a.pageX,e=a.pageY)}).bind("mouseup.button",function(a){!h.disabled&&(d!==a.pageX||e!==a.pageY)&&(f=!0)})),this.type==="checkbox"?this.buttonElement.bind("click.button",function(){if(h.disabled||f)return!1;a(this).toggleClass("ui-state-active"),b.buttonElement.attr("aria-pressed",b.element[0].checked)}):this.type==="radio"?this.buttonElement.bind("click.button",function(){if(h.disabled||f)return!1;a(this).addClass("ui-state-active"),b.buttonElement.attr("aria-pressed","true");var c=b.element[0];k(c).not(c).map(function(){return a(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")}):(this.buttonElement.bind("mousedown.button",function(){if(h.disabled)return!1;a(this).addClass("ui-state-active"),c=this,a(document).one("mouseup",function(){c=null})}).bind("mouseup.button",function(){if(h.disabled)return!1;a(this).removeClass("ui-state-active")}).bind("keydown.button",function(b){if(h.disabled)return!1;(b.keyCode==a.ui.keyCode.SPACE||b.keyCode==a.ui.keyCode.ENTER)&&a(this).addClass("ui-state-active")}).bind("keyup.button",function(){a(this).removeClass("ui-state-active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(b){b.keyCode===a.ui.keyCode.SPACE&&a(this).click()})),this._setOption("disabled",h.disabled),this._resetButton()},_determineButtonType:function(){this.element.is(":checkbox")?this.type="checkbox":this.element.is(":radio")?this.type="radio":this.element.is("input")?this.type="input":this.type="button";if(this.type==="checkbox"||this.type==="radio"){var a=this.element.parents().filter(":last"),b="label[for='"+this.element.attr("id")+"']";this.buttonElement=a.find(b),this.buttonElement.length||(a=a.length?a.siblings():this.element.siblings(),this.buttonElement=a.filter(b),this.buttonElement.length||(this.buttonElement=a.find(b))),this.element.addClass("ui-helper-hidden-accessible");var c=this.element.is(":checked");c&&this.buttonElement.addClass("ui-state-active"),this.buttonElement.attr("aria-pressed",c)}else this.buttonElement=this.element},widget:function(){return this.buttonElement},destroy:function(){this.element.removeClass("ui-helper-hidden-accessible"),this.buttonElement.removeClass(g+" "+h+" "+i).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()),this.hasTitle||this.buttonElement.removeAttr("title"),a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments);b==="disabled"?c?this.element.propAttr("disabled",!0):this.element.propAttr("disabled",!1):this._resetButton()},refresh:function(){var b=this.element.is(":disabled");b!==this.options.disabled&&this._setOption("disabled",b),this.type==="radio"?k(this.element[0]).each(function(){a(this).is(":checked")?a(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true"):a(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")}):this.type==="checkbox"&&(this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false"))},_resetButton:function(){if(this.type==="input")this.options.label&&this.element.val(this.options.label);else{var b=this.buttonElement.removeClass(i),c=a("<span></span>",this.element[0].ownerDocument).addClass("ui-button-text").html(this.options.label).appendTo(b.empty()).text(),d=this.options.icons,e=d.primary&&d.secondary,f=[];d.primary||d.secondary?(this.options.text&&f.push("ui-button-text-icon"+(e?"s":d.primary?"-primary":"-secondary")),d.primary&&b.prepend("<span class='ui-button-icon-primary ui-icon "+d.primary+"'></span>"),d.secondary&&b.append("<span class='ui-button-icon-secondary ui-icon "+d.secondary+"'></span>"),this.options.text||(f.push(e?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle||b.attr("title",c))):f.push("ui-button-text-only"),b.addClass(f.join(" "))}}}),a.widget("ui.buttonset",{options:{items:":button, :submit, :reset, :checkbox, :radio, a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(b,c){b==="disabled"&&this.buttons.button("option",b,c),a.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){var b=this.element.css("direction")==="rtl";this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(b?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(b?"ui-corner-left":"ui-corner-right").end().end()},destroy:function(){this.element.removeClass("ui-buttonset"),this.buttons.map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy"),a.Widget.prototype.destroy.call(this)}})})(jQuery);/*
+ * jQuery UI Dialog 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Dialog
+ *
+ * Depends:
+ * jquery.ui.core.js
+ * jquery.ui.widget.js
+ * jquery.ui.button.js
+ * jquery.ui.draggable.js
+ * jquery.ui.mouse.js
+ * jquery.ui.position.js
+ * jquery.ui.resizable.js
+ */(function(a,b){var c="ui-dialog ui-widget ui-widget-content ui-corner-all ",d={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},e={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},f=a.attrFn||{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0,click:!0};a.widget("ui.dialog",{options:{autoOpen:!0,buttons:{},closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:!1,maxWidth:!1,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",collision:"fit",using:function(b){var c=a(this).css(b).offset().top;c<0&&a(this).css("top",b.top-c)}},resizable:!0,show:null,stack:!0,title:"",width:300,zIndex:1e3},_create:function(){this.originalTitle=this.element.attr("title"),typeof this.originalTitle!="string"&&(this.originalTitle=""),this.options.title=this.options.title||this.originalTitle;var b=this,d=b.options,e=d.title||"&#160;",f=a.ui.dialog.getTitleId(b.element),g=(b.uiDialog=a("<div></div>")).appendTo(document.body).hide().addClass(c+d.dialogClass).css({zIndex:d.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(c){d.closeOnEscape&&!c.isDefaultPrevented()&&c.keyCode&&c.keyCode===a.ui.keyCode.ESCAPE&&(b.close(c),c.preventDefault())}).attr({role:"dialog","aria-labelledby":f}).mousedown(function(a){b.moveToTop(!1,a)}),h=b.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(g),i=(b.uiDialogTitlebar=a("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(g),j=a('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){j.addClass("ui-state-hover")},function(){j.removeClass("ui-state-hover")}).focus(function(){j.addClass("ui-state-focus")}).blur(function(){j.removeClass("ui-state-focus")}).click(function(a){b.close(a);return!1}).appendTo(i),k=(b.uiDialogTitlebarCloseText=a("<span></span>")).addClass("ui-icon ui-icon-closethick").text(d.closeText).appendTo(j),l=a("<span></span>").addClass("ui-dialog-title").attr("id",f).html(e).prependTo(i);a.isFunction(d.beforeclose)&&!a.isFunction(d.beforeClose)&&(d.beforeClose=d.beforeclose),i.find("*").add(i).disableSelection(),d.draggable&&a.fn.draggable&&b._makeDraggable(),d.resizable&&a.fn.resizable&&b._makeResizable(),b._createButtons(d.buttons),b._isOpen=!1,a.fn.bgiframe&&g.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){var a=this;a.overlay&&a.overlay.destroy(),a.uiDialog.hide(),a.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body"),a.uiDialog.remove(),a.originalTitle&&a.element.attr("title",a.originalTitle);return a},widget:function(){return this.uiDialog},close:function(b){var c=this,d,e;if(!1!==c._trigger("beforeClose",b)){c.overlay&&c.overlay.destroy(),c.uiDialog.unbind("keypress.ui-dialog"),c._isOpen=!1,c.options.hide?c.uiDialog.hide(c.options.hide,function(){c._trigger("close",b)}):(c.uiDialog.hide(),c._trigger("close",b)),a.ui.dialog.overlay.resize(),c.options.modal&&(d=0,a(".ui-dialog").each(function(){this!==c.uiDialog[0]&&(e=a(this).css("z-index"),isNaN(e)||(d=Math.max(d,e)))}),a.ui.dialog.maxZ=d);return c}},isOpen:function(){return this._isOpen},moveToTop:function(b,c){var d=this,e=d.options,f;if(e.modal&&!b||!e.stack&&!e.modal)return d._trigger("focus",c);e.zIndex>a.ui.dialog.maxZ&&(a.ui.dialog.maxZ=e.zIndex),d.overlay&&(a.ui.dialog.maxZ+=1,d.overlay.$el.css("z-index",a.ui.dialog.overlay.maxZ=a.ui.dialog.maxZ)),f={scrollTop:d.element.scrollTop(),scrollLeft:d.element.scrollLeft()},a.ui.dialog.maxZ+=1,d.uiDialog.css("z-index",a.ui.dialog.maxZ),d.element.attr(f),d._trigger("focus",c);return d},open:function(){if(!this._isOpen){var b=this,c=b.options,d=b.uiDialog;b.overlay=c.modal?new a.ui.dialog.overlay(b):null,b._size(),b._position(c.position),d.show(c.show),b.moveToTop(!0),c.modal&&d.bind("keydown.ui-dialog",function(b){if(b.keyCode===a.ui.keyCode.TAB){var c=a(":tabbable",this),d=c.filter(":first"),e=c.filter(":last");if(b.target===e[0]&&!b.shiftKey){d.focus(1);return!1}if(b.target===d[0]&&b.shiftKey){e.focus(1);return!1}}}),a(b.element.find(":tabbable").get().concat(d.find(".ui-dialog-buttonpane :tabbable").get().concat(d.get()))).eq(0).focus(),b._isOpen=!0,b._trigger("open");return b}},_createButtons:function(b){var c=this,d=!1,e=a("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),g=a("<div></div>").addClass("ui-dialog-buttonset").appendTo(e);c.uiDialog.find(".ui-dialog-buttonpane").remove(),typeof b=="object"&&b!==null&&a.each(b,function(){return!(d=!0)}),d&&(a.each(b,function(b,d){d=a.isFunction(d)?{click:d,text:b}:d;var e=a('<button type="button"></button>').click(function(){d.click.apply(c.element[0],arguments)}).appendTo(g);a.each(d,function(a,b){a!=="click"&&(a in f?e[a](b):e.attr(a,b))}),a.fn.button&&e.button()}),e.appendTo(c.uiDialog))},_makeDraggable:function(){function f(a){return{position:a.position,offset:a.offset}}var b=this,c=b.options,d=a(document),e;b.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(d,g){e=c.height==="auto"?"auto":a(this).height(),a(this).height(a(this).height()).addClass("ui-dialog-dragging"),b._trigger("dragStart",d,f(g))},drag:function(a,c){b._trigger("drag",a,f(c))},stop:function(g,h){c.position=[h.position.left-d.scrollLeft(),h.position.top-d.scrollTop()],a(this).removeClass("ui-dialog-dragging").height(e),b._trigger("dragStop",g,f(h)),a.ui.dialog.overlay.resize()}})},_makeResizable:function(c){function h(a){return{originalPosition:a.originalPosition,originalSize:a.originalSize,position:a.position,size:a.size}}c=c===b?this.options.resizable:c;var d=this,e=d.options,f=d.uiDialog.css("position"),g=typeof c=="string"?c:"n,e,s,w,se,sw,ne,nw";d.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:d.element,maxWidth:e.maxWidth,maxHeight:e.maxHeight,minWidth:e.minWidth,minHeight:d._minHeight(),handles:g,start:function(b,c){a(this).addClass("ui-dialog-resizing"),d._trigger("resizeStart",b,h(c))},resize:function(a,b){d._trigger("resize",a,h(b))},stop:function(b,c){a(this).removeClass("ui-dialog-resizing"),e.height=a(this).height(),e.width=a(this).width(),d._trigger("resizeStop",b,h(c)),a.ui.dialog.overlay.resize()}}).css("position",f).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var a=this.options;return a.height==="auto"?a.minHeight:Math.min(a.minHeight,a.height)},_position:function(b){var c=[],d=[0,0],e;if(b){if(typeof b=="string"||typeof b=="object"&&"0"in b)c=b.split?b.split(" "):[b[0],b[1]],c.length===1&&(c[1]=c[0]),a.each(["left","top"],function(a,b){+c[a]===c[a]&&(d[a]=c[a],c[a]=b)}),b={my:c.join(" "),at:c.join(" "),offset:d.join(" ")};b=a.extend({},a.ui.dialog.prototype.options.position,b)}else b=a.ui.dialog.prototype.options.position;e=this.uiDialog.is(":visible"),e||this.uiDialog.show(),this.uiDialog.css({top:0,left:0}).position(a.extend({of:window},b)),e||this.uiDialog.hide()},_setOptions:function(b){var c=this,f={},g=!1;a.each(b,function(a,b){c._setOption(a,b),a in d&&(g=!0),a in e&&(f[a]=b)}),g&&this._size(),this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",f)},_setOption:function(b,d){var e=this,f=e.uiDialog;switch(b){case"beforeclose":b="beforeClose";break;case"buttons":e._createButtons(d);break;case"closeText":e.uiDialogTitlebarCloseText.text(""+d);break;case"dialogClass":f.removeClass(e.options.dialogClass).addClass(c+d);break;case"disabled":d?f.addClass("ui-dialog-disabled"):f.removeClass("ui-dialog-disabled");break;case"draggable":var g=f.is(":data(draggable)");g&&!d&&f.draggable("destroy"),!g&&d&&e._makeDraggable();break;case"position":e._position(d);break;case"resizable":var h=f.is(":data(resizable)");h&&!d&&f.resizable("destroy"),h&&typeof d=="string"&&f.resizable("option","handles",d),!h&&d!==!1&&e._makeResizable(d);break;case"title":a(".ui-dialog-title",e.uiDialogTitlebar).html(""+(d||"&#160;"))}a.Widget.prototype._setOption.apply(e,arguments)},_size:function(){var b=this.options,c,d,e=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0}),b.minWidth>b.width&&(b.width=b.minWidth),c=this.uiDialog.css({height:"auto",width:b.width}).height(),d=Math.max(0,b.minHeight-c);if(b.height==="auto")if(a.support.minHeight)this.element.css({minHeight:d,height:"auto"});else{this.uiDialog.show();var f=this.element.css("height","auto").height();e||this.uiDialog.hide(),this.element.height(Math.max(f,d))}else this.element.height(Math.max(b.height-c,0));this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())}}),a.extend(a.ui.dialog,{version:"1.8.18",uuid:0,maxZ:0,getTitleId:function(a){var b=a.attr("id");b||(this.uuid+=1,b=this.uuid);return"ui-dialog-title-"+b},overlay:function(b){this.$el=a.ui.dialog.overlay.create(b)}}),a.extend(a.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:a.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(a){return a+".dialog-overlay"}).join(" "),create:function(b){this.instances.length===0&&(setTimeout(function(){a.ui.dialog.overlay.instances.length&&a(document).bind(a.ui.dialog.overlay.events,function(b){if(a(b.target).zIndex()<a.ui.dialog.overlay.maxZ)return!1})},1),a(document).bind("keydown.dialog-overlay",function(c){b.options.closeOnEscape&&!c.isDefaultPrevented()&&c.keyCode&&c.keyCode===a.ui.keyCode.ESCAPE&&(b.close(c),c.preventDefault())}),a(window).bind("resize.dialog-overlay",a.ui.dialog.overlay.resize));var c=(this.oldInstances.pop()||a("<div></div>").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(),height:this.height()});a.fn.bgiframe&&c.bgiframe(),this.instances.push(c);return c},destroy:function(b){var c=a.inArray(b,this.instances);c!=-1&&this.oldInstances.push(this.instances.splice(c,1)[0]),this.instances.length===0&&a([document,window]).unbind(".dialog-overlay"),b.remove();var d=0;a.each(this.instances,function(){d=Math.max(d,this.css("z-index"))}),this.maxZ=d},height:function(){var b,c;if(a.browser.msie&&a.browser.version<7){b=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),c=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);return b<c?a(window).height()+"px":b+"px"}return a(document).height()+"px"},width:function(){var b,c;if(a.browser.msie){b=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),c=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);return b<c?a(window).width()+"px":b+"px"}return a(document).width()+"px"},resize:function(){var b=a([]);a.each(a.ui.dialog.overlay.instances,function(){b=b.add(this)}),b.css({width:0,height:0}).css({width:a.ui.dialog.overlay.width(),height:a.ui.dialog.overlay.height()})}}),a.extend(a.ui.dialog.overlay.prototype,{destroy:function(){a.ui.dialog.overlay.destroy(this.$el)}})})(jQuery);/*
+ * jQuery UI Slider 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Slider
+ *
+ * Depends:
+ * jquery.ui.core.js
+ * jquery.ui.mouse.js
+ * jquery.ui.widget.js
+ */(function(a,b){var c=5;a.widget("ui.slider",a.ui.mouse,{widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null},_create:function(){var b=this,d=this.options,e=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),f="<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>",g=d.values&&d.values.length||1,h=[];this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget"+" ui-widget-content"+" ui-corner-all"+(d.disabled?" ui-slider-disabled ui-disabled":"")),this.range=a([]),d.range&&(d.range===!0&&(d.values||(d.values=[this._valueMin(),this._valueMin()]),d.values.length&&d.values.length!==2&&(d.values=[d.values[0],d.values[0]])),this.range=a("<div></div>").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+(d.range==="min"||d.range==="max"?" ui-slider-range-"+d.range:"")));for(var i=e.length;i<g;i+=1)h.push(f);this.handles=e.add(a(h.join("")).appendTo(b.element)),this.handle=this.handles.eq(0),this.handles.add(this.range).filter("a").click(function(a){a.preventDefault()}).hover(function(){d.disabled||a(this).addClass("ui-state-hover")},function(){a(this).removeClass("ui-state-hover")}).focus(function(){d.disabled?a(this).blur():(a(".ui-slider .ui-state-focus").removeClass("ui-state-focus"),a(this).addClass("ui-state-focus"))}).blur(function(){a(this).removeClass("ui-state-focus")}),this.handles.each(function(b){a(this).data("index.ui-slider-handle",b)}),this.handles.keydown(function(d){var e=a(this).data("index.ui-slider-handle"),f,g,h,i;if(!b.options.disabled){switch(d.keyCode){case a.ui.keyCode.HOME:case a.ui.keyCode.END:case a.ui.keyCode.PAGE_UP:case a.ui.keyCode.PAGE_DOWN:case a.ui.keyCode.UP:case a.ui.keyCode.RIGHT:case a.ui.keyCode.DOWN:case a.ui.keyCode.LEFT:d.preventDefault();if(!b._keySliding){b._keySliding=!0,a(this).addClass("ui-state-active"),f=b._start(d,e);if(f===!1)return}}i=b.options.step,b.options.values&&b.options.values.length?g=h=b.values(e):g=h=b.value();switch(d.keyCode){case a.ui.keyCode.HOME:h=b._valueMin();break;case a.ui.keyCode.END:h=b._valueMax();break;case a.ui.keyCode.PAGE_UP:h=b._trimAlignValue(g+(b._valueMax()-b._valueMin())/c);break;case a.ui.keyCode.PAGE_DOWN:h=b._trimAlignValue(g-(b._valueMax()-b._valueMin())/c);break;case a.ui.keyCode.UP:case a.ui.keyCode.RIGHT:if(g===b._valueMax())return;h=b._trimAlignValue(g+i);break;case a.ui.keyCode.DOWN:case a.ui.keyCode.LEFT:if(g===b._valueMin())return;h=b._trimAlignValue(g-i)}b._slide(d,e,h)}}).keyup(function(c){var d=a(this).data("index.ui-slider-handle");b._keySliding&&(b._keySliding=!1,b._stop(c,d),b._change(c,d),a(this).removeClass("ui-state-active"))}),this._refreshValue(),this._animateOff=!1},destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider"),this._mouseDestroy();return this},_mouseCapture:function(b){var c=this.options,d,e,f,g,h,i,j,k,l;if(c.disabled)return!1;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),d={x:b.pageX,y:b.pageY},e=this._normValueFromMouse(d),f=this._valueMax()-this._valueMin()+1,h=this,this.handles.each(function(b){var c=Math.abs(e-h.values(b));f>c&&(f=c,g=a(this),i=b)}),c.range===!0&&this.values(1)===c.min&&(i+=1,g=a(this.handles[i])),j=this._start(b,i);if(j===!1)return!1;this._mouseSliding=!0,h._handleIndex=i,g.addClass("ui-state-active").focus(),k=g.offset(),l=!a(b.target).parents().andSelf().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:b.pageX-k.left-g.width()/2,top:b.pageY-k.top-g.height()/2-(parseInt(g.css("borderTopWidth"),10)||0)-(parseInt(g.css("borderBottomWidth"),10)||0)+(parseInt(g.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(b,i,e),this._animateOff=!0;return!0},_mouseStart:function(a){return!0},_mouseDrag:function(a){var b={x:a.pageX,y:a.pageY},c=this._normValueFromMouse(b);this._slide(a,this._handleIndex,c);return!1},_mouseStop:function(a){this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(a,this._handleIndex),this._change(a,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1;return!1},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(a){var b,c,d,e,f;this.orientation==="horizontal"?(b=this.elementSize.width,c=a.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(b=this.elementSize.height,c=a.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),d=c/b,d>1&&(d=1),d<0&&(d=0),this.orientation==="vertical"&&(d=1-d),e=this._valueMax()-this._valueMin(),f=this._valueMin()+d*e;return this._trimAlignValue(f)},_start:function(a,b){var c={handle:this.handles[b],value:this.value()};this.options.values&&this.options.values.length&&(c.value=this.values(b),c.values=this.values());return this._trigger("start",a,c)},_slide:function(a,b,c){var d,e,f;this.options.values&&this.options.values.length?(d=this.values(b?0:1),this.options.values.length===2&&this.options.range===!0&&(b===0&&c>d||b===1&&c<d)&&(c=d),c!==this.values(b)&&(e=this.values(),e[b]=c,f=this._trigger("slide",a,{handle:this.handles[b],value:c,values:e}),d=this.values(b?0:1),f!==!1&&this.values(b,c,!0))):c!==this.value()&&(f=this._trigger("slide",a,{handle:this.handles[b],value:c}),f!==!1&&this.value(c))},_stop:function(a,b){var c={handle:this.handles[b],value:this.value()};this.options.values&&this.options.values.length&&(c.value=this.values(b),c.values=this.values()),this._trigger("stop",a,c)},_change:function(a,b){if(!this._keySliding&&!this._mouseSliding){var c={handle:this.handles[b],value:this.value()};this.options.values&&this.options.values.length&&(c.value=this.values(b),c.values=this.values()),this._trigger("change",a,c)}},value:function(a){if(arguments.length)this.options.value=this._trimAlignValue(a),this._refreshValue(),this._change(null,0);else return this._value()},values:function(b,c){var d,e,f;if(arguments.length>1)this.options.values[b]=this._trimAlignValue(c),this._refreshValue(),this._change(null,b);else{if(!arguments.length)return this._values();if(!a.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(b):this.value();d=this.options.values,e=arguments[0];for(f=0;f<d.length;f+=1)d[f]=this._trimAlignValue(e[f]),this._change(null,f);this._refreshValue()}},_setOption:function(b,c){var d,e=0;a.isArray(this.options.values)&&(e=this.options.values.length),a.Widget.prototype._setOption.apply(this,arguments);switch(b){case"disabled":c?(this.handles.filter(".ui-state-focus").blur(),this.handles.removeClass("ui-state-hover"),this.handles.propAttr("disabled",!0),this.element.addClass("ui-disabled")):(this.handles.propAttr("disabled",!1),this.element.removeClass("ui-disabled"));break;case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":this._animateOff=!0,this._refreshValue();for(d=0;d<e;d+=1)this._change(null,d);this._animateOff=!1}},_value:function(){var a=this.options.value;a=this._trimAlignValue(a);return a},_values:function(a){var b,c,d;if(arguments.length){b=this.options.values[a],b=this._trimAlignValue(b);return b}c=this.options.values.slice();for(d=0;d<c.length;d+=1)c[d]=this._trimAlignValue(c[d]);return c},_trimAlignValue:function(a){if(a<=this._valueMin())return this._valueMin();if(a>=this._valueMax())return this._valueMax();var b=this.options.step>0?this.options.step:1,c=(a-this._valueMin())%b,d=a-c;Math.abs(c)*2>=b&&(d+=c>0?b:-b);return parseFloat(d.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var b=this.options.range,c=this.options,d=this,e=this._animateOff?!1:c.animate,f,g={},h,i,j,k;this.options.values&&this.options.values.length?this.handles.each(function(b,i){f=(d.values(b)-d._valueMin())/(d._valueMax()-d._valueMin())*100,g[d.orientation==="horizontal"?"left":"bottom"]=f+"%",a(this).stop(1,1)[e?"animate":"css"](g,c.animate),d.options.range===!0&&(d.orientation==="horizontal"?(b===0&&d.range.stop(1,1)[e?"animate":"css"]({left:f+"%"},c.animate),b===1&&d.range[e?"animate":"css"]({width:f-h+"%"},{queue:!1,duration:c.animate})):(b===0&&d.range.stop(1,1)[e?"animate":"css"]({bottom:f+"%"},c.animate),b===1&&d.range[e?"animate":"css"]({height:f-h+"%"},{queue:!1,duration:c.animate}))),h=f}):(i=this.value(),j=this._valueMin(),k=this._valueMax(),f=k!==j?(i-j)/(k-j)*100:0,g[d.orientation==="horizontal"?"left":"bottom"]=f+"%",this.handle.stop(1,1)[e?"animate":"css"](g,c.animate),b==="min"&&this.orientation==="horizontal"&&this.range.stop(1,1)[e?"animate":"css"]({width:f+"%"},c.animate),b==="max"&&this.orientation==="horizontal"&&this.range[e?"animate":"css"]({width:100-f+"%"},{queue:!1,duration:c.animate}),b==="min"&&this.orientation==="vertical"&&this.range.stop(1,1)[e?"animate":"css"]({height:f+"%"},c.animate),b==="max"&&this.orientation==="vertical"&&this.range[e?"animate":"css"]({height:100-f+"%"},{queue:!1,duration:c.animate}))}}),a.extend(a.ui.slider,{version:"1.8.18"})})(jQuery);/*
+ * jQuery UI Tabs 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Tabs
+ *
+ * Depends:
+ * jquery.ui.core.js
+ * jquery.ui.widget.js
+ */(function(a,b){function f(){return++d}function e(){return++c}var c=0,d=0;a.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:!1,cookie:null,collapsible:!1,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"<div></div>",remove:null,select:null,show:null,spinner:"<em>Loading&#8230;</em>",tabTemplate:"<li><a href='#{href}'><span>#{label}</span></a></li>"},_create:function(){this._tabify(!0)},_setOption:function(a,b){if(a=="selected"){if(this.options.collapsible&&b==this.options.selected)return;this.select(b)}else this.options[a]=b,this._tabify()},_tabId:function(a){return a.title&&a.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+e()},_sanitizeSelector:function(a){return a.replace(/:/g,"\\:")},_cookie:function(){var b=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+f());return a.cookie.apply(null,[b].concat(a.makeArray(arguments)))},_ui:function(a,b){return{tab:a,panel:b,index:this.anchors.index(a)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var b=a(this);b.html(b.data("label.tabs")).removeData("label.tabs")})},_tabify:function(c){function m(b,c){b.css("display",""),!a.support.opacity&&c.opacity&&b[0].style.removeAttribute("filter")}var d=this,e=this.options,f=/^#.+/;this.list=this.element.find("ol,ul").eq(0),this.lis=a(" > li:has(a[href])",this.list),this.anchors=this.lis.map(function(){return a("a",this)[0]}),this.panels=a([]),this.anchors.each(function(b,c){var g=a(c).attr("href"),h=g.split("#")[0],i;h&&(h===location.toString().split("#")[0]||(i=a("base")[0])&&h===i.href)&&(g=c.hash,c.href=g);if(f.test(g))d.panels=d.panels.add(d.element.find(d._sanitizeSelector(g)));else if(g&&g!=="#"){a.data(c,"href.tabs",g),a.data(c,"load.tabs",g.replace(/#.*$/,""));var j=d._tabId(c);c.href="#"+j;var k=d.element.find("#"+j);k.length||(k=a(e.panelTemplate).attr("id",j).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(d.panels[b-1]||d.list),k.data("destroy.tabs",!0)),d.panels=d.panels.add(k)}else e.disabled.push(b)}),c?(this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all"),this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"),this.lis.addClass("ui-state-default ui-corner-top"),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom"),e.selected===b?(location.hash&&this.anchors.each(function(a,b){if(b.hash==location.hash){e.selected=a;return!1}}),typeof e.selected!="number"&&e.cookie&&(e.selected=parseInt(d._cookie(),10)),typeof e.selected!="number"&&this.lis.filter(".ui-tabs-selected").length&&(e.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))),e.selected=e.selected||(this.lis.length?0:-1)):e.selected===null&&(e.selected=-1),e.selected=e.selected>=0&&this.anchors[e.selected]||e.selected<0?e.selected:0,e.disabled=a.unique(e.disabled.concat(a.map(this.lis.filter(".ui-state-disabled"),function(a,b){return d.lis.index(a)}))).sort(),a.inArray(e.selected,e.disabled)!=-1&&e.disabled.splice(a.inArray(e.selected,e.disabled),1),this.panels.addClass("ui-tabs-hide"),this.lis.removeClass("ui-tabs-selected ui-state-active"),e.selected>=0&&this.anchors.length&&(d.element.find(d._sanitizeSelector(d.anchors[e.selected].hash)).removeClass("ui-tabs-hide"),this.lis.eq(e.selected).addClass("ui-tabs-selected ui-state-active"),d.element.queue("tabs",function(){d._trigger("show",null,d._ui(d.anchors[e.selected],d.element.find(d._sanitizeSelector(d.anchors[e.selected].hash))[0]))}),this.load(e.selected)),a(window).bind("unload",function(){d.lis.add(d.anchors).unbind(".tabs"),d.lis=d.anchors=d.panels=null})):e.selected=this.lis.index(this.lis.filter(".ui-tabs-selected")),this.element[e.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible"),e.cookie&&this._cookie(e.selected,e.cookie);for(var g=0,h;h=this.lis[g];g++)a(h)[a.inArray(g,e.disabled)!=-1&&!a(h).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");e.cache===!1&&this.anchors.removeData("cache.tabs"),this.lis.add(this.anchors).unbind(".tabs");if(e.event!=="mouseover"){var i=function(a,b){b.is(":not(.ui-state-disabled)")&&b.addClass("ui-state-"+a)},j=function(a,b){b.removeClass("ui-state-"+a)};this.lis.bind("mouseover.tabs",function(){i("hover",a(this))}),this.lis.bind("mouseout.tabs",function(){j("hover",a(this))}),this.anchors.bind("focus.tabs",function(){i("focus",a(this).closest("li"))}),this.anchors.bind("blur.tabs",function(){j("focus",a(this).closest("li"))})}var k,l;e.fx&&(a.isArray(e.fx)?(k=e.fx[0],l=e.fx[1]):k=l=e.fx);var n=l?function(b,c){a(b).closest("li").addClass("ui-tabs-selected ui-state-active"),c.hide().removeClass("ui-tabs-hide").animate(l,l.duration||"normal",function(){m(c,l),d._trigger("show",null,d._ui(b,c[0]))})}:function(b,c){a(b).closest("li").addClass("ui-tabs-selected ui-state-active"),c.removeClass("ui-tabs-hide"),d._trigger("show",null,d._ui(b,c[0]))},o=k?function(a,b){b.animate(k,k.duration||"normal",function(){d.lis.removeClass("ui-tabs-selected ui-state-active"),b.addClass("ui-tabs-hide"),m(b,k),d.element.dequeue("tabs")})}:function(a,b,c){d.lis.removeClass("ui-tabs-selected ui-state-active"),b.addClass("ui-tabs-hide"),d.element.dequeue("tabs")};this.anchors.bind(e.event+".tabs",function(){var b=this,c=a(b).closest("li"),f=d.panels.filter(":not(.ui-tabs-hide)"),g=d.element.find(d._sanitizeSelector(b.hash));if(c.hasClass("ui-tabs-selected")&&!e.collapsible||c.hasClass("ui-state-disabled")||c.hasClass("ui-state-processing")||d.panels.filter(":animated").length||d._trigger("select",null,d._ui(this,g[0]))===!1){this.blur();return!1}e.selected=d.anchors.index(this),d.abort();if(e.collapsible){if(c.hasClass("ui-tabs-selected")){e.selected=-1,e.cookie&&d._cookie(e.selected,e.cookie),d.element.queue("tabs",function(){o(b,f)}).dequeue("tabs"),this.blur();return!1}if(!f.length){e.cookie&&d._cookie(e.selected,e.cookie),d.element.queue("tabs",function(){n(b,g)}),d.load(d.anchors.index(this)),this.blur();return!1}}e.cookie&&d._cookie(e.selected,e.cookie);if(g.length)f.length&&d.element.queue("tabs",function(){o(b,f)}),d.element.queue("tabs",function(){n(b,g)}),d.load(d.anchors.index(this));else throw"jQuery UI Tabs: Mismatching fragment identifier.";a.browser.msie&&this.blur()}),this.anchors.bind("click.tabs",function(){return!1})},_getIndex:function(a){typeof a=="string"&&(a=this.anchors.index(this.anchors.filter("[href$="+a+"]")));return a},destroy:function(){var b=this.options;this.abort(),this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs"),this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"),this.anchors.each(function(){var b=a.data(this,"href.tabs");b&&(this.href=b);var c=a(this).unbind(".tabs");a.each(["href","load","cache"],function(a,b){c.removeData(b+".tabs")})}),this.lis.unbind(".tabs").add(this.panels).each(function(){a.data(this,"destroy.tabs")?a(this).remove():a(this).removeClass(["ui-state-default","ui-corner-top","ui-tabs-selected","ui-state-active","ui-state-hover","ui-state-focus","ui-state-disabled","ui-tabs-panel","ui-widget-content","ui-corner-bottom","ui-tabs-hide"].join(" "))}),b.cookie&&this._cookie(null,b.cookie);return this},add:function(c,d,e){e===b&&(e=this.anchors.length);var f=this,g=this.options,h=a(g.tabTemplate.replace(/#\{href\}/g,c).replace(/#\{label\}/g,d)),i=c.indexOf("#")?this._tabId(a("a",h)[0]):c.replace("#","");h.addClass("ui-state-default ui-corner-top").data("destroy.tabs",!0);var j=f.element.find("#"+i);j.length||(j=a(g.panelTemplate).attr("id",i).data("destroy.tabs",!0)),j.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide"),e>=this.lis.length?(h.appendTo(this.list),j.appendTo(this.list[0].parentNode)):(h.insertBefore(this.lis[e]),j.insertBefore(this.panels[e])),g.disabled=a.map(g.disabled,function(a,b){return a>=e?++a:a}),this._tabify(),this.anchors.length==1&&(g.selected=0,h.addClass("ui-tabs-selected ui-state-active"),j.removeClass("ui-tabs-hide"),this.element.queue("tabs",function(){f._trigger("show",null,f._ui(f.anchors[0],f.panels[0]))}),this.load(0)),this._trigger("add",null,this._ui(this.anchors[e],this.panels[e]));return this},remove:function(b){b=this._getIndex(b);var c=this.options,d=this.lis.eq(b).remove(),e=this.panels.eq(b).remove();d.hasClass("ui-tabs-selected")&&this.anchors.length>1&&this.select(b+(b+1<this.anchors.length?1:-1)),c.disabled=a.map(a.grep(c.disabled,function(a,c){return a!=b}),function(a,c){return a>=b?--a:a}),this._tabify(),this._trigger("remove",null,this._ui(d.find("a")[0],e[0]));return this},enable:function(b){b=this._getIndex(b);var c=this.options;if(a.inArray(b,c.disabled)!=-1){this.lis.eq(b).removeClass("ui-state-disabled"),c.disabled=a.grep(c.disabled,function(a,c){return a!=b}),this._trigger("enable",null,this._ui(this.anchors[b],this.panels[b]));return this}},disable:function(a){a=this._getIndex(a);var b=this,c=this.options;a!=c.selected&&(this.lis.eq(a).addClass("ui-state-disabled"),c.disabled.push(a),c.disabled.sort(),this._trigger("disable",null,this._ui(this.anchors[a],this.panels[a])));return this},select:function(a){a=this._getIndex(a);if(a==-1)if(this.options.collapsible&&this.options.selected!=-1)a=this.options.selected;else return this;this.anchors.eq(a).trigger(this.options.event+".tabs");return this},load:function(b){b=this._getIndex(b);var c=this,d=this.options,e=this.anchors.eq(b)[0],f=a.data(e,"load.tabs");this.abort();if(!f||this.element.queue("tabs").length!==0&&a.data(e,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(b).addClass("ui-state-processing");if(d.spinner){var g=a("span",e);g.data("label.tabs",g.html()).html(d.spinner)}this.xhr=a.ajax(a.extend({},d.ajaxOptions,{url:f,success:function(f,g){c.element.find(c._sanitizeSelector(e.hash)).html(f),c._cleanup(),d.cache&&a.data(e,"cache.tabs",!0),c._trigger("load",null,c._ui(c.anchors[b],c.panels[b]));try{d.ajaxOptions.success(f,g)}catch(h){}},error:function(a,f,g){c._cleanup(),c._trigger("load",null,c._ui(c.anchors[b],c.panels[b]));try{d.ajaxOptions.error(a,f,b,e)}catch(g){}}})),c.element.dequeue("tabs");return this}},abort:function(){this.element.queue([]),this.panels.stop(!1,!0),this.element.queue("tabs",this.element.queue("tabs").splice(-2,2)),this.xhr&&(this.xhr.abort(),delete this.xhr),this._cleanup();return this},url:function(a,b){this.anchors.eq(a).removeData("cache.tabs").data("load.tabs",b);return this},length:function(){return this.anchors.length}}),a.extend(a.ui.tabs,{version:"1.8.18"}),a.extend(a.ui.tabs.prototype,{rotation:null,rotate:function(a,b){var c=this,d=this.options,e=c._rotate||(c._rotate=function(b){clearTimeout(c.rotation),c.rotation=setTimeout(function(){var a=d.selected;c.select(++a<c.anchors.length?a:0)},a),b&&b.stopPropagation()}),f=c._unrotate||(c._unrotate=b?function(a){t=d.selected,e()}:function(a){a.clientX&&c.rotate(null)});a?(this.element.bind("tabsshow",e),this.anchors.bind(d.event+".tabs",f),e()):(clearTimeout(c.rotation),this.element.unbind("tabsshow",e),this.anchors.unbind(d.event+".tabs",f),delete this._rotate,delete this._unrotate);return this}})})(jQuery);/*
+ * jQuery UI Datepicker 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Datepicker
+ *
+ * Depends:
+ * jquery.ui.core.js
+ */(function($,undefined){function isArray(a){return a&&($.browser.safari&&typeof a=="object"&&a.length||a.constructor&&a.constructor.toString().match(/\Array\(\)/))}function extendRemove(a,b){$.extend(a,b);for(var c in b)if(b[c]==null||b[c]==undefined)a[c]=b[c];return a}function bindHover(a){var b="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return a.bind("mouseout",function(a){var c=$(a.target).closest(b);!c.length||c.removeClass("ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover")}).bind("mouseover",function(c){var d=$(c.target).closest(b);!$.datepicker._isDisabledDatepicker(instActive.inline?a.parent()[0]:instActive.input[0])&&!!d.length&&(d.parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),d.addClass("ui-state-hover"),d.hasClass("ui-datepicker-prev")&&d.addClass("ui-datepicker-prev-hover"),d.hasClass("ui-datepicker-next")&&d.addClass("ui-datepicker-next-hover"))})}function Datepicker(){this.debug=!1,this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},$.extend(this._defaults,this.regional[""]),this.dpDiv=bindHover($('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))}$.extend($.ui,{datepicker:{version:"1.8.18"}});var PROP_NAME="datepicker",dpuuid=(new Date).getTime(),instActive;$.extend(Datepicker.prototype,{markerClassName:"hasDatepicker",maxRows:4,log:function(){this.debug&&console.log.apply("",arguments)},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(a){extendRemove(this._defaults,a||{});return this},_attachDatepicker:function(target,settings){var inlineSettings=null;for(var attrName in this._defaults){var attrValue=target.getAttribute("date:"+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase(),inline=nodeName=="div"||nodeName=="span";target.id||(this.uuid+=1,target.id="dp"+this.uuid);var inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{},inlineSettings||{}),nodeName=="input"?this._connectDatepicker(target,inst):inline&&this._inlineDatepicker(target,inst)},_newInst:function(a,b){var c=a[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1");return{id:c,input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:b,dpDiv:b?bindHover($('<div class="'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')):this.dpDiv}},_connectDatepicker:function(a,b){var c=$(a);b.append=$([]),b.trigger=$([]);c.hasClass(this.markerClassName)||(this._attachments(c,b),c.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(a,c,d){b.settings[c]=d}).bind("getData.datepicker",function(a,c){return this._get(b,c)}),this._autoSize(b),$.data(a,PROP_NAME,b),b.settings.disabled&&this._disableDatepicker(a))},_attachments:function(a,b){var c=this._get(b,"appendText"),d=this._get(b,"isRTL");b.append&&b.append.remove(),c&&(b.append=$('<span class="'+this._appendClass+'">'+c+"</span>"),a[d?"before":"after"](b.append)),a.unbind("focus",this._showDatepicker),b.trigger&&b.trigger.remove();var e=this._get(b,"showOn");(e=="focus"||e=="both")&&a.focus(this._showDatepicker);if(e=="button"||e=="both"){var f=this._get(b,"buttonText"),g=this._get(b,"buttonImage");b.trigger=$(this._get(b,"buttonImageOnly")?$("<img/>").addClass(this._triggerClass).attr({src:g,alt:f,title:f}):$('<button type="button"></button>').addClass(this._triggerClass).html(g==""?f:$("<img/>").attr({src:g,alt:f,title:f}))),a[d?"before":"after"](b.trigger),b.trigger.click(function(){$.datepicker._datepickerShowing&&$.datepicker._lastInput==a[0]?$.datepicker._hideDatepicker():$.datepicker._datepickerShowing&&$.datepicker._lastInput!=a[0]?($.datepicker._hideDatepicker(),$.datepicker._showDatepicker(a[0])):$.datepicker._showDatepicker(a[0]);return!1})}},_autoSize:function(a){if(this._get(a,"autoSize")&&!a.inline){var b=new Date(2009,11,20),c=this._get(a,"dateFormat");if(c.match(/[DM]/)){var d=function(a){var b=0,c=0;for(var d=0;d<a.length;d++)a[d].length>b&&(b=a[d].length,c=d);return c};b.setMonth(d(this._get(a,c.match(/MM/)?"monthNames":"monthNamesShort"))),b.setDate(d(this._get(a,c.match(/DD/)?"dayNames":"dayNamesShort"))+20-b.getDay())}a.input.attr("size",this._formatDate(a,b).length)}},_inlineDatepicker:function(a,b){var c=$(a);c.hasClass(this.markerClassName)||(c.addClass(this.markerClassName).append(b.dpDiv).bind("setData.datepicker",function(a,c,d){b.settings[c]=d}).bind("getData.datepicker",function(a,c){return this._get(b,c)}),$.data(a,PROP_NAME,b),this._setDate(b,this._getDefaultDate(b),!0),this._updateDatepicker(b),this._updateAlternate(b),b.settings.disabled&&this._disableDatepicker(a),b.dpDiv.css("display","block"))},_dialogDatepicker:function(a,b,c,d,e){var f=this._dialogInst;if(!f){this.uuid+=1;var g="dp"+this.uuid;this._dialogInput=$('<input type="text" id="'+g+'" style="position: absolute; top: -100px; width: 0px; z-index: -10;"/>'),this._dialogInput.keydown(this._doKeyDown),$("body").append(this._dialogInput),f=this._dialogInst=this._newInst(this._dialogInput,!1),f.settings={},$.data(this._dialogInput[0],PROP_NAME,f)}extendRemove(f.settings,d||{}),b=b&&b.constructor==Date?this._formatDate(f,b):b,this._dialogInput.val(b),this._pos=e?e.length?e:[e.pageX,e.pageY]:null;if(!this._pos){var h=document.documentElement.clientWidth,i=document.documentElement.clientHeight,j=document.documentElement.scrollLeft||document.body.scrollLeft,k=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[h/2-100+j,i/2-150+k]}this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),f.settings.onSelect=c,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),$.blockUI&&$.blockUI(this.dpDiv),$.data(this._dialogInput[0],PROP_NAME,f);return this},_destroyDatepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(!!b.hasClass(this.markerClassName)){var d=a.nodeName.toLowerCase();$.removeData(a,PROP_NAME),d=="input"?(c.append.remove(),c.trigger.remove(),b.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):(d=="div"||d=="span")&&b.removeClass(this.markerClassName).empty()}},_enableDatepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(!!b.hasClass(this.markerClassName)){var d=a.nodeName.toLowerCase();if(d=="input")a.disabled=!1,c.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""});else if(d=="div"||d=="span"){var e=b.children("."+this._inlineClass);e.children().removeClass("ui-state-disabled"),e.find("select.ui-datepicker-month, select.ui-datepicker-year").removeAttr("disabled")}this._disabledInputs=$.map(this._disabledInputs,function(b){return b==a?null:b})}},_disableDatepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(!!b.hasClass(this.markerClassName)){var d=a.nodeName.toLowerCase();if(d=="input")a.disabled=!0,c.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"});else if(d=="div"||d=="span"){var e=b.children("."+this._inlineClass);e.children().addClass("ui-state-disabled"),e.find("select.ui-datepicker-month, select.ui-datepicker-year").attr("disabled","disabled")}this._disabledInputs=$.map(this._disabledInputs,function(b){return b==a?null:b}),this._disabledInputs[this._disabledInputs.length]=a}},_isDisabledDatepicker:function(a){if(!a)return!1;for(var b=0;b<this._disabledInputs.length;b++)if(this._disabledInputs[b]==a)return!0;return!1},_getInst:function(a){try{return $.data(a,PROP_NAME)}catch(b){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(a,b,c){var d=this._getInst(a);if(arguments.length==2&&typeof b=="string")return b=="defaults"?$.extend({},$.datepicker._defaults):d?b=="all"?$.extend({},d.settings):this._get(d,b):null;var e=b||{};typeof b=="string"&&(e={},e[b]=c);if(d){this._curInst==d&&this._hideDatepicker();var f=this._getDateDatepicker(a,!0),g=this._getMinMaxDate(d,"min"),h=this._getMinMaxDate(d,"max");extendRemove(d.settings,e),g!==null&&e.dateFormat!==undefined&&e.minDate===undefined&&(d.settings.minDate=this._formatDate(d,g)),h!==null&&e.dateFormat!==undefined&&e.maxDate===undefined&&(d.settings.maxDate=this._formatDate(d,h)),this._attachments($(a),d),this._autoSize(d),this._setDate(d,f),this._updateAlternate(d),this._updateDatepicker(d)}},_changeDatepicker:function(a,b,c){this._optionDatepicker(a,b,c)},_refreshDatepicker:function(a){var b=this._getInst(a);b&&this._updateDatepicker(b)},_setDateDatepicker:function(a,b){var c=this._getInst(a);c&&(this._setDate(c,b),this._updateDatepicker(c),this._updateAlternate(c))},_getDateDatepicker:function(a,b){var c=this._getInst(a);c&&!c.inline&&this._setDateFromField(c,b);return c?this._getDate(c):null},_doKeyDown:function(a){var b=$.datepicker._getInst(a.target),c=!0,d=b.dpDiv.is(".ui-datepicker-rtl");b._keyEvent=!0;if($.datepicker._datepickerShowing)switch(a.keyCode){case 9:$.datepicker._hideDatepicker(),c=!1;break;case 13:var e=$("td."+$.datepicker._dayOverClass+":not(."+$.datepicker._currentClass+")",b.dpDiv);e[0]&&$.datepicker._selectDay(a.target,b.selectedMonth,b.selectedYear,e[0]);var f=$.datepicker._get(b,"onSelect");if(f){var g=$.datepicker._formatDate(b);f.apply(b.input?b.input[0]:null,[g,b])}else $.datepicker._hideDatepicker();return!1;case 27:$.datepicker._hideDatepicker();break;case 33:$.datepicker._adjustDate(a.target,a.ctrlKey?-$.datepicker._get(b,"stepBigMonths"):-$.datepicker._get(b,"stepMonths"),"M");break;case 34:$.datepicker._adjustDate(a.target,a.ctrlKey?+$.datepicker._get(b,"stepBigMonths"):+$.datepicker._get(b,"stepMonths"),"M");break;case 35:(a.ctrlKey||a.metaKey)&&$.datepicker._clearDate(a.target),c=a.ctrlKey||a.metaKey;break;case 36:(a.ctrlKey||a.metaKey)&&$.datepicker._gotoToday(a.target),c=a.ctrlKey||a.metaKey;break;case 37:(a.ctrlKey||a.metaKey)&&$.datepicker._adjustDate(a.target,d?1:-1,"D"),c=a.ctrlKey||a.metaKey,a.originalEvent.altKey&&$.datepicker._adjustDate(a.target,a.ctrlKey?-$.datepicker._get(b,"stepBigMonths"):-$.datepicker._get(b,"stepMonths"),"M");break;case 38:(a.ctrlKey||a.metaKey)&&$.datepicker._adjustDate(a.target,-7,"D"),c=a.ctrlKey||a.metaKey;break;case 39:(a.ctrlKey||a.metaKey)&&$.datepicker._adjustDate(a.target,d?-1:1,"D"),c=a.ctrlKey||a.metaKey,a.originalEvent.altKey&&$.datepicker._adjustDate(a.target,a.ctrlKey?+$.datepicker._get(b,"stepBigMonths"):+$.datepicker._get(b,"stepMonths"),"M");break;case 40:(a.ctrlKey||a.metaKey)&&$.datepicker._adjustDate(a.target,7,"D"),c=a.ctrlKey||a.metaKey;break;default:c=!1}else a.keyCode==36&&a.ctrlKey?$.datepicker._showDatepicker(this):c=!1;c&&(a.preventDefault(),a.stopPropagation())},_doKeyPress:function(a){var b=$.datepicker._getInst(a.target);if($.datepicker._get(b,"constrainInput")){var c=$.datepicker._possibleChars($.datepicker._get(b,"dateFormat")),d=String.fromCharCode(a.charCode==undefined?a.keyCode:a.charCode);return a.ctrlKey||a.metaKey||d<" "||!c||c.indexOf(d)>-1}},_doKeyUp:function(a){var b=$.datepicker._getInst(a.target);if(b.input.val()!=b.lastVal)try{var c=$.datepicker.parseDate($.datepicker._get(b,"dateFormat"),b.input?b.input.val():null,$.datepicker._getFormatConfig(b));c&&($.datepicker._setDateFromField(b),$.datepicker._updateAlternate(b),$.datepicker._updateDatepicker(b))}catch(a){$.datepicker.log(a)}return!0},_showDatepicker:function(a){a=a.target||a,a.nodeName.toLowerCase()!="input"&&(a=$("input",a.parentNode)[0]);if(!$.datepicker._isDisabledDatepicker(a)&&$.datepicker._lastInput!=a){var b=$.datepicker._getInst(a);$.datepicker._curInst&&$.datepicker._curInst!=b&&($.datepicker._curInst.dpDiv.stop(!0,!0),b&&$.datepicker._datepickerShowing&&$.datepicker._hideDatepicker($.datepicker._curInst.input[0]));var c=$.datepicker._get(b,"beforeShow"),d=c?c.apply(a,[a,b]):{};if(d===!1)return;extendRemove(b.settings,d),b.lastVal=null,$.datepicker._lastInput=a,$.datepicker._setDateFromField(b),$.datepicker._inDialog&&(a.value=""),$.datepicker._pos||($.datepicker._pos=$.datepicker._findPos(a),$.datepicker._pos[1]+=a.offsetHeight);var e=!1;$(a).parents().each(function(){e|=$(this).css("position")=="fixed";return!e}),e&&$.browser.opera&&($.datepicker._pos[0]-=document.documentElement.scrollLeft,$.datepicker._pos[1]-=document.documentElement.scrollTop);var f={left:$.datepicker._pos[0],top:$.datepicker._pos[1]};$.datepicker._pos=null,b.dpDiv.empty(),b.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),$.datepicker._updateDatepicker(b),f=$.datepicker._checkOffset(b,f,e),b.dpDiv.css({position:$.datepicker._inDialog&&$.blockUI?"static":e?"fixed":"absolute",display:"none",left:f.left+"px",top:f.top+"px"});if(!b.inline){var g=$.datepicker._get(b,"showAnim"),h=$.datepicker._get(b,"duration"),i=function(){var a=b.dpDiv.find("iframe.ui-datepicker-cover");if(!!a.length){var c=$.datepicker._getBorders(b.dpDiv);a.css({left:-c[0],top:-c[1],width:b.dpDiv.outerWidth(),height:b.dpDiv.outerHeight()})}};b.dpDiv.zIndex($(a).zIndex()+1),$.datepicker._datepickerShowing=!0,$.effects&&$.effects[g]?b.dpDiv.show(g,$.datepicker._get(b,"showOptions"),h,i):b.dpDiv[g||"show"](g?h:null,i),(!g||!h)&&i(),b.input.is(":visible")&&!b.input.is(":disabled")&&b.input.focus(),$.datepicker._curInst=b}}},_updateDatepicker:function(a){var b=this;b.maxRows=4;var c=$.datepicker._getBorders(a.dpDiv);instActive=a,a.dpDiv.empty().append(this._generateHTML(a));var d=a.dpDiv.find("iframe.ui-datepicker-cover");!d.length||d.css({left:-c[0],top:-c[1],width:a.dpDiv.outerWidth(),height:a.dpDiv.outerHeight()}),a.dpDiv.find("."+this._dayOverClass+" a").mouseover();var e=this._getNumberOfMonths(a),f=e[1],g=17;a.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),f>1&&a.dpDiv.addClass("ui-datepicker-multi-"+f).css("width",g*f+"em"),a.dpDiv[(e[0]!=1||e[1]!=1?"add":"remove")+"Class"]("ui-datepicker-multi"),a.dpDiv[(this._get(a,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),a==$.datepicker._curInst&&$.datepicker._datepickerShowing&&a.input&&a.input.is(":visible")&&!a.input.is(":disabled")&&a.input[0]!=document.activeElement&&a.input.focus();if(a.yearshtml){var h=a.yearshtml;setTimeout(function(){h===a.yearshtml&&a.yearshtml&&a.dpDiv.find("select.ui-datepicker-year:first").replaceWith(a.yearshtml),h=a.yearshtml=null},0)}},_getBorders:function(a){var b=function(a){return{thin:1,medium:2,thick:3}[a]||a};return[parseFloat(b(a.css("border-left-width"))),parseFloat(b(a.css("border-top-width")))]},_checkOffset:function(a,b,c){var d=a.dpDiv.outerWidth(),e=a.dpDiv.outerHeight(),f=a.input?a.input.outerWidth():0,g=a.input?a.input.outerHeight():0,h=document.documentElement.clientWidth+$(document).scrollLeft(),i=document.documentElement.clientHeight+$(document).scrollTop();b.left-=this._get(a,"isRTL")?d-f:0,b.left-=c&&b.left==a.input.offset().left?$(document).scrollLeft():0,b.top-=c&&b.top==a.input.offset().top+g?$(document).scrollTop():0,b.left-=Math.min(b.left,b.left+d>h&&h>d?Math.abs(b.left+d-h):0),b.top-=Math.min(b.top,b.top+e>i&&i>e?Math.abs(e+g):0);return b},_findPos:function(a){var b=this._getInst(a),c=this._get(b,"isRTL");while(a&&(a.type=="hidden"||a.nodeType!=1||$.expr.filters.hidden(a)))a=a[c?"previousSibling":"nextSibling"];var d=$(a).offset();return[d.left,d.top]},_hideDatepicker:function(a){var b=this._curInst;if(!(!b||a&&b!=$.data(a,PROP_NAME))&&this._datepickerShowing){var c=this._get(b,"showAnim"),d=this._get(b,"duration"),e=this,f=function(){$.datepicker._tidyDialog(b),e._curInst=null};$.effects&&$.effects[c]?b.dpDiv.hide(c,$.datepicker._get(b,"showOptions"),d,f):b.dpDiv[c=="slideDown"?"slideUp":c=="fadeIn"?"fadeOut":"hide"](c?d:null,f),c||f(),this._datepickerShowing=!1;var g=this._get(b,"onClose");g&&g.apply(b.input?b.input[0]:null,[b.input?b.input.val():"",b]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),$.blockUI&&($.unblockUI(),$("body").append(this.dpDiv))),this._inDialog=!1}},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(a){if(!!$.datepicker._curInst){var b=$(a.target),c=$.datepicker._getInst(b[0]);(b[0].id!=$.datepicker._mainDivId&&b.parents("#"+$.datepicker._mainDivId).length==0&&!b.hasClass($.datepicker.markerClassName)&&!b.closest("."+$.datepicker._triggerClass).length&&$.datepicker._datepickerShowing&&(!$.datepicker._inDialog||!$.blockUI)||b.hasClass($.datepicker.markerClassName)&&$.datepicker._curInst!=c)&&$.datepicker._hideDatepicker()}},_adjustDate:function(a,b,c){var d=$(a),e=this._getInst(d[0]);this._isDisabledDatepicker(d[0])||(this._adjustInstDate(e,b+(c=="M"?this._get(e,"showCurrentAtPos"):0),c),this._updateDatepicker(e))},_gotoToday:function(a){var b=$(a),c=this._getInst(b[0]);if(this._get(c,"gotoCurrent")&&c.currentDay)c.selectedDay=c.currentDay,c.drawMonth=c.selectedMonth=c.currentMonth,c.drawYear=c.selectedYear=c.currentYear;else{var d=new Date;c.selectedDay=d.getDate(),c.drawMonth=c.selectedMonth=d.getMonth(),c.drawYear=c.selectedYear=d.getFullYear()}this._notifyChange(c),this._adjustDate(b)},_selectMonthYear:function(a,b,c){var d=$(a),e=this._getInst(d[0]);e["selected"+(c=="M"?"Month":"Year")]=e["draw"+(c=="M"?"Month":"Year")]=parseInt(b.options[b.selectedIndex].value,10),this._notifyChange(e),this._adjustDate(d)},_selectDay:function(a,b,c,d){var e=$(a);if(!$(d).hasClass(this._unselectableClass)&&!this._isDisabledDatepicker(e[0])){var f=this._getInst(e[0]);f.selectedDay=f.currentDay=$("a",d).html(),f.selectedMonth=f.currentMonth=b,f.selectedYear=f.currentYear=c,this._selectDate(a,this._formatDate(f,f.currentDay,f.currentMonth,f.currentYear))}},_clearDate:function(a){var b=$(a),c=this._getInst(b[0]);this._selectDate(b,"")},_selectDate:function(a,b){var c=$(a),d=this._getInst(c[0]);b=b!=null?b:this._formatDate(d),d.input&&d.input.val(b),this._updateAlternate(d);var e=this._get(d,"onSelect");e?e.apply(d.input?d.input[0]:null,[b,d]):d.input&&d.input.trigger("change"),d.inline?this._updateDatepicker(d):(this._hideDatepicker(),this._lastInput=d.input[0],typeof d.input[0]!="object"&&d.input.focus(),this._lastInput=null)},_updateAlternate:function(a){var b=this._get(a,"altField");if(b){var c=this._get(a,"altFormat")||this._get(a,"dateFormat"),d=this._getDate(a),e=this.formatDate(c,d,this._getFormatConfig(a));$(b).each(function(){$(this).val(e)})}},noWeekends:function(a){var b=a.getDay();return[b>0&&b<6,""]},iso8601Week:function(a){var b=new Date(a.getTime());b.setDate(b.getDate()+4-(b.getDay()||7));var c=b.getTime();b.setMonth(0),b.setDate(1);return Math.floor(Math.round((c-b)/864e5)/7)+1},parseDate:function(a,b,c){if(a==null||b==null)throw"Invalid arguments";b=typeof b=="object"?b.toString():b+"";if(b=="")return null;var d=(c?c.shortYearCutoff:null)||this._defaults.shortYearCutoff;d=typeof d!="string"?d:(new Date).getFullYear()%100+parseInt(d,10);var e=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,f=(c?c.dayNames:null)||this._defaults.dayNames,g=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort,h=(c?c.monthNames:null)||this._defaults.monthNames,i=-1,j=-1,k=-1,l=-1,m=!1,n=function(b){var c=s+1<a.length&&a.charAt(s+1)==b;c&&s++;return c},o=function(a){var c=n(a),d=a=="@"?14:a=="!"?20:a=="y"&&c?4:a=="o"?3:2,e=new RegExp("^\\d{1,"+d+"}"),f=b.substring(r).match(e);if(!f)throw"Missing number at position "+r;r+=f[0].length;return parseInt(f[0],10)},p=function(a,c,d){var e=$.map(n(a)?d:c,function(a,b){return[[b,a]]}).sort(function(a,b){return-(a[1].length-b[1].length)}),f=-1;$.each(e,function(a,c){var d=c[1];if(b.substr(r,d.length).toLowerCase()==d.toLowerCase()){f=c[0],r+=d.length;return!1}});if(f!=-1)return f+1;throw"Unknown name at position "+r},q=function(){if(b.charAt(r)!=a.charAt(s))throw"Unexpected literal at position "+r;r++},r=0;for(var s=0;s<a.length;s++)if(m)a.charAt(s)=="'"&&!n("'")?m=!1:q();else switch(a.charAt(s)){case"d":k=o("d");break;case"D":p("D",e,f);break;case"o":l=o("o");break;case"m":j=o("m");break;case"M":j=p("M",g,h);break;case"y":i=o("y");break;case"@":var t=new Date(o("@"));i=t.getFullYear(),j=t.getMonth()+1,k=t.getDate();break;case"!":var t=new Date((o("!")-this._ticksTo1970)/1e4);i=t.getFullYear(),j=t.getMonth()+1,k=t.getDate();break;case"'":n("'")?q():m=!0;break;default:q()}if(r<b.length)throw"Extra/unparsed characters found in date: "+b.substring(r);i==-1?i=(new Date).getFullYear():i<100&&(i+=(new Date).getFullYear()-(new Date).getFullYear()%100+(i<=d?0:-100));if(l>-1){j=1,k=l;for(;;){var u=this._getDaysInMonth(i,j-1);if(k<=u)break;j++,k-=u}}var t=this._daylightSavingAdjust(new Date(i,j-1,k));if(t.getFullYear()!=i||t.getMonth()+1!=j||t.getDate()!=k)throw"Invalid date";return t},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*24*60*60*1e7,formatDate:function(a,b,c){if(!b)return"";var d=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,e=(c?c.dayNames:null)||this._defaults.dayNames,f=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort,g=(c?c.monthNames:null)||this._defaults.monthNames,h=function(b){var c=m+1<a.length&&a.charAt(m+1)==b;c&&m++;return c},i=function(a,b,c){var d=""+b;if(h(a))while(d.length<c)d="0"+d;return d},j=function(a,b,c,d){return h(a)?d[b]:c[b]},k="",l=!1;if(b)for(var m=0;m<a.length;m++)if(l)a.charAt(m)=="'"&&!h("'")?l=!1:k+=a.charAt(m);else switch(a.charAt(m)){case"d":k+=i("d",b.getDate(),2);break;case"D":k+=j("D",b.getDay(),d,e);break;case"o":k+=i("o",Math.round(((new Date(b.getFullYear(),b.getMonth(),b.getDate())).getTime()-(new Date(b.getFullYear(),0,0)).getTime())/864e5),3);break;case"m":k+=i("m",b.getMonth()+1,2);break;case"M":k+=j("M",b.getMonth(),f,g);break;case"y":k+=h("y")?b.getFullYear():(b.getYear()%100<10?"0":"")+b.getYear()%100;break;case"@":k+=b.getTime();break;case"!":k+=b.getTime()*1e4+this._ticksTo1970;break;case"'":h("'")?k+="'":l=!0;break;default:k+=a.charAt(m)}return k},_possibleChars:function(a){var b="",c=!1,d=function(b){var c=e+1<a.length&&a.charAt(e+1)==b;c&&e++;return c};for(var e=0;e<a.length;e++)if(c)a.charAt(e)=="'"&&!d("'")?c=!1:b+=a.charAt(e);else switch(a.charAt(e)){case"d":case"m":case"y":case"@":b+="0123456789";break;case"D":case"M":return null;case"'":d("'")?b+="'":c=!0;break;default:b+=a.charAt(e)}return b},_get:function(a,b){return a.settings[b]!==undefined?a.settings[b]:this._defaults[b]},_setDateFromField:function(a,b){if(a.input.val()!=a.lastVal){var c=this._get(a,"dateFormat"),d=a.lastVal=a.input?a.input.val():null,e,f;e=f=this._getDefaultDate(a);var g=this._getFormatConfig(a);try{e=this.parseDate(c,d,g)||f}catch(h){this.log(h),d=b?"":d}a.selectedDay=e.getDate(),a.drawMonth=a.selectedMonth=e.getMonth(),a.drawYear=a.selectedYear=e.getFullYear(),a.currentDay=d?e.getDate():0,a.currentMonth=d?e.getMonth():0,a.currentYear=d?e.getFullYear():0,this._adjustInstDate(a)}},_getDefaultDate:function(a){return this._restrictMinMax(a,this._determineDate(a,this._get(a,"defaultDate"),new Date))},_determineDate:function(a,b,c){var d=function(a){var b=new Date;b.setDate(b.getDate()+a);return b},e=function(b){try{return $.datepicker.parseDate($.datepicker._get(a,"dateFormat"),b,$.datepicker._getFormatConfig(a))}catch(c){}var d=(b.toLowerCase().match(/^c/)?$.datepicker._getDate(a):null)||new Date,e=d.getFullYear(),f=d.getMonth(),g=d.getDate(),h=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,i=h.exec(b);while(i){switch(i[2]||"d"){case"d":case"D":g+=parseInt(i[1],10);break;case"w":case"W":g+=parseInt(i[1],10)*7;break;case"m":case"M":f+=parseInt(i[1],10),g=Math.min(g,$.datepicker._getDaysInMonth(e,f));break;case"y":case"Y":e+=parseInt(i[1],10),g=Math.min(g,$.datepicker._getDaysInMonth(e,f))}i=h.exec(b)}return new Date(e,f,g)},f=b==null||b===""?c:typeof b=="string"?e(b):typeof b=="number"?isNaN(b)?c:d(b):new Date(b.getTime());f=f&&f.toString()=="Invalid Date"?c:f,f&&(f.setHours(0),f.setMinutes(0),f.setSeconds(0),f.setMilliseconds(0));return this._daylightSavingAdjust(f)},_daylightSavingAdjust:function(a){if(!a)return null;a.setHours(a.getHours()>12?a.getHours()+2:0);return a},_setDate:function(a,b,c){var d=!b,e=a.selectedMonth,f=a.selectedYear,g=this._restrictMinMax(a,this._determineDate(a,b,new Date));a.selectedDay=a.currentDay=g.getDate(),a.drawMonth=a.selectedMonth=a.currentMonth=g.getMonth(),a.drawYear=a.selectedYear=a.currentYear=g.getFullYear(),(e!=a.selectedMonth||f!=a.selectedYear)&&!c&&this._notifyChange(a),this._adjustInstDate(a),a.input&&a.input.val(d?"":this._formatDate(a))},_getDate:function(a){var b=!a.currentYear||a.input&&a.input.val()==""?null:this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return b},_generateHTML:function(a){var b=new Date;b=this._daylightSavingAdjust(new Date(b.getFullYear(),b.getMonth(),b.getDate()));var c=this._get(a,"isRTL"),d=this._get(a,"showButtonPanel"),e=this._get(a,"hideIfNoPrevNext"),f=this._get(a,"navigationAsDateFormat"),g=this._getNumberOfMonths(a),h=this._get(a,"showCurrentAtPos"),i=this._get(a,"stepMonths"),j=g[0]!=1||g[1]!=1,k=this._daylightSavingAdjust(a.currentDay?new Date(a.currentYear,a.currentMonth,a.currentDay):new Date(9999,9,9)),l=this._getMinMaxDate(a,"min"),m=this._getMinMaxDate(a,"max"),n=a.drawMonth-h,o=a.drawYear;n<0&&(n+=12,o--);if(m){var p=this._daylightSavingAdjust(new Date(m.getFullYear(),m.getMonth()-g[0]*g[1]+1,m.getDate()));p=l&&p<l?l:p;while(this._daylightSavingAdjust(new Date(o,n,1))>p)n--,n<0&&(n=11,o--)}a.drawMonth=n,a.drawYear=o;var q=this._get(a,"prevText");q=f?this.formatDate(q,this._daylightSavingAdjust(new Date(o,n-i,1)),this._getFormatConfig(a)):q;var r=this._canAdjustMonth(a,-1,o,n)?'<a class="ui-datepicker-prev ui-corner-all" onclick="DP_jQuery_'+dpuuid+".datepicker._adjustDate('#"+a.id+"', -"+i+", 'M');\""+' title="'+q+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"e":"w")+'">'+q+"</span></a>":e?"":'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+q+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"e":"w")+'">'+q+"</span></a>",s=this._get(a,"nextText");s=f?this.formatDate(s,this._daylightSavingAdjust(new Date(o,n+i,1)),this._getFormatConfig(a)):s;var t=this._canAdjustMonth(a,1,o,n)?'<a class="ui-datepicker-next ui-corner-all" onclick="DP_jQuery_'+dpuuid+".datepicker._adjustDate('#"+a.id+"', +"+i+", 'M');\""+' title="'+s+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"w":"e")+'">'+s+"</span></a>":e?"":'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+s+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"w":"e")+'">'+s+"</span></a>",u=this._get(a,"currentText"),v=this._get(a,"gotoCurrent")&&a.currentDay?k:b;u=f?this.formatDate(u,v,this._getFormatConfig(a)):u;var w=a.inline?"":'<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" onclick="DP_jQuery_'+dpuuid+'.datepicker._hideDatepicker();">'+this._get(a,"closeText")+"</button>",x=d?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(c?w:"")+(this._isInRange(a,v)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" onclick="DP_jQuery_'+dpuuid+".datepicker._gotoToday('#"+a.id+"');\""+">"+u+"</button>":"")+(c?"":w)+"</div>":"",y=parseInt(this._get(a,"firstDay"),10);y=isNaN(y)?0:y;var z=this._get(a,"showWeek"),A=this._get(a,"dayNames"),B=this._get(a,"dayNamesShort"),C=this._get(a,"dayNamesMin"),D=this._get(a,"monthNames"),E=this._get(a,"monthNamesShort"),F=this._get(a,"beforeShowDay"),G=this._get(a,"showOtherMonths"),H=this._get(a,"selectOtherMonths"),I=this._get(a,"calculateWeek")||this.iso8601Week,J=this._getDefaultDate(a),K="";for(var L=0;L<g[0];L++){var M="";this.maxRows=4;for(var N=0;N<g[1];N++){var O=this._daylightSavingAdjust(new Date(o,n,a.selectedDay)),P=" ui-corner-all",Q="";if(j){Q+='<div class="ui-datepicker-group';if(g[1]>1)switch(N){case 0:Q+=" ui-datepicker-group-first",P=" ui-corner-"+(c?"right":"left");break;case g[1]-1:Q+=" ui-datepicker-group-last",P=" ui-corner-"+(c?"left":"right");break;default:Q+=" ui-datepicker-group-middle",P=""}Q+='">'}Q+='<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+P+'">'+(/all|left/.test(P)&&L==0?c?t:r:"")+(/all|right/.test(P)&&L==0?c?r:t:"")+this._generateMonthYearHeader(a,n,o,l,m,L>0||N>0,D,E)+'</div><table class="ui-datepicker-calendar"><thead>'+"<tr>";var R=z?'<th class="ui-datepicker-week-col">'+this._get(a,"weekHeader")+"</th>":"";for(var S=0;S<7;S++){var T=(S+y)%7;R+="<th"+((S+y+6)%7>=5?' class="ui-datepicker-week-end"':"")+">"+'<span title="'+A[T]+'">'+C[T]+"</span></th>"}Q+=R+"</tr></thead><tbody>";var U=this._getDaysInMonth(o,n);o==a.selectedYear&&n==a.selectedMonth&&(a.selectedDay=Math.min(a.selectedDay,U));var V=(this._getFirstDayOfMonth(o,n)-y+7)%7,W=Math.ceil((V+U)/7),X=j?this.maxRows>W?this.maxRows:W:W;this.maxRows=X;var Y=this._daylightSavingAdjust(new Date(o,n,1-V));for(var Z=0;Z<X;Z++){Q+="<tr>";var _=z?'<td class="ui-datepicker-week-col">'+this._get(a,"calculateWeek")(Y)+"</td>":"";for(var S=0;S<7;S++){var ba=F?F.apply(a.input?a.input[0]:null,[Y]):[!0,""],bb=Y.getMonth()!=n,bc=bb&&!H||!ba[0]||l&&Y<l||m&&Y>m;_+='<td class="'+((S+y+6)%7>=5?" ui-datepicker-week-end":"")+(bb?" ui-datepicker-other-month":"")+(Y.getTime()==O.getTime()&&n==a.selectedMonth&&a._keyEvent||J.getTime()==Y.getTime()&&J.getTime()==O.getTime()?" "+this._dayOverClass:"")+(bc?" "+this._unselectableClass+" ui-state-disabled":"")+(bb&&!G?"":" "+ba[1]+(Y.getTime()==k.getTime()?" "+this._currentClass:"")+(Y.getTime()==b.getTime()?" ui-datepicker-today":""))+'"'+((!bb||G)&&ba[2]?' title="'+ba[2]+'"':"")+(bc?"":' onclick="DP_jQuery_'+dpuuid+".datepicker._selectDay('#"+a.id+"',"+Y.getMonth()+","+Y.getFullYear()+', this);return false;"')+">"+(bb&&!G?"&#xa0;":bc?'<span class="ui-state-default">'+Y.getDate()+"</span>":'<a class="ui-state-default'+(Y.getTime()==b.getTime()?" ui-state-highlight":"")+(Y.getTime()==k.getTime()?" ui-state-active":"")+(bb?" ui-priority-secondary":"")+'" href="#">'+Y.getDate()+"</a>")+"</td>",Y.setDate(Y.getDate()+1),Y=this._daylightSavingAdjust(Y)}Q+=_+"</tr>"}n++,n>11&&(n=0,o++),Q+="</tbody></table>"+(j?"</div>"+(g[0]>0&&N==g[1]-1?'<div class="ui-datepicker-row-break"></div>':""):""),M+=Q}K+=M}K+=x+($.browser.msie&&parseInt($.browser.version,10)<7&&!a.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':""),
+a._keyEvent=!1;return K},_generateMonthYearHeader:function(a,b,c,d,e,f,g,h){var i=this._get(a,"changeMonth"),j=this._get(a,"changeYear"),k=this._get(a,"showMonthAfterYear"),l='<div class="ui-datepicker-title">',m="";if(f||!i)m+='<span class="ui-datepicker-month">'+g[b]+"</span>";else{var n=d&&d.getFullYear()==c,o=e&&e.getFullYear()==c;m+='<select class="ui-datepicker-month" onchange="DP_jQuery_'+dpuuid+".datepicker._selectMonthYear('#"+a.id+"', this, 'M');\" "+">";for(var p=0;p<12;p++)(!n||p>=d.getMonth())&&(!o||p<=e.getMonth())&&(m+='<option value="'+p+'"'+(p==b?' selected="selected"':"")+">"+h[p]+"</option>");m+="</select>"}k||(l+=m+(f||!i||!j?"&#xa0;":""));if(!a.yearshtml){a.yearshtml="";if(f||!j)l+='<span class="ui-datepicker-year">'+c+"</span>";else{var q=this._get(a,"yearRange").split(":"),r=(new Date).getFullYear(),s=function(a){var b=a.match(/c[+-].*/)?c+parseInt(a.substring(1),10):a.match(/[+-].*/)?r+parseInt(a,10):parseInt(a,10);return isNaN(b)?r:b},t=s(q[0]),u=Math.max(t,s(q[1]||""));t=d?Math.max(t,d.getFullYear()):t,u=e?Math.min(u,e.getFullYear()):u,a.yearshtml+='<select class="ui-datepicker-year" onchange="DP_jQuery_'+dpuuid+".datepicker._selectMonthYear('#"+a.id+"', this, 'Y');\" "+">";for(;t<=u;t++)a.yearshtml+='<option value="'+t+'"'+(t==c?' selected="selected"':"")+">"+t+"</option>";a.yearshtml+="</select>",l+=a.yearshtml,a.yearshtml=null}}l+=this._get(a,"yearSuffix"),k&&(l+=(f||!i||!j?"&#xa0;":"")+m),l+="</div>";return l},_adjustInstDate:function(a,b,c){var d=a.drawYear+(c=="Y"?b:0),e=a.drawMonth+(c=="M"?b:0),f=Math.min(a.selectedDay,this._getDaysInMonth(d,e))+(c=="D"?b:0),g=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(d,e,f)));a.selectedDay=g.getDate(),a.drawMonth=a.selectedMonth=g.getMonth(),a.drawYear=a.selectedYear=g.getFullYear(),(c=="M"||c=="Y")&&this._notifyChange(a)},_restrictMinMax:function(a,b){var c=this._getMinMaxDate(a,"min"),d=this._getMinMaxDate(a,"max"),e=c&&b<c?c:b;e=d&&e>d?d:e;return e},_notifyChange:function(a){var b=this._get(a,"onChangeMonthYear");b&&b.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){var b=this._get(a,"numberOfMonths");return b==null?[1,1]:typeof b=="number"?[1,b]:b},_getMinMaxDate:function(a,b){return this._determineDate(a,this._get(a,b+"Date"),null)},_getDaysInMonth:function(a,b){return 32-this._daylightSavingAdjust(new Date(a,b,32)).getDate()},_getFirstDayOfMonth:function(a,b){return(new Date(a,b,1)).getDay()},_canAdjustMonth:function(a,b,c,d){var e=this._getNumberOfMonths(a),f=this._daylightSavingAdjust(new Date(c,d+(b<0?b:e[0]*e[1]),1));b<0&&f.setDate(this._getDaysInMonth(f.getFullYear(),f.getMonth()));return this._isInRange(a,f)},_isInRange:function(a,b){var c=this._getMinMaxDate(a,"min"),d=this._getMinMaxDate(a,"max");return(!c||b.getTime()>=c.getTime())&&(!d||b.getTime()<=d.getTime())},_getFormatConfig:function(a){var b=this._get(a,"shortYearCutoff");b=typeof b!="string"?b:(new Date).getFullYear()%100+parseInt(b,10);return{shortYearCutoff:b,dayNamesShort:this._get(a,"dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}},_formatDate:function(a,b,c,d){b||(a.currentDay=a.selectedDay,a.currentMonth=a.selectedMonth,a.currentYear=a.selectedYear);var e=b?typeof b=="object"?b:this._daylightSavingAdjust(new Date(d,c,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,"dateFormat"),e,this._getFormatConfig(a))}}),$.fn.datepicker=function(a){if(!this.length)return this;$.datepicker.initialized||($(document).mousedown($.datepicker._checkExternalClick).find("body").append($.datepicker.dpDiv),$.datepicker.initialized=!0);var b=Array.prototype.slice.call(arguments,1);if(typeof a=="string"&&(a=="isDisabled"||a=="getDate"||a=="widget"))return $.datepicker["_"+a+"Datepicker"].apply($.datepicker,[this[0]].concat(b));if(a=="option"&&arguments.length==2&&typeof arguments[1]=="string")return $.datepicker["_"+a+"Datepicker"].apply($.datepicker,[this[0]].concat(b));return this.each(function(){typeof a=="string"?$.datepicker["_"+a+"Datepicker"].apply($.datepicker,[this].concat(b)):$.datepicker._attachDatepicker(this,a)})},$.datepicker=new Datepicker,$.datepicker.initialized=!1,$.datepicker.uuid=(new Date).getTime(),$.datepicker.version="1.8.18",window["DP_jQuery_"+dpuuid]=$})(jQuery);/*
+ * jQuery UI Progressbar 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Progressbar
+ *
+ * Depends:
+ * jquery.ui.core.js
+ * jquery.ui.widget.js
+ */(function(a,b){a.widget("ui.progressbar",{options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()}),this.valueDiv=a("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element),this.oldValue=this._value(),this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove(),a.Widget.prototype.destroy.apply(this,arguments)},value:function(a){if(a===b)return this._value();this._setOption("value",a);return this},_setOption:function(b,c){b==="value"&&(this.options.value=c,this._refreshValue(),this._value()===this.options.max&&this._trigger("complete")),a.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var a=this.options.value;typeof a!="number"&&(a=0);return Math.min(this.options.max,Math.max(this.min,a))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var a=this.value(),b=this._percentage();this.oldValue!==a&&(this.oldValue=a,this._trigger("change")),this.valueDiv.toggle(a>this.min).toggleClass("ui-corner-right",a===this.options.max).width(b.toFixed(0)+"%"),this.element.attr("aria-valuenow",a)}}),a.extend(a.ui.progressbar,{version:"1.8.18"})})(jQuery);/*
+ * jQuery UI Effects 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Effects/
+ */jQuery.effects||function(a,b){function l(b){if(!b||typeof b=="number"||a.fx.speeds[b])return!0;if(typeof b=="string"&&!a.effects[b])return!0;return!1}function k(b,c,d,e){typeof b=="object"&&(e=c,d=null,c=b,b=c.effect),a.isFunction(c)&&(e=c,d=null,c={});if(typeof c=="number"||a.fx.speeds[c])e=d,d=c,c={};a.isFunction(d)&&(e=d,d=null),c=c||{},d=d||c.duration,d=a.fx.off?0:typeof d=="number"?d:d in a.fx.speeds?a.fx.speeds[d]:a.fx.speeds._default,e=e||c.complete;return[b,c,d,e]}function j(a,b){var c={_:0},d;for(d in b)a[d]!=b[d]&&(c[d]=b[d]);return c}function i(b){var c,d;for(c in b)d=b[c],(d==null||a.isFunction(d)||c in g||/scrollbar/.test(c)||!/color/i.test(c)&&isNaN(parseFloat(d)))&&delete b[c];return b}function h(){var a=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,b={},c,d;if(a&&a.length&&a[0]&&a[a[0]]){var e=a.length;while(e--)c=a[e],typeof a[c]=="string"&&(d=c.replace(/\-(\w)/g,function(a,b){return b.toUpperCase()}),b[d]=a[c])}else for(c in a)typeof a[c]=="string"&&(b[c]=a[c]);return b}function d(b,d){var e;do{e=a.curCSS(b,d);if(e!=""&&e!="transparent"||a.nodeName(b,"body"))break;d="backgroundColor"}while(b=b.parentNode);return c(e)}function c(b){var c;if(b&&b.constructor==Array&&b.length==3)return b;if(c=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(b))return[parseInt(c[1],10),parseInt(c[2],10),parseInt(c[3],10)];if(c=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(b))return[parseFloat(c[1])*2.55,parseFloat(c[2])*2.55,parseFloat(c[3])*2.55];if(c=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(b))return[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16)];if(c=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(b))return[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)];if(c=/rgba\(0, 0, 0, 0\)/.exec(b))return e.transparent;return e[a.trim(b).toLowerCase()]}a.effects={},a.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","borderColor","color","outlineColor"],function(b,e){a.fx.step[e]=function(a){a.colorInit||(a.start=d(a.elem,e),a.end=c(a.end),a.colorInit=!0),a.elem.style[e]="rgb("+Math.max(Math.min(parseInt(a.pos*(a.end[0]-a.start[0])+a.start[0],10),255),0)+","+Math.max(Math.min(parseInt(a.pos*(a.end[1]-a.start[1])+a.start[1],10),255),0)+","+Math.max(Math.min(parseInt(a.pos*(a.end[2]-a.start[2])+a.start[2],10),255),0)+")"}});var e={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},f=["add","remove","toggle"],g={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};a.effects.animateClass=function(b,c,d,e){a.isFunction(d)&&(e=d,d=null);return this.queue(function(){var g=a(this),k=g.attr("style")||" ",l=i(h.call(this)),m,n=g.attr("class");a.each(f,function(a,c){b[c]&&g[c+"Class"](b[c])}),m=i(h.call(this)),g.attr("class",n),g.animate(j(l,m),{queue:!1,duration:c,easing:d,complete:function(){a.each(f,function(a,c){b[c]&&g[c+"Class"](b[c])}),typeof g.attr("style")=="object"?(g.attr("style").cssText="",g.attr("style").cssText=k):g.attr("style",k),e&&e.apply(this,arguments),a.dequeue(this)}})})},a.fn.extend({_addClass:a.fn.addClass,addClass:function(b,c,d,e){return c?a.effects.animateClass.apply(this,[{add:b},c,d,e]):this._addClass(b)},_removeClass:a.fn.removeClass,removeClass:function(b,c,d,e){return c?a.effects.animateClass.apply(this,[{remove:b},c,d,e]):this._removeClass(b)},_toggleClass:a.fn.toggleClass,toggleClass:function(c,d,e,f,g){return typeof d=="boolean"||d===b?e?a.effects.animateClass.apply(this,[d?{add:c}:{remove:c},e,f,g]):this._toggleClass(c,d):a.effects.animateClass.apply(this,[{toggle:c},d,e,f])},switchClass:function(b,c,d,e,f){return a.effects.animateClass.apply(this,[{add:c,remove:b},d,e,f])}}),a.extend(a.effects,{version:"1.8.18",save:function(a,b){for(var c=0;c<b.length;c++)b[c]!==null&&a.data("ec.storage."+b[c],a[0].style[b[c]])},restore:function(a,b){for(var c=0;c<b.length;c++)b[c]!==null&&a.css(b[c],a.data("ec.storage."+b[c]))},setMode:function(a,b){b=="toggle"&&(b=a.is(":hidden")?"show":"hide");return b},getBaseline:function(a,b){var c,d;switch(a[0]){case"top":c=0;break;case"middle":c=.5;break;case"bottom":c=1;break;default:c=a[0]/b.height}switch(a[1]){case"left":d=0;break;case"center":d=.5;break;case"right":d=1;break;default:d=a[1]/b.width}return{x:d,y:c}},createWrapper:function(b){if(b.parent().is(".ui-effects-wrapper"))return b.parent();var c={width:b.outerWidth(!0),height:b.outerHeight(!0),"float":b.css("float")},d=a("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e=document.activeElement;b.wrap(d),(b[0]===e||a.contains(b[0],e))&&a(e).focus(),d=b.parent(),b.css("position")=="static"?(d.css({position:"relative"}),b.css({position:"relative"})):(a.extend(c,{position:b.css("position"),zIndex:b.css("z-index")}),a.each(["top","left","bottom","right"],function(a,d){c[d]=b.css(d),isNaN(parseInt(c[d],10))&&(c[d]="auto")}),b.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"}));return d.css(c).show()},removeWrapper:function(b){var c,d=document.activeElement;if(b.parent().is(".ui-effects-wrapper")){c=b.parent().replaceWith(b),(b[0]===d||a.contains(b[0],d))&&a(d).focus();return c}return b},setTransition:function(b,c,d,e){e=e||{},a.each(c,function(a,c){unit=b.cssUnit(c),unit[0]>0&&(e[c]=unit[0]*d+unit[1])});return e}}),a.fn.extend({effect:function(b,c,d,e){var f=k.apply(this,arguments),g={options:f[1],duration:f[2],callback:f[3]},h=g.options.mode,i=a.effects[b];if(a.fx.off||!i)return h?this[h](g.duration,g.callback):this.each(function(){g.callback&&g.callback.call(this)});return i.call(this,g)},_show:a.fn.show,show:function(a){if(l(a))return this._show.apply(this,arguments);var b=k.apply(this,arguments);b[1].mode="show";return this.effect.apply(this,b)},_hide:a.fn.hide,hide:function(a){if(l(a))return this._hide.apply(this,arguments);var b=k.apply(this,arguments);b[1].mode="hide";return this.effect.apply(this,b)},__toggle:a.fn.toggle,toggle:function(b){if(l(b)||typeof b=="boolean"||a.isFunction(b))return this.__toggle.apply(this,arguments);var c=k.apply(this,arguments);c[1].mode="toggle";return this.effect.apply(this,c)},cssUnit:function(b){var c=this.css(b),d=[];a.each(["em","px","%","pt"],function(a,b){c.indexOf(b)>0&&(d=[parseFloat(c),b])});return d}}),a.easing.jswing=a.easing.swing,a.extend(a.easing,{def:"easeOutQuad",swing:function(b,c,d,e,f){return a.easing[a.easing.def](b,c,d,e,f)},easeInQuad:function(a,b,c,d,e){return d*(b/=e)*b+c},easeOutQuad:function(a,b,c,d,e){return-d*(b/=e)*(b-2)+c},easeInOutQuad:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b+c;return-d/2*(--b*(b-2)-1)+c},easeInCubic:function(a,b,c,d,e){return d*(b/=e)*b*b+c},easeOutCubic:function(a,b,c,d,e){return d*((b=b/e-1)*b*b+1)+c},easeInOutCubic:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b*b+c;return d/2*((b-=2)*b*b+2)+c},easeInQuart:function(a,b,c,d,e){return d*(b/=e)*b*b*b+c},easeOutQuart:function(a,b,c,d,e){return-d*((b=b/e-1)*b*b*b-1)+c},easeInOutQuart:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b*b*b+c;return-d/2*((b-=2)*b*b*b-2)+c},easeInQuint:function(a,b,c,d,e){return d*(b/=e)*b*b*b*b+c},easeOutQuint:function(a,b,c,d,e){return d*((b=b/e-1)*b*b*b*b+1)+c},easeInOutQuint:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b*b*b*b+c;return d/2*((b-=2)*b*b*b*b+2)+c},easeInSine:function(a,b,c,d,e){return-d*Math.cos(b/e*(Math.PI/2))+d+c},easeOutSine:function(a,b,c,d,e){return d*Math.sin(b/e*(Math.PI/2))+c},easeInOutSine:function(a,b,c,d,e){return-d/2*(Math.cos(Math.PI*b/e)-1)+c},easeInExpo:function(a,b,c,d,e){return b==0?c:d*Math.pow(2,10*(b/e-1))+c},easeOutExpo:function(a,b,c,d,e){return b==e?c+d:d*(-Math.pow(2,-10*b/e)+1)+c},easeInOutExpo:function(a,b,c,d,e){if(b==0)return c;if(b==e)return c+d;if((b/=e/2)<1)return d/2*Math.pow(2,10*(b-1))+c;return d/2*(-Math.pow(2,-10*--b)+2)+c},easeInCirc:function(a,b,c,d,e){return-d*(Math.sqrt(1-(b/=e)*b)-1)+c},easeOutCirc:function(a,b,c,d,e){return d*Math.sqrt(1-(b=b/e-1)*b)+c},easeInOutCirc:function(a,b,c,d,e){if((b/=e/2)<1)return-d/2*(Math.sqrt(1-b*b)-1)+c;return d/2*(Math.sqrt(1-(b-=2)*b)+1)+c},easeInElastic:function(a,b,c,d,e){var f=1.70158,g=0,h=d;if(b==0)return c;if((b/=e)==1)return c+d;g||(g=e*.3);if(h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);return-(h*Math.pow(2,10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g))+c},easeOutElastic:function(a,b,c,d,e){var f=1.70158,g=0,h=d;if(b==0)return c;if((b/=e)==1)return c+d;g||(g=e*.3);if(h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);return h*Math.pow(2,-10*b)*Math.sin((b*e-f)*2*Math.PI/g)+d+c},easeInOutElastic:function(a,b,c,d,e){var f=1.70158,g=0,h=d;if(b==0)return c;if((b/=e/2)==2)return c+d;g||(g=e*.3*1.5);if(h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);if(b<1)return-0.5*h*Math.pow(2,10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g)+c;return h*Math.pow(2,-10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g)*.5+d+c},easeInBack:function(a,c,d,e,f,g){g==b&&(g=1.70158);return e*(c/=f)*c*((g+1)*c-g)+d},easeOutBack:function(a,c,d,e,f,g){g==b&&(g=1.70158);return e*((c=c/f-1)*c*((g+1)*c+g)+1)+d},easeInOutBack:function(a,c,d,e,f,g){g==b&&(g=1.70158);if((c/=f/2)<1)return e/2*c*c*(((g*=1.525)+1)*c-g)+d;return e/2*((c-=2)*c*(((g*=1.525)+1)*c+g)+2)+d},easeInBounce:function(b,c,d,e,f){return e-a.easing.easeOutBounce(b,f-c,0,e,f)+d},easeOutBounce:function(a,b,c,d,e){return(b/=e)<1/2.75?d*7.5625*b*b+c:b<2/2.75?d*(7.5625*(b-=1.5/2.75)*b+.75)+c:b<2.5/2.75?d*(7.5625*(b-=2.25/2.75)*b+.9375)+c:d*(7.5625*(b-=2.625/2.75)*b+.984375)+c},easeInOutBounce:function(b,c,d,e,f){if(c<f/2)return a.easing.easeInBounce(b,c*2,0,e,f)*.5+d;return a.easing.easeOutBounce(b,c*2-f,0,e,f)*.5+e*.5+d}})}(jQuery);/*
+ * jQuery UI Effects Blind 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Effects/Blind
+ *
+ * Depends:
+ * jquery.effects.core.js
+ */(function(a,b){a.effects.blind=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right"],e=a.effects.setMode(c,b.options.mode||"hide"),f=b.options.direction||"vertical";a.effects.save(c,d),c.show();var g=a.effects.createWrapper(c).css({overflow:"hidden"}),h=f=="vertical"?"height":"width",i=f=="vertical"?g.height():g.width();e=="show"&&g.css(h,0);var j={};j[h]=e=="show"?i:0,g.animate(j,b.duration,b.options.easing,function(){e=="hide"&&c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(c[0],arguments),c.dequeue()})})}})(jQuery);/*
+ * jQuery UI Effects Bounce 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Effects/Bounce
+ *
+ * Depends:
+ * jquery.effects.core.js
+ */(function(a,b){a.effects.bounce=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right"],e=a.effects.setMode(c,b.options.mode||"effect"),f=b.options.direction||"up",g=b.options.distance||20,h=b.options.times||5,i=b.duration||250;/show|hide/.test(e)&&d.push("opacity"),a.effects.save(c,d),c.show(),a.effects.createWrapper(c);var j=f=="up"||f=="down"?"top":"left",k=f=="up"||f=="left"?"pos":"neg",g=b.options.distance||(j=="top"?c.outerHeight({margin:!0})/3:c.outerWidth({margin:!0})/3);e=="show"&&c.css("opacity",0).css(j,k=="pos"?-g:g),e=="hide"&&(g=g/(h*2)),e!="hide"&&h--;if(e=="show"){var l={opacity:1};l[j]=(k=="pos"?"+=":"-=")+g,c.animate(l,i/2,b.options.easing),g=g/2,h--}for(var m=0;m<h;m++){var n={},p={};n[j]=(k=="pos"?"-=":"+=")+g,p[j]=(k=="pos"?"+=":"-=")+g,c.animate(n,i/2,b.options.easing).animate(p,i/2,b.options.easing),g=e=="hide"?g*2:g/2}if(e=="hide"){var l={opacity:0};l[j]=(k=="pos"?"-=":"+=")+g,c.animate(l,i/2,b.options.easing,function(){c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(this,arguments)})}else{var n={},p={};n[j]=(k=="pos"?"-=":"+=")+g,p[j]=(k=="pos"?"+=":"-=")+g,c.animate(n,i/2,b.options.easing).animate(p,i/2,b.options.easing,function(){a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(this,arguments)})}c.queue("fx",function(){c.dequeue()}),c.dequeue()})}})(jQuery);/*
+ * jQuery UI Effects Clip 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Effects/Clip
+ *
+ * Depends:
+ * jquery.effects.core.js
+ */(function(a,b){a.effects.clip=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right","height","width"],e=a.effects.setMode(c,b.options.mode||"hide"),f=b.options.direction||"vertical";a.effects.save(c,d),c.show();var g=a.effects.createWrapper(c).css({overflow:"hidden"}),h=c[0].tagName=="IMG"?g:c,i={size:f=="vertical"?"height":"width",position:f=="vertical"?"top":"left"},j=f=="vertical"?h.height():h.width();e=="show"&&(h.css(i.size,0),h.css(i.position,j/2));var k={};k[i.size]=e=="show"?j:0,k[i.position]=e=="show"?0:j/2,h.animate(k,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){e=="hide"&&c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(c[0],arguments),c.dequeue()}})})}})(jQuery);/*
+ * jQuery UI Effects Drop 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Effects/Drop
+ *
+ * Depends:
+ * jquery.effects.core.js
+ */(function(a,b){a.effects.drop=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right","opacity"],e=a.effects.setMode(c,b.options.mode||"hide"),f=b.options.direction||"left";a.effects.save(c,d),c.show(),a.effects.createWrapper(c);var g=f=="up"||f=="down"?"top":"left",h=f=="up"||f=="left"?"pos":"neg",i=b.options.distance||(g=="top"?c.outerHeight({margin:!0})/2:c.outerWidth({margin:!0})/2);e=="show"&&c.css("opacity",0).css(g,h=="pos"?-i:i);var j={opacity:e=="show"?1:0};j[g]=(e=="show"?h=="pos"?"+=":"-=":h=="pos"?"-=":"+=")+i,c.animate(j,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){e=="hide"&&c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(this,arguments),c.dequeue()}})})}})(jQuery);/*
+ * jQuery UI Effects Explode 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Effects/Explode
+ *
+ * Depends:
+ * jquery.effects.core.js
+ */(function(a,b){a.effects.explode=function(b){return this.queue(function(){var c=b.options.pieces?Math.round(Math.sqrt(b.options.pieces)):3,d=b.options.pieces?Math.round(Math.sqrt(b.options.pieces)):3;b.options.mode=b.options.mode=="toggle"?a(this).is(":visible")?"hide":"show":b.options.mode;var e=a(this).show().css("visibility","hidden"),f=e.offset();f.top-=parseInt(e.css("marginTop"),10)||0,f.left-=parseInt(e.css("marginLeft"),10)||0;var g=e.outerWidth(!0),h=e.outerHeight(!0);for(var i=0;i<c;i++)for(var j=0;j<d;j++)e.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-j*(g/d),top:-i*(h/c)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:g/d,height:h/c,left:f.left+j*(g/d)+(b.options.mode=="show"?(j-Math.floor(d/2))*(g/d):0),top:f.top+i*(h/c)+(b.options.mode=="show"?(i-Math.floor(c/2))*(h/c):0),opacity:b.options.mode=="show"?0:1}).animate({left:f.left+j*(g/d)+(b.options.mode=="show"?0:(j-Math.floor(d/2))*(g/d)),top:f.top+i*(h/c)+(b.options.mode=="show"?0:(i-Math.floor(c/2))*(h/c)),opacity:b.options.mode=="show"?1:0},b.duration||500);setTimeout(function(){b.options.mode=="show"?e.css({visibility:"visible"}):e.css({visibility:"visible"}).hide(),b.callback&&b.callback.apply(e[0]),e.dequeue(),a("div.ui-effects-explode").remove()},b.duration||500)})}})(jQuery);/*
+ * jQuery UI Effects Fade 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Effects/Fade
+ *
+ * Depends:
+ * jquery.effects.core.js
+ */(function(a,b){a.effects.fade=function(b){return this.queue(function(){var c=a(this),d=a.effects.setMode(c,b.options.mode||"hide");c.animate({opacity:d},{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){b.callback&&b.callback.apply(this,arguments),c.dequeue()}})})}})(jQuery);/*
+ * jQuery UI Effects Fold 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Effects/Fold
+ *
+ * Depends:
+ * jquery.effects.core.js
+ */(function(a,b){a.effects.fold=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right"],e=a.effects.setMode(c,b.options.mode||"hide"),f=b.options.size||15,g=!!b.options.horizFirst,h=b.duration?b.duration/2:a.fx.speeds._default/2;a.effects.save(c,d),c.show();var i=a.effects.createWrapper(c).css({overflow:"hidden"}),j=e=="show"!=g,k=j?["width","height"]:["height","width"],l=j?[i.width(),i.height()]:[i.height(),i.width()],m=/([0-9]+)%/.exec(f);m&&(f=parseInt(m[1],10)/100*l[e=="hide"?0:1]),e=="show"&&i.css(g?{height:0,width:f}:{height:f,width:0});var n={},p={};n[k[0]]=e=="show"?l[0]:f,p[k[1]]=e=="show"?l[1]:0,i.animate(n,h,b.options.easing).animate(p,h,b.options.easing,function(){e=="hide"&&c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(c[0],arguments),c.dequeue()})})}})(jQuery);/*
+ * jQuery UI Effects Highlight 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Effects/Highlight
+ *
+ * Depends:
+ * jquery.effects.core.js
+ */(function(a,b){a.effects.highlight=function(b){return this.queue(function(){var c=a(this),d=["backgroundImage","backgroundColor","opacity"],e=a.effects.setMode(c,b.options.mode||"show"),f={backgroundColor:c.css("backgroundColor")};e=="hide"&&(f.opacity=0),a.effects.save(c,d),c.show().css({backgroundImage:"none",backgroundColor:b.options.color||"#ffff99"}).animate(f,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){e=="hide"&&c.hide(),a.effects.restore(c,d),e=="show"&&!a.support.opacity&&this.style.removeAttribute("filter"),b.callback&&b.callback.apply(this,arguments),c.dequeue()}})})}})(jQuery);/*
+ * jQuery UI Effects Pulsate 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Effects/Pulsate
+ *
+ * Depends:
+ * jquery.effects.core.js
+ */(function(a,b){a.effects.pulsate=function(b){return this.queue(function(){var c=a(this),d=a.effects.setMode(c,b.options.mode||"show");times=(b.options.times||5)*2-1,duration=b.duration?b.duration/2:a.fx.speeds._default/2,isVisible=c.is(":visible"),animateTo=0,isVisible||(c.css("opacity",0).show(),animateTo=1),(d=="hide"&&isVisible||d=="show"&&!isVisible)&&times--;for(var e=0;e<times;e++)c.animate({opacity:animateTo},duration,b.options.easing),animateTo=(animateTo+1)%2;c.animate({opacity:animateTo},duration,b.options.easing,function(){animateTo==0&&c.hide(),b.callback&&b.callback.apply(this,arguments)}),c.queue("fx",function(){c.dequeue()}).dequeue()})}})(jQuery);/*
+ * jQuery UI Effects Scale 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Effects/Scale
+ *
+ * Depends:
+ * jquery.effects.core.js
+ */(function(a,b){a.effects.puff=function(b){return this.queue(function(){var c=a(this),d=a.effects.setMode(c,b.options.mode||"hide"),e=parseInt(b.options.percent,10)||150,f=e/100,g={height:c.height(),width:c.width()};a.extend(b.options,{fade:!0,mode:d,percent:d=="hide"?e:100,from:d=="hide"?g:{height:g.height*f,width:g.width*f}}),c.effect("scale",b.options,b.duration,b.callback),c.dequeue()})},a.effects.scale=function(b){return this.queue(function(){var c=a(this),d=a.extend(!0,{},b.options),e=a.effects.setMode(c,b.options.mode||"effect"),f=parseInt(b.options.percent,10)||(parseInt(b.options.percent,10)==0?0:e=="hide"?0:100),g=b.options.direction||"both",h=b.options.origin;e!="effect"&&(d.origin=h||["middle","center"],d.restore=!0);var i={height:c.height(),width:c.width()};c.from=b.options.from||(e=="show"?{height:0,width:0}:i);var j={y:g!="horizontal"?f/100:1,x:g!="vertical"?f/100:1};c.to={height:i.height*j.y,width:i.width*j.x},b.options.fade&&(e=="show"&&(c.from.opacity=0,c.to.opacity=1),e=="hide"&&(c.from.opacity=1,c.to.opacity=0)),d.from=c.from,d.to=c.to,d.mode=e,c.effect("size",d,b.duration,b.callback),c.dequeue()})},a.effects.size=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right","width","height","overflow","opacity"],e=["position","top","bottom","left","right","overflow","opacity"],f=["width","height","overflow"],g=["fontSize"],h=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],i=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],j=a.effects.setMode(c,b.options.mode||"effect"),k=b.options.restore||!1,l=b.options.scale||"both",m=b.options.origin,n={height:c.height(),width:c.width()};c.from=b.options.from||n,c.to=b.options.to||n;if(m){var p=a.effects.getBaseline(m,n);c.from.top=(n.height-c.from.height)*p.y,c.from.left=(n.width-c.from.width)*p.x,c.to.top=(n.height-c.to.height)*p.y,c.to.left=(n.width-c.to.width)*p.x}var q={from:{y:c.from.height/n.height,x:c.from.width/n.width},to:{y:c.to.height/n.height,x:c.to.width/n.width}};if(l=="box"||l=="both")q.from.y!=q.to.y&&(d=d.concat(h),c.from=a.effects.setTransition(c,h,q.from.y,c.from),c.to=a.effects.setTransition(c,h,q.to.y,c.to)),q.from.x!=q.to.x&&(d=d.concat(i),c.from=a.effects.setTransition(c,i,q.from.x,c.from),c.to=a.effects.setTransition(c,i,q.to.x,c.to));(l=="content"||l=="both")&&q.from.y!=q.to.y&&(d=d.concat(g),c.from=a.effects.setTransition(c,g,q.from.y,c.from),c.to=a.effects.setTransition(c,g,q.to.y,c.to)),a.effects.save(c,k?d:e),c.show(),a.effects.createWrapper(c),c.css("overflow","hidden").css(c.from);if(l=="content"||l=="both")h=h.concat(["marginTop","marginBottom"]).concat(g),i=i.concat(["marginLeft","marginRight"]),f=d.concat(h).concat(i),c.find("*[width]").each(function(){child=a(this),k&&a.effects.save(child,f);var c={height:child.height(),width:child.width()};child.from={height:c.height*q.from.y,width:c.width*q.from.x},child.to={height:c.height*q.to.y,width:c.width*q.to.x},q.from.y!=q.to.y&&(child.from=a.effects.setTransition(child,h,q.from.y,child.from),child.to=a.effects.setTransition(child,h,q.to.y,child.to)),q.from.x!=q.to.x&&(child.from=a.effects.setTransition(child,i,q.from.x,child.from),child.to=a.effects.setTransition(child,i,q.to.x,child.to)),child.css(child.from),child.animate(child.to,b.duration,b.options.easing,function(){k&&a.effects.restore(child,f)})});c.animate(c.to,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){c.to.opacity===0&&c.css("opacity",c.from.opacity),j=="hide"&&c.hide(),a.effects.restore(c,k?d:e),a.effects.removeWrapper(c),b.callback&&b.callback.apply(this,arguments),c.dequeue()}})})}})(jQuery);/*
+ * jQuery UI Effects Shake 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Effects/Shake
+ *
+ * Depends:
+ * jquery.effects.core.js
+ */(function(a,b){a.effects.shake=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right"],e=a.effects.setMode(c,b.options.mode||"effect"),f=b.options.direction||"left",g=b.options.distance||20,h=b.options.times||3,i=b.duration||b.options.duration||140;a.effects.save(c,d),c.show(),a.effects.createWrapper(c);var j=f=="up"||f=="down"?"top":"left",k=f=="up"||f=="left"?"pos":"neg",l={},m={},n={};l[j]=(k=="pos"?"-=":"+=")+g,m[j]=(k=="pos"?"+=":"-=")+g*2,n[j]=(k=="pos"?"-=":"+=")+g*2,c.animate(l,i,b.options.easing);for(var p=1;p<h;p++)c.animate(m,i,b.options.easing).animate(n,i,b.options.easing);c.animate(m,i,b.options.easing).animate(l,i/2,b.options.easing,function(){a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(this,arguments)}),c.queue("fx",function(){c.dequeue()}),c.dequeue()})}})(jQuery);/*
+ * jQuery UI Effects Slide 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Effects/Slide
+ *
+ * Depends:
+ * jquery.effects.core.js
+ */(function(a,b){a.effects.slide=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right"],e=a.effects.setMode(c,b.options.mode||"show"),f=b.options.direction||"left";a.effects.save(c,d),c.show(),a.effects.createWrapper(c).css({overflow:"hidden"});var g=f=="up"||f=="down"?"top":"left",h=f=="up"||f=="left"?"pos":"neg",i=b.options.distance||(g=="top"?c.outerHeight({margin:!0}):c.outerWidth({margin:!0}));e=="show"&&c.css(g,h=="pos"?isNaN(i)?"-"+i:-i:i);var j={};j[g]=(e=="show"?h=="pos"?"+=":"-=":h=="pos"?"-=":"+=")+i,c.animate(j,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){e=="hide"&&c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(this,arguments),c.dequeue()}})})}})(jQuery);/*
+ * jQuery UI Effects Transfer 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Effects/Transfer
+ *
+ * Depends:
+ * jquery.effects.core.js
+ */(function(a,b){a.effects.transfer=function(b){return this.queue(function(){var c=a(this),d=a(b.options.to),e=d.offset(),f={top:e.top,left:e.left,height:d.innerHeight(),width:d.innerWidth()},g=c.offset(),h=a('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(b.options.className).css({top:g.top,left:g.left,height:c.innerHeight(),width:c.innerWidth(),position:"absolute"}).animate(f,b.duration,b.options.easing,function(){h.remove(),b.callback&&b.callback.apply(c[0],arguments),c.dequeue()})})}})(jQuery); \ No newline at end of file
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/jquery.ui.gnowmacs.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/jquery.ui.gnowmacs.js
new file mode 100644
index 0000000..88caa1f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/jquery.ui.gnowmacs.js
@@ -0,0 +1,929 @@
+(function ($) {
+ $.widget("ui.gnowmacs", {
+ _init: function () {
+ // This file is part of Gnowmacs for GNOWSYS: Gnowledge Networking
+ // and Organizing System.
+ // Gnowmacs is free software; you can redistribute it and/or modify
+ // it under the terms of the GNU Affero General Public License as
+ // published by the Free Software Foundation; either version 3 of
+ // the License, or (at your option) any later version.
+ // Gnowmacs is distributed in the hope that it will be useful, but
+ // WITHOUT ANY WARRANTY; without even the implied warranty of
+ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ // GNU General Public License for more details.
+ // You should have received a copy of the GNU Affero General Public
+ // License along with Gnowmacs (agpl.txt); if not, write to the
+ // Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ // Boston, MA 02110-1301 USA59 Temple Place, Suite 330,
+ // Author Divya <divyas15@gmail.com>
+ var desktop = new DlDesktop({});
+ var tableg = 0;
+ var row, col;
+ var str_sym;
+ var options1, position, char_at_pos, index1, pt, pt1, pt2;
+ var formats;
+ formats = ["HTML", "PDF", "LaTeX", "DocBook", "XOXO"];
+ var al;
+ var str1;
+ var al1, al2;
+ var gImage;
+ var gOptions;
+
+ function print(obj) {
+ var a = [],
+ i;
+ for (i in obj) {
+ var val = obj[i];
+ if (val instanceof Function) val = val.toString();
+ else val = DlJSON.encode(val);
+ a.push(DlJSON.encode(i) + " : " + val);
+ }
+ return a.map(function (line) {
+ return line.replace(/^/mg, function (s) {
+ return " ";
+ });
+ }).join("\n");
+ };
+
+ var info = ("Existing keybindings:\n\n" + print(Ymacs_Keymap_Emacs().constructor.KEYS) + "\n\nHave fun!\n");
+ // var id = node_id
+ var id = document.getElementById("objectid").value;
+ // var orgcontent= document.getElementById("bufferdata").value;
+ var title = document.getElementById("title").value;
+ var orgcontent = document.getElementById("orgcontent").value;
+ var extension = ".org"
+
+
+
+ try {
+ var org = new Ymacs_Buffer({
+
+ name: title+ extension
+
+
+
+ });
+
+ org.setCode(orgcontent);
+ //var qqq = org.data2
+ org.cmd("org_mode");
+
+ var keys = new Ymacs_Buffer({
+ name: "keybindings.txt"
+ });
+ keys.setCode(info);
+
+ var layout = new DlLayout({
+ parent: desktop
+ });
+
+ var empty = new Ymacs_Buffer({
+ name: "empty"
+ });
+ var ymacs = window.ymacs = new Ymacs({
+ buffers: [org, keys]
+ });
+ ymacs.setColorTheme(["dark", "y"]);
+
+ try {
+ ymacs.getActiveBuffer().cmd("eval_file", ".ymacs");
+ } catch (ex) {}
+
+ var menu = new DlHMenu({});
+ menu.setStyle({
+ marginLeft: 0,
+ marginRight: 0
+ });
+
+
+ var item = new DlMenuItem({
+ parent: menu,
+ label: "Export".makeLabel()
+ });
+
+
+ /* -------------- Org Export --------------*/
+
+ //formats = ["HTML", "PDF", "LaTeX", "DocBook", "XOXO"];
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+ formats.foreach(function (format) {
+ var item = new DlMenuItem({
+ label: format,
+ parent: submenu
+ });
+ item.addEventListener("onSelect", function () {
+
+ try {
+
+ var is_Firefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
+ if (is_Firefox) netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
+
+ var xhr = new XMLHttpRequest();
+ var url = "http://127.0.0.1:9292/";
+
+ xhr.open("POST", url, true);
+
+ xhr.onreadystatechange = function () {
+ if (xhr.readyState == 4) {
+ alert(xhr.status);
+
+ }
+ }
+ xhr.setRequestHeader("Content-type", "text/plain");
+
+ if (format == "HTML" && gImage == 1) // checking if insertImage() is called
+ {
+ //ymacs.getActiveBuffer().cmd("delete_region_or_line",str1);
+ al = "#+ATTR_HTML: align=" + "\"left\"" + "\n";
+ al1 = al;
+ ymacs.getActiveBuffer().cmd("insert", al1);
+ //if(al2!=null)
+ //ymacs.getActiveBuffer().cmd("delete_region_or_line",al2);
+ } else if (format == "PDF" && gImage == 1) {
+ //ymacs.getActiveBuffer().cmd("delete_region_or_line",str1);
+ al = "#+ATTR_LaTeX:placement = {r}" + "\n";
+ al2 = al;
+ ymacs.getActiveBuffer().cmd("insert", al2);
+ //if(al1!=null)
+ //ymacs.getActiveBuffer().cmd("delete_region_or_line",al1);
+ }
+ xhr.send("gnow-select: " + format + "\n" + ymacs.getActiveBuffer().getCode());
+
+
+
+
+ //alert("gnow-select: "+format+"\n"+ymacs.getActiveBuffer().getCode());
+ //alert(format+"\n"+ymacs.getActiveBuffer().getCode());
+ } catch (e) {
+ alert("Some Error");
+ }
+ });
+ });
+
+
+ menu.addFiller();
+ var item = new DlMenuItem({
+ parent: menu,
+ label: "Save".makeLabel()
+ });
+ item.addEventListener("onSelect", function () {
+ var org_data = org.getCode();
+ document.getElementById("orgcontent").value = org_data;
+ var encode_data = encodeURIComponent(org_data);
+
+
+ url = "/nodetypes/ajax/contentorgadd/?id=" + id + "&contentorg=" +encode_data;
+ $.get(url,
+ function(data){
+ })
+ url = "/nodetypes/ajax/contentorgadd/?id=" + id + "&contentorg=" +encode_data;
+ $.get(url,
+ function(data){
+ })
+
+ url = "/nodetypes/ajax/ajaxcreatefile/?id=" +id+ "&content_org=" +encode_data;
+ $.get(url,
+ function(data){
+ })
+
+ url = "/nodetypes/ajax/ajaxcreatehtml/";
+ $.get(url,
+ function(data){
+ })
+
+ url = "/nodetypes/ajax/contentadd/?id=" + id;
+ $.get(url,
+ function(data){
+ })
+ url = "/nodetypes/ajax/contentadd/?id=" + id;
+ $.get(url,
+ function(data){
+ })
+ url = "/nodetypes/ajax/contentadd/?id=" + id;
+ $.get(url,
+ function(data){
+ })
+
+
+ alert("Data Saved");
+ window.location.reload();
+ });
+
+ var item = new DlMenuItem({
+ parent: menu,
+ label: "Toggle line numbers".makeLabel()
+ });
+ item.addEventListener("onSelect", function () {
+ ymacs.getActiveBuffer().cmd("toggle_line_numbers");
+ });
+
+ /*------[ Wrap ]--------
+ flag is a variable to store the current status of wrap.wrap itself switches On n Off depending on previous status.
+ so it is necessary to keep record of previous status*/
+
+ // var item = new DlMenuItem({
+ // parent: menu,
+ // label: "Wrap".makeLabel()
+ // });
+ // var flag = "False";
+ // item.addEventListener("onSelect", function () {
+ // if (flag == "False") {
+ // flag = "True";
+ // alert("Wrapping is ON");
+ // ymacs.getActiveBuffer().cmd("wrap_text");
+ // } else {
+ // flag = "False";
+ // alert("Wrapping is OFF");
+ // ymacs.getActiveBuffer().cmd("wrap_text");
+ // }
+
+ // });
+
+
+
+ /* -----[ insert - just a try] ----- */
+
+ var item = new DlMenuItem({
+ parent: menu,
+ label: "Insert".makeLabel()
+ });
+ var item1 = new DlMenuItem({
+ parent: submenu,
+ label: "TOC"
+ });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+ var subToc = new DlVMenu({});
+ item = new DlMenuItem({
+ parent: submenu,
+ label: "Default from ymacs.css"
+ });
+ item.addEventListener("onSelect", function () {
+ ymacs.getActiveFrame().setStyle({
+ fontFamily: ""
+ });
+ });
+
+ submenu.addSeparator();
+ item1 = new DlMenuItem({
+ parent: submenu,
+ label: "Table Of Content"
+ });
+ item1.addEventListener("onSelect", function () {
+ options1 = "#+OPTIONS:" + " " + "H:3 num:t toc:t \\n:nil @:t ::t |:t ^:t -:t f:t *:t <:t" + "\n";
+ insertOPTIONS();
+
+ });
+ var files = [
+ "Table",
+ "Insert Column",
+ "Insert Row",
+ "Insert hline",
+ "Images",
+ ]
+ item1.setMenu(subToc);
+
+
+
+
+ files.foreach(function (i) {
+ item = new DlMenuItem({
+ parent: submenu,
+ label: "<span style='font-size:" + i + "'>" + i + "</span>"
+ });
+ item.addEventListener("onSelect", function () {
+
+ // alert("You selected " +i);
+ switch (i) {
+ case "Table":
+ insertTable();
+ break;
+ case "Insert Column":
+ if (tableg == 1) // if insertTable() is called previously then call insertColumn()
+ {
+ insertColumn();
+ } else {
+ alert("First create a table");
+ }
+ break;
+ case "Insert Row":
+ if (tableg == 1) // if insertTable() is called previously then call insertRow()
+ {
+ insertRow();
+ } else {
+ alert("First create a table");
+ }
+ break;
+ case "Insert hline":
+ if (tableg == 1) // if insertTable() is called previously then call insertHline()
+ {
+ insertHline();
+ } else {
+ alert("First create a table");
+ }
+ break;
+
+ case "Images":
+ insertImage1();
+ break;
+ default:
+ alert("code to be executed if n is different from case 1 and 2");
+ }
+ });
+ });
+
+
+ var files2 = [
+ "OPTIONS"
+
+
+ ].foreach(function (font) {
+ item = new DlMenuItem({
+ parent: subToc,
+ label: "<span style='font-family:" + font + "'>" + font + "</span>"
+ });
+ var test_flag = "False";
+ item.addEventListener("onSelect", function () {
+
+ // var pt2 = ymacs.getActiveBuffer().cmd("point");
+ // alert(pt2);
+ if (test_flag == "False" && gOptions == 1) {
+ test_flag = "True";
+ alert("OPTIONS is ON");
+ ymacs.getActiveBuffer().cmd("goto_char", pt1);
+ alert(pt1);
+ ymacs.getActiveBuffer().cmd("end_of_line");
+ ymacs.getActiveBuffer().cmd("insert", "\n");
+ pt2 = ymacs.getActiveBuffer().cmd("point");
+ alert(pt2);
+ options1 = "#+OPTIONS:" + " " + "H:3 num:t toc:t \\n:nil @:t ::t |:t ^:t -:t f:t *:t <:t" + "\n";
+ ymacs.getActiveBuffer().cmd("insert", options1);
+ //ymacs.getActiveBuffer().cmd("insert","\n");
+ } else if (gOptions != 1) {
+
+ alert("Insert TOC first");
+
+
+
+ } else {
+
+ // ymacs.getActiveBuffer().cmd("beginning_of_buffer");
+ test_flag = "False";
+ alert("OPTIONS is OFF");
+
+
+ // if(gOptions == 1)
+
+ ymacs.getActiveBuffer().cmd("goto_char", pt2);
+ alert(pt2);
+
+ // ymacs.getActiveBuffer().cmd("forward_line");
+ // var pt1 = ymacs.getActiveBuffer().cmd("point");
+ // alert("pt1",pt1);
+ // ymacs.getActiveBuffer().cmd("goto_char",pt1);
+ ymacs.getActiveBuffer().cmd("delete_line");
+ options1 = "#+OPTIONS:" + " " + "H:3 num:nil toc:nil \\n:nil @:t ::t |:t ^:t -:t f:t *:t <:t" + "\n";
+ ymacs.getActiveBuffer().cmd("insert", options1);
+
+
+
+ }
+
+
+
+
+
+
+
+
+ });
+ });
+
+ function insertOPTIONS() {
+ gOptions = 1;
+ var a1 = "#+AUTHOR:" + " " + "\n";
+ var t1 = "#+TITLE:" + " " + "\n";
+ var currentDate = new Date();
+ var month = currentDate.getMonth() + 1;
+ var day = currentDate.getDate();
+ var year = currentDate.getFullYear();
+ var weekday = new Array(7);
+ weekday[0] = "Sunday";
+ weekday[1] = "Monday";
+ weekday[2] = "Tuesday";
+ weekday[3] = "Wednesday";
+ weekday[4] = "Thursday";
+ weekday[5] = "Friday";
+ weekday[6] = "Saturday";
+ var d1 = weekday[currentDate.getDay()];
+ var fullDate = "#+DATE:" + " " + year + " " + month + " " + day + " " + d1 + "\n";
+ var language1 = "#+LANGUAGE:" + " " + "en" + "\n";
+ var emailId = "#+EMAIL:" + " " + "\n";
+ var desc = "#+DESCRIPTION:" + " " + "\n";
+ var keywords = "#+KEYWORDS:" + " " + "\n";
+ var options2 = "#+OPTIONS:" + " " + "TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc" + "\n";
+ var info = "#+INFOJS_OPT:" + " " + "view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js" + "\n";
+ var export_select_tag = "#+EXPORT_" + " SELECT_" + "TAGS:" + " " + "export " + "\n";
+ var export_exclude_tag = "#+EXPORT_" + " EXCLUDE_" + "TAGS:" + " " + "noexport" + "\n";
+ var link_up = "#+LINK_UP:" + " " + "\n";
+ var link_home = "#+LINK_HOME:" + " " + "\n";
+ ymacs.getActiveBuffer().cmd("insert", t1);
+ ymacs.getActiveBuffer().cmd("insert", a1);
+ ymacs.getActiveBuffer().cmd("insert", emailId);
+ ymacs.getActiveBuffer().cmd("insert", fullDate);
+ ymacs.getActiveBuffer().cmd("insert", keywords);
+ ymacs.getActiveBuffer().cmd("insert", language1);
+ //pt = ymacs.getActiveBuffer().cmd("point");
+ //alert(pt);
+ //ymacs.getActiveBuffer().cmd("insert",options1);
+ // ymacs.getActiveBuffer().cmd("insert","\n");
+ ymacs.getActiveBuffer().cmd("insert", options2);
+
+ ymacs.getActiveBuffer().cmd("insert", "\n");
+ pt1 = ymacs.getActiveBuffer().cmd("point");
+ // alert(pt1);
+ ymacs.getActiveBuffer().cmd("insert", info);
+ ymacs.getActiveBuffer().cmd("insert", export_select_tag);
+ ymacs.getActiveBuffer().cmd("insert", export_exclude_tag);
+ ymacs.getActiveBuffer().cmd("insert", link_up);
+ ymacs.getActiveBuffer().cmd("insert", link_home);
+ //ymacs.getActiveBuffer().cmd("goto_char",pt);
+ }
+
+
+
+
+ // This function creates a table with the user specified no. of rows & columns.
+ function insertTable() {
+ row = prompt("Enter no. of rows", 1);
+ col = prompt("Enter no. of cols", 1);
+ tableg = 1;
+ for (k = 0; k <= col; k++) {
+ ymacs.getActiveBuffer().cmd("org_table_create");
+ }
+ ymacs.getActiveBuffer().cmd("insert", "\n");
+ ymacs.getActiveBuffer().cmd("insert", "|");
+ ymacs.getActiveBuffer().cmd("insert", "---");
+ for (k = 0; k < (col - 1); k++) {
+
+ ymacs.getActiveBuffer().cmd("insert", "@");
+ ymacs.getActiveBuffer().cmd("insert", "---");
+ }
+ ymacs.getActiveBuffer().cmd("insert", "|");
+ ymacs.getActiveBuffer().cmd("insert", "\n");
+ for (m = 1; m < row; m++) {
+
+ for (j = 0; j <= col; j++) {
+
+ ymacs.getActiveBuffer().cmd("org_table_create");
+ }
+ //alert(row);
+ ymacs.getActiveBuffer().cmd("insert", "\n");
+ }
+ }
+
+ // This function creates a column for the table.
+ function insertColumn()
+
+ {
+
+ ymacs.getActiveBuffer().cmd("backward_paragraph");
+ ymacs.getActiveBuffer().cmd("forward_line");
+ ymacs.getActiveBuffer().cmd("end_of_line");
+
+
+ ymacs.getActiveBuffer().cmd("insert", "|");
+
+ ymacs.getActiveBuffer().cmd("forward_line");
+ ymacs.getActiveBuffer().cmd("backward_char");
+ ymacs.getActiveBuffer().cmd("insert", "@");
+ ymacs.getActiveBuffer().cmd("delete_char");
+
+ ymacs.getActiveBuffer().cmd("insert", "---");
+ ymacs.getActiveBuffer().cmd("insert", "|");
+ ymacs.getActiveBuffer().cmd("forward_line");
+ for (k = 1; k < row; k++) {
+ ymacs.getActiveBuffer().cmd("insert", "|");
+ ymacs.getActiveBuffer().cmd("forward_line");
+
+ }
+ col = parseInt(col) + 1;
+
+
+ }
+
+ // This function creates a row for the table.
+ function insertRow()
+
+ {
+ for (j = 0; j <= col; j++) {
+
+ ymacs.getActiveBuffer().cmd("org_table_create");
+ }
+ ymacs.getActiveBuffer().cmd("insert", "");
+ ymacs.getActiveBuffer().cmd("newline");
+
+ row = parseInt(row) + 1;
+
+ }
+
+ // This function creates a Horizontal Line for the table.
+ function insertHline() {
+ ymacs.getActiveBuffer().cmd("end_of_line");
+ ymacs.getActiveBuffer().cmd("insert", "\n");
+
+ ymacs.getActiveBuffer().cmd("insert", "|");
+ ymacs.getActiveBuffer().cmd("insert", "---");
+ for (k = 0; k < (col - 1); k++) {
+
+ ymacs.getActiveBuffer().cmd("insert", "@");
+ ymacs.getActiveBuffer().cmd("insert", "---");
+ }
+ ymacs.getActiveBuffer().cmd("insert", "|");
+
+
+ }
+
+ function insertImage() {
+
+
+ //gImage = 1;
+ //ymacs.getActiveBuffer().cmd("end_of_buffer");
+ //var img1 = prompt("Enter url for image","/home/sndt/Music/img2.jpeg");
+ //mywindow = window.open("fileupload2.html", "", "location=0,status=0,scrollbars=0, width=300,height=150");
+ mywindow = window.open("one.html", "", "location=0,status=0,scrollbars=0, width=300,height=150");
+ mywindow.moveTo(400, 400);
+
+ //document.write("<INPUT TYPE=file + >");
+ //document.write("hi");
+ //window.open(img1);
+ //var al;
+ //var str1;
+ //var img2 = img1;
+ //var str3 = img1.indexOf(".");
+ //var str4 = img1.lastIndexOf("/");
+ //var str2 = img1.slice(str4+1,str3);
+ //var str1 = "[[" + img1 + "]" + "["+ str2 +"]]";
+ //var al = "#+ATTR_HTML: align="+"\"left\""+"\n";
+ //str1 = "[[" + img1 + "]]";
+ //var str = img1.lastIndexOf("]");
+ //var a = str-1;
+ //var c = img1.length;
+ //var b = img1.slice(str4+1,c);
+ //var d = "/home/sndt/imgtry/" + b;
+ //var newPath = "[[" + d + "]]";
+ //ymacs.getActiveBuffer().cmd("insert",newPath);
+ //ymacs.getActiveBuffer().cmd("insert",str1);
+ }
+
+ function insertImage1() {
+
+ // alert(img0);
+ gImage = 1;
+ ymacs.getActiveBuffer().cmd("end_of_buffer");
+ var img1 = prompt("Enter url for image", "/home/sndt/Music/img2.jpeg");
+ //mywindow = window.open("fileupload1.html", "", "location=0,status=0,scrollbars=0, width=300,height=150");
+ // mywindow.moveTo(400, 400);
+ //document.write("<INPUT TYPE=file + >");
+ //document.write("hi");
+ //window.open(img1);
+ //var al;
+ //var str1;
+ // var img1 = img0;
+ var img2 = img1;
+ var str3 = img1.indexOf(".");
+ var str4 = img1.lastIndexOf("/");
+ var str2 = img1.slice(str4 + 1, str3);
+ //var str1 = "[[" + img1 + "]" + "["+ str2 +"]]";
+ //var al = "#+ATTR_HTML: align="+"\"left\""+"\n";
+ str1 = "[[" + img1 + "]]";
+ var str = img1.lastIndexOf("]");
+ var a = str - 1;
+ var c = img1.length;
+ var b = img1.slice(str4 + 1, c);
+ var d = "/home/sndt/imgtry/" + b;
+ var newPath = "[[" + d + "]]";
+ //ymacs.getActiveBuffer().cmd("insert",newPath);
+ ymacs.getActiveBuffer().cmd("insert", str1);
+ ymacs.getActiveBuffer().cmd("backward_line");
+ }
+
+
+
+
+ /* -----[ color theme ]----- */
+
+ var item = new DlMenuItem({
+ parent: menu,
+ label: "Color theme".makeLabel()
+ });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+
+ [
+ "dark|y|Dark background (default)",
+ "dark|billw|>Billw",
+ "dark|charcoal-black|>Charcoal black",
+ "dark|clarity-and-beauty|>Clarity and beauty",
+ "dark|classic|>Classic",
+ "dark|gnome2|>Gnome 2",
+ "dark|calm-forest|>Calm forest",
+ "dark|linh-dang-dark|>Linh Dang Dark",
+ "dark|blue-mood|>Blue mood",
+ "dark|zenburn|>Zenburn",
+ "dark|standard-dark|>Emacs standard (dark)",
+ null,
+ "light|y|Light background (default)",
+ "light|andreas|>Andreas",
+ "light|bharadwaj|>Bharadwaj",
+ "light|gtk-ide|>GTK IDE",
+ "light|high-contrast|>High contrast",
+ "light|scintilla|>Scintilla",
+ "light|standard-xemacs|>Standard XEmacs",
+ "light|vim-colors|>Vim colors",
+ "light|standard|>Emacs standard (light)"
+ ].foreach(function (theme) {
+ if (theme == null) {
+ submenu.addSeparator();
+ } else {
+ theme = theme.split(/\s*\|\s*/);
+ var label = theme.pop();
+ label = label.replace(/^>\s*/, "&nbsp;".x(4));
+ var item = new DlMenuItem({
+ parent: submenu,
+ label: label
+ });
+ item.addEventListener("onSelect", ymacs.setColorTheme.$(ymacs, theme));
+ }
+ });
+ /*-------Insert-------
+
+ var item = new DlMenuItem({ parent: menu, label: "Insert".makeLabel() });
+ var item1 = new DlMenuItem({ parent: submenu, label: "TOC" });
+ var submenu = new DlVMenu({});
+
+ var subToc = new DlVMenu({});
+ item.setMenu(submenu);
+ item = new DlMenuItem({ parent: submenu, label: "Default file" });
+ submenu.addSeparator();
+ item1 = new DlMenuItem({ parent: submenu, label: "Table Of Content" });
+ item.addEventListener("onSelect", function(){
+
+ });
+
+ var files1 = [
+ "Image",
+ "Text",
+ "Table"
+
+
+
+ ]
+
+
+
+ item1.setMenu(subToc);
+ files1.foreach(function(font){
+ item = new DlMenuItem({ parent: submenu, label: "<span style='font-family:" + font + "'>" + font + "</span>" });
+ item.addEventListener("onSelect", function(){
+
+
+ if(font == "Image")
+ {
+ var imgPath = prompt("Enter the location:", "/home/snehal1/pics/ ");
+ window.open(imgPath);
+
+ }
+
+ });
+ });
+
+ var files2 = [
+ "Title",
+ "Author",
+ "Email",
+ "Description",
+ "Language"
+
+
+
+
+ ].foreach(function(font){
+ item = new DlMenuItem({ parent: subToc, label: "<span style='font-family:" + font + "'>" + font + "</span>" });
+ item.addEventListener("onSelect", function(){
+ var name1 = prompt("Enter data","");
+
+ });
+ });
+ */
+
+
+
+
+ /* -----[ Symbol Insert ]----- */
+
+ /* var item = new DlMenuItem({ parent: menu, label: "Symbol Insert".makeLabel() });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+
+ submenu.addSeparator();
+
+ [
+ "&alpha;",
+ "&beta;",
+ "&#947;",
+ "&#948;",
+ "&#949;",
+ "&#952;",
+ "&#955;",
+ "&#956;",
+ "&#960;",
+ "&#961;",
+ "&#963;",
+ "&#934;",
+ "&#931;"
+
+ ].foreach(function(i){
+ item = new DlMenuItem({ parent: submenu, label: "<span style='font-family:" + i + "'>" + i + "</span>" });
+ item.addEventListener("onSelect", function(){
+ // ymacs.getActiveBuffer().cmd("insert",i);
+ alert(i);
+ var greek_sym1 = [945,946,947,948,949,952,955,956,960,961,963,934,931];
+ var greek_sym2 = ["&alpha;","&beta;","&#947;","&#948;","&#949;","&#952;","&#955;","&#956;","&#960;","&#961;","&#963;","&#934;","&#931;"];
+ //var str_sym;
+
+ for(j=0;j<=13;j++)
+ {
+ for(k=0;k<=13;k++)
+ {
+ if(greek_sym2[j]==i && j==k)
+ {
+ str_sym = String.fromCharCode(greek_sym1[k]);
+ }
+
+ }
+
+
+ }
+ ymacs.getActiveBuffer().cmd("insert",str_sym);
+
+
+ });
+ });
+*/
+ /* -----[ font ]----- */
+
+ var item = new DlMenuItem({
+ parent: menu,
+ label: "Font family".makeLabel()
+ });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+
+ item = new DlMenuItem({
+ parent: submenu,
+ label: "Default from ymacs.css"
+ });
+ item.addEventListener("onSelect", function () {
+ ymacs.getActiveFrame().setStyle({
+ fontFamily: ""
+ });
+ });
+
+ submenu.addSeparator();
+
+ [
+ "Lucida Sans Typewriter",
+ "Andale Mono",
+ "Courier New",
+ "Arial",
+ "Verdana",
+ "Tahoma",
+ "Georgia",
+ "Times New Roman"
+
+ ].foreach(function (font) {
+ item = new DlMenuItem({
+ parent: submenu,
+ label: "<span style='font-family:" + font + "'>" + font + "</span>"
+ });
+ item.addEventListener("onSelect", function () {
+ ymacs.getActiveFrame().setStyle({
+ fontFamily: font
+ });
+ });
+ });
+
+ // ymacs.getActiveFrame().setStyle({ fontFamily: "Arial", fontSize: "18px" });
+ /* -----[ gnowsys-mode ]----- */
+
+ /* var item = new DlMenuItem({ parent: menu, label: "gnowsys-mode".makeLabel() });
+
+ item.addEventListener("onSelect", function(){
+ // window.open("/home/sndt/Downloads/jknair-MozGnowser-42c5530/gnowmoz@gnowledge.org/chrome/gnowmoz/content/gnowmoz.html");
+
+ var org1 = new Ymacs_Buffer({ name: "gnowsysmode.org" });
+ org1.setCode("hi");
+ ymacs.getActiveBuffer().cmd("switch_to_buffer",org1);
+ // org1.cmd("org_mode");
+ ymacs.getActiveBuffer().cmd("load_file");
+ //window.open("http://sandboxatlas.gnowledge.org/gnowql");
+ //window.open("/home/sndt/Downloads/jknair-MozGnowser-42c5530/gnowmoz@gnowledge.org/chrome/gnowmoz/content/gnowmoz.html");
+ //window.open("two.html","_blank","width=650,height=650");
+
+ }); */
+ /* -----[ font size ]----- */
+
+ var item = new DlMenuItem({
+ parent: menu,
+ label: "Font size".makeLabel()
+ });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+
+ item = new DlMenuItem({
+ parent: submenu,
+ label: "Default from ymacs.css"
+ });
+ item.addEventListener("onSelect", function () {
+ ymacs.getActiveFrame().setStyle({
+ fontSize: ""
+ });
+ });
+
+ submenu.addSeparator();
+
+ [
+ "11px",
+ "12px",
+ "14px",
+ "16px",
+ "18px",
+ "20px",
+ "22px",
+ "24px"
+
+ ].foreach(function (font) {
+ item = new DlMenuItem({
+ parent: submenu,
+ label: "<span style='font-size:" + font + "'>" + font + "</span>"
+ });
+ item.addEventListener("onSelect", function () {
+ ymacs.getActiveFrame().setStyle({
+ fontSize: font
+ });
+ });
+ });
+
+ layout.packWidget(menu, {
+ pos: "top"
+ });
+ layout.packWidget(ymacs, {
+ pos: "bottom",
+ fill: "*"
+ });
+
+ layout.setSize({
+ x: 500,
+ y: 400
+ });
+
+ } catch (ex) {
+ console.log(ex);
+ }
+
+ DynarchDomUtils.trash($("x-loading"));
+
+ if (!is_gecko && !is_khtml)(function () {
+
+ var dlg = new DlDialog({
+ title: "Information",
+ modal: true,
+ quitBtn: "destroy"
+ });
+
+ var vbox = new DlVbox({
+ parent: dlg,
+ borderSpacing: 5
+ });
+ var tmp = new DlWidget({
+ parent: vbox
+ });
+ tmp.getElement().appendChild($("browser-warning"));
+ var ok = new DlButton({
+ parent: vbox,
+ focusable: true,
+ label: "OK, let's see it"
+ });
+ ok.addEventListener("onClick", dlg.destroy.$(dlg));
+ dlg._focusedWidget = ok;
+
+ dlg.show(true);
+
+ })();
+ },
+
+ });
+
+})(jQuery);
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/savedata.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/savedata.js
new file mode 100644
index 0000000..23ab1ef
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/savedata.js
@@ -0,0 +1,13 @@
+ $.noConflict();
+ jQuery(document).ready(function($) {
+ // Code that uses jQuery's $ can follow here.
+ $("#editdata").click(function(){
+ $("html").css({"margin":"0","padding": "0","overflow":"hidden","height": "100%"});
+ $("#chart").hide();
+ //$("#sidebar").hide();
+ $("#gnoweditor").gnowmacs();
+
+
+ });
+
+ });
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-buffer.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-buffer.js
new file mode 100644
index 0000000..ba6303e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-buffer.js
@@ -0,0 +1,1079 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-interactive.js
+
+DEFINE_CLASS("Ymacs_Buffer", DlEventProxy, function(D, P){
+
+ D.DEFAULT_EVENTS = [
+ "onLineChange",
+ "onInsertLine",
+ "onDeleteLine",
+ "onPointChange",
+ "onResetCode",
+ "onMessage",
+ "onOverwriteMode",
+ "onOverlayChange",
+ "onOverlayDelete",
+ "beforeInteractiveCommand",
+ "afterInteractiveCommand",
+ "beforeRedraw",
+ "afterRedraw",
+ "finishedEvent",
+ "onProgressChange",
+ "onTextInsert",
+ "onTextDelete"
+ ];
+
+ D.DEFAULT_ARGS = {
+ name : [ "name" , "*scratch*" ],
+ _code : [ "code" , null ],
+ ymacs : [ "ymacs" , null ],
+ tokenizer : [ "tokenizer" , null ],
+ isMinibuffer : [ "isMinibuffer" , false ]
+ };
+
+ var GLOBAL_VARS = {
+ case_fold_search : true,
+ line_movement_requested_col : 0,
+ fill_column : 78,
+ tab_width : 8,
+ indent_level : 8,
+
+ // syntax variables
+ syntax_word : { test: TEST_UNICODE_WORD_CHAR },
+ syntax_word_dabbrev : { test: TEST_DABBREV_WORD_CHAR },
+ syntax_paragraph_sep : /\n\s*\n/g
+ };
+
+ function setq(key, val) {
+ if (typeof key == "string") {
+ if (val === undefined)
+ delete this[key];
+ else
+ this[key] = val;
+ if (val instanceof Function)
+ val.ymacsCommand = key;
+ return val;
+ } else {
+ var changed = {};
+ for (var i in key) {
+ changed[i] = this[i];
+ setq.call(this, i, key[i]);
+ }
+ return changed;
+ }
+ };
+
+ var MAX_UNDO_RECORDS = 50000; // XXX: should we not limit?
+
+ function MRK(x) {
+ return x instanceof Ymacs_Marker ? x.getPosition() : x;
+ };
+
+ function TEST_UNICODE_WORD_CHAR(c) {
+ if (c) {
+ var code = c.charCodeAt(0);
+ return (code >= 48 && code <= 57) || c.toUpperCase() != c.toLowerCase();
+ }
+ };
+
+ function TEST_DABBREV_WORD_CHAR(c) {
+ if (c) {
+ var code = c.charCodeAt(0);
+ return (code >= 48 && code <= 57) || c == "_" || c.toUpperCase() != c.toLowerCase();
+ }
+ };
+
+ P.lastIndexOfRegexp = function(str, re, caret, bound) {
+ str = str.substring(0, caret);
+ re = Ymacs_Regexp.search_backward(re);
+ re.lastIndex = bound || 0;
+ var m = re.exec(str);
+ if (m) {
+ var a = Array.$(m, 2);
+ a.index = m.index + m[1].length;
+ a.after = m.index + m[0].length;
+ a[0] = str.substring(a.index, a.after);
+ this.matchData = a;
+ return a;
+ }
+ };
+
+ D.COMMANDS = P.COMMANDS = {};
+
+ D.newCommands = P.newCommands = function() {
+ return setq.apply(this.COMMANDS, arguments);
+ };
+
+ D.newMode = P.newMode = function(name, activate) {
+ var modevar = "*" + name + "*", hookvar = modevar + "hooks";
+ D.setGlobal(hookvar, []);
+ this.COMMANDS[name] = Ymacs_Interactive("P", function(force){
+ var status = this.getq(modevar);
+ if (status) {
+ // currently active
+ if (force !== true) {
+ // deactivate
+ this.getq(hookvar).foreach(function(hook){
+ hook.call(this, false);
+ }, this);
+ if (status instanceof Function) {
+ // clean-up
+ status.call(this);
+ }
+ this.setq(modevar, null);
+ this.modes.remove(name);
+ }
+ }
+ else {
+ // inactive
+ if (force !== false) {
+ var off = activate.apply(this, arguments);
+ if (!(off instanceof Function))
+ off = true;
+ this.setq(modevar, off);
+ this.modes.push(name);
+ this.getq(hookvar).foreach(function(hook){
+ hook.call(this, true);
+ }, this);
+ }
+ }
+ return status;
+ });
+ };
+
+ D.addModeHook = P.addModeHook = function(name, func) {
+ if (typeof func == "string")
+ func = this.COMMANDS[func];
+ var hookvar = "*" + name + "*hooks";
+ this.getq(hookvar).pushUnique(func);
+ };
+
+ D.removeModeHook = P.removeModeHook = function(name, func) {
+ if (typeof func == "string")
+ func = this.COMMANDS[func];
+ var hookvar = "*" + name + "*hooks";
+ this.getq(hookvar).remove(func);
+ };
+
+ D.FIXARGS = function(args) {
+ if (args.code == null)
+ args.code = "";
+ };
+
+ D.CONSTRUCT = function() {
+ this.__savingExcursion = 0;
+ this.__preventUpdates = 0;
+ this.__preventUndo = 0;
+ this.__undoInProgress = 0;
+ this.__dirtyLines = [];
+ this.__undoQueue = [];
+ this.__redoQueue = [];
+ this.__overlays = {};
+
+ this.markers = [];
+ this.caretMarker = this.createMarker(0, false, "point");
+ this.markMarker = this.createMarker(0, true, "mark");
+ this.matchData = [];
+ this.previousCommand = null;
+ this.currentCommand = null;
+ this.currentKeys = [];
+ this.progress = {};
+
+ this.variables = {};
+ this.globalVariables = GLOBAL_VARS;
+ this.modes = [];
+
+ this.caretMarker.onChange.push(function(pos) {
+ this._rowcol = this.caretMarker.getRowCol();
+ // XXX: this shouldn't be needed
+ if (this.__preventUpdates == 0) {
+ this.callHooks("onPointChange", this._rowcol, this.point());
+ }
+ });
+
+ this._tokenizerEvents = {
+ "onFoundToken": this._on_tokenizerFoundToken.$(this)
+ };
+
+ this._textProperties = new Ymacs_Text_Properties({ buffer: this });
+ this._textProperties.addEventListener("onChange", this._on_textPropertiesChange.$(this));
+
+ this.keymap = [];
+ this.pushKeymap(this.makeDefaultKeymap());
+ this.setCode(this._code);
+ this._lastCommandWasKill = 0;
+ delete this["_code"];
+ };
+
+ /* -----[ dynamic variables ]----- */
+
+ // Who said dynamic scope is bad? Ever since I'm using Lisp I
+ // started considering them one of the most valuable features.
+ // Everybody is using dynamic scope.
+ //
+ // Since we don't have real dynamic scope in JS, we store the
+ // values in a hash and using the withVariables method we can
+ // assign temporary values to them and execute a function.
+
+ P.withVariables = function(vars, cont) {
+ var saved = {}, i, ret;
+ for (i in vars) {
+ saved[i] = this.variables[i];
+ this.variables[i] = vars[i];
+ }
+ try {
+ if (cont instanceof Function)
+ return cont.apply(this, Array.$(arguments, 2));
+ else
+ return this.cmdApply(cont, Array.$(arguments, 2));
+ } finally {
+ for (i in saved) {
+ if (saved[i] === undefined)
+ delete this.variables[i];
+ else
+ this.variables[i] = saved[i];
+ }
+ }
+ };
+
+ P.withCommands = function(cmds, cont) {
+ var saved = this.COMMANDS;
+ this.COMMANDS = Object.makeCopy(saved);
+ Object.merge(this.COMMANDS, cmds);
+ try {
+ if (cont instanceof Function)
+ return cont.apply(this, Array.$(arguments, 2));
+ else
+ return this.cmdApply(cont, Array.$(arguments, 2));
+ } finally {
+ this.COMMANDS = saved;
+ }
+ };
+
+ P.getVariable = function(key) {
+ return (key in this.variables)
+ ? this.variables[key]
+ : GLOBAL_VARS[key];
+ };
+
+ P.setVariable = function() {
+ return setq.apply(this.variables, arguments);
+ };
+
+ D.setq = D.setVariable = D.setGlobal = P.setGlobal = function() {
+ return setq.apply(GLOBAL_VARS, arguments);
+ };
+
+ P.setq = P.setVariable;
+ P.getq = P.getVariable;
+ D.getq = D.getVariable = function(key) {
+ return GLOBAL_VARS[key];
+ };
+
+ /* -----[ public API ]----- */
+
+ P.pushKeymap = function(keymap) {
+ if (keymap instanceof Array) {
+ keymap.foreach(this.pushKeymap, this);
+ } else {
+ this.popKeymap(keymap);
+ this.keymap.push(keymap);
+ keymap.attached(this);
+ }
+ };
+
+ P.popKeymap = function(keymap) {
+ this.keymap.remove(keymap);
+ keymap.detached(this);
+ };
+
+ P.makeDefaultKeymap = function() {
+ return Ymacs_Keymap_Emacs();
+ };
+
+ P.signalError = function(text, html, timeout) {
+ this.callHooks("onMessage", "error", text, html, timeout);
+ };
+
+ P.signalInfo = function(text, html, timeout) {
+ this.callHooks("onMessage", "info", text, html, timeout);
+ };
+
+ P.createMarker = function(pos, before, name) {
+ if (pos == null)
+ pos = this.point();
+ return new Ymacs_Marker({ editor: this, pos: pos, name: name, before: before });
+ };
+
+ P.point = function() {
+ return this.caretMarker.getPosition();
+ };
+
+ P.setCode = function(code) {
+ // this.__code = code = code.replace(/\t/g, " ".x(this.getq("tab_width")));
+ this.__code = code;
+ this.__size = code.length;
+ this.__undoQueue = [];
+ this.__redoQueue = [];
+ this.__overlays = {};
+ this.markers.map("setPosition", 0, true, true);
+ this.code = code.split(/\n/);
+ this._textProperties.reset();
+ if (this.tokenizer) {
+ this.tokenizer.reset();
+ }
+ this.callHooks("onResetCode", this.code);
+ this.caretMarker.setPosition(0, false, true);
+ this.markMarker.setPosition(0, true);
+ };
+
+ P.setTokenizer = function(tok) {
+ if (this.tokenizer != null) {
+ this.tokenizer.removeEventListener(this._tokenizerEvents);
+ }
+ this.tokenizer = tok;
+ if (tok) {
+ tok.addEventListener(this._tokenizerEvents);
+ } else {
+ this._textProperties.reset();
+ this.callHooks("onResetCode", this.code);
+ }
+ };
+
+ P.getCode = function() {
+ return this.__code || (this.__code = this.code.join("\n"));
+ };
+
+ P.getCodeSize = function() {
+ if (this.__size)
+ return this.__size;
+ var i = this.code.length, size = i > 0 ? -1 : 0;
+ while (--i >= 0)
+ size += this.code[i].length + 1;
+ return this.__size = size;
+ };
+
+ P.getLine = function(row) {
+ if (row == null)
+ row = this._rowcol.row;
+ return this.code[row];
+ };
+
+ P.charAtRowCol = function(row, col) {
+ var n = this.code.length;
+ if (row >= n--)
+ return null;
+ var line = this.code[row];
+ if (col == line.length)
+ return row == n && line.charAt(col) || "\n";
+ return line.charAt(col);
+ };
+
+ P.charAt = function(point) {
+ if (point == null)
+ point = this.point();
+ else {
+ point = MRK(point);
+ if (point < 0)
+ point += this.point();
+ }
+ var rc = this._positionToRowCol(point);
+ return this.charAtRowCol(rc.row, rc.col);
+ };
+
+ P.callInteractively = function(func, args, finalArgs) {
+ if (!args)
+ args = []; // make IE happy
+ var cmd;
+ if (!(func instanceof Function)) {
+ cmd = func;
+ func = this.COMMANDS[func];
+ } else {
+ cmd = func.ymacsCommand || null;
+ }
+ if (func.ymacsCallInteractively && !finalArgs) {
+ // after prompting for eventual
+ // arguments, ymacsCallInteractively
+ // will actually call back again
+ // buffer's callInteractively, so we
+ // should STOP here.
+ return func.ymacsCallInteractively.apply(this, args);
+ }
+ this.currentCommand = cmd;
+ // the amount of brain twisting to get
+ // this right is incredible. :-( I give up.
+ if (cmd != "undo") {
+ this.__undoQueue = this.__undoQueue.concat(this.__redoQueue);
+ this.__redoQueue = [];
+ }
+ if (this.previousCommand != cmd) {
+ this.sameCommandCount(0);
+ if (cmd != "undo") {
+ this._placeUndoBoundary();
+ }
+ } else if (cmd != "self_insert_command" || this.sameCommandCount() % 20 == 0) {
+ if (cmd != "undo") {
+ this._placeUndoBoundary();
+ }
+ }
+ this.preventUpdates();
+ try {
+ this.callHooks("beforeInteractiveCommand", cmd, func);
+ if (!func.ymacsMarkExtend)
+ this.clearTransientMark();
+ return func.apply(this, args);
+ } catch(ex) {
+ if (ex instanceof Ymacs_Exception) {
+ this.signalError(ex.message);
+ } else {
+ throw ex;
+ }
+ } finally {
+ this.resumeUpdates();
+ this.callHooks("afterInteractiveCommand", cmd, func);
+ this.previousCommand = cmd;
+ this.sameCommandCount(+1);
+ }
+ };
+
+ P.resetOverwriteMode = function(om) {
+ if (arguments.length == 0)
+ om = this.overwriteMode;
+ this.callHooks("onOverwriteMode", this.overwriteMode = !om);
+ this.signalInfo(om ? "Insert mode" : "Overwrite mode");
+ };
+
+ P.getMinibuffer = function() {
+ return this.whenYmacs(function(ymacs) { return ymacs.minibuffer; });
+ };
+
+ P.getMinibufferFrame = function() {
+ return this.whenYmacs(function(ymacs) { return ymacs.minibuffer_frame; });
+ };
+
+ P.setMinibuffer = function(text) {
+ this.whenMinibuffer(function(mb){
+ mb.setCode(text);
+ mb.cmd("end_of_buffer");
+ });
+ };
+
+ P.cmd = function(cmd) {
+ return this.COMMANDS[cmd].apply(this, Array.$(arguments, 1));
+ };
+
+ P.cmdApply = function(cmd, args) {
+ return this.COMMANDS[cmd].apply(this, args);
+ };
+
+ P.createDialog = function(args) {
+ if (!args.parent) {
+ args.parent = this.getActiveFrame() && this.getActiveFrame().getParentDialog();
+ if (!("noShadows" in args)) {
+ args.noShadows = true;
+ }
+ }
+ var dlg = new DlDialog(args);
+ this.whenActiveFrame(function(frame){
+ dlg.addEventListener("onDestroy", frame.focus.clearingTimeout(0, frame));
+ });
+ return dlg;
+ };
+
+ P.getActiveFrame = function() {
+ return this.whenYmacs("getActiveFrame");
+ };
+
+ // This function receives a string and a continuation. If
+ // there is an object property or variable named $what, then
+ // $cont is called in the context of this object and given the
+ // value of $what as first argument. The returned value is
+ // passed back to caller.
+ //
+ // The continuation can also be a string, in which case it's
+ // assumed to be a method in the value of $what, thus called
+ // on it.
+ //
+ // This is a bit messy, but should work well as long as we
+ // don't use the same name for both an object property and a
+ // variable in this.variables. Otherwise, the property takes
+ // precedence.
+ P.when = function(what, cont) {
+ what = this[what] || this.getq(what);
+ if (what != null) {
+ if (cont instanceof Function)
+ return cont.call(this, what);
+ else {
+ return what[cont].apply(what, Array.$(arguments, 2));
+ }
+ }
+ };
+
+ // XXX: this is way too ugly.
+ P.whenActiveFrame = function() {
+ var fr = this.getActiveFrame(); // miserable hack
+ if (fr.buffer === this) {
+ this.activeFrame = fr;
+ var a = Array.$(arguments);
+ a.unshift("activeFrame");
+ return this.when.apply(this, a);
+ } else {
+ this.activeFrame = null;
+ }
+ };
+
+ P.forAllFrames = function(cont) {
+ this.ymacs.getBufferFrames(this).foreach(cont);
+ };
+
+ P.whenYmacs = function() {
+ var a = Array.$(arguments);
+ a.unshift("ymacs");
+ return this.when.apply(this, a);
+ };
+
+ P.whenMinibuffer = function(cont) {
+ // In fact, we should move when() into some base
+ // object... but which one? JS doesn't have multiple
+ // inheritance, though we could easily "invent" it.
+ return this.whenYmacs(function(ymacs){
+ if (ymacs.minibuffer)
+ return cont.call(this, ymacs.minibuffer);
+ });
+ };
+
+ P.preventUpdates = function() {
+ ++this.__preventUpdates;
+ };
+
+ P.resumeUpdates = function() {
+ if ((this.__preventUpdates = Math.max(this.__preventUpdates - 1, 0)) == 0) {
+ this.redrawDirtyLines();
+ }
+ };
+
+ P.getRegion = function(begin, end) {
+ if (begin == null) begin = this.caretMarker;
+ if (end == null) end = this.markMarker;
+ begin = MRK(begin);
+ end = MRK(end);
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ return { begin: begin, end: end };
+ };
+
+ P.redrawDirtyLines = function() {
+ this.callHooks("beforeRedraw");
+ this.__dirtyLines.foreach(function(draw, row){
+ if (draw) {
+ this.callHooks("onLineChange", row);
+ }
+ }, this);
+ this.__dirtyLines = [];
+ this.callHooks("afterRedraw");
+ };
+
+ P.getOverlays = function() {
+ return this.__overlays;
+ };
+
+ P.getOverlay = function(name) {
+ return this.__overlays[name];
+ };
+
+ P.setOverlay = function(name, props) {
+ var ov = this.__overlays[name], isNew = !ov, tmp;
+ if (isNew)
+ ov = this.__overlays[name] = props;
+ else
+ Object.merge(ov, props);
+ // normalize line/col
+ if (ov.line2 < ov.line1) {
+ tmp = ov.line2; ov.line2 = ov.line1; ov.line1 = tmp;
+ tmp = ov.col2; ov.col2 = ov.col1; ov.col1 = tmp;
+ }
+ else if (ov.line2 == ov.line1 && ov.col2 < ov.col1) {
+ tmp = ov.col2; ov.col2 = ov.col1; ov.col1 = tmp;
+ }
+ this.callHooks("onOverlayChange", name, ov, isNew);
+ };
+
+ P.deleteOverlay = function(name) {
+ delete this.__overlays[name];
+ this.callHooks("onOverlayDelete", name);
+ };
+
+ P.ensureTransientMark = function() {
+ var rc = this._rowcol, tm;
+ if (!this.transientMarker) {
+ this.transientMarker = this.createMarker();
+ this.markMarker.setPosition(this.point());
+ tm = rc;
+ }
+ if (!tm)
+ tm = this.transientMarker.getRowCol();
+ this.setOverlay("selection", {
+ line1 : tm.row,
+ col1 : tm.col,
+ line2 : rc.row,
+ col2 : rc.col
+ });
+ };
+
+ P.clearTransientMark = function() {
+ if (this.transientMarker) {
+ this.transientMarker.destroy();
+ this.transientMarker = null;
+ this.deleteOverlay("selection");
+ }
+ };
+
+ P.deleteTransientRegion = function() {
+ if (this.transientMarker) {
+ this._deleteText(this.caretMarker, this.transientMarker);
+ this.clearTransientMark();
+ this._placeUndoBoundary();
+ return true;
+ }
+ };
+
+ var $sameCommandCount = 0;
+ P.sameCommandCount = function(diff) {
+ if (diff == null)
+ return $sameCommandCount;
+ return $sameCommandCount += diff;
+ };
+
+ var $lastKeyEvent;
+ P.interactiveEvent = function(ev) {
+ if (arguments.length == 0)
+ return $lastKeyEvent;
+ return $lastKeyEvent = ev;
+ };
+
+ P.getPrefixArg = function(noDiscard) {
+ var ret = this.getq("universal_prefix");
+ if (!noDiscard) {
+ this.setq("universal_prefix", undefined);
+ if (!this.isMinibuffer)
+ this.setMinibuffer("");
+ }
+ return ret;
+ };
+
+ P.setPrefixArg = function(val) {
+ return this.setq("universal_prefix", val);
+ };
+
+ P.updateProgress = function(name, val) {
+ if (val == null)
+ delete this.progress[name];
+ else
+ this.progress[name] = val;
+ this.callHooks("onProgressChange");
+ };
+
+ P.renderModelineContent = function(rc) {
+ var ml = String.buffer("-- <b>", this.name.htmlEscape(), "</b> (", rc.row + 1, ",", rc.col, ") ");
+ var pr = [];
+ for (var i in this.progress) {
+ pr.push(i + ": " + this.progress[i]);
+ }
+ if (pr.length > 0) {
+ ml("[", pr.join(", "), "]");
+ }
+ return ml.get();
+ };
+
+ /* -----[ not-so-public API ]----- */
+
+ // BEGIN: undo queue
+
+ P._recordChange = function(type, pos, len, text) {
+ if (len > 0) {
+ var q = this.__undoQueue;
+ q.push({
+ type : type,
+ pos : pos,
+ len : len,
+ text : text
+ });
+ if (q.length > MAX_UNDO_RECORDS)
+ q.shift();
+ }
+ };
+
+ P._placeUndoBoundary = function(q) {
+ q = q || this.__undoQueue;
+ var m = this.markers.map(function(m){
+ return [ m, m.getPosition() ];
+ });
+ var last = q.peek();
+ if (!last || last.type != 3) {
+ q.push({ type: 3, markers: m });
+ } else {
+ last.markers = m;
+ }
+ };
+
+ P._playbackUndo = function(q) {
+ ++this.__undoInProgress;
+ var didit = false, action;
+ while (q.length > 0 && q.peek().type == 3) {
+ action = q.pop();
+ }
+ while (q.length > 0) {
+ action = q.pop();
+ if (action.type == 3) { // boundary
+ // restore markers
+ action.markers.foreach(function(m){
+ m[0].setPosition(m[1]);
+ });
+ break;
+ }
+ didit = true;
+ var pos = action.pos;
+ switch (action.type) {
+ case 1: // insert
+ this._deleteText(pos, pos + action.len);
+ break;
+ case 2: // delete
+ this._insertText(action.text, pos);
+ break;
+ }
+ }
+ --this.__undoInProgress;
+ return didit;
+ };
+
+ // END: undo
+
+ P._replaceLine = function(row, text) {
+ this.code[row] = text;
+ this._textProperties.replaceLine(row, text);
+ if (this.__preventUpdates == 0) {
+ this.callHooks("onLineChange", row);
+ } else {
+ this.__dirtyLines[row] = true;
+ }
+ };
+
+ P._deleteLine = function(row) {
+ this.code.splice(row, 1);
+ this._textProperties.deleteLine(row);
+ if (this.tokenizer)
+ this.tokenizer.quickDeleteLine(row);
+ this.__dirtyLines.splice(row, 1);
+ this.callHooks("onDeleteLine", row);
+ };
+
+ P._insertLine = function(row, text) {
+ this.code.splice(row, 0, text);
+ this._textProperties.insertLine(row);
+ if (this.tokenizer)
+ this.tokenizer.quickInsertLine(row);
+ var drawIt = this.__preventUpdates == 0;
+ this.callHooks("onInsertLine", row, drawIt);
+ if (!drawIt) {
+ if (this.__dirtyLines.length <= row)
+ this.__dirtyLines[row] = true;
+ else
+ this.__dirtyLines.splice(row, 0, true);
+ }
+ };
+
+ P._insertText = function(text, pos) {
+ if (text.length == 0)
+ return;
+ if (pos == null)
+ pos = this.caretMarker.getPosition();
+ pos = MRK(pos);
+ // *** UNDO RECORDING
+ if (this.__preventUndo == 0)
+ this._recordChange(1, pos, text.length);
+ var rc = pos == this.point() ? this._rowcol : this._positionToRowCol(pos),
+ i = rc.row;
+ if (/^\n+$/.test(text) && rc.col == 0) {
+ // handle this case separately, since it's so
+ // frequently used (ENTER pressed) and the
+ // default algorithm messes up colorization
+ // for a fraction of a second, flashing badly.
+ text.length.times(function(j){
+ this._insertLine(i + j, "");
+ }, this);
+ } else {
+ var lines = text.split("\n"), ln = this.code[i], rest = ln.substr(rc.col);
+ if (lines.length > 1) {
+ this._replaceLine(i, ln.substr(0, rc.col) + lines.shift());
+ lines.foreach(function(text){
+ this._insertLine(++i, text);
+ }, this);
+ this._replaceLine(i, this.code[i] + rest);
+ } else {
+ this._replaceLine(i, ln.substr(0, rc.col) + lines[0] + ln.substr(rc.col));
+ }
+ }
+ this._updateMarkers(pos, text.length);
+ this.callHooks("onTextInsert", pos, text);
+ };
+
+ P._deleteText = function(begin, end) {
+ begin = this._boundPosition(MRK(begin));
+ end = this._boundPosition(MRK(end));
+ if (begin == end)
+ return;
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ // *** UNDO RECORDING
+ if (this.__preventUndo == 0)
+ this._recordChange(2, begin, end - begin, this._bufferSubstring(begin, end));
+ var brc = this._positionToRowCol(begin),
+ erc = this._positionToRowCol(end);
+ var line = this.code[brc.row];
+ if (brc.row == erc.row) {
+ // same line, that's easy
+ line = line.substr(0, brc.col) + line.substr(erc.col);
+ this._replaceLine(brc.row, line);
+ } else {
+ // fix first line
+ line = line.substr(0, brc.col) + this.code[erc.row].substr(erc.col);
+ this._replaceLine(brc.row, line);
+ // delete lines in between
+ line = brc.row + 1;
+ (erc.row - brc.row).times(this._deleteLine.$(this, line));
+ }
+ this._updateMarkers(begin, begin - end, begin);
+ this.callHooks("onTextDelete", begin, end);
+ };
+
+ P._replaceText = function(begin, end, text) {
+ this._deleteText(begin, end);
+ this._insertText(text, begin);
+ };
+
+ P._swapAreas = function(a) {
+ a = a.map(MRK).mergeSort();
+ var b1 = a[0],
+ e1 = a[1],
+ b2 = a[2],
+ e2 = a[3],
+ t1 = this._bufferSubstring(b1, e1),
+ t2 = this._bufferSubstring(b2, e2);
+ this._replaceText(b2, e2, t1);
+ this._replaceText(b1, e1, t2);
+ return e2;
+ };
+
+ P._bufferSubstring = function(begin, end) {
+ if (begin == null) begin = this.point();
+ else begin = MRK(begin);
+
+ if (end == null) end = this.getCodeSize();
+ else end = MRK(end);
+
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ // var brc = this._positionToRowCol(begin),
+ // erc = this._positionToRowCol(end);
+ // if (brc.row == erc.row) {
+ // return this.code[brc.row].substring(brc.col, erc.col);
+ // } else return [ this.code[brc.row].substr(brc.col) ].
+ // concat(this.code.slice(brc.row + 1, erc.row)).
+ // concat(this.code[erc.row].substr(0, erc.col)).
+ // join("\n");
+ return this.getCode().substring(begin, end);
+ };
+
+ P._killingAction = function(p1, p2, prepend, noDelete) {
+ p1 = MRK(p1);
+ p2 = MRK(p2);
+ var text = this._bufferSubstring(p1, p2);
+ this._saveKilledText(text, prepend);
+ if (!noDelete)
+ this._deleteText(p1, p2);
+ };
+
+ P._saveKilledText = function(text, prepend) {
+ if (!this._lastCommandWasKill)
+ this.ymacs.killRingToMaster();
+ this.ymacs.pushToKillRing(text, prepend);
+ this._lastCommandWasKill++;
+ };
+
+ P._positionToRowCol = function(pos) {
+ var line = 0, a = this.code, n = a.length;
+ while (pos > 0 && line < n) {
+ var len = a[line].length;
+ if (len >= pos)
+ break;
+ pos -= len + 1; // one for the newline
+ line++;
+ }
+ return { row: line, col: pos };
+ };
+
+ P._rowColToPosition = function(row, col) {
+ var pos = 0, a = this.code, i = Math.min(row, a.length - 1), n = i;
+ if (i < 0)
+ return 0;
+ while (--i >= 0)
+ pos += a[i].length + 1; // one for the newline
+ return pos + Math.min(col, a[n].length);
+ };
+
+ P._boundPosition = function(pos) {
+ if (pos < 0)
+ return 0;
+ return Math.min(pos, this.getCodeSize());
+ };
+
+ P._repositionCaret = function(pos) {
+ var p = this.caretMarker.getPosition();
+ if (pos == null)
+ pos = p;
+ pos = MRK(pos);
+ pos = this._boundPosition(pos);
+ this.caretMarker.setPosition(pos);
+ return pos != p;
+ };
+
+ P._updateMarkers = function(offset, delta, min) {
+ this.__size = null;
+ this.__code = null;
+ // if (this.__undoInProgress == 0) {
+ this.markers.map("editorChange", offset, delta, min || 0);
+ // }
+ if (this.tokenizer) {
+ this.tokenizer.quickUpdate(Math.min(offset, offset + delta));
+ }
+ };
+
+ P._saveExcursion = function(cont, markerBefore) {
+ var tmp = this.createMarker(null, markerBefore);
+ ++this.__savingExcursion;
+ try {
+ return cont.call(this);
+ } finally {
+ --this.__savingExcursion;
+ this.caretMarker.swap(tmp, false, true);
+ tmp.destroy();
+ }
+ };
+
+ P._disableUndo = function(cont) {
+ ++this.__preventUndo;
+ try {
+ return cont.call(this);
+ } finally {
+ --this.__preventUndo;
+ }
+ };
+
+ P._handleKeyEvent = function(ev) {
+ var handled = false;
+ this.interactiveEvent(ev);
+ var lcwk = this._lastCommandWasKill;
+
+ if (this.__nextIsMeta)
+ ev.altKey = true;
+ this.__nextIsMeta = false;
+
+ var key = Ymacs_Keymap.unparseKey(ev);
+ var cc = this.currentKeys;
+ var foundPrefix = false;
+ cc.push(key);
+
+ this.keymap.r_foreach(function(km){
+ var h = km.getHandler(cc);
+ if (h instanceof Array) {
+ this.callInteractively(h[0], h[1]);
+ handled = true;
+ }
+ else if (h) {
+ handled = foundPrefix = true;
+ }
+ else if (key === "ESCAPE") {
+ this.__nextIsMeta = true;
+ handled = true;
+ }
+ else if (km.defaultHandler && cc.length == 1) {
+ handled = this.callInteractively(km.defaultHandler[0], km.defaultHandler[1]);
+ }
+ if (handled)
+ $BREAK();
+ }, this);
+
+ if (!foundPrefix) {
+ if (!handled) {
+ if (cc.length > 1) {
+ this.signalError(cc.join(" ").bold() + " is undefined", true);
+ handled = true;
+ }
+ }
+ cc.splice(0, cc.length);
+ }
+
+ if (this._lastCommandWasKill == lcwk && typeof handled != "object") {
+ // selecting a prefix keymap shouldn't clear the killRing
+ this._lastCommandWasKill = 0;
+ }
+
+ this.callHooks("finishedEvent", handled);
+ this.interactiveEvent(null);
+ return handled;
+ };
+
+ P._on_tokenizerFoundToken = function(row, c1, c2, what) {
+ if (what) {
+ this._textProperties.addLineProps(row, c1, c2, "css", what);
+ } else {
+ this._textProperties.removeLineProps(row, c1, c2, "css");
+ }
+ };
+
+ P._on_textPropertiesChange = function(row) {
+ if (this.__preventUpdates == 0) {
+ this.callHooks("onLineChange", row);
+ } else {
+ this.__dirtyLines[row] = true;
+ }
+ };
+
+ P.formatLineHTML = function(row, caret) {
+ var rc = this._rowcol;
+ if (caret instanceof Ymacs_Marker)
+ rc = caret.getRowCol();
+ caret = row == rc.row ? rc.col : null;
+ return this._textProperties.getLineHTML(row, this.code[row], caret);
+ };
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-commands-utils.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-commands-utils.js
new file mode 100644
index 0000000..04d3d36
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-commands-utils.js
@@ -0,0 +1,157 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-buffer.js
+
+Ymacs_Buffer.newCommands({
+
+ get_region: function() {
+ return this.getRegion();
+ },
+
+ cperl_lineup: Ymacs_Interactive("r", function(begin, end){
+ this.cmd("save_excursion", function(){
+ var rcend = this._positionToRowCol(end), max = 0, lines = [];
+ this.cmd("goto_char", begin);
+ this.cmd("forward_whitespace", true);
+ var ch = this.charAt();
+ if (ch.toLowerCase() != ch.toUpperCase()) {
+ this.signalError("Cannot lineup here");
+ return;
+ }
+ while (this._rowcol.row <= rcend.row) {
+ var pos = this.getLine().indexOf(ch);
+ if (pos >= 0) {
+ if (pos > max)
+ max = pos;
+ lines.push([ this._rowcol.row, pos ]);
+ }
+ if (!this.cmd("forward_line"))
+ break;
+ }
+ ++max;
+ lines.foreach(function(l){
+ this.cmd("goto_char", this._rowColToPosition(l[0], l[1]));
+ this.cmd("insert", " ".x(max - l[1]));
+ }, this);
+ });
+ }),
+
+ htmlize_region: Ymacs_Interactive("r\nP", function(begin, end, lineNum) {
+ this.tokenizer.finishParsing();
+ var row = this._positionToRowCol(begin).row,
+ html = String.buffer(),
+ line = row, pad;
+ if (lineNum && !lineNum.empty)
+ line = parseInt(lineNum, 10);
+ end = this._positionToRowCol(end).row;
+ pad = String(end).length;
+ while (row <= end) {
+ html("<div class='line'>");
+ if (lineNum)
+ html("<span class='line-number'>", line.zeroPad(pad, " "), "</span>");
+ ++line;
+ html(this._textProperties.getLineHTML(row, this.code[row], null), "</div>\n");
+ ++row;
+ }
+ html = html.get();
+ var tmp = this.ymacs.switchToBuffer("*Htmlize*");
+ tmp.setCode(html);
+ tmp.cmd("xml_mode", true);
+ }),
+
+ execute_extended_command: Ymacs_Interactive("^CM-x ", function(cmd) {
+ this.callInteractively(cmd);
+ }),
+
+ set_variable: Ymacs_Interactive("vSet variable: \nsTo value: ", function(variable, value) {
+ var tmp = parseFloat(value);
+ if (!isNaN(tmp))
+ value = tmp;
+ this.setq(variable, value);
+ }),
+
+ eval_string: Ymacs_Interactive("^MEval string: ", function(code){
+ try {
+ var variables = [
+ this, // buffer
+ this.ymacs // ymacs
+ ];
+ code = new Function("buffer", "ymacs", code);
+ code.apply(this, variables);
+ this.clearTransientMark();
+ } catch(ex) {
+ this.signalError(ex.type + ": " + ex.message);
+ if (window.console)
+ console.log(ex);
+ }
+ }),
+
+ eval_region: Ymacs_Interactive("^r", function(begin, end) {
+ this.cmd("eval_string", this.cmd("buffer_substring", begin, end));
+ }),
+
+ eval_buffer: Ymacs_Interactive(function(){
+ this.cmd("eval_string", this.getCode());
+ }),
+
+ toggle_line_numbers: Ymacs_Interactive("^", function(){
+ this.whenActiveFrame("toggleLineNumbers");
+ }),
+
+ save_file: Ymacs_Interactive("FWrite file: ", function(name){
+ var files = this.ymacs.ls_getFileDirectory(name, "file");
+ files.dir[files.other[0]] = this.getCode();
+ this.ymacs.ls_set(files.store);
+ this.signalInfo("Saved in local storage");
+ }),
+
+ load_file: Ymacs_Interactive("fFind file: ", function(name){
+ var code = this.ymacs.ls_getFileContents(name);
+ var buffer = this.ymacs.createBuffer({ name: name });
+ buffer.setCode(code);
+ this.cmd("switch_to_buffer", name);
+ }),
+
+ delete_file: Ymacs_Interactive("fDelete file: ", function(name){
+ this.ymacs.ls_getFileContents(name);
+ var files = this.ymacs.ls_get();
+ delete files[name];
+ this.ymacs.ls_set(files);
+ }),
+
+ eval_file: Ymacs_Interactive("fEval file: ", function(name){
+ this.cmd("eval_string", this.ymacs.ls_getFileContents(name));
+ })
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-commands.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-commands.js
new file mode 100644
index 0000000..a44e1ff
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-commands.js
@@ -0,0 +1,1517 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-buffer.js
+
+
+Ymacs_Buffer.newCommands({
+
+ forward_char: Ymacs_Interactive("p", function(x) {
+ if (x == null) x = 1;
+ return this.cmd("goto_char", this.point() + x);
+ }),
+
+ backward_char: Ymacs_Interactive("p", function(x) {
+ if (x == null) x = 1;
+ return this.cmd("forward_char", -x);
+ }),
+
+ forward_line: Ymacs_Interactive("p", function(x) {
+ if (x == null) x = 1;
+ var rc = this._rowcol;
+ if (!/^(forward|backward)_line$/.test(this.previousCommand)) {
+ this.setq("line_movement_requested_col", rc.col);
+ }
+ var ret = this.cmd("goto_char",
+ this._rowColToPosition(rc.row + x,
+ Math.max(rc.col,
+ this.getq("line_movement_requested_col")))); // starting to look like Lisp, eh?
+ if (!ret)
+ this.setq("line_movement_requested_col", rc.col);
+ return ret;
+ }),
+
+ backward_line: Ymacs_Interactive("p", function(x) {
+ if (x == null) x = 1;
+ return this.cmd("forward_line", -x);
+ }),
+
+ forward_whitespace: Ymacs_Interactive("P", function(noLine) {
+ var re = noLine ? /[^\x20\t\xA0]/g : /[^\s]/g;
+ if (this.cmd("search_forward_regexp", re)) {
+ this.cmd("backward_char");
+ return true;
+ } else if (!noLine)
+ return this.cmd("end_of_buffer");
+ }),
+
+ backward_whitespace: Ymacs_Interactive("P", function(noLine) {
+ var re = noLine ? /[^\x20\t\xA0]/g : /[^\s]/g;
+ if (this.cmd("search_backward_regexp", re)) {
+ this.cmd("forward_char");
+ return true;
+ } else if (!noLine)
+ return this.cmd("beginning_of_buffer");
+ }),
+
+ beginning_of_line: Ymacs_Interactive(function() {
+ return this.cmd("goto_char", this._rowColToPosition(this._rowcol.row, 0));
+ }),
+
+ back_to_indentation: Ymacs_Interactive(function() {
+ var rc = this._rowcol, line = this.code[rc.row], m = /\S/.exec(line);
+ if (m)
+ return this.cmd("goto_char", this._rowColToPosition(rc.row, m.index));
+ }),
+
+ beginning_of_indentation_or_line: Ymacs_Interactive(function() {
+ return this.cmd("back_to_indentation") || this.cmd("beginning_of_line");
+ }),
+
+ end_of_line: Ymacs_Interactive(function() {
+ var rc = this._rowcol;
+ return this.cmd("goto_char", this._rowColToPosition(rc.row, this.code[rc.row].length));
+ }),
+ wrap : Ymacs_Interactive(function() {
+ var i = 0;
+ this.cmd("end_of_buffer");
+ var st1 = this.caretMarker.getPosition();
+ this.cmd("beginning_of_buffer");
+ if(st1 != 0)
+ {
+ while(i < 50 )
+ {
+ this.cmd("goto_line", i);
+ i= i+1;
+ rc = this._rowcol;
+ var line = this.code[rc.row];
+ var line_size = line.length;
+ if(line_size > 112)
+ {
+ this.cmd("move_to_column", 111);
+ this.cmd("insert", "\n");
+ this.cmd("forward_line");
+ }
+ }
+
+ }
+
+ }),
+
+
+ wrap_at_edge : Ymacs_Interactive(function() {
+ rc = this._rowcol;
+ var line = this.code[rc.row];
+ var str1 = line.length;
+ if(str1 > 112)
+ {
+ this.cmd("insert", "\n");
+ }
+ }),
+
+ wrap_status:Ymacs_Interactive(function() {
+ var one = flag;
+ //alert("inside wrap_status");
+ return one;
+ }),
+
+ word_wrap : Ymacs_Interactive(function() {
+
+ var one1 = this.cmd("wrap_status");
+ if(one1 == "Word Wrap")
+ {
+ var x = 112;
+ rc = this._rowcol;
+ var line = this.code[rc.row];
+ var str1 = line.length;
+ if(str1 > x)
+ {
+ var str2 = line.slice(0,str1-2);
+ var str3 = str2.lastIndexOf(" ");
+ this.cmd("move_to_column", str3+1);
+ this.cmd("insert", "\n");
+ this.cmd("end_of_line");
+ this.cmd("insert", " ");
+ }
+ else
+ {
+ this.cmd("insert", " ");
+ }
+ }
+ else
+ {
+
+ this.cmd("insert", " ");
+ }
+
+
+ }),
+
+
+ wrap1:Ymacs_Interactive(function() {
+ var i = 1;
+ this.cmd("end_of_buffer");
+ var str1 = this.caretMarker.getPosition();
+ //this.cmd("beginning_of_buffer");
+ if(str1 != 0)
+ {
+ while(i < 50 )
+ {
+ this.cmd("goto_line" ,i);
+ i=i+1;
+ rc = this._rowcol;
+ var line = this.code[rc.row];
+ var str2 = line.lastIndexOf(" ");
+ if(str2 > 112)
+ {
+ var str2 = line.slice(0,115);
+ var str3 = str2.lastIndexOf(" ");
+ this.cmd("move_to_column", str3+1);
+ this.cmd("insert", "\n");
+ this.cmd("forward_line");
+ }
+ }
+ }
+
+ }),
+
+
+ beginning_of_buffer: Ymacs_Interactive(function() {
+ return this.cmd("goto_char", 0);
+ }),
+ export_as_html: Ymacs_Interactive(function() {
+ //jQuery.get('/ymacs/test.py', function(data) {
+ //alert("jquery");
+ //window.location= "/home/supriya/ymacs/test.py"
+ //alert("test1");
+
+ //do stuff with the data
+
+
+ //var oShell = new AactiveXObject("WScript.Shell");
+ //shell.Run("/h", 1, true);
+ // $.ajax({
+ // type: "GET",
+ // url: "test.py",
+ // success: function() { alert("ajax"); }
+ //} );
+ //} );
+ //url = "~/test.py"
+ //$.get(url,
+ //function(data){
+ //alert("ajax");
+ //});
+
+
+ }),
+
+
+ end_of_buffer: Ymacs_Interactive(function() {
+ return this.cmd("goto_char", this.getCodeSize());
+ }),
+
+ eob_p: function() {
+ return this.point() == this.getCodeSize();
+ },
+
+ bob_p: function() {
+ return this.point() == 0;
+ },
+
+ eol_p: function() {
+ var rc = this._positionToRowCol(this.point());
+ return rc.col == this.code[rc.line].length;
+ },
+
+ bol_p: function() {
+ return this._positionToRowCol(this.point()).col == 0;
+ },
+
+ backward_delete_char: Ymacs_Interactive("^p", function(n){
+ if (!this.deleteTransientRegion()) {
+ if (n == null) n = 1;
+ var pos = this.point();
+ if (pos > 0)
+ this._deleteText(pos - n, pos);
+ }
+ }),
+
+ delete_char: Ymacs_Interactive("^p", function(n){
+ if (!this.deleteTransientRegion()) {
+ if (n == null) n = 1;
+ var pos = this.point();
+ this._deleteText(pos, pos + n);
+ }
+ }),
+
+ delete_whitespace: Ymacs_Interactive("^P", function(noLine) {
+ if (!this.deleteTransientRegion()) {
+ var p = this.point();
+ if (this.cmd("forward_whitespace", noLine)) {
+ this._deleteText(p, this.point());
+ return true;
+ }
+ }
+ }),
+
+ backward_delete_whitespace: Ymacs_Interactive("^P", function(noLine) {
+ if (!this.deleteTransientRegion()) {
+ var p = this.point();
+ if (this.cmd("backward_whitespace", noLine)) {
+ this._deleteText(this.point(), p);
+ return true;
+ }
+ }
+ }),
+
+ universal_argument: Ymacs_Interactive("^", function(){
+ this.pushKeymap(Ymacs_Keymap_UniversalArgument());
+ if (!this.isMinibuffer)
+ this.setMinibuffer("C-u");
+ }),
+
+ overwrite_mode: Ymacs_Interactive(function() {
+ this.resetOverwriteMode();
+ }),
+
+ self_insert_command: Ymacs_Interactive("^p", function(repeat) {
+ var ev = this.interactiveEvent(),
+ ch = String.fromCharCode(ev.charCode),
+ rc = this._rowcol;
+ if (ev.charCode && ch && !ev.altKey && !ev.ctrlKey) {
+ this.deleteTransientRegion();
+ if (repeat != null)
+ ch = ch.x(repeat);
+ if (this.overwriteMode) {
+ var line = this.code[rc.row], left = line.length - rc.col;
+ if (left > 0)
+ this.cmd("delete_char", Math.min(left, repeat || 1));
+ }
+ this.cmd("insert", ch);
+ ev.domStop = true;
+ return true;
+ }
+ return false;
+ }),
+
+ newline: Ymacs_Interactive("^p", function(n){
+ if (n == null) n = 1;
+ this.deleteTransientRegion();
+ this.cmd("insert", "\n".x(n));
+ }),
+
+
+ newline_and_indent: Ymacs_Interactive("^p", function(n){
+ if (n) {
+ this.cmd("newline", n);
+ } else {
+ this.cmd("backward_delete_whitespace", true);
+ this.cmd("newline");
+ this.cmd("indent_line");
+ }
+ }),
+
+
+// tab is not working on the 1st position of the buffer
+// user should create table from 1st position only
+
+ indent_line: Ymacs_Interactive("P", function(noEmpty) {
+ if (this.tokenizer) {
+ var indent = this.tokenizer.getIndentation(this._rowcol.row, this);
+ var a = " ";
+ if (indent != null) {
+ if (!noEmpty || /\S/.test(this.getLine())) {
+ var pos = this.cmd("save_excursion", function(){
+
+ if (this._rowcol.col != indent) {
+
+
+ var pos1 = this.caretMarker.getPosition();
+ //alert(pos1);
+ this.cmd("beginning_of_line");
+
+ var pos2 = this.caretMarker.getPosition();
+
+ var char1 = this.charAt(pos2);
+ this.cmd("forward_paragraph");
+ this.cmd("backward_line");
+ this.cmd("end_of_line");
+ var para_end1 = this.caretMarker.getPosition();
+ var para_end2 = (para_end1 - 1);
+
+
+ // identifying table or text
+
+ if (char1 == "|"){
+ this.cmd("goto_char",pos1);
+ this.cmd("end_of_line");
+ var end_line1 = this.caretMarker.getPosition();
+ var end_line2 =(end_line1 - 1);
+ for( var a1=1;a1<113;a1=a1+1){
+
+ var pos3 = (pos1 + a1);
+ //alert(pos3);
+ var char2 = this.charAt(pos3);
+ // checks end of the table
+ if (char2 == "|"){
+ if (char2 == "|" && pos3 == para_end2)
+ {this.cmd("goto_char",pos3);
+ //this.point();
+ this.cmd("beginning_of_line");
+ var B11 = this.caretMarker.getPosition();
+ //alert(B1);
+ this.cmd("end_of_line");
+ var P11 = this.caretMarker.getPosition();
+ //alert(P1);
+ var count1=0;
+ for(i=B11;i<=P11;i=i+1)
+ {
+ var c11=this.charAt(i);
+ if(c11=="|")
+ {count1=count1 + 1;}
+
+ }
+
+ var count2 = (count1 - 1);
+ this.cmd("newline");
+ for(i=1;i<=count2;i=i+1)
+ {
+ this.cmd("org_table_create");}
+ this.cmd("insert","|");
+ this.cmd("beginning_of_line");
+ this.cmd("forward_char");
+ }
+ // checks row or table end
+ else if(char2 == "|" && end_line2 == pos3)
+ { this.cmd("forward_line");
+ this.cmd("beginning_of_line");
+ var beg = this.caretMarker.getPosition();
+ var a11= this.charAt(beg);
+ if(a11 == "|"){
+ //alert(a11);
+ var beg1 = (beg + 1);
+ this.cmd("goto_char",beg1);}
+ else
+ {//alert("table-end");
+ this.cmd("goto_char",pos1);
+ var r_count = 1;
+ for(i=0;i<=5;i=i+1)
+ {
+ this.cmd("backward_line");
+ this.cmd("beginning_of_line");
+ var c_row = this.caretMarker.getPosition();
+ this.cmd("goto_char",c_row);
+ var ch_row = this.charAt(c_row);
+ // alert(ch_row);
+
+ if (ch_row == "|")
+ { r_count = r_count + 1 ;
+
+ }else
+ break;
+ }//alert("no_of_rows:" +r_count);
+
+
+ this.cmd("goto_char",pos3);
+ //this.point();
+ this.cmd("beginning_of_line");
+ var B1 = this.caretMarker.getPosition();
+ //alert(B1);
+ this.cmd("end_of_line");
+ var P1 = this.caretMarker.getPosition();
+ //alert(P1);
+ var count=0;
+ for(i=B1;i<=P1;i=i+1)
+ {
+ var c1=this.charAt(i);
+ if(c1=="|")
+ {count=count + 1;}
+
+ }
+ var count_n = (count -1);
+ //alert(count);
+ this.cmd("newline");
+ for(i=1;i<=count_n;i=i+1)
+ {this.cmd("org_table_create");}
+ this.cmd("insert","|");
+ this.cmd("beginning_of_line");
+ this.cmd("forward_char");
+ }
+
+ }
+ else if (char2 == "|")
+ {
+
+ var pos31 = (pos3 + 1);
+ this.cmd("goto_char",pos31);
+
+ }break;}}
+
+
+ }
+ // for text gives 4 spaces
+ else {
+ this.cmd("goto_char",pos1);
+ this.cmd("insert",a);}
+
+ }
+ return this.point();
+ });
+ // when point is before the indentation, go there.
+ if (this.point() < pos)
+ this.cmd("goto_char", pos);
+ }
+ return;
+ }
+ }
+ this.cmd("insert", " ".x(this.getq("indent_line")));
+ }),
+ indent_region: Ymacs_Interactive("r", function(begin, end) {
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; }
+ this.cmd("save_excursion", function() {
+ var m = this.createMarker(end);
+ this.cmd("goto_char", begin);
+ while (this.point() < m.getPosition()) {
+ this.cmd("indent_line", true);
+ this.cmd("beginning_of_line");
+ if (!this.cmd("forward_line"))
+ break;
+ };
+ m.destroy();
+ });
+ }),
+
+ make_marker: function(pos) {
+ return this.createMarker(pos);
+ },
+
+ looking_at: function(rx) {
+ var pos = rx.lastIndex = this.point();
+ var ret = this.matchData = rx.exec(this.getCode());
+ if (ret)
+ ret.after = rx.lastIndex;
+ return ret && ret.index == pos;
+ },
+
+ looking_back: function(rx) {
+ var m = this.lastIndexOfRegexp(this.getCode(), rx, this.point());
+ return m && m.after == this.point();
+ },
+
+ search_forward: Ymacs_Interactive("sSearch: ", function(str, bound) {
+ var code = this.getCode(), point = this.point();
+ if (this.getq("case_fold_search")) {
+ code = code.toLowerCase();
+ str = str.toLowerCase();
+ }
+ var pos = code.indexOf(str, point);
+ if (pos >= 0 && (bound == null || pos <= bound)) {
+ this.cmd("goto_char", pos + str.length);
+ return true;
+ }
+ }),
+
+ search_backward: Ymacs_Interactive("sSearch backward: ", function(str, bound) {
+ var code = this.getCode(), point = this.point();
+ if (this.getq("case_fold_search")) {
+ code = code.toLowerCase();
+ str = str.toLowerCase();
+ }
+ var pos = code.lastIndexOf(str, point);
+ if (pos == point)
+ pos = code.lastIndexOf(str, point - 1);
+ if (pos >= 0 && pos != point && (bound == null || pos >= bound)) {
+ this.cmd("goto_char", pos);
+ return true;
+ }
+ }),
+
+ make_regexp: function(rx) {
+ if (!(rx instanceof RegExp)) {
+ var matchCase = rx.toLowerCase() != rx.toUpperCase();
+ try {
+ rx = new RegExp(rx, matchCase ? "ig" : "g");
+ } catch(ex) {
+ throw new Ymacs_Exception("Invalid regexp");
+ }
+ }
+ return rx;
+ },
+
+ search_forward_regexp: Ymacs_Interactive("sRegExp search: ", function(rx) {
+ rx = this.cmd("make_regexp", rx);
+ var code = this.getCode(),
+ pos = rx.lastIndex = this.point(),
+ ret = this.matchData = rx.exec(code);
+ if (ret && rx.lastIndex != pos) {
+ ret.after = rx.lastIndex;
+ this.cmd("goto_char", rx.lastIndex);
+ return true;
+ }
+ }),
+
+ search_backward_regexp: Ymacs_Interactive("sBackward RegExp search: ", function(rx) {
+ rx = this.cmd("make_regexp", rx);
+ var m = this.lastIndexOfRegexp(this.getCode(), rx, this.point());
+ if (m && m.index != this.point()) {
+ this.cmd("goto_char", m.index);
+ return true;
+ }
+ }),
+
+ forward_word: Ymacs_Interactive_X(function(){
+ var word = this.getq("syntax_word"), end = false;
+ while (!end && !word.test(this.charAt()))
+ if (!this.cmd("forward_char"))
+ end = true;
+ while (!end && word.test(this.charAt()))
+ if (!this.cmd("forward_char"))
+ end = true;
+ }),
+
+ backward_word: Ymacs_Interactive_X(function(){
+ var word = this.getq("syntax_word"), end = false;
+ while (!end && !word.test(this.charAt(-1)))
+ if (!this.cmd("backward_char"))
+ end = true;
+ while (!end && word.test(this.charAt(-1)))
+ if (!this.cmd("backward_char"))
+ end = true;
+ }),
+
+ forward_paragraph: Ymacs_Interactive_X(function(){
+ this.cmd("forward_whitespace");
+ if (this.cmd("search_forward_regexp", this.getq("syntax_paragraph_sep")))
+ this.cmd("goto_char", this.cmd("match_beginning") + 1);
+ else
+ this.cmd("end_of_buffer");
+ }),
+
+ backward_paragraph: Ymacs_Interactive_X(function(){
+ this.cmd("backward_whitespace");
+ if (this.cmd("search_backward_regexp", this.getq("syntax_paragraph_sep")))
+ this.cmd("goto_char", this.cmd("match_end") - 1);
+ else
+ this.cmd("beginning_of_buffer");
+ }),
+
+ transpose_words: Ymacs_Interactive_X(function() {
+ // if we're in the middle of a word, some
+ // weird things happen; better skip it, just
+ // like Emacs does.
+ this.cmd("backward_char");
+ if (this.getq("syntax_word").test(this.charAt()))
+ this.cmd("forward_word");
+
+ var a = [];
+ this.cmd("forward_word"); a.push(this.point());
+ this.cmd("backward_word"); a.push(this.point());
+ this.cmd("backward_word"); a.push(this.point());
+ this.cmd("forward_word"); a.push(this.point());
+ this.cmd("goto_char", this._swapAreas(a));
+ }),
+
+ transpose_lines: Ymacs_Interactive_X(function() {
+ var a = [];
+ //alert(a[0]);
+ this.cmd("backward_line");
+ this.cmd("beginning_of_line"); a.push(this.point());
+ this.cmd("end_of_line"); a.push(this.point());
+ this.cmd("forward_char"); a.push(this.point());
+ this.cmd("end_of_line"); a.push(this.point());
+ this.cmd("goto_char", this._swapAreas(a));
+ }),
+
+ transpose_para: Ymacs_Interactive_X(function() {
+ var a = [];
+ //alert(a[0]);
+ this.cmd("backward_paragraph");
+ // this.cmd("backward_line");
+ this.cmd("forward_line"); a.push(this.point());
+ this.cmd("forward_paragraph");
+ this.cmd("backward_char"); a.push(this.point());
+ this.cmd("forward_whitespace"); a.push(this.point());
+ this.cmd("forward_paragraph");
+ this.cmd("backward_char");a.push(this.point());
+ this.cmd("goto_char", this._swapAreas(a));
+ }),
+
+ transpose_text: Ymacs_Interactive_X(function() {
+ var a = [];
+ //alert(a[0]);
+ this.cmd("beginning_of_line");
+ this.cmd("backward_paragraph");
+ this.cmd("forward_line");
+ this.cmd("forward_char");
+ this.cmd("forward_char"); a.push(this.point());
+ this.cmd("forward_paragraph");
+ this.cmd("backward_char"); a.push(this.point());
+ this.cmd("forward_whitespace");
+ this.cmd("forward_char");
+ this.cmd("forward_char");a.push(this.point());
+ this.cmd("forward_paragraph");
+ this.cmd("backward_char");a.push(this.point());
+ this.cmd("goto_char", this._swapAreas(a));
+ }),
+
+ transpose_chars: Ymacs_Interactive_X(function() {
+ var pos = this.point();
+ if (this.cmd("backward_char"))
+ this.cmd("goto_char", this._swapAreas([ pos - 1, pos, pos, pos + 1 ]));
+ }),
+
+ kill_word: Ymacs_Interactive_X(function() {
+ var pos = this.point();
+ this.cmd("forward_word");
+ var pos2 = this.point();
+ this._killingAction(pos, pos2, false);
+ }),
+
+ backward_kill_word: Ymacs_Interactive_X(function() {
+ var pos = this.point();
+ this.cmd("backward_word");
+ var pos2 = this.point();
+ this._killingAction(pos, pos2, true);
+ }),
+
+ _apply_operation_on_word: function (op, cc) {
+ var pos = this.point();
+ if (this.getq("syntax_word").test(this.charAt())) {
+ var pos2 = this.cmd("save_excursion", function(){
+ this.cmd("forward_word");
+ return this.point();
+ });
+ var word = op.call(this._bufferSubstring(pos, pos2));
+ this._deleteText(pos, pos2);
+ this._insertText(word);
+ } else {
+ this.cmd("forward_word");
+ this.cmd("backward_word");
+ if (pos != this.point())
+ this.cmd(cc);
+ }
+ },
+
+ capitalize_word: Ymacs_Interactive_X(function() {
+ this.cmd("_apply_operation_on_word", function() {
+ return this.charAt(0).toUpperCase() + this.substr(1).toLowerCase();
+ }, "capitalize_word");
+ }),
+
+ downcase_word: Ymacs_Interactive_X(function() {
+ this.cmd("_apply_operation_on_word", String.prototype.toLowerCase, "downcase_word");
+ }),
+
+ upcase_word: Ymacs_Interactive_X(function() {
+ this.cmd("_apply_operation_on_word", String.prototype.toUpperCase, "upcase_word");
+ }),
+
+ goto_char: Ymacs_Interactive("NGoto char: ", function(pos){
+ return this._repositionCaret(pos);
+ }),
+
+ goto_line: Ymacs_Interactive("NGoto line: ", function(row){
+ var pos = this._rowColToPosition(row - 1, 0);
+ return this.cmd("goto_char", pos);
+ }),
+
+ move_to_column: Ymacs_Interactive("NMove to column: ", function(col, force){
+ var rc = this._positionToRowCol(this.point());
+ var text = this.code[rc.row];
+ if (text.length < col) {
+ if (force) {
+ this.cmd("end_of_line");
+ this.cmd("insert", " ".x(col - text.length));
+ } else {
+ this.cmd("end_of_line");
+ }
+ } else {
+ this.cmd("goto_char", this._rowColToPosition(rc.row, col));
+ }
+ }),
+
+ delete_region: Ymacs_Interactive("r", function(begin, end){
+ this._deleteText(begin, end);
+ }),
+
+ insert: Ymacs_Interactive("sInsert text: ", function(){
+ return this._insertText(Array.$(arguments).join(""));
+ }),
+
+ keyboard_quit: Ymacs_Interactive("^p", Function.noop),
+
+ buffer_substring: function(begin, end) {
+ if (arguments.length == 0) {
+ var r = this.getRegion();
+ begin = r.begin;
+ end = r.end;
+ }
+ return this._bufferSubstring(begin, end);
+ },
+
+ kill_line: Ymacs_Interactive_X(function() {
+ var pos = this.point(),
+ rc = this._rowcol,
+ line = this.code[rc.row],
+ end = pos + line.length - rc.col;
+ if (rc.row < this.code.length - 1 && this.cmd("looking_at", /\s*$/mg))
+ end++;
+ this._killingAction(pos, end);
+ }),
+
+ save_excursion: function() {
+ return this._saveExcursion.apply(this, arguments);
+ },
+
+ prevent_undo: function() {
+ return this._disableUndo.apply(this, arguments);
+ },
+
+ point: function() {
+ return this.caretMarker.getPosition();
+ },
+
+ kill_region: Ymacs_Interactive("r", function(begin, end){
+ this._killingAction(begin, end);
+ }),
+
+ copy_region_as_kill: Ymacs_Interactive("r", function(begin, end){
+ this._killingAction(begin, end, false, true);
+ }),
+
+ yank: Ymacs_Interactive("^P", function(atStart){
+ this.deleteTransientRegion();
+ var point = this.point();
+ this._insertText(this.ymacs.killRingText());
+ this.cmd("set_mark_command", point);
+ if (atStart)
+ this.cmd("exchange_point_and_mark");
+ }),
+
+ yank_pop: Ymacs_Interactive(function() {
+ if (/^yank/.test(this.previousCommand)) {
+ this.ymacs.rotateKillRing(false);
+ this._deleteText(this.caretMarker, this.markMarker);
+ this.cmd("yank");
+ } else {
+ this.signalError("Previous command was not a yank");
+ }
+ }),
+
+ yank_shift: Ymacs_Interactive(function() {
+ if (/^yank/.test(this.previousCommand)) {
+ this.ymacs.rotateKillRing(true);
+ this._deleteText(this.caretMarker, this.markMarker);
+ this.cmd("yank");
+ } else {
+ this.signalError("Previous command was not a yank");
+ }
+ }),
+
+ mark: function() {
+ return this.markMarker.getPosition();
+ },
+
+ set_mark_command: Ymacs_Interactive("d", function(x){
+ if (this.currentCommand == "set_mark_command")
+ this.signalInfo("Mark set", null, 1000);
+ this.markMarker.setPosition(x);
+ }),
+
+ exchange_point_and_mark: Ymacs_Interactive("^", function(){
+ this.caretMarker.swap(this.markMarker);
+ }),
+
+ mark_whole_buffer: Ymacs_Interactive(function(){
+ this.clearTransientMark();
+ this.cmd("end_of_buffer");
+ this.ensureTransientMark();
+ this.cmd("beginning_of_buffer");
+ this.ensureTransientMark();
+ }),
+
+ // <XXX>: the following two kind of suck
+
+ recenter_top_bottom: Ymacs_Interactive(function() {
+ this.whenActiveFrame(function(frame){
+ frame.ensureCaretVisible(true);
+ frame.centerOnCaret();
+ });
+ }),
+
+ ensure_caret_visible: Ymacs_Interactive(function() {
+ this.whenActiveFrame(function(frame){
+ // frame.centerOnCaretIfNotVisible();
+ frame.ensureCaretVisible(true);
+ frame.centerOnCaret();
+ });
+ }),
+
+ // </XXX>
+
+ /* -----[ paragraphs ]----- */
+
+ fill_paragraph: Ymacs_Interactive("P", function(noPrefix) {
+ this.cmd("save_excursion", function(){
+ if (!this.cmd("looking_at", this.getq("syntax_paragraph_sep")))
+ this.cmd("forward_paragraph");
+ var eop = this.createMarker(this.point() - 1);
+ this.cmd("backward_paragraph");
+ if (this.point() > 0)
+ this.cmd("forward_char");
+
+ // identify the prefix to use for each line
+ var prefix = "", del = false;
+ if (this.cmd("looking_at", /\s*([-]|[0-9]+\.|\(?[a-z][\).])?\s+/ig)) {
+ prefix = " ".x(this.matchData[0].length);
+ del = /\s*[#>;\s]*\s*/g;
+ }
+ else if (this.cmd("looking_at", /\s*[#>;*\s]+\s*/g)) {
+ prefix = this.matchData[0];
+ del = /\s*[#>;\s]*\s*/g;
+ }
+
+ if (noPrefix) {
+ this._deleteText(this.point(), this.point() + this.matchData[0].length);
+ prefix = "";
+ }
+
+ // remove newlines first
+ while (true) {
+ this.cmd("end_of_line");
+ this.cmd("backward_delete_whitespace");
+ if (this.point() >= eop.getPosition())
+ break;
+ this._replaceText(this.point(), this.point() + 1, " ");
+ if (del && this.cmd("looking_at", del)) {
+ this._deleteText(this.point(), this.point() + this.matchData[0].length);
+ }
+ }
+
+ this.cmd("beginning_of_line");
+
+ // main operation
+ while (this.point() < eop.getPosition()) {
+ var p = this.point();
+ if (!this.cmd("search_forward_regexp", /\s/g))
+ break;
+ if (this.point() > eop.getPosition()) {
+ this.cmd("goto_char", eop);
+ }
+ if (this._rowcol.col > this.getq("fill_column")) {
+ this.cmd("goto_char", p);
+ this.cmd("backward_delete_whitespace");
+ this.cmd("newline");
+ this.cmd("insert", prefix);
+ }
+ }
+
+ eop.destroy();
+
+ this.cmd("recenter_top_bottom");
+ });
+ }),
+
+ fill_paragraph_no_prefix: Ymacs_Interactive(function() {
+ return this.cmd("fill_paragraph", true);
+ }),
+
+ // this looks at the style of the current paragraph and starts
+ // a similar one, i.e. using same indentation level and prefix
+ // (list-like prefixes are incremented)
+
+
+
+
+
+ sub_bullet: Ymacs_Interactive(function() {
+ this.cmd("backward_line");
+ if (this.point() > 1)
+ this.cmd("forward_char");
+
+ // identify the prefix to use for each line
+ var prefix = "*";
+ if (this.cmd("looking_at", /(\s*)([+#-])(\s)([a-z]+)/g)) {
+
+ prefix = this.matchData[1]+this.matchData[2];
+ //alert(prefix);
+
+ }
+
+ this.cmd("forward_line");
+ if (this.cmd("eob_p"))
+ this.cmd("newline");
+ // this.cmd("newline");
+
+ this.cmd("insert",prefix);
+
+ if (!this.cmd("looking_at", /\n/g)) {
+ this.cmd("newline");
+ this.cmd("backward_char");
+ };
+ }),
+
+ start_next_paragraph: Ymacs_Interactive(function() {
+ this.cmd("backward_paragraph");
+ if (this.point() > 1)
+ this.cmd("forward_char");
+
+ // identify the prefix to use for each line
+ var prefix = "*";
+ if (this.cmd("looking_at", /(\s*)([0-9]+)(\.)(\s+)/g)) {
+ prefix = this.matchData[1] +
+ (parseInt(this.matchData[2], 10) + 1) +
+ this.matchData[3];//+this.matchdata[4];//+this.matchdata[5];
+
+ }
+ else if (this.cmd("looking_at", /(\s*\(?)([a-z])([\.\)]\s+)/ig)) {
+ prefix = this.matchData[1] +
+ String.fromCharCode(this.matchData[2].charCodeAt(0) + 1) +
+ this.matchData[3];//+this.matchdata[4];//+this.matchdata[5];
+
+ }
+
+
+ else if (this.cmd("looking_at", /[#>;*-]+/g)) {
+ prefix = this.matchData[0];
+
+ }
+ this.cmd("forward_paragraph");
+ if (this.cmd("eob_p"))
+ this.cmd("newline");
+ this.cmd("newline");
+
+ this.cmd("insert",prefix," ");
+
+ if (!this.cmd("looking_at", /\n/g)) {
+ this.cmd("newline");
+ this.cmd("backward_char");
+ };
+ }),
+
+ scroll_down: Ymacs_Interactive_X(function() {
+ this.whenActiveFrame(function(frame){
+ var hl = frame.heightInLines();
+ this.cmd("forward_line", Math.round(hl / 1.33));
+ this.cmd("recenter_top_bottom");
+ });
+ }),
+
+ scroll_up: Ymacs_Interactive_X(function() {
+ this.whenActiveFrame(function(frame){
+ var hl = frame.heightInLines();
+ this.cmd("backward_line", Math.round(hl / 1.33));
+ this.cmd("recenter_top_bottom");
+ });
+ }),
+
+ nuke_trailing_whitespace: Ymacs_Interactive(function() {
+ this.cmd("save_excursion", function(){
+ this.cmd("goto_char", 0);
+ while (this._rowcol.row < this.code.length) {
+ var line = this.code[this._rowcol.row],
+ m = /\s+$/.exec(line);
+ if (m) {
+ this.cmd("beginning_of_line");
+ this._deleteText(this.point() + m.index, this.point() + line.length);
+ }
+ if (!this.cmd("forward_line"))
+ break;
+ }
+ });
+ }),
+
+ match_string: function(n) {
+ return this.matchData[n];
+ },
+
+ match_beginning: function() {
+ return this.matchData.index;
+ },
+
+ match_end: function() {
+ return this.matchData.index + this.matchData[0].length;
+ },
+
+ undo: Ymacs_Interactive_X(function() {
+ var q = this.__undoQueue;
+ this.__undoQueue = this.__redoQueue;
+ this._placeUndoBoundary();
+ if (!this._playbackUndo(q)) {
+ this.signalError("No further undo information");
+ }
+ this.__undoQueue = q;
+ }),
+
+ center_line: Ymacs_Interactive("p", function(n){
+ if (n == null) n = 1;
+ n.times(function(i){
+ if (i > 0)
+ this.cmd("forward_line");
+ this.cmd("save_excursion", function(){
+ this.cmd("end_of_line");
+ this.cmd("backward_delete_whitespace", true);
+ this.cmd("beginning_of_line");
+ this.cmd("delete_whitespace", true);
+ var line = this.code[this._rowcol.row];
+ var indent = Math.floor((this.getq("fill_column") - line.length) / 2);
+ this.cmd("insert", " ".x(indent));
+ });
+ }, this);
+ }),
+
+ /* -----[ dabbrev ]----- */
+
+ dabbrev_expand: Ymacs_Interactive_X(function() {
+ if (this.previousCommand != "dabbrev_expand")
+ this.setq("dabbrev_context", null);
+
+ var ctx = this.getq("dabbrev_context");
+ if (!ctx) {
+ ctx = this.setq("dabbrev_context", {});
+ var p1 = this.cmd("save_excursion", function(){
+ this.cmd("bind_variables", {
+ syntax_word: this.getq("syntax_word_dabbrev")
+ }, "backward_word");
+ return this.point();
+ });
+ if (p1 == this.point())
+ return this.signalError("Nothing to expand");
+ ctx.search = this.cmd("buffer_substring", p1, this.point());
+ ctx.point = p1;
+ ctx.length = this.point() - p1;
+ ctx.lastSearch = p1;
+ ctx.encountered = {};
+ ctx.forward = false;
+ ctx.buffer = this;
+ ctx.startBuffer = this;
+ }
+ var expansion;
+
+ // in the following excursion, *this* is ctx.buffer,
+ // not necessarily the currently active buffer. It's
+ // purpose is to determine the next expansion and
+ // setup the context so that the next invocation would
+ // continue.
+ ctx.buffer.cmd("save_excursion", function repeat(){
+ var word = this.getq("syntax_word_dabbrev");
+ var p1;
+ var found = false;
+ this.cmd("goto_char", ctx.lastSearch);
+ // console.log("last at: %d", ctx.lastSearch);
+ if (!ctx.forward) {
+ while (this.cmd("search_backward", ctx.search)) {
+ if (!word.test(this.charAt(-1))) {
+ found = true;
+ break;
+ }
+ }
+ if (found) {
+ p1 = this.point();
+ ctx.lastSearch = p1;
+ this.cmd("goto_char", p1 + ctx.search.length);
+ } else {
+ ctx.forward = true;
+ ctx.lastSearch = ctx.point + ctx.length;
+ repeat.call(this);
+ return;
+ }
+ } else {
+ while (this.cmd("search_forward", ctx.search))
+ if (!word.test(this.charAt(-ctx.search.length - 1))) {
+ found = true;
+ break;
+ }
+ if (found) {
+ ctx.lastSearch = this.point();
+ p1 = this.point() - ctx.search.length;
+ } else {
+ ctx.buffer = this.whenYmacs("getNextBuffer", this);
+ if (ctx.buffer === ctx.startBuffer) {
+ expansion = ctx.search;
+ ctx.startBuffer.signalError("No more completions");
+ ctx.lastSearch = ctx.point + ctx.length;
+ ctx.startBuffer.setq("dabbrev_context", null);
+ return;
+ } else {
+ ctx.lastSearch = 0;
+ ctx.buffer.cmd("save_excursion", repeat);
+ return;
+ }
+ }
+ }
+ if (p1 != null) {
+ // console.log("%s at %d, next from %d", ctx.search, p1, ctx.lastSearch);
+ this.cmd("bind_variables", {
+ syntax_word: this.getq("syntax_word_dabbrev")
+ }, "forward_word");
+ expansion = this.cmd("buffer_substring", p1, this.point());
+ if (Object.HOP(ctx.encountered, expansion))
+ repeat.call(this);
+ }
+ });
+ if (expansion != null) {
+ this._replaceText(ctx.point, ctx.point + ctx.length, expansion);
+ ctx.length = expansion.length;
+ ctx.encountered[expansion] = true;
+ }
+ }),
+
+ /* -----[ frames and buffers ]----- */
+
+ split_frame_vertically: Ymacs_Interactive("p", function(percent) {
+ if (percent == null) percent = "50%";
+ else percent += "%";
+ this.whenActiveFrame("vsplit", percent);
+ }),
+
+ split_frame_horizontally: Ymacs_Interactive("p", function(percent) {
+ if (percent == null) percent = "50%";
+ else percent += "%";
+ this.whenActiveFrame("hsplit", percent);
+ }),
+
+ delete_other_frames: Ymacs_Interactive(function() {
+ this.whenActiveFrame("deleteOtherFrames");
+ }),
+
+ delete_frame: Ymacs_Interactive(function() {
+ this.whenActiveFrame("deleteFrame");
+ }),
+
+ other_frame: Ymacs_Interactive(function() {
+ this.whenYmacs("focusOtherFrame");
+ }),
+
+ windmove: function(dir) {
+ this.whenYmacs(function(ymacs){
+ var f = ymacs.getFrameInDirection(dir);
+ if (f) f.focus();
+ });
+ },
+
+ next_buffer: Ymacs_Interactive(function() {
+ this.whenYmacs("switchToNextBuffer", this.sameCommandCount() + 1);
+ }),
+
+ previous_buffer: Ymacs_Interactive(function() {
+ this.whenYmacs("switchToPreviousBuffer", this.sameCommandCount() + 1);
+ }),
+
+ switch_to_buffer: Ymacs_Interactive("BSwitch to buffer: ", function(name) {
+ this.whenYmacs(function(ymacs){
+ ymacs.switchToBuffer(name);
+ });
+ }),
+
+ kill_buffer: Ymacs_Interactive(function() {
+ this.whenYmacs(function(ymacs){
+ ymacs.killBuffer(this);
+ });
+ }),
+
+ rename_buffer: Ymacs_Interactive("sRename current buffer to: ", function(name){
+ this.whenYmacs(function(ymacs){
+ ymacs.renameBuffer(this, name);
+ });
+ }),
+
+ /* -----[ other ]----- */
+
+ delete_region_or_line: Ymacs_Interactive("^", function() {
+ if (!this.deleteTransientRegion()) {
+ this.cmd("beginning_of_line");
+ var pos = this.point();
+ if (this.cmd("forward_line") || this.cmd("end_of_line")) {
+ this._deleteText(pos, this.point());
+ return true;
+ }
+ }
+ }),
+ delete_line: Ymacs_Interactive("^", function() {
+
+
+ this.cmd("beginning_of_line");
+ var pos = this.point();
+ alert(pos);
+ this.cmd("end_of_line");
+ var pos1 = this.point();
+ alert(pos1);
+ this._replaceText(pos, pos1,"");
+ return true;
+
+
+
+
+
+ }),
+
+
+
+ // http://mihai.bazon.net/blog/close-last-xml-tag-emacs
+ close_last_xml_tag: Ymacs_Interactive_X(function() {
+ var tag, quote;
+ this.cmd("save_excursion", function() {
+ var skip = 1;
+ while (skip != 0 && this.cmd("search_backward_regexp", /<\x2f?([a-zA-Z0-9:_-]+)/g)) {
+ tag = this.cmd("match_string", 1);
+ if (this.cmd("looking_at", /<\x2f/g)) {
+ ++skip;
+ }
+ else if (!this.cmd("looking_at", /<[^\x2f][^>]*?\x2f>/g)) {
+ --skip;
+ }
+ }
+ if (skip != 0)
+ tag = null;
+ });
+ if (tag) {
+ this.cmd("insert", "</", tag, ">");
+ } else {
+ throw new Ymacs_Exception("Couldn't find a tag to close");
+ }
+ }),
+
+ bind_variables: function() {
+ return this.withVariables.apply(this, arguments);
+ },
+
+ for_region: Ymacs_Interactive("^r\nCExecute command within region: ", function(begin, end, func) {
+ if (end < begin) { var tmp = begin; begin = end; end = tmp; } // MACROS! I WANT MACROS! EVAL SUCKS. x-(
+ if (!(func instanceof Function))
+ func = this.COMMANDS[func];
+ this.clearTransientMark();
+ this.cmd("goto_char", begin);
+ begin = this.createMarker(begin, true);
+ end = this.createMarker(end);
+ this.withCommands(
+ {
+ goto_char: function(pos){
+ if (pos >= begin.getPosition() && pos <= end.getPosition())
+ return this._repositionCaret(pos);
+ throw "YMACS_RESTRICT";
+ }
+ },
+ function() {
+ try {
+ while (true) {
+ var tmp = this.point();
+ func.call(this);
+ if (this.point() == tmp && !this.cmd("forward_line"))
+ break;
+ }
+ } catch(ex) {
+ if (ex !== "YMACS_RESTRICT")
+ throw ex;
+ } finally {
+ begin.destroy();
+ end.destroy();
+ }
+ }
+ );
+ })
+
+});
+
+/* -----[ rectangle functions (vertical editing) ]----- */
+
+(function(){
+
+ function apply_on_rectangle(buffer, begin, end, func) {
+ buffer.cmd("save_excursion", function(){
+ var p1 = this._positionToRowCol(begin),
+ p2 = this._positionToRowCol(end),
+ width = Math.abs(p2.col - p1.col);
+ for (var line = p1.row; line <= p2.row; ++line) {
+ this.cmd("goto_char", this._rowColToPosition(line, 0));
+ var text = this.code[line],
+ c1 = p1.col,
+ c2 = p2.col,
+ p = this.point(), ws = 0;
+ if (c1 > c2) {
+ var tmp = c1;
+ c1 = c2;
+ c2 = tmp;
+ }
+ if (c1 > text.length) {
+ ws = c1 - text.length;
+ c1 = text.length;
+ }
+ if (c2 > text.length) {
+ c2 = text.length;
+ }
+ func.call(this, p + c1, p + c2, ws, width);
+ }
+ }, begin == buffer.point());
+ };
+
+ Ymacs_Buffer.newCommands({
+
+ string_rectangle: Ymacs_Interactive("r\nsString rectangle: ", function(begin, end, string) {
+ apply_on_rectangle(this, begin, end, function(c1, c2, ws){
+ if (ws > 0) {
+ this._insertText(" ".x(ws), c1);
+ } else {
+ this._deleteText(c1, c2);
+ }
+ this._insertText(string, c1 + ws);
+ });
+ }),
+
+ kill_rectangle: Ymacs_Interactive("r", function(begin, end){
+ var text = [];
+ apply_on_rectangle(this, begin, end, function(c1, c2, ws, width){
+ var str = this._bufferSubstring(c1, c2);
+ if (c2 - c1 < width)
+ str += " ".x(width - c2 + c1);
+ text.push(str);
+ this._deleteText(c1, c2);
+ });
+ this.setq("killed_rectangle", text);
+ }),
+
+ clear_rectangle: Ymacs_Interactive("r", function(begin, end){
+ this.cmd("string_rectangle", begin, end,
+ " ".x(Math.abs(this._positionToRowCol(end).col -
+ this._positionToRowCol(begin).col)));
+ }),
+
+ insert_rectangle: function(point, rect) {
+ var col = this._positionToRowCol(point).col;
+ this.cmd("set_mark_command", point);
+ rect.foreach(function(text, i){
+ if (i > 0) {
+ if (!this.cmd("forward_line")) {
+ this.cmd("end_of_line");
+ this.cmd("newline");
+ }
+ this.cmd("move_to_column", col, true);
+ }
+ this.cmd("insert", text);
+ }, this);
+ },
+
+ yank_rectangle: Ymacs_Interactive("d", function(point){
+ var kr = this.getq("killed_rectangle");
+ if (kr == null)
+ throw new Ymacs_Exception("No killed rectangle");
+ this.cmd("insert_rectangle", point, kr);
+ })
+
+ });
+
+})();
+
+/* -----[ commands to help using the system clipboard ]----- */
+
+(function(){
+
+ // <XXX>
+ // this should be moved some level up if it proves to be more
+ // generally useful
+ function modalTextarea(title, text, cont) {
+ var dlg = this.createDialog({ title : title,
+ quitBtn : "destroy",
+ modal : true });
+ var entry = new DlEntry({ parent: dlg, type: "textarea", fillParent: true, value: text });
+ dlg._focusedWidget = entry;
+ dlg.setSize({ x: 350, y: 250 });
+ entry.addEventListener("onKeyPress", function(ev){
+ if (ev.keyCode != DlKeyboard.ESCAPE) {
+ // var code = entry.getValue().replace(/\t/g, " ");
+ var code = entry.getValue();
+ dlg.destroy();
+ cont.delayed(0, this, code);
+ // XXX Without a delay here, be it zero, stars will align in such a way that
+ // yank_from_operating_system will move the caret in some bizarre position after
+ // inserting the pasted text.
+ // cont.call(this, code);
+ }
+ }.clearingTimeout(0, this));
+ dlg.show(true);
+ entry.select();
+ };
+ // </XXX>
+
+ Ymacs_Buffer.newCommands({
+
+ yank_from_operating_system: Ymacs_Interactive(function() {
+ modalTextarea.call(this, "Paste below (press CTRL-V)", null, function(code){
+ this._saveKilledText(code);
+ this.cmd("yank");
+ this.cmd("recenter_top_bottom");
+ });
+ }),
+
+ copy_for_operating_system: Ymacs_Interactive("r", function(begin, end) {
+ modalTextarea.call(this, "Press CTRL-C", this.cmd("buffer_substring"), function(){
+ this.cmd("copy_region_as_kill", begin, end);
+ });
+ }),
+
+ kill_for_operating_system: Ymacs_Interactive("r", function(begin, end) {
+ modalTextarea.call(this, "Press CTRL-C or CTRL-X", this.cmd("buffer_substring"), function(){
+ this.cmd("kill_region", begin, end);
+ });
+ })
+
+ });
+
+})();
+
+/* -----[ transient mark extension commands ]----- */
+
+[
+ "forward_char",
+ "forward_word",
+ "forward_line",
+ "forward_paragraph",
+ "forward_sexp",
+ "beginning_of_line",
+ "beginning_of_indentation_or_line",
+ "beginning_of_buffer",
+ "backward_char",
+ "backward_word",
+ "backward_line",
+ "backward_paragraph",
+ "backward_sexp",
+ "end_of_line",
+ "end_of_buffer"
+
+].foreach(function(cmd) {
+ Ymacs_Buffer.COMMANDS[cmd + "_mark"] = Ymacs_Interactive("^", function(){
+ this.ensureTransientMark();
+ this.cmdApply(cmd, arguments);
+ this.ensureTransientMark();
+ });
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-exception.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-exception.js
new file mode 100644
index 0000000..9a3f9bb
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-exception.js
@@ -0,0 +1,36 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+function Ymacs_Exception(why) {
+ this.message = why;
+};
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-frame.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-frame.js
new file mode 100644
index 0000000..c2c83cd
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-frame.js
@@ -0,0 +1,696 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs.js
+
+DEFINE_CLASS("Ymacs_Frame", DlContainer, function(D, P, DOM) {
+
+ var DBL_CLICK_SPEED = 300;
+
+ var EX = DlException.stopEventBubbling;
+
+ var LINE_DIV = DOM.createElement("div", null, { className: "line", innerHTML: "<br/>" });
+
+ var BLINK_TIMEOUT = 225;
+
+ D.DEFAULT_EVENTS = [ "onPointChange" ];
+
+ D.DEFAULT_ARGS = {
+ highlightCurrentLine : [ "highlightCurrentLine" , true ],
+ buffer : [ "buffer" , null ],
+ ymacs : [ "ymacs" , null ],
+ isMinibuffer : [ "isMinibuffer" , false ],
+
+ // override in DlWidget
+ _focusable : [ "focusable" , true ],
+ _fillParent : [ "fillParent" , true ]
+ };
+
+ D.CONSTRUCT = function() {
+ this.__blinkCaret = this.__blinkCaret.$(this);
+ this.__caretId = Dynarch.ID();
+ this.redrawModelineWithTimer = this.redrawModeline.clearingTimeout(0, this);
+
+ this.getElement().innerHTML = HTML;
+
+ this.addEventListener({
+ onDestroy : this._on_destroy,
+ onFocus : this._on_focus,
+ onBlur : this._on_blur,
+ onMouseDown : this._on_mouseDown,
+ onKeyDown : this._on_keyDown,
+ onKeyPress : this._on_keyPress,
+ onKeyPress : this._on_keyPress,
+ onKeyUp : this._on_keyUp,
+ onResize : this._on_resize
+ });
+
+ this._dragSelectCaptures = {
+ onMouseOver : EX,
+ onMouseOut : EX,
+ onMouseEnter : EX,
+ onMouseLeave : EX,
+ onMouseMove : _dragSelect_onMouseMove.$(this),
+ onMouseUp : _dragSelect_onMouseUp.$(this)
+ };
+
+ this._bufferEvents = {
+ onLineChange : this._on_bufferLineChange.$(this),
+ onInsertLine : this._on_bufferInsertLine.$(this),
+ onDeleteLine : this._on_bufferDeleteLine.$(this),
+ onPointChange : this._on_bufferPointChange.$(this),
+ onResetCode : this._on_bufferResetCode.$(this),
+ onOverwriteMode : this._on_bufferOverwriteMode.$(this),
+ onProgressChange : this._on_bufferProgressChange.$(this),
+ beforeInteractiveCommand : this._on_bufferBeforeInteractiveCommand.$(this),
+ afterInteractiveCommand : this._on_bufferAfterInteractiveCommand.$(this),
+ onOverlayDelete : this._on_bufferOverlayDelete.$(this)
+ };
+
+ this._moreBufferEvents = {
+ onMessage : this._on_bufferMessage.$(this),
+ onOverlayChange : this._on_bufferOverlayChange.$(this),
+ afterInteractiveCommand : this.ensureCaretVisible.$(this)
+ };
+
+ var buffer = this.buffer;
+ this.buffer = null;
+ if (buffer)
+ this.setBuffer(buffer);
+ if (!this.isMinibuffer && this.ymacs.cf_lineNumbers)
+ this.toggleLineNumbers();
+ };
+
+ var HTML = String.buffer(
+ "<div class='Ymacs-frame-overlays'>",
+ "<div class='Ymacs-frame-content'></div>",
+ "</div>",
+ "<div class='Ymacs_Modeline'></div>"
+ ).get();
+
+ P.focus = function(exitAllowed) {
+ D.BASE.focus.call(this);
+ if (exitAllowed instanceof Function) {
+ this.removeEventListener("onBlur", this.__exitFocusHandler);
+ this.addEventListener("onBlur", this.__exitFocusHandler = function(){
+ if (exitAllowed.call(this.buffer)) {
+ this.removeEventListener("onBlur", this.__exitFocusHandler);
+ } else {
+ this.focus.delayed(2, this, null);
+ }
+ });
+ }
+ };
+
+ P.blur = function(force) {
+ if (force)
+ this.removeEventListener("onBlur", this.__exitFocusHandler);
+ D.BASE.blur.call(this);
+ };
+
+ P.getOverlaysContainer = function() {
+ return this.getElement().firstChild;
+ };
+
+ P.getModelineElement = function() {
+ return this.getElement().childNodes[1];
+ };
+
+ P.getContentElement = function() {
+ return this.getElement().firstChild.firstChild;
+ };
+
+ P.getCaretElement = function() {
+ return document.getElementById(this.__caretId);
+ };
+
+ P.getLineDivElement = function(row) {
+ return this.getContentElement().childNodes[row] || null;
+ };
+
+ P.ensureCaretVisible = function() {
+ this._redrawCaret();
+
+ var caret = this.getCaretElement();
+ if (!caret)
+ return;
+ var div = this.getOverlaysContainer(), line = this.getLineDivElement(this.buffer._rowcol.row);
+
+ // vertical
+ var diff = line.offsetTop + line.offsetHeight - (div.scrollTop + div.clientHeight);
+ if (diff > 0) {
+ div.scrollTop += diff;
+ } else {
+ diff = line.offsetTop - div.scrollTop;
+ if (diff < 0) {
+ div.scrollTop += diff;
+ }
+ }
+
+ // horizontal
+ diff = caret.offsetLeft + caret.offsetWidth - (div.scrollLeft + div.clientWidth);
+ // if (caret.offsetLeft + caret.offsetWidth < div.clientWidth)
+ // div.scrollLeft = 0;
+ if (diff > 0) {
+ div.scrollLeft += diff;
+ } else {
+ diff = caret.offsetLeft - div.scrollLeft;
+ if (diff < 0)
+ div.scrollLeft += diff;
+ }
+ };
+
+ P.setBuffer = function(buffer) {
+ if (this.buffer) {
+ if (this.caretMarker && !this.isMinibuffer) {
+ this.caretMarker.destroy();
+ this.caretMarker = null;
+ }
+ this.buffer.removeEventListener(this._bufferEvents);
+ this.buffer.removeEventListener(this._moreBufferEvents);
+ }
+ this.buffer = buffer;
+ if (buffer) {
+ this.buffer.addEventListener(this._bufferEvents);
+ if (this.focusInside()) {
+ buffer.addEventListener(this._moreBufferEvents);
+ }
+ if (this.isMinibuffer) {
+ this.caretMarker = buffer.caretMarker;
+ } else {
+ this.caretMarker = buffer.createMarker(buffer.caretMarker.getPosition());
+ }
+ this._redrawBuffer();
+ this._redrawCaret(true);
+ this.centerOnCaret();
+ }
+ };
+
+ P.centerOnCaret = function() {
+ this.centerOnLine(this.buffer._rowcol.row);
+ };
+
+ P.centerOnLine = function(row) {
+ var line = this.getLineDivElement(row), div = this.getOverlaysContainer();
+ div.scrollTop = Math.round(line.offsetTop - div.clientHeight / 2 + line.offsetHeight / 2);
+ // this._redrawBuffer();
+ };
+
+ P.setModelineContent = function(html) {
+ this.getModelineElement().innerHTML = html;
+ };
+
+ P.deleteOtherFrames = function() {
+ this.ymacs.keepOnlyFrame(this);
+ };
+
+ P.deleteFrame = function() {
+ this.ymacs.deleteFrame(this);
+ };
+
+ P.vsplit = function(percent) {
+ if (percent == null) percent = "50%";
+ var cont = this.parent,
+ fr = this.ymacs.createFrame({ buffer: this.buffer }),
+ layout = new DlLayout(),
+ rb = new DlResizeBar({ widget: this, keepPercent: true, horiz: true, className: "Ymacs-splitbar-horiz" });
+ if (this._resizeBar)
+ this._resizeBar._widget = layout;
+ this._resizeBar = rb;
+ cont.replaceWidget(this, layout);
+ layout.packWidget(this, { pos: "top", fill: percent });
+ layout.packWidget(rb, { pos: "top" });
+ layout.packWidget(fr, { pos: "top", fill: "*" });
+ cont.__doLayout();
+ fr.centerOnCaret();
+ };
+
+ P.hsplit = function(percent) {
+ if (percent == null) percent = "50%";
+ var cont = this.parent,
+ fr = this.ymacs.createFrame({ buffer: this.buffer }),
+ layout = new DlLayout(),
+ rb = new DlResizeBar({ widget: this, keepPercent: true, className: "Ymacs-splitbar-vert" });
+ if (this._resizeBar)
+ this._resizeBar._widget = layout;
+ this._resizeBar = rb;
+ cont.replaceWidget(this, layout);
+ layout.packWidget(this, { pos: "left", fill: percent });
+ layout.packWidget(rb, { pos: "left" });
+ layout.packWidget(fr, { pos: "left", fill: "*" });
+ cont.__doLayout();
+ fr.centerOnCaret();
+ };
+
+ P.toggleLineNumbers = function() {
+ this.condClass(this.__lineNumbers =! this.__lineNumbers, "Ymacs-line-numbers");
+ };
+
+ function insertInText(div, col, el) {
+ // this is for empty lines
+ if (/^br$/i.test(div.firstChild.tagName)) {
+ div.insertBefore(el, div.firstChild);
+ return el;
+ }
+ var len = 0, OUT = {};
+ function walk(div) {
+ for (var i = div.firstChild; i; i = i.nextSibling) {
+ if (i.nodeType == 3 /* TEXT */) {
+ var clen = i.length;
+ if (len + clen > col) {
+ var pos = col - len; // here we should insert it, relative to the current node
+ var next = i.splitText(pos);
+ div.insertBefore(el, next);
+ throw OUT;
+ }
+ else if (len + clen == col) {
+ // this case is simpler; it could have been treated
+ // above, but let's optimize a bit since there's no need
+ // to split the text.
+ div.insertBefore(el, i.nextSibling);
+ throw OUT;
+ }
+ len += clen;
+ }
+ else if (i.nodeType == 1 /* ELEMENT */) {
+ walk(i); // recurse
+ }
+ }
+ };
+ try {
+ walk(div);
+ }
+ catch(ex) {
+ if (ex === OUT)
+ return el;
+ throw ex;
+ }
+ };
+
+ P.setMarkerAtPos = function(row, col) {
+ if (!row.tagName) // accept an element as well
+ row = this.getLineDivElement(row);
+ if (row)
+ return insertInText(row, col, DOM.createElement("span"));
+ };
+
+ P.__restartBlinking = function() {
+ this.__stopBlinking();
+ if (this.focusInside()) {
+ this.__caretTimer = setTimeout(this.__blinkCaret, 2 * BLINK_TIMEOUT);
+ }
+ };
+
+ P.__stopBlinking = function() {
+ clearTimeout(this.__caretTimer);
+ this.__showCaret();
+ };
+
+ P.__blinkCaret = function() {
+ DOM.condClass(this.getCaretElement(), this.BLINKING = ! this.BLINKING, "Ymacs-caret");
+ this.__caretTimer = setTimeout(this.__blinkCaret, BLINK_TIMEOUT);
+ };
+
+ P.__showCaret = function() {
+ DOM.addClass(this.getCaretElement(), "Ymacs-caret");
+ };
+
+ P._unhoverLine = function() {
+ if (this.__hoverLine != null) {
+ DOM.delClass(this.getLineDivElement(this.__hoverLine), "Ymacs-current-line");
+ this.__hoverLine = null;
+ }
+ };
+
+ P._redrawCaret = function(force) {
+ var isActive = this.ymacs.getActiveFrame() === this;
+ if (!force && !isActive)
+ return;
+
+ if (isActive && !this.isMinibuffer)
+ this.caretMarker.setPosition(this.buffer.caretMarker.getPosition());
+
+ var rc = this.buffer._rowcol;
+
+ if (this.highlightCurrentLine) {
+ this._unhoverLine();
+ DOM.addClass(this.getLineDivElement(rc.row), "Ymacs-current-line");
+ this.__hoverLine = rc.row;
+ }
+
+ // redraw the line where the caret was previously, so that it disappears from there
+ if (this.__prevCaretLine != null) {
+ this._on_bufferLineChange(this.__prevCaretLine);
+ }
+
+ // redraw current line if it's different
+ if (this.__prevCaretLine != rc.row) {
+ this.__prevCaretLine = rc.row;
+ this._on_bufferLineChange(rc.row);
+ }
+
+ // var caret = this.getCaretElement();
+ // if (caret)
+ // DOM.strip(caret);
+ // this._on_bufferLineChange(rc.row);
+
+ if (isActive)
+ this.__restartBlinking();
+
+ this.callHooks("onPointChange", rc.row, rc.col);
+ this.redrawModelineWithTimer(rc);
+ };
+
+ P._getLineHTML = function(row) {
+ var html = this.buffer.formatLineHTML(row, this.caretMarker);
+ // taking advantage of the fact that a literal > entered by the user will never appear in
+ // the generated HTML, since special HTMl characters are escaped.
+ var pos = html.indexOf("Ymacs-caret'>");
+ if (pos >= 0) {
+ html = html.substr(0, pos + 12)
+ + " id='" + this.__caretId + "'"
+ + html.substr(pos + 12);
+ }
+ return html;
+ };
+
+ P._redrawBuffer = function() {
+ this.setContent(this.buffer.code.map(function(line, i){
+ return this._getLineHTML(i).htmlEmbed("div", "line");
+ }, this).join(""));
+ };
+
+ P.coordinatesToRowCol = function(x, y) {
+ function findLine(r1, r2) {
+ if (r1 == r2)
+ return r1;
+ var row = Math.floor((r1 + r2) / 2),
+ div = self.getLineDivElement(row),
+ y1 = div.offsetTop,
+ y2 = y1 + div.offsetHeight - 1;
+ if (y2 < y)
+ return findLine(row + 1, r2);
+ if (y < y1)
+ return findLine(r1, row - 1);
+ return row;
+ };
+ function findCol(c1, c2) {
+ if (c1 == c2)
+ return c1;
+ var col = Math.floor((c1 + c2) / 2);
+ var p1 = self.coordinates(row, col),
+ p2 = self.coordinates(row, col + 1);
+ if (p2.x < x)
+ return findCol(col + 1, c2);
+ if (x < p1.x)
+ return findCol(c1, col - 1);
+ return col;
+ };
+ var self = this,
+ row = findLine(0, this.buffer.code.length - 1),
+ col = findCol(0, this.buffer.code[row].length);
+ return { row: row, col: col };
+ };
+
+ P.coordinates = function(row, col) {
+ var div = this.getLineDivElement(row);
+ var span = this.setMarkerAtPos(div, col);
+ var ret = { x: span.offsetLeft, y: div.offsetTop, h: div.offsetHeight };
+ DOM.trash(span);
+ return ret;
+ };
+
+ P.heightInLines = function() {
+ return Math.floor(this.getOverlaysContainer().clientHeight / this.getContentElement().firstChild.offsetHeight);
+ };
+
+ P.setOuterSize = P.setSize = function(sz) {
+ D.BASE.setOuterSize.apply(this, arguments);
+ DOM.setOuterSize(this.getOverlaysContainer(), sz.x, sz.y - this.getModelineElement().offsetHeight);
+ DOM.setOuterSize(this.getModelineElement(), sz.x);
+ };
+
+ P.redrawModeline = function(rc) {
+ this.setModelineContent(this.buffer.renderModelineContent(rc || this.caretMarker.getRowCol()));
+ };
+
+ /* -----[ event handlers ]----- */
+
+ P._on_bufferLineChange = function(row) {
+ var div = this.getLineDivElement(row);
+ if (div) {
+ //console.log("Redrawing line %d [%s]", row, this.buffer.code[row]);
+ div.innerHTML = this._getLineHTML(row);
+ }
+ };
+
+ P._on_bufferInsertLine = function(row, drawIt) {
+ var div = LINE_DIV.cloneNode(true);
+ this.getContentElement().insertBefore(div, this.getLineDivElement(row));
+ if (drawIt) {
+ div.innerHTML = this._getLineHTML(row);
+ }
+ };
+
+ P._on_bufferDeleteLine = function(row) {
+ DOM.trash(this.getLineDivElement(row));
+ };
+
+ P._on_bufferPointChange = function(rc, pos) {
+ this._redrawCaret();
+ };
+
+ P._on_bufferResetCode = function() {
+ this._redrawBuffer();
+ };
+
+ P._on_bufferOverwriteMode = function(om) {
+ this.condClass(om, "Ymacs-overwrite-mode");
+ };
+
+ P._on_bufferMessage = function(type, text, html, timeout) {
+ var anchor = this.isMinibuffer ? this.ymacs : this;
+ var popup = Ymacs_Message_Popup.get(0);
+ popup.popup({
+ content : html ? text : text.htmlEscape(),
+ widget : anchor,
+ anchor : anchor.getElement(),
+ align : { prefer: "CC", fallX1: "CC", fallX2: "CC", fallY1: "CC", fallY2: "CC" }
+ });
+ popup.hide(timeout || 5000);
+ };
+
+ P._on_bufferBeforeInteractiveCommand = function() {
+ this._unhoverLine();
+ Ymacs_Message_Popup.clearAll();
+ };
+
+ P._on_bufferAfterInteractiveCommand = function() {};
+
+ P._on_bufferProgressChange = function() {
+ this.redrawModelineWithTimer(null);
+ };
+
+ P.getOverlayId = function(name) {
+ return this.id + "-ovl-" + name;
+ };
+
+ P.getOverlayHTML = function(name, props) {
+ if (props.line1 == props.line2 && props.col1 == props.col2) {
+ this._on_bufferOverlayDelete(name, props);
+ return null;
+ }
+ var p1 = this.coordinates(props.line1, props.col1);
+ var p2 = this.coordinates(props.line2, props.col2);
+ var p0 = this.__lineNumbers ? this.coordinates(props.line1, 0) : { x: 0, y: 0 };
+ p1.x -= p0.x;
+ p2.x -= p0.x;
+ var str = String.buffer(
+ "<div id='", this.getOverlayId(name), "' class='Ymacs_Overlay ", name,
+ "' style='top:", p1.y, "px;left:", p0.x, "px'>"
+ );
+ if (props.line1 == props.line2) {
+ str("<div class='", name, "' style='margin-left:", p1.x,
+ "px; width:", p2.x - p1.x, "px;height:", p2.h, "px;'>&nbsp;</div>");
+ } else {
+ str("<div class='", name, "' style='margin-left:", p1.x, "px;height:", p1.h, "px;'>&nbsp;</div>");
+ if (props.line2 - props.line1 > 1)
+ str("<div class='", name, "' style='height:", p2.y - p1.y - p1.h, "px'></div>");
+ str("<div class='", name, "' style='width:", p2.x, "px;height:", p2.h, "px;'>&nbsp;</div>");
+ }
+ str("</div>");
+ return str.get();
+ };
+
+ P.getOverlaysCount = function() {
+ return this.getOverlaysContainer().childNodes.length - 1; // XXX: subtract the div.content; we need to revisit this if we add new elements.
+ };
+
+ P._on_bufferOverlayChange = function(name, props, isNew) {
+ var div = this.getOverlayHTML(name, props);
+ if (div) {
+ div = DOM.createFromHtml(div);
+ var p = this.getOverlaysContainer(),
+ old = !isNew && $(this.getOverlayId(name));
+ old ? p.replaceChild(div, old) : p.appendChild(div);
+ // this.condClass(this.getOverlaysCount() > 0, "Ymacs_Frame-hasOverlays");
+ }
+ };
+
+ P._on_bufferOverlayDelete = function(name, props, isNew) {
+ DOM.trash($(this.getOverlayId(name)));
+ // this.condClass(this.getOverlaysCount() > 0, "Ymacs_Frame-hasOverlays");
+ };
+
+ /* -----[ self events ]----- */
+
+ P._on_destroy = function() {
+ this.setBuffer(null);
+ this.__stopBlinking();
+ };
+
+ P._on_focus = function() {
+ window.focus();
+ // console.log("FOCUS for %s", this.buffer.name);
+ this.ymacs.setActiveFrame(this, true);
+ this.addClass("Ymacs_Frame-active");
+ if (!this.isMinibuffer) {
+ this.buffer.cmd("goto_char", this.caretMarker.getPosition());
+ }
+ this.buffer.addEventListener(this._moreBufferEvents);
+ this.__restartBlinking();
+ };
+
+ P._on_blur = function() {
+ // console.log("BLUR for %s", this.buffer.name);
+ if (!this.isMinibuffer) {
+ this.caretMarker.setPosition(this.buffer.caretMarker.getPosition());
+ }
+ this.buffer.removeEventListener(this._moreBufferEvents);
+ this.__stopBlinking();
+ };
+
+ var CLICK_COUNT = 0, CLICK_COUNT_TIMER = null, CLICK_LAST_TIME = null;
+ function CLEAR_CLICK_COUNT() { CLICK_COUNT = null };
+
+ P._on_mouseDown = function(ev) {
+ clearTimeout(CLICK_COUNT_TIMER);
+ CLICK_COUNT++;
+ CLICK_COUNT_TIMER = CLEAR_CLICK_COUNT.delayed(DBL_CLICK_SPEED);
+
+ this.__restartBlinking();
+ var pos = ev.computePos(this.getContentElement()),
+ rc = this.coordinatesToRowCol(pos.x, pos.y),
+ buf = this.buffer;
+
+ buf.clearTransientMark();
+ buf.cmd("goto_char", buf._rowColToPosition(rc.row, rc.col));
+ buf.callInteractively("keyboard_quit");
+ if (CLICK_COUNT == 1) {
+ buf.ensureTransientMark();
+ DlEvent.captureGlobals(this._dragSelectCaptures);
+ }
+ else if (CLICK_COUNT == 2) {
+ buf.cmd("backward_word");
+ buf.cmd("forward_word_mark");
+ }
+ else if (CLICK_COUNT == 3) {
+ buf.cmd("beginning_of_line");
+ buf.cmd("end_of_line_mark");
+ }
+ else if (CLICK_COUNT == 4) {
+ buf.cmd("backward_paragraph");
+ buf.cmd("forward_whitespace");
+ buf.cmd("beginning_of_line");
+ buf.cmd("forward_paragraph_mark");
+ }
+
+ EX();
+ };
+
+ function _dragSelect_onMouseMove(ev) {
+ var pos = ev.computePos(this.getContentElement()),
+ rc = this.coordinatesToRowCol(pos.x, pos.y);
+ this.buffer.cmd("goto_char", this.buffer._rowColToPosition(rc.row, rc.col));
+ this.buffer.ensureTransientMark();
+ this.ensureCaretVisible();
+ };
+
+ function _dragSelect_onMouseUp(ev) {
+ DlEvent.releaseGlobals(this._dragSelectCaptures);
+ };
+
+ P._on_keyDown = function(ev) {
+ if (!is_gecko) {
+ var ki = window.KEYBOARD_INSANITY, code = ev.keyCode;
+ if (code in ki.modifiers)
+ EX();
+ if ((code in ki.letters || code in ki.digits || code in ki.symbols) && !(ev.ctrlKey || ev.altKey)) {
+ return; // to be handled by the upcoming keypress event
+ }
+ ev.charCode = ki.getCharCode(code, ev.shiftKey);
+ if (ev.charCode)
+ ev.keyCode = 0;
+ if (this.buffer._handleKeyEvent(ev))
+ EX();
+ }
+ };
+ P._on_keyPress = function(ev) {
+ if (!is_gecko)
+ ev.keyCode = 0;
+ if (this.buffer._handleKeyEvent(ev))
+ EX();
+ var one = this.buffer.cmd("wrap_status");
+ if(one =="Wrap At Edge")
+ {
+ this.buffer.cmd("wrap_at_edge");
+ }
+ };
+
+
+ P._on_keyUp = function(ev) {
+ };
+
+ P._on_resize = function() {
+ this.centerOnCaret.delayed(1, this);
+ };
+
+});
+
+DEFINE_CLASS("Ymacs_Message_Popup", DlPopup, function(D, P) {
+ D.FIXARGS = function(args) {
+ args.focusable = false;
+ args.autolink = false;
+ args.zIndex = 5000;
+ };
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-interactive.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-interactive.js
new file mode 100644
index 0000000..565c264
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-interactive.js
@@ -0,0 +1,286 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-exception.js
+
+(function(){
+
+ /*
+ * Ymacs_Interactive(args_description, function_reference)
+ *
+ * This is a wrapper that makes it easy to define "interactive" commands. Pass two arguments: arguments
+ * description (args), and a function (func). args can be null, or a string, an array or a function. When null
+ * it is assumed that the function should not receive any arguments. When an array or a string, it contains
+ * some argument descriptions similar to Emacs:
+ *
+ * http://www.gnu.org/s/emacs/manual/html_node/elisp/Interactive-Codes.html#Interactive-Codes
+ *
+ * (note that Emacs does not take a list for this argument).
+ *
+ * Ymacs_Interactive returns func. When not called interactively, the code should supply all the required
+ * arguments and the function is called with no performance penalty. To call it interactively, use
+ * func.ymacsCallInteractively(), which will read arguments from the minibuffer according to their description.
+ */
+
+ window.Ymacs_Interactive = function(args, func) {
+ if (arguments.length == 1) {
+ func = args;
+ args = null;
+ } else {
+ var documentation;
+ if (!(func instanceof Function)) {
+ documentation = func;
+ func = arguments[2];
+ func.ymacsDoc = documentation;
+ }
+ }
+ func.ymacsInteractive = true;
+ if (args instanceof Function) {
+ func.ymacsGetArgs = args;
+ }
+ else if (args != null) {
+ if (!(args instanceof Array)) {
+ var m = /^[\^\@\*]+/.exec(args);
+ if (m) {
+ m = m[0];
+ args = args.substr(m.length);
+ if (m.indexOf("^") >= 0) {
+ func.ymacsMarkExtend = true;
+ }
+ if (m.indexOf("*") >= 0) {
+ func.ymacsWarnReadonly = true;
+ }
+ if (m.indexOf("@") >= 0) {
+ func.ymacsSelectFrame = true;
+ }
+ }
+ if (args)
+ args = args.split(/\n+/);
+ }
+ if (args) {
+ var collect,
+ execute = function() {
+ collect.append(Array.$(arguments));
+ return this.callInteractively(func, collect, true);
+ };
+ while (args.length > 0) {
+ execute = createArgumentFunction(args.pop(), function(next) {
+ collect.append(Array.$(arguments, 1));
+ next.call(this);
+ }.$(null, execute));
+ }
+ func.ymacsCallInteractively = function(){
+ collect = [];
+ return execute.call(this);
+ };
+ }
+ }
+ return func;
+ };
+
+ window.Ymacs_Interactive_X = function(func) {
+ return Ymacs_Interactive("p", function(n){
+ if (n == null) n = 1;
+ n.times(func, this);
+ });
+ };
+
+ var $TRUE = (function(){});
+ $TRUE.toString = function() { return "" };
+ $TRUE.empty = true;
+
+ /* -----[ argument reader functions ]----- */
+
+ function prompt(arg) {
+ var pr = this.getPrefixArg(true /* noDiscard */);
+ if (pr) {
+ arg = pr + " " + arg;
+ }
+ this.cmd("minibuffer_prompt", arg);
+ };
+
+ function read_function_name(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_function", cont);
+ // XXX: enforce it!
+ };
+
+ function read_existing_buffer_name(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_buffer", cont);
+ // XXX: enforce it!
+ };
+
+ function read_buffer_name(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_buffer", cont);
+ };
+
+ function read_character(arg, cont) {
+
+ };
+
+ function read_command_name(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_command", cont);
+ // XXX: enforce it!
+ };
+
+ function get_point(arg, cont) {
+ cont.call(this, this.point());
+ };
+
+ function get_mouse_event(arg, cont) {
+
+ };
+
+ function irrelevant(arg, cont) {
+ cont.call(this, null);
+ };
+
+ function read_key_sequence(arg, cont) {
+
+ };
+
+ function read_key_sequence2(arg, cont) {
+
+ };
+
+ function get_mark(arg, cont) {
+ cont.call(this, this.markMarker.getPosition());
+ };
+
+ function read_arbitrary_text(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_string", null, cont);
+ };
+
+ function read_number(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_number", cont);
+ };
+
+ function read_number_or_prefix(arg, cont) {
+ var n = parseInt(this.getPrefixArg(), 10);
+ if (!isNaN(n))
+ cont.call(this, n);
+ else
+ read_number.call(this, arg, cont);
+ };
+
+ function get_numeric_prefix(arg, cont) {
+ var n = parseInt(this.getPrefixArg(), 10);
+ if (isNaN(n))
+ n = null;
+ cont.call(this, n);
+ };
+
+ function get_raw_prefix(arg, cont) {
+ arg = this.getPrefixArg();
+ if (arg === "")
+ arg = $TRUE;
+ cont.call(this, arg);
+ };
+
+ function get_point_and_mark(arg, cont) {
+ var r = this.getRegion();
+ cont.call(this, r.begin, r.end);
+ };
+
+ function read_key_sequence3(arg, cont) {
+
+ };
+
+ function read_variable_name(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_variable", cont);
+ };
+
+ function read_existing_file_name(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_existing_file", cont);
+ };
+
+ function read_file_name(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_file", cont);
+ };
+
+ function read_file_or_directory_name(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_file_or_directory", cont);
+ };
+
+ function read_existing_directory_name(arg, cont) {
+ prompt.call(this, arg);
+ this.cmd("minibuffer_read_directory", cont);
+ };
+
+ var ARG_READERS = {
+ a: read_function_name,
+ b: read_existing_buffer_name,
+ B: read_buffer_name,
+ c: read_character,
+ C: read_command_name,
+ d: get_point,
+ e: get_mouse_event,
+ i: irrelevant,
+ k: read_key_sequence,
+ K: read_key_sequence2,
+ m: get_mark,
+ M: read_arbitrary_text,
+ n: read_number,
+ N: read_number_or_prefix,
+ p: get_numeric_prefix,
+ P: get_raw_prefix,
+ r: get_point_and_mark,
+ s: read_arbitrary_text,
+ U: read_key_sequence3,
+ v: read_variable_name,
+
+ f: read_existing_file_name,
+ F: read_file_name,
+ G: read_file_or_directory_name,
+ D: read_existing_directory_name
+
+ // S: no reader for interned symbols in Ymacs
+ // no x, X, z and Z either
+ };
+
+ function createArgumentFunction(arg, cont) {
+ var code = arg.charAt(0);
+ arg = arg.substr(1);
+ return ARG_READERS[code].$(null, arg, cont);
+ };
+
+})();
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-keyboard.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-keyboard.js
new file mode 100644
index 0000000..c15fd35
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-keyboard.js
@@ -0,0 +1,106 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// This file tries to define some keyboard constants based on the
+// sheer insanity of browser inconsistencies described here:
+//
+// http://unixpapa.com/js/key.html
+//
+// Kudos for that work!
+
+(function(){
+
+ var letters = {};
+ for (var i = 65; i <= 90; ++i)
+ letters[i] = [ i, i + 32 ];
+ letters[32] = [ 32, 32 ];
+
+ var modifiers = [ 16, 17, 18, 20, 144 ].toHash(true);
+
+ var digit_charcodes = [
+ [ 49, 33 ],
+ [ 50, 64 ],
+ [ 51, 35 ],
+ [ 52, 36 ],
+ [ 53, 37 ],
+ [ 54, 94 ],
+ [ 55, 38 ],
+ [ 56, 42 ],
+ [ 57, 40 ],
+ [ 48, 41 ]
+ ];
+
+ var digits = [ 48, 49, 50, 51, 52, 53, 54, 55, 56, 57 ].toHash(function(k, i) {
+ return digit_charcodes[i];
+ });
+
+ var symbol_charcodes = [
+ [ 59, 58 ],
+ [ 61, 43 ],
+ [ 44, 60 ],
+ [ 45, 95 ],
+ [ 46, 62 ],
+ [ 47, 63 ],
+ [ 96, 126 ],
+ [ 91, 123 ],
+ [ 92, 124 ],
+ [ 93, 125 ],
+ [ 39, 34 ]
+ ];
+
+ var symbols = ( is_gecko ? [ 59, 61, 188, 109, 190, 191, 192, 219, 220, 221, 222 ]
+ : is_opera ? [ 59, 61, 44, 45, 46, 47, 96, 91, 92, 93, 39 ]
+ : [ 186, 187, 188, 189, 190, 191, 192, 219, 220, 221, 222 ] ).toHash(function(k, i) {
+ return symbol_charcodes[i];
+ });
+
+ var arrows = [ 37, 38, 39, 40 ].toHash(true);
+
+ var specials = [ 45, 46, 36, 35, 33, 34, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123 ].toHash(true);
+
+ function getCharCode(code, shift) {
+ var a = letters[code] || digits[code] || symbols[code];
+ return a ? shift ? a[1] : a[0] : null;
+ };
+
+ window.KEYBOARD_INSANITY = {
+ letters : letters,
+ modifiers : modifiers,
+ digits : digits,
+ symbols : symbols,
+ arrows : arrows,
+ specials : specials,
+ getCharCode : getCharCode
+ };
+
+})();
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-keymap-emacs.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-keymap-emacs.js
new file mode 100644
index 0000000..64c9891
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-keymap-emacs.js
@@ -0,0 +1,264 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-keymap.js
+
+// This is the default keymap, as configured in
+// Ymacs_Buffer::makeDefaultKeymap. It follows closely the standard
+// Emacs keybindings, with some small deviations that match my taste
+// (search for "my stuff" below).
+
+// It would be nice to have more options, such as an Eclipse keymap,
+// or Visual Studio -- but I'm not familiar with any of them.
+// Contributions welcome.
+
+// A keymap inherits from Ymacs_Keymap and should define its bindings
+// in D.KEYS. They can also define a defaultHandler property to take
+// whatever action they consider necessary -- for example the Isearch
+// keymap will, by default, print the entered character in the
+// minibuffer and trigger a search action. Isearch mode is almost
+// completely defined in a keymap -- with the minor note that
+// isearch_forward and isearch_backward are assigned below to key
+// combinations; once pressed, they will push the Isearch keymap onto
+// the buffer's keymap stack, and it will be used until isearch is
+// ended.
+
+/* KEY DEFINITIONS. A key is generally defined in standard Emacs
+ notation, with the following notes:
+
+ - it is possible to define multiple keys at once for the same
+ operation, by using the "&&" combination (separate with spaces
+ from the actual keys)
+
+ - some special characters are named literally; their names contain
+ more than one character. The available names are defined in
+ DlKeyboard (see keyboard.js in DynarchLIB). Examples:
+ ARROW_RIGHT, PAGE_UP, etc. but also SPACE and DASH.
+
+ Normally you would define commands using Ymacs_Buffer.newCommands
+ (see ymacs-commands.js) and specify the command name for key
+ bindings, but you can specify a function as well, if you want:
+
+ "C-8": function() {
+ alert("You pressed CTRL-8");
+ }
+
+ It is advised to define commands for more than simple cases, for
+ two reasons:
+
+ 1. they can be used for "non-interactive" calls too
+
+ 2. the command name is saved in this.currentCommand /
+ this.previousCommand, which is useful in a number of cases.
+
+*/
+
+DEFINE_SINGLETON("Ymacs_Keymap_Emacs", Ymacs_Keymap, function(D, P){
+
+ var TMPL_INFO = String.template(
+ "<table>",
+ "<tr><td style='text-align: right; font-weight: bold'>Char:</td><td><tt> $ch </tt></td></tr>",
+ "<tr><td style='text-align: right; font-weight: bold'>Char code:</td><td> $code / 0x$codeHex </td></tr>",
+ "<tr><td style='text-align: right; font-weight: bold'>Position:</td><td> $point </td></tr>",
+ "<tr><td style='text-align: right; font-weight: bold'>Mark:</td><td> $mark </td></tr>",
+ "<tr><td style='text-align: right; font-weight: bold'>Buffer size:</td><td> $sizeKB </td></tr>",
+ "</table>"
+ );
+
+ D.KEYS = {
+ // movement
+ "ARROW_UP && C-p" : "backward_line",
+ "ARROW_DOWN && C-n" : "forward_line",
+ "ARROW_LEFT && C-b" : "backward_char",
+ "ARROW_RIGHT && C-f" : "forward_char",
+ "HOME" : "beginning_of_indentation_or_line",
+ "END && C-e" : "end_of_line",
+ "C-c C-c" : "sub_bullet",
+ "C-a" : "beginning_of_line",
+ "C-HOME && M-<" : "beginning_of_buffer",
+ "C-END && M->" : "end_of_buffer",
+ "C-ARROW_RIGHT && M-f" : "forward_word",
+ "C-ARROW_LEFT && M-b" : "backward_word",
+ "C-ARROW_DOWN" : "forward_paragraph",
+ "C-ARROW_UP" : "backward_paragraph",
+ "C-l" : "recenter_top_bottom",
+ "PAGE_UP && M-v" : "scroll_up",
+ "PAGE_DOWN && C-v" : "scroll_down",
+
+ // transient mark
+ "S-ARROW_UP && S-C-p" : "backward_line_mark",
+ "S-ARROW_DOWN && S-C-n" : "forward_line_mark",
+ "S-ARROW_LEFT && S-C-b" : "backward_char_mark",
+ "S-ARROW_RIGHT && S-C-f" : "forward_char_mark",
+ "S-C-ARROW_RIGHT && S-M-f" : "forward_word_mark",
+ "S-C-ARROW_LEFT && S-M-b" : "backward_word_mark",
+ "S-C-ARROW_DOWN" : "forward_paragraph_mark",
+ "S-C-ARROW_UP" : "backward_paragraph_mark",
+ "S-HOME" : "beginning_of_indentation_or_line_mark",
+ "S-C-a" : "beginning_of_line_mark",
+ "S-END" : "end_of_line_mark",
+ "S-C-HOME" : "beginning_of_buffer_mark",
+ "S-C-END" : "end_of_buffer_mark",
+
+ // basic editing
+ "BACKSPACE" : "backward_delete_char",
+ "DELETE && C-d" : "delete_char",
+ "ENTER && C-m" : "newline",
+ "M-d && C-DELETE" : "kill_word",
+ "C-BACKSPACE && M-BACKSPACE && M-DELETE" : "backward_kill_word",
+ "C-k" : "kill_line",
+ "C-y && S-INSERT" : "yank",
+ "M-y" : "yank_pop",
+ "C-SPACE" : "set_mark_command",
+ "C-x C-x" : "exchange_point_and_mark",
+ "C-w" : "kill_region",
+ "M-t" : "transpose_words",
+ "C-t" : "transpose_chars",
+ "C-x C-t" : "transpose_lines",
+ "M-w" : "copy_region_as_kill",
+ "M-c" : "capitalize_word",
+ "M-u" : "upcase_word",
+ "M-l" : "downcase_word",
+ "F11" : "nuke_trailing_whitespace",
+ "TAB" : "indent_line",
+ "C-M-\\" : "indent_region",
+ "M-q" : "fill_paragraph",
+ "C-/ && C-x u && C-_ && C-z" : "undo",
+ "INSERT" : "overwrite_mode",
+ "M-s" : "center_line",
+ "M-/" : "dabbrev_expand",
+ "C-s" : "isearch_forward",
+ "C-r" : "isearch_backward",
+ "M-C-s" : "isearch_forward_regexp",
+ "M-C-r" : "isearch_backward_regexp",
+ "C-u" : "universal_argument",
+ "M-g" : "goto_line",
+ "C-x h" : "mark_whole_buffer",
+ "C-g" : "keyboard_quit",
+
+ // vertical editing
+ "C-x r t" : "string_rectangle",
+ "C-x r c" : "clear_rectangle",
+ "C-x r k" : "kill_rectangle",
+ "C-x r y" : "yank_rectangle",
+
+ // buffers
+ "C-x C-ARROW_RIGHT && C-x ARROW_RIGHT && C-TAB" : "next_buffer",
+ "C-x C-ARROW_LEFT && C-x ARROW_LEFT && C-S-TAB" : "previous_buffer",
+ "C-x b" : "switch_to_buffer",
+ "C-x k" : "kill_buffer",
+
+ // frames
+ "C-x 0" : "delete_frame",
+ "C-x 1" : "delete_other_frames",
+ "C-x 2" : "split_frame_vertically",
+ "C-x 3" : "split_frame_horizontally",
+ "C-x o" : "other_frame",
+ "C-x l" : "toggle_line_numbers",
+ "C-c C-o" : "org-open-at-point",
+ //"C-c C-l" : "Links",
+
+ // eval
+ "M-x" : "execute_extended_command",
+
+ // necessary evil
+ "C-S-y" : "yank_from_operating_system",
+ "M-S-w" : "copy_for_operating_system",
+ "C-S-w" : "kill_for_operating_system",
+
+ // my stuff, sorry if these have different meanings in the standard Emacs keys
+ "M-S-y" : "yank_shift", // that's the reverse of yank_shift
+ "C-c /" : "close_last_xml_tag",
+ "S-BACKSPACE" : "backward_delete_whitespace",
+ "S-DELETE" : "delete_whitespace",
+ "C-M-d" : "delete_region_or_line",
+ "M-ENTER" : "start_next_paragraph",
+ "M-S-q" : "fill_paragraph_no_prefix",
+ "C-M-|" : "cperl_lineup",
+ "C-F4" : "kill_buffer",
+ "M-ARROW_LEFT" : [ "windmove", "left" ],
+ "M-ARROW_RIGHT" : [ "windmove", "right" ],
+ "M-ARROW_UP" : [ "windmove", "up" ],
+ "M-ARROW_DOWN" : [ "windmove", "down" ],
+
+ // others
+ "C-x =": function() {
+ var ch = this.charAt(), chname = ch;
+ if (ch == " ")
+ chname = "<SPACE>";
+ else if (ch == "\n")
+ chname = "<NEWLINE>";
+ else if (ch == "-")
+ chname = "<DASH>";
+
+ this.signalInfo(TMPL_INFO({
+ ch : chname.htmlEscape(),
+ code : ch.charCodeAt(0),
+ codeHex : ch.charCodeAt().hex(),
+ point : this.point(),
+ mark : this.markMarker.getPosition(),
+ size : this.getCodeSize(),
+ sizeKB : this.getCodeSize().formatBytes(2)
+ }), true);
+ }
+ };
+
+ P.defaultHandler = [ "self_insert_command" ];
+
+});
+
+DEFINE_SINGLETON("Ymacs_Keymap_UniversalArgument", Ymacs_Keymap, function(D, P){
+
+ P.defaultHandler = [ Ymacs_Interactive("^", function(){
+ var ev = this.interactiveEvent(),
+ ch = String.fromCharCode(ev.charCode),
+ prefix = this.getPrefixArg(true);
+ if (ev.charCode && (/^[0-9]$/.test(ch) || (ch === "-" && prefix === "")) && !ev.altKey && !ev.ctrlKey) {
+ prefix += ch;
+ this.setPrefixArg(prefix);
+ if (!this.isMinibuffer) {
+ this.whenMinibuffer(function(mb){
+ mb.cmd("insert", " ", ch);
+ });
+ }
+ return true;
+ }
+ this.popKeymap(Ymacs_Keymap_UniversalArgument());
+ return false;
+ }) ];
+
+ P.attached = function(buffer) {
+ buffer.setPrefixArg("");
+ };
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-keymap-isearch.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-keymap-isearch.js
new file mode 100644
index 0000000..593b772
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-keymap-isearch.js
@@ -0,0 +1,181 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-keymap.js
+
+DEFINE_SINGLETON("Ymacs_Keymap_ISearch", Ymacs_Keymap, function(D, P){
+
+ D.KEYS = {
+ "C-g && ESCAPE": [ "isearch_abort", true ],
+ "C-w": "isearch_yank_word_or_char",
+ "C-s": "isearch_forward",
+ "C-r": "isearch_backward",
+ "BACKSPACE": function() {
+ if (this.getMinibuffer().point() > this._isearchContext.mbMark.getPosition()) {
+ this.getMinibuffer().cmd("backward_delete_char");
+ this.cmd("goto_char", this._isearchContext.point);
+ updateIsearch.call(this, this._isearchContext.forward);
+ }
+ },
+ "ENTER": "isearch_abort"
+ };
+
+ D.CONSTRUCT = function() {
+ this.defaultHandler = [ "isearch_printing_char" ];
+ };
+
+ function initIsearch(fw) {
+ if (!this._isearchContext) {
+ this.pushKeymap(Ymacs_Keymap_ISearch());
+ this.cmd("set_mark_command", this.point());
+ this.setMinibuffer(fw ? "I-Search: " : "I-Search backward: ");
+ this._isearchContext = {
+ forward : fw,
+ point : this.point(),
+ mbMark : this.getMinibuffer().createMarker(null, true)
+ };
+ return true;
+ }
+ };
+
+ function updateIsearch(fw) {
+ this._isearchContext.forward = fw;
+ this._isearchContext.point = this.point();
+ var text = getText(this);
+ if (!/\S/.test(text) && this._isearchLastText) {
+ this.getMinibuffer()._placeUndoBoundary();
+ this.getMinibuffer().cmd("insert", this._isearchLastText);
+ text = this._isearchLastText;
+ }
+ return doSearch.call(this, text);
+ };
+
+ function doSearch(text) {
+ if (text == null)
+ text = getText(this);
+ var found = this.cmd("bind_variables", { case_fold_search: text == text.toLowerCase() },
+ this.cmd,
+ this._isearchContext.forward ? "search_forward" : "search_backward",
+ text);
+ if (found) {
+ this.cmd("ensure_caret_visible");
+ var rc_begin = this._positionToRowCol(this.point() + (this._isearchContext.forward ? -1 : 1) * text.length);
+ this.setOverlay("isearch", {
+ line1: rc_begin.row, line2: this._rowcol.row,
+ col1: rc_begin.col, col2: this._rowcol.col
+ });
+ }
+ return found;
+ };
+
+ function getText(o) {
+ return o.cmd("isearch_get_search_text");
+ };
+
+ Ymacs_Buffer.newCommands({
+
+ isearch_get_search_text: Ymacs_Interactive(function() {
+ if (this._isearchContext) {
+ return this.getMinibuffer()._bufferSubstring(this._isearchContext.mbMark);
+ }
+ }),
+
+ isearch_forward: Ymacs_Interactive(function() {
+ if (!initIsearch.call(this, true)) {
+ if (!updateIsearch.call(this, true))
+ this.signalError("No more forward occurrences of the search text");
+ }
+ }),
+
+ isearch_forward_regexp: Ymacs_Interactive(function() {
+ this.signalError("Not implemented, but should be easy. Volunteers?");
+ }),
+
+ isearch_backward_regexp: Ymacs_Interactive(function() {
+ this.signalError("Not implemented, but should be easy. Volunteers?");
+ }),
+
+ isearch_backward: Ymacs_Interactive(function() {
+ if (!initIsearch.call(this, false)) {
+ if (!updateIsearch.call(this, false))
+ this.signalError("No more backward occurrences of the search text");
+ }
+ }),
+
+ isearch_yank_word_or_char: Ymacs_Interactive(function() {
+ var pos = this.point(),
+ pos2 = this.cmd("save_excursion", function(){
+ this.cmd("forward_word");
+ return this.point();
+ });
+ if (pos2 != pos) {
+ var word = this._bufferSubstring(pos, pos2);
+ this.getMinibuffer()._placeUndoBoundary();
+ this.getMinibuffer().cmd("insert", word.toLowerCase());
+ word = getText(this);
+ if (this._isearchContext.forward)
+ this.cmd("goto_char", pos2 - word.length);
+ doSearch.call(this, word);
+ }
+ }),
+
+ isearch_printing_char: Ymacs_Interactive(function() {
+ var ev = this.interactiveEvent();
+ if (ev.charCode && !ev.ctrlKey && !ev.altKey) {
+ this.getMinibuffer().cmd("self_insert_command");
+ this.cmd("goto_char", this._isearchContext.point);
+ doSearch.call(this, getText(this));
+ return ev.domStop = true;
+ } else if (ev.keyCode != 0 || ev.ctrlKey || ev.altKey) {
+ this.cmd("isearch_abort");
+ return false;
+ }
+ }),
+
+ isearch_abort: Ymacs_Interactive(function(cancelled) {
+ if (!cancelled)
+ this._isearchLastText = getText(this);
+ this.setMinibuffer("");
+ this.popKeymap(Ymacs_Keymap_ISearch());
+ this._isearchContext.mbMark.destroy();
+ this._isearchContext = null;
+ if (cancelled)
+ this.cmd("exchange_point_and_mark");
+ this.deleteOverlay("isearch");
+ this.deleteOverlay("isearch-lazy");
+ return true;
+ })
+
+ });
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-keymap.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-keymap.js
new file mode 100644
index 0000000..142570a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-keymap.js
@@ -0,0 +1,167 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-buffer.js
+
+DEFINE_CLASS("Ymacs_Keymap", null, function(D, P){
+
+ var REVERSE_KEYS = {};
+ Object.foreach(DlKeyboard, function(val, key) {
+ if (typeof val == "number")
+ REVERSE_KEYS[val] = key;
+ });
+
+ D.CONSTRUCT = function() {
+ this.definitions = Object.makeCopy(this.__originalDefs);
+ };
+
+ P.FINISH_OBJECT_DEF = function() {
+ this.__originalDefs = {};
+ var keys = this.constructor.KEYS;
+ if (keys)
+ this.defineKeys(keys);
+ };
+
+ P.parseKey = function(str) {
+ var key = {};
+ var a = str.split(/-/);
+ a.reverse();
+ a.foreach(function(c, i){
+ if (i == 0) {
+ if (typeof DlKeyboard[c] == "number")
+ key.keyCode = DlKeyboard[c];
+ else {
+ a[i] = c.toLowerCase();
+ key.charCode = a[i].charCodeAt(0);
+ }
+ } else switch(c) {
+ case "C": key.ctrlKey = true; break;
+ case "M": key.metaKey = true; break;
+ case "S": key.shiftKey = true; break;
+ }
+ });
+ a.reverse();
+ var c = a.pop();
+ key.str = a.sort().join("-");
+ if (key.str)
+ key.str += "-";
+ key.str += c;
+ return key;
+ };
+
+ D.unparseKey = function(ev) {
+ var key, modifiers = [];
+ if (ev.keyCode in REVERSE_KEYS)
+ key = REVERSE_KEYS[ev.keyCode];
+ else if (ev.charCode) {
+ if (ev.charCode == 32)
+ key = "SPACE";
+ else if (ev.charCode == 45)
+ key = "DASH";
+ else if (ev.charCode == 58)
+ key = "COLON";
+ else if (ev.charCode == 41)
+ key = "CLOSED ROUND BRACKET";
+ else if (ev.charCode == 125)
+ key = "CLOSED CURLY BRACKET";
+ else
+ key = String.fromCharCode(ev.charCode).toLowerCase();
+ }
+ if (ev.ctrlKey)
+ modifiers.push("C");
+ if (ev.altKey)
+ modifiers.push("M");
+ if (ev.shiftKey && (ev.charCode && /^[a-zA-Z0-9]$/.test(key) || ev.keyCode))
+ modifiers.push("S");
+ modifiers.sort();
+ modifiers = modifiers.join("-");
+ if (modifiers)
+ modifiers += "-";
+ return modifiers + key;
+ };
+
+ P.defineKey = function(key, func, args) {
+ if (func instanceof Array) {
+ args = func.slice(1);
+ func = func[0];
+ }
+ key = key.trim().split(/\s*&&\s*/);
+ if (key.length > 1) {
+ key.foreach(function(key){
+ this.defineKey(key, func, args);
+ }, this);
+ } else {
+ key = key[0].trim();
+ var dfn = this.definitions || this.__originalDefs;
+ if (key.indexOf(" ") >= 0) {
+ var a = key.split(/\s+/);
+ key = a.pop();
+ a.foreach(function(key){
+ key = this.parseKey(key).str;
+ if (!dfn[key])
+ dfn[key] = {};
+ dfn = dfn[key];
+ }, this);
+ }
+ key = this.parseKey(key);
+ dfn[key.str] = [ func, args ];
+ }
+ };
+
+ P.defineKeys = function(map) {
+ Object.foreach(map, function(func, key){
+ this.defineKey(key, func);
+ }, this);
+ };
+
+ P.getHandler = function(keys) {
+ var handler = null, def = this.definitions;
+ keys.foreach(function(key){
+ var tmp = handler ? handler[key] : def[key];
+ if (tmp) {
+ handler = tmp;
+ if (handler instanceof Array)
+ $BREAK();
+ }
+ else if (handler) {
+ handler = null;
+ $BREAK();
+ }
+ });
+ return handler;
+ };
+
+ P.attached = Function.noop;
+ P.detached = Function.noop;
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-marker.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-marker.js
new file mode 100644
index 0000000..ca9c1c0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-marker.js
@@ -0,0 +1,105 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-buffer.js
+
+/* -----[ markers are objects that hold a position which is
+ automatically maintained as text is inserted or
+ removed ]----- */
+
+DEFINE_CLASS("Ymacs_Marker", null, function(D, P){
+
+ D.DEFAULT_ARGS = {
+ position : [ "pos" , null ],
+ editor : [ "editor" , null ],
+ before : [ "before" , false ],
+ name : [ "name" , null ]
+ };
+
+ D.CONSTRUCT = function() {
+ this.editor.markers.push(this);
+ this.rowcol = null;
+ this.onChange = [];
+ };
+
+ P.destroy = function() {
+ this.editor.markers.remove(this);
+ this.editor = null;
+ };
+
+ P.editorChange = function(pos, diff, min) {
+ var p = this.position;
+ if (this.before)
+ --p;
+ if (diff != 0 && pos <= p) {
+ this.rowcol = null;
+ this.position += diff;
+ if (this.position < min)
+ this.position = min;
+ this.callHooks(this.onChange, this.position);
+ }
+ };
+
+ P.callHooks = function(a, arg) {
+ for (var i = a.length; --i >= 0;)
+ a[i].call(this.editor, arg);
+ };
+
+ P.getPosition = function() {
+ return this.position;
+ };
+
+ P.setPosition = function(pos, noHooks, force) {
+ if (force || this.position != pos) {
+ this.rowcol = null;
+ this.position = pos;
+ if (!noHooks)
+ this.callHooks(this.onChange, this.position);
+ }
+ };
+
+ P.getRowCol = function() {
+ return this.rowcol || (this.rowcol = this.editor._positionToRowCol(this.position));
+ };
+
+ P.updateMarkers = function(delta) {
+ this.editor._updateMarkers(this.getPosition(), delta);
+ };
+
+ P.swap = function(other, noHooks, force) {
+ var tmp = this.getPosition();
+ this.setPosition(other.getPosition(), noHooks, force);
+ other.setPosition(tmp, noHooks, force);
+ };
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-minibuffer.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-minibuffer.js
new file mode 100644
index 0000000..01fd0f2
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-minibuffer.js
@@ -0,0 +1,429 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-buffer.js
+// @require ymacs-keymap.js
+
+Ymacs_Buffer.newMode("minibuffer_mode", function(){
+ var marker = this.createMarker(0, true);
+ var changed_vars = this.setq({
+ minibuffer_end_marker: marker
+ });
+ var keymap = Ymacs_Keymap_Minibuffer();
+ this.pushKeymap(keymap);
+ return function() {
+ this.setq(changed_vars);
+ marker.destroy();
+ this.popKeymap(keymap);
+ };
+});
+
+(function(){
+
+ var $popupActive = false;
+ var $menu = null, $item = null;
+ function popupCompletionMenu(frame, list) {
+ if ($menu)
+ $menu.destroy();
+ $menu = new DlVMenu({});
+ list.foreach(function(item){
+ var data = item;
+ if (typeof item != "string") {
+ data = item.completion;
+ item = item.label;
+ }
+ new DlMenuItem({ parent: $menu, label: item.htmlEscape(), data: data });
+ });
+ var popup = Ymacs_Completion_Popup.get();
+ popup.popup({
+ timeout: 0,
+ content: $menu,
+ align: {
+ prefer: "Tr",
+ fallX1: "_r",
+ fallX2: "_L",
+ fallY1: "B_",
+ fallY2: "T_"
+ },
+ anchor: frame.getCaretElement(),
+ widget: frame,
+ onHide: function() {
+ $popupActive = false;
+ // $menu.destroy();
+ $item = null;
+ $menu = null;
+ },
+ isContext: true
+ });
+ $popupActive = true;
+ };
+
+ function read_with_continuation(completions, cont, validate) {
+ this.whenMinibuffer(function(mb){
+ var changed_vars = mb.setq({
+ completion_list: completions,
+ minibuffer_validation: function(what){
+ if (what == null)
+ what = mb.cmd("minibuffer_contents");
+ if (validate)
+ return validate.call(this, mb, what);
+ return true; // accept anything by default
+ }.$(this),
+ minibuffer_continuation: function(what){
+ mb.setq(changed_vars);
+ if (cont)
+ cont.call(this, what);
+ }.$(this)
+ });
+ });
+ };
+
+ function filename_completion(mb, str) {
+ var info = this.ymacs.ls_getFileDirectory(str),
+ dir = info.dir,
+ other = info.other,
+ path = info.path,
+ last = other[0];
+ if (other.length != 1)
+ throw new Ymacs_Exception("Not found");
+ if (typeof dir[last] == "string")
+ return [ path.concat([ last ]).join("/") ]; // fully completed
+ var completions = [];
+ for (var i in dir) {
+ if (i.indexOf(last) == 0) {
+ completions.push(i);
+ }
+ }
+ var prefix = completions.common_prefix();
+ if (prefix != last) {
+ if (completions.length == 1 && typeof dir[prefix] != "string")
+ prefix += "/";
+ mb.cmd("minibuffer_replace_input", path.concat([ prefix ]).join("/"));
+ }
+ else if (completions.length == 1) {
+ // XXX: do we ever get here?
+ throw new Ymacs_Exception("Single completion");
+ }
+ else if (completions.length == 0) {
+ throw new Ymacs_Exception("No completions");
+ }
+ else {
+ completions = completions.map(function(name){
+ if (typeof dir[name] != "string")
+ name += "/";
+ return {
+ label: name,
+ completion: path.concat([ name ]).join("/")
+ };
+ });
+ popupCompletionMenu(this.getMinibufferFrame(), completions);
+ }
+ return null;
+ };
+
+ Ymacs_Buffer.newCommands({
+
+ minibuffer_prompt: function(prompt, nofocus) {
+ this.whenMinibuffer(function(mb){
+ var f = this.getMinibufferFrame();
+ mb.setCode("");
+ mb.cmd("prevent_undo", function(){
+ mb.cmd("insert", prompt);
+ });
+ mb.getq("minibuffer_end_marker").setPosition(mb.point());
+ f._redrawCaret(true);
+ if (!nofocus)
+ f.focus();
+ });
+ },
+
+ minibuffer_read_number: function(cont) {
+ read_with_continuation.call(this, null, cont, function(mb, text){
+ var n = parseInt(text, 10);
+ if (isNaN(n))
+ mb.signalError("Please enter a number");
+ return !isNaN(n);
+ });
+ },
+
+ minibuffer_read_command: function(cont) {
+ var commandNames = Array.hashKeys(this.COMMANDS).grep(function(cmd){
+ return this.COMMANDS[cmd].ymacsInteractive;
+ }, this).sort();
+ read_with_continuation.call(this, commandNames, cont, function(mb, name){
+ var cmd = this.COMMANDS[name],
+ ret = cmd && cmd.ymacsInteractive;
+ if (!ret) {
+ mb.signalError("No such command: " + name);
+ }
+ return ret;
+ });
+ },
+
+ minibuffer_read_function: function(cont) {
+ var commandNames = Array.hashKeys(this.COMMANDS).sort();
+ read_with_continuation.call(this, commandNames, cont, function(mb, name){
+ var cmd = this.COMMANDS[name],
+ ret = !!cmd;
+ if (!ret)
+ mb.signalError("No such function: " + name);
+ return ret;
+ });
+ },
+
+ minibuffer_read_buffer: function(cont) {
+ this.whenYmacs(function(ymacs){
+ var bufferNames = ymacs.buffers.map("name");
+ bufferNames.push(bufferNames.shift());
+ read_with_continuation.call(this, bufferNames, cont);
+ handle_tab.call(this);
+ });
+ },
+
+ minibuffer_read_string: function(completions, cont) {
+ read_with_continuation.call(this, completions, cont);
+ },
+
+ minibuffer_read_variable: function(cont) {
+ var tmp = this.globalVariables;
+ Object.merge(tmp, this.variables);
+ var completions = Array.hashKeys(tmp).grep(function(name){
+ return !/^\*/.test(name);
+ }).sort();
+ read_with_continuation.call(this, completions, cont
+ // XXX: seems like a good idea, but it doesn't work
+ // XXX: need to refactor the signalInfo stuff. It doesn't show up
+ // currently because the buffer frame is not active, or something...
+ // , function(mb, name){
+ // var val = this.getq(name);
+ // mb.signalInfo("Current value of " + name + ": " + val);
+ // return true;
+ // }
+ );
+ },
+
+ minibuffer_read_existing_file: function(cont) {
+ var dir = this.ymacs.ls_getFileDirectory(this.name).path.join("/");
+ if (dir) dir += "/";
+ this.cmd("minibuffer_replace_input", dir);
+ read_with_continuation.call(this, filename_completion, cont, function(mb, name){
+ var ret = this.ymacs.ls_getFileContents(name, true);
+ if (!ret)
+ mb.signalError("No such file: " + name);
+ return ret;
+ });
+ },
+
+ minibuffer_read_file: function(cont) {
+ var dir = this.ymacs.ls_getFileDirectory(this.name).path.join("/");
+ if (dir) dir += "/";
+ read_with_continuation.call(this, filename_completion, cont);
+ },
+
+ minibuffer_read_file_or_directory: function(cont) {
+ var dir = this.ymacs.ls_getFileDirectory(this.name).path.join("/");
+ if (dir) dir += "/";
+ read_with_continuation.call(this, filename_completion, cont);
+ },
+
+ minibuffer_read_directory: function(cont) {
+ var dir = this.ymacs.ls_getFileDirectory(this.name).path.join("/");
+ if (dir) dir += "/";
+ read_with_continuation.call(this, filename_completion, cont);
+ },
+
+ minibuffer_prompt_end: function() {
+ return this.whenMinibuffer(function(mb){
+ return mb.getq("minibuffer_end_marker").getPosition();
+ });
+ },
+
+ minibuffer_contents: function() {
+ return this.whenMinibuffer(function(mb){
+ return mb._bufferSubstring(mb.getq("minibuffer_end_marker"));
+ });
+ },
+
+ minibuffer_replace_input: function(value) {
+ this.whenMinibuffer(function(mb){
+ mb._replaceText(mb.getq("minibuffer_end_marker"), mb.getCodeSize(), value);
+ this.getMinibufferFrame()._redrawCaret(true);
+ });
+ },
+
+ minibuffer_complete: function() {
+ this.whenMinibuffer(function(mb){
+ var a = mb.getq("completion_list"),
+ str = mb.cmd("minibuffer_contents"),
+ re = str.replace(/([\[\]\(\)\{\}\.\*\+\?\|\\])/g, "\\$1").replace(/([_-])/g, "[^_-]*[_-]");
+ re = new RegExp("^" + re, "i");
+ if (a instanceof Function) {
+ a = a.call(this, mb, str, re);
+ if (!a)
+ return;
+ }
+ else if (a && a.length > 0) {
+ a = a.grep(function(cmd){
+ return re.test(cmd);
+ });
+ }
+ if (!a || a.length == 0) {
+ mb.signalError("No completions");
+ }
+ else {
+ var prefix = a.common_prefix();
+ if (prefix != str) {
+ mb.cmd("minibuffer_replace_input", prefix);
+ }
+ else if (a.length == 1) {
+ mb.signalError("Sole completion");
+ }
+ else {
+ popupCompletionMenu(this.getMinibufferFrame(), a);
+ }
+ }
+ });
+ },
+
+ minibuffer_complete_and_exit: function() {
+ this.whenMinibuffer(function(mb){
+ if (mb.getq("minibuffer_validation").call(mb)) {
+ mb.cmd("minibuffer_keyboard_quit", this.getq("minibuffer_continuation"));
+ }
+ });
+ },
+
+ minibuffer_keyboard_quit: function(cont) {
+ this.whenMinibuffer(function(mb){
+ var text = this.cmd("minibuffer_contents");
+ mb.setCode("");
+ this.ymacs.getActiveFrame().focus();
+ (function(text){
+ if (cont)
+ cont.call(this, text);
+ this.getPrefixArg();
+ }).delayed(1, this, text);
+ });
+ DlPopup.clearAllPopups();
+ }
+
+ });
+
+ function handle_completion(how) {
+ var old_item = $item, w;
+ switch (how) {
+ case "next":
+ if ($item == null)
+ $item = -1;
+ $item = $menu.children().rotateIndex(++$item);
+ break;
+ case "prev":
+ if ($item == null)
+ $item = 0;
+ $item = $menu.children().rotateIndex(--$item);
+ break;
+ }
+ if (old_item != null) {
+ w = $menu.children(old_item);
+ w.callHooks("onMouseLeave");
+ }
+ old_item = $item;
+ w = $menu.children($item);
+ w.callHooks("onMouseEnter");
+ };
+
+ function handle_arrow_down() {
+ if ($popupActive) {
+ return handle_completion.call(this, "next");
+ }
+ };
+
+ function handle_arrow_up() {
+ if ($popupActive) {
+ return handle_completion.call(this, "prev");
+ }
+ };
+
+ function handle_enter() {
+ if ($popupActive) {
+ if ($item != null) {
+ this.cmd("minibuffer_replace_input", $menu.children()[$item].userData);
+ DlPopup.clearAllPopups();
+ } else {
+ this.signalError("Select something...");
+ }
+ } else {
+ this.cmd("minibuffer_complete_and_exit");
+ }
+ };
+
+ function handle_tab() {
+ if (!$popupActive)
+ this.cmd("minibuffer_complete");
+ handle_arrow_down.call(this); // autoselect the first one anyway
+ };
+
+ function handle_s_tab() {
+ handle_arrow_up.call(this);
+ };
+
+ function handle_escape() {
+ if ($popupActive) {
+ DlPopup.clearAllPopups();
+ } else {
+ this.cmd("minibuffer_keyboard_quit");
+ }
+ };
+
+ DEFINE_SINGLETON("Ymacs_Keymap_Minibuffer", Ymacs_Keymap, function(D, P){
+
+ D.KEYS = {
+ "C-g" : "minibuffer_keyboard_quit",
+ "TAB" : handle_tab,
+ "S-TAB" : handle_s_tab,
+ "ARROW_DOWN" : handle_arrow_down,
+ "ARROW_UP" : handle_arrow_up,
+ "ENTER" : handle_enter,
+ "ESCAPE" : handle_escape
+ };
+
+ P.defaultHandler = [ function() {
+ DlPopup.clearAllPopups();
+ return false; // say it's not handled though
+ } ];
+
+ });
+
+})();
+
+DEFINE_CLASS("Ymacs_Completion_Popup", DlCompletionPopup);
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-css.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-css.js
new file mode 100644
index 0000000..40cb87a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-css.js
@@ -0,0 +1,263 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-tokenizer.js
+
+Ymacs_Tokenizer.define("css", function(stream, tok){
+
+ var PARSER = {
+ next : next,
+ copy : copy,
+ indentation : indentation
+ };
+
+ var $parens = [];
+ var $passedParens = [];
+ var $cont = [];
+ var $inString = null;
+ var $inComment = null;
+
+ function copy() {
+ var c = resume.context = {
+ parens : $parens.slice(0),
+ passedParens : $passedParens.slice(0),
+ cont : $cont.slice(0),
+ inString : $inString,
+ inComment : $inComment
+ };
+ function resume() {
+ $parens = c.parens.slice(0);
+ $passedParens = c.passedParens.slice(0);
+ $cont = c.cont.slice(0);
+ $inString = c.inString;
+ $inComment = c.inComment;
+ return PARSER;
+ };
+ return resume;
+ };
+
+ function INDENT_LEVEL() {
+ return tok.buffer.getq("indent_level");
+ };
+
+ var OPEN_PAREN = {
+ "(" : ")",
+ "{" : "}",
+ "[" : "]"
+ };
+
+ var CLOSE_PAREN = {
+ ")" : "(",
+ "}" : "{",
+ "]" : "["
+ };
+
+ function isOpenParen(ch) {
+ return OPEN_PAREN[ch];
+ };
+
+ function isCloseParen(ch) {
+ return CLOSE_PAREN[ch];
+ };
+
+ function foundToken(c1, c2, type) {
+ tok.onToken(stream.line, c1, c2, type);
+ };
+
+ function readComment() {
+ var line = stream.lineText(), pos = line.indexOf("*/", stream.col);
+ var m = /^\s*\*+/.exec(line.substr(stream.col));
+ if (m) {
+ foundToken(stream.col, stream.col += m[0].length, "mcomment-starter");
+ }
+ if (pos >= 0) {
+ $cont.pop();
+ $inComment = null;
+ foundToken(stream.col, pos, "mcomment");
+ foundToken(pos, pos += 2, "mcomment-stopper");
+ stream.col = pos;
+ } else {
+ foundToken(stream.col, line.length, "mcomment");
+ stream.col = line.length;
+ }
+ };
+
+ function readString(end, type) {
+ var ch, esc = false, start = stream.col;
+ while (!stream.eol()) {
+ ch = stream.peek();
+ if (ch === end && !esc) {
+ $cont.pop();
+ $inString = null;
+ foundToken(start, stream.col, type);
+ foundToken(stream.col, ++stream.col, type + "-stopper");
+ return true;
+ }
+ esc = !esc && ch === "\\";
+ stream.nextCol();
+ }
+ foundToken(start, stream.col, type);
+ };
+
+ function next() {
+ stream.checkStop();
+ if ($cont.length > 0)
+ return $cont.peek()();
+ var ch = stream.peek(), tmp;
+ if (stream.lookingAt("/*")) {
+ $inComment = { line: stream.line, c1: stream.col };
+ foundToken(stream.col, stream.col += 2, "mcomment-starter");
+ $cont.push(readComment);
+ }
+ else if (ch === '"' || ch === "'") {
+ $inString = { line: stream.line, c1: stream.col };
+ foundToken(stream.col, ++stream.col, "string-starter");
+ $cont.push(readString.$C(ch, "string"));
+ }
+ else if ((tmp = isOpenParen(ch))) {
+ $parens.push({ line: stream.line, col: stream.col, type: ch });
+ foundToken(stream.col, ++stream.col, "open-paren");
+ }
+ else if ((tmp = isCloseParen(ch))) {
+ var p = $parens.pop();
+ if (!p || p.type != tmp) {
+ foundToken(stream.col, ++stream.col, "error");
+ } else {
+ // circular reference; poor browsers will leak. mwuhahahaha
+ p.closed = { line: stream.line, col: stream.col, opened: p };
+ $passedParens.push(p);
+ foundToken(stream.col, ++stream.col, "close-paren");
+ }
+ }
+ else if ((tmp = stream.lookingAt(/^([a-zA-z-]+):/))) {
+ foundToken(stream.col, stream.col += tmp[1].length, "keyword");
+ foundToken(stream.col, ++stream.col, "operator");
+ }
+ else if ((tmp = stream.lookingAt(/^([0-9.]+)(px|pt|em|ex|in|cm|mm|%)/))) {
+ foundToken(stream.col, stream.col += tmp[1].length, "number");
+ foundToken(stream.col, stream.col += tmp[2].length, "type");
+ }
+ else if ((tmp = stream.lookingAt(/^(\.[a-zA-Z0-9_:-]+)/))) {
+ foundToken(stream.col, stream.col += tmp[1].length, "function-name");
+ }
+ else if ((tmp = stream.lookingAt(/^(#[a-zA-Z0-9_:-]+)/))) {
+ foundToken(stream.col, stream.col += tmp[1].length, "constant");
+ }
+ else if ((tmp = stream.lookingAt(/^(@[a-zA-Z0-9_:-]+)/))) {
+ foundToken(stream.col, stream.col += tmp[1].length, "builtin");
+ }
+ else if ((tmp = stream.lookingAt(/^(url|none|auto|bold|italic|normal|inherit|print|screen|all)/))) {
+ foundToken(stream.col, stream.col += tmp[1].length, "builtin");
+ }
+ else {
+ foundToken(stream.col, ++stream.col, null);
+ }
+ };
+
+ function indentation() {
+ // no indentation for continued strings
+ if ($inString)
+ return 0;
+
+ var row = stream.line;
+ var currentLine = stream.lineText();
+ var indent = 0;
+
+ if ($inComment) {
+ var commentStartLine = stream.lineText($inComment.line);
+ indent = $inComment.c1 + 1;
+ if (!/^\s*\*/.test(currentLine)) {
+ // align with the first non-whitespace and non-asterisk character in the comment
+ var re = /[^\s*]/g;
+ re.lastIndex = $inComment.c1 + 1;
+ var m = re.exec(commentStartLine);
+ if (m)
+ indent = m.index;
+ }
+ return indent;
+ }
+
+ var p = $parens.peek();
+ if (p) {
+ // check if the current line closes the paren
+ var re = new RegExp("^\\s*\\" + OPEN_PAREN[p.type]);
+ var thisLineCloses = re.test(currentLine);
+
+ // Check if there is text after the opening paren. If so, indent to that column.
+ var line = stream.lineText(p.line);
+ re = /\S/g;
+ re.lastIndex = p.col + 1;
+ var m = re.exec(line);
+ if (m) {
+ // but if this line closes the paren, better use the column of the open paren
+ indent = thisLineCloses ? p.col : m.index;
+ }
+ else {
+ // Otherwise we should indent to one level more than the indentation of the line
+ // containing the opening paren.
+ indent = stream.lineIndentation(p.line) + INDENT_LEVEL();
+
+ // but if this line closes the paren, then back one level
+ if (thisLineCloses)
+ indent -= INDENT_LEVEL();
+ }
+ }
+
+ return indent;
+ };
+
+ return PARSER;
+
+});
+
+DEFINE_SINGLETON("Ymacs_Keymap_CSS", Ymacs_Keymap);
+Ymacs_Keymap_CSS().defineKeys({
+ "ENTER" : "newline_and_indent",
+ ": && } && )" : "c_insert_and_indent"
+});
+
+Ymacs_Buffer.newMode("css_mode", function(){
+
+ var tok = this.tokenizer;
+ this.setTokenizer(new Ymacs_Tokenizer({ buffer: this, type: "css" }));
+ var was_paren_match = this.cmd("paren_match_mode", true);
+ this.pushKeymap(Ymacs_Keymap_CSS());
+
+ return function() {
+ this.setTokenizer(tok);
+ if (!was_paren_match)
+ this.cmd("paren_match_mode", false);
+ this.popKeymap(Ymacs_Keymap_CSS());
+ };
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-js.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-js.js
new file mode 100644
index 0000000..1265bc6
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-js.js
@@ -0,0 +1,431 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-tokenizer.js
+
+/* -----[ This defines the tokenizer ]----- */
+
+(function(){
+
+ var KEYWORDS = "abstract break case catch class const \
+continue debugger default delete do else \
+enum export extends final finally for \
+function goto if implements import in \
+instanceof interface native new package \
+private protected public return static \
+super switch synchronized throw \
+throws transient try typeof var void let \
+yield volatile while with".qw();
+
+ var KEYWORDS_TYPE = "boolean byte char double float int long short void \
+Array Date Function Math Number Object RegExp String".qw();
+
+ var KEYWORDS_CONST = "false null undefined Infinity NaN true arguments this".qw();
+
+ var KEYWORDS_BUILTIN = "Infinity NaN \
+Packages decodeURI decodeURIComponent \
+encodeURI encodeURIComponent eval isFinite isNaN parseFloat \
+parseInt undefined window document alert prototype constructor".qw();
+
+ var ALLOW_REGEXP_AFTER = /[\[({,;+\-*=?&|!:][\x20\t\n\xa0]*$|return\s+$|typeof\s+$/;
+
+ function isLetter(ch) {
+ return ch.toLowerCase() != ch.toUpperCase();
+ };
+
+ function isNameStart(ch) {
+ return ch && (isLetter(ch) || /^[_$]$/.test(ch));
+ };
+
+ function isNameChar(ch) {
+ return ch && (isLetter(ch) || /^[0-9_$]$/.test(ch));
+ };
+
+ var OPEN_PAREN = {
+ "(" : ")",
+ "{" : "}",
+ "[" : "]"
+ };
+
+ var CLOSE_PAREN = {
+ ")" : "(",
+ "}" : "{",
+ "]" : "["
+ };
+
+ function isOpenParen(ch) {
+ return OPEN_PAREN[ch];
+ };
+
+ function isCloseParen(ch) {
+ return CLOSE_PAREN[ch];
+ };
+
+ function JS_PARSER(KEYWORDS, KEYWORDS_TYPE, KEYWORDS_CONST, KEYWORDS_BUILTIN, stream, tok) {
+
+ var $cont = [],
+ $parens = [],
+ $passedParens = [],
+ $inComment = null,
+ $inString = null,
+ PARSER = {
+ next : next,
+ copy : copy,
+ indentation : indentation
+ };
+
+ function INDENT_LEVEL() {
+ return stream.buffer.getq("indent_level");
+ };
+
+ function copy() {
+ var context = restore.context = {
+ cont : $cont.slice(0),
+ inComment : $inComment,
+ inString : $inString,
+ parens : $parens.slice(0),
+ passedParens : $passedParens.slice(0)
+ };
+ function restore() {
+ $cont = context.cont.slice(0);
+ $inComment = context.inComment;
+ $inString = context.inString;
+ $parens = context.parens.slice(0);
+ $passedParens = context.passedParens.slice(0);
+ return PARSER;
+ };
+ return restore;
+ };
+
+ function foundToken(c1, c2, type) {
+ tok.onToken(stream.line, c1, c2, type);
+ };
+
+ function readName() {
+ var col = stream.col, ch = stream.get(),
+ name = ch;
+ while (!stream.eol()) {
+ ch = stream.peek();
+ if (!isNameChar(ch))
+ break;
+ name += ch;
+ stream.nextCol();
+ }
+ return ch && { line: stream.line, c1: col, c2: stream.col, id: name };
+ };
+
+ function readComment() {
+ var line = stream.lineText(), pos = line.indexOf("*/", stream.col);
+ var m = /^\s*\*+/.exec(line.substr(stream.col));
+ if (m) {
+ foundToken(stream.col, stream.col += m[0].length, "mcomment-starter");
+ }
+ if (pos >= 0) {
+ $cont.pop();
+ $inComment = null;
+ foundToken(stream.col, pos, "mcomment");
+ foundToken(pos, pos += 2, "mcomment-stopper");
+ stream.col = pos;
+ } else {
+ foundToken(stream.col, line.length, "mcomment");
+ stream.col = line.length;
+ }
+ };
+
+ function readString(end, type) {
+ var ch, esc = false, start = stream.col;
+ while (!stream.eol()) {
+ ch = stream.peek();
+ if (ch === end && !esc) {
+ $cont.pop();
+ $inString = null;
+ foundToken(start, stream.col, type);
+ foundToken(stream.col, ++stream.col, type + "-stopper");
+ return true;
+ }
+ esc = !esc && ch === "\\";
+ stream.nextCol();
+ }
+ foundToken(start, stream.col, type);
+ };
+
+ // function readLiteralRegexp() {
+ // var m;
+ // if (readString("/", "regexp") && (m = stream.lookingAt(/^[gmsiy]+/)))
+ // foundToken(stream.col, stream.col += m[0].length, "regexp-modifier");
+ // };
+
+ function readLiteralRegexp() {
+ var ch, esc = false, inset = 0, start = stream.col;
+ while (!stream.eol()) {
+ ch = stream.peek();
+ if (isOpenParen(ch) && !esc && !inset)
+ inset++;
+ if (isCloseParen(ch) && !esc) {
+ inset--;
+ if (inset < 0)
+ inset = 0;
+ }
+ if (ch === "/" && !esc && !inset) {
+ $cont.pop();
+ $inString = null;
+ foundToken(start, stream.col, "regexp");
+ foundToken(stream.col, ++stream.col, "regexp-stopper");
+ var m = stream.lookingAt(/^[gmsiy]+/);
+ if (m)
+ foundToken(stream.col, stream.col += m[0].length, "regexp-modifier");
+ return true;
+ }
+ esc = !esc && ch === "\\";
+ stream.nextCol();
+ }
+ foundToken(start, stream.col, "regexp");
+ };
+
+ function next() {
+ stream.checkStop();
+ if ($cont.length > 0)
+ return $cont.peek()();
+ var ch = stream.peek(), m, tmp;
+ if (stream.lookingAt("/*")) {
+ $inComment = { line: stream.line, c1: stream.col };
+ foundToken(stream.col, stream.col += 2, "mcomment-starter");
+ $cont.push(readComment);
+ }
+ else if (stream.lookingAt("//")) {
+ foundToken(stream.col, stream.col += 2, "comment-starter");
+ foundToken(stream.col, stream.col = stream.lineLength(), "comment");
+ }
+ else if (ch === '"' || ch === "'") {
+ $inString = { line: stream.line, c1: stream.col };
+ foundToken(stream.col, ++stream.col, "string-starter");
+ $cont.push(readString.$C(ch, "string"));
+ }
+ else if ((m = stream.lookingAt(/^0x[0-9a-f]+|^[0-9]*\.?[0-9]+/))) {
+ foundToken(stream.col, stream.col += m[0].length, "number");
+ }
+ else if (isNameStart(ch) && (tmp = readName())) {
+ var type = tmp.id in KEYWORDS ? "keyword"
+ : tmp.id in KEYWORDS_TYPE ? "type"
+ : tmp.id in KEYWORDS_CONST ? "constant"
+ : tmp.id in KEYWORDS_BUILTIN ? "builtin"
+ : null;
+ foundToken(tmp.c1, tmp.c2, type);
+ }
+ else if ((tmp = isOpenParen(ch))) {
+ $parens.push({ line: stream.line, col: stream.col, type: ch });
+ foundToken(stream.col, ++stream.col, "open-paren");
+ }
+ else if ((tmp = isCloseParen(ch))) {
+ var p = $parens.pop();
+ if (!p || p.type != tmp) {
+ foundToken(stream.col, ++stream.col, "error");
+ } else {
+ // circular reference; poor browsers will leak. mwuhahahaha
+ p.closed = { line: stream.line, col: stream.col, opened: p };
+ $passedParens.push(p);
+ foundToken(stream.col, ++stream.col, "close-paren");
+ }
+ }
+ else if (ch === "/" && ALLOW_REGEXP_AFTER.test(stream.textBefore())) {
+ foundToken(stream.col, ++stream.col, "regexp-starter");
+ $cont.push(readLiteralRegexp);
+ }
+ else if ((m = stream.lookingAt(/^\s+$/))) {
+ foundToken(stream.col, stream.col += m[0].length, "trailing-whitespace");
+ }
+ else {
+ foundToken(stream.col, ++stream.col, null);
+ }
+ };
+
+ function indentation() {
+
+ // no indentation for continued strings
+ if ($inString)
+ return 0;
+
+ var row = stream.line;
+ var currentLine = stream.lineText();
+ var indent = 0;
+
+ if ($inComment) {
+ var commentStartLine = stream.lineText($inComment.line);
+ indent = $inComment.c1 + 1;
+ if (!/^\s*\*/.test(currentLine)) {
+ // align with the first non-whitespace and non-asterisk character in the comment
+ var re = /[^\s*]/g;
+ re.lastIndex = $inComment.c1 + 1;
+ var m = re.exec(commentStartLine);
+ if (m)
+ indent = m.index;
+ }
+ return indent;
+ }
+
+ var p = $parens.peek();
+ if (p) {
+ // check if the current line closes the paren
+ var re = new RegExp("^\\s*\\" + OPEN_PAREN[p.type]);
+ var thisLineCloses = re.test(currentLine);
+
+ // Check if there is text after the opening paren. If so, indent to that column.
+ var line = stream.lineText(p.line);
+ re = /\S/g;
+ re.lastIndex = p.col + 1;
+ var m = re.exec(line);
+ if (m) {
+ // but if this line closes the paren, better use the column of the open paren
+ indent = thisLineCloses ? p.col : m.index;
+ }
+ else {
+ // Otherwise we should indent to one level more than the indentation of the line
+ // containing the opening paren.
+ indent = stream.lineIndentation(p.line) + INDENT_LEVEL();
+
+ // but if this line closes the paren, then back one level
+ if (thisLineCloses)
+ indent -= INDENT_LEVEL();
+ }
+ }
+
+ // Some more adjustments for continued statements. Since we don't really have a
+ // rigorous parser, we have to rely on other regexps here, which sucks but will do for
+ // now.
+
+ if (row > 0) {
+ var before = stream.textBefore();
+ if (/\)\s*$/.test(before) && $passedParens.length > 0) {
+ // Ends in a paren, could be an if, while or for which demands smart
+ // indentation on the current line, let's check it out.
+
+ // Note that the passedParen saved for that close paren is actually
+ // the opening one, which suits us greatly.
+ p = $passedParens.peek();
+ var stmtLine = stream.lineText(p.line);
+ if (/^\s*(if|for|while)\W/.test(stmtLine))
+ indent += INDENT_LEVEL();
+ }
+ else if (/\Welse\s*$/.test(before)) {
+ indent += INDENT_LEVEL();
+ }
+ }
+
+ // switch labels use half the indent level, which is my favorite
+ if (/^\s*(case|default)\W/.test(currentLine))
+ indent -= INDENT_LEVEL() / 2;
+
+ return indent;
+ };
+
+ return PARSER;
+
+ };
+
+ Ymacs_Tokenizer.define("js", JS_PARSER.$C(
+ KEYWORDS.toHash(true),
+ KEYWORDS_TYPE.toHash(true),
+ KEYWORDS_CONST.toHash(true),
+ KEYWORDS_BUILTIN.toHash(true)
+ ));
+
+ /* -----[ DynarchLIB ]----- */
+
+ var DL_KEYWORDS_BUILTIN = KEYWORDS_BUILTIN.concat("\
+DEFINE_CLASS DEFINE_SINGLETON DEFINE_HIDDEN_CLASS \
+DEFAULT_ARGS DEFAULT_EVENTS \
+FIXARGS CONSTRUCT BEFORE_BASE FINISH_OBJECT_DEF \
+D P $".qw());
+
+ Ymacs_Tokenizer.define("js-dynarchlib", JS_PARSER.$C(
+ KEYWORDS.toHash(true),
+ KEYWORDS_TYPE.toHash(true),
+ KEYWORDS_CONST.toHash(true),
+ DL_KEYWORDS_BUILTIN.toHash(true)
+ ));
+
+})();
+
+/* -----[ Keymap for C-like language mode ]----- */
+
+DEFINE_SINGLETON("Ymacs_Keymap_CLanguages", Ymacs_Keymap, function(D, P){
+
+ D.KEYS = {
+ "ENTER" : "newline_and_indent",
+ "} && ) && ] && : && ; && { && ( && [ && *" : "c_insert_and_indent"
+ // "{" : "c_electric_block"
+ };
+
+});
+
+/* -----[ Mode entry point ]----- */
+
+Ymacs_Buffer.newMode("javascript_mode", function(useDL) {
+ var tok = this.tokenizer;
+ var keymap = Ymacs_Keymap_CLanguages();
+ this.setTokenizer(new Ymacs_Tokenizer({ buffer: this, type: useDL ? "js-dynarchlib" : "js" }));
+ this.pushKeymap(keymap);
+ var was_paren_match = this.cmd("paren_match_mode", true);
+
+ return function() {
+ this.setTokenizer(tok);
+ this.popKeymap(keymap);
+ if (!was_paren_match)
+ this.cmd("paren_match_mode", false);
+ };
+
+});
+
+Ymacs_Buffer.newCommands({
+
+ javascript_dl_mode: Ymacs_Interactive(function() {
+ return this.cmd("javascript_mode", true);
+ }),
+
+ c_electric_block: Ymacs_Interactive(function() {
+ this.cmd("indent_line");
+ this.cmd("insert", "{\n\n}");
+ this.cmd("indent_line");
+ this.cmd("backward_line", 1);
+ this.cmd("indent_line");
+ }),
+
+ c_insert_and_indent: Ymacs_Interactive(function() {
+ var ret;
+ if ((ret = this.cmd("self_insert_command"))) {
+ this.cmd("indent_line");
+ return ret;
+ }
+ })
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-lisp.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-lisp.js
new file mode 100644
index 0000000..dede250
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-lisp.js
@@ -0,0 +1,419 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-tokenizer.js
+
+(function(){
+
+ Ymacs_Buffer.newCommands({
+
+ lisp_open_paren: Ymacs_Interactive(function(what) {
+ if (what == null)
+ what = "(";
+ what += isOpenParen(what);
+ this.cmd("insert", what);
+ this.cmd("backward_char");
+ }),
+
+ lisp_close_paren: Ymacs_Interactive(function(what) {
+ var re = new RegExp("\\s*\\" + what, "ig");
+ if (this.cmd("looking_at", re))
+ this._deleteText(this.point(), this.matchData.after);
+ this.cmd("insert", what);
+ }),
+
+ lisp_close_all_parens: Ymacs_Interactive(function() {
+ var p = this.tokenizer.getParserForLine(this._rowcol.row);
+ if (p) {
+ // this kind of sucks, we need to rewind the stream to that location..
+ var s = this.tokenizer.stream;
+ s.line = this._rowcol.row;
+ s.col = 0;
+ try {
+ while (s.col < this._rowcol.col)
+ p.next();
+ } catch(ex) {}
+ p = p.copy().context.parens; // these are still-to-close
+ p.r_foreach(function(p){
+ this.cmd("lisp_close_paren", isOpenParen(p.type));
+ }, this);
+ }
+ })
+
+ });
+
+ // XXX: much of the parser is actually copied from ymacs-mode-js.js. I should somehow unify
+ // the duplicate code.
+
+ var SPECIAL_FORMS = "\
+deftype defstruct defclass \
+defmacro defun defmethod defgeneric defpackage in-package defreadtable in-readtable \
+when cond unless etypecase typecase ctypecase \
+lambda let load-time-value quote macrolet \
+progn prog1 prog2 progv go flet the \
+if throw eval-when multiple-value-prog1 unwind-protect let* \
+ignore-errors handler-case case \
+labels function symbol-macrolet block tagbody catch locally \
+return return-from setq multiple-value-call".qw().toHash();
+
+ var COMMON_MACROS = "loop do while".qw().toHash();
+
+ var CONSTANTS = "t nil".qw().toHash();
+
+ var OPEN_PAREN = {
+ "(" : ")",
+ "{" : "}",
+ "[" : "]"
+ };
+
+ var CLOSE_PAREN = {
+ ")" : "(",
+ "}" : "{",
+ "]" : "["
+ };
+
+ var DEFINES_FUNCTION = "defun defgeneric defmethod".qw().toHash();
+
+ var DEFINES_TYPE = "deftype defclass defstruct".qw().toHash();
+
+ var FORM_ARGS = {
+ "if" : "3+",
+ "when" : "1*",
+ "lambda" : "1*",
+ "unless" : "1*",
+ "defun" : "2*",
+ "defgeneric" : "2*",
+ "defmethod" : "2*",
+ "defclass" : "2*",
+ "defmacro" : "2*",
+ "progn" : "0*",
+ "prog1" : "0*",
+ "prog2" : "0*",
+ "let" : "1*"
+ };
+
+ function isOpenParen(ch) {
+ return OPEN_PAREN[ch];
+ };
+
+ function isCloseParen(ch) {
+ return CLOSE_PAREN[ch];
+ };
+
+ function isConstituent(ch) {
+ return ch.toLowerCase() != ch.toUpperCase() ||
+ /^[-0-9!#$%&*+./:<=>?@\[\]\^_\{\}~]$/i.test(ch);
+ };
+
+ function isConstituentStart(ch) {
+ return ch != "#" && isConstituent(ch);
+ };
+
+ // the tokenizer function
+ Ymacs_Tokenizer.define("lisp", function(stream, tok){
+
+ var $cont = [],
+ $inString = false,
+ $inComment = false,
+ $quote = null,
+ $parens = [],
+ $passedParens = [],
+ $backList = [],
+ $list = [],
+ PARSER = { next: next, copy: copy, indentation: indentation };
+
+ function copy() {
+ var context = restore.context = {
+ cont : $cont.slice(0),
+ quote : $quote,
+ inString : $inString,
+ inComment : $inComment,
+ parens : $parens.slice(0),
+ passedParens : $passedParens.slice(0),
+ backList : $backList.slice(0),
+ list : $list.slice(0)
+ };
+ function restore() {
+ $cont = context.cont.slice(0);
+ $inString = context.inString;
+ $quote = context.quote;
+ $inComment = context.inComment;
+ $parens = context.parens.slice(0);
+ $passedParens = context.passedParens.slice(0);
+ $backList = context.backList.slice(0),
+ $list = context.list.slice(0);
+ return PARSER;
+ };
+ return restore;
+ };
+
+ function foundToken(c1, c2, type) {
+ tok.onToken(stream.line, c1, c2, type);
+ };
+
+ function newArg(what) {
+ if (what == null)
+ what = { c1: stream.col };
+ $list.push(what);
+ };
+
+ function INDENT_LEVEL() { return stream.buffer.getq("indent_level"); };
+
+ function readName() {
+ var col = stream.col, ch = stream.get(),
+ name = ch;
+ while (!stream.eol()) {
+ ch = stream.peek();
+ if (!isConstituent(ch))
+ break;
+ name += ch;
+ stream.nextCol();
+ }
+ return ch && { line: stream.line, c1: col, c2: stream.col, id: name.toLowerCase() };
+ };
+
+ function readString(end, type) {
+ var ch, esc = false, start = stream.col;
+ while (!stream.eol()) {
+ ch = stream.peek();
+ if (ch === end && !esc) {
+ $cont.pop();
+ $inString = null;
+ foundToken(start, stream.col, type);
+ foundToken(stream.col, ++stream.col, type + "-stopper");
+ return true;
+ }
+ esc = !esc && ch === "\\";
+ stream.nextCol();
+ }
+ foundToken(start, stream.col, type);
+ };
+
+ function readComment() {
+ var line = stream.lineText(), pos = line.indexOf("|#", stream.col);
+ var m = /^\s*\|+/.exec(line.substr(stream.col));
+ if (m) {
+ foundToken(stream.col, stream.col += m[0].length, "mcomment-starter");
+ }
+ if (pos >= 0) {
+ $cont.pop();
+ $inComment = null;
+ foundToken(stream.col, pos, "mcomment");
+ foundToken(pos, pos += 2, "mcomment-stopper");
+ stream.col = pos;
+ } else {
+ foundToken(stream.col, line.length, "mcomment");
+ stream.col = line.length;
+ }
+ };
+
+ function isForm(form) {
+ var f = $list && $list.length > 0 && $list[0].id;
+ if (f) {
+ f = f.toLowerCase();
+ if (form == null)
+ return f;
+ return typeof form == "string" ? f == form : f in form;
+ }
+ };
+
+ function next() {
+ stream.checkStop();
+ if ($cont.length > 0)
+ return $cont.peek()();
+ var ch = stream.peek(), tmp;
+ if ((tmp = stream.lookingAt(/^#\\(Space|Newline|.?)/i))) {
+ newArg();
+ foundToken(stream.col, stream.col += tmp[0].length, "constant");
+ }
+ else if (stream.lookingAt(/^#\x27[^(]/)) {
+ newArg();
+ stream.col += 2;
+ tmp = readName();
+ foundToken(tmp.c1, tmp.c2, "function-name");
+ }
+ else if (stream.lookingAt("#|")) {
+ $inComment = { line: stream.line, c1: stream.col };
+ foundToken(stream.col, stream.col += 2, "mcomment-starter");
+ $cont.push(readComment);
+ }
+ else if ((tmp = stream.lookingAt(/^;+/))) {
+ foundToken(stream.col, stream.col += tmp[0].length, "comment-starter");
+ foundToken(stream.col, stream.col = stream.lineLength(), "comment");
+ }
+ else if (ch === '"') {
+ newArg();
+ $inString = { line: stream.line, c1: stream.col };
+ foundToken(stream.col, ++stream.col, "string-starter");
+ $cont.push(readString.$C(ch, "string"));
+ }
+ else if ((tmp = stream.lookingAt(/^[+-]?(#x[0-9a-f]+|#o[0-7]+|#b[01]+|[0-9]*\.?[0-9]+e?[0-9]*)(\x2f(#x[0-9a-f]+|#o[0-7]+|#b[01]+|[0-9]*\.?[0-9]+e?[0-9]*))?/))) { // Dude, WTF...
+ newArg();
+ foundToken(stream.col, stream.col += tmp[0].length, "number");
+ }
+ else if ((tmp = isOpenParen(ch))) {
+ newArg();
+ $backList.push($list);
+ $list = [];
+ $parens.push({ line: stream.line, col: stream.col, type: ch });
+ foundToken(stream.col, ++stream.col, "open-paren");
+ }
+ else if ((tmp = isCloseParen(ch))) {
+ var p = $parens.pop();
+ if (!p || p.type != tmp) {
+ foundToken(stream.col, ++stream.col, "error");
+ } else {
+ p.closed = { line: stream.line, col: stream.col, opened: p };
+ $passedParens.push(p);
+ $list = $backList.pop();
+ foundToken(stream.col, ++stream.col, "close-paren");
+ }
+ }
+ else if (isConstituentStart(ch) && (tmp = readName())) {
+ var type = ch == ":" ? "lisp-keyword"
+ : tmp.id in SPECIAL_FORMS ? "keyword"
+ : tmp.id in COMMON_MACROS ? "builtin"
+ : tmp.id in CONSTANTS ? "constant"
+ : null;
+ if (!type) {
+ // perhaps function name?
+ if (isForm(DEFINES_FUNCTION) && $list.length == 1) {
+ type = "function-name";
+ }
+ else if (isForm(DEFINES_TYPE) && $list.length == 1) {
+ type = "type";
+ }
+ // there are a lot of macros starting with "with-", so let's highlight this
+ else if (/^with-/i.test(tmp.id)) {
+ type = "builtin";
+ }
+ }
+ newArg(tmp);
+ foundToken(tmp.c1, tmp.c2, type);
+ }
+ else {
+ foundToken(stream.col, ++stream.col, null);
+ }
+ };
+
+ function indentation() {
+ // no indentation for continued strings
+ if ($inString)
+ return 0;
+
+ var currentLine = stream.lineText();
+ var indent = 0;
+
+ var p = $parens.peek();
+ if (p) {
+ var line = stream.lineText(p.line);
+ indent = p.col + 1;
+ var nextNonSpace;
+ if (isConstituentStart(line.charAt(indent))) {
+ indent = p.col + INDENT_LEVEL();
+ var re = /\s\S/g;
+ re.lastIndex = p.col;
+ nextNonSpace = re.exec(line);
+ if (nextNonSpace) {
+ nextNonSpace = nextNonSpace.index + 1;
+ }
+ }
+ if ($list && $list.length) {
+ // console.log($list);
+ var currentForm = isForm();
+ if (currentForm) {
+ currentForm = currentForm.replace(/\*$/, "");
+ var formArgs = FORM_ARGS[currentForm];
+ if (!formArgs && /^with/.test(currentForm)) {
+ // "with" macros usually take one argument, then &body
+ formArgs = "1*";
+ }
+ if (!formArgs) {
+ formArgs = "1+"; // kind of sucky now
+ }
+ if (formArgs) {
+ var n = parseInt(formArgs, 10);
+ var hasRest = /\+$/.test(formArgs);
+ var hasBody =/\*$/.test(formArgs);
+ // console.log("Expecting %d arguments, got %d already (rest=%o, body=%o)", n, $list.length - 1, hasRest, hasBody);
+ if ($list.length - 1 < n || hasRest) {
+ // still in the arguments
+ if (nextNonSpace)
+ indent = nextNonSpace;
+ else
+ indent += INDENT_LEVEL();
+ }
+ }
+ }
+ }
+ }
+
+ return indent;
+ };
+
+ return PARSER;
+ });
+
+})();
+
+DEFINE_SINGLETON("Ymacs_Keymap_LispMode", Ymacs_Keymap, function(D, P){
+
+ D.KEYS = {
+ "ENTER" : "newline_and_indent",
+ "(" : [ "lisp_open_paren", "(" ],
+ ")" : [ "lisp_close_paren", ")" ],
+ "C-c ] && C-c C-]" : "lisp_close_all_parens"
+ };
+
+});
+
+Ymacs_Buffer.newMode("lisp_mode", function() {
+
+ var tok = this.tokenizer;
+ this.setTokenizer(new Ymacs_Tokenizer({ buffer: this, type: "lisp" }));
+ var changed_vars = this.setq({
+ indent_level: 2
+ });
+ var keymap = Ymacs_Keymap_LispMode();
+ this.pushKeymap(keymap);
+ var was_paren_match = this.cmd("paren_match_mode", true);
+
+ return function() {
+ this.setTokenizer(tok);
+ this.setq(changed_vars);
+ this.popKeymap(keymap);
+ if (!was_paren_match)
+ this.cmd("paren_match_mode", false);
+ };
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-markdown.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-markdown.js
new file mode 100644
index 0000000..42a92b9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-markdown.js
@@ -0,0 +1,89 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-tokenizer.js
+
+Ymacs_Tokenizer.define("markdown", function(stream, tok) {
+
+ var PARSER = { next: next, copy: copy };
+
+ function copy() {
+ var context = restore.context = {
+ };
+ function restore() {
+ return PARSER;
+ };
+ return restore;
+ };
+
+ function foundToken(c1, c2, type) {
+ tok.onToken(stream.line, c1, c2, type);
+ };
+
+ function next() {
+ stream.checkStop();
+ var tmp;
+ if (stream.col == 0 && (tmp = stream.lookingAt(/^(#+)/))) {
+ foundToken(0, stream.col = stream.lineLength(), "markdown-heading" + tmp[0].length);
+ }
+ else if (stream.line > 0 && stream.col == 0 && (tmp = stream.lookingAt(/^[=-]+$/)) && /\S/.test(stream.lineText(stream.line - 1))) {
+ tmp = tmp[0].charAt(0) == "=" ? 1 : 2;
+ tmp = "markdown-heading" + tmp;
+ tok.onToken(stream.line - 1, 0, stream.lineLength(stream.line - 1), tmp);
+ foundToken(0, stream.col = stream.lineLength(), tmp);
+ }
+ else if (stream.col == 0 && (tmp = stream.lookingAt(/^[>\s]*/))) {
+ tmp = tmp[0].replace(/\s+/g, "").length;
+ if (tmp > 3)
+ tmp = "";
+ tmp = "markdown-blockquote" + tmp;
+ foundToken(0, stream.col = stream.lineLength(), tmp);
+ }
+ else {
+ foundToken(stream.col, ++stream.col, null);
+ }
+ };
+
+ return PARSER;
+
+});
+
+Ymacs_Buffer.newMode("markdown_mode", function() {
+
+ var tok = this.tokenizer;
+ this.setTokenizer(new Ymacs_Tokenizer({ buffer: this, type: "markdown" }));
+ return function() {
+ this.setTokenizer(tok);
+ };
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-paren-match.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-paren-match.js
new file mode 100644
index 0000000..cdeeb8f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-paren-match.js
@@ -0,0 +1,301 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-buffer.js
+// @require ymacs-tokenizer.js
+
+DEFINE_SINGLETON("Ymacs_Keymap_ParenMatch", Ymacs_Keymap, function(D, P) {
+
+ D.KEYS = {
+ "C-c \\" : "goto_matching_paren",
+ "C-M-q" : "indent_sexp",
+ "C-M-f && C-M-n" : "forward_sexp",
+ "C-M-b && C-M-p" : "backward_sexp",
+ "C-M-u && M-a" : "backward_up_list",
+ "M-e && C-M-ARROW_UP" : "up_list",
+ "C-M-ARROW_DOWN" : "down_list",
+ "M-C-k" : "kill_sexp",
+ "M-C-SPACE" : "mark_sexp",
+ "M-C-t" : "transpose_sexps",
+ "M-(" : [ "paredit_wrap_round", "(" ],
+ "M-[" : [ "paredit_wrap_round", "[" ],
+ "M-{" : [ "paredit_wrap_round", "{" ],
+ 'M-"' : [ "paredit_wrap_round", '"', true ],
+ "M-'" : [ "paredit_wrap_round", "'", true ]
+ };
+
+ /* -----[ new commands ]----- */
+
+ function compareRowCol(p1, p2) {
+ return (p1.line < p2.line)
+ ? -1
+ : p1.line > p2.line
+ ? 1
+ : p1.col - p2.col;
+ };
+
+ var PARENS = {
+ "(" : ")",
+ "[" : "]",
+ "{" : "}",
+ '"' : { close: '"', backslash: /[\x22\\]/g },
+ "'" : { close: "'", backslash: /[\x27\\]/g }
+ };
+
+ function ERROR(o) {
+ throw new Ymacs_Exception("Balanced expression not found");
+ };
+
+ function getPP(p) {
+ var pp = p.context.passedParens;
+ return pp instanceof Function ? pp() : pp;
+ };
+
+ Ymacs_Buffer.newCommands({
+
+ matching_paren: function() {
+ var p = this.tokenizer.getLastParser(), rc = this._rowcol;
+ if (p) {
+ var parens = getPP(p);
+ return parens.foreach(function(p){
+ var match = p.closed;
+ if (p.line == rc.row && p.col == rc.col) {
+ $RETURN( this._rowColToPosition(match.line, match.col + 1) );
+ } else if (match.line == rc.row && match.col == rc.col - 1) {
+ $RETURN( this._rowColToPosition(p.line, p.col) );
+ }
+ }, this);
+ }
+ },
+
+ indent_sexp: Ymacs_Interactive(function() {
+ var pos = this.cmd("matching_paren");
+ if (pos != null) {
+ this.cmd("indent_region", this.point(), pos);
+ } else {
+ ERROR(this);
+ }
+ }),
+
+ goto_matching_paren: Ymacs_Interactive(function() {
+ var pos = this.cmd("matching_paren");
+ if (pos != null) {
+ this.cmd("goto_char", pos);
+ return true;
+ }
+ }),
+
+ forward_sexp: Ymacs_Interactive(function() {
+ var rc = this._rowcol, p = this.tokenizer.finishParsing();
+ if (p) {
+ // find next paren
+ var parens = getPP(p).mergeSort(compareRowCol);
+ var next = parens.foreach(function(p){
+ if (p.line > rc.row || (p.line == rc.row && p.col >= rc.col)) {
+ $RETURN(p);
+ }
+ });
+ if (!next || !next.closed) {
+ ERROR(this);
+ return;
+ }
+ var start = this._rowColToPosition(next.line, next.col);
+ if ((this._rowcol.row == next.line && this._rowcol.col == next.col)
+ || !/\S/.test(this._bufferSubstring(null, start)))
+ this.cmd("goto_char", this._rowColToPosition(next.closed.line, next.closed.col) + 1);
+ else
+ this.cmd("goto_char", start);
+ return true;
+ }
+ }),
+
+ backward_sexp: Ymacs_Interactive(function() {
+ var rc = this._rowcol, p = this.tokenizer.finishParsing();
+ if (p) {
+ // find next paren
+ var parens = getPP(p).grep("closed").map("closed").mergeSort(compareRowCol);
+ var prev = parens.r_foreach(function(p){
+ if (p.line < rc.row || (p.line == rc.row && p.col < rc.col))
+ $RETURN(p);
+ });
+ if (!prev) {
+ ERROR(this);
+ return;
+ }
+ this.cmd("goto_char", this._rowColToPosition(prev.opened.line, prev.opened.col));
+ return true;
+ }
+ }),
+
+ mark_sexp: Ymacs_Interactive("^r", function(begin, end){
+ this.cmd("save_excursion", function(){
+ if (this.transientMarker)
+ this.cmd("goto_char", end);
+ this.ensureTransientMark();
+ this.cmd("forward_sexp");
+ this.cmd("set_mark_command", this.point());
+ this.transientMarker.swap(this.caretMarker);
+ });
+ this.ensureTransientMark();
+ }),
+
+ kill_sexp: Ymacs_Interactive(function() {
+ this._killingAction(
+ this.point(),
+ this.cmd("save_excursion", function() {
+ this.cmd("forward_sexp");
+ return this.point();
+ })
+ );
+ }),
+
+ transpose_sexps: Ymacs_Interactive(function() {
+ var a = [];
+ this.cmd("forward_sexp"); a.push(this.point());
+ this.cmd("backward_sexp"); a.push(this.point());
+ this.cmd("backward_sexp"); a.push(this.point());
+ this.cmd("forward_sexp"); a.push(this.point());
+ this.cmd("goto_char", this._swapAreas(a));
+ }),
+
+ paredit_wrap_round: Ymacs_Interactive("^", function(paren, nosexp){
+ if (!paren)
+ paren = "(";
+ var closing = PARENS[paren],
+ r = this.transientMarker
+ ? this.getRegion()
+ : this.cmd("save_excursion", function(){
+ var begin = this.point();
+ if (!nosexp)
+ this.cmd("forward_sexp");
+ return { begin: begin, end: this.point() };
+ }),
+ txt = this._bufferSubstring(r.begin, r.end),
+ before = this.point() < r.end;
+ if (typeof closing != "string") {
+ txt = txt.replace(closing.backslash, function(s){
+ return "\\" + s;
+ });
+ closing = closing.close;
+ }
+ var m = this.createMarker(r.end);
+ this.cmd("save_excursion", function(){
+ this._replaceText(r.begin, r.end, paren + txt + closing);
+ }, before);
+ this.cmd("forward_char", before ? 1 : -1);
+ this.clearTransientMark();
+ this.cmd("indent_region", r.begin, m.getPosition());
+ m.destroy();
+ }),
+
+ down_list: Ymacs_Interactive(function(){
+ var rc = this._rowcol, p = this.tokenizer.finishParsing();
+ if (p) {
+ var lc = { line: rc.row, col: rc.col };
+ p = getPP(p).grep("closed").mergeSort(compareRowCol).grep_first(function(p){
+ return compareRowCol(p, lc) >= 0;
+ });
+ if (p != null) {
+ this.cmd("goto_char", this._rowColToPosition(p.line, p.col) + 1);
+ } else {
+ ERROR(this);
+ }
+ }
+ }),
+
+ backward_up_list: Ymacs_Interactive(function(){
+ var rc = this._rowcol, p = this.tokenizer.finishParsing();
+ if (p) {
+ var lc = { line: rc.row, col: rc.col };
+ p = getPP(p).grep("closed").mergeSort(compareRowCol).grep_last(function(p){
+ return compareRowCol(p, lc) < 0 && compareRowCol(p.closed, lc) >= 0;
+ });
+ if (p != null) {
+ this.cmd("goto_char", this._rowColToPosition(p.line, p.col));
+ } else {
+ ERROR(this);
+ }
+ }
+ }),
+
+ up_list: Ymacs_Interactive(function(){
+ this.cmd("backward_up_list");
+ this.cmd("forward_sexp");
+ })
+
+ });
+
+ Ymacs_Buffer.newMode("paren_match_mode", function(){
+
+ var keymap = Ymacs_Keymap_ParenMatch();
+ this.pushKeymap(keymap);
+
+ var active = false,
+ clearOvl = function() {
+ if (active)
+ this.deleteOverlay("match-paren");
+ }.clearingTimeout(500, this);
+
+ var events = {
+ beforeInteractiveCommand: function() {
+ clearOvl.doItNow();
+ },
+ afterInteractiveCommand: function() {
+ var p = this.tokenizer.getLastParser(), rc = this._rowcol;
+ if (p) {
+ getPP(p).foreach(function(p){
+ var match = p.closed;
+ if ((p.line == rc.row && p.col == rc.col) ||
+ (match.line == rc.row && match.col == rc.col - 1)) {
+ active = true;
+ this.setOverlay("match-paren", {
+ line1: p.line, line2: match.line,
+ col1: p.col, col2: match.col + 1
+ });
+ clearOvl();
+ }
+ }, this);
+ }
+ }.clearingTimeout(100)
+ };
+ this.addEventListener(events);
+
+ return function() {
+ clearOvl.doItNow();
+ this.popKeymap(keymap);
+ this.removeEventListener(events);
+ };
+
+ });
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-xml.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-xml.js
new file mode 100644
index 0000000..0e0ed47
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-mode-xml.js
@@ -0,0 +1,474 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-tokenizer.js
+
+Ymacs_Tokenizer.define("xml", function(stream, tok) {
+
+ var $tags = [],
+ $cont = [],
+ $inTag = null,
+ $inComment = null,
+ PARSER = { next: next, copy: copy, indentation: indentation };
+
+ function copy() {
+ var _tags = $tags.slice(0),
+ _cont = $cont.slice(0),
+ _inTag = $inTag,
+ _inComment = $inComment;
+ function resume() {
+ $cont = _cont.slice(0);
+ $tags = _tags.slice(0);
+ $inTag = _inTag;
+ $inComment = _inComment;
+ return PARSER;
+ };
+ return resume;
+ };
+
+ function INDENT_LEVEL() {
+ return stream.buffer.getq("indent_level");
+ };
+
+ function foundToken(c1, c2, type) {
+ tok.onToken(stream.line, c1, c2, type);
+ };
+
+ function isLetter(ch) {
+ return ch.toLowerCase() != ch.toUpperCase();
+ };
+
+ function isNameStart(ch) {
+ return ch && (isLetter(ch) || /^[:_-]$/.test(ch));
+ };
+
+ function isNameChar(ch) {
+ return ch && (isLetter(ch) || /^[0-9_-]$/.test(ch));
+ };
+
+ function readName() {
+ var col = stream.col, ch = stream.get(),
+ name = ch;
+ while (!stream.eol()) {
+ ch = stream.peek();
+ if (!isNameChar(ch))
+ break;
+ name += ch;
+ stream.nextCol();
+ }
+ return ch && { line: stream.line, c1: col, c2: stream.col, id: name };
+ };
+
+ function readString(end) {
+ var ch, esc = false, start = stream.col;
+ while (!stream.eol()) {
+ ch = stream.peek();
+ if (ch === end && !esc) {
+ $cont.pop();
+ foundToken(start, stream.col, "string");
+ foundToken(stream.col, ++stream.col, "string-stopper");
+ return;
+ }
+ esc = !esc && ch === "\\";
+ stream.nextCol();
+ }
+ foundToken(start, stream.col, "string");
+ };
+
+ function readTag() {
+ var ch = stream.peek(), name;
+ if (stream.lookingAt(/^\x2f>/)) {
+ $cont.pop();
+ $inTag = null;
+ foundToken(stream.col, ++stream.col, "xml-closetag-slash");
+ foundToken(stream.col, ++stream.col, "xml-close-bracket");
+ }
+ else if (ch === ">") {
+ $cont.pop();
+ $tags.push($inTag);
+ $inTag = null;
+ foundToken(stream.col, ++stream.col, "xml-close-bracket");
+ }
+ else if (isNameStart(ch) && (name = readName())) {
+ foundToken(name.c1, name.c2, "xml-attribute");
+ }
+ else if (ch === '"' || ch === "'") {
+ foundToken(stream.col, ++stream.col, "string-starter");
+ $cont.push(readString.$C(ch));
+ }
+ else foundToken(stream.col, ++stream.col, null);
+ };
+
+ function readComment(type, end) {
+ var line = stream.lineText(), pos = line.indexOf(end, stream.col);
+ if (pos >= 0) {
+ $cont.pop();
+ foundToken(stream.col, pos, type);
+ $inComment = null;
+ foundToken(pos, pos += end.length, type + "-stopper");
+ stream.col = pos;
+ } else {
+ foundToken(stream.col, line.length, type);
+ stream.col = line.length;
+ }
+ };
+
+ function readCloseBracket() {
+ var m = stream.lookingAt(/^([\s\xA0]*)(>?)/);
+ if (m && m[0]) {
+ if (m[1])
+ foundToken(stream.col, stream.col += m[1].length, null);
+ if (m[2]) {
+ foundToken(stream.col, stream.col += m[2].length, "xml-close-bracket");
+ $cont.pop();
+ }
+ } else {
+ foundToken(stream.col, ++stream.col, "error");
+ }
+ };
+
+ function next() {
+ stream.checkStop();
+ if ($cont.length > 0)
+ return $cont.peek()();
+ var ch = stream.peek(), m;
+ if (stream.lookingAt("<![CDATA[")) {
+ foundToken(stream.col, stream.col += 9, "xml-cdata-starter");
+ $inComment = { line: stream.line, c1: stream.col };
+ $cont.push(readComment.$C("xml-cdata", "]]>"));
+ }
+ else if (stream.lookingAt("<!--")) {
+ foundToken(stream.col, stream.col += 4, "mcomment-starter");
+ $inComment = { line: stream.line, c1: stream.col };
+ $cont.push(readComment.$C("mcomment", "-->"));
+ }
+ else if (stream.lookingAt(/^<\x2f/) && isNameStart(stream.peek(+2))) {
+ foundToken(stream.col, ++stream.col, "xml-open-bracket");
+ foundToken(stream.col, ++stream.col, "xml-closetag-slash");
+ var tag = readName(), prev = $tags.pop();
+ foundToken(tag.c1, tag.c2, ( prev && prev.id == tag.id
+ ? "xml-close-tag"
+ : "error" ));
+ $cont.push(readCloseBracket);
+ }
+ else if (ch === "<" && isNameStart(stream.peek(+1))) {
+ foundToken(stream.col, ++stream.col, "xml-open-bracket");
+ var tag = readName();
+ foundToken(tag.c1, tag.c2, "xml-open-tag");
+ $inTag = tag;
+ $cont.push(readTag);
+ }
+ else if ((m = stream.lookingAt(/^&.*?;/))) {
+ foundToken(stream.col, ++stream.col, "xml-entity-starter");
+ foundToken(stream.col, stream.col += m[0].length - 2, "xml-entity");
+ foundToken(stream.col, ++stream.col, "xml-entity-stopper");
+ }
+ else if (ch === "&") {
+ foundToken(stream.col, ++stream.col, "error");
+ }
+ else {
+ foundToken(stream.col, ++stream.col, null);
+ }
+ };
+
+ function indentation() {
+ var indent, lastTag;
+ if ($inComment) {
+ indent = stream.lineIndentation($inComment.line) + INDENT_LEVEL();
+ }
+ else if ($inTag) {
+ indent = $inTag.c1 + $inTag.id.length + 1;
+ }
+ else if ((lastTag = $tags.peek())) {
+ indent = stream.lineIndentation(lastTag.line) + INDENT_LEVEL();
+ // if current line begins with a closing tag, back one level
+ if (/^\s*<\x2f/.test(stream.lineText()))
+ indent -= INDENT_LEVEL();
+ }
+ return indent;
+ };
+
+ return PARSER;
+
+});
+
+DEFINE_SINGLETON("Ymacs_Keymap_XML", Ymacs_Keymap, function(D, P){
+
+ D.KEYS = {
+ "C-c /" : "xml_close_tag",
+ "C-ENTER" : "xml_zen_expand",
+ "ENTER" : "newline_and_indent"
+ };
+
+});
+
+Ymacs_Buffer.newMode("xml_mode", function(){
+
+ var tok = this.tokenizer;
+ this.setTokenizer(new Ymacs_Tokenizer({ buffer: this, type: "xml" }));
+ var keymap = Ymacs_Keymap_XML();
+ this.pushKeymap(keymap);
+ var changed_vars = this.setq({ indent_level: 2 });
+ return function() {
+ this.setTokenizer(tok);
+ this.popKeymap(keymap);
+ this.setq(changed_vars);
+ };
+
+});
+
+(function(){
+
+ DEFINE_SINGLETON("Ymacs_Keymap_XML_Zen", Ymacs_Keymap, function(D, P){
+ D.KEYS = {
+ "TAB" : "xml_zen_next_poi",
+ "S-TAB" : "xml_zen_prev_poi",
+ "C-g" : "xml_zen_stop"
+ };
+ });
+
+ var MODE_TYPE = 1, MODE_CLASS = 2, MODE_ID = 3, MODE_REPEAT = 4, MODE_ATTR = 5;
+
+ function zen_render(el, html) {
+ var n = el.repeat || 1;
+ for (var i = 1; i <= n; ++i) {
+ if (i > 1)
+ html("\n");
+ html("<", el.type);
+ if (el.id) {
+ html(' id="', el.id.replace(/\$/g, i), '"');
+ }
+ if (el.klass) {
+ html(' class="', el.klass.replace(/\$/g, i), '"');
+ }
+ if (el.attributes) {
+ el.attributes.foreach(function(attr){
+ html(" ", attr, '="|"');
+ });
+ }
+ html(">");
+ if (el.child) {
+ html("\n");
+ zen_render(el.child, html);
+ html("\n");
+ } else {
+ html("|");
+ }
+ html("</", el.type, ">");
+ if (el.next) {
+ html("\n");
+ zen_render(el.next, html);
+ }
+ }
+ };
+
+ function zen_parse(str, i) {
+ var el = { type: "" }, mode = MODE_TYPE;
+ OUTER: while (i < str.length) {
+ var ch = str.charAt(i++);
+ switch (ch) {
+
+ case "#":
+ mode = MODE_ID;
+ el.id = "";
+ break;
+
+ case ".":
+ mode = MODE_CLASS;
+ if (el.klass != null) {
+ el.klass += " ";
+ } else {
+ el.klass = "";
+ }
+ break;
+
+ case ":":
+ mode = MODE_ATTR;
+ if (el.attributes == null)
+ el.attributes = [];
+ el.attributes.push("");
+ break;
+
+ case "*":
+ mode = MODE_REPEAT;
+ el.repeat = "";
+ break;
+
+ case ">":
+ el.child = zen_parse(str, i);
+ i = el.child.i;
+ break OUTER;
+
+ case "(":
+ el.child = zen_parse(str, i);
+ i = el.child.i;
+ break;
+
+ case ")":
+ break OUTER;
+
+ case "+":
+ el.next = zen_parse(str, i);
+ i = el.next.i;
+ break OUTER;
+
+ default:
+ switch (mode) {
+ case MODE_TYPE:
+ el.type += ch;
+ break;
+ case MODE_CLASS:
+ el.klass += ch;
+ break;
+ case MODE_ID:
+ el.id += ch;
+ break;
+ case MODE_REPEAT:
+ el.repeat = parseInt(String(el.repeat) + ch, 10);
+ break;
+ case MODE_ATTR:
+ el.attributes.push(el.attributes.pop() + ch);
+ break;
+ }
+ }
+ }
+
+ el.i = i;
+ return el;
+ };
+
+ function maybe_stop_zen() {
+ var point = this.point(),
+ a = this.getq("xml_zen_markers"),
+ start = a[0],
+ end = a.peek();
+ if (point < start.getPosition() || point > end.getPosition() ||
+ end.getPosition() == a.peek(1).getPosition()) {
+ this.cmd("xml_zen_stop");
+ }
+ };
+
+ Ymacs_Buffer.newCommands({
+
+ xml_close_tag: Ymacs_Interactive(function() {
+ this.cmd("close_last_xml_tag");
+ this.cmd("indent_line");
+ }),
+
+ xml_zen_expand: Ymacs_Interactive(function() {
+ this.cmd("xml_zen_stop");
+ var html = String.buffer(),
+ start = this.cmd("save_excursion", function() {
+ this.cmd("backward_whitespace");
+ while (!this.cmd("looking_back", /[\x20\xa0\s\t\n;&]/))
+ if (!this.cmd("backward_char"))
+ break;
+ return this.point();
+ }),
+ point = this.point();
+
+ try {
+ zen_render(
+ zen_parse(
+ this.cmd("buffer_substring", start, point).trim(), 0
+ ),
+ html
+ );
+ } catch(ex) {
+ throw new Ymacs_Exception("The Zen is not strong today :-/");
+ }
+
+ html = html.get();
+ this.cmd("delete_region", start, point);
+ this.cmd("insert", html);
+ start = this.createMarker(start, false, "xml_zen");
+
+ // locate points of interest
+ var end = this.createMarker(this.point(), true, "xml_zen"), markers = [];
+ this.cmd("goto_char", start.getPosition());
+ while (this.cmd("search_forward", "|", end.getPosition())) {
+ this.cmd("backward_delete_char");
+ markers.push(this.createMarker(this.point(), true, "xml_zen_start"));
+ markers.push(this.createMarker(this.point(), false, "xml_zen_end"));
+ }
+
+ this.cmd("indent_region", start.getPosition(), end.getPosition());
+
+ var count = markers.length;
+ if (count > 0) {
+ // move to first POI
+ this.cmd("goto_char", markers[0]);
+ markers.unshift(start);
+ markers.push(end);
+ this.setq("xml_zen_markers", markers);
+ this.pushKeymap(Ymacs_Keymap_XML_Zen());
+ this.addEventListener("afterInteractiveCommand", maybe_stop_zen);
+ } else {
+ start.destroy();
+ end.destroy();
+ }
+ }),
+
+ xml_zen_stop: Ymacs_Interactive(function(){
+ var tmp = this.getq("xml_zen_markers");
+ if (tmp) {
+ tmp.map("destroy");
+ this.setq("xml_zen_markers", null);
+ }
+ this.popKeymap(Ymacs_Keymap_XML_Zen());
+ this.removeEventListener("afterInteractiveCommand", maybe_stop_zen);
+ }),
+
+ xml_zen_next_poi: Ymacs_Interactive(function(){
+ var markers = this.getq("xml_zen_markers"), pos = this.point();
+ markers.foreach(function(m){
+ if (m.getPosition() > pos) {
+ this.cmd("goto_char", m.getPosition());
+ $BREAK();
+ }
+ }, this);
+ }),
+
+ xml_zen_prev_poi: Ymacs_Interactive(function(){
+ var markers = this.getq("xml_zen_markers"), pos = this.point();
+ markers.r_foreach(function(m){
+ if (m.getPosition() < pos) {
+ this.cmd("goto_char", m.getPosition());
+ $BREAK();
+ }
+ }, this);
+ })
+
+ });
+
+})();
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-regexp.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-regexp.js
new file mode 100644
index 0000000..cf793af
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-regexp.js
@@ -0,0 +1,96 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs.js
+
+window.Ymacs_Regexp = (function(){
+
+ var SEARCH_BACKWARD = {};
+
+ // var LOOKING_BACK = {};
+
+ function getPatternAndFlags(rx) {
+ if (rx instanceof RegExp)
+ rx = rx.toString();
+ var pos = rx.lastIndexOf("/"), flags = "";
+ flags = rx.substr(pos + 1);
+ rx = rx.substring(1, pos);
+ return { pattern: rx, flags: flags };
+ };
+
+ return {
+
+ // Prepends to the regexp a token that will greedily eat any characters in
+ // front of the pattern. This is useful to get the last occurrence of the
+ // pattern in a string. The returned regexp is cached, so it's not
+ // reconstructed a second time.
+ //
+ // A function using such regexp must be aware that m.index will always be zero,
+ // because it matches from the beginning of the string. To find the index of
+ // the real match, it should use m[0].length (where m is an array returned by
+ // rx.exec()).
+ search_backward: function(rx) {
+ var key = rx.toString();
+ var cached = SEARCH_BACKWARD[key];
+ if (!cached) {
+ rx = getPatternAndFlags(key);
+ rx.flags = rx.flags.replace(/g/g, "") + "g"; // make sure it's global
+ cached = new RegExp("([^]*)(" + rx.pattern + ")", rx.flags);
+ SEARCH_BACKWARD[key] = cached;
+ }
+ cached.lastIndex = 0;
+ return cached;
+ }
+
+ // Returns a regexp that has the "$" appended, so that it would match only at
+ // the end of the string. This should be faster than using search_backward and
+ // checking the lastIndex, since the JS regexp engine can optimize it, knowing
+ // that it should match only at the end of the string. Well, I hope.
+ //
+ // Update: it's not faster, and it's buggy. Don't use this.
+ //
+ // looking_back: function(rx) {
+ // var key = rx.toString();
+ // var cached = LOOKING_BACK[key];
+ // if (!cached) {
+ // rx = getPatternAndFlags(key);
+ // rx.pattern = rx.pattern.replace(/\$*$/, "$");
+ // cached = new RegExp(rx.pattern, rx.flags);
+ // LOOKING_BACK[key] = cached;
+ // }
+ // return cached;
+ // }
+
+ };
+
+})();
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-textprop.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-textprop.js
new file mode 100644
index 0000000..0290838
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-textprop.js
@@ -0,0 +1,168 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+DEFINE_CLASS("Ymacs_Text_Properties", DlEventProxy, function(D, P){
+
+ D.DEFAULT_EVENTS = [ "onChange" ];
+
+ D.DEFAULT_ARGS = {
+ buffer: [ "buffer", null ]
+ };
+
+ D.CONSTRUCT = P.reset = function() {
+ this.props = [];
+ };
+
+ P.insertLine = function(row) {
+ if (this.props.length < row)
+ this.props[row] = null;
+ else {
+ this.props.splice(row, 0, null);
+ }
+ };
+
+ P.deleteLine = function(row) {
+ this.props.splice(row, 1);
+ };
+
+ P.replaceLine = function(row, text) {
+ var p = this.props[row];
+ if (p && p.length > text.length) {
+ // remove extra-properties
+ p.splice(text.length, p.length);
+ }
+ };
+
+ P.addLineProps = function(row, i, j, prop, val) {
+ var p = this.props, o, changed = false;
+ if (i < j) {
+ p = p[row] || (p[row] = []);
+ while (i < j) {
+ o = p[i] || (p[i] = {});
+ if (o[prop] != val)
+ changed = true;
+ o[prop] = val;
+ ++i;
+ }
+ if (changed)
+ this.callHooks("onChange", row);
+ }
+ return changed;
+ };
+
+ P.removeLineProps = function(row, i, j, prop) {
+ var p = this.props[row], o, changed = false;
+ if (p && i < j) {
+ while (i < j) {
+ o = p[i];
+ if (o && prop in o) {
+ changed = true;
+ delete o[prop];
+ }
+ ++i;
+ }
+ if (changed)
+ this.callHooks("onChange", row);
+ }
+ return changed;
+ };
+
+ // this uses the "css" text property to intercalate <span class="$css"> ... </span> tags in the given text.
+ // "css" properties are added as the tokenizer parses the code and sends onFoundToken events.
+ //
+ // XXX: this function will be called a lot of times; seems complicated for what it does. Figure out if it can be
+ // optimized.
+ //
+ // Update: the mess got bigger once I decided to embed the caret in the text, rather than have it absolutely
+ // positioned (which seems to be the only practical way to position the cursor at the correct location). It is
+ // ESSENTIAL that the start tag of the element that defines the caret ends with "Ymacs-caret'>", so that the
+ // frame widget can find it.
+ P.getLineHTML = function(row, text, caret) {
+ var p = this.props[row];
+ if (caret === null) {
+ if (text == "")
+ return "<br/>";
+ if (!p || p.length == 0) {
+ return text.htmlEscape();
+ }
+ } else {
+ if (text == "")
+ return "<span class='Ymacs-caret'>&nbsp;</span>";
+ if (!p || p.length == 0) {
+ if (caret === text.length)
+ return text.htmlEscape() + "<span class='Ymacs-caret'>&nbsp;</span>";
+ return text.substr(0, caret).htmlEscape() +
+ "<span class='Ymacs-caret'>" +
+ text.charAt(caret).htmlEscape() +
+ "</span>" +
+ text.substr(caret + 1).htmlEscape();
+ }
+ }
+ var i = 0, n = text.length, last = null, o, ret = "", ch;
+ while (i < n) {
+ o = p[i];
+ o = o && o.css;
+ if (i === caret) {
+ o = o ? o + " Ymacs-caret" : "Ymacs-caret";
+ }
+ if (o && o != last) {
+ if (last)
+ ret += "</span>";
+ ret += "<span class='" + o + "'>";
+ }
+ else if (!o && last) {
+ ret += "</span>";
+ }
+ last = o;
+ // XXX: Should have used a hash rather than a
+ // switch statement? I'm not sure but I have
+ // a feeling that switch is faster.
+ ch = text.charAt(i);
+ switch (ch) {
+ case "<" : ret += "&lt;"; break;
+ case ">" : ret += "&gt;"; break;
+ case "&" : ret += "&amp;"; break;
+ default : ret += ch; break;
+ }
+ ++i;
+ }
+ if (last)
+ ret += "</span>";
+ if (i === caret) {
+ // caret is at EOL
+ ret += "<span class='Ymacs-caret'>&nbsp;</span>";
+ }
+ return ret;
+ };
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-tokenizer.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-tokenizer.js
new file mode 100644
index 0000000..986f6bc
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs-tokenizer.js
@@ -0,0 +1,335 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+// @require ymacs-buffer.js
+
+DEFINE_CLASS("Ymacs_Stream", null, function(D, P){
+
+ D.DEFAULT_ARGS = {
+ buffer : [ "buffer" , null ],
+ line : [ "line" , 0 ],
+ col : [ "col" , 0]
+ };
+
+ P.nextCol = function() {
+ ++this.col;
+ };
+
+ P.prevCol = function() {
+ --this.col;
+ };
+
+ P.nextLine = function() {
+ ++this.line;
+ this.col = 0;
+ };
+
+ P.prevLine = function() {
+ --this.line;
+ this.col = 0;
+ };
+
+ P.peek = function(n) {
+ if (n == null) n = 0;
+ return this.buffer.code[this.line].charAt(this.col + n);
+ };
+
+ P.get = function() {
+ var ch = this.peek();
+ this.nextCol();
+ return ch;
+ };
+
+ P.lineText = function(row) {
+ if (row == null)
+ row = this.line;
+ return this.buffer.code[row];
+ };
+
+ P.lineIndentation = function(row) {
+ return /^\s*/.exec(this.lineText(row))[0].length;
+ };
+ P.lookingAt = function(what) {
+ var line = this.buffer.code[this.line];
+ if (what instanceof RegExp) {
+ return what.exec(line.substr(this.col));
+ } else {
+ return line.substr(this.col, what.length) == what;
+ }
+ };
+
+
+ P.textBefore = function(pos) {
+ if (pos == null)
+ pos = this.buffer._rowColToPosition(this.line, this.col);
+ return this.buffer.getCode().substr(0, pos);
+ };
+
+ P.textAfter = function(pos) {
+ if (pos == null)
+ pos = this.buffer._rowColToPosition(this.line, this.col);
+ return this.buffer.getCode().substr(pos);
+ };
+
+ P.substring = function(start, end) {
+ return this.buffer.getCode().substring(start, end);
+ };
+
+ P.substr = function(start, end) {
+ return this.buffer.getCode().substr(start, end);
+ };
+
+ P.eol = function() {
+ return this.col == this.buffer.code[this.line].length;
+ };
+
+ P.eof = function() {
+ var n = this.buffer.code.length, l = this.line;
+ return l >= n || l == n - 1 && this.eol();
+ };
+
+ P.length = function() {
+ return this.buffer.code.length;
+ };
+
+ P.lineLength = function(line) {
+ if (line == null)
+ line = this.line;
+ return this.buffer.code[line].length;
+ };
+
+ P.save = function() {
+ return { buffer: this.buffer, line: this.line, col: this.col };
+ };
+
+ P.restore = function(state) {
+ this.buffer = state.buffer;
+ this.line = state.line;
+ this.col = state.col;
+ };
+
+ P.checkStop = function() {
+ if (this.eof()) throw this.EOF;
+ if (this.eol()) throw this.EOL;
+ };
+
+ P.EOL = new (function(){});
+
+ P.EOF = new (function(){});
+
+});
+
+DEFINE_CLASS("Ymacs_Tokenizer", DlEventProxy, function(D, P){
+
+ var LANGUAGES = {};
+
+ D.define = function(name, func) {
+ LANGUAGES[name.toLowerCase()] = func;
+ };
+
+ D.DEFAULT_EVENTS = [ "onFoundToken" ];
+
+ D.DEFAULT_ARGS = {
+ buffer : [ "buffer", null ],
+ type : [ "type", null ]
+ };
+
+ D.FIXARGS = function(args) {
+ if (typeof args.type == "string")
+ args.type = LANGUAGES[args.type.toLowerCase()];
+ };
+
+ D.CONSTRUCT = function() {
+ var smallest = null;
+ var timer = null;
+ this.quickUpdate = function(offset) {
+ var row = this.buffer._positionToRowCol(offset).row;
+ this.parsers.splice(row - 1, this.parsers.length + 1);
+
+ if (smallest != null) {
+ smallest = Math.min(row, smallest);
+ } else {
+ smallest = row;
+ }
+ clearTimeout(timer);
+ timer = function(){
+ this._do_quickUpdate(smallest);
+ smallest = null;
+ }.delayed(1, this);
+ };
+ this._stopQuickUpdate = function() {
+ clearTimeout(timer);
+ clearTimeout(this.timerUpdate);
+ };
+ this.reset();
+ };
+
+ P.reset = function() {
+ this.stream = new Ymacs_Stream({ buffer: this.buffer });
+ this.theParser = this.type(this.stream, this);
+ this.parsers = [];
+ this.parsers[-1] = this.theParser.copy();
+ this.timerUpdate = null;
+ this.quickUpdate(0);
+ };
+
+ P.getLanguage = function(name) {
+ return LANGUAGES[name](this.stream, this);
+ };
+
+ P.showProgress = function(p) {
+ if (p != null) {
+ p = Math.round(p / this.stream.length() * 100) + "%";
+ }
+ this.buffer.updateProgress("Syntax highlighting", p);
+ };
+
+ P._do_quickUpdate = function(row) {
+ this._stopQuickUpdate();
+ var s = this.stream, p, a = this.parsers, n;
+ s.line = row - 1;
+ while (!(p = a[s.line]))
+ s.prevLine();
+ s.nextLine();
+ p = p();
+ var iteration = 0;
+ var first = true;
+ var doit = function() {
+ this.buffer.preventUpdates();
+ n = first ? 3 : 20;
+ if (++iteration > 10)
+ this.showProgress(this.stream.line);
+ while (true) {
+ try {
+ while (true) p.next();
+ }
+ catch(ex) {
+ if (ex === s.EOL) {
+ a[s.line] = p.copy();
+ s.nextLine();
+ if (--n == 0) {
+ this.buffer.resumeUpdates();
+ this.timerUpdate = setTimeout(doit, first ? 500 : 50);
+ first = false;
+ return;
+ }
+ }
+ else if (ex === s.EOF) {
+ a[s.line] = p.copy();
+ this.buffer.resumeUpdates();
+ if (p.on_EOF)
+ p.on_EOF();
+ break;
+ }
+ else throw ex;
+ }
+ }
+ this.showProgress();
+ }.$(this);
+ doit();
+ };
+
+ P.quickInsertLine = function(row) {
+ this.parsers.splice(row, this.parsers.length + 1);
+ };
+
+ P.quickDeleteLine = function(row) {
+ this.parsers.splice(row, this.parsers.length + 1);
+ };
+
+ P.onToken = function(line, c1, c2, type) {
+ this.callHooks("onFoundToken", line, c1, c2, type);
+ };
+
+ P.getParserForLine = function(row) {
+ this._stopQuickUpdate();
+ var s = this.stream, p, a = this.parsers, n;
+ var currentLine = s.line;
+ s.line = row - 1;
+ while (!(p = a[s.line]))
+ s.prevLine();
+ s.nextLine();
+ p = p();
+ try {
+ this.buffer.preventUpdates();
+ while (true) {
+ if (s.line == row) {
+ return p;
+ }
+ try {
+ while (true) p.next();
+ } catch(ex) {
+ if (ex === s.EOL) {
+ a[s.line] = p.copy();
+ s.nextLine();
+ }
+ else if (ex === s.EOF) {
+ break;
+ }
+ else {
+ throw ex;
+ }
+ }
+ }
+ } finally {
+ this.buffer.resumeUpdates();
+ // if (currentLine < s.length()) {
+ // // resume lazy tokenizer if it was interrupted
+ // this.timerUpdate = this._do_quickUpdate.delayed(50, this, Math.min(row, currentLine));
+ // }
+ if (s.line < s.length())
+ this.timerUpdate = this._do_quickUpdate.delayed(50, this, s.line);
+ }
+ };
+
+ P.reparseAll = function() {
+ this.parsers.splice(0, this.parsers.length);
+ return this.finishParsing();
+ };
+
+ P.finishParsing = function() {
+ this.getParserForLine(this.stream.length());
+ return this.getLastParser();
+ };
+
+ P.getLastParser = function() {
+ return this.parsers.peek();
+ };
+
+ P.getIndentation = function(row, buffer) {
+ var p = this.getParserForLine(row);
+ if (p && p.indentation instanceof Function)
+ return p.indentation(buffer);
+ };
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs.js b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs.js
new file mode 100644
index 0000000..cf58706
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/src/js/ymacs.js
@@ -0,0 +1,559 @@
+//> This file is part of Ymacs, an Emacs-like editor for the Web
+//> http://www.ymacs.org/
+//>
+//> Copyright (c) 2009-2010, Mihai Bazon, Dynarch.com. All rights reserved.
+//>
+//> Redistribution and use in source and binary forms, with or without
+//> modification, are permitted provided that the following conditions are
+//> met:
+//>
+//> * Redistributions of source code must retain the above copyright
+//> notice, this list of conditions and the following disclaimer.
+//>
+//> * Redistributions in binary form must reproduce the above copyright
+//> notice, this list of conditions and the following disclaimer in
+//> the documentation and/or other materials provided with the
+//> distribution.
+//>
+//> * Neither the name of Dynarch.com nor the names of its contributors
+//> may be used to endorse or promote products derived from this
+//> software without specific prior written permission.
+//>
+//> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
+//> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+//> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+//> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
+//> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+//> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+//> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+//> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+//> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+//> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+//> THE POSSIBILITY OF SUCH DAMAGE.
+
+DEFINE_CLASS("Ymacs", DlLayout, function(D, P, DOM){
+
+ D.DEFAULT_EVENTS = [
+ "onBufferSwitch",
+ "onCreateBuffer",
+ "onDeleteBuffer"
+ ];
+
+ D.DEFAULT_ARGS = {
+ buffers : [ "buffers" , null ],
+ frames : [ "frames" , null ],
+
+ // default options
+ cf_lineNumbers: [ "lineNumbers", false ],
+
+ // override in DlWidget
+ _focusable : [ "focusable" , true ]
+ };
+
+ D.FIXARGS = function(args) {
+ if (!args.buffers)
+ args.buffers = [];
+ if (!args.frames)
+ args.frames = [];
+ };
+
+ D.CONSTRUCT = function() {
+ this.buffers.foreach(function(b){
+ b.ymacs = this;
+ }, this);
+
+ /* -----[ variables ]----- */
+ this.killRing = [];
+ this.killMasterOfRings = [];
+ this.progress = {};
+
+ /* -----[ minibuffer ]----- */
+ this.minibuffer = this.createBuffer({ hidden: true, isMinibuffer: true });
+ this.minibuffer.cmd("minibuffer_mode");
+ this.minibuffer_frame = this.createFrame({
+ isMinibuffer : true,
+ buffer : this.minibuffer,
+ hidden : true,
+ highlightCurrentLine : false,
+ className : "Ymacs_Minibuffer"
+ });
+
+ /* -----[ main content ]----- */
+ if (this.buffers.length == 0)
+ this.createBuffer();
+
+ var frame = this.createFrame({ buffer: this.buffers[0] });
+
+ this.packWidget(this.minibuffer_frame, { pos: "bottom" });
+ this.packWidget(frame, { pos: "top", fill: "*" });
+
+ // this.__activeFrameEvents = {
+ // // onPointChange: this._on_activeFramePointChange.$(this)
+ // };
+
+ this.setActiveFrame(frame);
+ frame._redrawCaret();
+ };
+
+ P.pushToKillRing = function(text, prepend) {
+ prepend ? this.killRing.unshift(text)
+ : this.killRing.push(text);
+ };
+
+ P.killRingToMaster = function() {
+ if (this.killRing.length && (this.killMasterOfRings.length == 0 ||
+ this.killMasterOfRings.peek().join("") != this.killRing.join("")))
+ this.killMasterOfRings.push(this.killRing);
+ this.killRing = [];
+ };
+
+ P.killRingText = function() {
+ return this.killRing.join("");
+ };
+
+ P.rotateKillRing = function(push) {
+ if (push) {
+ this.killMasterOfRings.push(this.killRing);
+ this.killRing = this.killMasterOfRings.shift();
+ } else {
+ this.killMasterOfRings.unshift(this.killRing);
+ this.killRing = this.killMasterOfRings.pop();
+ }
+ };
+
+ P.getBuffer = function(buf) {
+ if (!(buf instanceof Ymacs_Buffer)) {
+ buf = this.buffers.grep_first(function(b){
+ return b.name == buf;
+ });
+ }
+ return buf;
+ };
+
+ P.killBuffer = function(buf) {
+ buf = this.getBuffer(buf);
+ this.callHooks("onDeleteBuffer", buf);
+ if (this.buffers.length > 1) {
+ if (this.getActiveBuffer() === buf)
+ this.switchToNextBuffer();
+ } else {
+ // make a brand new buffer
+ this.switchToBuffer(this.createBuffer());
+ }
+ this.buffers.remove(buf);
+ buf.destroy();
+ };
+
+ P.renameBuffer = function(buf, name) {
+ buf = this.getBuffer(buf);
+ buf.name = name;
+ buf.callHooks("onProgressChange");
+ };
+
+ P._do_switchToBuffer = function(buf) {
+ this.getActiveFrame().setBuffer(buf);
+ this.callHooks("onBufferSwitch", buf);
+ };
+
+ P.switchToBuffer = function(maybeName) {
+ var buf = this.getBuffer(maybeName), a = this.buffers;
+ if (!buf) {
+ // create new buffer
+ buf = this.createBuffer({ name: maybeName });
+ }
+ a.remove(buf);
+ a.unshift(buf);
+ this._do_switchToBuffer(buf);
+ return buf;
+ };
+
+ P.switchToNextBuffer = function(n) {
+ var a = this.buffers;
+ if (a.length > 1) {
+ var buf = a.shift();
+ a.push(buf);
+ this._do_switchToBuffer(a[0]);
+ }
+ };
+
+ P.switchToPreviousBuffer = function(n) {
+ var a = this.buffers;
+ if (a.length > 1) {
+ var buf = a.pop();
+ a.unshift(buf);
+ this._do_switchToBuffer(buf);
+ }
+ };
+
+ P.getNextBuffer = function(buf, n) {
+ if (n == null) n = 1;
+ var a = this.buffers;
+ return a[a.rotateIndex(a.find(buf) + n)];
+ };
+
+ P.getPrevBuffer = function(buf, n) {
+ if (n == null) n = 1;
+ var a = this.buffers;
+ return a[a.rotateIndex(a.find(buf) - n)];
+ };
+
+ P.getBufferFrames = function(buf) {
+ buf = this.getBuffer(buf);
+ return this.frames.grep(function(f){
+ return f.buffer === buf;
+ });
+ };
+
+ P.createBuffer = function(args) {
+ if (!args) args = {};
+ Object.merge(args, { ymacs: this });
+ var buf = new Ymacs_Buffer(args);
+ if (!args.hidden)
+ this.buffers.push(buf);
+ //
+ // XXX: although this seems the right way to do it,
+ // instead of doing it in killBuffer, for some
+ // reason we never get this event. Should
+ // investigate.
+ //
+ // buf.addEventListener("onDestroy", function(buf){
+ // console.log("got here, %s, %s", this.getActiveBuffer().name, buf.name);
+ // if (this.getActiveBuffer() === buf)
+ // this.switchToPreviousBuffer();
+ // this.buffers.remove(buf);
+ // }.$(this, buf));
+ //
+
+ this.callHooks("onCreateBuffer", buf);
+
+ return buf;
+ };
+
+ P.createFrame = function(args) {
+ if (!args) args = {};
+ Object.merge(args, { ymacs: this });
+ var frame = new Ymacs_Frame(args);
+ if (!args.hidden)
+ this.frames.unshift(frame);
+ frame.addEventListener("onDestroy", function(frame) {
+ this.frames.remove(frame);
+ }.$(this, frame));
+ return frame;
+ };
+
+ P.keepOnlyFrame = function(frame) {
+ if (this.frames.length > 1) {
+ var p = frame.parent;
+ while (p.parent != this)
+ p = p.parent;
+ this.replaceWidget(p, frame);
+ p.destroy();
+ this.setActiveFrame(frame);
+ this.doLayout();
+ }
+ };
+
+ P.deleteFrame = function(frame) {
+ if (this.frames.length > 1) {
+ var p = frame.parent, other = p.children().grep_first(function(f){
+ return f instanceof DlLayout || f instanceof Ymacs_Frame && f !== frame;
+ });
+ p.parent.replaceWidget(p, other);
+ p.destroy();
+ try {
+ DOM.walk(other.getElement(), function(el){
+ el = DlWidget.getFromElement(el);
+ if (el && el instanceof Ymacs_Frame)
+ throw el;
+ });
+ } catch(ex) {
+ if (!(ex instanceof Ymacs_Frame))
+ throw ex;
+ other = ex;
+ }
+ this.setActiveFrame(other);
+ this.doLayout();
+ }
+ };
+
+ P.focusOtherFrame = function() {
+ this.setActiveFrame(this.frames[0]);
+ };
+
+ P.focus = function() {
+ D.BASE.focus.apply(this, arguments);
+ this.frames.peek().focus();
+ };
+
+ P.setActiveFrame = function(frame, nofocus) {
+ if (!frame.isMinibuffer) {
+ var old = this.getActiveFrame();
+ if (old) {
+ old.delClass("Ymacs_Frame-active");
+ }
+ this.frames.remove(frame);
+ this.frames.push(frame);
+ }
+ if (!nofocus)
+ frame.focus();
+ };
+
+ P.getActiveFrame = function() {
+ return this.frames.peek();
+ };
+
+ P.getActiveBuffer = function() {
+ var frame = this.getActiveFrame();
+ return frame ? frame.buffer : this.buffers.peek();
+ };
+
+ P.setColorTheme = function(themeId) {
+ this.delClass(/Ymacs-Theme-[^\s]*/g);
+ if (!(themeId instanceof Array))
+ themeId = [ themeId ];
+ themeId.foreach(function(themeId){
+ this.addClass("Ymacs-Theme-" + themeId);
+ }, this);
+ };
+
+ P.getFrameInDirection = function(dir, pos, frame) {
+ if (!frame)
+ frame = this.getActiveFrame();
+ var caret = frame.getCaretElement();
+ if (!pos)
+ pos = DOM.getPos(caret);
+ if (!pos.sz)
+ pos.sz = DOM.getOuterSize(caret);
+ var byx = this.frames.mergeSort(function(a, b){ return a.getPos().x - b.getPos().x });
+ var byy = this.frames.mergeSort(function(a, b){ return a.getPos().y - b.getPos().y });
+ return this["_get_frameInDir_" + dir](byx, byy, pos, frame);
+
+ };
+
+ function selectClosestFrameX(byx, pos) {
+
+ if (byx.length > 0) {
+ var x = byx.peek().getPos().x, a = [ byx.pop() ];
+ while (byx.length > 0 && byx.peek().getPos().x == x)
+ a.push(byx.pop());
+ return a.minElement(function(f){
+ return Math.abs(pos.y - f.getPos().y - f.getSize().y/2);
+
+ });
+ }
+ };
+
+ function selectClosestFrameY(byy, pos) {
+ if (byy.length > 0) {
+ var y = byy.peek().getPos().y, a = [ byy.pop() ];
+ while (byy.length > 0 && byy.peek().getPos().y == y)
+ a.push(byy.pop());
+ return a.minElement(function(f){
+ return Math.abs(pos.x - f.getPos().x - f.getSize().x/2);
+
+ });
+
+}
+ };
+
+ P._get_frameInDir_left = function(byx, byy, pos, frame) {
+ byx = byx.grep(function(f){
+ var p = f.getPos(), s = f.getSize();
+ ymacs.getActiveBuffer().cmd("backward_delete_char");
+ return (f !== frame) && (p.x < pos.x) && (p.y - pos.sz.y <= pos.y) && (p.y + s.y > pos.y);
+ });
+ return selectClosestFrameX(byx, pos);
+ };
+
+ P._get_frameInDir_right = function(byx, byy, pos, frame) {
+ byx.reverse();
+ byx = byx.grep(function(f){
+ var p = f.getPos(), s = f.getSize();
+ var temp = "*";
+ ymacs.getActiveBuffer().cmd("insert",temp);
+ return (f !== frame) && (p.x > pos.x) && (p.y - pos.sz.y <= pos.y) && (p.y + s.y > pos.y);
+ });
+ return selectClosestFrameX(byx, pos);
+ };
+
+ P._get_frameInDir_up = function(byx, byy, pos, frame) {
+ byy = byy.grep(function(f){
+ var p = f.getPos(), s = f.getSize();
+ var prefix1,prefix2,pretemp1,pretemp2;
+ var temp1; var p1;
+ var temp2;
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ if (ymacs.getActiveBuffer().cmd("looking_at", /[*]+/g))
+ {
+ temp1 = ymacs.getActiveBuffer().matchData[0];
+ // ymacs.getActiveBuffer().cmd("backward_paragraph");
+ ymacs.getActiveBuffer().cmd("backward_paragraph");
+ ymacs.getActiveBuffer().cmd("forward_char"); p1= ymacs.getActiveBuffer().point();
+ if (ymacs.getActiveBuffer().cmd("looking_at", /[*]+/g))
+ {
+ temp2 = ymacs.getActiveBuffer().matchData[0];
+ if (temp1.length > temp2.length)
+ {
+ alert("Cannot move past superior level or buffer limit");
+ }
+ else {
+ ymacs.getActiveBuffer().cmd("forward_paragraph");
+ ymacs.getActiveBuffer().cmd("forward_char");
+ ymacs.getActiveBuffer().cmd("forward_line");
+ if (ymacs.getActiveBuffer().cmd("looking_at", /[^*]+/g))
+ {
+ ymacs.getActiveBuffer().cmd("backward_line");
+ ymacs.getActiveBuffer().cmd("transpose_para");
+ ymacs.getActiveBuffer()._repositionCaret(p1);
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ }
+ else
+ {
+ ymacs.getActiveBuffer().cmd("backward_line");
+ ymacs.getActiveBuffer().cmd("transpose_para");
+ ymacs.getActiveBuffer()._repositionCaret(p1);
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ }
+
+ }
+ }
+ }
+ else if (ymacs.getActiveBuffer().cmd("looking_at", /([0-9]+)(\.\s+)([a-z]+)+/g))
+ {
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ ymacs.getActiveBuffer().cmd("transpose_text");
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ ymacs.getActiveBuffer().cmd("backward_paragraph");
+ ymacs.getActiveBuffer().cmd("forward_line");
+ }
+
+
+ else
+ {
+ ymacs.getActiveBuffer().cmd("transpose_lines");
+ ymacs.getActiveBuffer().cmd("backward_line");
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ }
+
+ return (f !== frame) && (p.y < pos.y) && (p.x - pos.sz.x <= pos.x) && (p.x + s.x > pos.x);
+ });
+ return selectClosestFrameY(byy, pos);
+ };
+
+ P._get_frameInDir_down = function(byx, byy, pos, frame) {
+ byy.reverse();
+ byy = byy.grep(function(f){
+ var p = f.getPos(), s = f.getSize();
+
+ var p2;
+ var temp1;
+ var temp2;
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ if (ymacs.getActiveBuffer().cmd("looking_at", /[*]+/g))
+ {
+ temp1 = ymacs.getActiveBuffer().matchData[0];
+ // ymacs.getActiveBuffer().cmd("backward_paragraph");
+ ymacs.getActiveBuffer().cmd("forward_paragraph");
+ ymacs.getActiveBuffer().cmd("forward_char");
+ p2= ymacs.getActiveBuffer().point();
+ if (ymacs.getActiveBuffer().cmd("looking_at", /[*]+/g))
+ {
+ temp2 = ymacs.getActiveBuffer().matchData[0];
+ if (temp1.length > temp2.length)
+ {
+ alert("Cannot move past superior level or buffer limit");
+ }
+ else {
+ /* ymacs.getActiveBuffer().cmd("backward_paragraph");
+ ymacs.getActiveBuffer().cmd("forward_char"); */
+ ymacs.getActiveBuffer().cmd("forward_line");
+ if (ymacs.getActiveBuffer().cmd("looking_at", /[^*]+/g))
+ { ymacs.getActiveBuffer().cmd("backward_line");
+ ymacs.getActiveBuffer().cmd("transpose_para");
+ ymacs.getActiveBuffer()._repositionCaret(p2);
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ }
+ else
+ { ymacs.getActiveBuffer().cmd("backward_line");
+ ymacs.getActiveBuffer().cmd("transpose_para");
+ ymacs.getActiveBuffer()._repositionCaret(p2);
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ }
+
+} }}
+ else if (ymacs.getActiveBuffer().cmd("looking_at", /([0-9]+)(\.\s+)([a-z]+)+/g))
+ {
+
+ ymacs.getActiveBuffer().cmd("forward_paragraph");
+ ymacs.getActiveBuffer().cmd("forward_line");
+ // ymacs.getActiveBuffer().cmd("beginning_of_line");
+ ymacs.getActiveBuffer().cmd("transpose_text");
+
+ }
+
+
+ else
+ {
+ ymacs.getActiveBuffer().cmd("forward_line");
+ ymacs.getActiveBuffer().cmd("transpose_lines");
+ ymacs.getActiveBuffer().cmd("beginning_of_line");
+ }
+
+ return (f !== frame) && (p.y > pos.y) && (p.x - pos.sz.x <= pos.x) && (p.x + s.x > pos.x);
+ });
+ return selectClosestFrameY(byy, pos);
+ };
+
+ /* -----[ local storage ]----- */
+
+ function ensureLocalStorage() {
+ if (!(window.localStorage && window.localStorage.getItem))
+ throw new Ymacs_Exception("Local storage facility not available in this browser");
+ };
+
+ P.ls_get = function() {
+ ensureLocalStorage();
+ return DlJSON.decode(localStorage.getItem(".ymacs") || "{}", true);
+ };
+
+ P.ls_set = function(src) {
+ ensureLocalStorage();
+ localStorage.setItem(".ymacs", DlJSON.encode(src));
+ };
+
+ P.ls_getFileContents = function(name, nothrow) {
+ var info = this.ls_getFileDirectory(name), other = info.other, code;
+ if (other.length == 1) {
+ code = info.dir[other[0]];
+ }
+ if (code == null && !nothrow) {
+ throw new Ymacs_Exception("File not found");
+ }
+ return code;
+ };
+
+ P.ls_getFileDirectory = function(name, create) {
+ var store, dir = store = this.ls_get();
+ name = name.replace(/^[~\x2f]+/, "").split(/\x2f+/);
+ var path = [], other = [];
+ while (name.length > 0) {
+ var part = name.shift();
+ if (dir.hasOwnProperty(part) && (typeof dir[part] != "string")) {
+ dir = dir[part];
+ path.push(part);
+ }
+ else {
+ other.push(part);
+ }
+ };
+ if (create) {
+ var n = create == "file" ? 1 : 0;
+ while (other.length > n) {
+ dir = dir[other.shift()] = {};
+ }
+ this.ls_set(store);
+ }
+ return { store: store, dir: dir, path: path, other: other };
+ };
+
+});
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/.svn/all-wcprops
new file mode 100644
index 0000000..55e80d0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/.svn/all-wcprops
@@ -0,0 +1,35 @@
+K 25
+svn:wc:ra_dav:version-url
+V 35
+/svn/labcode/!svn/ver/51/Ymacs/test
+END
+gnowmacs.html
+K 25
+svn:wc:ra_dav:version-url
+V 48
+/svn/labcode/!svn/ver/2/Ymacs/test/gnowmacs.html
+END
+gnow-test.js
+K 25
+svn:wc:ra_dav:version-url
+V 48
+/svn/labcode/!svn/ver/51/Ymacs/test/gnow-test.js
+END
+test.css
+K 25
+svn:wc:ra_dav:version-url
+V 43
+/svn/labcode/!svn/ver/2/Ymacs/test/test.css
+END
+index.html
+K 25
+svn:wc:ra_dav:version-url
+V 45
+/svn/labcode/!svn/ver/2/Ymacs/test/index.html
+END
+test.js
+K 25
+svn:wc:ra_dav:version-url
+V 42
+/svn/labcode/!svn/ver/2/Ymacs/test/test.js
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/.svn/entries
new file mode 100644
index 0000000..f4005ee
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/.svn/entries
@@ -0,0 +1,201 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-06-29T11:25:20.046232Z
+51
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+dl
+dir
+
+gnowmacs.html
+file
+
+
+
+
+2012-01-23T13:07:10.345353Z
+cc12f7fa63515fa9123d25c28fa0bbc3
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+2901
+
+gnow-test.js
+file
+
+
+
+
+2012-01-23T13:07:10.345353Z
+64bde57a8e8894f6a93f84cd5a6cccf0
+2011-06-29T11:25:20.046232Z
+51
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+28350
+
+test.css
+file
+
+
+
+
+2012-01-23T13:07:10.345353Z
+b8080f97a876b1e3b6e85c3eddb2b424
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+61
+
+index.html
+file
+
+
+
+
+2012-01-23T13:07:10.345353Z
+3f1498c32e4ab0649e1092cf0136fb29
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+2500
+
+test.js
+file
+
+
+
+
+2012-01-23T13:07:10.345353Z
+86621f5f9624b8dd3948588bc0f23cbf
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+14362
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/gnow-test.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/gnow-test.js.svn-base
new file mode 100644
index 0000000..244ccd9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/gnow-test.js.svn-base
@@ -0,0 +1,824 @@
+// This file is part of Gnowmacs for GNOWSYS: Gnowledge Networking
+// and Organizing System.
+
+// Gnowmacs is free software; you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation; either version 3 of
+// the License, or (at your option) any later version.
+
+// Gnowmacs is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU Affero General Public
+// License along with Gnowmacs (agpl.txt); if not, write to the
+// Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+// Boston, MA 02110-1301 USA59 Temple Place, Suite 330,
+
+// Author Divya <divyas15@gmail.com>
+
+var desktop = new DlDesktop({});
+var tableg = 0;
+var row, col;
+var str_sym;
+var options1, position, char_at_pos, index1, pt,pt1,pt2;
+var formats;
+formats = ["HTML", "PDF", "LaTeX", "DocBook", "XOXO"];
+var al;
+var str1;
+var al1,al2;
+var gImage;
+var gOptions;
+function print(obj) {
+ var a = [], i;
+ for (i in obj) {
+ var val = obj[i];
+ if (val instanceof Function)
+ val = val.toString();
+ else
+ val = DlJSON.encode(val);
+ a.push(DlJSON.encode(i) + " : " + val);
+ }
+ return a.map(function(line){
+ return line.replace(/^/mg, function(s) {
+ return " ";
+ });
+ }).join("\n");
+};
+
+var info = ( "Existing keybindings:\n\n" +
+ print(Ymacs_Keymap_Emacs().constructor.KEYS)
+ + "\n\nHave fun!\n" );
+
+
+try {
+ var org = new Ymacs_Buffer({ name: "gnowmacs.org" });
+
+ org.setCode("* Introduction \n\n\
+Tnis is a sample page created using *gnowmacs*. Gnowmacs is an extention based on ymacs.\n\n\
+* Installation\n\n\
+Copy gnowmacs.js into *ymacs/src/* directory.\n\n\
+* Features Implemented\n\n\
+** Headings \n\n\
+Initial creation of headings by M-ret not implemented, but once inserted\n\n\
+manually one can use M-ret to create same levels. \n\n\
+** Modifying case\n\n\
+Boldening, italics, underline, strike-through.\n\n\
+** Saving and Exporting\n\n\
++ Saving the buffer with an org extension.\n\n\
++ Exporting to text, html, LaTeX, PDF etc. \n\n\
+** Post bugs\n\n\
+gnowsys-bugs@gnu.org \n\n\
+ ");
+ org.cmd("org_mode");
+
+ var keys = new Ymacs_Buffer({ name: "keybindings.txt" });
+ keys.setCode(info);
+
+ var layout = new DlLayout({ parent: desktop });
+
+ var empty = new Ymacs_Buffer({ name: "empty" });
+ var ymacs = window.ymacs = new Ymacs({ buffers: [ org, keys ] });
+ ymacs.setColorTheme([ "dark", "y" ]);
+
+ try {
+ ymacs.getActiveBuffer().cmd("eval_file", ".ymacs");
+ } catch(ex) {}
+
+ var menu = new DlHMenu({});
+ menu.setStyle({ marginLeft: 0, marginRight: 0 });
+
+
+ var item = new DlMenuItem({ parent: menu, label: "Export".makeLabel() });
+
+
+ /* -------------- Org Export --------------*/
+
+ //formats = ["HTML", "PDF", "LaTeX", "DocBook", "XOXO"];
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+ formats.foreach(function(format){
+ var item = new DlMenuItem({ label: format, parent: submenu });
+ item.addEventListener("onSelect", function(){
+
+ try{
+
+ var is_Firefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
+ if (is_Firefox)
+ netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
+
+ var xhr = new XMLHttpRequest();
+ var url = "http://127.0.0.1:9292/";
+
+ xhr.open("POST", url, true);
+
+ xhr.onreadystatechange=function() {
+ if (xhr.readyState==4) {
+ alert(xhr.status);
+
+ }
+ }
+ xhr.setRequestHeader("Content-type", "text/plain");
+
+ if(format=="HTML" && gImage==1) // checking if insertImage() is called
+ {
+ //ymacs.getActiveBuffer().cmd("delete_region_or_line",str1);
+ al = "#+ATTR_HTML: align="+"\"left\""+"\n";
+ al1 = al;
+ ymacs.getActiveBuffer().cmd("insert",al1);
+ //if(al2!=null)
+ //ymacs.getActiveBuffer().cmd("delete_region_or_line",al2);
+ }
+ else if(format=="PDF" && gImage==1)
+ {
+ //ymacs.getActiveBuffer().cmd("delete_region_or_line",str1);
+ al = "#+ATTR_LaTeX:placement = {r}"+"\n";
+ al2 = al;
+ ymacs.getActiveBuffer().cmd("insert",al2);
+ //if(al1!=null)
+ //ymacs.getActiveBuffer().cmd("delete_region_or_line",al1);
+ }
+ xhr.send("gnow-select: "+format+"\n"+ymacs.getActiveBuffer().getCode());
+
+
+
+
+//alert("gnow-select: "+format+"\n"+ymacs.getActiveBuffer().getCode());
+//alert(format+"\n"+ymacs.getActiveBuffer().getCode());
+
+}
+ catch(e){
+ alert("Some Error");}
+ });
+ });
+
+
+ menu.addFiller();
+
+ var item = new DlMenuItem({ parent: menu, label: "Toggle line numbers".makeLabel() });
+ item.addEventListener("onSelect", function() {
+ ymacs.getActiveBuffer().cmd("toggle_line_numbers");
+ });
+
+ /*------[ Wrap ]--------
+ flag is a variable to store the current status of wrap.wrap itself switches On n Off depending on previous status.
+ so it is necessary to keep record of previous status*/
+
+ var item = new DlMenuItem({ parent: menu, label: "Wrap".makeLabel() });
+ var flag = "False" ;
+ item.addEventListener("onSelect", function() {
+ if(flag == "False")
+ {
+ flag = "True";
+ alert("Wrapping is ON");
+ ymacs.getActiveBuffer().cmd("wrap_text");
+ }
+ else
+ {
+ flag = "False";
+ alert("Wrapping is OFF");
+ ymacs.getActiveBuffer().cmd("wrap_text");
+ }
+
+ });
+
+
+
+ /* -----[ insert - just a try] ----- */
+
+ var item = new DlMenuItem({ parent: menu, label: "Insert".makeLabel() });
+ var item1 = new DlMenuItem({ parent: submenu, label: "TOC" });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+ var subToc = new DlVMenu({});
+ item = new DlMenuItem({ parent: submenu, label: "Default from ymacs.css" });
+ item.addEventListener("onSelect", function(){
+ ymacs.getActiveFrame().setStyle({ fontFamily: "" });
+ });
+
+ submenu.addSeparator();
+item1 = new DlMenuItem({ parent: submenu, label: "Table Of Content" });
+item1.addEventListener("onSelect", function()
+ {
+ options1 = "#+OPTIONS:" + " "+ "H:3 num:t toc:t \\n:nil @:t ::t |:t ^:t -:t f:t *:t <:t" +"\n";
+ insertOPTIONS();
+
+ });
+ var files = [
+ "Table",
+ "Insert Column",
+ "Insert Row",
+ "Insert hline",
+ "Images",
+ ]
+ item1.setMenu(subToc);
+
+
+
+
+ files.foreach(function(i){
+ item = new DlMenuItem({ parent: submenu, label: "<span style='font-size:" + i + "'>" + i + "</span>" });
+ item.addEventListener("onSelect", function(){
+
+ // alert("You selected " +i);
+
+ switch(i)
+ {
+ case "Table": insertTable();
+ break;
+ case "Insert Column": if(tableg == 1) // if insertTable() is called previously then call insertColumn()
+ { insertColumn();
+ }
+ else
+ { alert("First create a table");
+ }
+ break;
+ case "Insert Row": if(tableg == 1) // if insertTable() is called previously then call insertRow()
+ { insertRow();
+ }
+ else
+ { alert("First create a table");
+ }
+ break;
+ case "Insert hline": if(tableg == 1)// if insertTable() is called previously then call insertHline()
+ { insertHline();
+ }
+ else
+ { alert("First create a table");
+ }
+ break;
+
+ case "Images": insertImage1();
+ break;
+ default:
+ alert("code to be executed if n is different from case 1 and 2");
+ }
+ });
+ });
+
+
+ var files2 = [
+ "OPTIONS"
+
+
+ ].foreach(function(font){
+ item = new DlMenuItem({ parent: subToc, label: "<span style='font-family:" + font + "'>" + font + "</span>" });
+ var test_flag = "False" ;
+ item.addEventListener("onSelect", function(){
+
+ // var pt2 = ymacs.getActiveBuffer().cmd("point");
+ // alert(pt2);
+
+ if(test_flag == "False" && gOptions == 1)
+ {
+ test_flag = "True";
+ alert("OPTIONS is ON");
+ ymacs.getActiveBuffer().cmd("goto_char",pt1);
+ alert(pt1);
+ ymacs.getActiveBuffer().cmd("end_of_line");
+ ymacs.getActiveBuffer().cmd("insert","\n");
+ pt2 = ymacs.getActiveBuffer().cmd("point");
+ alert(pt2);
+ options1 = "#+OPTIONS:" + " "+ "H:3 num:t toc:t \\n:nil @:t ::t |:t ^:t -:t f:t *:t <:t"+"\n";
+ ymacs.getActiveBuffer().cmd("insert",options1);
+ //ymacs.getActiveBuffer().cmd("insert","\n");
+
+ }
+ else if(gOptions!=1){
+
+ alert("Insert TOC first");
+
+
+
+ }
+
+ else
+ {
+
+ // ymacs.getActiveBuffer().cmd("beginning_of_buffer");
+
+ test_flag = "False";
+ alert("OPTIONS is OFF");
+
+
+ // if(gOptions == 1)
+
+
+ ymacs.getActiveBuffer().cmd("goto_char",pt2);
+ alert(pt2);
+
+ // ymacs.getActiveBuffer().cmd("forward_line");
+
+ // var pt1 = ymacs.getActiveBuffer().cmd("point");
+ // alert("pt1",pt1);
+ // ymacs.getActiveBuffer().cmd("goto_char",pt1);
+
+ ymacs.getActiveBuffer().cmd("delete_line");
+ options1 = "#+OPTIONS:" + " "+ "H:3 num:nil toc:nil \\n:nil @:t ::t |:t ^:t -:t f:t *:t <:t" +"\n";
+ ymacs.getActiveBuffer().cmd("insert",options1);
+
+
+
+ }
+
+
+
+
+
+
+
+
+ });
+ });
+
+ function insertOPTIONS()
+ {
+ gOptions = 1;
+ var a1 = "#+AUTHOR:" + " " + "\n";
+ var t1 = "#+TITLE:" + " " + "\n";
+ var currentDate = new Date();
+ var month = currentDate.getMonth() + 1;
+ var day = currentDate.getDate();
+ var year = currentDate.getFullYear();
+ var weekday=new Array(7);
+ weekday[0]="Sunday";
+ weekday[1]="Monday";
+ weekday[2]="Tuesday";
+ weekday[3]="Wednesday";
+ weekday[4]="Thursday";
+ weekday[5]="Friday";
+ weekday[6]="Saturday";
+ var d1 = weekday[currentDate.getDay()];
+ var fullDate = "#+DATE:" + " " + year + " " + month + " " + day + " " + d1 + "\n";
+ var language1 = "#+LANGUAGE:" + " " + "en" + "\n";
+ var emailId = "#+EMAIL:" + " " + "\n";
+ var desc = "#+DESCRIPTION:" + " "+"\n";
+ var keywords ="#+KEYWORDS:" + " "+"\n";
+ var options2 = "#+OPTIONS:" + " "+ "TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc"+"\n";
+ var info = "#+INFOJS_OPT:" + " " + "view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js" + "\n";
+ var export_select_tag = "#+EXPORT_" + " SELECT_" + "TAGS:" + " " + "export " +"\n";
+ var export_exclude_tag = "#+EXPORT_" + " EXCLUDE_" + "TAGS:" + " " + "noexport" + "\n";
+ var link_up = "#+LINK_UP:" + " " + "\n";
+ var link_home = "#+LINK_HOME:" + " " + "\n";
+ ymacs.getActiveBuffer().cmd("insert",t1);
+ ymacs.getActiveBuffer().cmd("insert",a1);
+ ymacs.getActiveBuffer().cmd("insert",emailId);
+ ymacs.getActiveBuffer().cmd("insert",fullDate);
+ ymacs.getActiveBuffer().cmd("insert",keywords);
+ ymacs.getActiveBuffer().cmd("insert",language1);
+ //pt = ymacs.getActiveBuffer().cmd("point");
+ //alert(pt);
+ //ymacs.getActiveBuffer().cmd("insert",options1);
+ // ymacs.getActiveBuffer().cmd("insert","\n");
+
+ ymacs.getActiveBuffer().cmd("insert",options2);
+
+ ymacs.getActiveBuffer().cmd("insert","\n");
+ pt1 = ymacs.getActiveBuffer().cmd("point");
+ // alert(pt1);
+ ymacs.getActiveBuffer().cmd("insert",info);
+ ymacs.getActiveBuffer().cmd("insert",export_select_tag);
+ ymacs.getActiveBuffer().cmd("insert",export_exclude_tag);
+ ymacs.getActiveBuffer().cmd("insert",link_up);
+ ymacs.getActiveBuffer().cmd("insert",link_home);
+ //ymacs.getActiveBuffer().cmd("goto_char",pt);
+ }
+
+
+
+
+// This function creates a table with the user specified no. of rows & columns.
+ function insertTable()
+ {
+ row = prompt("Enter no. of rows",1);
+ col = prompt("Enter no. of cols",1);
+ tableg = 1;
+ for(k=0;k<=col;k++)
+ {
+ ymacs.getActiveBuffer().cmd("org_table_create");
+ }
+ ymacs.getActiveBuffer().cmd("insert","\n"); ymacs.getActiveBuffer().cmd("insert","|");
+ ymacs.getActiveBuffer().cmd("insert","---");
+ for(k=0;k<(col-1);k++)
+ {
+
+ ymacs.getActiveBuffer().cmd("insert","@");
+ ymacs.getActiveBuffer().cmd("insert","---");
+ }
+ ymacs.getActiveBuffer().cmd("insert","|");
+ ymacs.getActiveBuffer().cmd("insert","\n");
+ for(m=1;m<row;m++)
+ {
+
+ for(j=0;j<=col;j++)
+ {
+
+ ymacs.getActiveBuffer().cmd("org_table_create");
+ }
+ //alert(row);
+ ymacs.getActiveBuffer().cmd("insert","\n");
+ }
+ }
+
+ // This function creates a column for the table.
+
+ function insertColumn()
+
+ {
+
+ ymacs.getActiveBuffer().cmd("backward_paragraph");
+ ymacs.getActiveBuffer().cmd("forward_line");
+ ymacs.getActiveBuffer().cmd("end_of_line");
+
+
+ ymacs.getActiveBuffer().cmd("insert","|");
+
+ ymacs.getActiveBuffer().cmd("forward_line");
+ ymacs.getActiveBuffer().cmd("backward_char");ymacs.getActiveBuffer().cmd("insert","@");
+ ymacs.getActiveBuffer().cmd("delete_char");
+
+ ymacs.getActiveBuffer().cmd("insert","---");
+ ymacs.getActiveBuffer().cmd("insert","|"); ymacs.getActiveBuffer().cmd("forward_line");
+ for(k=1;k<row;k++){
+ ymacs.getActiveBuffer().cmd("insert","|");
+ ymacs.getActiveBuffer().cmd("forward_line");
+
+ } col = parseInt(col)+1;
+
+
+ }
+
+ // This function creates a row for the table.
+
+ function insertRow()
+
+ {
+ for(j=0;j<=col;j++)
+ {
+
+ ymacs.getActiveBuffer().cmd("org_table_create");
+ } ymacs.getActiveBuffer().cmd("insert","");
+ ymacs.getActiveBuffer().cmd("newline");
+
+ row = parseInt(row)+1;
+
+ }
+
+ // This function creates a Horizontal Line for the table.
+
+ function insertHline()
+ {
+ ymacs.getActiveBuffer().cmd("end_of_line");
+ ymacs.getActiveBuffer().cmd("insert","\n");
+
+ ymacs.getActiveBuffer().cmd("insert","|");
+ ymacs.getActiveBuffer().cmd("insert","---");
+ for(k=0;k<(col-1);k++)
+ {
+
+ ymacs.getActiveBuffer().cmd("insert","@");
+ ymacs.getActiveBuffer().cmd("insert","---");
+ }
+ ymacs.getActiveBuffer().cmd("insert","|");
+
+
+ }
+
+ function insertImage()
+ {
+
+
+ //gImage = 1;
+ //ymacs.getActiveBuffer().cmd("end_of_buffer");
+ //var img1 = prompt("Enter url for image","/home/sndt/Music/img2.jpeg");
+ //mywindow = window.open("fileupload2.html", "", "location=0,status=0,scrollbars=0, width=300,height=150");
+ mywindow = window.open("one.html", "", "location=0,status=0,scrollbars=0, width=300,height=150");
+ mywindow.moveTo(400, 400);
+
+ //document.write("<INPUT TYPE=file + >");
+
+ //document.write("hi");
+
+ //window.open(img1);
+ //var al;
+ //var str1;
+ //var img2 = img1;
+ //var str3 = img1.indexOf(".");
+ //var str4 = img1.lastIndexOf("/");
+ //var str2 = img1.slice(str4+1,str3);
+ //var str1 = "[[" + img1 + "]" + "["+ str2 +"]]";
+ //var al = "#+ATTR_HTML: align="+"\"left\""+"\n";
+ //str1 = "[[" + img1 + "]]";
+ //var str = img1.lastIndexOf("]");
+ //var a = str-1;
+ //var c = img1.length;
+ //var b = img1.slice(str4+1,c);
+ //var d = "/home/sndt/imgtry/" + b;
+ //var newPath = "[[" + d + "]]";
+ //ymacs.getActiveBuffer().cmd("insert",newPath);
+ //ymacs.getActiveBuffer().cmd("insert",str1);
+
+ }
+
+function insertImage1()
+ {
+
+ // alert(img0);
+ gImage = 1;
+ ymacs.getActiveBuffer().cmd("end_of_buffer");
+ var img1 = prompt("Enter url for image","/home/sndt/Music/img2.jpeg");
+ //mywindow = window.open("fileupload1.html", "", "location=0,status=0,scrollbars=0, width=300,height=150");
+ // mywindow.moveTo(400, 400);
+
+ //document.write("<INPUT TYPE=file + >");
+
+ //document.write("hi");
+
+ //window.open(img1);
+ //var al;
+ //var str1;
+ // var img1 = img0;
+ var img2 = img1;
+ var str3 = img1.indexOf(".");
+ var str4 = img1.lastIndexOf("/");
+ var str2 = img1.slice(str4+1,str3);
+ //var str1 = "[[" + img1 + "]" + "["+ str2 +"]]";
+ //var al = "#+ATTR_HTML: align="+"\"left\""+"\n";
+ str1 = "[[" + img1 + "]]";
+ var str = img1.lastIndexOf("]");
+ var a = str-1;
+ var c = img1.length;
+ var b = img1.slice(str4+1,c);
+ var d = "/home/sndt/imgtry/" + b;
+ var newPath = "[[" + d + "]]";
+ //ymacs.getActiveBuffer().cmd("insert",newPath);
+ ymacs.getActiveBuffer().cmd("insert",str1);
+ ymacs.getActiveBuffer().cmd("backward_line");
+ }
+
+
+
+
+ /* -----[ color theme ]----- */
+
+ var item = new DlMenuItem({ parent: menu, label: "Color theme".makeLabel() });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+
+ [
+ "dark|y|Dark background (default)",
+ "dark|billw|>Billw",
+ "dark|charcoal-black|>Charcoal black",
+ "dark|clarity-and-beauty|>Clarity and beauty",
+ "dark|classic|>Classic",
+ "dark|gnome2|>Gnome 2",
+ "dark|calm-forest|>Calm forest",
+ "dark|linh-dang-dark|>Linh Dang Dark",
+ "dark|blue-mood|>Blue mood",
+ "dark|zenburn|>Zenburn",
+ "dark|standard-dark|>Emacs standard (dark)",
+ null,
+ "light|y|Light background (default)",
+ "light|andreas|>Andreas",
+ "light|bharadwaj|>Bharadwaj",
+ "light|gtk-ide|>GTK IDE",
+ "light|high-contrast|>High contrast",
+ "light|scintilla|>Scintilla",
+ "light|standard-xemacs|>Standard XEmacs",
+ "light|vim-colors|>Vim colors",
+ "light|standard|>Emacs standard (light)"
+ ].foreach(function(theme){
+ if (theme == null) {
+ submenu.addSeparator();
+ } else {
+ theme = theme.split(/\s*\|\s*/);
+ var label = theme.pop();
+ label = label.replace(/^>\s*/, "&nbsp;".x(4));
+ var item = new DlMenuItem({ parent: submenu, label: label });
+ item.addEventListener("onSelect", ymacs.setColorTheme.$(ymacs, theme));
+ }
+ });
+ /*-------Insert-------
+
+ var item = new DlMenuItem({ parent: menu, label: "Insert".makeLabel() });
+ var item1 = new DlMenuItem({ parent: submenu, label: "TOC" });
+ var submenu = new DlVMenu({});
+
+ var subToc = new DlVMenu({});
+ item.setMenu(submenu);
+ item = new DlMenuItem({ parent: submenu, label: "Default file" });
+ submenu.addSeparator();
+ item1 = new DlMenuItem({ parent: submenu, label: "Table Of Content" });
+ item.addEventListener("onSelect", function(){
+
+ });
+
+ var files1 = [
+ "Image",
+ "Text",
+ "Table"
+
+
+
+ ]
+
+
+
+ item1.setMenu(subToc);
+ files1.foreach(function(font){
+ item = new DlMenuItem({ parent: submenu, label: "<span style='font-family:" + font + "'>" + font + "</span>" });
+ item.addEventListener("onSelect", function(){
+
+
+ if(font == "Image")
+ {
+ var imgPath = prompt("Enter the location:", "/home/snehal1/pics/ ");
+ window.open(imgPath);
+
+ }
+
+ });
+ });
+
+ var files2 = [
+ "Title",
+ "Author",
+ "Email",
+ "Description",
+ "Language"
+
+
+
+
+ ].foreach(function(font){
+ item = new DlMenuItem({ parent: subToc, label: "<span style='font-family:" + font + "'>" + font + "</span>" });
+ item.addEventListener("onSelect", function(){
+ var name1 = prompt("Enter data","");
+
+ });
+ });
+ */
+
+
+
+
+ /* -----[ Symbol Insert ]----- */
+
+ /* var item = new DlMenuItem({ parent: menu, label: "Symbol Insert".makeLabel() });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+
+ submenu.addSeparator();
+
+ [
+ "&alpha;",
+ "&beta;",
+ "&#947;",
+ "&#948;",
+ "&#949;",
+ "&#952;",
+ "&#955;",
+ "&#956;",
+ "&#960;",
+ "&#961;",
+ "&#963;",
+ "&#934;",
+ "&#931;"
+
+ ].foreach(function(i){
+ item = new DlMenuItem({ parent: submenu, label: "<span style='font-family:" + i + "'>" + i + "</span>" });
+ item.addEventListener("onSelect", function(){
+ // ymacs.getActiveBuffer().cmd("insert",i);
+ alert(i);
+ var greek_sym1 = [945,946,947,948,949,952,955,956,960,961,963,934,931];
+ var greek_sym2 = ["&alpha;","&beta;","&#947;","&#948;","&#949;","&#952;","&#955;","&#956;","&#960;","&#961;","&#963;","&#934;","&#931;"];
+ //var str_sym;
+
+ for(j=0;j<=13;j++)
+ {
+ for(k=0;k<=13;k++)
+ {
+ if(greek_sym2[j]==i && j==k)
+ {
+ str_sym = String.fromCharCode(greek_sym1[k]);
+ }
+
+ }
+
+
+ }
+ ymacs.getActiveBuffer().cmd("insert",str_sym);
+
+
+ });
+ });
+*/
+ /* -----[ font ]----- */
+
+ var item = new DlMenuItem({ parent: menu, label: "Font family".makeLabel() });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+
+ item = new DlMenuItem({ parent: submenu, label: "Default from ymacs.css" });
+ item.addEventListener("onSelect", function(){
+ ymacs.getActiveFrame().setStyle({ fontFamily: "" });
+ });
+
+ submenu.addSeparator();
+
+ [
+ "Lucida Sans Typewriter",
+ "Andale Mono",
+ "Courier New",
+ "Arial",
+ "Verdana",
+ "Tahoma",
+ "Georgia",
+ "Times New Roman"
+
+ ].foreach(function(font){
+ item = new DlMenuItem({ parent: submenu, label: "<span style='font-family:" + font + "'>" + font + "</span>" });
+ item.addEventListener("onSelect", function(){
+ ymacs.getActiveFrame().setStyle({ fontFamily: font });
+ });
+ });
+
+ // ymacs.getActiveFrame().setStyle({ fontFamily: "Arial", fontSize: "18px" });
+
+/* -----[ gnowsys-mode ]----- */
+
+ /* var item = new DlMenuItem({ parent: menu, label: "gnowsys-mode".makeLabel() });
+
+ item.addEventListener("onSelect", function(){
+ // window.open("/home/sndt/Downloads/jknair-MozGnowser-42c5530/gnowmoz@gnowledge.org/chrome/gnowmoz/content/gnowmoz.html");
+
+ var org1 = new Ymacs_Buffer({ name: "gnowsysmode.org" });
+ org1.setCode("hi");
+ ymacs.getActiveBuffer().cmd("switch_to_buffer",org1);
+ // org1.cmd("org_mode");
+ ymacs.getActiveBuffer().cmd("load_file");
+ //window.open("http://sandboxatlas.gnowledge.org/gnowql");
+ //window.open("/home/sndt/Downloads/jknair-MozGnowser-42c5530/gnowmoz@gnowledge.org/chrome/gnowmoz/content/gnowmoz.html");
+ //window.open("two.html","_blank","width=650,height=650");
+
+ }); */
+ /* -----[ font size ]----- */
+
+ var item = new DlMenuItem({ parent: menu, label: "Font size".makeLabel() });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+
+ item = new DlMenuItem({ parent: submenu, label: "Default from ymacs.css" });
+ item.addEventListener("onSelect", function(){
+ ymacs.getActiveFrame().setStyle({ fontSize: "" });
+ });
+
+ submenu.addSeparator();
+
+ [
+ "11px",
+ "12px",
+ "14px",
+ "16px",
+ "18px",
+ "20px",
+ "22px",
+ "24px"
+
+ ].foreach(function(font){
+ item = new DlMenuItem({ parent: submenu, label: "<span style='font-size:" + font + "'>" + font + "</span>" });
+ item.addEventListener("onSelect", function(){
+ ymacs.getActiveFrame().setStyle({ fontSize: font });
+ });
+ });
+
+ layout.packWidget(menu, { pos: "top" });
+ layout.packWidget(ymacs, { pos: "bottom", fill: "*" });
+
+ layout.setSize({x:800, y:500});
+
+} catch(ex) {
+ console.log(ex);
+}
+
+DynarchDomUtils.trash($("x-loading"));
+
+if (!is_gecko && !is_khtml) (function(){
+
+ var dlg = new DlDialog({
+ title : "Information",
+ modal : true,
+ quitBtn : "destroy"
+ });
+
+ var vbox = new DlVbox({ parent: dlg, borderSpacing: 5 });
+ var tmp = new DlWidget({ parent: vbox });
+ tmp.getElement().appendChild($("browser-warning"));
+ var ok = new DlButton({ parent: vbox, focusable: true, label: "OK, let's see it" });
+ ok.addEventListener("onClick", dlg.destroy.$(dlg));
+ dlg._focusedWidget = ok;
+
+ dlg.show(true);
+
+})();
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/gnowmacs.html.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/gnowmacs.html.svn-base
new file mode 100644
index 0000000..68ab86c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/gnowmacs.html.svn-base
@@ -0,0 +1,63 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<!-- This file is part of Gnowmacs for GNOWSYS: Gnowledge Networking -->
+<!-- and Organizing System. -->
+
+<!-- Gnowmacs is free software; you can redistribute it and/or modify -->
+<!-- it under the terms of the GNU Affero General Public License as -->
+<!-- published by the Free Software Foundation; either version 3 of -->
+<!-- the License, or (at your option) any later version. -->
+
+<!-- Gnowmacs is distributed in the hope that it will be useful, but -->
+<!-- WITHOUT ANY WARRANTY; without even the implied warranty of -->
+<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
+<!-- GNU General Public License for more details. -->
+
+<!-- You should have received a copy of the GNU Affero General Public -->
+<!-- License along with Gnowmacs (agpl.txt); if not, write to the -->
+<!-- Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -->
+<!-- Boston, MA 02110-1301 USA59 Temple Place, Suite 330, -->
+
+<!-- Author: Divya <divyas15@gmail.com> -->
+
+<html>
+ <head>
+ <title>Gnowmacs -- An Emacs-like editor with org notations for the Web</title>
+ <link rel="stylesheet" type="text/css" href="dl/css/default.css" />
+ <link rel="stylesheet" type="text/css" href="../src/css/ymacs.css" />
+ <link rel="stylesheet" type="text/css" href="test.css" />
+ </head>
+ <body>
+
+ <script>
+ window.Dynarch_Base_Url = "./dl";
+ window.YMACS_SRC_PATH = "../src/js/";
+ </script>
+ <script src="dl/js/thelib.js"></script>
+ <script src="../src/js/ymacs.js"></script>
+ <script src="../src/js/ymacs-keyboard.js"></script>
+ <script src="../src/js/ymacs-regexp.js"></script>
+ <script src="../src/js/ymacs-frame.js"></script>
+ <script src="../src/js/ymacs-textprop.js"></script>
+ <script src="../src/js/ymacs-exception.js"></script>
+ <script src="../src/js/ymacs-interactive.js"></script>
+ <script src="../src/js/ymacs-buffer.js"></script>
+ <script src="../src/js/ymacs-marker.js"></script>
+ <script src="../src/js/ymacs-commands.js"></script>
+ <script src="../src/js/ymacs-commands-utils.js"></script>
+ <script src="../src/js/ymacs-keymap.js"></script>
+ <script src="../src/js/ymacs-keymap-emacs.js"></script>
+ <script src="../src/js/ymacs-keymap-isearch.js"></script>
+ <script src="../src/js/ymacs-minibuffer.js"></script>
+ <script src="../src/js/ymacs-tokenizer.js"></script>
+ <script src="../src/js/ymacs-mode-paren-match.js"></script>
+ <script src="../src/js/gnowmacs.js"></script>
+
+ <div id="gnow">
+ <script src="gnow-test.js"></script>
+ </div>
+ <div style="position:absolute; top:550px;">
+ <br/><br/>Get the source code of the project form <a href="http://svn.savannah.gnu.org/viewvc/gnowmacs/?root=gnowsys">GNOWSYS svn repository</a>
+ </div>
+ </body>
+</html>
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/index.html.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/index.html.svn-base
new file mode 100644
index 0000000..a19886c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/index.html.svn-base
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+ <head>
+ <title>Ymacs -- An Emacs-like editor for the Web</title>
+ <link rel="stylesheet" type="text/css" href="dl/new-theme/default.css" />
+ <link rel="stylesheet" type="text/css" href="../src/css/ymacs.css" />
+ <link rel="stylesheet" type="text/css" href="test.css" />
+ </head>
+ <body>
+ <center style="margin-top: 10em" id="x-loading">
+ <h1><tt>.oO[ loading ]Oo.</tt></h1>
+ </center>
+ <script>
+ window.Dynarch_Base_Url = "./dl";
+ window.YMACS_SRC_PATH = "../src/js/";
+ </script>
+ <script src="dl/js/thelib.js"></script>
+ <!-- <script src="http://www.jstoolkit.com.d:8090/src/js/all-scripts.jsx?crunch=0;path=http://www.jstoolkit.com.d:8090/src/js"></script> -->
+ <script src="../src/js/ymacs.js"></script>
+ <script src="../src/js/ymacs-keyboard.js"></script>
+ <script src="../src/js/ymacs-regexp.js"></script>
+ <script src="../src/js/ymacs-frame.js"></script>
+ <script src="../src/js/ymacs-textprop.js"></script>
+ <script src="../src/js/ymacs-exception.js"></script>
+ <script src="../src/js/ymacs-interactive.js"></script>
+ <script src="../src/js/ymacs-buffer.js"></script>
+ <script src="../src/js/ymacs-marker.js"></script>
+ <script src="../src/js/ymacs-commands.js"></script>
+ <script src="../src/js/ymacs-commands-utils.js"></script>
+ <script src="../src/js/ymacs-keymap.js"></script>
+ <script src="../src/js/ymacs-keymap-emacs.js"></script>
+ <script src="../src/js/ymacs-keymap-isearch.js"></script>
+ <script src="../src/js/ymacs-minibuffer.js"></script>
+ <script src="../src/js/ymacs-tokenizer.js"></script>
+ <script src="../src/js/ymacs-mode-paren-match.js"></script>
+ <script src="../src/js/ymacs-mode-lisp.js"></script>
+ <script src="../src/js/ymacs-mode-js.js"></script>
+ <script src="../src/js/ymacs-mode-xml.js"></script>
+ <script src="../src/js/ymacs-mode-css.js"></script>
+ <script src="../src/js/ymacs-mode-markdown.js"></script>
+
+ <div style="display: none">
+ <div id="browser-warning" style="padding: 1em; width: 20em;">
+ <b>Note that Ymacs is only tested with Firefox for now.</b><br /><br />
+ This is mentioned on the <a href="http://www.ymacs.org/"
+ target="_blank">project page</a>,
+ but I just thought I'd say it again.
+ </div>
+ </div>
+ <script src="test.js"></script>
+ </body>
+</html>
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/test.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/test.css.svn-base
new file mode 100644
index 0000000..5189764
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/test.css.svn-base
@@ -0,0 +1,4 @@
+html, body {
+ background-color: #997;
+ overflow: hidden;
+}
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/test.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/test.js.svn-base
new file mode 100644
index 0000000..be58f83
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/.svn/text-base/test.js.svn-base
@@ -0,0 +1,352 @@
+/*
+
+ Note that this file is just an example. It should not be treated as
+ part of Ymacs itself. Ymacs is just an editing platform and as such
+ it has no menus, no toolbar etc. These can be easily added using
+ other DynarchLIB widgets, as this file demonstrates.
+
+ If a collection of useful menus/toolbars will emerge, a new compound
+ widget will be defined.
+
+*/
+
+var desktop = new DlDesktop({});
+desktop.fullScreen();
+
+function print(obj) {
+ var a = [], i;
+ for (i in obj) {
+ var val = obj[i];
+ if (val instanceof Function)
+ val = val.toString();
+ else
+ val = DlJSON.encode(val);
+ a.push(DlJSON.encode(i) + " : " + val);
+ }
+ return a.map(function(line){
+ return line.replace(/^/mg, function(s) {
+ return " ";
+ });
+ }).join("\n");
+};
+
+var info = ( "Existing keybindings:\n\n" +
+ print(Ymacs_Keymap_Emacs().constructor.KEYS)
+ + "\n\nHave fun!\n" );
+
+var lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam sagittis posuere dui, id facilisis metus blandit nec. Ut pulvinar felis vitae lacus mattis fermentum semper risus aliquet. Sed nec dolor quis odio condimentum pellentesque. Donec non vehicula massa. Nulla a rutrum nulla. Morbi dapibus pharetra ligula, ac pharetra purus scelerisque sit amet. Nulla non velit ut urna gravida rutrum non vitae leo. Duis gravida, lacus eget laoreet semper, magna sem scelerisque dolor, a sagittis lacus justo nec lectus. Vivamus lacus massa, mattis ut rutrum ac, consectetur vel ipsum. Suspendisse potenti. Fusce convallis lorem vel dui tristique non viverra mi feugiat. Vivamus mollis rutrum porta. Nunc non purus ut sapien pretium tristique aliquam sit amet eros. Vivamus vel rutrum lacus.\n\
+\n\
+Nullam vitae tellus enim, id suscipit nisl. Mauris elementum scelerisque lacus ac pellentesque. Donec rutrum tellus vel leo lacinia semper. Nulla porta, elit non vulputate pulvinar, eros lacus euismod libero, ut laoreet erat lacus a est. Nam quis mi nec nisl aliquam tempor eget vel massa. Sed justo ante, ornare ut tristique a, laoreet ac justo. Proin gravida cursus mauris a porttitor. Aliquam elit justo, euismod suscipit pharetra ut, placerat et dolor. Donec pulvinar elit nec ligula gravida scelerisque. Aenean rutrum tempus dui at volutpat. Maecenas a justo quis libero vehicula fermentum sit amet in augue. In ante nulla, fermentum at rutrum id, tincidunt ut massa. Vivamus quis justo ut quam tempor ultricies ultricies vitae tellus. Pellentesque lorem elit, convallis ut congue at, porta non nisi. Curabitur lectus tortor, elementum venenatis faucibus ut, vulputate vehicula dui. Fusce in dui id est lobortis venenatis eu ut dolor. Quisque vel diam diam. Nulla porttitor adipiscing nisi eget cursus. .\n\n".x(10);
+
+try {
+ var dlg = new DlDialog({ title: "Ymacs", resizable: true });
+ var javascript = new Ymacs_Buffer({ name: "test.js" });
+
+ javascript.setCode("\
+/* Note that there are a few buffers already loaded.\n\
+ You can switch through them using C-TAB or C-S-TAB.\n\
+ You can also split frames using C-x 2 or C-x 3, or\n\
+ revert to a single frame (the active one) with C-x 1.\n\
+ */\n\
+\n\
+function () {\n\
+ alert(\"moo\");\n\
+ while (/[/]/.test(str)) {\n\
+ // an unescaped slash can appear in a character set in regexps\n\
+ }\n\
+\n\
+/**\n\
+* press TAB on these lines to fix indentation,\n\
+* or move the caret to the first “{” character and press C-M-q\n\
+*/\n\
+ return function(){\n\
+ alert(this.foo);\n\
+}.$(this);\n\
+}\n\
+\n\
+// select the following few lines and try M-x eval_region\n\
+// then try \"C-x w\" to count the words in this buffer\n\
+//\n\
+// Note that once defined, it's not easy to change a keymap...\n\
+// I should figure out how to fix this.\n\
+DEFINE_SINGLETON(\"My_Keymap\", Ymacs_Keymap, function(D){\n\
+ D.KEYS = {\n\
+ \"C-x w\": function() {\n\
+ this.cmd(\"save_excursion\", function(){\n\
+ this.cmd(\"beginning_of_buffer\");\n\
+ var count = 0;\n\
+ while (!this.cmd(\"eob_p\")) {\n\
+ this.cmd(\"forward_word\");\n\
+ ++count;\n\
+ }\n\
+ alert(count + \" words in this buffer\");\n\
+ });\n\
+ }\n\
+ };\n\
+});\n\
+this.pushKeymap(My_Keymap());\n\
+");
+
+ var xml = new Ymacs_Buffer({ name: "index.html" });
+ xml.setCode("\
+<html>\n\
+ <head>\n\
+ <title>Ymacs -- Open Source Source Code Editor. :-p</title>\n\
+ </head>\n\
+ <body style=\"margin: 1em auto; width: 80%\"\n\
+ id=\"foo\">\n\
+ <h1 class=\"PageTitle\">Cool, isn't it?</h1>\n\
+ </body>\n\
+</html>\
+");
+
+ var txt = new Ymacs_Buffer({ name: "lorem.txt" });
+ txt.setCode(lorem);
+
+ javascript.cmd("javascript_dl_mode");
+ javascript.setq("indent_level", 4);
+ xml.cmd("xml_mode");
+
+ var lisp = new Ymacs_Buffer({ name: "test.lisp" });
+ lisp.setCode(";; Some basic Common-Lisp highlighting and indentation\n\
+;; Parens are auto-inserted\n\
+;; And you can close all remaining parens with C-c ] or C-c C-]\n\
+\n\
+(defun foo ())\n");
+ lisp.cmd("lisp_mode");
+
+ var markdown = new Ymacs_Buffer({ name: "markdown.txt" });
+ markdown.setCode("\
+# Markdown sytnax\n\
+\n\
+For now there is only basic syntax highlighting, but note\n\
+that paragraph filling commands (M-q, M-S-q) are good enough\n\
+to make editing Markdown a snap. For example, add a > character\n\
+at the start of this paragraph, then press M-q. It will \"quote\"\n\
+all the text in the paragraph. Press M-S-q to clear the prefix.\n\
+\n\
+Type \"1. \" at the start of the paragraph, then press M-q and it\n\
+will format a list item. If you press M-ENTER within it it will start\n\
+the next list item. Generally, M-ENTER starts a paragraph \"similar\"\n\
+to the current one.\n\
+");
+ markdown.cmd("markdown_mode");
+
+ var keys = new Ymacs_Buffer({ name: "keybindings.txt" });
+ keys.setCode(info);
+
+ var layout = new DlLayout({ parent: dlg });
+
+ var empty = new Ymacs_Buffer({ name: "empty" });
+ var ymacs = window.ymacs = new Ymacs({ buffers: [ javascript, xml, lisp, markdown, txt, keys ] });
+ ymacs.setColorTheme([ "dark", "y" ]);
+
+ try {
+ ymacs.getActiveBuffer().cmd("eval_file", ".ymacs");
+ } catch(ex) {}
+
+ var menu = new DlHMenu({});
+ menu.setStyle({ marginLeft: 0, marginRight: 0 });
+
+ var item = new DlMenuItem({ parent: menu, label: "Load its own code!".makeLabel() });
+
+ var files = [
+ "ymacs.js",
+ "ymacs-keyboard.js",
+ "ymacs-regexp.js",
+ "ymacs-frame.js",
+ "ymacs-textprop.js",
+ "ymacs-exception.js",
+ "ymacs-interactive.js",
+ "ymacs-buffer.js",
+ "ymacs-marker.js",
+ "ymacs-commands.js",
+ "ymacs-commands-utils.js",
+ "ymacs-keymap.js",
+ "ymacs-keymap-emacs.js",
+ "ymacs-keymap-isearch.js",
+ "ymacs-minibuffer.js",
+ "ymacs-tokenizer.js",
+ "ymacs-mode-paren-match.js",
+ "ymacs-mode-lisp.js",
+ "ymacs-mode-js.js",
+ "ymacs-mode-xml.js",
+ "ymacs-mode-css.js",
+ "ymacs-mode-markdown.js"
+ ];
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+ files.foreach(function(file){
+ var item = new DlMenuItem({ label: file, parent: submenu });
+ item.addEventListener("onSelect", function(){
+ var request = new DlRPC({ url: YMACS_SRC_PATH + file + "?killCache=" + new Date().getTime() });
+ request.call({
+ callback: function(data){
+ var code = data.text;
+ var buf = ymacs.getBuffer(file) || ymacs.createBuffer({ name: file });
+ buf.setCode(code);
+ buf.cmd("javascript_dl_mode", true);
+ ymacs.switchToBuffer(buf);
+ }
+ });
+ });
+ });
+
+ var item = new DlMenuItem({ parent: menu, label: "Set indentation level".makeLabel() });
+ item.addEventListener("onSelect", function() {
+ var buf = ymacs.getActiveBuffer(), newIndent;
+ newIndent = prompt("Indentation level for the current buffer: ", buf.getq("indent_level"));
+ if (newIndent != null)
+ newIndent = parseInt(newIndent, 10);
+ if (newIndent != null && !isNaN(newIndent)) {
+ buf.setq("indent_level", newIndent);
+ buf.signalInfo("Done setting indentation level to " + newIndent);
+ }
+ });
+
+ menu.addFiller();
+
+ var item = new DlMenuItem({ parent: menu, label: "Toggle line numbers".makeLabel() });
+ item.addEventListener("onSelect", function() {
+ ymacs.getActiveBuffer().cmd("toggle_line_numbers");
+ });
+
+ /* -----[ color theme ]----- */
+
+ var item = new DlMenuItem({ parent: menu, label: "Color theme".makeLabel() });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+
+ [
+ "dark|y|Dark background (default)",
+ "dark|mishoo|>Mishoo's Emacs theme",
+ "dark|billw|>Billw",
+ "dark|charcoal-black|>Charcoal black",
+ "dark|clarity-and-beauty|>Clarity and beauty",
+ "dark|classic|>Classic",
+ "dark|gnome2|>Gnome 2",
+ "dark|calm-forest|>Calm forest",
+ "dark|linh-dang-dark|>Linh Dang Dark",
+ "dark|blue-mood|>Blue mood",
+ "dark|zenburn|>Zenburn",
+ "dark|standard-dark|>Emacs standard (dark)",
+ null,
+ "light|y|Light background (default)",
+ "light|andreas|>Andreas",
+ "light|bharadwaj|>Bharadwaj",
+ "light|gtk-ide|>GTK IDE",
+ "light|high-contrast|>High contrast",
+ "light|scintilla|>Scintilla",
+ "light|standard-xemacs|>Standard XEmacs",
+ "light|vim-colors|>Vim colors",
+ "light|standard|>Emacs standard (light)"
+ ].foreach(function(theme){
+ if (theme == null) {
+ submenu.addSeparator();
+ } else {
+ theme = theme.split(/\s*\|\s*/);
+ var label = theme.pop();
+ label = label.replace(/^>\s*/, "&nbsp;".x(4));
+ var item = new DlMenuItem({ parent: submenu, label: label });
+ item.addEventListener("onSelect", ymacs.setColorTheme.$(ymacs, theme));
+ }
+ });
+
+ /* -----[ font ]----- */
+
+ var item = new DlMenuItem({ parent: menu, label: "Font family".makeLabel() });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+
+ item = new DlMenuItem({ parent: submenu, label: "Default from ymacs.css" });
+ item.addEventListener("onSelect", function(){
+ ymacs.getActiveFrame().setStyle({ fontFamily: "" });
+ });
+
+ submenu.addSeparator();
+
+ [
+ "Lucida Sans Typewriter",
+ "Andale Mono",
+ "Courier New",
+ "Arial",
+ "Verdana",
+ "Tahoma",
+ "Georgia",
+ "Times New Roman"
+
+ ].foreach(function(font){
+ item = new DlMenuItem({ parent: submenu, label: "<span style='font-family:" + font + "'>" + font + "</span>" });
+ item.addEventListener("onSelect", function(){
+ ymacs.getActiveFrame().setStyle({ fontFamily: font });
+ });
+ });
+
+ // ymacs.getActiveFrame().setStyle({ fontFamily: "Arial", fontSize: "18px" });
+
+ /* -----[ font size ]----- */
+
+ var item = new DlMenuItem({ parent: menu, label: "Font size".makeLabel() });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+
+ item = new DlMenuItem({ parent: submenu, label: "Default from ymacs.css" });
+ item.addEventListener("onSelect", function(){
+ ymacs.getActiveFrame().setStyle({ fontSize: "" });
+ });
+
+ submenu.addSeparator();
+
+ [
+ "11px",
+ "12px",
+ "14px",
+ "16px",
+ "18px",
+ "20px",
+ "22px",
+ "24px"
+
+ ].foreach(function(font){
+ item = new DlMenuItem({ parent: submenu, label: "<span style='font-size:" + font + "'>" + font + "</span>" });
+ item.addEventListener("onSelect", function(){
+ ymacs.getActiveFrame().setStyle({ fontSize: font });
+ });
+ });
+
+ layout.packWidget(menu, { pos: "top" });
+ layout.packWidget(ymacs, { pos: "bottom", fill: "*" });
+
+ dlg._focusedWidget = ymacs;
+ dlg.setSize({ x: 800, y: 600 });
+
+ // show two frames initially
+ // ymacs.getActiveFrame().hsplit();
+
+ dlg.show(true);
+ dlg.maximize(true);
+
+} catch(ex) {
+ console.log(ex);
+}
+
+DynarchDomUtils.trash($("x-loading"));
+
+if (!is_gecko && !is_khtml) (function(){
+
+ var dlg = new DlDialog({
+ title : "Information",
+ modal : true,
+ quitBtn : "destroy"
+ });
+
+ var vbox = new DlVbox({ parent: dlg, borderSpacing: 5 });
+ var tmp = new DlWidget({ parent: vbox });
+ tmp.getElement().appendChild($("browser-warning"));
+ var ok = new DlButton({ parent: vbox, focusable: true, label: "OK, let's see it" });
+ ok.addEventListener("onClick", dlg.destroy.$(dlg));
+ dlg._focusedWidget = ok;
+
+ dlg.show(true);
+
+})();
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/.svn/all-wcprops
new file mode 100644
index 0000000..32ffbda
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/.svn/all-wcprops
@@ -0,0 +1,5 @@
+K 25
+svn:wc:ra_dav:version-url
+V 37
+/svn/labcode/!svn/ver/2/Ymacs/test/dl
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/.svn/entries
new file mode 100644
index 0000000..151453b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/.svn/entries
@@ -0,0 +1,49 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+swf
+dir
+
+deprecated
+dir
+
+html
+dir
+
+extras
+dir
+
+css
+dir
+
+new-theme
+dir
+
+js
+dir
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/all-wcprops
new file mode 100644
index 0000000..cdf59f5
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/all-wcprops
@@ -0,0 +1,113 @@
+K 25
+svn:wc:ra_dav:version-url
+V 41
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css
+END
+default-grey.css
+K 25
+svn:wc:ra_dav:version-url
+V 58
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/default-grey.css
+END
+default-ds.css
+K 25
+svn:wc:ra_dav:version-url
+V 56
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/default-ds.css
+END
+default-red.css
+K 25
+svn:wc:ra_dav:version-url
+V 57
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/default-red.css
+END
+preload-default.js
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/preload-default.js
+END
+default-yellow.css
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/default-yellow.css
+END
+default-magenta.css
+K 25
+svn:wc:ra_dav:version-url
+V 61
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/default-magenta.css
+END
+default-red-ds.css
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/default-red-ds.css
+END
+default-yellow-ds.css
+K 25
+svn:wc:ra_dav:version-url
+V 63
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/default-yellow-ds.css
+END
+default-magenta-ds.css
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/default-magenta-ds.css
+END
+uploadentry.css
+K 25
+svn:wc:ra_dav:version-url
+V 57
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/uploadentry.css
+END
+default-blue.css
+K 25
+svn:wc:ra_dav:version-url
+V 58
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/default-blue.css
+END
+default-cyan.css
+K 25
+svn:wc:ra_dav:version-url
+V 58
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/default-cyan.css
+END
+default-blue-ds.css
+K 25
+svn:wc:ra_dav:version-url
+V 61
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/default-blue-ds.css
+END
+default-cyan-ds.css
+K 25
+svn:wc:ra_dav:version-url
+V 61
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/default-cyan-ds.css
+END
+dlconsole.css
+K 25
+svn:wc:ra_dav:version-url
+V 55
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/dlconsole.css
+END
+default-green.css
+K 25
+svn:wc:ra_dav:version-url
+V 59
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/default-green.css
+END
+default.css
+K 25
+svn:wc:ra_dav:version-url
+V 53
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/default.css
+END
+default-green-ds.css
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/default-green-ds.css
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/entries
new file mode 100644
index 0000000..d31e019
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/entries
@@ -0,0 +1,643 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/css
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+default-grey.css
+file
+
+
+
+
+2012-01-23T13:07:10.077352Z
+4de36b218a47e0067f80aa374b7e15c4
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+42152
+
+default-ds.css
+file
+
+
+
+
+2012-01-23T13:07:10.077352Z
+45492d56c9fdfbbf6c96b47e0f2fdfd8
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+42152
+
+default-red.css
+file
+
+
+
+
+2012-01-23T13:07:10.077352Z
+c73f8e975fd52d7e46d4440540d154c8
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+42152
+
+preload-default.js
+file
+
+
+
+
+2012-01-23T13:07:10.077352Z
+b6440526cb5e01b9625eb71ccb748857
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+2472
+
+default-yellow.css
+file
+
+
+
+
+2012-01-23T13:07:10.077352Z
+3ef30afd03bf6525c76c5cfbbff7cc48
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+42152
+
+default-magenta.css
+file
+
+
+
+
+2012-01-23T13:07:10.077352Z
+c4b0168327559c41d6fa88151c133ad1
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+42152
+
+default-red-ds.css
+file
+
+
+
+
+2012-01-23T13:07:10.077352Z
+3b6d79fd43a6907f64fe2a25e58412c1
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+42152
+
+default-yellow-ds.css
+file
+
+
+
+
+2012-01-23T13:07:10.077352Z
+516cc119d3441db31eba9bba144fc037
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+42152
+
+default-magenta-ds.css
+file
+
+
+
+
+2012-01-23T13:07:10.077352Z
+854ca9557f8ec309e208b36e20ae527b
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+42152
+
+uploadentry.css
+file
+
+
+
+
+2012-01-23T13:07:10.077352Z
+93c84d50ec14040f7399ac27e19d9bfb
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+577
+
+default-blue.css
+file
+
+
+
+
+2012-01-23T13:07:10.077352Z
+8470b3debcbe1ee841dce01b5a829f86
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+42152
+
+default-cyan.css
+file
+
+
+
+
+2012-01-23T13:07:10.077352Z
+c8a3357ee8b89f40bed594aa96b932c5
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+42152
+
+default-blue-ds.css
+file
+
+
+
+
+2012-01-23T13:07:10.081352Z
+4e43f55117c3f897ac93453c1739ce7d
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+42152
+
+default-cyan-ds.css
+file
+
+
+
+
+2012-01-23T13:07:10.081352Z
+ca5bc283c39cf9c0795f43f00c795897
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+42152
+
+default-green.css
+file
+
+
+
+
+2012-01-23T13:07:10.081352Z
+fef9d17a60b582d1b7c00dfb2568f9e0
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+42152
+
+dlconsole.css
+file
+
+
+
+
+2012-01-23T13:07:10.081352Z
+5f5e1cf7b1cfd8bc845df78767f8bf26
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+322
+
+default.css
+file
+
+
+
+
+2012-01-23T13:07:10.081352Z
+842b981768c89dc2113d6d525df2d94c
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+45943
+
+img
+dir
+
+default-green-ds.css
+file
+
+
+
+
+2012-01-23T13:07:10.081352Z
+7cee7e4a86c2c88f647efccb8b93debf
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+42152
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-blue-ds.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-blue-ds.css.svn-base
new file mode 100644
index 0000000..25f0d4d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-blue-ds.css.svn-base
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #c9cde2;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #9ba3bc #68708b #68708b #9ba3bc; background-color: #c9cde2; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #fbf2fb #acb4cd #acb4cd #fbf2fb; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #9ba3bc #68708b #68708b #9ba3bc; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #acc0d5 #acc0d5 #ffffff; }
+.DlButton-active { border-color: #68708b #9ba3bc #9ba3bc #68708b; background-color: #e2e4f5; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #bcc4de #fbf2fb #fbf2fb #bcc4de; }
+.DlButton-1 { border-color: #68708b #acb4cd #acb4cd #68708b; background-color: #e7e8f2; }
+.DlButton-1 .DlButton-inner { border-color: #bcc4de #ffffff #ffffff #bcc4de; }
+.DlButton-hover { background-color: #daddf3; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #c9cde2; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #979bb0 #68708b #68708b #979bb0; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #58607b #252d4a #252d4a #58607b; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #717182; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #717182; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #dcdff3; }
+.DlCheckbox-active { background: #e2e4f5 url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #717182; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #717182; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #dcdff3; }
+.DlRadioButton-active { background: #e2e4f5 url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #68708b #9ba3bc #9ba3bc #68708b; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #fbf2fb #fbf2fb #fbf2fb #fbf2fb; background-color: #edeef9; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #edeef9;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #68708b; outline: 1px solid #979bb0; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #a0bcdf; color: #000000; }
+.DlEntry-ValidationError { border-color: #bf5340; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #f2d9df; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #f2d9df; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #daddf3; border-bottom-color: #e6e6f7; border-right-color: #e6e6f7; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #daddf3; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #9393a3; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #9393a3;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #6d7fa7; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #c9cde2 url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #9393a3;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #68708b; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #6d7fa7; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #9ba3bc; background: #edeef9; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #c9d6ed; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #68708b #fbf2fb #fbf2fb #68708b;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #f0f0f8; }
+.DlCalendar-disabled { background-color: #e1e1e8; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #68708b; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #c5c5d5; background-color: #e1e1e8; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #c5c5d5; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #c5c5d5; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #76798f; background-color: #e1e1e8; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #979bb0; }
+.DlCalendar tr.Dates td.Today { color: #7295d0; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #68708b; color: #717182; background-color: #e1e1e8; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #68708b; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #6d7fa7; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #6d7fa7; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #b4b4c5; padding: 1px 2px 1px 1px; background-color: #daddf3 !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #d6d5e6; border-top: 1px solid #d6d5e6; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #9393a3; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #a26e4c; }
+.DlCalendar td.WeekEnd { color: #a26e4c; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #ccaa88; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #979bb0; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #acb4cd; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #acb4cd; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #e6e6f7; margin-top: 1em;
+ -moz-border-top-colors: #8a92ac #fbf2fb;
+ -moz-border-bottom-colors: #fbf2fb #8a92ac;
+ -moz-border-left-colors: #8a92ac #fbf2fb;
+ -moz-border-right-colors: #fbf2fb #8a92ac;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #c9cde2;
+ padding: 1px 7px; border: 1px solid #9ba3bc; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #b0b3da; }
+.DlPopup-scrollDown { border-top: 1px solid #b0b3da; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #b0b3da; background-color: #f0f0f8; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #f7f7e8;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #2a2a19;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #f0f0f8;
+ border: 1px solid #7e81a8;
+}
+
+.DlPopupMenu {
+ background-color: #f0f0f8;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #7e81a8; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #d0d3ef #d0d3ef #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #f0f0f8;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #d0d3ef #d0d3ef #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #bcc4de; color: #000000; }
+.DlMenuItem-hover { background-color: #6d7fa7; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #6d7fa7; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #68708b; }
+.DlTabs .TabBar .DlButton-1 { background-color: #d5d8ec; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #bcc4de; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #d5d8ec; }
+.DlTabs .TabContent { border: 1px solid #68708b; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #bcc4de; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #b8bcd1;
+ border: 1px solid #9ba3bc;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #76798f; -moz-border-radius: 15px; padding: 4px; background-color: #e6e6f7; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #9ba3bc;
+ background-color: #e6e6f7;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #9ba3bc;
+ background-color: #e6e6f7;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #9ba3bc;
+ background-color: #e6e6f7;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #9ba3bc;
+ background-color: #e6e6f7;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #9ba3bc;
+ background-color: #e6e6f7;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #c5c5d5; background-color: #e6e6f7; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #c9cde2; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #fbf2fb #76798f #76798f #fbf2fb;
+
+ background-color: #c9cde2;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #bcc4de; border-color: #ffffff #9393a3 #9393a3 #ffffff; background-color: #e2e4f5; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #bcc4de; border-color: #9393a3 #ffffff #ffffff #9393a3; background-color: #b8b9c9; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #68708b; background-color: #c8c9d8; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #d5d8ec; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #bcc4de; border-color: #ffffff #9393a3 #9393a3 #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #9393a3 #ffffff #ffffff #9393a3; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #9393a3 #ffffff #ffffff #9393a3; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #8a92ac;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #daddf3; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #9ba3bc;
+ background-color: #e6e6f7;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #9ba3bc;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #8a9acd; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #8a9acd; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #8a9acd; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #8a9acd; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #6d7fa7; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #6d7fa7; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #e1e1e8; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #8a92ac; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #cdd5ee #ffffff #ffffff #cdd5ee; }
+
+
+
+.DlDataGrid { position: relative; background-color: #f4f4fb; border: 1px solid #68708b; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #c9cde2; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #bf4040; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #979bb0; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #8da0cb; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #daddf3; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #d0dfef; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #d5d8ec; border: 1px solid #bcc4de; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #daddf3; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #0d1a27; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b6b6bd; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #6d7fa7; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #c9cde8; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #828293; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #cdced5 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #777fae; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #43475e;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #828293;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #5f6067; color: #ffffff; border-color: #43475e; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #76798f #fbf2fb #fbf2fb #76798f; padding: 1px 4px; background-color: #c9cde2; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #bf4040;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #8a92ac #8a92ac #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #8a92ac #ffffff #ffffff #8a92ac; }
+.Dl-3D-Border-Dark { border: 1px solid #8a92ac; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-blue.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-blue.css.svn-base
new file mode 100644
index 0000000..4fc51fe
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-blue.css.svn-base
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #bcc4ee;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #8a9acd #57679d #57679d #8a9acd; background-color: #bcc4ee; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #ffeeff #9babde #9babde #ffeeff; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #8a9acd #57679d #57679d #8a9acd; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #97bfea #97bfea #ffffff; }
+.DlButton-active { border-color: #57679d #8a9acd #8a9acd #57679d; background-color: #d9dcff; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #acbbee #ffeeff #ffeeff #acbbee; }
+.DlButton-1 { border-color: #57679d #9babde #9babde #57679d; background-color: #e1e4f8; }
+.DlButton-1 .DlButton-inner { border-color: #acbbee #ffffff #ffffff #acbbee; }
+.DlButton-hover { background-color: #cdd5ff; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #bcc4ee; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #8a92bc #57679d #57679d #8a92bc; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #46568c #12245c #12245c #46568c; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #69688b; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #69688b; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #d0d7ff; }
+.DlCheckbox-active { background: #d9dcff url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #69688b; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #69688b; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #d0d7ff; }
+.DlRadioButton-active { background: #d9dcff url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #57679d #8a9acd #8a9acd #57679d; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #ffeeff #ffeeff #ffeeff #ffeeff; background-color: #e7e9ff; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #e7e9ff;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #57679d; outline: 1px solid #8a92bc; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #80b9ff; color: #000000; }
+.DlEntry-ValidationError { border-color: #ff2600; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #ffccd9; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #ffccd9; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #cdd5ff; border-bottom-color: #dedeff; border-right-color: #dedeff; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #cdd5ff; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #8b8aac; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #8b8aac;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #4f74c4; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #bcc4ee url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #8b8aac;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #57679d; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #4f74c4; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #8a9acd; background: #e7e9ff; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #b7d0ff; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #57679d #ffeeff #ffeeff #57679d;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #edecfc; }
+.DlCalendar-disabled { background-color: #ddddec; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #57679d; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #bdbcde; background-color: #ddddec; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #bdbcde; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #bdbcde; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #69719b; background-color: #ddddec; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #8a92bc; }
+.DlCalendar tr.Dates td.Today { color: #4489ff; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #57679d; color: #69688b; background-color: #ddddec; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #57679d; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #4f74c4; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #4f74c4; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #acaccd; padding: 1px 2px 1px 1px; background-color: #cdd5ff !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #cecdee; border-top: 1px solid #cecdee; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #8b8aac; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #cc6622; }
+.DlCalendar td.WeekEnd { color: #cc6622; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #eeaa66; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #8a92bc; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #9babde; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #9babde; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #dedeff; margin-top: 1em;
+ -moz-border-top-colors: #7a89bc #ffeeff;
+ -moz-border-bottom-colors: #ffeeff #7a89bc;
+ -moz-border-left-colors: #7a89bc #ffeeff;
+ -moz-border-right-colors: #ffeeff #7a89bc;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #bcc4ee;
+ padding: 1px 7px; border: 1px solid #8a9acd; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #9ba2ee; }
+.DlPopup-scrollDown { border-top: 1px solid #9ba2ee; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #9ba2ee; background-color: #edecfc; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #fffee0;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #333210;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #edecfc;
+ border: 1px solid #6970bc;
+}
+
+.DlPopupMenu {
+ background-color: #edecfc;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #6970bc; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #c0c6ff #c0c6ff #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #edecfc;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #c0c6ff #c0c6ff #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #acbbee; color: #000000; }
+.DlMenuItem-hover { background-color: #4f74c4; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #4f74c4; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #57679d; }
+.DlTabs .TabBar .DlButton-1 { background-color: #c9d0f8; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #acbbee; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #c9d0f8; }
+.DlTabs .TabContent { border: 1px solid #57679d; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #acbbee; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #acb3de;
+ border: 1px solid #8a9acd;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #69719b; -moz-border-radius: 15px; padding: 4px; background-color: #dedeff; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #8a9acd;
+ background-color: #dedeff;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #8a9acd;
+ background-color: #dedeff;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #8a9acd;
+ background-color: #dedeff;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #8a9acd;
+ background-color: #dedeff;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #8a9acd;
+ background-color: #dedeff;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #bdbcde; background-color: #dedeff; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #bcc4ee; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #ffeeff #69719b #69719b #ffeeff;
+
+ background-color: #bcc4ee;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #acbbee; border-color: #ffffff #8b8aac #8b8aac #ffffff; background-color: #d9dcff; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #acbbee; border-color: #8b8aac #ffffff #ffffff #8b8aac; background-color: #b0b2d1; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #57679d; background-color: #bfc2e1; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #c9d0f8; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #acbbee; border-color: #ffffff #8b8aac #8b8aac #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #8b8aac #ffffff #ffffff #8b8aac; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #8b8aac #ffffff #ffffff #8b8aac; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #7a89bc;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #cdd5ff; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #8a9acd;
+ background-color: #dedeff;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #8a9acd;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #6988ee; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #6988ee; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #6988ee; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #6988ee; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #4f74c4; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #4f74c4; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #ddddec; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #7a89bc; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #bcccff #ffffff #ffffff #bcccff; }
+
+
+
+.DlDataGrid { position: relative; background-color: #f1f0ff; border: 1px solid #57679d; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #bcc4ee; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #ff0000; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #8a92bc; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #6d95ea; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #cdd5ff; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #c1dfff; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #c9d0f8; border: 1px solid #acbbee; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #cdd5ff; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #001935; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b2b2c1; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #4f74c4; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #b9c2f8; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #7a7a9b; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #c9cbd9 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #5b6bc9; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #353d6b;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #7a7a9b;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #5b5d6c; color: #ffffff; border-color: #353d6b; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #69719b #ffeeff #ffeeff #69719b; padding: 1px 4px; background-color: #bcc4ee; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #ff0000;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #7a89bc #7a89bc #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #7a89bc #ffffff #ffffff #7a89bc; }
+.Dl-3D-Border-Dark { border: 1px solid #7a89bc; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-cyan-ds.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-cyan-ds.css.svn-base
new file mode 100644
index 0000000..da32a0a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-cyan-ds.css.svn-base
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #c9d5e2;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #829aac #556571 #556571 #829aac; background-color: #c9d5e2; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #fbf2fb #97afc1 #97afc1 #fbf2fb; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #829aac #556571 #556571 #829aac; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #97c2cb #97c2cb #ffffff; }
+.DlButton-active { border-color: #556571 #829aac #829aac #556571; background-color: #e2eaf5; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #acc4d5 #fbf2fb #fbf2fb #acc4d5; }
+.DlButton-1 { border-color: #556571 #97afc1 #97afc1 #556571; background-color: #e7ecf2; }
+.DlButton-1 .DlButton-inner { border-color: #acc4d5 #ffffff #ffffff #acc4d5; }
+.DlButton-hover { background-color: #dae6f3; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #c9d5e2; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #97a3b0 #556571 #556571 #97a3b0; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #42525d #18252f #18252f #42525d; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #717782; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #717782; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #dce7f3; }
+.DlCheckbox-active { background: #e2eaf5 url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #717782; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #717782; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #dce7f3; }
+.DlRadioButton-active { background: #e2eaf5 url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #556571 #829aac #829aac #556571; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #fbf2fb #fbf2fb #fbf2fb #fbf2fb; background-color: #edf2f9; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #edf2f9;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #556571; outline: 1px solid #97a3b0; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #a0bcdf; color: #000000; }
+.DlEntry-ValidationError { border-color: #bf5340; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #f2d9df; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #f2d9df; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #dae6f3; border-bottom-color: #e6ecf7; border-right-color: #e6ecf7; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #dae6f3; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #9398a3; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #9398a3;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #638da1; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #c9d5e2 url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #9398a3;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #556571; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #638da1; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #829aac; background: #edf2f9; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #abd2e3; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #556571 #fbf2fb #fbf2fb #556571;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #f0f3f8; }
+.DlCalendar-disabled { background-color: #e1e3e8; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #556571; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #c5cad5; background-color: #e1e3e8; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #c5cad5; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #c5cad5; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #76828f; background-color: #e1e3e8; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #97a3b0; }
+.DlCalendar tr.Dates td.Today { color: #3685a3; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #556571; color: #717782; background-color: #e1e3e8; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #556571; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #638da1; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #638da1; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #b4bac5; padding: 1px 2px 1px 1px; background-color: #dae6f3 !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #d5dbe6; border-top: 1px solid #d5dbe6; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #9398a3; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #a26e4c; }
+.DlCalendar td.WeekEnd { color: #a26e4c; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #ccaa88; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #97a3b0; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #97afc1; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #97afc1; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #e6ecf7; margin-top: 1em;
+ -moz-border-top-colors: #6d8697 #fbf2fb;
+ -moz-border-bottom-colors: #fbf2fb #6d8697;
+ -moz-border-left-colors: #6d8697 #fbf2fb;
+ -moz-border-right-colors: #fbf2fb #6d8697;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #c9d5e2;
+ padding: 1px 7px; border: 1px solid #829aac; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #b0c2da; }
+.DlPopup-scrollDown { border-top: 1px solid #b0c2da; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #b0c2da; background-color: #f0f3f8; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #f7f7e8;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #2a2a19;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #f0f3f8;
+ border: 1px solid #7e90a8;
+}
+
+.DlPopupMenu {
+ background-color: #f0f3f8;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #7e90a8; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #d0deef #d0deef #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #f0f3f8;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #d0deef #d0deef #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #acc4d5; color: #000000; }
+.DlMenuItem-hover { background-color: #638da1; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #638da1; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #556571; }
+.DlTabs .TabBar .DlButton-1 { background-color: #d5e1ec; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #acc4d5; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #d5e1ec; }
+.DlTabs .TabContent { border: 1px solid #556571; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #acc4d5; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #b8c5d1;
+ border: 1px solid #829aac;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #76828f; -moz-border-radius: 15px; padding: 4px; background-color: #e6ecf7; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #829aac;
+ background-color: #e6ecf7;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #829aac;
+ background-color: #e6ecf7;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #829aac;
+ background-color: #e6ecf7;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #829aac;
+ background-color: #e6ecf7;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #829aac;
+ background-color: #e6ecf7;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #c5cad5; background-color: #e6ecf7; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #c9d5e2; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #fbf2fb #76828f #76828f #fbf2fb;
+
+ background-color: #c9d5e2;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #acc4d5; border-color: #ffffff #9398a3 #9398a3 #ffffff; background-color: #e2eaf5; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #acc4d5; border-color: #9398a3 #ffffff #ffffff #9398a3; background-color: #b8bfc9; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #556571; background-color: #c8cfd8; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #d5e1ec; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #acc4d5; border-color: #ffffff #9398a3 #9398a3 #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #9398a3 #ffffff #ffffff #9398a3; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #9398a3 #ffffff #ffffff #9398a3; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #6d8697;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #dae6f3; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #829aac;
+ background-color: #e6ecf7;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #829aac;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #548db6; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #548db6; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #548db6; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #548db6; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #638da1; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #638da1; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #e1e3e8; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #6d8697; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #c1d9ea #ffffff #ffffff #c1d9ea; }
+
+
+
+.DlDataGrid { position: relative; background-color: #f4f6fb; border: 1px solid #556571; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #c9d5e2; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #bf4040; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #97a3b0; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #70a4be; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #dae6f3; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #b6dee7; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #d5e1ec; border: 1px solid #acc4d5; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #dae6f3; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #0d2327; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b6b8bd; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #638da1; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #c9d8e8; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #828893; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #cdd1d5 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #597795; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #43505e;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #828893;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #5f6367; color: #ffffff; border-color: #43505e; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #76828f #fbf2fb #fbf2fb #76828f; padding: 1px 4px; background-color: #c9d5e2; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #bf4040;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #6d8697 #6d8697 #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #6d8697 #ffffff #ffffff #6d8697; }
+.Dl-3D-Border-Dark { border: 1px solid #6d8697; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-cyan.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-cyan.css.svn-base
new file mode 100644
index 0000000..11b672f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-cyan.css.svn-base
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #bcd5ee;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #6d9ec1 #47687f #47687f #6d9ec1; background-color: #bcd5ee; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #ffeeff #82b3d5 #82b3d5 #ffeeff; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #6d9ec1 #47687f #47687f #6d9ec1; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #7dd4e5 #7dd4e5 #ffffff; }
+.DlButton-active { border-color: #47687f #6d9ec1 #6d9ec1 #47687f; background-color: #d9e9ff; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #97c7ea #ffeeff #ffeeff #97c7ea; }
+.DlButton-1 { border-color: #47687f #82b3d5 #82b3d5 #47687f; background-color: #e1ecf8; }
+.DlButton-1 .DlButton-inner { border-color: #97c7ea #ffffff #ffffff #97c7ea; }
+.DlButton-hover { background-color: #cde6ff; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #bcd5ee; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #8aa3bc #47687f #47687f #8aa3bc; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #35546a #0c273b #0c273b #35546a; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #68748b; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #68748b; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #d0e7ff; }
+.DlCheckbox-active { background: #d9e9ff url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #68748b; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #68748b; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #d0e7ff; }
+.DlRadioButton-active { background: #d9e9ff url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #47687f #6d9ec1 #6d9ec1 #47687f; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #ffeeff #ffeeff #ffeeff #ffeeff; background-color: #e7f1ff; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #e7f1ff;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #47687f; outline: 1px solid #8aa3bc; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #80b9ff; color: #000000; }
+.DlEntry-ValidationError { border-color: #ff2600; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #ffccd9; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #ffccd9; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #cde6ff; border-bottom-color: #dee9ff; border-right-color: #dee9ff; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #cde6ff; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #8a96ac; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #8a96ac;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #4497c1; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #bcd5ee url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #8a96ac;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #47687f; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #4497c1; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #6d9ec1; background: #e7f1ff; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #8fddff; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #47687f #ffeeff #ffeeff #47687f;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #ecf2fc; }
+.DlCalendar-disabled { background-color: #dde2ec; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #47687f; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #bcc7de; background-color: #dde2ec; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #bcc7de; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #bcc7de; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #69829b; background-color: #dde2ec; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #8aa3bc; }
+.DlCalendar tr.Dates td.Today { color: #009dd9; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #47687f; color: #68748b; background-color: #dde2ec; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #47687f; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #4497c1; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #4497c1; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #acb7cd; padding: 1px 2px 1px 1px; background-color: #cde6ff !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #cdd8ee; border-top: 1px solid #cdd8ee; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #8a96ac; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #cc6622; }
+.DlCalendar td.WeekEnd { color: #cc6622; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #eeaa66; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #8aa3bc; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #82b3d5; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #82b3d5; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #dee9ff; margin-top: 1em;
+ -moz-border-top-colors: #5889ac #ffeeff;
+ -moz-border-bottom-colors: #ffeeff #5889ac;
+ -moz-border-left-colors: #5889ac #ffeeff;
+ -moz-border-right-colors: #ffeeff #5889ac;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #bcd5ee;
+ padding: 1px 7px; border: 1px solid #6d9ec1; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #9bbfee; }
+.DlPopup-scrollDown { border-top: 1px solid #9bbfee; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #9bbfee; background-color: #ecf2fc; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #fffee0;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #333210;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #ecf2fc;
+ border: 1px solid #698dbc;
+}
+
+.DlPopupMenu {
+ background-color: #ecf2fc;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #698dbc; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #c0dcff #c0dcff #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #ecf2fc;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #c0dcff #c0dcff #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #97c7ea; color: #000000; }
+.DlMenuItem-hover { background-color: #4497c1; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #4497c1; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #47687f; }
+.DlTabs .TabBar .DlButton-1 { background-color: #c9e1f8; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #97c7ea; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #c9e1f8; }
+.DlTabs .TabContent { border: 1px solid #47687f; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #97c7ea; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #acc5de;
+ border: 1px solid #6d9ec1;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #69829b; -moz-border-radius: 15px; padding: 4px; background-color: #dee9ff; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #6d9ec1;
+ background-color: #dee9ff;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #6d9ec1;
+ background-color: #dee9ff;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #6d9ec1;
+ background-color: #dee9ff;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #6d9ec1;
+ background-color: #dee9ff;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #6d9ec1;
+ background-color: #dee9ff;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #bcc7de; background-color: #dee9ff; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #bcd5ee; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #ffeeff #69829b #69829b #ffeeff;
+
+ background-color: #bcd5ee;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #97c7ea; border-color: #ffffff #8a96ac #8a96ac #ffffff; background-color: #d9e9ff; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #97c7ea; border-color: #8a96ac #ffffff #ffffff #8a96ac; background-color: #b0bed1; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #47687f; background-color: #bfcde1; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #c9e1f8; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #97c7ea; border-color: #ffffff #8a96ac #8a96ac #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #8a96ac #ffffff #ffffff #8a96ac; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #8a96ac #ffffff #ffffff #8a96ac; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #5889ac;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #cde6ff; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #6d9ec1;
+ background-color: #dee9ff;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #6d9ec1;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #2395e7; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #2395e7; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #2395e7; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #2395e7; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #4497c1; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #4497c1; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #dde2ec; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #5889ac; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #acdcff #ffffff #ffffff #acdcff; }
+
+
+
+.DlDataGrid { position: relative; background-color: #f0f5ff; border: 1px solid #47687f; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #bcd5ee; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #ff0000; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #8aa3bc; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #49b1e5; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #cde6ff; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #9defff; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #c9e1f8; border: 1px solid #97c7ea; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #cde6ff; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #002c35; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b2b7c1; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #4497c1; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #b9d8f8; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #7a859b; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #c9d0d9 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #3b76b3; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #35506b;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #7a859b;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #5b636c; color: #ffffff; border-color: #35506b; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #69829b #ffeeff #ffeeff #69829b; padding: 1px 4px; background-color: #bcd5ee; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #ff0000;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #5889ac #5889ac #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #5889ac #ffffff #ffffff #5889ac; }
+.Dl-3D-Border-Dark { border: 1px solid #5889ac; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-ds.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-ds.css.svn-base
new file mode 100644
index 0000000..b879935
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-ds.css.svn-base
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #d1c9e2;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #a39bbc #71688b #71688b #a39bbc; background-color: #d1c9e2; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #fbf2fb #b4accd #b4accd #fbf2fb; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #a39bbc #71688b #71688b #a39bbc; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #bcbcde #bcbcde #ffffff; }
+.DlButton-active { border-color: #71688b #a39bbc #a39bbc #71688b; background-color: #eae2f5; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #c5bcde #fbf2fb #fbf2fb #c5bcde; }
+.DlButton-1 { border-color: #71688b #b4accd #b4accd #71688b; background-color: #eae7f2; }
+.DlButton-1 .DlButton-inner { border-color: #c5bcde #ffffff #ffffff #c5bcde; }
+.DlButton-hover { background-color: #e2daf3; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #d1c9e2; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #9f97b0 #71688b #71688b #9f97b0; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #60587b #2e254a #2e254a #60587b; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #7a7182; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #7a7182; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #e4dcf3; }
+.DlCheckbox-active { background: #eae2f5 url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #7a7182; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #7a7182; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #e4dcf3; }
+.DlRadioButton-active { background: #eae2f5 url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #71688b #a39bbc #a39bbc #71688b; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #fbf2fb #fbf2fb #fbf2fb #fbf2fb; background-color: #f2edf9; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #f2edf9;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #71688b; outline: 1px solid #9f97b0; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #a0bcdf; color: #000000; }
+.DlEntry-ValidationError { border-color: #bf5340; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #f2d9df; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #f2d9df; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #e2daf3; border-bottom-color: #eee6f7; border-right-color: #eee6f7; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #e2daf3; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #9b93a3; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #9b93a3;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #8a82b4; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #d1c9e2 url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #9b93a3;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #71688b; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #8a82b4; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #a39bbc; background: #f2edf9; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #cec9ed; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #71688b #fbf2fb #fbf2fb #71688b;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #f4f0f8; }
+.DlCalendar-disabled { background-color: #e5e1e8; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #71688b; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #cdc5d5; background-color: #e5e1e8; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #cdc5d5; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #cdc5d5; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #7e768f; background-color: #e5e1e8; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #9f97b0; }
+.DlCalendar tr.Dates td.Today { color: #978fda; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #71688b; color: #7a7182; background-color: #e5e1e8; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #71688b; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #8a82b4; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #8a82b4; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #bcb4c5; padding: 1px 2px 1px 1px; background-color: #e2daf3 !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #ded5e6; border-top: 1px solid #ded5e6; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #9b93a3; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #a26e4c; }
+.DlCalendar td.WeekEnd { color: #a26e4c; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #ccaa88; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #9f97b0; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #b4accd; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #b4accd; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #eee6f7; margin-top: 1em;
+ -moz-border-top-colors: #938aac #fbf2fb;
+ -moz-border-bottom-colors: #fbf2fb #938aac;
+ -moz-border-left-colors: #938aac #fbf2fb;
+ -moz-border-right-colors: #fbf2fb #938aac;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #d1c9e2;
+ padding: 1px 7px; border: 1px solid #a39bbc; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #c1b0da; }
+.DlPopup-scrollDown { border-top: 1px solid #c1b0da; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #c1b0da; background-color: #f4f0f8; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #f7f7e8;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #2a2a19;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #f4f0f8;
+ border: 1px solid #8f7ea8;
+}
+
+.DlPopupMenu {
+ background-color: #f4f0f8;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #8f7ea8; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #dcd0ef #dcd0ef #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #f4f0f8;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #dcd0ef #dcd0ef #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #c5bcde; color: #000000; }
+.DlMenuItem-hover { background-color: #8a82b4; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #8a82b4; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #71688b; }
+.DlTabs .TabBar .DlButton-1 { background-color: #ddd5ec; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #c5bcde; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #ddd5ec; }
+.DlTabs .TabContent { border: 1px solid #71688b; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #c5bcde; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #c1b8d1;
+ border: 1px solid #a39bbc;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #7e768f; -moz-border-radius: 15px; padding: 4px; background-color: #eee6f7; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #a39bbc;
+ background-color: #eee6f7;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #a39bbc;
+ background-color: #eee6f7;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #a39bbc;
+ background-color: #eee6f7;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #a39bbc;
+ background-color: #eee6f7;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #a39bbc;
+ background-color: #eee6f7;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #cdc5d5; background-color: #eee6f7; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #d1c9e2; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #fbf2fb #7e768f #7e768f #fbf2fb;
+
+ background-color: #d1c9e2;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #c5bcde; border-color: #ffffff #9b93a3 #9b93a3 #ffffff; background-color: #eae2f5; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #c5bcde; border-color: #9b93a3 #ffffff #ffffff #9b93a3; background-color: #bfb8c9; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #71688b; background-color: #cfc8d8; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #ddd5ec; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #c5bcde; border-color: #ffffff #9b93a3 #9b93a3 #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #9b93a3 #ffffff #ffffff #9b93a3; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #9b93a3 #ffffff #ffffff #9b93a3; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #938aac;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #e2daf3; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #a39bbc;
+ background-color: #eee6f7;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #a39bbc;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #9b8acd; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #9b8acd; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #9b8acd; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #9b8acd; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #8a82b4; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #8a82b4; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #e5e1e8; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #938aac; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #d5cdee #ffffff #ffffff #d5cdee; }
+
+
+
+.DlDataGrid { position: relative; background-color: #f8f4fb; border: 1px solid #71688b; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #d1c9e2; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #bf4040; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #9f97b0; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #aca3d5; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #e2daf3; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #dadaf3; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #ddd5ec; border: 1px solid #c5bcde; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #e2daf3; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #4444c1; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b9b6bd; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #8a82b4; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #d4c9e8; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #8a8293; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #d0cdd5 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #8977ae; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #4c435e;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #8a8293;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #625f67; color: #ffffff; border-color: #4c435e; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #7e768f #fbf2fb #fbf2fb #7e768f; padding: 1px 4px; background-color: #d1c9e2; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #bf4040;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #938aac #938aac #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #938aac #ffffff #ffffff #938aac; }
+.Dl-3D-Border-Dark { border: 1px solid #938aac; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-green-ds.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-green-ds.css.svn-base
new file mode 100644
index 0000000..f9ba3ea
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-green-ds.css.svn-base
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #b4d1aa;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #749664 #54654c #54654c #749664; background-color: #b4d1aa; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #fbf2fb #8db17d #8db17d #fbf2fb; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #749664 #54654c #54654c #749664; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #a2be7d #a2be7d #ffffff; }
+.DlButton-active { border-color: #54654c #749664 #749664 #54654c; background-color: #dff3db; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #a7cb97 #fbf2fb #fbf2fb #a7cb97; }
+.DlButton-1 { border-color: #54654c #8db17d #8db17d #54654c; background-color: #e9f2e7; }
+.DlButton-1 .DlButton-inner { border-color: #a7cb97 #ffffff #ffffff #a7cb97; }
+.DlButton-hover { background-color: #c1e7b6; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #b4d1aa; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #849c7d #54654c #54654c #849c7d; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #404f38 #121c0e #121c0e #404f38; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #728271; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #728271; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #d0edc8; }
+.DlCheckbox-active { background: #dff3db url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #728271; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #728271; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #d0edc8; }
+.DlRadioButton-active { background: #dff3db url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #54654c #749664 #749664 #54654c; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #fbf2fb #fbf2fb #fbf2fb #fbf2fb; background-color: #eff9ed; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #eff9ed;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #54654c; outline: 1px solid #849c7d; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #a0bcdf; color: #000000; }
+.DlEntry-ValidationError { border-color: #bf5340; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #f2d9df; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #f2d9df; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #c1e7b6; border-bottom-color: #e7f7e6; border-right-color: #e7f7e6; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #c1e7b6; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #94a393; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #94a393;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #5e7c4a; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #b4d1aa url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #94a393;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #54654c; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #5e7c4a; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #749664; background: #eff9ed; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #a2d37c; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #54654c #fbf2fb #fbf2fb #54654c;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #f1f8f0; }
+.DlCalendar-disabled { background-color: #e1e8e1; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #54654c; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #c6d5c5; background-color: #e1e8e1; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #c6d5c5; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #c6d5c5; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #5e6d59; background-color: #e1e8e1; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #849c7d; }
+.DlCalendar tr.Dates td.Today { color: #507d2a; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #54654c; color: #728271; background-color: #e1e8e1; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #54654c; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #5e7c4a; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #5e7c4a; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #b5c5b4; padding: 1px 2px 1px 1px; background-color: #c1e7b6 !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #d6e6d5; border-top: 1px solid #d6e6d5; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #94a393; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #a26e4c; }
+.DlCalendar td.WeekEnd { color: #a26e4c; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #ccaa88; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #849c7d; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #8db17d; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #8db17d; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #e7f7e6; margin-top: 1em;
+ -moz-border-top-colors: #7a976d #fbf2fb;
+ -moz-border-bottom-colors: #fbf2fb #7a976d;
+ -moz-border-left-colors: #7a976d #fbf2fb;
+ -moz-border-right-colors: #fbf2fb #7a976d;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #b4d1aa;
+ padding: 1px 7px; border: 1px solid #749664; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #8ec483; }
+.DlPopup-scrollDown { border-top: 1px solid #8ec483; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #8ec483; background-color: #f1f8f0; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #f7f7e8;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #2a2a19;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #f1f8f0;
+ border: 1px solid #688f61;
+}
+
+.DlPopupMenu {
+ background-color: #f1f8f0;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #688f61; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #aee0a3 #aee0a3 #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #f1f8f0;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #aee0a3 #aee0a3 #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #a7cb97; color: #000000; }
+.DlMenuItem-hover { background-color: #5e7c4a; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #5e7c4a; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #54654c; }
+.DlTabs .TabBar .DlButton-1 { background-color: #c6e2bd; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #a7cb97; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #c6e2bd; }
+.DlTabs .TabContent { border: 1px solid #54654c; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #a7cb97; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #aec6a7;
+ border: 1px solid #749664;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #5e6d59; -moz-border-radius: 15px; padding: 4px; background-color: #e7f7e6; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #749664;
+ background-color: #e7f7e6;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #749664;
+ background-color: #e7f7e6;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #749664;
+ background-color: #e7f7e6;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #749664;
+ background-color: #e7f7e6;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #749664;
+ background-color: #e7f7e6;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #c6d5c5; background-color: #e7f7e6; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #b4d1aa; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #fbf2fb #5e6d59 #5e6d59 #fbf2fb;
+
+ background-color: #b4d1aa;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #a7cb97; border-color: #ffffff #94a393 #94a393 #ffffff; background-color: #dff3db; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #a7cb97; border-color: #94a393 #ffffff #ffffff #94a393; background-color: #a9bba6; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #54654c; background-color: #bdcfba; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #c6e2bd; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #a7cb97; border-color: #ffffff #94a393 #94a393 #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #94a393 #ffffff #ffffff #94a393; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #94a393 #ffffff #ffffff #94a393; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #7a976d;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #c1e7b6; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #749664;
+ background-color: #e7f7e6;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #749664;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #57903e; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #57903e; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #57903e; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #57903e; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #5e7c4a; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #5e7c4a; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #e1e8e1; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #7a976d; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #9fd685 #ffffff #ffffff #9fd685; }
+
+
+
+.DlDataGrid { position: relative; background-color: #f4fbf4; border: 1px solid #54654c; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #b4d1aa; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #bf4040; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #849c7d; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #74ac4e; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #c1e7b6; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #b8d98d; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #c6e2bd; border: 1px solid #a7cb97; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #c1e7b6; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #1c270d; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b6bdb6; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #5e7c4a; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #b6dcab; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #839382; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #cfd5cd url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #537848; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #2e3a2a;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #839382;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #61675f; color: #ffffff; border-color: #2e3a2a; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #5e6d59 #fbf2fb #fbf2fb #5e6d59; padding: 1px 4px; background-color: #b4d1aa; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #bf4040;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #7a976d #7a976d #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #7a976d #ffffff #ffffff #7a976d; }
+.Dl-3D-Border-Dark { border: 1px solid #7a976d; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-green.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-green.css.svn-base
new file mode 100644
index 0000000..24bda66
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-green.css.svn-base
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #a9e597;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #6baf4b #4f723f #4f723f #6baf4b; background-color: #a9e597; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #ffeeff #84cb63 #84cb63 #ffeeff; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #6baf4b #4f723f #4f723f #6baf4b; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #a6de5c #a6de5c #ffffff; }
+.DlButton-active { border-color: #4f723f #6baf4b #6baf4b #4f723f; background-color: #d7ffcf; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #9ee57d #ffeeff #ffeeff #9ee57d; }
+.DlButton-1 { border-color: #4f723f #84cb63 #84cb63 #4f723f; background-color: #e6f8e1; }
+.DlButton-1 .DlButton-inner { border-color: #9ee57d #ffffff #ffffff #9ee57d; }
+.DlButton-hover { background-color: #b4ff9d; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #a9e597; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #7cac6d #4f723f #4f723f #7cac6d; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #3b5a2d #102307 #102307 #3b5a2d; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #6b8b68; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #6b8b68; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #c7ffb6; }
+.DlCheckbox-active { background: #d7ffcf url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #6b8b68; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #6b8b68; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #c7ffb6; }
+.DlRadioButton-active { background: #d7ffcf url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #4f723f #6baf4b #6baf4b #4f723f; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #ffeeff #ffeeff #ffeeff #ffeeff; background-color: #ebffe7; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #ebffe7;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #4f723f; outline: 1px solid #7cac6d; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #80b9ff; color: #000000; }
+.DlEntry-ValidationError { border-color: #ff2600; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #ffccd9; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #ffccd9; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #b4ff9d; border-bottom-color: #e0ffde; border-right-color: #e0ffde; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #b4ff9d; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #8dac8a; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #8dac8a;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #599431; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #a9e597 url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #8dac8a;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #4f723f; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #599431; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #6baf4b; background: #ebffe7; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #9bff50; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #4f723f #ffeeff #ffeeff #4f723f;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #edfcec; }
+.DlCalendar-disabled { background-color: #deecdd; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #4f723f; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #bfdebc; background-color: #deecdd; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #bfdebc; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #bfdebc; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #58774f; background-color: #deecdd; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #7cac6d; }
+.DlCalendar tr.Dates td.Today { color: #4ca700; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #4f723f; color: #6b8b68; background-color: #deecdd; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #4f723f; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #599431; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #599431; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #aecdac; padding: 1px 2px 1px 1px; background-color: #b4ff9d !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #cfeecd; border-top: 1px solid #cfeecd; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #8dac8a; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #cc6622; }
+.DlCalendar td.WeekEnd { color: #cc6622; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #eeaa66; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #7cac6d; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #84cb63; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #84cb63; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #e0ffde; margin-top: 1em;
+ -moz-border-top-colors: #73ac58 #ffeeff;
+ -moz-border-bottom-colors: #ffeeff #73ac58;
+ -moz-border-left-colors: #73ac58 #ffeeff;
+ -moz-border-right-colors: #ffeeff #73ac58;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #a9e597;
+ padding: 1px 7px; border: 1px solid #6baf4b; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #79e563; }
+.DlPopup-scrollDown { border-top: 1px solid #79e563; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #79e563; background-color: #edfcec; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #fffee0;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #333210;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #edfcec;
+ border: 1px solid #59a64a;
+}
+
+.DlPopupMenu {
+ background-color: #edfcec;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #59a64a; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #9aff85 #9aff85 #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #edfcec;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #9aff85 #9aff85 #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #9ee57d; color: #000000; }
+.DlMenuItem-hover { background-color: #599431; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #599431; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #4f723f; }
+.DlTabs .TabBar .DlButton-1 { background-color: #bcf4ab; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #9ee57d; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #bcf4ab; }
+.DlTabs .TabContent { border: 1px solid #4f723f; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #9ee57d; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #a5d597;
+ border: 1px solid #6baf4b;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #58774f; -moz-border-radius: 15px; padding: 4px; background-color: #e0ffde; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #6baf4b;
+ background-color: #e0ffde;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #6baf4b;
+ background-color: #e0ffde;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #6baf4b;
+ background-color: #e0ffde;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #6baf4b;
+ background-color: #e0ffde;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #6baf4b;
+ background-color: #e0ffde;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #bfdebc; background-color: #e0ffde; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #a9e597; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #ffeeff #58774f #58774f #ffeeff;
+
+ background-color: #a9e597;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #9ee57d; border-color: #ffffff #8dac8a #8dac8a #ffffff; background-color: #d7ffcf; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #9ee57d; border-color: #8dac8a #ffffff #ffffff #8dac8a; background-color: #a2c59c; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #4f723f; background-color: #b6d9af; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #bcf4ab; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #9ee57d; border-color: #ffffff #8dac8a #8dac8a #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #8dac8a #ffffff #ffffff #8dac8a; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #8dac8a #ffffff #ffffff #8dac8a; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #73ac58;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #b4ff9d; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #6baf4b;
+ background-color: #e0ffde;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #6baf4b;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #48b915; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #48b915; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #48b915; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #48b915; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #599431; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #599431; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #deecdd; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #73ac58; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #90ff5c #ffffff #ffffff #90ff5c; }
+
+
+
+.DlDataGrid { position: relative; background-color: #f1fff0; border: 1px solid #4f723f; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #a9e597; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #ff0000; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #7cac6d; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #6adb1f; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #b4ff9d; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #bdff67; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #bcf4ab; border: 1px solid #9ee57d; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #b4ff9d; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #1e3500; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b3c1b2; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #599431; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #a8f492; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #7c9b7a; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #ccd9c9 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #45902f; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #294321;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #7c9b7a;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #5e6c5b; color: #ffffff; border-color: #294321; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #58774f #ffeeff #ffeeff #58774f; padding: 1px 4px; background-color: #a9e597; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #ff0000;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #73ac58 #73ac58 #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #73ac58 #ffffff #ffffff #73ac58; }
+.Dl-3D-Border-Dark { border: 1px solid #73ac58; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-grey.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-grey.css.svn-base
new file mode 100644
index 0000000..32837f8
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-grey.css.svn-base
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #d5d5d5;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #acacac #7a7a7a #7a7a7a #acacac; background-color: #d5d5d5; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #f7f6f7 #bcbcbc #bcbcbc #f7f6f7; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #acacac #7a7a7a #7a7a7a #acacac; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #cdcdcd #cdcdcd #ffffff; }
+.DlButton-active { border-color: #7a7a7a #acacac #acacac #7a7a7a; background-color: #ececec; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #cdcdcd #f7f6f7 #f7f6f7 #cdcdcd; }
+.DlButton-1 { border-color: #7a7a7a #bcbcbc #bcbcbc #7a7a7a; background-color: #ececec; }
+.DlButton-1 .DlButton-inner { border-color: #cdcdcd #ffffff #ffffff #cdcdcd; }
+.DlButton-hover { background-color: #e6e6e6; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #d5d5d5; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #a3a3a3 #7a7a7a #7a7a7a #a3a3a3; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #696969 #373737 #373737 #696969; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #7a7a7a; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #7a7a7a; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #e7e7e7; }
+.DlCheckbox-active { background: #ececec url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #7a7a7a; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #7a7a7a; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #e7e7e7; }
+.DlRadioButton-active { background: #ececec url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #7a7a7a #acacac #acacac #7a7a7a; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #f7f6f7 #f7f6f7 #f7f6f7 #f7f6f7; background-color: #f3f3f3; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #f3f3f3;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #7a7a7a; outline: 1px solid #a3a3a3; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #bfbfc0; color: #000000; }
+.DlEntry-ValidationError { border-color: #7f7f7f; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #e6e5e6; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #e6e5e6; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #e6e6e6; border-bottom-color: #eeeeee; border-right-color: #eeeeee; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #e6e6e6; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #9b9b9b; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #9b9b9b;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #9b9b9b; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #d5d5d5 url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #9b9b9b;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #7a7a7a; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #9b9b9b; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #acacac; background: #f3f3f3; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #dbdbdb; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #7a7a7a #f7f6f7 #f7f6f7 #7a7a7a;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #f4f4f4; }
+.DlCalendar-disabled { background-color: #e5e5e5; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #7a7a7a; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #cdcdcd; background-color: #e5e5e5; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #cdcdcd; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #cdcdcd; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #828282; background-color: #e5e5e5; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #a3a3a3; }
+.DlCalendar tr.Dates td.Today { color: #b4b4b4; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #7a7a7a; color: #7a7a7a; background-color: #e5e5e5; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #7a7a7a; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #9b9b9b; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #9b9b9b; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #bcbcbc; padding: 1px 2px 1px 1px; background-color: #e6e6e6 !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #dedede; border-top: 1px solid #dedede; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #9b9b9b; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #777777; }
+.DlCalendar td.WeekEnd { color: #777777; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #aaaaaa; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #a3a3a3; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #bcbcbc; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #bcbcbc; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #eeeeee; margin-top: 1em;
+ -moz-border-top-colors: #9b9b9b #f7f6f7;
+ -moz-border-bottom-colors: #f7f6f7 #9b9b9b;
+ -moz-border-left-colors: #9b9b9b #f7f6f7;
+ -moz-border-right-colors: #f7f6f7 #9b9b9b;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #d5d5d5;
+ padding: 1px 7px; border: 1px solid #acacac; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #c5c5c5; }
+.DlPopup-scrollDown { border-top: 1px solid #c5c5c5; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #c5c5c5; background-color: #f4f4f4; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #f0efef;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #212121;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #f4f4f4;
+ border: 1px solid #939393;
+}
+
+.DlPopupMenu {
+ background-color: #f4f4f4;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #939393; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #e0e0e0 #e0e0e0 #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #f4f4f4;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #e0e0e0 #e0e0e0 #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #cdcdcd; color: #000000; }
+.DlMenuItem-hover { background-color: #9b9b9b; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #9b9b9b; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #7a7a7a; }
+.DlTabs .TabBar .DlButton-1 { background-color: #e1e1e1; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #cdcdcd; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #e1e1e1; }
+.DlTabs .TabContent { border: 1px solid #7a7a7a; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #cdcdcd; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #c5c5c5;
+ border: 1px solid #acacac;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #828282; -moz-border-radius: 15px; padding: 4px; background-color: #eeeeee; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #acacac;
+ background-color: #eeeeee;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #acacac;
+ background-color: #eeeeee;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #acacac;
+ background-color: #eeeeee;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #acacac;
+ background-color: #eeeeee;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #acacac;
+ background-color: #eeeeee;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #cdcdcd; background-color: #eeeeee; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #d5d5d5; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #f7f6f7 #828282 #828282 #f7f6f7;
+
+ background-color: #d5d5d5;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #cdcdcd; border-color: #ffffff #9b9b9b #9b9b9b #ffffff; background-color: #ececec; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #cdcdcd; border-color: #9b9b9b #ffffff #ffffff #9b9b9b; background-color: #c0c0c0; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #7a7a7a; background-color: #d0d0d0; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #e1e1e1; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #cdcdcd; border-color: #ffffff #9b9b9b #9b9b9b #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #9b9b9b #ffffff #ffffff #9b9b9b; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #9b9b9b #ffffff #ffffff #9b9b9b; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #9b9b9b;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #e6e6e6; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #acacac;
+ background-color: #eeeeee;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #acacac;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #acacac; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #acacac; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #acacac; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #acacac; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #9b9b9b; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #9b9b9b; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #e5e5e5; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #9b9b9b; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #dedede #ffffff #ffffff #dedede; }
+
+
+
+.DlDataGrid { position: relative; background-color: #f8f8f8; border: 1px solid #7a7a7a; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #d5d5d5; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #7f7f7f; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #a3a3a3; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #bcbcbc; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #e6e6e6; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #e6e6e6; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #e1e1e1; border: 1px solid #cdcdcd; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #e6e6e6; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #828282; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b9b9b9; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #9b9b9b; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #d9d9d9; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #8a8a8a; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #d1d1d1 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #929292; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #888888; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #505050;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #8a8a8a;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #636363; color: #ffffff; border-color: #505050; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #888888; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #828282 #f7f6f7 #f7f6f7 #828282; padding: 1px 4px; background-color: #d5d5d5; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #7f7f7f;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #9b9b9b #9b9b9b #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #9b9b9b #ffffff #ffffff #9b9b9b; }
+.Dl-3D-Border-Dark { border: 1px solid #9b9b9b; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-magenta-ds.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-magenta-ds.css.svn-base
new file mode 100644
index 0000000..626ee96
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-magenta-ds.css.svn-base
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #dec9e2;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #b59bbc #83688b #83688b #b59bbc; background-color: #dec9e2; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #fbf2fb #c5accd #c5accd #fbf2fb; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #b59bbc #83688b #83688b #b59bbc; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #cebcde #cebcde #ffffff; }
+.DlButton-active { border-color: #83688b #b59bbc #b59bbc #83688b; background-color: #f4e2f5; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #d6bcde #fbf2fb #fbf2fb #d6bcde; }
+.DlButton-1 { border-color: #83688b #c5accd #c5accd #83688b; background-color: #f1e7f2; }
+.DlButton-1 .DlButton-inner { border-color: #d6bcde #ffffff #ffffff #d6bcde; }
+.DlButton-hover { background-color: #efdaf3; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #dec9e2; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #ac97b0 #83688b #83688b #ac97b0; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #72587b #41254a #41254a #72587b; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #827182; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #827182; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #f0dcf3; }
+.DlCheckbox-active { background: #f4e2f5 url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #827182; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #827182; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #f0dcf3; }
+.DlRadioButton-active { background: #f4e2f5 url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #83688b #b59bbc #b59bbc #83688b; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #fbf2fb #fbf2fb #fbf2fb #fbf2fb; background-color: #f8edf9; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #f8edf9;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #83688b; outline: 1px solid #ac97b0; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #a0bcdf; color: #000000; }
+.DlEntry-ValidationError { border-color: #bf5340; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #f2d9df; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #f2d9df; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #efdaf3; border-bottom-color: #f7e6f6; border-right-color: #f7e6f6; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #efdaf3; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #a393a3; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #a393a3;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #956da7; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #dec9e2 url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #a393a3;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #83688b; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #956da7; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #b59bbc; background: #f8edf9; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #e1c9ed; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #83688b #fbf2fb #fbf2fb #83688b;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #f8f0f8; }
+.DlCalendar-disabled { background-color: #e8e1e8; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #83688b; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #d5c5d5; background-color: #e8e1e8; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #d5c5d5; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #d5c5d5; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #8b768f; background-color: #e8e1e8; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #ac97b0; }
+.DlCalendar tr.Dates td.Today { color: #ad72d0; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #83688b; color: #827182; background-color: #e8e1e8; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #83688b; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #956da7; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #956da7; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #c5b4c4; padding: 1px 2px 1px 1px; background-color: #efdaf3 !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #e6d5e6; border-top: 1px solid #e6d5e6; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #a393a3; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #a26e4c; }
+.DlCalendar td.WeekEnd { color: #a26e4c; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #ccaa88; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #ac97b0; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #c5accd; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #c5accd; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #f7e6f6; margin-top: 1em;
+ -moz-border-top-colors: #a48aac #fbf2fb;
+ -moz-border-bottom-colors: #fbf2fb #a48aac;
+ -moz-border-left-colors: #a48aac #fbf2fb;
+ -moz-border-right-colors: #fbf2fb #a48aac;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #dec9e2;
+ padding: 1px 7px; border: 1px solid #b59bbc; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #cc9cd0; }
+.DlPopup-scrollDown { border-top: 1px solid #cc9cd0; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #cc9cd0; background-color: #f8f0f8; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #f7f7e8;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #2a2a19;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #f8f0f8;
+ border: 1px solid #946899;
+}
+
+.DlPopupMenu {
+ background-color: #f8f0f8;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #946899; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #ecd0ef #ecd0ef #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #f8f0f8;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #ecd0ef #ecd0ef #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #d6bcde; color: #000000; }
+.DlMenuItem-hover { background-color: #956da7; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #956da7; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #83688b; }
+.DlTabs .TabBar .DlButton-1 { background-color: #e9d5ec; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #d6bcde; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #e9d5ec; }
+.DlTabs .TabContent { border: 1px solid #83688b; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #d6bcde; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #cdb8d1;
+ border: 1px solid #b59bbc;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #8b768f; -moz-border-radius: 15px; padding: 4px; background-color: #f7e6f6; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #b59bbc;
+ background-color: #f7e6f6;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #b59bbc;
+ background-color: #f7e6f6;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #b59bbc;
+ background-color: #f7e6f6;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #b59bbc;
+ background-color: #f7e6f6;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #b59bbc;
+ background-color: #f7e6f6;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #d5c5d5; background-color: #f7e6f6; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #dec9e2; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #fbf2fb #8b768f #8b768f #fbf2fb;
+
+ background-color: #dec9e2;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #d6bcde; border-color: #ffffff #a393a3 #a393a3 #ffffff; background-color: #f4e2f5; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #d6bcde; border-color: #a393a3 #ffffff #ffffff #a393a3; background-color: #c7b8c9; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #83688b; background-color: #d7c8d8; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #e9d5ec; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #d6bcde; border-color: #ffffff #a393a3 #a393a3 #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #a393a3 #ffffff #ffffff #a393a3; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #a393a3 #ffffff #ffffff #a393a3; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #a48aac;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #efdaf3; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #b59bbc;
+ background-color: #f7e6f6;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #b59bbc;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #ad6dc1; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #ad6dc1; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #ad6dc1; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #ad6dc1; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #956da7; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #956da7; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #e8e1e8; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #a48aac; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #e7cdee #ffffff #ffffff #e7cdee; }
+
+
+
+.DlDataGrid { position: relative; background-color: #fbf4fb; border: 1px solid #83688b; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #dec9e2; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #bf4040; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #ac97b0; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #b78dcb; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #efdaf3; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #e6daf3; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #e9d5ec; border: 1px solid #d6bcde; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #efdaf3; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #3d1e5a; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #bdb6bd; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #956da7; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #e4c9e8; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #938292; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #d4cdd5 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #8c5995; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #59435e;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #938292;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #665f67; color: #ffffff; border-color: #59435e; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #8b768f #fbf2fb #fbf2fb #8b768f; padding: 1px 4px; background-color: #dec9e2; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #bf4040;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #a48aac #a48aac #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #a48aac #ffffff #ffffff #a48aac; }
+.Dl-3D-Border-Dark { border: 1px solid #a48aac; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-magenta.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-magenta.css.svn-base
new file mode 100644
index 0000000..3a07dab
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-magenta.css.svn-base
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #e7bcee;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #bd8acd #8c579d #8c579d #bd8acd; background-color: #e7bcee; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #ffeeff #ce9bde #ce9bde #ffeeff; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #bd8acd #8c579d #8c579d #bd8acd; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #ceacee #ceacee #ffffff; }
+.DlButton-active { border-color: #8c579d #bd8acd #bd8acd #8c579d; background-color: #fcd9ff; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #dfacee #ffeeff #ffeeff #dfacee; }
+.DlButton-1 { border-color: #8c579d #ce9bde #ce9bde #8c579d; background-color: #f5e1f8; }
+.DlButton-1 .DlButton-inner { border-color: #dfacee #ffffff #ffffff #dfacee; }
+.DlButton-hover { background-color: #f8cdff; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #e7bcee; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #b58abc #8c579d #8c579d #b58abc; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #7c468c #4b125c #4b125c #7c468c; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #8b688b; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #8b688b; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #f8d0ff; }
+.DlCheckbox-active { background: #fcd9ff url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #8b688b; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #8b688b; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #f8d0ff; }
+.DlRadioButton-active { background: #fcd9ff url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #8c579d #bd8acd #bd8acd #8c579d; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #ffeeff #ffeeff #ffeeff #ffeeff; background-color: #fde7ff; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #fde7ff;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #8c579d; outline: 1px solid #b58abc; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #80b9ff; color: #000000; }
+.DlEntry-ValidationError { border-color: #ff2600; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #ffccd9; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #ffccd9; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #f8cdff; border-bottom-color: #ffdefe; border-right-color: #ffdefe; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #f8cdff; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #ac8aab; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #ac8aab;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #9f4fc4; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #e7bcee url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #ac8aab;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #8c579d; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #9f4fc4; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #bd8acd; background: #fde7ff; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #e6b7ff; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #8c579d #ffeeff #ffeeff #8c579d;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #fcecfc; }
+.DlCalendar-disabled { background-color: #ecddec; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #8c579d; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #debcdd; background-color: #ecddec; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #debcdd; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #debcdd; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #94699b; background-color: #ecddec; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #b58abc; }
+.DlCalendar tr.Dates td.Today { color: #b944ff; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #8c579d; color: #8b688b; background-color: #ecddec; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #8c579d; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #9f4fc4; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #9f4fc4; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #cdaccc; padding: 1px 2px 1px 1px; background-color: #f8cdff !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #eecdee; border-top: 1px solid #eecdee; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #ac8aab; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #cc6622; }
+.DlCalendar td.WeekEnd { color: #cc6622; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #eeaa66; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #b58abc; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #ce9bde; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #ce9bde; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #ffdefe; margin-top: 1em;
+ -moz-border-top-colors: #ad7abc #ffeeff;
+ -moz-border-bottom-colors: #ffeeff #ad7abc;
+ -moz-border-left-colors: #ad7abc #ffeeff;
+ -moz-border-right-colors: #ffeeff #ad7abc;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #e7bcee;
+ padding: 1px 7px; border: 1px solid #bd8acd; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #e282ea; }
+.DlPopup-scrollDown { border-top: 1px solid #e282ea; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #e282ea; background-color: #fcecfc; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #fffee0;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #333210;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #fcecfc;
+ border: 1px solid #a94fb1;
+}
+
+.DlPopupMenu {
+ background-color: #fcecfc;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #a94fb1; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #f9c0ff #f9c0ff #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #fcecfc;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #f9c0ff #f9c0ff #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #dfacee; color: #000000; }
+.DlMenuItem-hover { background-color: #9f4fc4; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #9f4fc4; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #8c579d; }
+.DlTabs .TabBar .DlButton-1 { background-color: #f1c9f8; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #dfacee; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #f1c9f8; }
+.DlTabs .TabContent { border: 1px solid #8c579d; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #dfacee; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #d6acde;
+ border: 1px solid #bd8acd;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #94699b; -moz-border-radius: 15px; padding: 4px; background-color: #ffdefe; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #bd8acd;
+ background-color: #ffdefe;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #bd8acd;
+ background-color: #ffdefe;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #bd8acd;
+ background-color: #ffdefe;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #bd8acd;
+ background-color: #ffdefe;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #bd8acd;
+ background-color: #ffdefe;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #debcdd; background-color: #ffdefe; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #e7bcee; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #ffeeff #94699b #94699b #ffeeff;
+
+ background-color: #e7bcee;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #dfacee; border-color: #ffffff #ac8aab #ac8aab #ffffff; background-color: #fcd9ff; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #dfacee; border-color: #ac8aab #ffffff #ffffff #ac8aab; background-color: #cfb0d1; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #8c579d; background-color: #debfe1; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #f1c9f8; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #dfacee; border-color: #ffffff #ac8aab #ac8aab #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #ac8aab #ffffff #ffffff #ac8aab; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #ac8aab #ffffff #ffffff #ac8aab; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #ad7abc;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #f8cdff; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #bd8acd;
+ background-color: #ffdefe;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #bd8acd;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #c344ea; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #c344ea; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #c344ea; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #c344ea; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #9f4fc4; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #9f4fc4; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #ecddec; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #ad7abc; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #efbcff #ffffff #ffffff #efbcff; }
+
+
+
+.DlDataGrid { position: relative; background-color: #fff0fe; border: 1px solid #8c579d; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #e7bcee; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #ff0000; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #b58abc; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #c36dea; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #f8cdff; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #e7cdff; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #f1c9f8; border: 1px solid #dfacee; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #f8cdff; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #3e0078; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #c1b2c1; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #9f4fc4; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #efb9f8; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #9b7a9b; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #d7c9d9 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #a23bb3; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #63356b;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #9b7a9b;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #6a5b6c; color: #ffffff; border-color: #63356b; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #94699b #ffeeff #ffeeff #94699b; padding: 1px 4px; background-color: #e7bcee; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #ff0000;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #ad7abc #ad7abc #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #ad7abc #ffffff #ffffff #ad7abc; }
+.Dl-3D-Border-Dark { border: 1px solid #ad7abc; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-red-ds.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-red-ds.css.svn-base
new file mode 100644
index 0000000..b3cf6f4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-red-ds.css.svn-base
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #dbcbbb;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #ac9482 #65574c #65574c #ac9482; background-color: #dbcbbb; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #fbf2fb #c1a997 #c1a997 #fbf2fb; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #ac9482 #65574c #65574c #ac9482; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #d5b3ac #d5b3ac #ffffff; }
+.DlButton-active { border-color: #65574c #ac9482 #ac9482 #65574c; background-color: #f3e9db; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #cbad97 #fbf2fb #fbf2fb #cbad97; }
+.DlButton-1 { border-color: #65574c #c1a997 #c1a997 #65574c; background-color: #f2ede7; }
+.DlButton-1 .DlButton-inner { border-color: #cbad97 #ffffff #ffffff #cbad97; }
+.DlButton-hover { background-color: #ebd9c4; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #dbcbbb; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #9c8d7d #65574c #65574c #9c8d7d; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #5d4e42 #2f2218 #2f2218 #5d4e42; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #6a655c; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #6a655c; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #eddbc8; }
+.DlCheckbox-active { background: #f3e9db url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #6a655c; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #6a655c; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #eddbc8; }
+.DlRadioButton-active { background: #f3e9db url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #65574c #ac9482 #ac9482 #65574c; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #fbf2fb #fbf2fb #fbf2fb #fbf2fb; background-color: #f9f4ed; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #f9f4ed;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #65574c; outline: 1px solid #9c8d7d; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #a0bcdf; color: #000000; }
+.DlEntry-ValidationError { border-color: #bf5340; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #f2d9df; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #f2d9df; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #ebd9c4; border-bottom-color: #f5eee0; border-right-color: #f5eee0; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #ebd9c4; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #8d8678; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #8d8678;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #a17963; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #dbcbbb url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #8d8678;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #65574c; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #a17963; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #ac9482; background: #f9f4ed; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #e3bdab; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #65574c #fbf2fb #fbf2fb #65574c;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #f8f6f0; }
+.DlCalendar-disabled { background-color: #e8e6e1; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #65574c; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #cbc4b6; background-color: #e8e6e1; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #cbc4b6; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #cbc4b6; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #776d62; background-color: #e8e6e1; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #9c8d7d; }
+.DlCalendar tr.Dates td.Today { color: #c4724f; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #65574c; color: #6a655c; background-color: #e8e6e1; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #65574c; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #a17963; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #a17963; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #b6b0a1; padding: 1px 2px 1px 1px; background-color: #ebd9c4 !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #e0d9cb; border-top: 1px solid #e0d9cb; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #8d8678; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #a26e4c; }
+.DlCalendar td.WeekEnd { color: #a26e4c; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #ccaa88; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #9c8d7d; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #c1a997; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #c1a997; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #f5eee0; margin-top: 1em;
+ -moz-border-top-colors: #977f6d #fbf2fb;
+ -moz-border-bottom-colors: #fbf2fb #977f6d;
+ -moz-border-left-colors: #977f6d #fbf2fb;
+ -moz-border-right-colors: #fbf2fb #977f6d;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #dbcbbb;
+ padding: 1px 7px; border: 1px solid #ac9482; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #c4a983; }
+.DlPopup-scrollDown { border-top: 1px solid #c4a983; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #c4a983; background-color: #f8f6f0; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #f7f7e8;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #2a2a19;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #f8f6f0;
+ border: 1px solid #8f7c61;
+}
+
+.DlPopupMenu {
+ background-color: #f8f6f0;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #8f7c61; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #e0c6a3 #e0c6a3 #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #f8f6f0;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #e0c6a3 #e0c6a3 #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #cbad97; color: #000000; }
+.DlMenuItem-hover { background-color: #a17963; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #a17963; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #65574c; }
+.DlTabs .TabBar .DlButton-1 { background-color: #e8daca; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #cbad97; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #e8daca; }
+.DlTabs .TabContent { border: 1px solid #65574c; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #cbad97; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #c6b7a7;
+ border: 1px solid #ac9482;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #776d62; -moz-border-radius: 15px; padding: 4px; background-color: #f5eee0; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #ac9482;
+ background-color: #f5eee0;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #ac9482;
+ background-color: #f5eee0;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #ac9482;
+ background-color: #f5eee0;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #ac9482;
+ background-color: #f5eee0;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #ac9482;
+ background-color: #f5eee0;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #cbc4b6; background-color: #f5eee0; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #dbcbbb; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #fbf2fb #776d62 #776d62 #fbf2fb;
+
+ background-color: #dbcbbb;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #cbad97; border-color: #ffffff #8d8678 #8d8678 #ffffff; background-color: #f3e9db; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #cbad97; border-color: #8d8678 #ffffff #ffffff #8d8678; background-color: #bbb3a6; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #65574c; background-color: #cfc6ba; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #e8daca; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #cbad97; border-color: #ffffff #8d8678 #8d8678 #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #8d8678 #ffffff #ffffff #8d8678; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #8d8678 #ffffff #ffffff #8d8678; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #977f6d;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #ebd9c4; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #ac9482;
+ background-color: #f5eee0;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #ac9482;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #af764b; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #af764b; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #af764b; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #af764b; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #a17963; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #a17963; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #e8e6e1; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #977f6d; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #e5c7b1 #ffffff #ffffff #e5c7b1; }
+
+
+
+.DlDataGrid { position: relative; background-color: #fbf9f4; border: 1px solid #65574c; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #dbcbbb; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #bf4040; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #9c8d7d; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #be8b70; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #ebd9c4; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #efd6d0; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #e8daca; border: 1px solid #cbad97; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #ebd9c4; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #27120d; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #bdbbb6; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #a17963; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #dcc5ab; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #7f796e; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #d5d1cd url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #786148; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #493f34;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #7f796e;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #67645f; color: #ffffff; border-color: #493f34; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #776d62 #fbf2fb #fbf2fb #776d62; padding: 1px 4px; background-color: #dbcbbb; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #bf4040;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #977f6d #977f6d #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #977f6d #ffffff #ffffff #977f6d; }
+.Dl-3D-Border-Dark { border: 1px solid #977f6d; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-red.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-red.css.svn-base
new file mode 100644
index 0000000..e1e2890
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-red.css.svn-base
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #eaccac;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #c1916d #72553f #72553f #c1916d; background-color: #eaccac; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #ffeeff #d5a682 #d5a682 #ffeeff; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #c1916d #72553f #72553f #c1916d; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #eaa697 #eaa697 #ffffff; }
+.DlButton-active { border-color: #72553f #c1916d #c1916d #72553f; background-color: #ffeccf; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #e5aa7d #ffeeff #ffeeff #e5aa7d; }
+.DlButton-1 { border-color: #72553f #d5a682 #d5a682 #72553f; background-color: #f8ede1; }
+.DlButton-1 .DlButton-inner { border-color: #e5aa7d #ffffff #ffffff #e5aa7d; }
+.DlButton-hover { background-color: #ffd9b1; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #eaccac; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #ac8e6d #72553f #72553f #ac8e6d; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #6a4c35 #3b200c #3b200c #6a4c35; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #716855; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #716855; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #ffdbb6; }
+.DlCheckbox-active { background: #ffeccf url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #716855; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #716855; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #ffdbb6; }
+.DlRadioButton-active { background: #ffeccf url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #72553f #c1916d #c1916d #72553f; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #ffeeff #ffeeff #ffeeff #ffeeff; background-color: #fff5e7; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #fff5e7;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #72553f; outline: 1px solid #ac8e6d; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #80b9ff; color: #000000; }
+.DlEntry-ValidationError { border-color: #ff2600; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #ffccd9; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #ffccd9; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #ffd9b1; border-bottom-color: #fff2d5; border-right-color: #fff2d5; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #ffd9b1; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #978a6d; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #978a6d;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #c16f44; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #eaccac url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #978a6d;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #72553f; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #c16f44; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #c1916d; background: #fff5e7; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #ffb38f; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #72553f #ffeeff #ffeeff #72553f;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #fcf7ec; }
+.DlCalendar-disabled { background-color: #ece7dd; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #72553f; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #d5c8ac; background-color: #ece7dd; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #d5c8ac; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #d5c8ac; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #826d57; background-color: #ece7dd; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #ac8e6d; }
+.DlCalendar tr.Dates td.Today { color: #ff5a15; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #72553f; color: #716855; background-color: #ece7dd; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #72553f; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #c16f44; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #c16f44; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #c1b397; padding: 1px 2px 1px 1px; background-color: #ffd9b1 !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #eaddc1; border-top: 1px solid #eaddc1; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #978a6d; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #cc6622; }
+.DlCalendar td.WeekEnd { color: #cc6622; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #eeaa66; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #ac8e6d; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #d5a682; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #d5a682; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #fff2d5; margin-top: 1em;
+ -moz-border-top-colors: #ac7d58 #ffeeff;
+ -moz-border-bottom-colors: #ffeeff #ac7d58;
+ -moz-border-left-colors: #ac7d58 #ffeeff;
+ -moz-border-right-colors: #ffeeff #ac7d58;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #eaccac;
+ padding: 1px 7px; border: 1px solid #c1916d; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #e5af63; }
+.DlPopup-scrollDown { border-top: 1px solid #e5af63; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #e5af63; background-color: #fcf7ec; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #fffee0;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #333210;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #fcf7ec;
+ border: 1px solid #a67f4a;
+}
+
+.DlPopupMenu {
+ background-color: #fcf7ec;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #a67f4a; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #ffcb85 #ffcb85 #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #fcf7ec;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #ffcb85 #ffcb85 #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #e5aa7d; color: #000000; }
+.DlMenuItem-hover { background-color: #c16f44; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #c16f44; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #72553f; }
+.DlTabs .TabBar .DlButton-1 { background-color: #f6dabc; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #e5aa7d; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #f6dabc; }
+.DlTabs .TabContent { border: 1px solid #72553f; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #e5aa7d; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #d5b797;
+ border: 1px solid #c1916d;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #826d57; -moz-border-radius: 15px; padding: 4px; background-color: #fff2d5; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #c1916d;
+ background-color: #fff2d5;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #c1916d;
+ background-color: #fff2d5;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #c1916d;
+ background-color: #fff2d5;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #c1916d;
+ background-color: #fff2d5;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #c1916d;
+ background-color: #fff2d5;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #d5c8ac; background-color: #fff2d5; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #eaccac; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #ffeeff #826d57 #826d57 #ffeeff;
+
+ background-color: #eaccac;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #e5aa7d; border-color: #ffffff #978a6d #978a6d #ffffff; background-color: #ffeccf; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #e5aa7d; border-color: #978a6d #ffffff #ffffff #978a6d; background-color: #c5b59c; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #72553f; background-color: #d9c8af; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #f6dabc; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #e5aa7d; border-color: #ffffff #978a6d #978a6d #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #978a6d #ffffff #ffffff #978a6d; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #978a6d #ffffff #ffffff #978a6d; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #ac7d58;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #ffd9b1; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #c1916d;
+ background-color: #fff2d5;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #c1916d;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #e17019; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #e17019; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #e17019; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #e17019; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #c16f44; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #c16f44; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #ece7dd; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #ac7d58; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #ffc497 #ffffff #ffffff #ffc497; }
+
+
+
+.DlDataGrid { position: relative; background-color: #fffbf0; border: 1px solid #72553f; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #eaccac; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #ff0000; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #ac8e6d; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #e58049; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #ffd9b1; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #ffccc1; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #f6dabc; border: 1px solid #e5aa7d; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #ffd9b1; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #350a00; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #c1bcb2; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #c16f44; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #f4c692; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #877d65; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #d9d2c9 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #90622f; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #54402a;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #877d65;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #6c645b; color: #ffffff; border-color: #54402a; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #826d57 #ffeeff #ffeeff #826d57; padding: 1px 4px; background-color: #eaccac; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #ff0000;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #ac7d58 #ac7d58 #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #ac7d58 #ffffff #ffffff #ac7d58; }
+.Dl-3D-Border-Dark { border: 1px solid #ac7d58; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-yellow-ds.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-yellow-ds.css.svn-base
new file mode 100644
index 0000000..c1f153e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-yellow-ds.css.svn-base
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #c6bf95;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #968a64 #655f4c #655f4c #968a64; background-color: #c6bf95; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #fbf2fb #b1a57d #b1a57d #fbf2fb; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #968a64 #655f4c #655f4c #968a64; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #cbb297 #cbb297 #ffffff; }
+.DlButton-active { border-color: #655f4c #968a64 #968a64 #655f4c; background-color: #e2dea8; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #beaf7d #fbf2fb #fbf2fb #beaf7d; }
+.DlButton-1 { border-color: #655f4c #b1a57d #b1a57d #655f4c; background-color: #efede0; }
+.DlButton-1 .DlButton-inner { border-color: #beaf7d #ffffff #ffffff #beaf7d; }
+.DlButton-hover { background-color: #d9cd8d; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #c6bf95; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #9c977d #655f4c #655f4c #9c977d; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #4f4a38 #1c190e #1c190e #4f4a38; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #6a6a5c; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #6a6a5c; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #dbd093; }
+.DlCheckbox-active { background: #e2dea8 url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #6a6a5c; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #6a6a5c; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #dbd093; }
+.DlRadioButton-active { background: #e2dea8 url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #655f4c #968a64 #968a64 #655f4c; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #fbf2fb #fbf2fb #fbf2fb #fbf2fb; background-color: #f3f1db; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #f3f1db;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #655f4c; outline: 1px solid #9c977d; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #a0bcdf; color: #000000; }
+.DlEntry-ValidationError { border-color: #bf5340; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #f2d9df; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #f2d9df; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #d9cd8d; border-bottom-color: #e5e6b3; border-right-color: #e5e6b3; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #d9cd8d; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #8c8d78; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #8c8d78;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #7c6c4a; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #c6bf95 url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #8c8d78;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #655f4c; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #7c6c4a; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #968a64; background: #f3f1db; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #d3b57c; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #655f4c #fbf2fb #fbf2fb #655f4c;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #f8f8f0; }
+.DlCalendar-disabled { background-color: #e8e8e1; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #655f4c; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #cbcbb6; background-color: #e8e8e1; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #cbcbb6; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #cbcbb6; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #6d6a59; background-color: #e8e8e1; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #9c977d; }
+.DlCalendar tr.Dates td.Today { color: #8d6a2f; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #655f4c; color: #6a6a5c; background-color: #e8e8e1; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #655f4c; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #7c6c4a; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #7c6c4a; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #b6b6a1; padding: 1px 2px 1px 1px; background-color: #d9cd8d !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #d8d8be; border-top: 1px solid #d8d8be; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #8c8d78; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #a26e4c; }
+.DlCalendar td.WeekEnd { color: #a26e4c; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #ccaa88; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #9c977d; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #b1a57d; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #b1a57d; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #e5e6b3; margin-top: 1em;
+ -moz-border-top-colors: #7f765b #fbf2fb;
+ -moz-border-bottom-colors: #fbf2fb #7f765b;
+ -moz-border-left-colors: #7f765b #fbf2fb;
+ -moz-border-right-colors: #fbf2fb #7f765b;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #c6bf95;
+ padding: 1px 7px; border: 1px solid #968a64; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #999248; }
+.DlPopup-scrollDown { border-top: 1px solid #999248; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #999248; background-color: #f8f8f0; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #f7f7e8;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #2a2a19;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #f8f8f0;
+ border: 1px solid #73704e;
+}
+
+.DlPopupMenu {
+ background-color: #f8f8f0;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #73704e; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #c3b84c #c3b84c #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #f8f8f0;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #c3b84c #c3b84c #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #beaf7d; color: #000000; }
+.DlMenuItem-hover { background-color: #7c6c4a; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #7c6c4a; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #655f4c; }
+.DlTabs .TabBar .DlButton-1 { background-color: #dbd4ad; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #beaf7d; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #dbd4ad; }
+.DlTabs .TabContent { border: 1px solid #655f4c; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #beaf7d; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #b7b290;
+ border: 1px solid #968a64;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #6d6a59; -moz-border-radius: 15px; padding: 4px; background-color: #e5e6b3; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #968a64;
+ background-color: #e5e6b3;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #968a64;
+ background-color: #e5e6b3;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #968a64;
+ background-color: #e5e6b3;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #968a64;
+ background-color: #e5e6b3;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #968a64;
+ background-color: #e5e6b3;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #cbcbb6; background-color: #e5e6b3; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #c6bf95; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #fbf2fb #6d6a59 #6d6a59 #fbf2fb;
+
+ background-color: #c6bf95;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #beaf7d; border-color: #ffffff #8c8d78 #8c8d78 #ffffff; background-color: #e2dea8; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #beaf7d; border-color: #8c8d78 #ffffff #ffffff #8c8d78; background-color: #bbbaa6; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #655f4c; background-color: #cfcdba; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #dbd4ad; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #beaf7d; border-color: #ffffff #8c8d78 #8c8d78 #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #8c8d78 #ffffff #ffffff #8c8d78; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #8c8d78 #ffffff #ffffff #8c8d78; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #7f765b;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #d9cd8d; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #968a64;
+ background-color: #e5e6b3;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #968a64;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #817037; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #817037; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #817037; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #817037; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #7c6c4a; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #7c6c4a; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #e8e8e1; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #7f765b; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #ccb467 #ffffff #ffffff #ccb467; }
+
+
+
+.DlDataGrid { position: relative; background-color: #fbfbf4; border: 1px solid #655f4c; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #c6bf95; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #bf4040; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #9c977d; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #ac8e4e; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #d9cd8d; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #e7cfb6; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #dbd4ad; border: 1px solid #beaf7d; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #d9cd8d; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #271b0d; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #bdbdb6; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #7c6c4a; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #c8bd7b; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #757565; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #d5d4cd url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #6b6440; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #3a382a;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #757565;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #67665f; color: #ffffff; border-color: #3a382a; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #6d6a59 #fbf2fb #fbf2fb #6d6a59; padding: 1px 4px; background-color: #c6bf95; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #bf4040;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #7f765b #7f765b #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #7f765b #ffffff #ffffff #7f765b; }
+.Dl-3D-Border-Dark { border: 1px solid #7f765b; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-yellow.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-yellow.css.svn-base
new file mode 100644
index 0000000..a0ca201
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default-yellow.css.svn-base
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #ded07d;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #af984b #72663f #72663f #af984b; background-color: #ded07d; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #ffeeff #cbb363 #cbb363 #ffeeff; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #af984b #72663f #72663f #af984b; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #e5b37d #e5b37d #ffffff; }
+.DlButton-active { border-color: #72663f #af984b #af984b #72663f; background-color: #fff68a; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #dec05c #ffeeff #ffeeff #dec05c; }
+.DlButton-1 { border-color: #72663f #cbb363 #cbb363 #72663f; background-color: #f6f2d9; }
+.DlButton-1 .DlButton-inner { border-color: #dec05c #ffffff #ffffff #dec05c; }
+.DlButton-hover { background-color: #ffe867; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #ded07d; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #aca26d #72663f #72663f #aca26d; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #5a502d #231c07 #231c07 #5a502d; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #717155; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #717155; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #ffe970; }
+.DlCheckbox-active { background: #fff68a url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #717155; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #717155; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #ffe970; }
+.DlRadioButton-active { background: #fff68a url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #72663f #af984b #af984b #72663f; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #ffeeff #ffeeff #ffeeff #ffeeff; background-color: #fffbcf; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #fffbcf;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #72663f; outline: 1px solid #aca26d; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #80b9ff; color: #000000; }
+.DlEntry-ValidationError { border-color: #ff2600; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #ffccd9; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #ffccd9; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #ffe867; border-bottom-color: #fdff99; border-right-color: #fdff99; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #ffe867; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #96976d; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #96976d;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #947531; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #ded07d url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #96976d;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #72663f; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #947531; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #af984b; background: #fffbcf; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #ffc350; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #72663f #ffeeff #ffeeff #72663f;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #fcfcec; }
+.DlCalendar-disabled { background-color: #ececdd; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #72663f; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #d5d5ac; background-color: #ececdd; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #d5d5ac; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #d5d5ac; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #77714f; background-color: #ececdd; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #aca26d; }
+.DlCalendar tr.Dates td.Today { color: #bc7600; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #72663f; color: #717155; background-color: #ececdd; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #72663f; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #947531; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #947531; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #c0c197; padding: 1px 2px 1px 1px; background-color: #ffe867 !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #e4e5b1; border-top: 1px solid #e4e5b1; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #96976d; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #cc6622; }
+.DlCalendar td.WeekEnd { color: #cc6622; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #eeaa66; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #aca26d; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #cbb363; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #cbb363; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #fdff99; margin-top: 1em;
+ -moz-border-top-colors: #918048 #ffeeff;
+ -moz-border-bottom-colors: #ffeeff #918048;
+ -moz-border-left-colors: #918048 #ffeeff;
+ -moz-border-right-colors: #ffeeff #918048;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #ded07d;
+ padding: 1px 7px; border: 1px solid #af984b; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #c1b420; }
+.DlPopup-scrollDown { border-top: 1px solid #c1b420; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #c1b420; background-color: #fcfcec; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #fffee0;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #333210;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #fcfcec;
+ border: 1px solid #867f3b;
+}
+
+.DlPopupMenu {
+ background-color: #fcfcec;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #867f3b; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #ffe910 #ffe910 #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #fcfcec;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #ffe910 #ffe910 #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #dec05c; color: #000000; }
+.DlMenuItem-hover { background-color: #947531; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #947531; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #72663f; }
+.DlTabs .TabBar .DlButton-1 { background-color: #f2e496; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #dec05c; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #f2e496; }
+.DlTabs .TabContent { border: 1px solid #72663f; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #dec05c; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #cbbf7d;
+ border: 1px solid #af984b;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #77714f; -moz-border-radius: 15px; padding: 4px; background-color: #fdff99; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #af984b;
+ background-color: #fdff99;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #af984b;
+ background-color: #fdff99;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #af984b;
+ background-color: #fdff99;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #af984b;
+ background-color: #fdff99;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #af984b;
+ background-color: #fdff99;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #d5d5ac; background-color: #fdff99; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #ded07d; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #ffeeff #77714f #77714f #ffeeff;
+
+ background-color: #ded07d;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #dec05c; border-color: #ffffff #96976d #96976d #ffffff; background-color: #fff68a; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #dec05c; border-color: #96976d #ffffff #ffffff #96976d; background-color: #c5c29c; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #72663f; background-color: #d9d6af; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #f2e496; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #dec05c; border-color: #ffffff #96976d #96976d #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #96976d #ffffff #ffffff #96976d; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #96976d #ffffff #ffffff #96976d; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #918048;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #ffe867; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #af984b;
+ background-color: #fdff99;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #af984b;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #a68412; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #a68412; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #a68412; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #a68412; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #947531; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #947531; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #ececdd; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #918048; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #ffd034 #ffffff #ffffff #ffd034; }
+
+
+
+.DlDataGrid { position: relative; background-color: #fefff0; border: 1px solid #72663f; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #ded07d; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #ff0000; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #aca26d; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #db9f1f; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #ffe867; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #ffd09d; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #f2e496; border: 1px solid #dec05c; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #ffe867; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #351b00; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #c1c1b2; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #947531; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #eed955; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #7c7d5e; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #d9d7c9 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #80742a; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #433e21;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #7c7d5e;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #6c6a5b; color: #ffffff; border-color: #433e21; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #77714f #ffeeff #ffeeff #77714f; padding: 1px 4px; background-color: #ded07d; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #ff0000;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #918048 #918048 #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #918048 #ffffff #ffffff #918048; }
+.Dl-3D-Border-Dark { border: 1px solid #918048; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default.css.svn-base
new file mode 100644
index 0000000..de802ef
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/default.css.svn-base
@@ -0,0 +1,1123 @@
+/* Part of DynarchLIB
+ Copyright (c) Dynarch.com 2005-2009. All rights reserved.
+ See http://www.dynarchlib.com/licensing for details. */
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #fff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+/* background: #f84; */
+/* opacity: 0; */
+/* filter: alpha(opacity=0); */
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none; /* XXX: why didn't we have this before? */
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+/* Generic */
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+/* font: 8pt "Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif; */
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+/* line-height: 1.3em; */
+}
+
+.DlWidget {
+/* position: relative; */
+ cursor: default;
+ color: #000;
+/* white-space: nowrap; */
+ zoom: 1; /* force hasLayout in IE */
+}
+
+.DlWidget-3D {
+ background-color: #cbe;
+ color: #000;
+}
+
+/* .DlWidget-disabled, .DlWidget-disabled * { color: #768 !important; } */
+/* .DlWidget-dragging, .DlWidget-dragging * { color: #768 !important; } */
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+/* Base button class */
+
+.DlAbstractButton { white-space: nowrap; }
+
+/* Button */
+
+.DlButton { border: 1px solid; border-color: #98c #659 #659 #98c; background-color: #cbe; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #fef #a9d #a9d #fef; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; } /* XXX: for 16x16 icons; I'm not happy with this solution. */
+
+.DlButton-hover { border-color: #98c #659 #659 #98c; }
+.DlButton-hover .DlButton-inner { border-color: #fff #aae #aae #fff; }
+.DlButton-active { border-color: #659 #98c #98c #659; background-color: #e8d8ff; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #bae #fef #fef #bae; }
+.DlButton-1 { border-color: #659 #a9d #a9d #659; background-color: #e8e0f8; }
+.DlButton-1 .DlButton-inner { border-color: #bae #fff #fff #bae; }
+.DlButton-hover { background-color: #dcf; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #cbe; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #98b #659 #659 #98b; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #548 #215 #215 #548; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+/* Checkbox */
+
+.DlWidget-disabled.DlCheckbox-0 { color: #768; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #768; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #dfcfff; }
+.DlCheckbox-active { background: #e8d8ff url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+/* RadioButton */
+
+.DlWidget-disabled.DlRadioButton-0 { color: #768; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #768; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #dfcfff; }
+.DlRadioButton-active { background: #e8d8ff url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+/* Entry */
+
+.DlEntry { border: 1px solid; border-color: #659 #98c #98c #659; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #fef #fef #fef #fef; background-color: #f0e6ff; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #f0e6ff;
+ color: #000;
+ padding: 1px 2px 2px 2px !important;
+/* font-family: "Bitstream Vera Sans Mono",monospace; height: 1.3em; */
+ resize: none;
+}
+.DlEntry-Focus { border-color: #659; outline: 1px solid #98b; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #fff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #80b9ff; color: #000; }
+.DlEntry-ValidationError { border-color: #ff2600; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #fff; background-color: #ffccd9; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #ffccd9; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #dcf; border-bottom-color: #edf; border-right-color: #edf; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #dcf; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #98a; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #98a;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #fff; }
+.DlEntry-dropDownBtn-active { background-color: #76c; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+/* CompletionEntry */
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+/* ComboBox */
+
+.DlComboBox-dropDownBtn {
+ background: #cbe url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #98a;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #659; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #fff; }
+.DlComboBox-dropDownBtn-active { background-color: #76c; }
+
+/* Spinner */
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+/* ProgressBar */
+
+.DlProgressBar { position: relative; border: 1px solid #98c; background: #f0e6ff; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #c0b6ff; }
+
+/* ButtonMenu */
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+/* ButtonColorPicker */
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #659 #fef #fef #659;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+/* Calendar */
+
+.DlCalendar { background-color: #f4ecfc; }
+.DlCalendar-disabled { background-color: #e4dcec; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #659; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #cbd; background-color: #e4dcec; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #cbd; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #cbd; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #769; background-color: #e4dcec; }
+/* .DlCalendar tr.DlCalendar-DayNames td.Today { font-weight: bold; } */
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #98b; }
+.DlCalendar tr.Dates td.Today { color: #76f; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #659; color: #768; background-color: #e4dcec; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #659; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #76c; color: #fff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #76c; color: #fff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #bac; padding: 1px 2px 1px 1px; background-color: #dcf !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #dce; border-top: 1px solid #dce; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #98a; background-color: #fff; padding: 1px 2px 1px 1px; }
+/*
+.DlCalendar td.WeekEnd { color: #c62; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #bac; }
+*/
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #c62; }
+.DlCalendar td.WeekEnd { /* background-color: #edf; */ color: #c62; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { /* background-color: #edf; */ color: #ea6; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+/* ResizeBar */
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+/* background-image: url("img/resizebg.gif"); */
+ background-color: #98b; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+/* UploadEntry */
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+/* CONTAINERS */
+
+.DlContainer { position: relative; } /* WARNING: this is probably NOT GOOD!
+ but it happens to fix some atrocious bugs in IE
+ (randomly disappearing elements on hover).
+ XXX: make sure it doesn't break anything!
+ */
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #a9d; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #a9d; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+/*
+ .DlGridLayout-table { background-color: #f00; }
+ .DlGridLayout-table td { background-color: #fff; }
+/* ^^^ DEBUG */
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #edf; margin-top: 1em;
+ -moz-border-top-colors: #87b #fef;
+ -moz-border-bottom-colors: #fef #87b;
+ -moz-border-left-colors: #87b #fef;
+ -moz-border-right-colors: #fef #87b;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #cbe;
+ padding: 1px 7px; border: 1px solid #98c; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative; /* -- IE is unbelievable */
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #b9e; }
+.DlPopup-scrollDown { border-top: 1px solid #b9e; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #fff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #fff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #b9e; background-color: #f4ecfc; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #fffee0;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #333210;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000; }
+
+.DlDialogPopup {
+ background-color: #f4ecfc;
+ border: 1px solid #86b;
+}
+
+.DlPopupMenu {
+ background-color: #f4ecfc;
+ border: 1px solid #eee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #86b; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #fff #d8bfff #d8bfff #fff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #f4ecfc;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #fff #d8bfff #d8bfff #fff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #ccc;
+ background-color: #fff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #ccc;
+ border-bottom: 1px solid #fff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { /* background: transparent; background-color: none; /* XXX: do we need this? */ }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #bae; color: #000; }
+.DlMenuItem-hover { background-color: #76c; color: #fff; }
+.DlMenuItem-active { background-color: #000; color: #fff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #76c; color: #fff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000; color: #fff; }
+
+/*
+.DlPopupMenu .DlCheckbox-hover,
+.DlPopupMenu .DlRadioButton-hover { background-color: #76c; color: #fff; }
+
+.DlPopupMenu .DlCheckbox-active,
+.DlPopupMenu .DlRadioButton-active { background-color: #cbf; color: #000; }
+*/
+
+/* Notebook */
+
+/* .DlNotebook { background-color: #d8c8f8; } */
+
+/* Tabs */
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #659; }
+.DlTabs .TabBar .DlButton-1 { background-color: #d8c8f8; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #bae; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #d8c8f8; }
+.DlTabs .TabContent { border: 1px solid #659; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #bae; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+/* MacBar */
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #bad;
+ border: 1px solid #98c;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #769; -moz-border-radius: 15px; padding: 4px; background-color: #edf; }
+.DlMacBarIcon-active { opacity: 0.6; /* filter: alpha(opacity=60); /* IE sucks. */ }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #98c;
+ background-color: #edf;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #98c;
+ background-color: #edf;
+}
+
+/* Hbox */
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #98c;
+ background-color: #edf;
+/* margin-left: 3px; margin-right: 2px; */
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+/* Vbox */
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #98c;
+ background-color: #edf;
+/* margin-top: 3px; margin-bottom: 2px; */
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+/* ButtonBox */
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #98c;
+ background-color: #edf;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #cbd; background-color: #edf; }
+
+/* Select */
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #cbe; color: #000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+/* Toolbar (no special widget) */
+
+/* BEGIN: CRAPPY CODE, PLEASE REVISIT */
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #fef #769 #769 #fef;
+/* border-color: #fff #87b #87b #fff; */
+ background-color: #cbe;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #bae; border-color: #fff #98a #98a #fff; background-color: #e8d8ff; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #bae; border-color: #98a #fff #fff #98a; background-color: #bcaed0; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #659; background-color: #ccbee0; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #d8c8f8; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #bae; border-color: #fff #98a #98a #fff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #98a #fff #fff #98a; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #98a #fff #fff #98a; }
+/*
+.DlToolbar .DlButtonMenu .DlButton-hover .DlButton-inner { border-color: #659; }
+.DlToolbar .DlButtonMenu .LabelPart.DlButton-hover .DlButton-inner { padding-right: 3px; border-right: none; }
+*/
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #87b;
+ background-color: #fff;
+}
+
+.DlToolbar-Light { background: #dcf; }
+
+/* END: CRAPPY CODE */
+
+/* Table */
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #98c;
+ background-color: #edf;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+/* Tree */
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #98c;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #86e; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #86e; color: #fff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #86e; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #86e; color: #fff; }
+
+/* .DlTreeItem-Table { table-layout: fixed; border-collapse: collapse; } */
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+/* BEGIN: tree lines, don't touch this or else. */
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+/* .DlTree-withLines .DlTreeItem-div { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; } */
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+/* .DlTree-withLines .DlTreeItem-Last .DlTreeItem-div { background-image: none; } */
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+/* END: tree lines */
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #76c; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #76c; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000; margin: -1px; }
+
+/* ColorPicker */
+
+.DlColorPickerHSV { border: 1px solid #000; background-color: #e4dcec; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #fff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #fff; }
+
+/* RteFrame */
+
+.DlRteFrame { border: 1px solid; border-color: #87b; }
+/* .DlRteFrame-focus { border-color: #659; outline: 1px solid #98b; -moz-outline-radius: 2px; } */
+.DlRteFrame iframe { border: 1px solid; border-color: #cbf #fff #fff #cbf; }
+
+/* Grid */
+
+.DlDataGrid { position: relative; background-color: #f8f0ff; border: 1px solid #659; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #cbe; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; /* the "LOL" way to add horizontal padding. :-p */}
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #f00; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #ccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000; }
+.DlDataGrid-focus { outline: 1px solid #98b; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #98e; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #fff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #dcf; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #ccf; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+/* IconListView */
+
+.DlIconListView { background-color: #d8c8f8; border: 1px solid #bae; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+/* .DlIconListItem-hover .DlIconListItem-iconCell { opacity: 0.7; filter: alpha(opacity=70); } */
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #dcf; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #00f; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b8b0c0; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #76c; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #fff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+/* Dialog */
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+/* .DlWM-container { */
+/* position: relative; */
+/* width: 0; height: 0; */
+/* overflow: visible; */
+/* } */
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+/* background: url("img/modalbg.gif"); */
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #ceb8f8; position: relative; }
+/* .DlDialog>.DlDialog-Rel { position: relative; } /* HACK-IE6 */
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+/* right: 0; bottom: 0; */
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+/* OPACITY for inactive dialogs */
+/*
+.DlDialog { opacity: 0.8; }
+.DlDialog-Active { opacity: 1; }
+*/
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+/* that's for the crappin' IE6: */
+.DlDialog-noShadows { border: 2px solid #879; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000; }
+
+/*
+.DlDialog-Rel .Shadow-...
+.DlDialog-Active .DlDialog-Rel .Shadow-...
+.DlDialog-Dragging .DlDialog-Rel .Shadow-...
+*/
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #cec8d8 url("img/titlebg.png") repeat-x 0 50%; color: #555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #7e58c8; color: #fff; border-color: #fff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6; /* filter: alpha(opacity=60); /* IE hides them completely, ignoring the overflow: visible spec. */
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000; color: #3d4; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000; }
+
+/* .DlDialog-Dragging .DlDialog-Content { opacity: 0.6; } */
+/* .DlDialog-Dragging .DlDialog-Content * { display: none; } /* Good speed-up in Linux! */
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #436;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000;
+ -moz-border-left-colors: #000 #fff;
+ -moz-border-top-colors: #000 #fff;
+ -moz-border-right-colors: #000 #fff;
+ -moz-border-bottom-colors: #000 #fff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #fff; color: #000; /* padding: 0px 2px; */
+ border-bottom: 1px solid #879;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #5e5868; color: #fff; border-color: #436; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000; color: #3d4; }
+
+/* maximized dialogs are not resizable */
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+/* ICONS */
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+/* MISC */
+
+/* Hint for the browser that it's allowed to break line at this span;
+ideally it should be invisible. The UTF8 character doesn't work in
+all browsers :(( */
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #769 #fef #fef #769; padding: 1px 4px; background-color: #cbe; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000;
+/* background: url("img/modalbg.gif"); */
+ background: #fff; opacity: 0.4; filter: alpha(opacity=40);
+/* background-color: #000; opacity: 0.5; filter: alpha(opacity=50); */
+ border: 1px dashed #f00;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000;
+/* background: url("img/resizebg.gif"); */
+ /* background: #000; */
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #fff #87b #87b #fff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #87b #fff #fff #87b; }
+.Dl-3D-Border-Dark { border: 1px solid #87b; }
+
+/* BUGS */
+/* Gecko bugs are marked with class "Gecko-bug" *and* "Gecko-bug-######" (bug number) */
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; } /* this sucks */
+
+/* thin shadows */
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/dlconsole.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/dlconsole.css.svn-base
new file mode 100644
index 0000000..8457b0b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/dlconsole.css.svn-base
@@ -0,0 +1,16 @@
+html, body { margin: 0; padding: 0; background-color: #ffee99; color: #000; }
+
+body, table { font: 13px tahoma,verdana,sans-serif; }
+
+.msg { margin: 0.5em; }
+
+.sep {
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+ height: 1px;
+ margin: 6px 0;
+ background-color: #f00;
+}
+
+.current { background-color: #fe0; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/preload-default.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/preload-default.js.svn-base
new file mode 100644
index 0000000..bef4310
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/preload-default.js.svn-base
@@ -0,0 +1,6 @@
+function DynarhLIB_preload_images() {
+ DynarchDomUtils.createElement("div", { display: "none" }, null, document.body)
+ .innerHTML = "img/radiobutton-0.png img/thin-shadows1/BL.png img/thin-shadows/R.png img/shadows/dlg-active/T.png img/shadows/dlg-inactive/R.png img/resizebar-vert2.png img/shadows/dlg-inactive/L.png img/shadows/dlg-inactive/TR.png img/shadows/dlg-inactive/B.png img/thin-shadows1/L.png img/thin-shadows/BL.png img/mark-2.gif img/spinner-up.gif img/shadows/dlg-active/BL.png img/arrows/sort-descending.gif img/busy1.gif img/thin-shadows1/T.png img/shadows/dlg-active/TR.png img/menu/rarrow.gif img/thin-shadows1/TR.png img/icons/calendar.png img/shadows/dlg-active/R.png img/arrows/scroll-up.gif img/shadows/dlg-inactive/BR.png img/arrows/nav-right-x2.gif img/tree-drop-here.gif img/thin-shadows1/B.png img/tree/lines-v.gif img/arrows/nav-left-x2.gif img/tree/plus.gif img/tree-drop-here-lower.gif img/thin-shadows/T.png img/grid-drop-col.gif img/tree/plus-hover.gif img/checkbox-1-disabled.png img/titlebg.png img/menu/darrow-small.gif img/tree/minus-hover.gif img/thin-shadows/BR.png img/arrows/sort-ascending.gif img/shadows/dlg-inactive/BL.png img/radiobutton-1.png img/thin-shadows1/TL.png img/resizebar-horiz2.png img/arrows/scroll-down-hover.gif img/icons/colors.png img/checkbox-0.png img/spinner-down.gif img/radiobutton-0-disabled.png img/thin-shadows/B.png img/arrows/scroll-up-disabled.gif img/thin-shadows/L.png img/checkbox-1.png img/shadows/dlg-active/L.png img/checkbox-2.png img/tree/lines-b.gif img/radiobutton-1-disabled.png img/thin-shadows1/BR.png img/thin-shadows/TR.png img/radiobutton-2.png img/tree-drop-here-upper.gif img/color/hue.png img/modalbg.gif img/arrows/dropdown.png img/thin-shadows1/R.png img/entry-warning.png img/shadows/dlg-active/BR.png img/dialog/buttons.png img/menu/rarrow-hover.gif img/shadows/dlg-inactive/TL.png img/shadows/dlg-active/TL.png img/icons/dynarch-small.png img/mark.gif img/arrows/scroll-down.gif img/tree/lines-c.gif img/arrows/nav-left.gif img/arrows/nav-right.gif img/tree/minus.gif img/icons/gnome-fs-chardev.png img/arrows/scroll-down-disabled.gif img/thin-shadows/TL.png img/arrows/scroll-up-hover.gif img/tmpcal.gif img/resize.gif img/shadows/dlg-inactive/T.png img/checkbox-0-disabled.png img/shadows/dlg-active/B.png".qw().map(function(img){
+ return "<img src='" + Dynarch.getFileURL("css/" + img) + "' />";
+ }).join("");
+};
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/uploadentry.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/uploadentry.css.svn-base
new file mode 100644
index 0000000..9322203
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/.svn/text-base/uploadentry.css.svn-base
@@ -0,0 +1,21 @@
+body { background-color: transparent; margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+form, input { font: 12px Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif; height: 22px; width: 80px; }
+form { margin: 0; padding: 0; }
+
+.upload {
+ display: block;
+ background: url("img/btn-choose-file.gif") no-repeat 0 50%;
+ overflow: hidden;
+ cursor: pointer;
+ width: 80px;
+ height: 22px;
+ position: relative;
+}
+.upload input {
+ opacity: 0; filter: alpha(opacity=0); -moz-opacity: 0;
+ position: absolute;
+ cursor: pointer;
+ height: 100%;
+ width: auto;
+}
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-blue-ds.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-blue-ds.css
new file mode 100644
index 0000000..25f0d4d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-blue-ds.css
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #c9cde2;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #9ba3bc #68708b #68708b #9ba3bc; background-color: #c9cde2; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #fbf2fb #acb4cd #acb4cd #fbf2fb; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #9ba3bc #68708b #68708b #9ba3bc; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #acc0d5 #acc0d5 #ffffff; }
+.DlButton-active { border-color: #68708b #9ba3bc #9ba3bc #68708b; background-color: #e2e4f5; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #bcc4de #fbf2fb #fbf2fb #bcc4de; }
+.DlButton-1 { border-color: #68708b #acb4cd #acb4cd #68708b; background-color: #e7e8f2; }
+.DlButton-1 .DlButton-inner { border-color: #bcc4de #ffffff #ffffff #bcc4de; }
+.DlButton-hover { background-color: #daddf3; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #c9cde2; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #979bb0 #68708b #68708b #979bb0; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #58607b #252d4a #252d4a #58607b; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #717182; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #717182; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #dcdff3; }
+.DlCheckbox-active { background: #e2e4f5 url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #717182; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #717182; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #dcdff3; }
+.DlRadioButton-active { background: #e2e4f5 url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #68708b #9ba3bc #9ba3bc #68708b; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #fbf2fb #fbf2fb #fbf2fb #fbf2fb; background-color: #edeef9; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #edeef9;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #68708b; outline: 1px solid #979bb0; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #a0bcdf; color: #000000; }
+.DlEntry-ValidationError { border-color: #bf5340; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #f2d9df; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #f2d9df; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #daddf3; border-bottom-color: #e6e6f7; border-right-color: #e6e6f7; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #daddf3; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #9393a3; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #9393a3;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #6d7fa7; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #c9cde2 url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #9393a3;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #68708b; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #6d7fa7; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #9ba3bc; background: #edeef9; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #c9d6ed; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #68708b #fbf2fb #fbf2fb #68708b;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #f0f0f8; }
+.DlCalendar-disabled { background-color: #e1e1e8; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #68708b; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #c5c5d5; background-color: #e1e1e8; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #c5c5d5; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #c5c5d5; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #76798f; background-color: #e1e1e8; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #979bb0; }
+.DlCalendar tr.Dates td.Today { color: #7295d0; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #68708b; color: #717182; background-color: #e1e1e8; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #68708b; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #6d7fa7; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #6d7fa7; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #b4b4c5; padding: 1px 2px 1px 1px; background-color: #daddf3 !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #d6d5e6; border-top: 1px solid #d6d5e6; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #9393a3; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #a26e4c; }
+.DlCalendar td.WeekEnd { color: #a26e4c; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #ccaa88; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #979bb0; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #acb4cd; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #acb4cd; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #e6e6f7; margin-top: 1em;
+ -moz-border-top-colors: #8a92ac #fbf2fb;
+ -moz-border-bottom-colors: #fbf2fb #8a92ac;
+ -moz-border-left-colors: #8a92ac #fbf2fb;
+ -moz-border-right-colors: #fbf2fb #8a92ac;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #c9cde2;
+ padding: 1px 7px; border: 1px solid #9ba3bc; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #b0b3da; }
+.DlPopup-scrollDown { border-top: 1px solid #b0b3da; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #b0b3da; background-color: #f0f0f8; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #f7f7e8;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #2a2a19;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #f0f0f8;
+ border: 1px solid #7e81a8;
+}
+
+.DlPopupMenu {
+ background-color: #f0f0f8;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #7e81a8; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #d0d3ef #d0d3ef #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #f0f0f8;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #d0d3ef #d0d3ef #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #bcc4de; color: #000000; }
+.DlMenuItem-hover { background-color: #6d7fa7; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #6d7fa7; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #68708b; }
+.DlTabs .TabBar .DlButton-1 { background-color: #d5d8ec; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #bcc4de; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #d5d8ec; }
+.DlTabs .TabContent { border: 1px solid #68708b; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #bcc4de; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #b8bcd1;
+ border: 1px solid #9ba3bc;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #76798f; -moz-border-radius: 15px; padding: 4px; background-color: #e6e6f7; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #9ba3bc;
+ background-color: #e6e6f7;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #9ba3bc;
+ background-color: #e6e6f7;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #9ba3bc;
+ background-color: #e6e6f7;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #9ba3bc;
+ background-color: #e6e6f7;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #9ba3bc;
+ background-color: #e6e6f7;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #c5c5d5; background-color: #e6e6f7; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #c9cde2; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #fbf2fb #76798f #76798f #fbf2fb;
+
+ background-color: #c9cde2;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #bcc4de; border-color: #ffffff #9393a3 #9393a3 #ffffff; background-color: #e2e4f5; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #bcc4de; border-color: #9393a3 #ffffff #ffffff #9393a3; background-color: #b8b9c9; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #68708b; background-color: #c8c9d8; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #d5d8ec; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #bcc4de; border-color: #ffffff #9393a3 #9393a3 #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #9393a3 #ffffff #ffffff #9393a3; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #9393a3 #ffffff #ffffff #9393a3; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #8a92ac;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #daddf3; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #9ba3bc;
+ background-color: #e6e6f7;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #9ba3bc;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #8a9acd; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #8a9acd; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #8a9acd; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #8a9acd; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #6d7fa7; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #6d7fa7; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #e1e1e8; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #8a92ac; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #cdd5ee #ffffff #ffffff #cdd5ee; }
+
+
+
+.DlDataGrid { position: relative; background-color: #f4f4fb; border: 1px solid #68708b; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #c9cde2; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #bf4040; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #979bb0; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #8da0cb; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #daddf3; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #d0dfef; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #d5d8ec; border: 1px solid #bcc4de; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #daddf3; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #0d1a27; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b6b6bd; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #6d7fa7; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #c9cde8; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #828293; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #cdced5 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #777fae; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #43475e;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #828293;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #5f6067; color: #ffffff; border-color: #43475e; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #76798f #fbf2fb #fbf2fb #76798f; padding: 1px 4px; background-color: #c9cde2; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #bf4040;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #8a92ac #8a92ac #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #8a92ac #ffffff #ffffff #8a92ac; }
+.Dl-3D-Border-Dark { border: 1px solid #8a92ac; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-blue.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-blue.css
new file mode 100644
index 0000000..4fc51fe
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-blue.css
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #bcc4ee;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #8a9acd #57679d #57679d #8a9acd; background-color: #bcc4ee; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #ffeeff #9babde #9babde #ffeeff; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #8a9acd #57679d #57679d #8a9acd; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #97bfea #97bfea #ffffff; }
+.DlButton-active { border-color: #57679d #8a9acd #8a9acd #57679d; background-color: #d9dcff; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #acbbee #ffeeff #ffeeff #acbbee; }
+.DlButton-1 { border-color: #57679d #9babde #9babde #57679d; background-color: #e1e4f8; }
+.DlButton-1 .DlButton-inner { border-color: #acbbee #ffffff #ffffff #acbbee; }
+.DlButton-hover { background-color: #cdd5ff; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #bcc4ee; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #8a92bc #57679d #57679d #8a92bc; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #46568c #12245c #12245c #46568c; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #69688b; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #69688b; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #d0d7ff; }
+.DlCheckbox-active { background: #d9dcff url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #69688b; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #69688b; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #d0d7ff; }
+.DlRadioButton-active { background: #d9dcff url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #57679d #8a9acd #8a9acd #57679d; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #ffeeff #ffeeff #ffeeff #ffeeff; background-color: #e7e9ff; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #e7e9ff;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #57679d; outline: 1px solid #8a92bc; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #80b9ff; color: #000000; }
+.DlEntry-ValidationError { border-color: #ff2600; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #ffccd9; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #ffccd9; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #cdd5ff; border-bottom-color: #dedeff; border-right-color: #dedeff; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #cdd5ff; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #8b8aac; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #8b8aac;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #4f74c4; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #bcc4ee url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #8b8aac;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #57679d; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #4f74c4; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #8a9acd; background: #e7e9ff; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #b7d0ff; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #57679d #ffeeff #ffeeff #57679d;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #edecfc; }
+.DlCalendar-disabled { background-color: #ddddec; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #57679d; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #bdbcde; background-color: #ddddec; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #bdbcde; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #bdbcde; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #69719b; background-color: #ddddec; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #8a92bc; }
+.DlCalendar tr.Dates td.Today { color: #4489ff; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #57679d; color: #69688b; background-color: #ddddec; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #57679d; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #4f74c4; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #4f74c4; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #acaccd; padding: 1px 2px 1px 1px; background-color: #cdd5ff !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #cecdee; border-top: 1px solid #cecdee; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #8b8aac; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #cc6622; }
+.DlCalendar td.WeekEnd { color: #cc6622; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #eeaa66; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #8a92bc; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #9babde; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #9babde; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #dedeff; margin-top: 1em;
+ -moz-border-top-colors: #7a89bc #ffeeff;
+ -moz-border-bottom-colors: #ffeeff #7a89bc;
+ -moz-border-left-colors: #7a89bc #ffeeff;
+ -moz-border-right-colors: #ffeeff #7a89bc;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #bcc4ee;
+ padding: 1px 7px; border: 1px solid #8a9acd; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #9ba2ee; }
+.DlPopup-scrollDown { border-top: 1px solid #9ba2ee; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #9ba2ee; background-color: #edecfc; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #fffee0;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #333210;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #edecfc;
+ border: 1px solid #6970bc;
+}
+
+.DlPopupMenu {
+ background-color: #edecfc;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #6970bc; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #c0c6ff #c0c6ff #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #edecfc;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #c0c6ff #c0c6ff #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #acbbee; color: #000000; }
+.DlMenuItem-hover { background-color: #4f74c4; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #4f74c4; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #57679d; }
+.DlTabs .TabBar .DlButton-1 { background-color: #c9d0f8; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #acbbee; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #c9d0f8; }
+.DlTabs .TabContent { border: 1px solid #57679d; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #acbbee; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #acb3de;
+ border: 1px solid #8a9acd;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #69719b; -moz-border-radius: 15px; padding: 4px; background-color: #dedeff; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #8a9acd;
+ background-color: #dedeff;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #8a9acd;
+ background-color: #dedeff;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #8a9acd;
+ background-color: #dedeff;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #8a9acd;
+ background-color: #dedeff;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #8a9acd;
+ background-color: #dedeff;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #bdbcde; background-color: #dedeff; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #bcc4ee; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #ffeeff #69719b #69719b #ffeeff;
+
+ background-color: #bcc4ee;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #acbbee; border-color: #ffffff #8b8aac #8b8aac #ffffff; background-color: #d9dcff; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #acbbee; border-color: #8b8aac #ffffff #ffffff #8b8aac; background-color: #b0b2d1; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #57679d; background-color: #bfc2e1; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #c9d0f8; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #acbbee; border-color: #ffffff #8b8aac #8b8aac #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #8b8aac #ffffff #ffffff #8b8aac; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #8b8aac #ffffff #ffffff #8b8aac; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #7a89bc;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #cdd5ff; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #8a9acd;
+ background-color: #dedeff;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #8a9acd;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #6988ee; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #6988ee; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #6988ee; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #6988ee; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #4f74c4; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #4f74c4; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #ddddec; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #7a89bc; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #bcccff #ffffff #ffffff #bcccff; }
+
+
+
+.DlDataGrid { position: relative; background-color: #f1f0ff; border: 1px solid #57679d; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #bcc4ee; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #ff0000; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #8a92bc; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #6d95ea; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #cdd5ff; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #c1dfff; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #c9d0f8; border: 1px solid #acbbee; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #cdd5ff; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #001935; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b2b2c1; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #4f74c4; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #b9c2f8; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #7a7a9b; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #c9cbd9 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #5b6bc9; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #353d6b;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #7a7a9b;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #5b5d6c; color: #ffffff; border-color: #353d6b; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #69719b #ffeeff #ffeeff #69719b; padding: 1px 4px; background-color: #bcc4ee; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #ff0000;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #7a89bc #7a89bc #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #7a89bc #ffffff #ffffff #7a89bc; }
+.Dl-3D-Border-Dark { border: 1px solid #7a89bc; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-cyan-ds.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-cyan-ds.css
new file mode 100644
index 0000000..da32a0a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-cyan-ds.css
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #c9d5e2;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #829aac #556571 #556571 #829aac; background-color: #c9d5e2; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #fbf2fb #97afc1 #97afc1 #fbf2fb; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #829aac #556571 #556571 #829aac; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #97c2cb #97c2cb #ffffff; }
+.DlButton-active { border-color: #556571 #829aac #829aac #556571; background-color: #e2eaf5; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #acc4d5 #fbf2fb #fbf2fb #acc4d5; }
+.DlButton-1 { border-color: #556571 #97afc1 #97afc1 #556571; background-color: #e7ecf2; }
+.DlButton-1 .DlButton-inner { border-color: #acc4d5 #ffffff #ffffff #acc4d5; }
+.DlButton-hover { background-color: #dae6f3; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #c9d5e2; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #97a3b0 #556571 #556571 #97a3b0; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #42525d #18252f #18252f #42525d; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #717782; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #717782; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #dce7f3; }
+.DlCheckbox-active { background: #e2eaf5 url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #717782; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #717782; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #dce7f3; }
+.DlRadioButton-active { background: #e2eaf5 url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #556571 #829aac #829aac #556571; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #fbf2fb #fbf2fb #fbf2fb #fbf2fb; background-color: #edf2f9; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #edf2f9;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #556571; outline: 1px solid #97a3b0; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #a0bcdf; color: #000000; }
+.DlEntry-ValidationError { border-color: #bf5340; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #f2d9df; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #f2d9df; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #dae6f3; border-bottom-color: #e6ecf7; border-right-color: #e6ecf7; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #dae6f3; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #9398a3; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #9398a3;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #638da1; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #c9d5e2 url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #9398a3;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #556571; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #638da1; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #829aac; background: #edf2f9; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #abd2e3; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #556571 #fbf2fb #fbf2fb #556571;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #f0f3f8; }
+.DlCalendar-disabled { background-color: #e1e3e8; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #556571; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #c5cad5; background-color: #e1e3e8; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #c5cad5; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #c5cad5; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #76828f; background-color: #e1e3e8; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #97a3b0; }
+.DlCalendar tr.Dates td.Today { color: #3685a3; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #556571; color: #717782; background-color: #e1e3e8; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #556571; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #638da1; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #638da1; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #b4bac5; padding: 1px 2px 1px 1px; background-color: #dae6f3 !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #d5dbe6; border-top: 1px solid #d5dbe6; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #9398a3; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #a26e4c; }
+.DlCalendar td.WeekEnd { color: #a26e4c; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #ccaa88; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #97a3b0; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #97afc1; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #97afc1; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #e6ecf7; margin-top: 1em;
+ -moz-border-top-colors: #6d8697 #fbf2fb;
+ -moz-border-bottom-colors: #fbf2fb #6d8697;
+ -moz-border-left-colors: #6d8697 #fbf2fb;
+ -moz-border-right-colors: #fbf2fb #6d8697;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #c9d5e2;
+ padding: 1px 7px; border: 1px solid #829aac; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #b0c2da; }
+.DlPopup-scrollDown { border-top: 1px solid #b0c2da; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #b0c2da; background-color: #f0f3f8; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #f7f7e8;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #2a2a19;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #f0f3f8;
+ border: 1px solid #7e90a8;
+}
+
+.DlPopupMenu {
+ background-color: #f0f3f8;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #7e90a8; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #d0deef #d0deef #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #f0f3f8;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #d0deef #d0deef #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #acc4d5; color: #000000; }
+.DlMenuItem-hover { background-color: #638da1; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #638da1; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #556571; }
+.DlTabs .TabBar .DlButton-1 { background-color: #d5e1ec; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #acc4d5; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #d5e1ec; }
+.DlTabs .TabContent { border: 1px solid #556571; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #acc4d5; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #b8c5d1;
+ border: 1px solid #829aac;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #76828f; -moz-border-radius: 15px; padding: 4px; background-color: #e6ecf7; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #829aac;
+ background-color: #e6ecf7;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #829aac;
+ background-color: #e6ecf7;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #829aac;
+ background-color: #e6ecf7;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #829aac;
+ background-color: #e6ecf7;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #829aac;
+ background-color: #e6ecf7;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #c5cad5; background-color: #e6ecf7; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #c9d5e2; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #fbf2fb #76828f #76828f #fbf2fb;
+
+ background-color: #c9d5e2;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #acc4d5; border-color: #ffffff #9398a3 #9398a3 #ffffff; background-color: #e2eaf5; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #acc4d5; border-color: #9398a3 #ffffff #ffffff #9398a3; background-color: #b8bfc9; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #556571; background-color: #c8cfd8; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #d5e1ec; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #acc4d5; border-color: #ffffff #9398a3 #9398a3 #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #9398a3 #ffffff #ffffff #9398a3; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #9398a3 #ffffff #ffffff #9398a3; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #6d8697;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #dae6f3; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #829aac;
+ background-color: #e6ecf7;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #829aac;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #548db6; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #548db6; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #548db6; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #548db6; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #638da1; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #638da1; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #e1e3e8; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #6d8697; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #c1d9ea #ffffff #ffffff #c1d9ea; }
+
+
+
+.DlDataGrid { position: relative; background-color: #f4f6fb; border: 1px solid #556571; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #c9d5e2; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #bf4040; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #97a3b0; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #70a4be; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #dae6f3; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #b6dee7; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #d5e1ec; border: 1px solid #acc4d5; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #dae6f3; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #0d2327; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b6b8bd; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #638da1; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #c9d8e8; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #828893; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #cdd1d5 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #597795; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #43505e;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #828893;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #5f6367; color: #ffffff; border-color: #43505e; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #76828f #fbf2fb #fbf2fb #76828f; padding: 1px 4px; background-color: #c9d5e2; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #bf4040;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #6d8697 #6d8697 #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #6d8697 #ffffff #ffffff #6d8697; }
+.Dl-3D-Border-Dark { border: 1px solid #6d8697; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-cyan.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-cyan.css
new file mode 100644
index 0000000..11b672f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-cyan.css
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #bcd5ee;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #6d9ec1 #47687f #47687f #6d9ec1; background-color: #bcd5ee; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #ffeeff #82b3d5 #82b3d5 #ffeeff; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #6d9ec1 #47687f #47687f #6d9ec1; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #7dd4e5 #7dd4e5 #ffffff; }
+.DlButton-active { border-color: #47687f #6d9ec1 #6d9ec1 #47687f; background-color: #d9e9ff; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #97c7ea #ffeeff #ffeeff #97c7ea; }
+.DlButton-1 { border-color: #47687f #82b3d5 #82b3d5 #47687f; background-color: #e1ecf8; }
+.DlButton-1 .DlButton-inner { border-color: #97c7ea #ffffff #ffffff #97c7ea; }
+.DlButton-hover { background-color: #cde6ff; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #bcd5ee; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #8aa3bc #47687f #47687f #8aa3bc; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #35546a #0c273b #0c273b #35546a; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #68748b; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #68748b; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #d0e7ff; }
+.DlCheckbox-active { background: #d9e9ff url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #68748b; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #68748b; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #d0e7ff; }
+.DlRadioButton-active { background: #d9e9ff url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #47687f #6d9ec1 #6d9ec1 #47687f; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #ffeeff #ffeeff #ffeeff #ffeeff; background-color: #e7f1ff; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #e7f1ff;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #47687f; outline: 1px solid #8aa3bc; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #80b9ff; color: #000000; }
+.DlEntry-ValidationError { border-color: #ff2600; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #ffccd9; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #ffccd9; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #cde6ff; border-bottom-color: #dee9ff; border-right-color: #dee9ff; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #cde6ff; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #8a96ac; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #8a96ac;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #4497c1; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #bcd5ee url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #8a96ac;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #47687f; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #4497c1; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #6d9ec1; background: #e7f1ff; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #8fddff; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #47687f #ffeeff #ffeeff #47687f;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #ecf2fc; }
+.DlCalendar-disabled { background-color: #dde2ec; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #47687f; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #bcc7de; background-color: #dde2ec; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #bcc7de; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #bcc7de; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #69829b; background-color: #dde2ec; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #8aa3bc; }
+.DlCalendar tr.Dates td.Today { color: #009dd9; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #47687f; color: #68748b; background-color: #dde2ec; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #47687f; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #4497c1; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #4497c1; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #acb7cd; padding: 1px 2px 1px 1px; background-color: #cde6ff !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #cdd8ee; border-top: 1px solid #cdd8ee; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #8a96ac; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #cc6622; }
+.DlCalendar td.WeekEnd { color: #cc6622; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #eeaa66; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #8aa3bc; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #82b3d5; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #82b3d5; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #dee9ff; margin-top: 1em;
+ -moz-border-top-colors: #5889ac #ffeeff;
+ -moz-border-bottom-colors: #ffeeff #5889ac;
+ -moz-border-left-colors: #5889ac #ffeeff;
+ -moz-border-right-colors: #ffeeff #5889ac;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #bcd5ee;
+ padding: 1px 7px; border: 1px solid #6d9ec1; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #9bbfee; }
+.DlPopup-scrollDown { border-top: 1px solid #9bbfee; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #9bbfee; background-color: #ecf2fc; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #fffee0;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #333210;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #ecf2fc;
+ border: 1px solid #698dbc;
+}
+
+.DlPopupMenu {
+ background-color: #ecf2fc;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #698dbc; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #c0dcff #c0dcff #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #ecf2fc;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #c0dcff #c0dcff #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #97c7ea; color: #000000; }
+.DlMenuItem-hover { background-color: #4497c1; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #4497c1; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #47687f; }
+.DlTabs .TabBar .DlButton-1 { background-color: #c9e1f8; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #97c7ea; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #c9e1f8; }
+.DlTabs .TabContent { border: 1px solid #47687f; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #97c7ea; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #acc5de;
+ border: 1px solid #6d9ec1;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #69829b; -moz-border-radius: 15px; padding: 4px; background-color: #dee9ff; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #6d9ec1;
+ background-color: #dee9ff;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #6d9ec1;
+ background-color: #dee9ff;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #6d9ec1;
+ background-color: #dee9ff;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #6d9ec1;
+ background-color: #dee9ff;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #6d9ec1;
+ background-color: #dee9ff;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #bcc7de; background-color: #dee9ff; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #bcd5ee; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #ffeeff #69829b #69829b #ffeeff;
+
+ background-color: #bcd5ee;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #97c7ea; border-color: #ffffff #8a96ac #8a96ac #ffffff; background-color: #d9e9ff; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #97c7ea; border-color: #8a96ac #ffffff #ffffff #8a96ac; background-color: #b0bed1; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #47687f; background-color: #bfcde1; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #c9e1f8; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #97c7ea; border-color: #ffffff #8a96ac #8a96ac #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #8a96ac #ffffff #ffffff #8a96ac; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #8a96ac #ffffff #ffffff #8a96ac; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #5889ac;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #cde6ff; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #6d9ec1;
+ background-color: #dee9ff;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #6d9ec1;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #2395e7; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #2395e7; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #2395e7; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #2395e7; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #4497c1; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #4497c1; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #dde2ec; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #5889ac; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #acdcff #ffffff #ffffff #acdcff; }
+
+
+
+.DlDataGrid { position: relative; background-color: #f0f5ff; border: 1px solid #47687f; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #bcd5ee; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #ff0000; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #8aa3bc; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #49b1e5; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #cde6ff; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #9defff; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #c9e1f8; border: 1px solid #97c7ea; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #cde6ff; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #002c35; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b2b7c1; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #4497c1; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #b9d8f8; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #7a859b; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #c9d0d9 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #3b76b3; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #35506b;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #7a859b;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #5b636c; color: #ffffff; border-color: #35506b; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #69829b #ffeeff #ffeeff #69829b; padding: 1px 4px; background-color: #bcd5ee; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #ff0000;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #5889ac #5889ac #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #5889ac #ffffff #ffffff #5889ac; }
+.Dl-3D-Border-Dark { border: 1px solid #5889ac; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-ds.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-ds.css
new file mode 100644
index 0000000..b879935
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-ds.css
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #d1c9e2;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #a39bbc #71688b #71688b #a39bbc; background-color: #d1c9e2; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #fbf2fb #b4accd #b4accd #fbf2fb; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #a39bbc #71688b #71688b #a39bbc; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #bcbcde #bcbcde #ffffff; }
+.DlButton-active { border-color: #71688b #a39bbc #a39bbc #71688b; background-color: #eae2f5; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #c5bcde #fbf2fb #fbf2fb #c5bcde; }
+.DlButton-1 { border-color: #71688b #b4accd #b4accd #71688b; background-color: #eae7f2; }
+.DlButton-1 .DlButton-inner { border-color: #c5bcde #ffffff #ffffff #c5bcde; }
+.DlButton-hover { background-color: #e2daf3; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #d1c9e2; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #9f97b0 #71688b #71688b #9f97b0; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #60587b #2e254a #2e254a #60587b; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #7a7182; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #7a7182; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #e4dcf3; }
+.DlCheckbox-active { background: #eae2f5 url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #7a7182; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #7a7182; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #e4dcf3; }
+.DlRadioButton-active { background: #eae2f5 url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #71688b #a39bbc #a39bbc #71688b; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #fbf2fb #fbf2fb #fbf2fb #fbf2fb; background-color: #f2edf9; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #f2edf9;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #71688b; outline: 1px solid #9f97b0; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #a0bcdf; color: #000000; }
+.DlEntry-ValidationError { border-color: #bf5340; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #f2d9df; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #f2d9df; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #e2daf3; border-bottom-color: #eee6f7; border-right-color: #eee6f7; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #e2daf3; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #9b93a3; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #9b93a3;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #8a82b4; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #d1c9e2 url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #9b93a3;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #71688b; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #8a82b4; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #a39bbc; background: #f2edf9; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #cec9ed; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #71688b #fbf2fb #fbf2fb #71688b;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #f4f0f8; }
+.DlCalendar-disabled { background-color: #e5e1e8; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #71688b; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #cdc5d5; background-color: #e5e1e8; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #cdc5d5; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #cdc5d5; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #7e768f; background-color: #e5e1e8; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #9f97b0; }
+.DlCalendar tr.Dates td.Today { color: #978fda; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #71688b; color: #7a7182; background-color: #e5e1e8; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #71688b; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #8a82b4; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #8a82b4; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #bcb4c5; padding: 1px 2px 1px 1px; background-color: #e2daf3 !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #ded5e6; border-top: 1px solid #ded5e6; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #9b93a3; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #a26e4c; }
+.DlCalendar td.WeekEnd { color: #a26e4c; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #ccaa88; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #9f97b0; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #b4accd; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #b4accd; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #eee6f7; margin-top: 1em;
+ -moz-border-top-colors: #938aac #fbf2fb;
+ -moz-border-bottom-colors: #fbf2fb #938aac;
+ -moz-border-left-colors: #938aac #fbf2fb;
+ -moz-border-right-colors: #fbf2fb #938aac;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #d1c9e2;
+ padding: 1px 7px; border: 1px solid #a39bbc; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #c1b0da; }
+.DlPopup-scrollDown { border-top: 1px solid #c1b0da; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #c1b0da; background-color: #f4f0f8; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #f7f7e8;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #2a2a19;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #f4f0f8;
+ border: 1px solid #8f7ea8;
+}
+
+.DlPopupMenu {
+ background-color: #f4f0f8;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #8f7ea8; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #dcd0ef #dcd0ef #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #f4f0f8;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #dcd0ef #dcd0ef #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #c5bcde; color: #000000; }
+.DlMenuItem-hover { background-color: #8a82b4; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #8a82b4; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #71688b; }
+.DlTabs .TabBar .DlButton-1 { background-color: #ddd5ec; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #c5bcde; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #ddd5ec; }
+.DlTabs .TabContent { border: 1px solid #71688b; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #c5bcde; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #c1b8d1;
+ border: 1px solid #a39bbc;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #7e768f; -moz-border-radius: 15px; padding: 4px; background-color: #eee6f7; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #a39bbc;
+ background-color: #eee6f7;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #a39bbc;
+ background-color: #eee6f7;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #a39bbc;
+ background-color: #eee6f7;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #a39bbc;
+ background-color: #eee6f7;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #a39bbc;
+ background-color: #eee6f7;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #cdc5d5; background-color: #eee6f7; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #d1c9e2; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #fbf2fb #7e768f #7e768f #fbf2fb;
+
+ background-color: #d1c9e2;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #c5bcde; border-color: #ffffff #9b93a3 #9b93a3 #ffffff; background-color: #eae2f5; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #c5bcde; border-color: #9b93a3 #ffffff #ffffff #9b93a3; background-color: #bfb8c9; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #71688b; background-color: #cfc8d8; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #ddd5ec; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #c5bcde; border-color: #ffffff #9b93a3 #9b93a3 #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #9b93a3 #ffffff #ffffff #9b93a3; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #9b93a3 #ffffff #ffffff #9b93a3; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #938aac;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #e2daf3; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #a39bbc;
+ background-color: #eee6f7;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #a39bbc;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #9b8acd; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #9b8acd; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #9b8acd; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #9b8acd; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #8a82b4; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #8a82b4; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #e5e1e8; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #938aac; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #d5cdee #ffffff #ffffff #d5cdee; }
+
+
+
+.DlDataGrid { position: relative; background-color: #f8f4fb; border: 1px solid #71688b; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #d1c9e2; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #bf4040; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #9f97b0; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #aca3d5; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #e2daf3; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #dadaf3; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #ddd5ec; border: 1px solid #c5bcde; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #e2daf3; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #4444c1; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b9b6bd; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #8a82b4; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #d4c9e8; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #8a8293; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #d0cdd5 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #8977ae; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #4c435e;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #8a8293;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #625f67; color: #ffffff; border-color: #4c435e; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #7e768f #fbf2fb #fbf2fb #7e768f; padding: 1px 4px; background-color: #d1c9e2; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #bf4040;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #938aac #938aac #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #938aac #ffffff #ffffff #938aac; }
+.Dl-3D-Border-Dark { border: 1px solid #938aac; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-green-ds.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-green-ds.css
new file mode 100644
index 0000000..f9ba3ea
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-green-ds.css
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #b4d1aa;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #749664 #54654c #54654c #749664; background-color: #b4d1aa; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #fbf2fb #8db17d #8db17d #fbf2fb; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #749664 #54654c #54654c #749664; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #a2be7d #a2be7d #ffffff; }
+.DlButton-active { border-color: #54654c #749664 #749664 #54654c; background-color: #dff3db; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #a7cb97 #fbf2fb #fbf2fb #a7cb97; }
+.DlButton-1 { border-color: #54654c #8db17d #8db17d #54654c; background-color: #e9f2e7; }
+.DlButton-1 .DlButton-inner { border-color: #a7cb97 #ffffff #ffffff #a7cb97; }
+.DlButton-hover { background-color: #c1e7b6; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #b4d1aa; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #849c7d #54654c #54654c #849c7d; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #404f38 #121c0e #121c0e #404f38; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #728271; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #728271; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #d0edc8; }
+.DlCheckbox-active { background: #dff3db url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #728271; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #728271; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #d0edc8; }
+.DlRadioButton-active { background: #dff3db url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #54654c #749664 #749664 #54654c; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #fbf2fb #fbf2fb #fbf2fb #fbf2fb; background-color: #eff9ed; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #eff9ed;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #54654c; outline: 1px solid #849c7d; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #a0bcdf; color: #000000; }
+.DlEntry-ValidationError { border-color: #bf5340; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #f2d9df; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #f2d9df; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #c1e7b6; border-bottom-color: #e7f7e6; border-right-color: #e7f7e6; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #c1e7b6; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #94a393; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #94a393;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #5e7c4a; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #b4d1aa url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #94a393;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #54654c; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #5e7c4a; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #749664; background: #eff9ed; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #a2d37c; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #54654c #fbf2fb #fbf2fb #54654c;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #f1f8f0; }
+.DlCalendar-disabled { background-color: #e1e8e1; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #54654c; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #c6d5c5; background-color: #e1e8e1; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #c6d5c5; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #c6d5c5; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #5e6d59; background-color: #e1e8e1; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #849c7d; }
+.DlCalendar tr.Dates td.Today { color: #507d2a; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #54654c; color: #728271; background-color: #e1e8e1; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #54654c; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #5e7c4a; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #5e7c4a; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #b5c5b4; padding: 1px 2px 1px 1px; background-color: #c1e7b6 !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #d6e6d5; border-top: 1px solid #d6e6d5; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #94a393; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #a26e4c; }
+.DlCalendar td.WeekEnd { color: #a26e4c; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #ccaa88; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #849c7d; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #8db17d; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #8db17d; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #e7f7e6; margin-top: 1em;
+ -moz-border-top-colors: #7a976d #fbf2fb;
+ -moz-border-bottom-colors: #fbf2fb #7a976d;
+ -moz-border-left-colors: #7a976d #fbf2fb;
+ -moz-border-right-colors: #fbf2fb #7a976d;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #b4d1aa;
+ padding: 1px 7px; border: 1px solid #749664; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #8ec483; }
+.DlPopup-scrollDown { border-top: 1px solid #8ec483; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #8ec483; background-color: #f1f8f0; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #f7f7e8;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #2a2a19;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #f1f8f0;
+ border: 1px solid #688f61;
+}
+
+.DlPopupMenu {
+ background-color: #f1f8f0;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #688f61; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #aee0a3 #aee0a3 #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #f1f8f0;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #aee0a3 #aee0a3 #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #a7cb97; color: #000000; }
+.DlMenuItem-hover { background-color: #5e7c4a; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #5e7c4a; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #54654c; }
+.DlTabs .TabBar .DlButton-1 { background-color: #c6e2bd; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #a7cb97; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #c6e2bd; }
+.DlTabs .TabContent { border: 1px solid #54654c; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #a7cb97; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #aec6a7;
+ border: 1px solid #749664;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #5e6d59; -moz-border-radius: 15px; padding: 4px; background-color: #e7f7e6; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #749664;
+ background-color: #e7f7e6;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #749664;
+ background-color: #e7f7e6;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #749664;
+ background-color: #e7f7e6;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #749664;
+ background-color: #e7f7e6;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #749664;
+ background-color: #e7f7e6;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #c6d5c5; background-color: #e7f7e6; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #b4d1aa; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #fbf2fb #5e6d59 #5e6d59 #fbf2fb;
+
+ background-color: #b4d1aa;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #a7cb97; border-color: #ffffff #94a393 #94a393 #ffffff; background-color: #dff3db; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #a7cb97; border-color: #94a393 #ffffff #ffffff #94a393; background-color: #a9bba6; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #54654c; background-color: #bdcfba; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #c6e2bd; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #a7cb97; border-color: #ffffff #94a393 #94a393 #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #94a393 #ffffff #ffffff #94a393; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #94a393 #ffffff #ffffff #94a393; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #7a976d;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #c1e7b6; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #749664;
+ background-color: #e7f7e6;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #749664;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #57903e; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #57903e; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #57903e; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #57903e; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #5e7c4a; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #5e7c4a; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #e1e8e1; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #7a976d; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #9fd685 #ffffff #ffffff #9fd685; }
+
+
+
+.DlDataGrid { position: relative; background-color: #f4fbf4; border: 1px solid #54654c; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #b4d1aa; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #bf4040; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #849c7d; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #74ac4e; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #c1e7b6; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #b8d98d; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #c6e2bd; border: 1px solid #a7cb97; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #c1e7b6; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #1c270d; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b6bdb6; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #5e7c4a; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #b6dcab; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #839382; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #cfd5cd url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #537848; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #2e3a2a;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #839382;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #61675f; color: #ffffff; border-color: #2e3a2a; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #5e6d59 #fbf2fb #fbf2fb #5e6d59; padding: 1px 4px; background-color: #b4d1aa; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #bf4040;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #7a976d #7a976d #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #7a976d #ffffff #ffffff #7a976d; }
+.Dl-3D-Border-Dark { border: 1px solid #7a976d; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-green.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-green.css
new file mode 100644
index 0000000..24bda66
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-green.css
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #a9e597;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #6baf4b #4f723f #4f723f #6baf4b; background-color: #a9e597; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #ffeeff #84cb63 #84cb63 #ffeeff; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #6baf4b #4f723f #4f723f #6baf4b; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #a6de5c #a6de5c #ffffff; }
+.DlButton-active { border-color: #4f723f #6baf4b #6baf4b #4f723f; background-color: #d7ffcf; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #9ee57d #ffeeff #ffeeff #9ee57d; }
+.DlButton-1 { border-color: #4f723f #84cb63 #84cb63 #4f723f; background-color: #e6f8e1; }
+.DlButton-1 .DlButton-inner { border-color: #9ee57d #ffffff #ffffff #9ee57d; }
+.DlButton-hover { background-color: #b4ff9d; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #a9e597; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #7cac6d #4f723f #4f723f #7cac6d; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #3b5a2d #102307 #102307 #3b5a2d; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #6b8b68; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #6b8b68; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #c7ffb6; }
+.DlCheckbox-active { background: #d7ffcf url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #6b8b68; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #6b8b68; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #c7ffb6; }
+.DlRadioButton-active { background: #d7ffcf url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #4f723f #6baf4b #6baf4b #4f723f; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #ffeeff #ffeeff #ffeeff #ffeeff; background-color: #ebffe7; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #ebffe7;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #4f723f; outline: 1px solid #7cac6d; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #80b9ff; color: #000000; }
+.DlEntry-ValidationError { border-color: #ff2600; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #ffccd9; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #ffccd9; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #b4ff9d; border-bottom-color: #e0ffde; border-right-color: #e0ffde; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #b4ff9d; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #8dac8a; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #8dac8a;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #599431; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #a9e597 url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #8dac8a;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #4f723f; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #599431; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #6baf4b; background: #ebffe7; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #9bff50; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #4f723f #ffeeff #ffeeff #4f723f;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #edfcec; }
+.DlCalendar-disabled { background-color: #deecdd; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #4f723f; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #bfdebc; background-color: #deecdd; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #bfdebc; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #bfdebc; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #58774f; background-color: #deecdd; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #7cac6d; }
+.DlCalendar tr.Dates td.Today { color: #4ca700; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #4f723f; color: #6b8b68; background-color: #deecdd; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #4f723f; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #599431; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #599431; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #aecdac; padding: 1px 2px 1px 1px; background-color: #b4ff9d !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #cfeecd; border-top: 1px solid #cfeecd; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #8dac8a; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #cc6622; }
+.DlCalendar td.WeekEnd { color: #cc6622; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #eeaa66; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #7cac6d; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #84cb63; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #84cb63; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #e0ffde; margin-top: 1em;
+ -moz-border-top-colors: #73ac58 #ffeeff;
+ -moz-border-bottom-colors: #ffeeff #73ac58;
+ -moz-border-left-colors: #73ac58 #ffeeff;
+ -moz-border-right-colors: #ffeeff #73ac58;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #a9e597;
+ padding: 1px 7px; border: 1px solid #6baf4b; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #79e563; }
+.DlPopup-scrollDown { border-top: 1px solid #79e563; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #79e563; background-color: #edfcec; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #fffee0;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #333210;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #edfcec;
+ border: 1px solid #59a64a;
+}
+
+.DlPopupMenu {
+ background-color: #edfcec;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #59a64a; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #9aff85 #9aff85 #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #edfcec;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #9aff85 #9aff85 #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #9ee57d; color: #000000; }
+.DlMenuItem-hover { background-color: #599431; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #599431; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #4f723f; }
+.DlTabs .TabBar .DlButton-1 { background-color: #bcf4ab; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #9ee57d; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #bcf4ab; }
+.DlTabs .TabContent { border: 1px solid #4f723f; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #9ee57d; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #a5d597;
+ border: 1px solid #6baf4b;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #58774f; -moz-border-radius: 15px; padding: 4px; background-color: #e0ffde; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #6baf4b;
+ background-color: #e0ffde;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #6baf4b;
+ background-color: #e0ffde;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #6baf4b;
+ background-color: #e0ffde;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #6baf4b;
+ background-color: #e0ffde;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #6baf4b;
+ background-color: #e0ffde;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #bfdebc; background-color: #e0ffde; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #a9e597; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #ffeeff #58774f #58774f #ffeeff;
+
+ background-color: #a9e597;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #9ee57d; border-color: #ffffff #8dac8a #8dac8a #ffffff; background-color: #d7ffcf; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #9ee57d; border-color: #8dac8a #ffffff #ffffff #8dac8a; background-color: #a2c59c; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #4f723f; background-color: #b6d9af; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #bcf4ab; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #9ee57d; border-color: #ffffff #8dac8a #8dac8a #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #8dac8a #ffffff #ffffff #8dac8a; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #8dac8a #ffffff #ffffff #8dac8a; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #73ac58;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #b4ff9d; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #6baf4b;
+ background-color: #e0ffde;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #6baf4b;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #48b915; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #48b915; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #48b915; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #48b915; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #599431; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #599431; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #deecdd; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #73ac58; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #90ff5c #ffffff #ffffff #90ff5c; }
+
+
+
+.DlDataGrid { position: relative; background-color: #f1fff0; border: 1px solid #4f723f; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #a9e597; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #ff0000; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #7cac6d; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #6adb1f; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #b4ff9d; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #bdff67; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #bcf4ab; border: 1px solid #9ee57d; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #b4ff9d; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #1e3500; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b3c1b2; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #599431; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #a8f492; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #7c9b7a; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #ccd9c9 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #45902f; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #294321;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #7c9b7a;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #5e6c5b; color: #ffffff; border-color: #294321; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #58774f #ffeeff #ffeeff #58774f; padding: 1px 4px; background-color: #a9e597; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #ff0000;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #73ac58 #73ac58 #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #73ac58 #ffffff #ffffff #73ac58; }
+.Dl-3D-Border-Dark { border: 1px solid #73ac58; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-grey.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-grey.css
new file mode 100644
index 0000000..32837f8
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-grey.css
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #d5d5d5;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #acacac #7a7a7a #7a7a7a #acacac; background-color: #d5d5d5; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #f7f6f7 #bcbcbc #bcbcbc #f7f6f7; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #acacac #7a7a7a #7a7a7a #acacac; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #cdcdcd #cdcdcd #ffffff; }
+.DlButton-active { border-color: #7a7a7a #acacac #acacac #7a7a7a; background-color: #ececec; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #cdcdcd #f7f6f7 #f7f6f7 #cdcdcd; }
+.DlButton-1 { border-color: #7a7a7a #bcbcbc #bcbcbc #7a7a7a; background-color: #ececec; }
+.DlButton-1 .DlButton-inner { border-color: #cdcdcd #ffffff #ffffff #cdcdcd; }
+.DlButton-hover { background-color: #e6e6e6; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #d5d5d5; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #a3a3a3 #7a7a7a #7a7a7a #a3a3a3; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #696969 #373737 #373737 #696969; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #7a7a7a; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #7a7a7a; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #e7e7e7; }
+.DlCheckbox-active { background: #ececec url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #7a7a7a; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #7a7a7a; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #e7e7e7; }
+.DlRadioButton-active { background: #ececec url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #7a7a7a #acacac #acacac #7a7a7a; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #f7f6f7 #f7f6f7 #f7f6f7 #f7f6f7; background-color: #f3f3f3; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #f3f3f3;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #7a7a7a; outline: 1px solid #a3a3a3; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #bfbfc0; color: #000000; }
+.DlEntry-ValidationError { border-color: #7f7f7f; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #e6e5e6; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #e6e5e6; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #e6e6e6; border-bottom-color: #eeeeee; border-right-color: #eeeeee; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #e6e6e6; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #9b9b9b; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #9b9b9b;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #9b9b9b; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #d5d5d5 url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #9b9b9b;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #7a7a7a; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #9b9b9b; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #acacac; background: #f3f3f3; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #dbdbdb; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #7a7a7a #f7f6f7 #f7f6f7 #7a7a7a;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #f4f4f4; }
+.DlCalendar-disabled { background-color: #e5e5e5; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #7a7a7a; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #cdcdcd; background-color: #e5e5e5; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #cdcdcd; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #cdcdcd; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #828282; background-color: #e5e5e5; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #a3a3a3; }
+.DlCalendar tr.Dates td.Today { color: #b4b4b4; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #7a7a7a; color: #7a7a7a; background-color: #e5e5e5; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #7a7a7a; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #9b9b9b; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #9b9b9b; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #bcbcbc; padding: 1px 2px 1px 1px; background-color: #e6e6e6 !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #dedede; border-top: 1px solid #dedede; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #9b9b9b; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #777777; }
+.DlCalendar td.WeekEnd { color: #777777; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #aaaaaa; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #a3a3a3; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #bcbcbc; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #bcbcbc; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #eeeeee; margin-top: 1em;
+ -moz-border-top-colors: #9b9b9b #f7f6f7;
+ -moz-border-bottom-colors: #f7f6f7 #9b9b9b;
+ -moz-border-left-colors: #9b9b9b #f7f6f7;
+ -moz-border-right-colors: #f7f6f7 #9b9b9b;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #d5d5d5;
+ padding: 1px 7px; border: 1px solid #acacac; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #c5c5c5; }
+.DlPopup-scrollDown { border-top: 1px solid #c5c5c5; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #c5c5c5; background-color: #f4f4f4; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #f0efef;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #212121;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #f4f4f4;
+ border: 1px solid #939393;
+}
+
+.DlPopupMenu {
+ background-color: #f4f4f4;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #939393; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #e0e0e0 #e0e0e0 #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #f4f4f4;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #e0e0e0 #e0e0e0 #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #cdcdcd; color: #000000; }
+.DlMenuItem-hover { background-color: #9b9b9b; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #9b9b9b; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #7a7a7a; }
+.DlTabs .TabBar .DlButton-1 { background-color: #e1e1e1; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #cdcdcd; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #e1e1e1; }
+.DlTabs .TabContent { border: 1px solid #7a7a7a; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #cdcdcd; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #c5c5c5;
+ border: 1px solid #acacac;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #828282; -moz-border-radius: 15px; padding: 4px; background-color: #eeeeee; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #acacac;
+ background-color: #eeeeee;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #acacac;
+ background-color: #eeeeee;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #acacac;
+ background-color: #eeeeee;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #acacac;
+ background-color: #eeeeee;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #acacac;
+ background-color: #eeeeee;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #cdcdcd; background-color: #eeeeee; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #d5d5d5; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #f7f6f7 #828282 #828282 #f7f6f7;
+
+ background-color: #d5d5d5;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #cdcdcd; border-color: #ffffff #9b9b9b #9b9b9b #ffffff; background-color: #ececec; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #cdcdcd; border-color: #9b9b9b #ffffff #ffffff #9b9b9b; background-color: #c0c0c0; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #7a7a7a; background-color: #d0d0d0; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #e1e1e1; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #cdcdcd; border-color: #ffffff #9b9b9b #9b9b9b #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #9b9b9b #ffffff #ffffff #9b9b9b; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #9b9b9b #ffffff #ffffff #9b9b9b; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #9b9b9b;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #e6e6e6; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #acacac;
+ background-color: #eeeeee;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #acacac;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #acacac; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #acacac; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #acacac; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #acacac; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #9b9b9b; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #9b9b9b; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #e5e5e5; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #9b9b9b; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #dedede #ffffff #ffffff #dedede; }
+
+
+
+.DlDataGrid { position: relative; background-color: #f8f8f8; border: 1px solid #7a7a7a; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #d5d5d5; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #7f7f7f; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #a3a3a3; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #bcbcbc; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #e6e6e6; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #e6e6e6; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #e1e1e1; border: 1px solid #cdcdcd; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #e6e6e6; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #828282; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b9b9b9; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #9b9b9b; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #d9d9d9; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #8a8a8a; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #d1d1d1 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #929292; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #888888; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #505050;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #8a8a8a;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #636363; color: #ffffff; border-color: #505050; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #888888; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #828282 #f7f6f7 #f7f6f7 #828282; padding: 1px 4px; background-color: #d5d5d5; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #7f7f7f;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #9b9b9b #9b9b9b #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #9b9b9b #ffffff #ffffff #9b9b9b; }
+.Dl-3D-Border-Dark { border: 1px solid #9b9b9b; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-magenta-ds.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-magenta-ds.css
new file mode 100644
index 0000000..626ee96
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-magenta-ds.css
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #dec9e2;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #b59bbc #83688b #83688b #b59bbc; background-color: #dec9e2; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #fbf2fb #c5accd #c5accd #fbf2fb; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #b59bbc #83688b #83688b #b59bbc; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #cebcde #cebcde #ffffff; }
+.DlButton-active { border-color: #83688b #b59bbc #b59bbc #83688b; background-color: #f4e2f5; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #d6bcde #fbf2fb #fbf2fb #d6bcde; }
+.DlButton-1 { border-color: #83688b #c5accd #c5accd #83688b; background-color: #f1e7f2; }
+.DlButton-1 .DlButton-inner { border-color: #d6bcde #ffffff #ffffff #d6bcde; }
+.DlButton-hover { background-color: #efdaf3; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #dec9e2; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #ac97b0 #83688b #83688b #ac97b0; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #72587b #41254a #41254a #72587b; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #827182; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #827182; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #f0dcf3; }
+.DlCheckbox-active { background: #f4e2f5 url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #827182; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #827182; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #f0dcf3; }
+.DlRadioButton-active { background: #f4e2f5 url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #83688b #b59bbc #b59bbc #83688b; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #fbf2fb #fbf2fb #fbf2fb #fbf2fb; background-color: #f8edf9; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #f8edf9;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #83688b; outline: 1px solid #ac97b0; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #a0bcdf; color: #000000; }
+.DlEntry-ValidationError { border-color: #bf5340; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #f2d9df; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #f2d9df; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #efdaf3; border-bottom-color: #f7e6f6; border-right-color: #f7e6f6; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #efdaf3; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #a393a3; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #a393a3;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #956da7; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #dec9e2 url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #a393a3;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #83688b; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #956da7; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #b59bbc; background: #f8edf9; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #e1c9ed; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #83688b #fbf2fb #fbf2fb #83688b;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #f8f0f8; }
+.DlCalendar-disabled { background-color: #e8e1e8; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #83688b; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #d5c5d5; background-color: #e8e1e8; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #d5c5d5; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #d5c5d5; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #8b768f; background-color: #e8e1e8; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #ac97b0; }
+.DlCalendar tr.Dates td.Today { color: #ad72d0; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #83688b; color: #827182; background-color: #e8e1e8; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #83688b; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #956da7; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #956da7; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #c5b4c4; padding: 1px 2px 1px 1px; background-color: #efdaf3 !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #e6d5e6; border-top: 1px solid #e6d5e6; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #a393a3; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #a26e4c; }
+.DlCalendar td.WeekEnd { color: #a26e4c; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #ccaa88; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #ac97b0; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #c5accd; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #c5accd; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #f7e6f6; margin-top: 1em;
+ -moz-border-top-colors: #a48aac #fbf2fb;
+ -moz-border-bottom-colors: #fbf2fb #a48aac;
+ -moz-border-left-colors: #a48aac #fbf2fb;
+ -moz-border-right-colors: #fbf2fb #a48aac;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #dec9e2;
+ padding: 1px 7px; border: 1px solid #b59bbc; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #cc9cd0; }
+.DlPopup-scrollDown { border-top: 1px solid #cc9cd0; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #cc9cd0; background-color: #f8f0f8; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #f7f7e8;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #2a2a19;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #f8f0f8;
+ border: 1px solid #946899;
+}
+
+.DlPopupMenu {
+ background-color: #f8f0f8;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #946899; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #ecd0ef #ecd0ef #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #f8f0f8;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #ecd0ef #ecd0ef #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #d6bcde; color: #000000; }
+.DlMenuItem-hover { background-color: #956da7; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #956da7; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #83688b; }
+.DlTabs .TabBar .DlButton-1 { background-color: #e9d5ec; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #d6bcde; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #e9d5ec; }
+.DlTabs .TabContent { border: 1px solid #83688b; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #d6bcde; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #cdb8d1;
+ border: 1px solid #b59bbc;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #8b768f; -moz-border-radius: 15px; padding: 4px; background-color: #f7e6f6; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #b59bbc;
+ background-color: #f7e6f6;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #b59bbc;
+ background-color: #f7e6f6;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #b59bbc;
+ background-color: #f7e6f6;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #b59bbc;
+ background-color: #f7e6f6;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #b59bbc;
+ background-color: #f7e6f6;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #d5c5d5; background-color: #f7e6f6; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #dec9e2; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #fbf2fb #8b768f #8b768f #fbf2fb;
+
+ background-color: #dec9e2;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #d6bcde; border-color: #ffffff #a393a3 #a393a3 #ffffff; background-color: #f4e2f5; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #d6bcde; border-color: #a393a3 #ffffff #ffffff #a393a3; background-color: #c7b8c9; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #83688b; background-color: #d7c8d8; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #e9d5ec; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #d6bcde; border-color: #ffffff #a393a3 #a393a3 #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #a393a3 #ffffff #ffffff #a393a3; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #a393a3 #ffffff #ffffff #a393a3; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #a48aac;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #efdaf3; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #b59bbc;
+ background-color: #f7e6f6;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #b59bbc;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #ad6dc1; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #ad6dc1; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #ad6dc1; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #ad6dc1; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #956da7; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #956da7; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #e8e1e8; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #a48aac; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #e7cdee #ffffff #ffffff #e7cdee; }
+
+
+
+.DlDataGrid { position: relative; background-color: #fbf4fb; border: 1px solid #83688b; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #dec9e2; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #bf4040; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #ac97b0; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #b78dcb; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #efdaf3; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #e6daf3; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #e9d5ec; border: 1px solid #d6bcde; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #efdaf3; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #3d1e5a; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #bdb6bd; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #956da7; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #e4c9e8; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #938292; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #d4cdd5 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #8c5995; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #59435e;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #938292;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #665f67; color: #ffffff; border-color: #59435e; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #8b768f #fbf2fb #fbf2fb #8b768f; padding: 1px 4px; background-color: #dec9e2; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #bf4040;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #a48aac #a48aac #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #a48aac #ffffff #ffffff #a48aac; }
+.Dl-3D-Border-Dark { border: 1px solid #a48aac; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-magenta.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-magenta.css
new file mode 100644
index 0000000..3a07dab
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-magenta.css
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #e7bcee;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #bd8acd #8c579d #8c579d #bd8acd; background-color: #e7bcee; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #ffeeff #ce9bde #ce9bde #ffeeff; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #bd8acd #8c579d #8c579d #bd8acd; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #ceacee #ceacee #ffffff; }
+.DlButton-active { border-color: #8c579d #bd8acd #bd8acd #8c579d; background-color: #fcd9ff; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #dfacee #ffeeff #ffeeff #dfacee; }
+.DlButton-1 { border-color: #8c579d #ce9bde #ce9bde #8c579d; background-color: #f5e1f8; }
+.DlButton-1 .DlButton-inner { border-color: #dfacee #ffffff #ffffff #dfacee; }
+.DlButton-hover { background-color: #f8cdff; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #e7bcee; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #b58abc #8c579d #8c579d #b58abc; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #7c468c #4b125c #4b125c #7c468c; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #8b688b; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #8b688b; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #f8d0ff; }
+.DlCheckbox-active { background: #fcd9ff url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #8b688b; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #8b688b; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #f8d0ff; }
+.DlRadioButton-active { background: #fcd9ff url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #8c579d #bd8acd #bd8acd #8c579d; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #ffeeff #ffeeff #ffeeff #ffeeff; background-color: #fde7ff; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #fde7ff;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #8c579d; outline: 1px solid #b58abc; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #80b9ff; color: #000000; }
+.DlEntry-ValidationError { border-color: #ff2600; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #ffccd9; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #ffccd9; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #f8cdff; border-bottom-color: #ffdefe; border-right-color: #ffdefe; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #f8cdff; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #ac8aab; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #ac8aab;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #9f4fc4; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #e7bcee url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #ac8aab;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #8c579d; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #9f4fc4; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #bd8acd; background: #fde7ff; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #e6b7ff; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #8c579d #ffeeff #ffeeff #8c579d;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #fcecfc; }
+.DlCalendar-disabled { background-color: #ecddec; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #8c579d; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #debcdd; background-color: #ecddec; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #debcdd; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #debcdd; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #94699b; background-color: #ecddec; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #b58abc; }
+.DlCalendar tr.Dates td.Today { color: #b944ff; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #8c579d; color: #8b688b; background-color: #ecddec; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #8c579d; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #9f4fc4; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #9f4fc4; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #cdaccc; padding: 1px 2px 1px 1px; background-color: #f8cdff !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #eecdee; border-top: 1px solid #eecdee; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #ac8aab; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #cc6622; }
+.DlCalendar td.WeekEnd { color: #cc6622; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #eeaa66; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #b58abc; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #ce9bde; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #ce9bde; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #ffdefe; margin-top: 1em;
+ -moz-border-top-colors: #ad7abc #ffeeff;
+ -moz-border-bottom-colors: #ffeeff #ad7abc;
+ -moz-border-left-colors: #ad7abc #ffeeff;
+ -moz-border-right-colors: #ffeeff #ad7abc;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #e7bcee;
+ padding: 1px 7px; border: 1px solid #bd8acd; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #e282ea; }
+.DlPopup-scrollDown { border-top: 1px solid #e282ea; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #e282ea; background-color: #fcecfc; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #fffee0;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #333210;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #fcecfc;
+ border: 1px solid #a94fb1;
+}
+
+.DlPopupMenu {
+ background-color: #fcecfc;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #a94fb1; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #f9c0ff #f9c0ff #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #fcecfc;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #f9c0ff #f9c0ff #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #dfacee; color: #000000; }
+.DlMenuItem-hover { background-color: #9f4fc4; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #9f4fc4; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #8c579d; }
+.DlTabs .TabBar .DlButton-1 { background-color: #f1c9f8; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #dfacee; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #f1c9f8; }
+.DlTabs .TabContent { border: 1px solid #8c579d; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #dfacee; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #d6acde;
+ border: 1px solid #bd8acd;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #94699b; -moz-border-radius: 15px; padding: 4px; background-color: #ffdefe; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #bd8acd;
+ background-color: #ffdefe;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #bd8acd;
+ background-color: #ffdefe;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #bd8acd;
+ background-color: #ffdefe;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #bd8acd;
+ background-color: #ffdefe;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #bd8acd;
+ background-color: #ffdefe;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #debcdd; background-color: #ffdefe; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #e7bcee; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #ffeeff #94699b #94699b #ffeeff;
+
+ background-color: #e7bcee;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #dfacee; border-color: #ffffff #ac8aab #ac8aab #ffffff; background-color: #fcd9ff; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #dfacee; border-color: #ac8aab #ffffff #ffffff #ac8aab; background-color: #cfb0d1; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #8c579d; background-color: #debfe1; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #f1c9f8; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #dfacee; border-color: #ffffff #ac8aab #ac8aab #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #ac8aab #ffffff #ffffff #ac8aab; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #ac8aab #ffffff #ffffff #ac8aab; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #ad7abc;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #f8cdff; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #bd8acd;
+ background-color: #ffdefe;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #bd8acd;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #c344ea; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #c344ea; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #c344ea; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #c344ea; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #9f4fc4; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #9f4fc4; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #ecddec; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #ad7abc; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #efbcff #ffffff #ffffff #efbcff; }
+
+
+
+.DlDataGrid { position: relative; background-color: #fff0fe; border: 1px solid #8c579d; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #e7bcee; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #ff0000; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #b58abc; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #c36dea; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #f8cdff; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #e7cdff; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #f1c9f8; border: 1px solid #dfacee; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #f8cdff; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #3e0078; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #c1b2c1; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #9f4fc4; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #efb9f8; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #9b7a9b; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #d7c9d9 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #a23bb3; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #63356b;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #9b7a9b;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #6a5b6c; color: #ffffff; border-color: #63356b; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #94699b #ffeeff #ffeeff #94699b; padding: 1px 4px; background-color: #e7bcee; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #ff0000;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #ad7abc #ad7abc #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #ad7abc #ffffff #ffffff #ad7abc; }
+.Dl-3D-Border-Dark { border: 1px solid #ad7abc; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-red-ds.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-red-ds.css
new file mode 100644
index 0000000..b3cf6f4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-red-ds.css
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #dbcbbb;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #ac9482 #65574c #65574c #ac9482; background-color: #dbcbbb; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #fbf2fb #c1a997 #c1a997 #fbf2fb; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #ac9482 #65574c #65574c #ac9482; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #d5b3ac #d5b3ac #ffffff; }
+.DlButton-active { border-color: #65574c #ac9482 #ac9482 #65574c; background-color: #f3e9db; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #cbad97 #fbf2fb #fbf2fb #cbad97; }
+.DlButton-1 { border-color: #65574c #c1a997 #c1a997 #65574c; background-color: #f2ede7; }
+.DlButton-1 .DlButton-inner { border-color: #cbad97 #ffffff #ffffff #cbad97; }
+.DlButton-hover { background-color: #ebd9c4; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #dbcbbb; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #9c8d7d #65574c #65574c #9c8d7d; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #5d4e42 #2f2218 #2f2218 #5d4e42; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #6a655c; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #6a655c; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #eddbc8; }
+.DlCheckbox-active { background: #f3e9db url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #6a655c; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #6a655c; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #eddbc8; }
+.DlRadioButton-active { background: #f3e9db url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #65574c #ac9482 #ac9482 #65574c; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #fbf2fb #fbf2fb #fbf2fb #fbf2fb; background-color: #f9f4ed; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #f9f4ed;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #65574c; outline: 1px solid #9c8d7d; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #a0bcdf; color: #000000; }
+.DlEntry-ValidationError { border-color: #bf5340; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #f2d9df; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #f2d9df; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #ebd9c4; border-bottom-color: #f5eee0; border-right-color: #f5eee0; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #ebd9c4; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #8d8678; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #8d8678;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #a17963; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #dbcbbb url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #8d8678;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #65574c; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #a17963; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #ac9482; background: #f9f4ed; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #e3bdab; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #65574c #fbf2fb #fbf2fb #65574c;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #f8f6f0; }
+.DlCalendar-disabled { background-color: #e8e6e1; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #65574c; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #cbc4b6; background-color: #e8e6e1; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #cbc4b6; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #cbc4b6; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #776d62; background-color: #e8e6e1; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #9c8d7d; }
+.DlCalendar tr.Dates td.Today { color: #c4724f; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #65574c; color: #6a655c; background-color: #e8e6e1; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #65574c; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #a17963; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #a17963; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #b6b0a1; padding: 1px 2px 1px 1px; background-color: #ebd9c4 !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #e0d9cb; border-top: 1px solid #e0d9cb; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #8d8678; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #a26e4c; }
+.DlCalendar td.WeekEnd { color: #a26e4c; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #ccaa88; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #9c8d7d; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #c1a997; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #c1a997; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #f5eee0; margin-top: 1em;
+ -moz-border-top-colors: #977f6d #fbf2fb;
+ -moz-border-bottom-colors: #fbf2fb #977f6d;
+ -moz-border-left-colors: #977f6d #fbf2fb;
+ -moz-border-right-colors: #fbf2fb #977f6d;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #dbcbbb;
+ padding: 1px 7px; border: 1px solid #ac9482; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #c4a983; }
+.DlPopup-scrollDown { border-top: 1px solid #c4a983; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #c4a983; background-color: #f8f6f0; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #f7f7e8;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #2a2a19;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #f8f6f0;
+ border: 1px solid #8f7c61;
+}
+
+.DlPopupMenu {
+ background-color: #f8f6f0;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #8f7c61; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #e0c6a3 #e0c6a3 #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #f8f6f0;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #e0c6a3 #e0c6a3 #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #cbad97; color: #000000; }
+.DlMenuItem-hover { background-color: #a17963; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #a17963; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #65574c; }
+.DlTabs .TabBar .DlButton-1 { background-color: #e8daca; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #cbad97; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #e8daca; }
+.DlTabs .TabContent { border: 1px solid #65574c; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #cbad97; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #c6b7a7;
+ border: 1px solid #ac9482;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #776d62; -moz-border-radius: 15px; padding: 4px; background-color: #f5eee0; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #ac9482;
+ background-color: #f5eee0;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #ac9482;
+ background-color: #f5eee0;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #ac9482;
+ background-color: #f5eee0;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #ac9482;
+ background-color: #f5eee0;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #ac9482;
+ background-color: #f5eee0;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #cbc4b6; background-color: #f5eee0; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #dbcbbb; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #fbf2fb #776d62 #776d62 #fbf2fb;
+
+ background-color: #dbcbbb;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #cbad97; border-color: #ffffff #8d8678 #8d8678 #ffffff; background-color: #f3e9db; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #cbad97; border-color: #8d8678 #ffffff #ffffff #8d8678; background-color: #bbb3a6; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #65574c; background-color: #cfc6ba; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #e8daca; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #cbad97; border-color: #ffffff #8d8678 #8d8678 #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #8d8678 #ffffff #ffffff #8d8678; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #8d8678 #ffffff #ffffff #8d8678; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #977f6d;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #ebd9c4; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #ac9482;
+ background-color: #f5eee0;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #ac9482;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #af764b; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #af764b; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #af764b; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #af764b; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #a17963; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #a17963; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #e8e6e1; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #977f6d; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #e5c7b1 #ffffff #ffffff #e5c7b1; }
+
+
+
+.DlDataGrid { position: relative; background-color: #fbf9f4; border: 1px solid #65574c; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #dbcbbb; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #bf4040; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #9c8d7d; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #be8b70; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #ebd9c4; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #efd6d0; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #e8daca; border: 1px solid #cbad97; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #ebd9c4; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #27120d; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #bdbbb6; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #a17963; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #dcc5ab; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #7f796e; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #d5d1cd url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #786148; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #493f34;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #7f796e;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #67645f; color: #ffffff; border-color: #493f34; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #776d62 #fbf2fb #fbf2fb #776d62; padding: 1px 4px; background-color: #dbcbbb; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #bf4040;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #977f6d #977f6d #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #977f6d #ffffff #ffffff #977f6d; }
+.Dl-3D-Border-Dark { border: 1px solid #977f6d; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-red.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-red.css
new file mode 100644
index 0000000..e1e2890
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-red.css
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #eaccac;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #c1916d #72553f #72553f #c1916d; background-color: #eaccac; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #ffeeff #d5a682 #d5a682 #ffeeff; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #c1916d #72553f #72553f #c1916d; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #eaa697 #eaa697 #ffffff; }
+.DlButton-active { border-color: #72553f #c1916d #c1916d #72553f; background-color: #ffeccf; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #e5aa7d #ffeeff #ffeeff #e5aa7d; }
+.DlButton-1 { border-color: #72553f #d5a682 #d5a682 #72553f; background-color: #f8ede1; }
+.DlButton-1 .DlButton-inner { border-color: #e5aa7d #ffffff #ffffff #e5aa7d; }
+.DlButton-hover { background-color: #ffd9b1; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #eaccac; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #ac8e6d #72553f #72553f #ac8e6d; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #6a4c35 #3b200c #3b200c #6a4c35; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #716855; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #716855; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #ffdbb6; }
+.DlCheckbox-active { background: #ffeccf url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #716855; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #716855; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #ffdbb6; }
+.DlRadioButton-active { background: #ffeccf url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #72553f #c1916d #c1916d #72553f; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #ffeeff #ffeeff #ffeeff #ffeeff; background-color: #fff5e7; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #fff5e7;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #72553f; outline: 1px solid #ac8e6d; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #80b9ff; color: #000000; }
+.DlEntry-ValidationError { border-color: #ff2600; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #ffccd9; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #ffccd9; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #ffd9b1; border-bottom-color: #fff2d5; border-right-color: #fff2d5; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #ffd9b1; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #978a6d; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #978a6d;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #c16f44; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #eaccac url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #978a6d;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #72553f; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #c16f44; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #c1916d; background: #fff5e7; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #ffb38f; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #72553f #ffeeff #ffeeff #72553f;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #fcf7ec; }
+.DlCalendar-disabled { background-color: #ece7dd; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #72553f; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #d5c8ac; background-color: #ece7dd; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #d5c8ac; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #d5c8ac; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #826d57; background-color: #ece7dd; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #ac8e6d; }
+.DlCalendar tr.Dates td.Today { color: #ff5a15; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #72553f; color: #716855; background-color: #ece7dd; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #72553f; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #c16f44; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #c16f44; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #c1b397; padding: 1px 2px 1px 1px; background-color: #ffd9b1 !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #eaddc1; border-top: 1px solid #eaddc1; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #978a6d; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #cc6622; }
+.DlCalendar td.WeekEnd { color: #cc6622; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #eeaa66; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #ac8e6d; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #d5a682; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #d5a682; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #fff2d5; margin-top: 1em;
+ -moz-border-top-colors: #ac7d58 #ffeeff;
+ -moz-border-bottom-colors: #ffeeff #ac7d58;
+ -moz-border-left-colors: #ac7d58 #ffeeff;
+ -moz-border-right-colors: #ffeeff #ac7d58;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #eaccac;
+ padding: 1px 7px; border: 1px solid #c1916d; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #e5af63; }
+.DlPopup-scrollDown { border-top: 1px solid #e5af63; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #e5af63; background-color: #fcf7ec; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #fffee0;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #333210;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #fcf7ec;
+ border: 1px solid #a67f4a;
+}
+
+.DlPopupMenu {
+ background-color: #fcf7ec;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #a67f4a; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #ffcb85 #ffcb85 #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #fcf7ec;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #ffcb85 #ffcb85 #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #e5aa7d; color: #000000; }
+.DlMenuItem-hover { background-color: #c16f44; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #c16f44; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #72553f; }
+.DlTabs .TabBar .DlButton-1 { background-color: #f6dabc; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #e5aa7d; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #f6dabc; }
+.DlTabs .TabContent { border: 1px solid #72553f; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #e5aa7d; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #d5b797;
+ border: 1px solid #c1916d;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #826d57; -moz-border-radius: 15px; padding: 4px; background-color: #fff2d5; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #c1916d;
+ background-color: #fff2d5;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #c1916d;
+ background-color: #fff2d5;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #c1916d;
+ background-color: #fff2d5;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #c1916d;
+ background-color: #fff2d5;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #c1916d;
+ background-color: #fff2d5;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #d5c8ac; background-color: #fff2d5; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #eaccac; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #ffeeff #826d57 #826d57 #ffeeff;
+
+ background-color: #eaccac;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #e5aa7d; border-color: #ffffff #978a6d #978a6d #ffffff; background-color: #ffeccf; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #e5aa7d; border-color: #978a6d #ffffff #ffffff #978a6d; background-color: #c5b59c; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #72553f; background-color: #d9c8af; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #f6dabc; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #e5aa7d; border-color: #ffffff #978a6d #978a6d #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #978a6d #ffffff #ffffff #978a6d; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #978a6d #ffffff #ffffff #978a6d; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #ac7d58;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #ffd9b1; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #c1916d;
+ background-color: #fff2d5;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #c1916d;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #e17019; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #e17019; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #e17019; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #e17019; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #c16f44; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #c16f44; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #ece7dd; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #ac7d58; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #ffc497 #ffffff #ffffff #ffc497; }
+
+
+
+.DlDataGrid { position: relative; background-color: #fffbf0; border: 1px solid #72553f; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #eaccac; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #ff0000; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #ac8e6d; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #e58049; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #ffd9b1; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #ffccc1; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #f6dabc; border: 1px solid #e5aa7d; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #ffd9b1; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #350a00; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #c1bcb2; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #c16f44; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #f4c692; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #877d65; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #d9d2c9 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #90622f; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #54402a;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #877d65;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #6c645b; color: #ffffff; border-color: #54402a; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #826d57 #ffeeff #ffeeff #826d57; padding: 1px 4px; background-color: #eaccac; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #ff0000;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #ac7d58 #ac7d58 #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #ac7d58 #ffffff #ffffff #ac7d58; }
+.Dl-3D-Border-Dark { border: 1px solid #ac7d58; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-yellow-ds.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-yellow-ds.css
new file mode 100644
index 0000000..c1f153e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-yellow-ds.css
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #c6bf95;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #968a64 #655f4c #655f4c #968a64; background-color: #c6bf95; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #fbf2fb #b1a57d #b1a57d #fbf2fb; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #968a64 #655f4c #655f4c #968a64; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #cbb297 #cbb297 #ffffff; }
+.DlButton-active { border-color: #655f4c #968a64 #968a64 #655f4c; background-color: #e2dea8; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #beaf7d #fbf2fb #fbf2fb #beaf7d; }
+.DlButton-1 { border-color: #655f4c #b1a57d #b1a57d #655f4c; background-color: #efede0; }
+.DlButton-1 .DlButton-inner { border-color: #beaf7d #ffffff #ffffff #beaf7d; }
+.DlButton-hover { background-color: #d9cd8d; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #c6bf95; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #9c977d #655f4c #655f4c #9c977d; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #4f4a38 #1c190e #1c190e #4f4a38; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #6a6a5c; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #6a6a5c; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #dbd093; }
+.DlCheckbox-active { background: #e2dea8 url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #6a6a5c; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #6a6a5c; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #dbd093; }
+.DlRadioButton-active { background: #e2dea8 url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #655f4c #968a64 #968a64 #655f4c; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #fbf2fb #fbf2fb #fbf2fb #fbf2fb; background-color: #f3f1db; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #f3f1db;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #655f4c; outline: 1px solid #9c977d; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #a0bcdf; color: #000000; }
+.DlEntry-ValidationError { border-color: #bf5340; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #f2d9df; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #f2d9df; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #d9cd8d; border-bottom-color: #e5e6b3; border-right-color: #e5e6b3; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #d9cd8d; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #8c8d78; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #8c8d78;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #7c6c4a; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #c6bf95 url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #8c8d78;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #655f4c; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #7c6c4a; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #968a64; background: #f3f1db; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #d3b57c; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #655f4c #fbf2fb #fbf2fb #655f4c;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #f8f8f0; }
+.DlCalendar-disabled { background-color: #e8e8e1; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #655f4c; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #cbcbb6; background-color: #e8e8e1; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #cbcbb6; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #cbcbb6; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #6d6a59; background-color: #e8e8e1; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #9c977d; }
+.DlCalendar tr.Dates td.Today { color: #8d6a2f; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #655f4c; color: #6a6a5c; background-color: #e8e8e1; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #655f4c; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #7c6c4a; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #7c6c4a; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #b6b6a1; padding: 1px 2px 1px 1px; background-color: #d9cd8d !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #d8d8be; border-top: 1px solid #d8d8be; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #8c8d78; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #a26e4c; }
+.DlCalendar td.WeekEnd { color: #a26e4c; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #ccaa88; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #9c977d; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #b1a57d; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #b1a57d; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #e5e6b3; margin-top: 1em;
+ -moz-border-top-colors: #7f765b #fbf2fb;
+ -moz-border-bottom-colors: #fbf2fb #7f765b;
+ -moz-border-left-colors: #7f765b #fbf2fb;
+ -moz-border-right-colors: #fbf2fb #7f765b;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #c6bf95;
+ padding: 1px 7px; border: 1px solid #968a64; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #999248; }
+.DlPopup-scrollDown { border-top: 1px solid #999248; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #999248; background-color: #f8f8f0; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #f7f7e8;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #2a2a19;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #f8f8f0;
+ border: 1px solid #73704e;
+}
+
+.DlPopupMenu {
+ background-color: #f8f8f0;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #73704e; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #c3b84c #c3b84c #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #f8f8f0;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #c3b84c #c3b84c #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #beaf7d; color: #000000; }
+.DlMenuItem-hover { background-color: #7c6c4a; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #7c6c4a; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #655f4c; }
+.DlTabs .TabBar .DlButton-1 { background-color: #dbd4ad; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #beaf7d; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #dbd4ad; }
+.DlTabs .TabContent { border: 1px solid #655f4c; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #beaf7d; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #b7b290;
+ border: 1px solid #968a64;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #6d6a59; -moz-border-radius: 15px; padding: 4px; background-color: #e5e6b3; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #968a64;
+ background-color: #e5e6b3;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #968a64;
+ background-color: #e5e6b3;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #968a64;
+ background-color: #e5e6b3;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #968a64;
+ background-color: #e5e6b3;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #968a64;
+ background-color: #e5e6b3;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #cbcbb6; background-color: #e5e6b3; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #c6bf95; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #fbf2fb #6d6a59 #6d6a59 #fbf2fb;
+
+ background-color: #c6bf95;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #beaf7d; border-color: #ffffff #8c8d78 #8c8d78 #ffffff; background-color: #e2dea8; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #beaf7d; border-color: #8c8d78 #ffffff #ffffff #8c8d78; background-color: #bbbaa6; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #655f4c; background-color: #cfcdba; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #dbd4ad; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #beaf7d; border-color: #ffffff #8c8d78 #8c8d78 #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #8c8d78 #ffffff #ffffff #8c8d78; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #8c8d78 #ffffff #ffffff #8c8d78; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #7f765b;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #d9cd8d; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #968a64;
+ background-color: #e5e6b3;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #968a64;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #817037; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #817037; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #817037; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #817037; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #7c6c4a; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #7c6c4a; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #e8e8e1; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #7f765b; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #ccb467 #ffffff #ffffff #ccb467; }
+
+
+
+.DlDataGrid { position: relative; background-color: #fbfbf4; border: 1px solid #655f4c; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #c6bf95; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #bf4040; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #9c977d; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #ac8e4e; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #d9cd8d; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #e7cfb6; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #dbd4ad; border: 1px solid #beaf7d; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #d9cd8d; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #271b0d; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #bdbdb6; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #7c6c4a; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #c8bd7b; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #757565; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #d5d4cd url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #6b6440; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #3a382a;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #757565;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #67665f; color: #ffffff; border-color: #3a382a; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #5eb366; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #6d6a59 #fbf2fb #fbf2fb #6d6a59; padding: 1px 4px; background-color: #c6bf95; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #bf4040;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #7f765b #7f765b #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #7f765b #ffffff #ffffff #7f765b; }
+.Dl-3D-Border-Dark { border: 1px solid #7f765b; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-yellow.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-yellow.css
new file mode 100644
index 0000000..a0ca201
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default-yellow.css
@@ -0,0 +1,1093 @@
+
+
+html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #ffffff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+
+
+
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+
+}
+
+.DlWidget {
+
+ cursor: default;
+ color: #000000;
+
+ zoom: 1;
+}
+
+.DlWidget-3D {
+ background-color: #ded07d;
+ color: #000000;
+}
+
+
+
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+
+
+.DlAbstractButton { white-space: nowrap; }
+
+
+
+.DlButton { border: 1px solid; border-color: #af984b #72663f #72663f #af984b; background-color: #ded07d; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #ffeeff #cbb363 #cbb363 #ffeeff; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; }
+
+.DlButton-hover { border-color: #af984b #72663f #72663f #af984b; }
+.DlButton-hover .DlButton-inner { border-color: #ffffff #e5b37d #e5b37d #ffffff; }
+.DlButton-active { border-color: #72663f #af984b #af984b #72663f; background-color: #fff68a; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #dec05c #ffeeff #ffeeff #dec05c; }
+.DlButton-1 { border-color: #72663f #cbb363 #cbb363 #72663f; background-color: #f6f2d9; }
+.DlButton-1 .DlButton-inner { border-color: #dec05c #ffffff #ffffff #dec05c; }
+.DlButton-hover { background-color: #ffe867; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #ded07d; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #aca26d #72663f #72663f #aca26d; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #5a502d #231c07 #231c07 #5a502d; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlCheckbox-0 { color: #717155; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #717155; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #ffe970; }
+.DlCheckbox-active { background: #fff68a url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+
+
+.DlWidget-disabled.DlRadioButton-0 { color: #717155; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #717155; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #ffe970; }
+.DlRadioButton-active { background: #fff68a url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+
+
+.DlEntry { border: 1px solid; border-color: #72663f #af984b #af984b #72663f; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #ffeeff #ffeeff #ffeeff #ffeeff; background-color: #fffbcf; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #fffbcf;
+ color: #000000;
+ padding: 1px 2px 2px 2px !important;
+
+ resize: none;
+}
+.DlEntry-Focus { border-color: #72663f; outline: 1px solid #aca26d; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #ffffff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #80b9ff; color: #000000; }
+.DlEntry-ValidationError { border-color: #ff2600; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #ffffff; background-color: #ffccd9; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #ffccd9; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #ffe867; border-bottom-color: #fdff99; border-right-color: #fdff99; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #ffe867; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #96976d; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #96976d;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #ffffff; }
+.DlEntry-dropDownBtn-active { background-color: #947531; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+
+
+.DlComboBox-dropDownBtn {
+ background: #ded07d url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #96976d;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #72663f; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #ffffff; }
+.DlComboBox-dropDownBtn-active { background-color: #947531; }
+
+
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+
+
+.DlProgressBar { position: relative; border: 1px solid #af984b; background: #fffbcf; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #ffc350; }
+
+
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #72663f #ffeeff #ffeeff #72663f;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+
+
+.DlCalendar { background-color: #fcfcec; }
+.DlCalendar-disabled { background-color: #ececdd; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #72663f; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #d5d5ac; background-color: #ececdd; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #d5d5ac; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #d5d5ac; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #77714f; background-color: #ececdd; }
+
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #aca26d; }
+.DlCalendar tr.Dates td.Today { color: #bc7600; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #72663f; color: #717155; background-color: #ececdd; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #72663f; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #947531; color: #ffffff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #947531; color: #ffffff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #c0c197; padding: 1px 2px 1px 1px; background-color: #ffe867 !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #e4e5b1; border-top: 1px solid #e4e5b1; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #96976d; background-color: #ffffff; padding: 1px 2px 1px 1px; }
+
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #cc6622; }
+.DlCalendar td.WeekEnd { color: #cc6622; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #eeaa66; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+
+ background-color: #aca26d; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+
+
+.DlContainer { position: relative; }
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #cbb363; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #cbb363; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #fdff99; margin-top: 1em;
+ -moz-border-top-colors: #918048 #ffeeff;
+ -moz-border-bottom-colors: #ffeeff #918048;
+ -moz-border-left-colors: #918048 #ffeeff;
+ -moz-border-right-colors: #ffeeff #918048;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #ded07d;
+ padding: 1px 7px; border: 1px solid #af984b; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #c1b420; }
+.DlPopup-scrollDown { border-top: 1px solid #c1b420; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #ffffff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #c1b420; background-color: #fcfcec; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #fffee0;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #333210;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000000; }
+
+.DlDialogPopup {
+ background-color: #fcfcec;
+ border: 1px solid #867f3b;
+}
+
+.DlPopupMenu {
+ background-color: #fcfcec;
+ border: 1px solid #eeeeee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #867f3b; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #ffffff #ffe910 #ffe910 #ffffff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #fcfcec;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #ffffff #ffe910 #ffe910 #ffffff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #cccccc;
+ border-bottom: 1px solid #ffffff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: #dec05c; color: #000000; }
+.DlMenuItem-hover { background-color: #947531; color: #ffffff; }
+.DlMenuItem-active { background-color: #000000; color: #ffffff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #947531; color: #ffffff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000000; color: #ffffff; }
+
+
+
+
+
+
+
+
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #72663f; }
+.DlTabs .TabBar .DlButton-1 { background-color: #f2e496; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #dec05c; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #f2e496; }
+.DlTabs .TabContent { border: 1px solid #72663f; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #dec05c; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #cbbf7d;
+ border: 1px solid #af984b;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #77714f; -moz-border-radius: 15px; padding: 4px; background-color: #fdff99; }
+.DlMacBarIcon-active { opacity: 0.6; }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #af984b;
+ background-color: #fdff99;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #af984b;
+ background-color: #fdff99;
+}
+
+
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #af984b;
+ background-color: #fdff99;
+
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #af984b;
+ background-color: #fdff99;
+
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #af984b;
+ background-color: #fdff99;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #d5d5ac; background-color: #fdff99; }
+
+
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #ded07d; color: #000000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+
+
+
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #ffeeff #77714f #77714f #ffeeff;
+
+ background-color: #ded07d;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #dec05c; border-color: #ffffff #96976d #96976d #ffffff; background-color: #fff68a; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #dec05c; border-color: #96976d #ffffff #ffffff #96976d; background-color: #c5c29c; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #72663f; background-color: #d9d6af; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #f2e496; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #dec05c; border-color: #ffffff #96976d #96976d #ffffff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #96976d #ffffff #ffffff #96976d; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #96976d #ffffff #ffffff #96976d; }
+
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #918048;
+ background-color: #ffffff;
+}
+
+.DlToolbar-Light { background: #ffe867; }
+
+
+
+
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #af984b;
+ background-color: #fdff99;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #af984b;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #a68412; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #a68412; color: #ffffff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #a68412; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #a68412; color: #ffffff; }
+
+
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #947531; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #947531; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000000; margin: -1px; }
+
+
+
+.DlColorPickerHSV { border: 1px solid #000000; background-color: #ececdd; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #ffffff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #ffffff; }
+
+
+
+.DlRteFrame { border: 1px solid; border-color: #918048; }
+
+.DlRteFrame iframe { border: 1px solid; border-color: #ffd034 #ffffff #ffffff #ffd034; }
+
+
+
+.DlDataGrid { position: relative; background-color: #fefff0; border: 1px solid #72663f; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #ded07d; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #ff0000; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #cccccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000000; }
+.DlDataGrid-focus { outline: 1px solid #aca26d; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #db9f1f; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #ffffff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #ffe867; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #ffd09d; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+
+
+.DlIconListView { background-color: #f2e496; border: 1px solid #dec05c; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #ffe867; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #351b00; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #c1c1b2; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #947531; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #ffffff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+
+
+
+
+
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #eed955; position: relative; }
+
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+
+
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+.DlDialog-noShadows { border: 2px solid #7c7d5e; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000000; }
+
+
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #d9d7c9 url("img/titlebg.png") repeat-x 0 50%; color: #555555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #80742a; color: #ffffff; border-color: #ffffff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000000; }
+
+
+
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #433e21;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000000;
+ -moz-border-left-colors: #000000 #ffffff;
+ -moz-border-top-colors: #000000 #ffffff;
+ -moz-border-right-colors: #000000 #ffffff;
+ -moz-border-bottom-colors: #000000 #ffffff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #ffffff; color: #000000;
+ border-bottom: 1px solid #7c7d5e;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #6c6a5b; color: #ffffff; border-color: #433e21; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000000; color: #33dd44; }
+
+
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+
+
+
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #77714f #ffeeff #ffeeff #77714f; padding: 1px 4px; background-color: #ded07d; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000000;
+
+ background: #ffffff; opacity: 0.4; filter: alpha(opacity=40);
+
+ border: 1px dashed #ff0000;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000000;
+
+
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #ffffff #918048 #918048 #ffffff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #918048 #ffffff #ffffff #918048; }
+.Dl-3D-Border-Dark { border: 1px solid #918048; }
+
+
+
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; }
+
+
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default.css
new file mode 100644
index 0000000..3ed57b8
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/default.css
@@ -0,0 +1,1123 @@
+/* Part of DynarchLIB
+ Copyright (c) Dynarch.com 2005-2009. All rights reserved.
+ See http://www.dynarchlib.com/licensing for details. */
+
+/*html,body { margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+body { z-index: 0; background-color: #fff; }
+form { padding: 0; margin: 0; }
+*/
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+/* background: #f84; */
+/* opacity: 0; */
+/* filter: alpha(opacity=0); */
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none; /* XXX: why didn't we have this before? */
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+/* Generic */
+
+.DlWidget, .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+/* font: 8pt "Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif; */
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+/* line-height: 1.3em; */
+}
+
+.DlWidget {
+/* position: relative; */
+ cursor: default;
+ color: #000;
+/* white-space: nowrap; */
+ zoom: 1; /* force hasLayout in IE */
+}
+
+.DlWidget-3D {
+ background-color: #cbe;
+ color: #000;
+}
+
+/* .DlWidget-disabled, .DlWidget-disabled * { color: #768 !important; } */
+/* .DlWidget-dragging, .DlWidget-dragging * { color: #768 !important; } */
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+/* Base button class */
+
+.DlAbstractButton { white-space: nowrap; }
+
+/* Button */
+
+.DlButton { border: 1px solid; border-color: #98c #659 #659 #98c; background-color: #cbe; text-align: center; }
+.DlButton .DlButton-inner { border: 1px solid; border-color: #fef #a9d #a9d #fef; padding: 2px 4px; }
+
+.DlButton .DlButton-inner div { min-height: 16px; } /* XXX: for 16x16 icons; I'm not happy with this solution. */
+
+.DlButton-hover { border-color: #98c #659 #659 #98c; }
+.DlButton-hover .DlButton-inner { border-color: #fff #aae #aae #fff; }
+.DlButton-active { border-color: #659 #98c #98c #659; background-color: #e8d8ff; }
+.DlButton-active .DlButton-inner { padding: 3px 3px 1px 5px; border-color: #bae #fef #fef #bae; }
+.DlButton-1 { border-color: #659 #a9d #a9d #659; background-color: #e8e0f8; }
+.DlButton-1 .DlButton-inner { border-color: #bae #fff #fff #bae; }
+.DlButton-hover { background-color: #dcf; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: #cbe; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: #98b #659 #659 #98b; }
+
+div.DlButton-Label { display: inline; }
+.DlButton-focus { border-color: #548 #215 #215 #548; }
+.DlButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+/* Checkbox */
+
+.DlWidget-disabled.DlCheckbox-0 { color: #768; background-image: url("img/checkbox-0-disabled.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: #768; background-image: url("img/checkbox-1-disabled.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlCheckbox-0 { background: transparent url("img/checkbox-0.png") no-repeat 5px 50%; }
+.DlCheckbox-1 { background: transparent url("img/checkbox-1.png") no-repeat 5px 50%; }
+.DlCheckbox-hover { background-color: #dfcfff; }
+.DlCheckbox-active { background: #e8d8ff url("img/checkbox-2.png") no-repeat 5px 50%; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+/* RadioButton */
+
+.DlWidget-disabled.DlRadioButton-0 { color: #768; background-image: url("img/radiobutton-0-disabled.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: #768; background-image: url("img/radiobutton-1-disabled.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; }
+.DlRadioButton-0 { background: transparent url("img/radiobutton-0.png") no-repeat 5px 50%; }
+.DlRadioButton-1 { background: transparent url("img/radiobutton-1.png") no-repeat 5px 50%; }
+.DlRadioButton-hover { background-color: #dfcfff; }
+.DlRadioButton-active { background: #e8d8ff url("img/radiobutton-2.png") no-repeat 5px 50%; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton,
+.DlPopupMenu .DlCheckbox { -moz-border-radius: 0; }
+
+/* Entry */
+
+.DlEntry { border: 1px solid; border-color: #659 #98c #98c #659; }
+.DlEntry .DlEntry-cell { border: 1px solid; border-color: #fef #fef #fef #fef; background-color: #f0e6ff; }
+.DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: #f0e6ff;
+ color: #000;
+ padding: 1px 2px 2px 2px !important;
+/* font-family: "Bitstream Vera Sans Mono",monospace; height: 1.3em; */
+ resize: none;
+}
+.DlEntry-Focus { border-color: #659; outline: 1px solid #98b; -moz-outline-radius: 2px; }
+.DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea { background-color: #fff; }
+.DlEntry input:selection, .DlEntry textarea:selection { background-color: #80b9ff; color: #000; }
+.DlEntry-ValidationError { border-color: #ff2600; }
+.DlEntry-ValidationError .DlEntry-cell { border-color: #fff; background-color: #ffccd9; }
+.DlEntry-ValidationError input, .DlEntry-ValidationError textarea { background-color: #ffccd9; }
+.DlEntry-Readonly .DlEntry-cell { background-color: #dcf; border-bottom-color: #edf; border-right-color: #edf; }
+.DlEntry-Readonly input, .DlEntry-Readonly textarea { background-color: #dcf; }
+.DlEntry-emptyText { display: none; position: absolute; left: 3px; top: 1px; color: #98a; font-style: italic; cursor: text; }
+.DlEntry-empty .DlEntry-emptyText { display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #98a;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-dropDownBtn-hover { background-color: #fff; }
+.DlEntry-dropDownBtn-active { background-color: #76c; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+/* CompletionEntry */
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+/* ComboBox */
+
+.DlComboBox-dropDownBtn {
+ background: #cbe url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #98a;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: #659; }
+
+.DlComboBox-dropDownBtn-hover { background-color: #fff; }
+.DlComboBox-dropDownBtn-active { background-color: #76c; }
+
+/* Spinner */
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+/* ProgressBar */
+
+.DlProgressBar { position: relative; border: 1px solid #98c; background: #f0e6ff; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #c0b6ff; }
+
+/* ButtonMenu */
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+/* ButtonColorPicker */
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; border-color: #659 #fef #fef #659;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+/* Calendar */
+
+.DlCalendar { background-color: #f4ecfc; }
+.DlCalendar-disabled { background-color: #e4dcec; }
+table.DlCalendar {
+ border-collapse: separate; border-spacing: 0; font-size: 11px; font-family: tahoma,verdana,sans-serif; border: 1px solid #659; }
+.DlCalendar tr.DlCalendar-Navigation td { text-align: center; border-bottom: 1px solid #cbd; background-color: #e4dcec; padding: 2px 0; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth,
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { border-right: 1px solid #cbd; font-weight: bold; }
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth,
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { border-left: 1px solid #cbd; font-weight: bold; }
+
+.DlCalendar tr.DlCalendar-Navigation td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+.DlCalendar tr.DlCalendar-Navigation td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+
+.DlCalendar tr.DlCalendar-DayNames td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid #769; background-color: #e4dcec; }
+/* .DlCalendar tr.DlCalendar-DayNames td.Today { font-weight: bold; } */
+.DlCalendar tr.Dates td { text-align: right; padding: 2px 3px 2px 2px; }
+.DlCalendar tr.Dates td.OtherMonth { color: #98b; }
+.DlCalendar tr.Dates td.Today { color: #76f; }
+.DlCalendar td.WeekNumber { border-right: 1px solid #659; color: #768; background-color: #e4dcec; }
+.DlCalendar tr.DlCalendar-DayNames td.WeekNumber { border-right-color: #659; }
+.DlCalendar tr.DlCalendar-Navigation td.hover { background-color: #76c; color: #fff; }
+.DlCalendar tr.DlCalendar-Navigation td.rolling { background-color: #000; }
+.DlCalendar tr.DlCalendar-DayNames td.hover { background-color: #76c; color: #fff; }
+.DlCalendar tr.Dates td.hover { border: 1px solid #bac; padding: 1px 2px 1px 1px; background-color: #dcf !important; }
+.DlCalendar tr.Selected td { border-bottom: 1px solid #dce; border-top: 1px solid #dce; padding-top: 1px; padding-bottom: 1px; }
+.DlCalendar tr.Dates td.Selected { border: 1px solid #98a; background-color: #fff; padding: 1px 2px 1px 1px; }
+/*
+.DlCalendar td.WeekEnd { color: #c62; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { color: #bac; }
+*/
+.DlCalendar tr.DlCalendar-DayNames td.WeekEnd { color: #c62; }
+.DlCalendar td.WeekEnd { /* background-color: #edf; */ color: #c62; }
+.DlCalendar tr.Dates td.OtherMonth.WeekEnd { /* background-color: #edf; */ color: #ea6; }
+
+.DlCalendar tr.Dates td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+
+/* ResizeBar */
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+/* background-image: url("img/resizebg.gif"); */
+ background-color: #98b; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+/* UploadEntry */
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+/* CONTAINERS */
+
+.DlContainer { position: relative; } /* WARNING: this is probably NOT GOOD!
+ but it happens to fix some atrocious bugs in IE
+ (randomly disappearing elements on hover).
+ XXX: make sure it doesn't break anything!
+ */
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+.DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #a9d; }
+.DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #a9d; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+/*
+ .DlGridLayout-table { background-color: #f00; }
+ .DlGridLayout-table td { background-color: #fff; }
+/* ^^^ DEBUG */
+
+
+.DlDesktop { position: absolute; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove #edf; margin-top: 1em;
+ -moz-border-top-colors: #87b #fef;
+ -moz-border-bottom-colors: #fef #87b;
+ -moz-border-left-colors: #87b #fef;
+ -moz-border-right-colors: #fef #87b;
+}
+.DlFieldset-label { position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #cbe;
+ padding: 1px 7px; border: 1px solid #98c; }
+.DlFieldset-content { padding: 10px 10px 10px 10px; margin-top: -1em; }
+
+.DlPopup {
+ position: absolute;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative; /* -- IE is unbelievable */
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid #b9e; }
+.DlPopup-scrollDown { border-top: 1px solid #b9e; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: #fff; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: #fff; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid #b9e; background-color: #f4ecfc; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #fffee0;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #333210;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000; }
+
+.DlDialogPopup {
+ background-color: #f4ecfc;
+ border: 1px solid #86b;
+}
+
+.DlPopupMenu {
+ background-color: #f4ecfc;
+ border: 1px solid #eee;
+}
+.DlPopupMenu-noShadow { border: 1px solid #86b; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #fff #d8bfff #d8bfff #fff;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: #f4ecfc;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #fff #d8bfff #d8bfff #fff;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #ccc;
+ background-color: #fff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #ccc;
+ border-bottom: 1px solid #fff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { /* background: transparent; background-color: none; /* XXX: do we need this? */ }
+.DlMenuItem .div2 { padding: 2px 5px;}
+.DlMenuItem-popped { background-color: #bae; color: #000; }
+.DlMenuItem-hover { background-color: #76c; color: #fff; }
+.DlMenuItem-active { background-color: #000; color: #fff; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: #76c; color: #fff; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: #000; color: #fff; }
+
+/*
+.DlPopupMenu .DlCheckbox-hover,
+.DlPopupMenu .DlRadioButton-hover { background-color: #76c; color: #fff; }
+
+.DlPopupMenu .DlCheckbox-active,
+.DlPopupMenu .DlRadioButton-active { background-color: #cbf; color: #000; }
+*/
+
+/* Notebook */
+
+/* .DlNotebook { background-color: #d8c8f8; } */
+
+/* Tabs */
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: #659; }
+.DlTabs .TabBar .DlButton-1 { background-color: #d8c8f8; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: #bae; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: #d8c8f8; }
+.DlTabs .TabContent { border: 1px solid #659; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid #bae; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+/* MacBar */
+
+.DlMacHBar, .DlMacVBar {
+ background-color: #bad;
+ border: 1px solid #98c;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #769; -moz-border-radius: 15px; padding: 4px; background-color: #edf; }
+.DlMacBarIcon-active { opacity: 0.6; /* filter: alpha(opacity=60); /* IE sucks. */ }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #98c;
+ background-color: #edf;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #98c;
+ background-color: #edf;
+}
+
+/* Hbox */
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #98c;
+ background-color: #edf;
+/* margin-left: 3px; margin-right: 2px; */
+}
+
+.DlHbox div.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+/* Vbox */
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #98c;
+ background-color: #edf;
+/* margin-top: 3px; margin-bottom: 2px; */
+}
+
+.DlVbox div.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+/* ButtonBox */
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #98c;
+ background-color: #edf;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: #cbd; background-color: #edf; }
+
+/* Select */
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: #cbe; color: #000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif"); }
+
+/* Toolbar (no special widget) */
+
+/* BEGIN: CRAPPY CODE, PLEASE REVISIT */
+
+.DlToolbar {
+ border: 1px solid;
+ border-color: #fef #769 #769 #fef;
+/* border-color: #fff #87b #87b #fff; */
+ background-color: #cbe;
+ padding: 1px;
+}
+
+.DlToolbar .DlButton { border: none; background-color: transparent; }
+.DlToolbar .DlButton-inner { border: none; padding: 3px; }
+.DlToolbar .DlButton-hover { border: 1px solid #bae; border-color: #fff #98a #98a #fff; background-color: #e8d8ff; }
+.DlToolbar .DlButton-hover .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-1 { border: 1px solid #bae; border-color: #98a #fff #fff #98a; background-color: #bcaed0; }
+.DlToolbar .DlButton-1 .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-active { border: 1px solid #659; background-color: #ccbee0; }
+.DlToolbar .DlButton-active .DlButton-inner { padding: 2px; }
+.DlToolbar .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+.DlToolbar .DlButtonMenu { background-color: #d8c8f8; }
+.DlToolbar .DlButtonMenu * { border: none; }
+.DlToolbar .DlButtonMenu .DlButton-inner { border: 1px solid #bae; border-color: #fff #98a #98a #fff; padding: 2px; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner { border-color: #98a #fff #fff #98a; }
+.DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner { border-color: #98a #fff #fff #98a; }
+/*
+.DlToolbar .DlButtonMenu .DlButton-hover .DlButton-inner { border-color: #659; }
+.DlToolbar .DlButtonMenu .LabelPart.DlButton-hover .DlButton-inner { padding-right: 3px; border-right: none; }
+*/
+.DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+.DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+.DlToolbar .DlLabel { background: inherit; }
+
+.DlToolbar div.DlHbox-separator {
+ border-left-color: #87b;
+ background-color: #fff;
+}
+
+.DlToolbar-Light { background: #dcf; }
+
+/* END: CRAPPY CODE */
+
+/* Table */
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid #98c;
+ background-color: #edf;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+/* Tree */
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted #98c;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover { background: none; color: #86e; text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 { background-color: #86e; color: #fff; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label { padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel { padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover { background: none; color: #86e; text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 { background-color: #86e; color: #fff; }
+
+/* .DlTreeItem-Table { table-layout: fixed; border-collapse: collapse; } */
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+/* BEGIN: tree lines, don't touch this or else. */
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+/* .DlTree-withLines .DlTreeItem-div { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; } */
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+/* .DlTree-withLines .DlTreeItem-Last .DlTreeItem-div { background-image: none; } */
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+/* END: tree lines */
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid #76c; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid #76c; }
+
+.DlTreeItem-div-focus { border: 1px dotted #000; margin: -1px; }
+
+/* ColorPicker */
+
+.DlColorPickerHSV { border: 1px solid #000; background-color: #e4dcec; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #fff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #fff; }
+
+/* RteFrame */
+
+.DlRteFrame { border: 1px solid; border-color: #87b; }
+/* .DlRteFrame-focus { border-color: #659; outline: 1px solid #98b; -moz-outline-radius: 2px; } */
+.DlRteFrame iframe { border: 1px solid; border-color: #cbf #fff #fff #cbf; }
+
+/* Grid */
+
+.DlDataGrid { position: relative; background-color: #f8f0ff; border: 1px solid #659; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: #cbe; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; /* the "LOL" way to add horizontal padding. :-p */}
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #e0e0e0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #f00; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #ccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000; }
+.DlDataGrid-focus { outline: 1px solid #98b; -moz-outline-radius: 2px; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: #98e; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: #fff; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: #dcf; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: #ccf; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: absolute;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+/* IconListView */
+
+.DlIconListView { background-color: #d8c8f8; border: 1px solid #bae; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+/* .DlIconListItem-hover .DlIconListItem-iconCell { opacity: 0.7; filter: alpha(opacity=70); } */
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #dcf; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #00f; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b8b0c0; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #76c; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #fff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+
+/* Dialog */
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+/* .DlWM-container { */
+/* position: relative; */
+/* width: 0; height: 0; */
+/* overflow: visible; */
+/* } */
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+/* background: url("img/modalbg.gif"); */
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: #ceb8f8; position: relative; }
+/* .DlDialog>.DlDialog-Rel { position: relative; } /* HACK-IE6 */
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+/* right: 0; bottom: 0; */
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+/* OPACITY for inactive dialogs */
+/*
+.DlDialog { opacity: 0.8; }
+.DlDialog-Active { opacity: 1; }
+*/
+
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+
+/* that's for the crappin' IE6: */
+.DlDialog-noShadows { border: 2px solid #879; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000; }
+
+/*
+.DlDialog-Rel .Shadow-...
+.DlDialog-Active .DlDialog-Rel .Shadow-...
+.DlDialog-Dragging .DlDialog-Rel .Shadow-...
+*/
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: #cec8d8 url("img/titlebg.png") repeat-x 0 50%; color: #555; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: #7e58c8; color: #fff; border-color: #fff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6; /* filter: alpha(opacity=60); /* IE hides them completely, ignoring the overflow: visible spec. */
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000; color: #3d4; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000; }
+
+/* .DlDialog-Dragging .DlDialog-Content { opacity: 0.6; } */
+/* .DlDialog-Dragging .DlDialog-Content * { display: none; } /* Good speed-up in Linux! */
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #436;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ border-width: 2px; border-color: #000;
+ -moz-border-left-colors: #000 #fff;
+ -moz-border-top-colors: #000 #fff;
+ -moz-border-right-colors: #000 #fff;
+ -moz-border-bottom-colors: #000 #fff;
+}
+.DlDialog .DlDialog .DlDialog-Rel .ResizeHandle { margin-left: -12px; margin-top: -12px; }
+.DlDialog .DlDialog .DlDialog-WindowButtons { top: 1px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #fff; color: #000; /* padding: 0px 2px; */
+ border-bottom: 1px solid #879;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #5e5868; color: #fff; border-color: #436; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000; color: #3d4; }
+
+/* maximized dialogs are not resizable */
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+/* ICONS */
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+/* MISC */
+
+/* Hint for the browser that it's allowed to break line at this span;
+ideally it should be invisible. The UTF8 character doesn't work in
+all browsers :(( */
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; border-color: #769 #fef #fef #769; padding: 1px 4px; background-color: #cbe; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: absolute; top: 0; left: 0; border: 1px dashed #000;
+/* background: url("img/modalbg.gif"); */
+ background: #fff; opacity: 0.4; filter: alpha(opacity=40);
+/* background-color: #000; opacity: 0.5; filter: alpha(opacity=50); */
+ border: 1px dashed #f00;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000;
+/* background: url("img/resizebg.gif"); */
+ /* background: #000; */
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; border-color: #fff #87b #87b #fff; }
+.Dl-3D-Border-Inside { border: 1px solid; border-color: #87b #fff #fff #87b; }
+.Dl-3D-Border-Dark { border: 1px solid #87b; }
+
+/* BUGS */
+/* Gecko bugs are marked with class "Gecko-bug" *and* "Gecko-bug-######" (bug number) */
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; } /* this sucks */
+
+/* thin shadows */
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/dlconsole.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/dlconsole.css
new file mode 100644
index 0000000..8457b0b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/dlconsole.css
@@ -0,0 +1,16 @@
+html, body { margin: 0; padding: 0; background-color: #ffee99; color: #000; }
+
+body, table { font: 13px tahoma,verdana,sans-serif; }
+
+.msg { margin: 0.5em; }
+
+.sep {
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+ height: 1px;
+ margin: 6px 0;
+ background-color: #f00;
+}
+
+.current { background-color: #fe0; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/all-wcprops
new file mode 100644
index 0000000..cb032d7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/all-wcprops
@@ -0,0 +1,227 @@
+K 25
+svn:wc:ra_dav:version-url
+V 45
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img
+END
+tree-drop-here-upper.gif
+K 25
+svn:wc:ra_dav:version-url
+V 70
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/tree-drop-here-upper.gif
+END
+radiobutton-1-disabled.png
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/radiobutton-1-disabled.png
+END
+resizebar-horiz.gif
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/resizebar-horiz.gif
+END
+entry-warning.png
+K 25
+svn:wc:ra_dav:version-url
+V 63
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/entry-warning.png
+END
+spinner-down.gif
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/spinner-down.gif
+END
+mark-2.gif
+K 25
+svn:wc:ra_dav:version-url
+V 56
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/mark-2.gif
+END
+mark.gif
+K 25
+svn:wc:ra_dav:version-url
+V 54
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/mark.gif
+END
+btn-choose-file.png
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/btn-choose-file.png
+END
+grid-drop-col.gif
+K 25
+svn:wc:ra_dav:version-url
+V 63
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/grid-drop-col.gif
+END
+resizebar-vert.gif
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/resizebar-vert.gif
+END
+modalbg.gif
+K 25
+svn:wc:ra_dav:version-url
+V 57
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/modalbg.gif
+END
+resizebar-vert2.png
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/resizebar-vert2.png
+END
+checkbox-0-disabled.png
+K 25
+svn:wc:ra_dav:version-url
+V 69
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/checkbox-0-disabled.png
+END
+tree-drop-here-lower.gif
+K 25
+svn:wc:ra_dav:version-url
+V 70
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/tree-drop-here-lower.gif
+END
+radiobutton-0-disabled.png
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/radiobutton-0-disabled.png
+END
+btn-choose-file.gif
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/btn-choose-file.gif
+END
+spinner-up.png
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/spinner-up.png
+END
+resizebar-horiz2.png
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/resizebar-horiz2.png
+END
+resize.png
+K 25
+svn:wc:ra_dav:version-url
+V 56
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/resize.png
+END
+tmpcal.gif
+K 25
+svn:wc:ra_dav:version-url
+V 56
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/tmpcal.gif
+END
+tree-drop-here.gif
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/tree-drop-here.gif
+END
+resizebar-vert1.gif
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/resizebar-vert1.gif
+END
+resizebar-vert2.gif
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/resizebar-vert2.gif
+END
+spinner-up.gif
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/spinner-up.gif
+END
+resizebar-horiz1.gif
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/resizebar-horiz1.gif
+END
+resize.gif
+K 25
+svn:wc:ra_dav:version-url
+V 56
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/resize.gif
+END
+spinner-down.png
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/spinner-down.png
+END
+checkbox-0.png
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/checkbox-0.png
+END
+checkbox-1.png
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/checkbox-1.png
+END
+busy1.gif
+K 25
+svn:wc:ra_dav:version-url
+V 55
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/busy1.gif
+END
+checkbox-2.png
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/checkbox-2.png
+END
+radiobutton-0.png
+K 25
+svn:wc:ra_dav:version-url
+V 63
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/radiobutton-0.png
+END
+radiobutton-1.png
+K 25
+svn:wc:ra_dav:version-url
+V 63
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/radiobutton-1.png
+END
+radiobutton-2.png
+K 25
+svn:wc:ra_dav:version-url
+V 63
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/radiobutton-2.png
+END
+checkbox-1-disabled.png
+K 25
+svn:wc:ra_dav:version-url
+V 69
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/checkbox-1-disabled.png
+END
+titlebg.png
+K 25
+svn:wc:ra_dav:version-url
+V 57
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/titlebg.png
+END
+resizebg.gif
+K 25
+svn:wc:ra_dav:version-url
+V 58
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/resizebg.gif
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/entries
new file mode 100644
index 0000000..1919197
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/entries
@@ -0,0 +1,1316 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/css/img
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+tree-drop-here-upper.gif
+file
+
+
+
+
+2012-01-23T13:07:10.065352Z
+80282f4d4bbd0620982b6a0386276b29
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+74
+
+radiobutton-1-disabled.png
+file
+
+
+
+
+2012-01-23T13:07:10.065352Z
+86a0e7a91ec1932c65474e9a9ee192a4
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+404
+
+resizebar-horiz.gif
+file
+
+
+
+
+2012-01-23T13:07:10.065352Z
+54029b7fb9a9ad100f60bc03761c47e1
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+111
+
+entry-warning.png
+file
+
+
+
+
+2012-01-23T13:07:10.065352Z
+242638a1e079516b153b16964080bcb0
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+787
+
+spinner-down.gif
+file
+
+
+
+
+2012-01-23T13:07:10.065352Z
+4c37feea78e1070a7c4013ed7b2df453
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+821
+
+thin-shadows1
+dir
+
+mark-2.gif
+file
+
+
+
+
+2012-01-23T13:07:10.065352Z
+0a93af63dc4afcb8fd7b0b991cb8fdc6
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+848
+
+mark.gif
+file
+
+
+
+
+2012-01-23T13:07:10.065352Z
+e55cb114c5f3a6db8eb4d88f98e76e4a
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+848
+
+tree
+dir
+
+btn-choose-file.png
+file
+
+
+
+
+2012-01-23T13:07:10.065352Z
+a2c7e9a79c65a0cc5657be76c5621b16
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1340
+
+menu
+dir
+
+grid-drop-col.gif
+file
+
+
+
+
+2012-01-23T13:07:10.065352Z
+a894171ceff7d1b465398c1fa092a8af
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+65
+
+resizebar-vert.gif
+file
+
+
+
+
+2012-01-23T13:07:10.069352Z
+95c6d7889fd0308ec3aef3168dcfab49
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+108
+
+shadows
+dir
+
+resizebar-vert2.png
+file
+
+
+
+
+2012-01-23T13:07:10.069352Z
+9c8221f8403895b374fd4961435b46dc
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+173
+
+modalbg.gif
+file
+
+
+
+
+2012-01-23T13:07:10.069352Z
+917081427a4fe697293572123f4ec658
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+187
+
+checkbox-0-disabled.png
+file
+
+
+
+
+2012-01-23T13:07:10.069352Z
+9a42e8ae65df269b2420511eff57d0e6
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+187
+
+tree-drop-here-lower.gif
+file
+
+
+
+
+2012-01-23T13:07:10.069352Z
+cc05a057fb09c8207e8858185bf92fbb
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+75
+
+arrows
+dir
+
+color
+dir
+
+radiobutton-0-disabled.png
+file
+
+
+
+
+2012-01-23T13:07:10.069352Z
+6c13a8b5539464086dd4f96c930137d3
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+334
+
+boxes
+dir
+
+btn-choose-file.gif
+file
+
+
+
+
+2012-01-23T13:07:10.069352Z
+ba92dcda3ab47835d4f955c2f127c63e
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+969
+
+spinner-up.png
+file
+
+
+
+
+2012-01-23T13:07:10.069352Z
+fb6455c58ff03c1c61fd62761b0e94ad
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+183
+
+resizebar-horiz2.png
+file
+
+
+
+
+2012-01-23T13:07:10.069352Z
+f911dd8bd92b64c5e1f9627029bc275b
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+172
+
+resize.png
+file
+
+
+
+
+2012-01-23T13:07:10.069352Z
+ef07fe8ae54900e560f943f4c296b803
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+228
+
+tmpcal.gif
+file
+
+
+
+
+2012-01-23T13:07:10.069352Z
+0c2e181f507315ea1d1025bd49f6b696
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+64
+
+tree-drop-here.gif
+file
+
+
+
+
+2012-01-23T13:07:10.069352Z
+19cf0aca44189942a0f6bf3f43a98ead
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+74
+
+resizebar-vert1.gif
+file
+
+
+
+
+2012-01-23T13:07:10.069352Z
+93d529b4040ae3bb8213dc098684072d
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+77
+
+resizebar-vert2.gif
+file
+
+
+
+
+2012-01-23T13:07:10.069352Z
+39e0d097a8a2f17ee34c6ce252761880
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+70
+
+dialog
+dir
+
+resizebar-horiz1.gif
+file
+
+
+
+
+2012-01-23T13:07:10.069352Z
+afb19a456060a3300518fc5022316772
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+78
+
+spinner-up.gif
+file
+
+
+
+
+2012-01-23T13:07:10.069352Z
+8c91f506558cf5caead1608831ea311f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+821
+
+resize.gif
+file
+
+
+
+
+2012-01-23T13:07:10.073352Z
+56c65c106072e19d6466aae369d330aa
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+67
+
+checkbox-0.png
+file
+
+
+
+
+2012-01-23T13:07:10.073352Z
+9e61f7d806c611df3f5a84738395047d
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+161
+
+spinner-down.png
+file
+
+
+
+
+2012-01-23T13:07:10.073352Z
+d8bc512d86948b1da1a74805d2826343
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+178
+
+busy1.gif
+file
+
+
+
+
+2012-01-23T13:07:10.073352Z
+2d169d9c5508f1c31cae5b418aa85d0b
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+82
+
+checkbox-1.png
+file
+
+
+
+
+2012-01-23T13:07:10.073352Z
+8eca744dc298cc05e4599626a5426631
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+186
+
+thin-shadows
+dir
+
+checkbox-2.png
+file
+
+
+
+
+2012-01-23T13:07:10.073352Z
+07789f9736ca93dc081d4d1e98741f64
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+217
+
+radiobutton-0.png
+file
+
+
+
+
+2012-01-23T13:07:10.073352Z
+619e38ea8ca10ff1b9b633d8f8c2a0f2
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+284
+
+icons
+dir
+
+radiobutton-1.png
+file
+
+
+
+
+2012-01-23T13:07:10.073352Z
+0a84d1d24bedba871ab2bc667379656b
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+290
+
+radiobutton-2.png
+file
+
+
+
+
+2012-01-23T13:07:10.073352Z
+3ec053a414925343b567403db8c2c2d8
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+431
+
+checkbox-1-disabled.png
+file
+
+
+
+
+2012-01-23T13:07:10.073352Z
+68a913a63a44a8365f22e75ea7593849
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+208
+
+titlebg.png
+file
+
+
+
+
+2012-01-23T13:07:10.073352Z
+61334e561debb2c6136c0cfbd39870bb
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+264
+
+resizebg.gif
+file
+
+
+
+
+2012-01-23T13:07:10.073352Z
+1a76503b9348771ea279ba6c627da8cf
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+187
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/btn-choose-file.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/btn-choose-file.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/btn-choose-file.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/btn-choose-file.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/btn-choose-file.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/btn-choose-file.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/busy1.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/busy1.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/busy1.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-0-disabled.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-0-disabled.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-0-disabled.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-0.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-0.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-0.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-1-disabled.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-1-disabled.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-1-disabled.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-1.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-1.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-1.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-2.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-2.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/checkbox-2.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/entry-warning.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/entry-warning.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/entry-warning.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/grid-drop-col.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/grid-drop-col.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/grid-drop-col.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/mark-2.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/mark-2.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/mark-2.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/mark.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/mark.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/mark.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/modalbg.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/modalbg.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/modalbg.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-0-disabled.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-0-disabled.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-0-disabled.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-0.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-0.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-0.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-1-disabled.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-1-disabled.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-1-disabled.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-1.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-1.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-1.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-2.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-2.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/radiobutton-2.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resize.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resize.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resize.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resize.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resize.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resize.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-horiz.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-horiz.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-horiz.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-horiz1.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-horiz1.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-horiz1.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-horiz2.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-horiz2.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-horiz2.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-vert.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-vert.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-vert.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-vert1.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-vert1.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-vert1.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-vert2.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-vert2.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-vert2.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-vert2.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-vert2.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebar-vert2.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebg.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebg.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/resizebg.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/spinner-down.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/spinner-down.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/spinner-down.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/spinner-down.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/spinner-down.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/spinner-down.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/spinner-up.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/spinner-up.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/spinner-up.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/spinner-up.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/spinner-up.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/spinner-up.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/titlebg.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/titlebg.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/titlebg.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/tmpcal.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/tmpcal.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/tmpcal.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/tree-drop-here-lower.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/tree-drop-here-lower.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/tree-drop-here-lower.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/tree-drop-here-upper.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/tree-drop-here-upper.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/tree-drop-here-upper.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/tree-drop-here.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/tree-drop-here.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/prop-base/tree-drop-here.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/btn-choose-file.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/btn-choose-file.gif.svn-base
new file mode 100644
index 0000000..192eb35
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/btn-choose-file.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/btn-choose-file.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/btn-choose-file.png.svn-base
new file mode 100644
index 0000000..9a31a04
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/btn-choose-file.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/busy1.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/busy1.gif.svn-base
new file mode 100644
index 0000000..a7f0e40
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/busy1.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-0-disabled.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-0-disabled.png.svn-base
new file mode 100644
index 0000000..5b1d9a7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-0-disabled.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-0.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-0.png.svn-base
new file mode 100644
index 0000000..aef29fa
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-0.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-1-disabled.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-1-disabled.png.svn-base
new file mode 100644
index 0000000..4c6b884
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-1-disabled.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-1.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-1.png.svn-base
new file mode 100644
index 0000000..3522129
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-1.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-2.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-2.png.svn-base
new file mode 100644
index 0000000..0b7def7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/checkbox-2.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/entry-warning.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/entry-warning.png.svn-base
new file mode 100644
index 0000000..fe60da1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/entry-warning.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/grid-drop-col.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/grid-drop-col.gif.svn-base
new file mode 100644
index 0000000..5626c54
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/grid-drop-col.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/mark-2.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/mark-2.gif.svn-base
new file mode 100644
index 0000000..3692652
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/mark-2.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/mark.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/mark.gif.svn-base
new file mode 100644
index 0000000..2faf63d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/mark.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/modalbg.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/modalbg.gif.svn-base
new file mode 100644
index 0000000..a5fa38e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/modalbg.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-0-disabled.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-0-disabled.png.svn-base
new file mode 100644
index 0000000..5d1000c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-0-disabled.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-0.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-0.png.svn-base
new file mode 100644
index 0000000..2fd8d7a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-0.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-1-disabled.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-1-disabled.png.svn-base
new file mode 100644
index 0000000..fbda731
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-1-disabled.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-1.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-1.png.svn-base
new file mode 100644
index 0000000..0920878
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-1.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-2.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-2.png.svn-base
new file mode 100644
index 0000000..ee74c10
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/radiobutton-2.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resize.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resize.gif.svn-base
new file mode 100644
index 0000000..d7cbec9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resize.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resize.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resize.png.svn-base
new file mode 100644
index 0000000..9ae71c4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resize.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-horiz.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-horiz.gif.svn-base
new file mode 100644
index 0000000..32740f1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-horiz.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-horiz1.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-horiz1.gif.svn-base
new file mode 100644
index 0000000..4e3efc1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-horiz1.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-horiz2.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-horiz2.png.svn-base
new file mode 100644
index 0000000..ffc6d5b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-horiz2.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-vert.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-vert.gif.svn-base
new file mode 100644
index 0000000..7acb067
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-vert.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-vert1.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-vert1.gif.svn-base
new file mode 100644
index 0000000..91f1919
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-vert1.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-vert2.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-vert2.gif.svn-base
new file mode 100644
index 0000000..dfa09d8
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-vert2.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-vert2.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-vert2.png.svn-base
new file mode 100644
index 0000000..a906c7f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebar-vert2.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebg.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebg.gif.svn-base
new file mode 100644
index 0000000..290d9ad
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/resizebg.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/spinner-down.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/spinner-down.gif.svn-base
new file mode 100644
index 0000000..0b2f0d7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/spinner-down.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/spinner-down.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/spinner-down.png.svn-base
new file mode 100644
index 0000000..b9bbfdb
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/spinner-down.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/spinner-up.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/spinner-up.gif.svn-base
new file mode 100644
index 0000000..0d68940
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/spinner-up.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/spinner-up.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/spinner-up.png.svn-base
new file mode 100644
index 0000000..e56a9dc
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/spinner-up.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/titlebg.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/titlebg.png.svn-base
new file mode 100644
index 0000000..7663f97
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/titlebg.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/tmpcal.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/tmpcal.gif.svn-base
new file mode 100644
index 0000000..1c1934a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/tmpcal.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/tree-drop-here-lower.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/tree-drop-here-lower.gif.svn-base
new file mode 100644
index 0000000..4058111
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/tree-drop-here-lower.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/tree-drop-here-upper.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/tree-drop-here-upper.gif.svn-base
new file mode 100644
index 0000000..326cf6a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/tree-drop-here-upper.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/tree-drop-here.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/tree-drop-here.gif.svn-base
new file mode 100644
index 0000000..56f2706
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/.svn/text-base/tree-drop-here.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/all-wcprops
new file mode 100644
index 0000000..731a8ea
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/all-wcprops
@@ -0,0 +1,83 @@
+K 25
+svn:wc:ra_dav:version-url
+V 52
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/arrows
+END
+dropdown.png
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/arrows/dropdown.png
+END
+nav-left.gif
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/arrows/nav-left.gif
+END
+nav-right.gif
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/arrows/nav-right.gif
+END
+scroll-up.gif
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/arrows/scroll-up.gif
+END
+sort-ascending.gif
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/arrows/sort-ascending.gif
+END
+scroll-up-hover.gif
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/arrows/scroll-up-hover.gif
+END
+nav-left-x2.gif
+K 25
+svn:wc:ra_dav:version-url
+V 68
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/arrows/nav-left-x2.gif
+END
+scroll-down.gif
+K 25
+svn:wc:ra_dav:version-url
+V 68
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/arrows/scroll-down.gif
+END
+scroll-down-hover.gif
+K 25
+svn:wc:ra_dav:version-url
+V 74
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/arrows/scroll-down-hover.gif
+END
+scroll-up-disabled.gif
+K 25
+svn:wc:ra_dav:version-url
+V 75
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/arrows/scroll-up-disabled.gif
+END
+nav-right-x2.gif
+K 25
+svn:wc:ra_dav:version-url
+V 69
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/arrows/nav-right-x2.gif
+END
+scroll-down-disabled.gif
+K 25
+svn:wc:ra_dav:version-url
+V 77
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/arrows/scroll-down-disabled.gif
+END
+sort-descending.gif
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/arrows/sort-descending.gif
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/entries
new file mode 100644
index 0000000..47db728
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/entries
@@ -0,0 +1,470 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/css/img/arrows
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+dropdown.png
+file
+
+
+
+
+2012-01-23T13:07:10.001351Z
+944460b2671497c2a16cacd7ba945f86
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+180
+
+nav-left.gif
+file
+
+
+
+
+2012-01-23T13:07:10.001351Z
+c6e3ed0c0b69b22e2e76038adbc8177a
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+66
+
+nav-right.gif
+file
+
+
+
+
+2012-01-23T13:07:10.001351Z
+b9bc88e4614c2516f8aba9cf83a0bc22
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+64
+
+scroll-up.gif
+file
+
+
+
+
+2012-01-23T13:07:10.001351Z
+64d7b2f2f8bfc734e30376c29cfbad09
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+57
+
+sort-ascending.gif
+file
+
+
+
+
+2012-01-23T13:07:10.001351Z
+d21ce7aa9dcc7b8ddee7bb8127317f31
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+67
+
+scroll-up-hover.gif
+file
+
+
+
+
+2012-01-23T13:07:10.005351Z
+dcfb08611d413a42dd58c602495de356
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+57
+
+nav-left-x2.gif
+file
+
+
+
+
+2012-01-23T13:07:10.005351Z
+b27f14b7ae2bfbb13e7a9b5abaf2d2d6
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+76
+
+scroll-down.gif
+file
+
+
+
+
+2012-01-23T13:07:10.005351Z
+932f7966704e079fdc81c3d7dd382e70
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+58
+
+scroll-down-hover.gif
+file
+
+
+
+
+2012-01-23T13:07:10.005351Z
+b1e698c80fd3d7aaf4183d3c990d9a47
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+58
+
+scroll-up-disabled.gif
+file
+
+
+
+
+2012-01-23T13:07:10.005351Z
+67d88aa0b0eb6f5d5cd40bbaafe2d915
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+57
+
+nav-right-x2.gif
+file
+
+
+
+
+2012-01-23T13:07:10.005351Z
+328ab630fa2f4ba5c90121fd528c6a50
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+75
+
+scroll-down-disabled.gif
+file
+
+
+
+
+2012-01-23T13:07:10.005351Z
+bfdee5038ef49e2ec04bc97a5f2914b4
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+58
+
+sort-descending.gif
+file
+
+
+
+
+2012-01-23T13:07:10.005351Z
+81a1d5184e8513868a9c7d9fe95f0d77
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+64
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/dropdown.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/dropdown.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/dropdown.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/nav-left-x2.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/nav-left-x2.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/nav-left-x2.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/nav-left.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/nav-left.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/nav-left.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/nav-right-x2.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/nav-right-x2.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/nav-right-x2.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/nav-right.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/nav-right.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/nav-right.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-down-disabled.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-down-disabled.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-down-disabled.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-down-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-down-hover.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-down-hover.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-down.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-down.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-down.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-up-disabled.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-up-disabled.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-up-disabled.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-up-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-up-hover.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-up-hover.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-up.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-up.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/scroll-up.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/sort-ascending.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/sort-ascending.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/sort-ascending.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/sort-descending.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/sort-descending.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/prop-base/sort-descending.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/dropdown.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/dropdown.png.svn-base
new file mode 100644
index 0000000..0ab3c2a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/dropdown.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/nav-left-x2.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/nav-left-x2.gif.svn-base
new file mode 100644
index 0000000..e842777
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/nav-left-x2.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/nav-left.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/nav-left.gif.svn-base
new file mode 100644
index 0000000..927325b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/nav-left.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/nav-right-x2.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/nav-right-x2.gif.svn-base
new file mode 100644
index 0000000..4b2e7e0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/nav-right-x2.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/nav-right.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/nav-right.gif.svn-base
new file mode 100644
index 0000000..f6a903e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/nav-right.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-down-disabled.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-down-disabled.gif.svn-base
new file mode 100644
index 0000000..7d24bb4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-down-disabled.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-down-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-down-hover.gif.svn-base
new file mode 100644
index 0000000..8ad97f6
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-down-hover.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-down.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-down.gif.svn-base
new file mode 100644
index 0000000..08d8c58
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-down.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-up-disabled.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-up-disabled.gif.svn-base
new file mode 100644
index 0000000..3b5b1a0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-up-disabled.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-up-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-up-hover.gif.svn-base
new file mode 100644
index 0000000..6b1a249
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-up-hover.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-up.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-up.gif.svn-base
new file mode 100644
index 0000000..3c61e6b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/scroll-up.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/sort-ascending.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/sort-ascending.gif.svn-base
new file mode 100644
index 0000000..b6570b1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/sort-ascending.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/sort-descending.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/sort-descending.gif.svn-base
new file mode 100644
index 0000000..86ad20a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/.svn/text-base/sort-descending.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/dropdown.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/dropdown.png
new file mode 100644
index 0000000..0ab3c2a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/dropdown.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/nav-left-x2.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/nav-left-x2.gif
new file mode 100644
index 0000000..e842777
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/nav-left-x2.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/nav-left.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/nav-left.gif
new file mode 100644
index 0000000..927325b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/nav-left.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/nav-right-x2.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/nav-right-x2.gif
new file mode 100644
index 0000000..4b2e7e0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/nav-right-x2.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/nav-right.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/nav-right.gif
new file mode 100644
index 0000000..f6a903e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/nav-right.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-down-disabled.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-down-disabled.gif
new file mode 100644
index 0000000..7d24bb4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-down-disabled.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-down-hover.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-down-hover.gif
new file mode 100644
index 0000000..8ad97f6
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-down-hover.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-down.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-down.gif
new file mode 100644
index 0000000..08d8c58
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-down.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-up-disabled.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-up-disabled.gif
new file mode 100644
index 0000000..3b5b1a0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-up-disabled.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-up-hover.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-up-hover.gif
new file mode 100644
index 0000000..6b1a249
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-up-hover.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-up.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-up.gif
new file mode 100644
index 0000000..3c61e6b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/scroll-up.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/sort-ascending.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/sort-ascending.gif
new file mode 100644
index 0000000..b6570b1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/sort-ascending.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/sort-descending.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/sort-descending.gif
new file mode 100644
index 0000000..86ad20a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/arrows/sort-descending.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/all-wcprops
new file mode 100644
index 0000000..0cdac6e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/all-wcprops
@@ -0,0 +1,41 @@
+K 25
+svn:wc:ra_dav:version-url
+V 51
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/boxes
+END
+shadow-dim.png
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/boxes/shadow-dim.png
+END
+shadow-vb-dim.png
+K 25
+svn:wc:ra_dav:version-url
+V 69
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/boxes/shadow-vb-dim.png
+END
+s1.png
+K 25
+svn:wc:ra_dav:version-url
+V 58
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/boxes/s1.png
+END
+shadow.png
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/boxes/shadow.png
+END
+s1-dim.png
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/boxes/s1-dim.png
+END
+shadow-vb.png
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/boxes/shadow-vb.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/entries
new file mode 100644
index 0000000..89211ab
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/entries
@@ -0,0 +1,232 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/css/img/boxes
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+shadow-dim.png
+file
+
+
+
+
+2012-01-23T13:07:10.017351Z
+b66d22f5a2f00a29427ced33a9ec2feb
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1891
+
+shadow-vb-dim.png
+file
+
+
+
+
+2012-01-23T13:07:10.017351Z
+b0c759706a98100ce381e5db87867dcc
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+316
+
+s1.png
+file
+
+
+
+
+2012-01-23T13:07:10.017351Z
+5d89eb961bf3db8ad66491657c90c25f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+7546
+
+shadow.png
+file
+
+
+
+
+2012-01-23T13:07:10.017351Z
+0201cbb99da66a3358f0638bbe3a166e
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+2178
+
+s1-dim.png
+file
+
+
+
+
+2012-01-23T13:07:10.017351Z
+26da7a48f53e7acf5b2942fe8a08af34
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+7506
+
+shadow-vb.png
+file
+
+
+
+
+2012-01-23T13:07:10.017351Z
+9d70573b9dd03cc458a67c9d93cefab9
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+340
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/s1-dim.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/s1-dim.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/s1-dim.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/s1.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/s1.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/s1.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/shadow-dim.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/shadow-dim.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/shadow-dim.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/shadow-vb-dim.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/shadow-vb-dim.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/shadow-vb-dim.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/shadow-vb.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/shadow-vb.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/shadow-vb.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/shadow.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/shadow.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/prop-base/shadow.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/s1-dim.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/s1-dim.png.svn-base
new file mode 100644
index 0000000..c3ea5d9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/s1-dim.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/s1.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/s1.png.svn-base
new file mode 100644
index 0000000..861b7b9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/s1.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/shadow-dim.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/shadow-dim.png.svn-base
new file mode 100644
index 0000000..0a9ee04
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/shadow-dim.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/shadow-vb-dim.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/shadow-vb-dim.png.svn-base
new file mode 100644
index 0000000..97aa7f9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/shadow-vb-dim.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/shadow-vb.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/shadow-vb.png.svn-base
new file mode 100644
index 0000000..51fbe08
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/shadow-vb.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/shadow.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/shadow.png.svn-base
new file mode 100644
index 0000000..7e8239a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/.svn/text-base/shadow.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/s1-dim.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/s1-dim.png
new file mode 100644
index 0000000..c3ea5d9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/s1-dim.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/s1.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/s1.png
new file mode 100644
index 0000000..861b7b9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/s1.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/shadow-dim.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/shadow-dim.png
new file mode 100644
index 0000000..0a9ee04
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/shadow-dim.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/shadow-vb-dim.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/shadow-vb-dim.png
new file mode 100644
index 0000000..97aa7f9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/shadow-vb-dim.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/shadow-vb.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/shadow-vb.png
new file mode 100644
index 0000000..51fbe08
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/shadow-vb.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/shadow.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/shadow.png
new file mode 100644
index 0000000..7e8239a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/boxes/shadow.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/btn-choose-file.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/btn-choose-file.gif
new file mode 100644
index 0000000..192eb35
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/btn-choose-file.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/btn-choose-file.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/btn-choose-file.png
new file mode 100644
index 0000000..9a31a04
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/btn-choose-file.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/busy1.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/busy1.gif
new file mode 100644
index 0000000..a7f0e40
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/busy1.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-0-disabled.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-0-disabled.png
new file mode 100644
index 0000000..5b1d9a7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-0-disabled.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-0.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-0.png
new file mode 100644
index 0000000..aef29fa
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-0.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-1-disabled.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-1-disabled.png
new file mode 100644
index 0000000..4c6b884
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-1-disabled.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-1.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-1.png
new file mode 100644
index 0000000..3522129
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-1.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-2.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-2.png
new file mode 100644
index 0000000..0b7def7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/checkbox-2.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/.svn/all-wcprops
new file mode 100644
index 0000000..007d810
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/.svn/all-wcprops
@@ -0,0 +1,11 @@
+K 25
+svn:wc:ra_dav:version-url
+V 51
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/color
+END
+hue.png
+K 25
+svn:wc:ra_dav:version-url
+V 59
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/color/hue.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/.svn/entries
new file mode 100644
index 0000000..2280046
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/.svn/entries
@@ -0,0 +1,62 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/css/img/color
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+hue.png
+file
+
+
+
+
+2012-01-23T13:07:10.009351Z
+fb3527cd31a3bdb358250d1557fbbe26
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+338
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/.svn/prop-base/hue.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/.svn/prop-base/hue.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/.svn/prop-base/hue.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/.svn/text-base/hue.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/.svn/text-base/hue.png.svn-base
new file mode 100644
index 0000000..cf0d7ce
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/.svn/text-base/hue.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/hue.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/hue.png
new file mode 100644
index 0000000..cf0d7ce
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/color/hue.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/all-wcprops
new file mode 100644
index 0000000..e504fbe
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/all-wcprops
@@ -0,0 +1,71 @@
+K 25
+svn:wc:ra_dav:version-url
+V 52
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/dialog
+END
+quit-btn-active.png
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/dialog/quit-btn-active.png
+END
+maximize-btn-active.png
+K 25
+svn:wc:ra_dav:version-url
+V 76
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/dialog/maximize-btn-active.png
+END
+buttons.png
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/dialog/buttons.png
+END
+minimize-btn.png
+K 25
+svn:wc:ra_dav:version-url
+V 69
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/dialog/minimize-btn.png
+END
+minimize-btn-hover.png
+K 25
+svn:wc:ra_dav:version-url
+V 75
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/dialog/minimize-btn-hover.png
+END
+quit-btn.png
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/dialog/quit-btn.png
+END
+maximize-btn.png
+K 25
+svn:wc:ra_dav:version-url
+V 69
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/dialog/maximize-btn.png
+END
+quit-btn-hover.png
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/dialog/quit-btn-hover.png
+END
+maximize-btn-hover.png
+K 25
+svn:wc:ra_dav:version-url
+V 75
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/dialog/maximize-btn-hover.png
+END
+montage
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/dialog/montage
+END
+minimize-btn-active.png
+K 25
+svn:wc:ra_dav:version-url
+V 76
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/dialog/minimize-btn-active.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/entries
new file mode 100644
index 0000000..4ada74b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/entries
@@ -0,0 +1,402 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/css/img/dialog
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+quit-btn-active.png
+file
+
+
+
+
+2012-01-23T13:07:10.033352Z
+2a7c2282ac75616bc74ead3d2f0bd7de
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+893
+
+maximize-btn-active.png
+file
+
+
+
+
+2012-01-23T13:07:10.033352Z
+1f349964fc3fd1a97941e39ff962cf12
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+562
+
+buttons.png
+file
+
+
+
+
+2012-01-23T13:07:10.033352Z
+538a4b79b16cdc9e89f586efd28e7a54
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4917
+
+minimize-btn.png
+file
+
+
+
+
+2012-01-23T13:07:10.033352Z
+04052fb5ef1a080154b08f9f8086a7df
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+613
+
+minimize-btn-hover.png
+file
+
+
+
+
+2012-01-23T13:07:10.033352Z
+e518a453a9eb24a2eb7e66668f50bab5
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+609
+
+quit-btn.png
+file
+
+
+
+
+2012-01-23T13:07:10.033352Z
+584e5c7054b8f799c50f7aaeede5b4ce
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+949
+
+maximize-btn.png
+file
+
+
+
+
+2012-01-23T13:07:10.037352Z
+03cfad09ae02ac4c80eb0c35df1919ba
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+611
+
+quit-btn-hover.png
+file
+
+
+
+
+2012-01-23T13:07:10.037352Z
+21b5e0c6930aaad87182a5339321198f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+943
+
+maximize-btn-hover.png
+file
+
+
+
+
+2012-01-23T13:07:10.037352Z
+0818a9c8f49ff46f858b18ad81af0ebe
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+645
+
+montage
+file
+
+
+
+
+2012-01-23T13:07:10.037352Z
+5540f30d17a4f81fb20ac0f59adbe6f1
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+244
+
+minimize-btn-active.png
+file
+
+
+
+
+2012-01-23T13:07:10.037352Z
+32ac34bf7a21d12e9b686692e21679b7
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+512
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/buttons.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/buttons.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/buttons.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/maximize-btn-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/maximize-btn-active.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/maximize-btn-active.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/maximize-btn-hover.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/maximize-btn-hover.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/maximize-btn-hover.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/maximize-btn.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/maximize-btn.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/maximize-btn.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/minimize-btn-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/minimize-btn-active.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/minimize-btn-active.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/minimize-btn-hover.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/minimize-btn-hover.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/minimize-btn-hover.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/minimize-btn.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/minimize-btn.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/minimize-btn.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/quit-btn-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/quit-btn-active.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/quit-btn-active.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/quit-btn-hover.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/quit-btn-hover.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/quit-btn-hover.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/quit-btn.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/quit-btn.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/prop-base/quit-btn.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/buttons.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/buttons.png.svn-base
new file mode 100644
index 0000000..1e8b14a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/buttons.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/maximize-btn-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/maximize-btn-active.png.svn-base
new file mode 100644
index 0000000..b632d07
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/maximize-btn-active.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/maximize-btn-hover.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/maximize-btn-hover.png.svn-base
new file mode 100644
index 0000000..c3c37dc
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/maximize-btn-hover.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/maximize-btn.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/maximize-btn.png.svn-base
new file mode 100644
index 0000000..1b4aa86
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/maximize-btn.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/minimize-btn-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/minimize-btn-active.png.svn-base
new file mode 100644
index 0000000..38b072e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/minimize-btn-active.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/minimize-btn-hover.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/minimize-btn-hover.png.svn-base
new file mode 100644
index 0000000..2037c0d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/minimize-btn-hover.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/minimize-btn.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/minimize-btn.png.svn-base
new file mode 100644
index 0000000..56afb0a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/minimize-btn.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/montage.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/montage.svn-base
new file mode 100644
index 0000000..04ae16b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/montage.svn-base
@@ -0,0 +1 @@
+montage -adjoin -background transparent -geometry 27x16 quit-btn.png quit-btn-hover.png quit-btn-active.png maximize-btn.png maximize-btn-hover.png maximize-btn-active.png minimize-btn.png minimize-btn-hover.png minimize-btn-active.png tmp.png
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/quit-btn-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/quit-btn-active.png.svn-base
new file mode 100644
index 0000000..860defd
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/quit-btn-active.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/quit-btn-hover.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/quit-btn-hover.png.svn-base
new file mode 100644
index 0000000..83bb6a0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/quit-btn-hover.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/quit-btn.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/quit-btn.png.svn-base
new file mode 100644
index 0000000..e6e20cc
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/.svn/text-base/quit-btn.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/buttons.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/buttons.png
new file mode 100644
index 0000000..1e8b14a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/buttons.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/maximize-btn-active.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/maximize-btn-active.png
new file mode 100644
index 0000000..b632d07
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/maximize-btn-active.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/maximize-btn-hover.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/maximize-btn-hover.png
new file mode 100644
index 0000000..c3c37dc
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/maximize-btn-hover.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/maximize-btn.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/maximize-btn.png
new file mode 100644
index 0000000..1b4aa86
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/maximize-btn.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/minimize-btn-active.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/minimize-btn-active.png
new file mode 100644
index 0000000..38b072e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/minimize-btn-active.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/minimize-btn-hover.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/minimize-btn-hover.png
new file mode 100644
index 0000000..2037c0d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/minimize-btn-hover.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/minimize-btn.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/minimize-btn.png
new file mode 100644
index 0000000..56afb0a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/minimize-btn.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/montage b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/montage
new file mode 100644
index 0000000..04ae16b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/montage
@@ -0,0 +1 @@
+montage -adjoin -background transparent -geometry 27x16 quit-btn.png quit-btn-hover.png quit-btn-active.png maximize-btn.png maximize-btn-hover.png maximize-btn-active.png minimize-btn.png minimize-btn-hover.png minimize-btn-active.png tmp.png
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/quit-btn-active.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/quit-btn-active.png
new file mode 100644
index 0000000..860defd
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/quit-btn-active.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/quit-btn-hover.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/quit-btn-hover.png
new file mode 100644
index 0000000..83bb6a0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/quit-btn-hover.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/quit-btn.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/quit-btn.png
new file mode 100644
index 0000000..e6e20cc
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/dialog/quit-btn.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/entry-warning.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/entry-warning.png
new file mode 100644
index 0000000..fe60da1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/entry-warning.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/grid-drop-col.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/grid-drop-col.gif
new file mode 100644
index 0000000..5626c54
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/grid-drop-col.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/all-wcprops
new file mode 100644
index 0000000..71b3efd
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/all-wcprops
@@ -0,0 +1,29 @@
+K 25
+svn:wc:ra_dav:version-url
+V 51
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/icons
+END
+dynarch-small.png
+K 25
+svn:wc:ra_dav:version-url
+V 69
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/icons/dynarch-small.png
+END
+colors.png
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/icons/colors.png
+END
+gnome-fs-chardev.png
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/icons/gnome-fs-chardev.png
+END
+calendar.png
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/icons/calendar.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/entries
new file mode 100644
index 0000000..38208e5
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/entries
@@ -0,0 +1,164 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/css/img/icons
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+dynarch-small.png
+file
+
+
+
+
+2012-01-23T13:07:10.061352Z
+5852f382fbee30bae261103828131a89
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+348
+
+colors.png
+file
+
+
+
+
+2012-01-23T13:07:10.061352Z
+488ece1b89da36b136857b05c0314083
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+290
+
+gnome-fs-chardev.png
+file
+
+
+
+
+2012-01-23T13:07:10.061352Z
+6a806210312568e13c22917b9958fc7d
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+777
+
+calendar.png
+file
+
+
+
+
+2012-01-23T13:07:10.061352Z
+39fc42939724eeed99fc0f9554e2a6d7
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+871
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/prop-base/calendar.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/prop-base/calendar.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/prop-base/calendar.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/prop-base/colors.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/prop-base/colors.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/prop-base/colors.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/prop-base/dynarch-small.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/prop-base/dynarch-small.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/prop-base/dynarch-small.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/prop-base/gnome-fs-chardev.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/prop-base/gnome-fs-chardev.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/prop-base/gnome-fs-chardev.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/text-base/calendar.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/text-base/calendar.png.svn-base
new file mode 100644
index 0000000..fbf29f5
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/text-base/calendar.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/text-base/colors.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/text-base/colors.png.svn-base
new file mode 100644
index 0000000..374b09e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/text-base/colors.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/text-base/dynarch-small.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/text-base/dynarch-small.png.svn-base
new file mode 100644
index 0000000..a9a8cb1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/text-base/dynarch-small.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/text-base/gnome-fs-chardev.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/text-base/gnome-fs-chardev.png.svn-base
new file mode 100644
index 0000000..261b24d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/.svn/text-base/gnome-fs-chardev.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/calendar.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/calendar.png
new file mode 100644
index 0000000..fbf29f5
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/calendar.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/colors.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/colors.png
new file mode 100644
index 0000000..374b09e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/colors.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/dynarch-small.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/dynarch-small.png
new file mode 100644
index 0000000..a9a8cb1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/dynarch-small.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/gnome-fs-chardev.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/gnome-fs-chardev.png
new file mode 100644
index 0000000..261b24d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/icons/gnome-fs-chardev.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/mark-2.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/mark-2.gif
new file mode 100644
index 0000000..3692652
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/mark-2.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/mark.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/mark.gif
new file mode 100644
index 0000000..2faf63d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/mark.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/all-wcprops
new file mode 100644
index 0000000..9796838
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/all-wcprops
@@ -0,0 +1,29 @@
+K 25
+svn:wc:ra_dav:version-url
+V 50
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/menu
+END
+rarrow.gif
+K 25
+svn:wc:ra_dav:version-url
+V 61
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/menu/rarrow.gif
+END
+rarrow-hover.gif
+K 25
+svn:wc:ra_dav:version-url
+V 67
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/menu/rarrow-hover.gif
+END
+darrow.gif
+K 25
+svn:wc:ra_dav:version-url
+V 61
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/menu/darrow.gif
+END
+darrow-small.gif
+K 25
+svn:wc:ra_dav:version-url
+V 67
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/menu/darrow-small.gif
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/entries
new file mode 100644
index 0000000..c2cd363
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/entries
@@ -0,0 +1,164 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/css/img/menu
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+rarrow.gif
+file
+
+
+
+
+2012-01-23T13:07:09.829351Z
+2dac040c1b40dee77b2f5aa6188f0de1
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+85
+
+rarrow-hover.gif
+file
+
+
+
+
+2012-01-23T13:07:09.829351Z
+08217a7db7472206a0755b3c77d22735
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+85
+
+darrow.gif
+file
+
+
+
+
+2012-01-23T13:07:09.829351Z
+11b046043208ea20babb404aadfeff57
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+82
+
+darrow-small.gif
+file
+
+
+
+
+2012-01-23T13:07:09.829351Z
+9a628f5031c0285592718de427f9d3eb
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+49
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/prop-base/darrow-small.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/prop-base/darrow-small.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/prop-base/darrow-small.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/prop-base/darrow.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/prop-base/darrow.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/prop-base/darrow.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/prop-base/rarrow-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/prop-base/rarrow-hover.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/prop-base/rarrow-hover.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/prop-base/rarrow.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/prop-base/rarrow.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/prop-base/rarrow.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/text-base/darrow-small.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/text-base/darrow-small.gif.svn-base
new file mode 100644
index 0000000..0d55289
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/text-base/darrow-small.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/text-base/darrow.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/text-base/darrow.gif.svn-base
new file mode 100644
index 0000000..d601ef4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/text-base/darrow.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/text-base/rarrow-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/text-base/rarrow-hover.gif.svn-base
new file mode 100644
index 0000000..a627e45
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/text-base/rarrow-hover.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/text-base/rarrow.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/text-base/rarrow.gif.svn-base
new file mode 100644
index 0000000..0716499
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/.svn/text-base/rarrow.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/darrow-small.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/darrow-small.gif
new file mode 100644
index 0000000..0d55289
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/darrow-small.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/darrow.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/darrow.gif
new file mode 100644
index 0000000..d601ef4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/darrow.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/rarrow-hover.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/rarrow-hover.gif
new file mode 100644
index 0000000..a627e45
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/rarrow-hover.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/rarrow.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/rarrow.gif
new file mode 100644
index 0000000..0716499
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/menu/rarrow.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/modalbg.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/modalbg.gif
new file mode 100644
index 0000000..a5fa38e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/modalbg.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-0-disabled.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-0-disabled.png
new file mode 100644
index 0000000..5d1000c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-0-disabled.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-0.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-0.png
new file mode 100644
index 0000000..2fd8d7a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-0.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-1-disabled.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-1-disabled.png
new file mode 100644
index 0000000..fbda731
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-1-disabled.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-1.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-1.png
new file mode 100644
index 0000000..0920878
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-1.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-2.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-2.png
new file mode 100644
index 0000000..ee74c10
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/radiobutton-2.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resize.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resize.gif
new file mode 100644
index 0000000..d7cbec9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resize.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resize.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resize.png
new file mode 100644
index 0000000..9ae71c4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resize.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-horiz.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-horiz.gif
new file mode 100644
index 0000000..32740f1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-horiz.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-horiz1.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-horiz1.gif
new file mode 100644
index 0000000..4e3efc1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-horiz1.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-horiz2.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-horiz2.png
new file mode 100644
index 0000000..ffc6d5b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-horiz2.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-vert.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-vert.gif
new file mode 100644
index 0000000..7acb067
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-vert.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-vert1.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-vert1.gif
new file mode 100644
index 0000000..91f1919
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-vert1.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-vert2.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-vert2.gif
new file mode 100644
index 0000000..dfa09d8
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-vert2.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-vert2.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-vert2.png
new file mode 100644
index 0000000..a906c7f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebar-vert2.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebg.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebg.gif
new file mode 100644
index 0000000..290d9ad
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/resizebg.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/.svn/all-wcprops
new file mode 100644
index 0000000..b75c298
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/.svn/all-wcprops
@@ -0,0 +1,5 @@
+K 25
+svn:wc:ra_dav:version-url
+V 53
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/.svn/entries
new file mode 100644
index 0000000..43e921b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/.svn/entries
@@ -0,0 +1,37 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/css/img/shadows
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+dlg-active
+dir
+
+dlg-dragging
+dir
+
+dlg-inactive
+dir
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/all-wcprops
new file mode 100644
index 0000000..5760347
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/all-wcprops
@@ -0,0 +1,59 @@
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-active
+END
+shadows.css
+K 25
+svn:wc:ra_dav:version-url
+V 76
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-active/shadows.css
+END
+BL.png
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-active/BL.png
+END
+TL.png
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-active/TL.png
+END
+B.png
+K 25
+svn:wc:ra_dav:version-url
+V 70
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-active/B.png
+END
+R.png
+K 25
+svn:wc:ra_dav:version-url
+V 70
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-active/R.png
+END
+BR.png
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-active/BR.png
+END
+T.png
+K 25
+svn:wc:ra_dav:version-url
+V 70
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-active/T.png
+END
+TR.png
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-active/TR.png
+END
+L.png
+K 25
+svn:wc:ra_dav:version-url
+V 70
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-active/L.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/entries
new file mode 100644
index 0000000..6940722
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/entries
@@ -0,0 +1,334 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/css/img/shadows/dlg-active
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+shadows.css
+file
+
+
+
+
+2012-01-23T13:07:09.953351Z
+30a3d0c3e2c2d9373191497cc19173ce
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+9335
+
+BL.png
+file
+
+
+
+
+2012-01-23T13:07:09.953351Z
+d7b4c9fbc374252370f2ffeb492c69fa
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+705
+
+TL.png
+file
+
+
+
+
+2012-01-23T13:07:09.953351Z
+12325ab1cffd6c15ae07036899aa92e6
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+811
+
+B.png
+file
+
+
+
+
+2012-01-23T13:07:09.953351Z
+e89d25a1680c005d694f00b65fe79b6a
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+133
+
+R.png
+file
+
+
+
+
+2012-01-23T13:07:09.953351Z
+78e9af3d5fb700ea01fd0b769f3d0199
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+153
+
+BR.png
+file
+
+
+
+
+2012-01-23T13:07:09.953351Z
+b29273e1a455943b7c05357a25209295
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+499
+
+T.png
+file
+
+
+
+
+2012-01-23T13:07:09.953351Z
+8d008d109d8cbdcd4cf28f9291436f44
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+128
+
+TR.png
+file
+
+
+
+
+2012-01-23T13:07:09.953351Z
+93a8380319e35ad31fa3fb0a2b27b71f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1206
+
+L.png
+file
+
+
+
+
+2012-01-23T13:07:09.953351Z
+419ab5c45c49911575bda9e45038feaa
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+134
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/B.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/B.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/BL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/BL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/BR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/BR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/L.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/L.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/R.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/R.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/T.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/T.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/TL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/TL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/TR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/prop-base/TR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/B.png.svn-base
new file mode 100644
index 0000000..1c3f15b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/B.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/BL.png.svn-base
new file mode 100644
index 0000000..68a7f40
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/BL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/BR.png.svn-base
new file mode 100644
index 0000000..54ba67f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/BR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/L.png.svn-base
new file mode 100644
index 0000000..5c5e96c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/L.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/R.png.svn-base
new file mode 100644
index 0000000..e0bdf32
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/R.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/T.png.svn-base
new file mode 100644
index 0000000..1bec723
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/T.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/TL.png.svn-base
new file mode 100644
index 0000000..a56ca5c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/TL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/TR.png.svn-base
new file mode 100644
index 0000000..efe6980
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/TR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/shadows.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/shadows.css.svn-base
new file mode 100644
index 0000000..8bd9a36
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/.svn/text-base/shadows.css.svn-base
@@ -0,0 +1,222 @@
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url('$DIR/T.png') repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url('$DIR/B.png') repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url('$DIR/TL.png') no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url('$DIR/BR.png') no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url('$DIR/R.png') repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url('$DIR/TR.png') no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url('$DIR/BL.png') no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url('$DIR/L.png') repeat-y 0 0; bottom: 6px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '18px',
+ 'right' => '15px',
+ 'top' => '-14px',
+ 'background' => 'url(\'$DIR/T.png\') repeat-x 0 0',
+ 'height' => '14px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 14,
+ 'x' => 16
+ },
+ 'diff' => 10,
+ 'sel' => [
+ 32,
+ 0,
+ 300,
+ 24
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '18px',
+ 'right' => '15px',
+ 'background' => 'url(\'$DIR/B.png\') repeat-x 0 0',
+ 'bottom' => '-16px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 32,
+ 244,
+ 300,
+ 22
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '32px',
+ 'top' => '-13px',
+ 'background' => 'url(\'$DIR/TL.png\') no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 32,
+ 24
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-16px',
+ 'background' => 'url(\'$DIR/BR.png\') no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 244,
+ 31,
+ 22
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '16px',
+ 'right' => '-16px',
+ 'top' => '10px',
+ 'background' => 'url(\'$DIR/R.png\') repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 31
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 15,
+ 'sel' => [
+ 332,
+ 24,
+ 31,
+ 220
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-16px',
+ 'top' => '-13px',
+ 'background' => 'url(\'$DIR/TR.png\') no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 0,
+ 31,
+ 24
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '32px',
+ 'background' => 'url(\'$DIR/BL.png\') no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 244,
+ 32,
+ 22
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '14px',
+ 'top' => '10px',
+ 'background' => 'url(\'$DIR/L.png\') repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 32
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 14
+ },
+ 'diff' => 18,
+ 'sel' => [
+ 0,
+ 24,
+ 32,
+ 220
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/B.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/B.png
new file mode 100644
index 0000000..1c3f15b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/B.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/BL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/BL.png
new file mode 100644
index 0000000..68a7f40
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/BL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/BR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/BR.png
new file mode 100644
index 0000000..54ba67f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/BR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/L.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/L.png
new file mode 100644
index 0000000..5c5e96c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/L.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/R.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/R.png
new file mode 100644
index 0000000..e0bdf32
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/R.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/T.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/T.png
new file mode 100644
index 0000000..1bec723
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/T.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/TL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/TL.png
new file mode 100644
index 0000000..a56ca5c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/TL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/TR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/TR.png
new file mode 100644
index 0000000..efe6980
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/TR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/shadows.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/shadows.css
new file mode 100644
index 0000000..8bd9a36
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-active/shadows.css
@@ -0,0 +1,222 @@
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url('$DIR/T.png') repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url('$DIR/B.png') repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url('$DIR/TL.png') no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url('$DIR/BR.png') no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url('$DIR/R.png') repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url('$DIR/TR.png') no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url('$DIR/BL.png') no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url('$DIR/L.png') repeat-y 0 0; bottom: 6px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '18px',
+ 'right' => '15px',
+ 'top' => '-14px',
+ 'background' => 'url(\'$DIR/T.png\') repeat-x 0 0',
+ 'height' => '14px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 14,
+ 'x' => 16
+ },
+ 'diff' => 10,
+ 'sel' => [
+ 32,
+ 0,
+ 300,
+ 24
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '18px',
+ 'right' => '15px',
+ 'background' => 'url(\'$DIR/B.png\') repeat-x 0 0',
+ 'bottom' => '-16px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 32,
+ 244,
+ 300,
+ 22
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '32px',
+ 'top' => '-13px',
+ 'background' => 'url(\'$DIR/TL.png\') no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 32,
+ 24
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-16px',
+ 'background' => 'url(\'$DIR/BR.png\') no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 244,
+ 31,
+ 22
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '16px',
+ 'right' => '-16px',
+ 'top' => '10px',
+ 'background' => 'url(\'$DIR/R.png\') repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 31
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 15,
+ 'sel' => [
+ 332,
+ 24,
+ 31,
+ 220
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-16px',
+ 'top' => '-13px',
+ 'background' => 'url(\'$DIR/TR.png\') no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 0,
+ 31,
+ 24
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '32px',
+ 'background' => 'url(\'$DIR/BL.png\') no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 244,
+ 32,
+ 22
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '14px',
+ 'top' => '10px',
+ 'background' => 'url(\'$DIR/L.png\') repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 32
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 14
+ },
+ 'diff' => 18,
+ 'sel' => [
+ 0,
+ 24,
+ 32,
+ 220
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/all-wcprops
new file mode 100644
index 0000000..2847b52
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/all-wcprops
@@ -0,0 +1,59 @@
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-dragging
+END
+shadows.css
+K 25
+svn:wc:ra_dav:version-url
+V 78
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-dragging/shadows.css
+END
+BL.png
+K 25
+svn:wc:ra_dav:version-url
+V 73
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-dragging/BL.png
+END
+TL.png
+K 25
+svn:wc:ra_dav:version-url
+V 73
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-dragging/TL.png
+END
+B.png
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-dragging/B.png
+END
+R.png
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-dragging/R.png
+END
+BR.png
+K 25
+svn:wc:ra_dav:version-url
+V 73
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-dragging/BR.png
+END
+T.png
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-dragging/T.png
+END
+TR.png
+K 25
+svn:wc:ra_dav:version-url
+V 73
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-dragging/TR.png
+END
+L.png
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-dragging/L.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/entries
new file mode 100644
index 0000000..f8f291c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/entries
@@ -0,0 +1,334 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/css/img/shadows/dlg-dragging
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+shadows.css
+file
+
+
+
+
+2012-01-23T13:07:09.969351Z
+6c1d87642f978b37a65aa239df7baea4
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+9335
+
+BL.png
+file
+
+
+
+
+2012-01-23T13:07:09.969351Z
+2dd8057bded6298ee31344a8d4169835
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+783
+
+TL.png
+file
+
+
+
+
+2012-01-23T13:07:09.973351Z
+e6b6f7b65d35eb084c8eb707bfe9fc55
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+768
+
+B.png
+file
+
+
+
+
+2012-01-23T13:07:09.973351Z
+9cd0457752dea35367bf67cd6ec16299
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+133
+
+R.png
+file
+
+
+
+
+2012-01-23T13:07:09.973351Z
+bc8687412ff7bfb816cacd141cda9993
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+172
+
+BR.png
+file
+
+
+
+
+2012-01-23T13:07:09.973351Z
+282f3d703191ac0e35943819abf4c13f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+789
+
+T.png
+file
+
+
+
+
+2012-01-23T13:07:09.973351Z
+50b4a0742a76756c8e6bf156d3615694
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+168
+
+TR.png
+file
+
+
+
+
+2012-01-23T13:07:09.973351Z
+c5b23a7a38c28ab8f188984415f1c6b2
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1133
+
+L.png
+file
+
+
+
+
+2012-01-23T13:07:09.973351Z
+34d3ade4f3282a69c00d210b1ceca4aa
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+168
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/B.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/B.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/BL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/BL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/BR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/BR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/L.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/L.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/R.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/R.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/T.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/T.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/TL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/TL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/TR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/prop-base/TR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/B.png.svn-base
new file mode 100644
index 0000000..596843a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/B.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/BL.png.svn-base
new file mode 100644
index 0000000..ea6a7fd
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/BL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/BR.png.svn-base
new file mode 100644
index 0000000..1d6e915
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/BR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/L.png.svn-base
new file mode 100644
index 0000000..63001c5
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/L.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/R.png.svn-base
new file mode 100644
index 0000000..79c8b94
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/R.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/T.png.svn-base
new file mode 100644
index 0000000..43e9c11
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/T.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/TL.png.svn-base
new file mode 100644
index 0000000..e1ac419
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/TL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/TR.png.svn-base
new file mode 100644
index 0000000..1645666
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/TR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/shadows.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/shadows.css.svn-base
new file mode 100644
index 0000000..a07a252
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/.svn/text-base/shadows.css.svn-base
@@ -0,0 +1,222 @@
+.DlDialog-Dragging .DlDialog-Rel .Shadow-T { left: 17px; right: 14px; top: -14px; background: url("$DIR/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-B { left: 17px; right: 14px; background: url("$DIR/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-TL { left: -15px; width: 32px; top: -13px; background: url("$DIR/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-BR { width: 31px; right: -17px; background: url("$DIR/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-R { width: 17px; right: -17px; top: 10px; background: url("$DIR/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-TR { width: 31px; right: -17px; top: -13px; background: url("$DIR/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-BL { left: -15px; width: 32px; background: url("$DIR/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-L { left: -15px; width: 15px; top: 10px; background: url("$DIR/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '17px',
+ 'right' => '14px',
+ 'top' => '-14px',
+ 'background' => 'url("$DIR/T.png") repeat-x 0 0',
+ 'height' => '14px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 14,
+ 'x' => 16
+ },
+ 'diff' => 10,
+ 'sel' => [
+ 32,
+ 0,
+ 300,
+ 24
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '17px',
+ 'right' => '14px',
+ 'background' => 'url("$DIR/B.png") repeat-x 0 0',
+ 'bottom' => '-16px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 32,
+ 244,
+ 300,
+ 22
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-15px',
+ 'width' => '32px',
+ 'top' => '-13px',
+ 'background' => 'url("$DIR/TL.png") no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 32,
+ 24
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-17px',
+ 'background' => 'url("$DIR/BR.png") no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 244,
+ 31,
+ 22
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '17px',
+ 'right' => '-17px',
+ 'top' => '10px',
+ 'background' => 'url("$DIR/R.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 31
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 17
+ },
+ 'diff' => 14,
+ 'sel' => [
+ 332,
+ 24,
+ 31,
+ 220
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-17px',
+ 'top' => '-13px',
+ 'background' => 'url("$DIR/TR.png") no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 0,
+ 31,
+ 24
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-15px',
+ 'width' => '32px',
+ 'background' => 'url("$DIR/BL.png") no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 244,
+ 32,
+ 22
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-15px',
+ 'width' => '15px',
+ 'top' => '10px',
+ 'background' => 'url("$DIR/L.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 32
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 15
+ },
+ 'diff' => 17,
+ 'sel' => [
+ 0,
+ 24,
+ 32,
+ 220
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/B.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/B.png
new file mode 100644
index 0000000..596843a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/B.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/BL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/BL.png
new file mode 100644
index 0000000..ea6a7fd
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/BL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/BR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/BR.png
new file mode 100644
index 0000000..1d6e915
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/BR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/L.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/L.png
new file mode 100644
index 0000000..63001c5
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/L.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/R.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/R.png
new file mode 100644
index 0000000..79c8b94
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/R.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/T.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/T.png
new file mode 100644
index 0000000..43e9c11
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/T.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/TL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/TL.png
new file mode 100644
index 0000000..e1ac419
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/TL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/TR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/TR.png
new file mode 100644
index 0000000..1645666
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/TR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/shadows.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/shadows.css
new file mode 100644
index 0000000..a07a252
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-dragging/shadows.css
@@ -0,0 +1,222 @@
+.DlDialog-Dragging .DlDialog-Rel .Shadow-T { left: 17px; right: 14px; top: -14px; background: url("$DIR/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-B { left: 17px; right: 14px; background: url("$DIR/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-TL { left: -15px; width: 32px; top: -13px; background: url("$DIR/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-BR { width: 31px; right: -17px; background: url("$DIR/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-R { width: 17px; right: -17px; top: 10px; background: url("$DIR/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-TR { width: 31px; right: -17px; top: -13px; background: url("$DIR/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-BL { left: -15px; width: 32px; background: url("$DIR/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-L { left: -15px; width: 15px; top: 10px; background: url("$DIR/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '17px',
+ 'right' => '14px',
+ 'top' => '-14px',
+ 'background' => 'url("$DIR/T.png") repeat-x 0 0',
+ 'height' => '14px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 14,
+ 'x' => 16
+ },
+ 'diff' => 10,
+ 'sel' => [
+ 32,
+ 0,
+ 300,
+ 24
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '17px',
+ 'right' => '14px',
+ 'background' => 'url("$DIR/B.png") repeat-x 0 0',
+ 'bottom' => '-16px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 32,
+ 244,
+ 300,
+ 22
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-15px',
+ 'width' => '32px',
+ 'top' => '-13px',
+ 'background' => 'url("$DIR/TL.png") no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 32,
+ 24
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-17px',
+ 'background' => 'url("$DIR/BR.png") no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 244,
+ 31,
+ 22
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '17px',
+ 'right' => '-17px',
+ 'top' => '10px',
+ 'background' => 'url("$DIR/R.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 31
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 17
+ },
+ 'diff' => 14,
+ 'sel' => [
+ 332,
+ 24,
+ 31,
+ 220
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-17px',
+ 'top' => '-13px',
+ 'background' => 'url("$DIR/TR.png") no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 0,
+ 31,
+ 24
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-15px',
+ 'width' => '32px',
+ 'background' => 'url("$DIR/BL.png") no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 244,
+ 32,
+ 22
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-15px',
+ 'width' => '15px',
+ 'top' => '10px',
+ 'background' => 'url("$DIR/L.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 32
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 15
+ },
+ 'diff' => 17,
+ 'sel' => [
+ 0,
+ 24,
+ 32,
+ 220
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/all-wcprops
new file mode 100644
index 0000000..6e0ec14
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/all-wcprops
@@ -0,0 +1,59 @@
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-inactive
+END
+shadows.css
+K 25
+svn:wc:ra_dav:version-url
+V 78
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-inactive/shadows.css
+END
+BL.png
+K 25
+svn:wc:ra_dav:version-url
+V 73
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-inactive/BL.png
+END
+TL.png
+K 25
+svn:wc:ra_dav:version-url
+V 73
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-inactive/TL.png
+END
+B.png
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-inactive/B.png
+END
+R.png
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-inactive/R.png
+END
+BR.png
+K 25
+svn:wc:ra_dav:version-url
+V 73
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-inactive/BR.png
+END
+T.png
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-inactive/T.png
+END
+TR.png
+K 25
+svn:wc:ra_dav:version-url
+V 73
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-inactive/TR.png
+END
+L.png
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/shadows/dlg-inactive/L.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/entries
new file mode 100644
index 0000000..0d2a4d7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/entries
@@ -0,0 +1,334 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/css/img/shadows/dlg-inactive
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+shadows.css
+file
+
+
+
+
+2012-01-23T13:07:09.985351Z
+50f52e0108862fd748ff77bdeab2d50e
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+9103
+
+BL.png
+file
+
+
+
+
+2012-01-23T13:07:09.985351Z
+9e12396a70952a780fd494d2f6bc357e
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+855
+
+TL.png
+file
+
+
+
+
+2012-01-23T13:07:09.985351Z
+1acc680e2643a08ad16f93b407cec797
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+371
+
+B.png
+file
+
+
+
+
+2012-01-23T13:07:09.985351Z
+6cd5c1841d88d0b64543186e22c3482a
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+140
+
+R.png
+file
+
+
+
+
+2012-01-23T13:07:09.985351Z
+4fdbc82f8e2048306fd83f9150758cf2
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+136
+
+BR.png
+file
+
+
+
+
+2012-01-23T13:07:09.985351Z
+78693f785b374f54c191e8208331efe7
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+549
+
+T.png
+file
+
+
+
+
+2012-01-23T13:07:09.985351Z
+d30425a00fd890dc2ee73b5eeb36080f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+125
+
+TR.png
+file
+
+
+
+
+2012-01-23T13:07:09.985351Z
+6c07dcd6e96cccf9bb246606736dcbd3
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+725
+
+L.png
+file
+
+
+
+
+2012-01-23T13:07:09.985351Z
+dc4c064dd9bfb0adb1ab22e5e23073e2
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+124
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/B.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/B.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/BL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/BL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/BR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/BR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/L.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/L.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/R.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/R.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/T.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/T.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/TL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/TL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/TR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/prop-base/TR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/B.png.svn-base
new file mode 100644
index 0000000..5502d6d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/B.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/BL.png.svn-base
new file mode 100644
index 0000000..348ef90
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/BL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/BR.png.svn-base
new file mode 100644
index 0000000..4747aed
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/BR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/L.png.svn-base
new file mode 100644
index 0000000..7e3c491
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/L.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/R.png.svn-base
new file mode 100644
index 0000000..35d621c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/R.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/T.png.svn-base
new file mode 100644
index 0000000..bd2949e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/T.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/TL.png.svn-base
new file mode 100644
index 0000000..abf1dcd
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/TL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/TR.png.svn-base
new file mode 100644
index 0000000..9ddeb8e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/TR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/shadows.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/shadows.css.svn-base
new file mode 100644
index 0000000..afed16b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/.svn/text-base/shadows.css.svn-base
@@ -0,0 +1,222 @@
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("L.png") repeat-y 0 0; bottom: 6px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '18px',
+ 'right' => '15px',
+ 'top' => '-14px',
+ 'background' => 'url("T.png") repeat-x 0 0',
+ 'height' => '14px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 14,
+ 'x' => 16
+ },
+ 'diff' => 10,
+ 'sel' => [
+ 32,
+ 0,
+ 300,
+ 24
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '18px',
+ 'right' => '15px',
+ 'background' => 'url("B.png") repeat-x 0 0',
+ 'bottom' => '-16px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 32,
+ 244,
+ 300,
+ 22
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '32px',
+ 'top' => '-13px',
+ 'background' => 'url("TL.png") no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 32,
+ 24
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-16px',
+ 'background' => 'url("BR.png") no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 244,
+ 31,
+ 22
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '16px',
+ 'right' => '-16px',
+ 'top' => '10px',
+ 'background' => 'url("R.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 31
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 15,
+ 'sel' => [
+ 332,
+ 24,
+ 31,
+ 220
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-16px',
+ 'top' => '-13px',
+ 'background' => 'url("TR.png") no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 0,
+ 31,
+ 24
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '32px',
+ 'background' => 'url("BL.png") no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 244,
+ 32,
+ 22
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '14px',
+ 'top' => '10px',
+ 'background' => 'url("L.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 32
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 14
+ },
+ 'diff' => 18,
+ 'sel' => [
+ 0,
+ 24,
+ 32,
+ 220
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/B.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/B.png
new file mode 100644
index 0000000..5502d6d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/B.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/BL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/BL.png
new file mode 100644
index 0000000..348ef90
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/BL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/BR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/BR.png
new file mode 100644
index 0000000..4747aed
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/BR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/L.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/L.png
new file mode 100644
index 0000000..7e3c491
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/L.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/R.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/R.png
new file mode 100644
index 0000000..35d621c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/R.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/T.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/T.png
new file mode 100644
index 0000000..bd2949e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/T.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/TL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/TL.png
new file mode 100644
index 0000000..abf1dcd
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/TL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/TR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/TR.png
new file mode 100644
index 0000000..9ddeb8e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/TR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/shadows.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/shadows.css
new file mode 100644
index 0000000..afed16b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/shadows/dlg-inactive/shadows.css
@@ -0,0 +1,222 @@
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("L.png") repeat-y 0 0; bottom: 6px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '18px',
+ 'right' => '15px',
+ 'top' => '-14px',
+ 'background' => 'url("T.png") repeat-x 0 0',
+ 'height' => '14px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 14,
+ 'x' => 16
+ },
+ 'diff' => 10,
+ 'sel' => [
+ 32,
+ 0,
+ 300,
+ 24
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '18px',
+ 'right' => '15px',
+ 'background' => 'url("B.png") repeat-x 0 0',
+ 'bottom' => '-16px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 32,
+ 244,
+ 300,
+ 22
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '32px',
+ 'top' => '-13px',
+ 'background' => 'url("TL.png") no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 32,
+ 24
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-16px',
+ 'background' => 'url("BR.png") no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 244,
+ 31,
+ 22
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '16px',
+ 'right' => '-16px',
+ 'top' => '10px',
+ 'background' => 'url("R.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 31
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 15,
+ 'sel' => [
+ 332,
+ 24,
+ 31,
+ 220
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-16px',
+ 'top' => '-13px',
+ 'background' => 'url("TR.png") no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 0,
+ 31,
+ 24
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '32px',
+ 'background' => 'url("BL.png") no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 244,
+ 32,
+ 22
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '14px',
+ 'top' => '10px',
+ 'background' => 'url("L.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 32
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 14
+ },
+ 'diff' => 18,
+ 'sel' => [
+ 0,
+ 24,
+ 32,
+ 220
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/spinner-down.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/spinner-down.gif
new file mode 100644
index 0000000..0b2f0d7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/spinner-down.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/spinner-down.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/spinner-down.png
new file mode 100644
index 0000000..b9bbfdb
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/spinner-down.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/spinner-up.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/spinner-up.gif
new file mode 100644
index 0000000..0d68940
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/spinner-up.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/spinner-up.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/spinner-up.png
new file mode 100644
index 0000000..e56a9dc
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/spinner-up.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/all-wcprops
new file mode 100644
index 0000000..c53ecfa
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/all-wcprops
@@ -0,0 +1,59 @@
+K 25
+svn:wc:ra_dav:version-url
+V 58
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows
+END
+shadows.css
+K 25
+svn:wc:ra_dav:version-url
+V 70
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows/shadows.css
+END
+BL.png
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows/BL.png
+END
+TL.png
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows/TL.png
+END
+B.png
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows/B.png
+END
+R.png
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows/R.png
+END
+BR.png
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows/BR.png
+END
+T.png
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows/T.png
+END
+TR.png
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows/TR.png
+END
+L.png
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows/L.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/entries
new file mode 100644
index 0000000..5d1ef62
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/entries
@@ -0,0 +1,334 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/css/img/thin-shadows
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+shadows.css
+file
+
+
+
+
+2012-01-23T13:07:10.053352Z
+cb19ac7ddae338f5f0a5b59ab3eb4641
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+8904
+
+BL.png
+file
+
+
+
+
+2012-01-23T13:07:10.053352Z
+fd5f4d4eaed58d138ceb242f100fd915
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+495
+
+TL.png
+file
+
+
+
+
+2012-01-23T13:07:10.053352Z
+813a29b5d3d5b06e1fe6205c4a6e476a
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+483
+
+B.png
+file
+
+
+
+
+2012-01-23T13:07:10.053352Z
+f62c23e0fe84763d22b9bb7d584575d4
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+128
+
+R.png
+file
+
+
+
+
+2012-01-23T13:07:10.053352Z
+082e21b579a0e9233119ed43eff72aa3
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+115
+
+BR.png
+file
+
+
+
+
+2012-01-23T13:07:10.053352Z
+496d4bf0f1c7fc7f4b66ca85c323fdad
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+478
+
+T.png
+file
+
+
+
+
+2012-01-23T13:07:10.053352Z
+b82e85bcfd6bd56e61c1f00983b9c500
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+107
+
+TR.png
+file
+
+
+
+
+2012-01-23T13:07:10.053352Z
+4deafa7e379a33a3d528bc9ad923847e
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+615
+
+L.png
+file
+
+
+
+
+2012-01-23T13:07:10.053352Z
+abf470683cb6cff389130980435d7415
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+110
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/B.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/B.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/BL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/BL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/BR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/BR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/L.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/L.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/R.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/R.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/T.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/T.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/TL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/TL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/TR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/prop-base/TR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/B.png.svn-base
new file mode 100644
index 0000000..291e3cb
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/B.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/BL.png.svn-base
new file mode 100644
index 0000000..84ec7d7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/BL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/BR.png.svn-base
new file mode 100644
index 0000000..867d082
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/BR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/L.png.svn-base
new file mode 100644
index 0000000..8898fef
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/L.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/R.png.svn-base
new file mode 100644
index 0000000..4316fd3
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/R.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/T.png.svn-base
new file mode 100644
index 0000000..89ca924
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/T.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/TL.png.svn-base
new file mode 100644
index 0000000..39ce4b4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/TL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/TR.png.svn-base
new file mode 100644
index 0000000..d2d27d9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/TR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/shadows.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/shadows.css.svn-base
new file mode 100644
index 0000000..0225e23
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/.svn/text-base/shadows.css.svn-base
@@ -0,0 +1,222 @@
+T { left: 10px; right: 9px; top: -7px; background: url("T.png") repeat-x 0 0; height: 7px; }
+B { left: 10px; right: 9px; background: url("B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+TL { left: -7px; width: 17px; top: -7px; background: url("TL.png") no-repeat 0 0; height: 20px; }
+BR { width: 20px; right: -11px; background: url("BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+R { width: 11px; right: -11px; top: 13px; background: url("R.png") repeat-y 0 0; bottom: 9px; }
+TR { width: 20px; right: -11px; top: -7px; background: url("TR.png") no-repeat 0 0; height: 20px; }
+BL { left: -7px; width: 17px; background: url("BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+L { left: -7px; width: 7px; top: 13px; background: url("L.png") repeat-y 0 0; bottom: 9px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '10px',
+ 'right' => '9px',
+ 'top' => '-7px',
+ 'background' => 'url("T.png") repeat-x 0 0',
+ 'height' => '7px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 280
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 7,
+ 'x' => 16
+ },
+ 'diff' => 13,
+ 'sel' => [
+ 17,
+ 0,
+ 280,
+ 20
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '10px',
+ 'right' => '9px',
+ 'background' => 'url("B.png") repeat-x 0 0',
+ 'bottom' => '-11px',
+ 'height' => '11px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 280
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 11,
+ 'x' => 16
+ },
+ 'diff' => 9,
+ 'sel' => [
+ 17,
+ 206,
+ 280,
+ 20
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-7px',
+ 'width' => '17px',
+ 'top' => '-7px',
+ 'background' => 'url("TL.png") no-repeat 0 0',
+ 'height' => '20px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 17
+ },
+ 'finalsize' => {
+ 'y' => 20,
+ 'x' => 17
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 17,
+ 20
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '20px',
+ 'right' => '-11px',
+ 'background' => 'url("BR.png") no-repeat 0 0',
+ 'bottom' => '-11px',
+ 'height' => '20px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 20
+ },
+ 'finalsize' => {
+ 'y' => 20,
+ 'x' => 20
+ },
+ 'sel' => [
+ 297,
+ 206,
+ 20,
+ 20
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '11px',
+ 'right' => '-11px',
+ 'top' => '13px',
+ 'background' => 'url("R.png") repeat-y 0 0',
+ 'bottom' => '9px'
+ },
+ 'origsize' => {
+ 'y' => 186,
+ 'x' => 20
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 11
+ },
+ 'diff' => 9,
+ 'sel' => [
+ 297,
+ 20,
+ 20,
+ 186
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '20px',
+ 'right' => '-11px',
+ 'top' => '-7px',
+ 'background' => 'url("TR.png") no-repeat 0 0',
+ 'height' => '20px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 20
+ },
+ 'finalsize' => {
+ 'y' => 20,
+ 'x' => 20
+ },
+ 'sel' => [
+ 297,
+ 0,
+ 20,
+ 20
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-7px',
+ 'width' => '17px',
+ 'background' => 'url("BL.png") no-repeat 0 0',
+ 'bottom' => '-11px',
+ 'height' => '20px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 17
+ },
+ 'finalsize' => {
+ 'y' => 20,
+ 'x' => 17
+ },
+ 'sel' => [
+ 0,
+ 206,
+ 17,
+ 20
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-7px',
+ 'width' => '7px',
+ 'top' => '13px',
+ 'background' => 'url("L.png") repeat-y 0 0',
+ 'bottom' => '9px'
+ },
+ 'origsize' => {
+ 'y' => 186,
+ 'x' => 17
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 7
+ },
+ 'diff' => 10,
+ 'sel' => [
+ 0,
+ 20,
+ 17,
+ 186
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/B.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/B.png
new file mode 100644
index 0000000..291e3cb
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/B.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/BL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/BL.png
new file mode 100644
index 0000000..84ec7d7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/BL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/BR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/BR.png
new file mode 100644
index 0000000..867d082
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/BR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/L.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/L.png
new file mode 100644
index 0000000..8898fef
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/L.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/R.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/R.png
new file mode 100644
index 0000000..4316fd3
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/R.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/T.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/T.png
new file mode 100644
index 0000000..89ca924
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/T.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/TL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/TL.png
new file mode 100644
index 0000000..39ce4b4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/TL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/TR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/TR.png
new file mode 100644
index 0000000..d2d27d9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/TR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/shadows.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/shadows.css
new file mode 100644
index 0000000..0225e23
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows/shadows.css
@@ -0,0 +1,222 @@
+T { left: 10px; right: 9px; top: -7px; background: url("T.png") repeat-x 0 0; height: 7px; }
+B { left: 10px; right: 9px; background: url("B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+TL { left: -7px; width: 17px; top: -7px; background: url("TL.png") no-repeat 0 0; height: 20px; }
+BR { width: 20px; right: -11px; background: url("BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+R { width: 11px; right: -11px; top: 13px; background: url("R.png") repeat-y 0 0; bottom: 9px; }
+TR { width: 20px; right: -11px; top: -7px; background: url("TR.png") no-repeat 0 0; height: 20px; }
+BL { left: -7px; width: 17px; background: url("BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+L { left: -7px; width: 7px; top: 13px; background: url("L.png") repeat-y 0 0; bottom: 9px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '10px',
+ 'right' => '9px',
+ 'top' => '-7px',
+ 'background' => 'url("T.png") repeat-x 0 0',
+ 'height' => '7px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 280
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 7,
+ 'x' => 16
+ },
+ 'diff' => 13,
+ 'sel' => [
+ 17,
+ 0,
+ 280,
+ 20
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '10px',
+ 'right' => '9px',
+ 'background' => 'url("B.png") repeat-x 0 0',
+ 'bottom' => '-11px',
+ 'height' => '11px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 280
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 11,
+ 'x' => 16
+ },
+ 'diff' => 9,
+ 'sel' => [
+ 17,
+ 206,
+ 280,
+ 20
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-7px',
+ 'width' => '17px',
+ 'top' => '-7px',
+ 'background' => 'url("TL.png") no-repeat 0 0',
+ 'height' => '20px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 17
+ },
+ 'finalsize' => {
+ 'y' => 20,
+ 'x' => 17
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 17,
+ 20
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '20px',
+ 'right' => '-11px',
+ 'background' => 'url("BR.png") no-repeat 0 0',
+ 'bottom' => '-11px',
+ 'height' => '20px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 20
+ },
+ 'finalsize' => {
+ 'y' => 20,
+ 'x' => 20
+ },
+ 'sel' => [
+ 297,
+ 206,
+ 20,
+ 20
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '11px',
+ 'right' => '-11px',
+ 'top' => '13px',
+ 'background' => 'url("R.png") repeat-y 0 0',
+ 'bottom' => '9px'
+ },
+ 'origsize' => {
+ 'y' => 186,
+ 'x' => 20
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 11
+ },
+ 'diff' => 9,
+ 'sel' => [
+ 297,
+ 20,
+ 20,
+ 186
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '20px',
+ 'right' => '-11px',
+ 'top' => '-7px',
+ 'background' => 'url("TR.png") no-repeat 0 0',
+ 'height' => '20px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 20
+ },
+ 'finalsize' => {
+ 'y' => 20,
+ 'x' => 20
+ },
+ 'sel' => [
+ 297,
+ 0,
+ 20,
+ 20
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-7px',
+ 'width' => '17px',
+ 'background' => 'url("BL.png") no-repeat 0 0',
+ 'bottom' => '-11px',
+ 'height' => '20px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 17
+ },
+ 'finalsize' => {
+ 'y' => 20,
+ 'x' => 17
+ },
+ 'sel' => [
+ 0,
+ 206,
+ 17,
+ 20
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-7px',
+ 'width' => '7px',
+ 'top' => '13px',
+ 'background' => 'url("L.png") repeat-y 0 0',
+ 'bottom' => '9px'
+ },
+ 'origsize' => {
+ 'y' => 186,
+ 'x' => 17
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 7
+ },
+ 'diff' => 10,
+ 'sel' => [
+ 0,
+ 20,
+ 17,
+ 186
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/all-wcprops
new file mode 100644
index 0000000..d96e3f2
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/all-wcprops
@@ -0,0 +1,59 @@
+K 25
+svn:wc:ra_dav:version-url
+V 59
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows1
+END
+shadows.css
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows1/shadows.css
+END
+BL.png
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows1/BL.png
+END
+TL.png
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows1/TL.png
+END
+B.png
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows1/B.png
+END
+R.png
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows1/R.png
+END
+BR.png
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows1/BR.png
+END
+T.png
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows1/T.png
+END
+TR.png
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows1/TR.png
+END
+L.png
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/thin-shadows1/L.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/entries
new file mode 100644
index 0000000..e5a6f4b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/entries
@@ -0,0 +1,334 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/css/img/thin-shadows1
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+shadows.css
+file
+
+
+
+
+2012-01-23T13:07:09.805350Z
+a50d99df9d3e45f0512f6d864daf5649
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+8894
+
+BL.png
+file
+
+
+
+
+2012-01-23T13:07:09.805350Z
+a4231b4d5a11178c0fba525dda25fb6f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+711
+
+TL.png
+file
+
+
+
+
+2012-01-23T13:07:09.809350Z
+1f4f140397be1dbb145bcae5734f095b
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+680
+
+B.png
+file
+
+
+
+
+2012-01-23T13:07:09.809350Z
+954551509f3645c48aec570853450e4f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+224
+
+R.png
+file
+
+
+
+
+2012-01-23T13:07:09.809350Z
+f8750edbf62646cd98249455ad62253e
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+200
+
+BR.png
+file
+
+
+
+
+2012-01-23T13:07:09.809350Z
+8ab8a2c588326651130716977c60984b
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+716
+
+T.png
+file
+
+
+
+
+2012-01-23T13:07:09.809350Z
+7194f46d57b08c530d381e802a3ef76d
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+190
+
+TR.png
+file
+
+
+
+
+2012-01-23T13:07:09.809350Z
+76737faec786c0632029652f98a7450d
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+633
+
+L.png
+file
+
+
+
+
+2012-01-23T13:07:09.809350Z
+23fc7ee04e3dcb4f26fb87d736340c50
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+178
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/B.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/B.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/BL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/BL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/BR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/BR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/L.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/L.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/R.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/R.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/T.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/T.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/TL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/TL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/TR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/prop-base/TR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/B.png.svn-base
new file mode 100644
index 0000000..969ee2b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/B.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/BL.png.svn-base
new file mode 100644
index 0000000..71516b9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/BL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/BR.png.svn-base
new file mode 100644
index 0000000..23841ee
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/BR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/L.png.svn-base
new file mode 100644
index 0000000..c133f80
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/L.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/R.png.svn-base
new file mode 100644
index 0000000..a8a835c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/R.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/T.png.svn-base
new file mode 100644
index 0000000..89f828c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/T.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/TL.png.svn-base
new file mode 100644
index 0000000..15971a5
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/TL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/TR.png.svn-base
new file mode 100644
index 0000000..55cd077
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/TR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/shadows.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/shadows.css.svn-base
new file mode 100644
index 0000000..28c222a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/.svn/text-base/shadows.css.svn-base
@@ -0,0 +1,222 @@
+T { left: 8px; right: 6px; top: -6px; background: url("T.png") repeat-x 0 0; height: 6px; }
+B { left: 8px; right: 6px; background: url("B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+TL { left: -6px; width: 14px; top: -6px; background: url("TL.png") no-repeat 0 0; height: 15px; }
+BR { width: 16px; right: -10px; background: url("BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+R { width: 10px; right: -10px; top: 9px; background: url("R.png") repeat-y 0 0; bottom: 6px; }
+TR { width: 16px; right: -10px; top: -6px; background: url("TR.png") no-repeat 0 0; height: 15px; }
+BL { left: -6px; width: 14px; background: url("BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+L { left: -6px; width: 6px; top: 9px; background: url("L.png") repeat-y 0 0; bottom: 6px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '8px',
+ 'right' => '6px',
+ 'top' => '-6px',
+ 'background' => 'url("T.png") repeat-x 0 0',
+ 'height' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 15,
+ 'x' => 283
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 6,
+ 'x' => 16
+ },
+ 'diff' => 9,
+ 'sel' => [
+ 14,
+ 0,
+ 283,
+ 15
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '8px',
+ 'right' => '6px',
+ 'background' => 'url("B.png") repeat-x 0 0',
+ 'bottom' => '-10px',
+ 'height' => '10px'
+ },
+ 'origsize' => {
+ 'y' => 16,
+ 'x' => 283
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 10,
+ 'x' => 16
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 14,
+ 203,
+ 283,
+ 16
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-6px',
+ 'width' => '14px',
+ 'top' => '-6px',
+ 'background' => 'url("TL.png") no-repeat 0 0',
+ 'height' => '15px'
+ },
+ 'origsize' => {
+ 'y' => 15,
+ 'x' => 14
+ },
+ 'finalsize' => {
+ 'y' => 15,
+ 'x' => 14
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 14,
+ 15
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '16px',
+ 'right' => '-10px',
+ 'background' => 'url("BR.png") no-repeat 0 0',
+ 'bottom' => '-10px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'sel' => [
+ 297,
+ 203,
+ 16,
+ 16
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '10px',
+ 'right' => '-10px',
+ 'top' => '9px',
+ 'background' => 'url("R.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 188,
+ 'x' => 16
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 10
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 297,
+ 15,
+ 16,
+ 188
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '16px',
+ 'right' => '-10px',
+ 'top' => '-6px',
+ 'background' => 'url("TR.png") no-repeat 0 0',
+ 'height' => '15px'
+ },
+ 'origsize' => {
+ 'y' => 15,
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 15,
+ 'x' => 16
+ },
+ 'sel' => [
+ 297,
+ 0,
+ 16,
+ 15
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-6px',
+ 'width' => '14px',
+ 'background' => 'url("BL.png") no-repeat 0 0',
+ 'bottom' => '-10px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 16,
+ 'x' => 14
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 14
+ },
+ 'sel' => [
+ 0,
+ 203,
+ 14,
+ 16
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-6px',
+ 'width' => '6px',
+ 'top' => '9px',
+ 'background' => 'url("L.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 188,
+ 'x' => 14
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 6
+ },
+ 'diff' => 8,
+ 'sel' => [
+ 0,
+ 15,
+ 14,
+ 188
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/B.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/B.png
new file mode 100644
index 0000000..969ee2b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/B.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/BL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/BL.png
new file mode 100644
index 0000000..71516b9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/BL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/BR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/BR.png
new file mode 100644
index 0000000..23841ee
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/BR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/L.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/L.png
new file mode 100644
index 0000000..c133f80
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/L.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/R.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/R.png
new file mode 100644
index 0000000..a8a835c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/R.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/T.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/T.png
new file mode 100644
index 0000000..89f828c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/T.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/TL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/TL.png
new file mode 100644
index 0000000..15971a5
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/TL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/TR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/TR.png
new file mode 100644
index 0000000..55cd077
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/TR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/shadows.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/shadows.css
new file mode 100644
index 0000000..28c222a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/thin-shadows1/shadows.css
@@ -0,0 +1,222 @@
+T { left: 8px; right: 6px; top: -6px; background: url("T.png") repeat-x 0 0; height: 6px; }
+B { left: 8px; right: 6px; background: url("B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+TL { left: -6px; width: 14px; top: -6px; background: url("TL.png") no-repeat 0 0; height: 15px; }
+BR { width: 16px; right: -10px; background: url("BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+R { width: 10px; right: -10px; top: 9px; background: url("R.png") repeat-y 0 0; bottom: 6px; }
+TR { width: 16px; right: -10px; top: -6px; background: url("TR.png") no-repeat 0 0; height: 15px; }
+BL { left: -6px; width: 14px; background: url("BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+L { left: -6px; width: 6px; top: 9px; background: url("L.png") repeat-y 0 0; bottom: 6px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '8px',
+ 'right' => '6px',
+ 'top' => '-6px',
+ 'background' => 'url("T.png") repeat-x 0 0',
+ 'height' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 15,
+ 'x' => 283
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 6,
+ 'x' => 16
+ },
+ 'diff' => 9,
+ 'sel' => [
+ 14,
+ 0,
+ 283,
+ 15
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '8px',
+ 'right' => '6px',
+ 'background' => 'url("B.png") repeat-x 0 0',
+ 'bottom' => '-10px',
+ 'height' => '10px'
+ },
+ 'origsize' => {
+ 'y' => 16,
+ 'x' => 283
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 10,
+ 'x' => 16
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 14,
+ 203,
+ 283,
+ 16
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-6px',
+ 'width' => '14px',
+ 'top' => '-6px',
+ 'background' => 'url("TL.png") no-repeat 0 0',
+ 'height' => '15px'
+ },
+ 'origsize' => {
+ 'y' => 15,
+ 'x' => 14
+ },
+ 'finalsize' => {
+ 'y' => 15,
+ 'x' => 14
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 14,
+ 15
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '16px',
+ 'right' => '-10px',
+ 'background' => 'url("BR.png") no-repeat 0 0',
+ 'bottom' => '-10px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'sel' => [
+ 297,
+ 203,
+ 16,
+ 16
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '10px',
+ 'right' => '-10px',
+ 'top' => '9px',
+ 'background' => 'url("R.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 188,
+ 'x' => 16
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 10
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 297,
+ 15,
+ 16,
+ 188
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '16px',
+ 'right' => '-10px',
+ 'top' => '-6px',
+ 'background' => 'url("TR.png") no-repeat 0 0',
+ 'height' => '15px'
+ },
+ 'origsize' => {
+ 'y' => 15,
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 15,
+ 'x' => 16
+ },
+ 'sel' => [
+ 297,
+ 0,
+ 16,
+ 15
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-6px',
+ 'width' => '14px',
+ 'background' => 'url("BL.png") no-repeat 0 0',
+ 'bottom' => '-10px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 16,
+ 'x' => 14
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 14
+ },
+ 'sel' => [
+ 0,
+ 203,
+ 14,
+ 16
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-6px',
+ 'width' => '6px',
+ 'top' => '9px',
+ 'background' => 'url("L.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 188,
+ 'x' => 14
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 6
+ },
+ 'diff' => 8,
+ 'sel' => [
+ 0,
+ 15,
+ 14,
+ 188
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/titlebg.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/titlebg.png
new file mode 100644
index 0000000..7663f97
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/titlebg.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tmpcal.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tmpcal.gif
new file mode 100644
index 0000000..1c1934a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tmpcal.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree-drop-here-lower.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree-drop-here-lower.gif
new file mode 100644
index 0000000..4058111
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree-drop-here-lower.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree-drop-here-upper.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree-drop-here-upper.gif
new file mode 100644
index 0000000..326cf6a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree-drop-here-upper.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree-drop-here.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree-drop-here.gif
new file mode 100644
index 0000000..56f2706
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree-drop-here.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/all-wcprops
new file mode 100644
index 0000000..5c14795
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/all-wcprops
@@ -0,0 +1,59 @@
+K 25
+svn:wc:ra_dav:version-url
+V 50
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/tree
+END
+minus.gif
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/tree/minus.gif
+END
+minus-hover.gif
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/tree/minus-hover.gif
+END
+lines-v.gif
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/tree/lines-v.gif
+END
+lines-tcb.gif
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/tree/lines-tcb.gif
+END
+plus.gif
+K 25
+svn:wc:ra_dav:version-url
+V 59
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/tree/plus.gif
+END
+plus-hover.gif
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/tree/plus-hover.gif
+END
+dot.gif
+K 25
+svn:wc:ra_dav:version-url
+V 58
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/tree/dot.gif
+END
+lines-b.gif
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/tree/lines-b.gif
+END
+lines-c.gif
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/css/img/tree/lines-c.gif
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/entries
new file mode 100644
index 0000000..328eee3
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/entries
@@ -0,0 +1,334 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/css/img/tree
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+minus.gif
+file
+
+
+
+
+2012-01-23T13:07:09.821350Z
+40e656941ad6ded68c61b2a5eb253c0a
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+68
+
+minus-hover.gif
+file
+
+
+
+
+2012-01-23T13:07:09.821350Z
+c108b5d553b8dec84c89daa3066f477f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+67
+
+lines-v.gif
+file
+
+
+
+
+2012-01-23T13:07:09.821350Z
+3da87ea87c47d4942921567733974047
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+54
+
+lines-tcb.gif
+file
+
+
+
+
+2012-01-23T13:07:09.821350Z
+f122532ab6dc9ee33fd4d875e8a6231d
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+308
+
+plus.gif
+file
+
+
+
+
+2012-01-23T13:07:09.821350Z
+acfe885afb9f6d85bb70cf784a2b11be
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+67
+
+plus-hover.gif
+file
+
+
+
+
+2012-01-23T13:07:09.821350Z
+4315001e267a9fd97d62d10f5ede24c9
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+64
+
+dot.gif
+file
+
+
+
+
+2012-01-23T13:07:09.821350Z
+00ca4a7ec04a069e87d4bbc2546e7af9
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+85
+
+lines-b.gif
+file
+
+
+
+
+2012-01-23T13:07:09.821350Z
+8a6b9cef640509fb2d97f609cc303544
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+257
+
+lines-c.gif
+file
+
+
+
+
+2012-01-23T13:07:09.821350Z
+042c3ff6284ee4f20ce00aa4617b0634
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+67
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/dot.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/dot.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/dot.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/lines-b.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/lines-b.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/lines-b.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/lines-c.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/lines-c.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/lines-c.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/lines-tcb.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/lines-tcb.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/lines-tcb.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/lines-v.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/lines-v.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/lines-v.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/minus-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/minus-hover.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/minus-hover.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/minus.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/minus.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/minus.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/plus-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/plus-hover.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/plus-hover.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/plus.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/plus.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/prop-base/plus.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/dot.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/dot.gif.svn-base
new file mode 100644
index 0000000..f54ca7e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/dot.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/lines-b.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/lines-b.gif.svn-base
new file mode 100644
index 0000000..47298b0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/lines-b.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/lines-c.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/lines-c.gif.svn-base
new file mode 100644
index 0000000..93a31fc
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/lines-c.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/lines-tcb.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/lines-tcb.gif.svn-base
new file mode 100644
index 0000000..4e72ceb
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/lines-tcb.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/lines-v.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/lines-v.gif.svn-base
new file mode 100644
index 0000000..c51c866
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/lines-v.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/minus-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/minus-hover.gif.svn-base
new file mode 100644
index 0000000..7ed3baa
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/minus-hover.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/minus.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/minus.gif.svn-base
new file mode 100644
index 0000000..e4c46a0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/minus.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/plus-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/plus-hover.gif.svn-base
new file mode 100644
index 0000000..48237a1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/plus-hover.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/plus.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/plus.gif.svn-base
new file mode 100644
index 0000000..fcc4597
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/.svn/text-base/plus.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/dot.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/dot.gif
new file mode 100644
index 0000000..f54ca7e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/dot.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/lines-b.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/lines-b.gif
new file mode 100644
index 0000000..47298b0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/lines-b.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/lines-c.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/lines-c.gif
new file mode 100644
index 0000000..93a31fc
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/lines-c.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/lines-tcb.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/lines-tcb.gif
new file mode 100644
index 0000000..4e72ceb
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/lines-tcb.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/lines-v.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/lines-v.gif
new file mode 100644
index 0000000..c51c866
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/lines-v.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/minus-hover.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/minus-hover.gif
new file mode 100644
index 0000000..7ed3baa
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/minus-hover.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/minus.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/minus.gif
new file mode 100644
index 0000000..e4c46a0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/minus.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/plus-hover.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/plus-hover.gif
new file mode 100644
index 0000000..48237a1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/plus-hover.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/plus.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/plus.gif
new file mode 100644
index 0000000..fcc4597
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/img/tree/plus.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/preload-default.js b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/preload-default.js
new file mode 100644
index 0000000..bef4310
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/preload-default.js
@@ -0,0 +1,6 @@
+function DynarhLIB_preload_images() {
+ DynarchDomUtils.createElement("div", { display: "none" }, null, document.body)
+ .innerHTML = "img/radiobutton-0.png img/thin-shadows1/BL.png img/thin-shadows/R.png img/shadows/dlg-active/T.png img/shadows/dlg-inactive/R.png img/resizebar-vert2.png img/shadows/dlg-inactive/L.png img/shadows/dlg-inactive/TR.png img/shadows/dlg-inactive/B.png img/thin-shadows1/L.png img/thin-shadows/BL.png img/mark-2.gif img/spinner-up.gif img/shadows/dlg-active/BL.png img/arrows/sort-descending.gif img/busy1.gif img/thin-shadows1/T.png img/shadows/dlg-active/TR.png img/menu/rarrow.gif img/thin-shadows1/TR.png img/icons/calendar.png img/shadows/dlg-active/R.png img/arrows/scroll-up.gif img/shadows/dlg-inactive/BR.png img/arrows/nav-right-x2.gif img/tree-drop-here.gif img/thin-shadows1/B.png img/tree/lines-v.gif img/arrows/nav-left-x2.gif img/tree/plus.gif img/tree-drop-here-lower.gif img/thin-shadows/T.png img/grid-drop-col.gif img/tree/plus-hover.gif img/checkbox-1-disabled.png img/titlebg.png img/menu/darrow-small.gif img/tree/minus-hover.gif img/thin-shadows/BR.png img/arrows/sort-ascending.gif img/shadows/dlg-inactive/BL.png img/radiobutton-1.png img/thin-shadows1/TL.png img/resizebar-horiz2.png img/arrows/scroll-down-hover.gif img/icons/colors.png img/checkbox-0.png img/spinner-down.gif img/radiobutton-0-disabled.png img/thin-shadows/B.png img/arrows/scroll-up-disabled.gif img/thin-shadows/L.png img/checkbox-1.png img/shadows/dlg-active/L.png img/checkbox-2.png img/tree/lines-b.gif img/radiobutton-1-disabled.png img/thin-shadows1/BR.png img/thin-shadows/TR.png img/radiobutton-2.png img/tree-drop-here-upper.gif img/color/hue.png img/modalbg.gif img/arrows/dropdown.png img/thin-shadows1/R.png img/entry-warning.png img/shadows/dlg-active/BR.png img/dialog/buttons.png img/menu/rarrow-hover.gif img/shadows/dlg-inactive/TL.png img/shadows/dlg-active/TL.png img/icons/dynarch-small.png img/mark.gif img/arrows/scroll-down.gif img/tree/lines-c.gif img/arrows/nav-left.gif img/arrows/nav-right.gif img/tree/minus.gif img/icons/gnome-fs-chardev.png img/arrows/scroll-down-disabled.gif img/thin-shadows/TL.png img/arrows/scroll-up-hover.gif img/tmpcal.gif img/resize.gif img/shadows/dlg-inactive/T.png img/checkbox-0-disabled.png img/shadows/dlg-active/B.png".qw().map(function(img){
+ return "<img src='" + Dynarch.getFileURL("css/" + img) + "' />";
+ }).join("");
+};
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/uploadentry.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/uploadentry.css
new file mode 100644
index 0000000..9322203
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/css/uploadentry.css
@@ -0,0 +1,21 @@
+body { background-color: transparent; margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+form, input { font: 12px Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif; height: 22px; width: 80px; }
+form { margin: 0; padding: 0; }
+
+.upload {
+ display: block;
+ background: url("img/btn-choose-file.gif") no-repeat 0 50%;
+ overflow: hidden;
+ cursor: pointer;
+ width: 80px;
+ height: 22px;
+ position: relative;
+}
+.upload input {
+ opacity: 0; filter: alpha(opacity=0); -moz-opacity: 0;
+ position: absolute;
+ cursor: pointer;
+ height: 100%;
+ width: auto;
+}
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/.svn/all-wcprops
new file mode 100644
index 0000000..926529b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/.svn/all-wcprops
@@ -0,0 +1,5 @@
+K 25
+svn:wc:ra_dav:version-url
+V 48
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/deprecated
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/.svn/entries
new file mode 100644
index 0000000..9561b82
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/.svn/entries
@@ -0,0 +1,34 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/deprecated
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+css
+dir
+
+js
+dir
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/css/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/css/.svn/all-wcprops
new file mode 100644
index 0000000..98a12ac
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/css/.svn/all-wcprops
@@ -0,0 +1,11 @@
+K 25
+svn:wc:ra_dav:version-url
+V 52
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/deprecated/css
+END
+dlgrid.css
+K 25
+svn:wc:ra_dav:version-url
+V 63
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/deprecated/css/dlgrid.css
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/css/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/css/.svn/entries
new file mode 100644
index 0000000..8a0c2b4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/css/.svn/entries
@@ -0,0 +1,62 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/deprecated/css
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+dlgrid.css
+file
+
+
+
+
+2012-01-23T13:07:09.425349Z
+5f2baa7c905b435bd87decb3beb07ca5
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1843
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/css/.svn/text-base/dlgrid.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/css/.svn/text-base/dlgrid.css.svn-base
new file mode 100644
index 0000000..d9a37a7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/css/.svn/text-base/dlgrid.css.svn-base
@@ -0,0 +1,33 @@
+.DlGrid { position: relative; background-color: #f8f0ff; border: 1px solid #659; }
+.DlGrid-Table { table-layout: fixed; }
+.DlGrid-Table td { overflow: hidden; }
+.DlGrid-Headers { overflow: hidden; background-color: #cbe; position: relative; width: 5px; }
+.DlGrid-Body { overflow: auto; }
+.DlGrid-cellData { overflow: hidden; padding: 2px 5px; white-space: nowrap; }
+
+.DlGrid-Body .DlGrid-Table { border-collapse: collapse; }
+.DlGrid-Body .DlGrid-Table td { border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; }
+
+.DlGrid-Handles { position: absolute; left: 0; top: 0; white-space: nowrap; overflow: visible; width: 10000px; height: 1px; }
+.DlGrid-resizeHandle { width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ background-color: #000; filter: alpha(opacity=1); opacity: 0.01; /**/
+}
+
+.DlGrid-align-left { text-align: left; }
+.DlGrid-align-center { text-align: center; }
+.DlGrid-align-right { text-align: right; }
+
+.DlGridRow-focus .DlGrid-cellData { padding: 1px 5px; border-top: 1px dotted #000; border-bottom: 1px dotted #000; }
+.DlGridRow-focus td { background-color: #e8e0ff; color: #54a; }
+.DlGridRow-hover { background-color: #e8e0ee; }
+.DlGridRow-1 td { background-color: #76c; color: #fff; }
+.DlGridRow-active td { background-color: #98e; color: #fff; }
+
+.DlGridHeadLabel-sort-up .DlButton-inner { background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%; }
+.DlGridHeadLabel-sort-down .DlButton-inner { background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%; }
+.DlGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/css/dlgrid.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/css/dlgrid.css
new file mode 100644
index 0000000..d9a37a7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/css/dlgrid.css
@@ -0,0 +1,33 @@
+.DlGrid { position: relative; background-color: #f8f0ff; border: 1px solid #659; }
+.DlGrid-Table { table-layout: fixed; }
+.DlGrid-Table td { overflow: hidden; }
+.DlGrid-Headers { overflow: hidden; background-color: #cbe; position: relative; width: 5px; }
+.DlGrid-Body { overflow: auto; }
+.DlGrid-cellData { overflow: hidden; padding: 2px 5px; white-space: nowrap; }
+
+.DlGrid-Body .DlGrid-Table { border-collapse: collapse; }
+.DlGrid-Body .DlGrid-Table td { border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; }
+
+.DlGrid-Handles { position: absolute; left: 0; top: 0; white-space: nowrap; overflow: visible; width: 10000px; height: 1px; }
+.DlGrid-resizeHandle { width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ background-color: #000; filter: alpha(opacity=1); opacity: 0.01; /**/
+}
+
+.DlGrid-align-left { text-align: left; }
+.DlGrid-align-center { text-align: center; }
+.DlGrid-align-right { text-align: right; }
+
+.DlGridRow-focus .DlGrid-cellData { padding: 1px 5px; border-top: 1px dotted #000; border-bottom: 1px dotted #000; }
+.DlGridRow-focus td { background-color: #e8e0ff; color: #54a; }
+.DlGridRow-hover { background-color: #e8e0ee; }
+.DlGridRow-1 td { background-color: #76c; color: #fff; }
+.DlGridRow-active td { background-color: #98e; color: #fff; }
+
+.DlGridHeadLabel-sort-up .DlButton-inner { background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%; }
+.DlGridHeadLabel-sort-down .DlButton-inner { background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%; }
+.DlGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/.svn/all-wcprops
new file mode 100644
index 0000000..d655ca4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/.svn/all-wcprops
@@ -0,0 +1,17 @@
+K 25
+svn:wc:ra_dav:version-url
+V 51
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/deprecated/js
+END
+grid.js
+K 25
+svn:wc:ra_dav:version-url
+V 59
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/deprecated/js/grid.js
+END
+gridmodel.js
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/deprecated/js/gridmodel.js
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/.svn/entries
new file mode 100644
index 0000000..20db888
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/.svn/entries
@@ -0,0 +1,96 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/deprecated/js
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+grid.js
+file
+
+
+
+
+2012-01-23T13:07:09.429349Z
+75478a0ae2feef60c92dabdaf01cf368
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+10599
+
+gridmodel.js
+file
+
+
+
+
+2012-01-23T13:07:09.429349Z
+5e9188bcc3ac076195474a08c91a84f0
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+6805
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/.svn/text-base/grid.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/.svn/text-base/grid.js.svn-base
new file mode 100644
index 0000000..121c7db
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/.svn/text-base/grid.js.svn-base
@@ -0,0 +1,2 @@
+// @require container.js
+(function(){var BASE=DlGrid.inherits(DlContainer);function DlGrid(args){args&&(D.setDefaults(this,args),typeof this._rowType=="string"&&(this._rowType=eval(this._rowType)),this._rowType||(this._rowType=DlGridRow),typeof this._headType=="string"&&(this._headType=eval(this._headType)),this._headType||(this._headType=DlGridHeadLabel),DlContainer.call(this,args))}eval(Dynarch.EXPORT("DlGrid",true));var MIN_COL_WID=20;D.DEFAULT_ARGS={_model:["model",null],_selType:["selType","row"],_rowType:["rowType",null],_headType:["headType",null]};var SO=DOM.setOuterSize,SI=DOM.setInnerSize,HTML=String.buffer("<div class='DlGrid-Headers'>","<table class='DlGrid-Table' cellspacing='0' cellpadding='0'>","<tbody><tr></tr></tbody></table></div>","<div class='DlGrid-Body'>","<table class='DlGrid-Table' cellspacing='0' cellpadding='0'>","<tbody></tbody></table></div>").get();function onBodyScroll(){this.getHeaderDiv().scrollLeft=this.getBodyDiv().scrollLeft}P._createElement=function(){BASE._createElement.call(this),this._rowsGroup=DlRadioGroup.get(),this.setContent(HTML),this.getBodyDiv().onscroll=onBodyScroll.$(this),this._initHeaders(),this._initBody()},P.getGroup=function(){return this._rowsGroup},P.getHeaderDiv=function(){return this.getElement().firstChild},P.getHandlesDiv=function(){var a=this.getHeaderDiv().childNodes[1];a||(a=CE("div",null,{className:"DlGrid-Handles"},this.getHeaderDiv()),this._resizeCaptures={onMouseMove:doResize.$(this),onMouseUp:stopResize.$(this),onMouseOver:DlException.stopEventBubbling,onMouseOut:DlException.stopEventBubbling,onMouseEnter:DlException.stopEventBubbling,onMouseLeave:DlException.stopEventBubbling});return a},P.getHeaderRow=function(){return this.getHeaderDiv().firstChild.rows[0]},P.getBodyDiv=function(){return this.getElement().childNodes[1]},P.getBodyTable=function(){return this.getBodyDiv().firstChild},P._onHeadClick=function(){},P._appendWidgetElement=function(a,b){if(a instanceof this._rowType){var c=this.getBodyTable();if(b!=null){var d=c.rows[b];d?d.parentNode.insertBefore(a.getElement(),d):c.firstChild.appendChild(a.getElement())}else c.firstChild.appendChild(a.getElement())}else BASE._appendWidgetElement.apply(this,arguments)},P._initHeaders=function(){var a=this._onHeadClick.$(this);this._model.foreachCol(function(b){var c=document.createElement("td");this.getHeaderRow().appendChild(c);var d=this._makeHeadLabel({parent:this,appendArgs:c,iconClass:b.getIconClass(),label:b.getLabel(),column:b,className:"DlGrid-align-"+b.getStyle("textAlign","left"),tooltip:b.tooltip});b._button=d,d.addEventListener("onClick",a)},this)},P._makeRow=function(a){return new this._rowType(a)},P._makeHeadLabel=function(a){return new this._headType(a)},P._initBody=function(){this._model.foreachRow(function(a){a=this._makeRow({parent:this,group:this._rowsGroup,value:a.id,model:a})},this),this._model.addEventListener({onInsertRow:this._insertRow.$(this),onDeleteRow:this._deleteRow.$(this),onSort:this._sort.$(this)})},P._insertRow=function(a){var b=a.getIndex();a=this._makeRow({parent:this,group:this._rowsGroup,value:a.id,model:a,appendArgs:b});for(var c=a.getElement().cells,d=this.getHeaderRow().cells,e=c.length;--e>=0;){var f=c[e],g=d[e].offsetWidth;SO(f.firstChild,g,null),SI(f,g,null)}},P._deleteRow=function(a){var b=a.getIndex();a=this.getRowByIndex(b),a.destroy()},P._sort=function(a,b,c,d){b&&(b._button.delClass("DlGridHeadLabel-sort-up"),b._button.delClass("DlGridHeadLabel-sort-down"));if(a){a._button.condClass(c,"DlGridHeadLabel-sort-down","DlGridHeadLabel-sort-up");var e=this.getBodyTable(),f=e.firstChild,g=e.rows;d=d.map(function(a){return g[a]}),d.foreach(function(a){f.appendChild(a)})}},P.__doLayout=function(){var a=this.getInnerSize(),b=this.getBodyDiv(),c=this.getHeaderDiv();SO(b,a.x,a.y-c.offsetHeight),SO(c,a.x,null),c.style.marginRight=-DOM.getScrollbarSize(b).x+"px",this.__hasLayout?this._updateFillCols():(this._initColSizes(),this.__hasLayout=true,this.getBodyTable().style.width=""),onBodyScroll.call(this)},P.getRowByIndex=function(a){try{return DlWidget.getFromElement(this.getBodyTable().rows[a])}catch(a){}},P.getRowById=function(a){return this.getRowByIndex(this._model.getRowById(a).getIndex())},P.getActualColWidth=function(a){return this.getHeaderRow().cells[a].offsetWidth},P._initColSizes=function(){var a=this.getHeaderDiv().offsetHeight+"px",b=0,c=this.getInnerSize().x-DOM.getScrollbarSize(this.getBodyDiv()).x;this._fillCols=[],this._model.foreachCol(function(a){a.fill?this._fillCols.push(a):b+=a.width||this.getActualColWidth(a.getIndex())},this);var d=c-b;b=0;function e(c){var e=c.fill?Math.floor(d*c.fill):c.width||this.getActualColWidth(c.getIndex());e=this.setColSize(c,e,true),b+=e;if(c.isResizable&&!c._resizeHandle){var f=CE("div",{left:b+"px",height:a},{className:"DlGrid-resizeHandle"},this.getHandlesDiv());is_ie&&DOM.setUnselectable(f,true),f.dl_resizeCol=c,c._resizeHandle=f,f.onmousedown=startResize.$(this,f,c)}}this._model.foreachCol(e,this)},P.setColSize=function(a,b,c){var d=a._button;if(b!=null){d.setOuterSize({x:b});var e=d.getElement().parentNode;SO(e,b,null)}var f=this.getBodyTable().rows[0];b=d.getOuterSize().x,a=a.getIndex(),Array.$(this.getBodyTable().rows).foreach(function(c){c&&(e=c.cells[a],SO(e.firstChild,b,null),SI(e,b,null))}),onBodyScroll.call(this),c||this._updateResizeHandles();return b},P._updateFillCols=function(a){if(a==null){var b=this.getBodyDiv();a=this.getHeaderRow().offsetWidth-b.offsetWidth+DOM.getScrollbarSize(b).x}this._fillCols.foreach(function(b){var c=this.getActualColWidth(b.getIndex());c-=Math.round(b.fill*a),this.setColSize(b,c)},this)},P._updateResizeHandles=function(){this._model.foreachCol(function(a){if(a._resizeHandle){var b=a._button.getElement().parentNode;a._resizeHandle.style.left=b.offsetLeft+b.offsetWidth+"px"}})},P._handle_focusKeys=function(a){var b=this.getGroup(),c=a.focusedWidget;switch(a.keyCode){case DlKeyboard.ARROW_UP:case DlKeyboard.ARROW_DOWN:case DlKeyboard.PAGE_UP:case DlKeyboard.PAGE_DOWN:var d=a.keyCode==DlKeyboard.ARROW_UP||a.keyCode==DlKeyboard.PAGE_UP?this.getPrevRow(c):this.getNextRow(c);d?(d.focus(),a.shiftKey&&this._selType=="multiple"?(b.maxChecked(null),c.checked(true),d.checked(true)):this._selType!="multiple"&&(b.maxChecked(1),d.checked(true))):(a.shiftKey||a.ctrlKey)&&c.checked(true),a.domStop=true,DlException.stopEventBubbling();break;case DlKeyboard.HOME:case DlKeyboard.END:var d=a.keyCode==DlKeyboard.HOME?this.getRowByIndex(0):this.getRowByIndex(this.getBodyTable().rows.length-1);d&&(d.focus(),a.domStop=true,this._selType!="multiple"&&(a.keyCode=DlKeyboard.ENTER,d._handle_focusKeys(a)),DlException.stopEventBubbling())}return BASE._handle_focusKeys.call(this,a)};function startResize(a,b,c){c||(c=window.event);var d=a.offsetLeft,e=DlResizeBar.getDragBar(),f=e.style;f.left=d-this.getBodyDiv().scrollLeft+1+"px",f.height="100%",f.width=a.offsetWidth-2+"px",f.top="0px",this.getElement().appendChild(e);var g=DlDialog.activateEventStopper(true);DOM.addClass(g,"CURSOR-RESIZE-E"),DlEvent.captureGlobals(this._resizeCaptures);var h=new DlEvent(c);this._resize={div:a,col:b,pos:d,orig:this.getActualColWidth(b.getIndex()),mouse:h.pos.x},DOM.stopEvent(c)}function doResize(a){var b=DlResizeBar.getDragBar(),c=this._resize.pos+a.pos.x-this._resize.mouse,d=c-this._resize.pos,e=this._resize.orig+d;e<MIN_COL_WID&&(c+=MIN_COL_WID-e,e=MIN_COL_WID),c-=this.getBodyDiv().scrollLeft,b.style.left=c+1+"px"}function stopResize(a){var b=this._resize.pos+a.pos.x-this._resize.mouse,c=b-this._resize.pos,d=this._resize.orig+c;d<MIN_COL_WID&&(b+=MIN_COL_WID-d,d=MIN_COL_WID),c=d-this._resize.orig,this.setColSize(this._resize.col,d),this._updateFillCols(c),this.getElement().removeChild(DlResizeBar.getDragBar()),DlEvent.releaseGlobals(this._resizeCaptures);var e=DlDialog.activateEventStopper(false);DOM.delClass(e,"CURSOR-RESIZE-E")}P.getNextRow=function(a){return this.getRowByIndex(a.getModel().getIndex()+1)},P.getPrevRow=function(a){return this.getRowByIndex(a.getModel().getIndex()-1)}})(),function(){var BASE=DlGridRow.inherits(DlAbstractButton);function DlGridRow(a){a&&(this._customMoveKeys=true,D.setDefaults(this,a),DlAbstractButton.call(this,a))}eval(Dynarch.EXPORT("DlGridRow",true)),D.DEFAULT_ARGS={_tagName:["tagName","tr"],_classes:["classes",{active:"DlGridRow-active",hover:"DlGridRow-hover",checked:"DlGridRow-1",unchecked:"DlGridRow-0",empty:"DlGridRow-empty",disabled:"DlGridRow-disabled"}],_btnType:["type",DlButton.TYPE.TWOSTATE],_model:["model",null],_focusable:["focusable",true],__tooltip:["tooltip",getTooltip]};function getTooltip(){var a=this.args.widget;return a.getModel().tooltip}P.getModel=function(){return this._model};function onDestroy(){this._model.removeEventListener("onChange",this._on_modelChange)}P._onClick=function(a){this.parent.getGroup().maxChecked(a.ctrlKey&&this.parent._selType=="multiple"?null:1),BASE._onClick.call(this,a)},P._handle_focusKeys=function(a){var b=this.parent,c=b.getGroup();if(a.keyCode==DlKeyboard.ENTER)c.maxChecked(a.shiftKey||a.ctrlKey&&b._selType=="multiple"?null:1),this.applyHooks("onClick",[a]),a.domStop=true;else return BASE._handle_focusKeys.call(this,a)},P._createElement=function(){DlWidget.prototype._createElement.call(this);var a=this.getElement();this._model.foreachCell(function(b,c){var d=CE("td",null,null,a);displayCell(d,b,c)},this),this._on_modelChange=this._on_modelChange.$(this),this._model.addEventListener("onChange",this._on_modelChange),this.addEventListener("onDestroy",onDestroy)},P._on_modelChange=function(a,b,c,d){switch(c){case"value":displayCell(this.getElement().cells[b.getIndex()],b,this._model.model.getColByIndex(b.getIndex()))}};function displayCell(a,b,c){a.firstChild?a.firstChild.innerHTML=b.getContent():a.innerHTML="<div class=\"DlGrid-cellData\">"+b.getContent()+"</div>",a.className="DlGrid-align-"+b.getStyle("textAlign",c.getStyle("textAlign","left"))}}(),function(){var BASE=DlGridHeadLabel.inherits(DlButton);function DlGridHeadLabel(a){a&&(this.column=a.column,a.focusable=false,this.__withIconClass="DlButton-withIcon",DlButton.call(this,a),this.column.isSortable||(this.__disabled=true))}eval(Dynarch.EXPORT("DlGridHeadLabel")),P.setWidth=function(a){this.setOuterSize({x:a})},P.label=function(a){this.setContent("<div class='DlButton-Label'>"+this._label+"</div>")},P._onClick=function(){this.column.sort()},D.DEFAULT_ARGS={_classes:["classes",{active:"DlGridHeadLabel-active",hover:"DlGridHeadLabel-hover",checked:"DlGridHeadLabel-1",unchecked:"DlGridHeadLabel-0",empty:"DlGridHeadLabel-empty",disabled:"DlGridHeadLabel-disabled"}]}}() \ No newline at end of file
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/.svn/text-base/gridmodel.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/.svn/text-base/gridmodel.js.svn-base
new file mode 100644
index 0000000..44e952e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/.svn/text-base/gridmodel.js.svn-base
@@ -0,0 +1,3 @@
+// @require eventproxy.js
+// cell model
+(function(){DlGridCellModel.inherits(DlEventProxy);function DlGridCellModel(a){arguments.length>0&&(DlEventProxy.call(this),typeof a!="object"&&(a={value:a}),DlGridCellModel.setDefaults(this,a),this.registerEvents(DEFAULT_EVENTS))}eval(Dynarch.EXPORT("DlGridCellModel"));var DEFAULT_EVENTS=["onChange"];D.DEFAULT_ARGS={_value:["value",null],_style:["style",{}]},P.setValue=function(a){var b=this._value;this._value=a,this.applyHooks("onChange",[this,"value",a,b])},P.getContent=function(){return this._value},P.getStyle=function(a,b){if(a in this._style)return this._style[a];return b},P.getIndex=function(){return this.index},P.getId=function(){return this.model.getColByIndex(this.index).id},P.setStyle=function(a,b){var c=this._style[a];this._style[a]=b,this.applyHooks("onChange",[this,"style",b,c,a])},P.compareTo=function(a){return this._value<a._value?-1:this._value>a._value?1:0}})(),function(){DlGridColModel.inherits(DlEventProxy);function DlGridColModel(args){arguments.length>0&&(DlEventProxy.call(this),DlGridColModel.setDefaults(this,args),this.registerEvents(DEFAULT_EVENTS),typeof this._cellType=="string"&&(this._cellType=eval(this._cellType)))}eval(Dynarch.EXPORT("DlGridColModel"));var DEFAULT_EVENTS=["onChange"];D.DEFAULT_ARGS={width:["width",null],fill:["fill",false],_label:["label",null],id:["id",null],_cellType:["cellType",DlGridCellModel],isResizable:["resizable",false],isScrollable:["scrollable",true],isSortable:["sortable",true],tooltip:["tooltip",null],_style:["style",{}],_iconClass:["iconClass",null]},P.getId=function(){return this.id},P.getIndex=function(){return this.index},P.getIconClass=function(){return this._iconClass},P.setIconClass=function(a){var b=this._iconClass;this._iconClass=a,this.applyHooks("onChange",[this,"iconClass",val,b])},P.getLabel=function(){return this._label},P.setLabel=function(a){var b=this._label;this._label=a,this.applyHooks("onChange",[this,"label",val,b])},P.getCellType=function(){return this._cellType},P.createCell=function(a){var b=new this._cellType(a);return b},P.getStyle=function(a,b){if(a in this._style)return this._style[a];return b},P.setStyle=function(a,b){var c=this._style[a];this._style[a]=b,this.applyHooks("onChange",[this,"style",b,c,a])},P.sort=function(){this.model.sort(this)},P.compareRows=function(a,b){var c=this.getIndex();a=a.getCellByIndex(c),b=b.getCellByIndex(c);return a.compareTo(b)}}(),function(){DlGridRowModel.inherits(DlEventProxy);function DlGridRowModel(a){if(arguments.length>0){if(a instanceof Array){var b={id:a.id,model:a.model,cells:{}};a.model.foreachCol(function(c,d){b.cells[c.getId()]=a[d]}),a=b}DlEventProxy.call(this),D.setDefaults(this,a),this.registerEvents(DEFAULT_EVENTS),this._init()}}eval(Dynarch.EXPORT("DlGridRowModel"));var DEFAULT_EVENTS=["onChange"];D.DEFAULT_ARGS={id:["id",null],userData:["data",null],_cells:["cells",null],_model:["model",null],tooltip:["tooltip",null]},P.reset=function(a){this.id=a.id,this.userData=a.data,this.tooltip=a.tooltip,this.foreachCell(function(b,c){b.setValue(a.cells[c.getId()])})},P.getId=function(){return this.id},P.getIndex=function(){return this.index},P.getCells=function(){return this._cells},P.getCellByIndex=function(a){return this._cells[this.model.getColByIndex(a).getId()]},P.foreachCell=function(a,b){this.model.foreachCol(function(c,d){var e=this._cells[c.getId()];a.apply(b,[e,c,d])},this)},P._onCellChange=function(a,b,c,d){this.applyHooks("onChange",[this,a,b,c,d])},P._init=function(){var a=this._model,b=this._cells;this.model=a,delete this._model;var c=this._onCellChange.$(this);for(var d in b){var e=b[d],f=a.getColById(d);e=b[d]=f.createCell(e),e.model=a,e.colId=d,e.index=f.getIndex(),e.parent=this,e.addEventListener("onChange",c)}}}(),function(){DlGridModel.inherits(DlEventProxy);function DlGridModel(a){arguments.length>0&&(DlEventProxy.call(this),DlGridModel.setDefaults(this,a),this.registerEvents(DEFAULT_EVENTS),this._init())}eval(Dynarch.EXPORT("DlGridModel"));var DEFAULT_EVENTS=["onInsertRow","onDeleteRow","onInsertCol","onInsertCol","onMoveRow","onMoveCol","onRowChange","onColChange","onSort"];D.DEFAULT_ARGS={_rows:["rows",[]],_cols:["cols",null]},P.getRowById=function(a){return this._rowsById[a]},P.getRowByIndex=function(a){return this._rows[a]},P.foreachRow=function(){return this._rows.foreach.apply(this._rows,arguments)},P.foreachCol=function(){return this._cols.foreach.apply(this._cols,arguments)},P.getColById=function(a){return this._colsById[a]},P.getColByIndex=function(a){return this._cols[a]},P._init=function(){this.__sortCol=null,this.__sortDesc=false;var a=this._colsById={},b=this._rowsById={};this._onRowChange=this._onColChange.$(this),this._onRowChange=this._onRowChange.$(this),this._cols.r_assign_each(function(b,c){c=new DlGridColModel(c),c.model=this,c.index=b,c.addEventListener("onChange",this._onColChange),c.id&&(a[c.id]=c);return c},this),this._rows.r_assign_each(function(a,c){c.model=this,c=new DlGridRowModel(c),c.index=a,c.addEventListener("onChange",this._onRowChange),c.id&&(b[c.id]=c);return c},this)},P._onColChange=function(a,b,c,d){this.applyHooks("onColChange",[this,a,b,c,d])},P._onRowChange=function(a,b,c,d,e){this.applyHooks("onRowChange",[this,a,b,c,d,e])},P._getInsertPos=function(a){var b=this.__sortCol;return this._rows.foreach(function(c,d){var e=b.compareRows(c,a);this.__sortDesc&&(e=-e),e>=0&&$RETURN(d)},this)},P.insertRow=function(a,b){a.model=this,a=new DlGridRowModel(a);var c=this._rows,d=c.length;if(b==null||b==-1)b=this.__sortCol?this._getInsertPos(a):d;c.splice(b,0,a),++d;for(var e=b;e<d;++e)c[e].index=e;a.addEventListener("onChange",this._onRowChange),a.id&&(this._rowsById[a.id]=a),this.applyHooks("onInsertRow",[a]);return a},P.deleteRowById=function(a){this.deleteRowByIndex(this.getRowById(a).getIndex())},P.deleteRowByIndex=function(a){var b=this._rows,c=b[a];c.id&&delete this._rowsById[c.id],b.splice(a,1);for(var d=a;d<b.length;++d)b[d].index=d;c.removeEventListener("onChange",this._onRowChange),this.applyHooks("onDeleteRow",[c]),c.destroy();return c},P.setValues=function(a){this.__sortDesc=false,this.applyHooks("onSort",[null,this.__sortCol]),a.foreach(function(a,b){a instanceof Array&&(a={cells:a});var c=this.getRowByIndex(b);c?(c.id&&delete this._rowsById[c.id],a.id&&(this._rowsById[a.id]=c),c.reset(a)):this.insertRow(a,this._rows.length)},this);while(a.length<this._rows.length)this.deleteRowByIndex(this._rows.length-1)},P.sort=function(a){var b=this.__sortCol;b===a?this.__sortDesc=!this.__sortDesc:this.__sortDesc=false,this.__sortCol=a;var c=a.getIndex();this._rows=this._rows.mergeSort(function(b,c){return a.compareRows(b,c)},this.__sortDesc);var d=this._rows.map(function(a,b){var c=a.index;a.index=b;return c});this.applyHooks("onSort",[a,b,this.__sortDesc,d])}}() \ No newline at end of file
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/grid.js b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/grid.js
new file mode 100644
index 0000000..121c7db
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/grid.js
@@ -0,0 +1,2 @@
+// @require container.js
+(function(){var BASE=DlGrid.inherits(DlContainer);function DlGrid(args){args&&(D.setDefaults(this,args),typeof this._rowType=="string"&&(this._rowType=eval(this._rowType)),this._rowType||(this._rowType=DlGridRow),typeof this._headType=="string"&&(this._headType=eval(this._headType)),this._headType||(this._headType=DlGridHeadLabel),DlContainer.call(this,args))}eval(Dynarch.EXPORT("DlGrid",true));var MIN_COL_WID=20;D.DEFAULT_ARGS={_model:["model",null],_selType:["selType","row"],_rowType:["rowType",null],_headType:["headType",null]};var SO=DOM.setOuterSize,SI=DOM.setInnerSize,HTML=String.buffer("<div class='DlGrid-Headers'>","<table class='DlGrid-Table' cellspacing='0' cellpadding='0'>","<tbody><tr></tr></tbody></table></div>","<div class='DlGrid-Body'>","<table class='DlGrid-Table' cellspacing='0' cellpadding='0'>","<tbody></tbody></table></div>").get();function onBodyScroll(){this.getHeaderDiv().scrollLeft=this.getBodyDiv().scrollLeft}P._createElement=function(){BASE._createElement.call(this),this._rowsGroup=DlRadioGroup.get(),this.setContent(HTML),this.getBodyDiv().onscroll=onBodyScroll.$(this),this._initHeaders(),this._initBody()},P.getGroup=function(){return this._rowsGroup},P.getHeaderDiv=function(){return this.getElement().firstChild},P.getHandlesDiv=function(){var a=this.getHeaderDiv().childNodes[1];a||(a=CE("div",null,{className:"DlGrid-Handles"},this.getHeaderDiv()),this._resizeCaptures={onMouseMove:doResize.$(this),onMouseUp:stopResize.$(this),onMouseOver:DlException.stopEventBubbling,onMouseOut:DlException.stopEventBubbling,onMouseEnter:DlException.stopEventBubbling,onMouseLeave:DlException.stopEventBubbling});return a},P.getHeaderRow=function(){return this.getHeaderDiv().firstChild.rows[0]},P.getBodyDiv=function(){return this.getElement().childNodes[1]},P.getBodyTable=function(){return this.getBodyDiv().firstChild},P._onHeadClick=function(){},P._appendWidgetElement=function(a,b){if(a instanceof this._rowType){var c=this.getBodyTable();if(b!=null){var d=c.rows[b];d?d.parentNode.insertBefore(a.getElement(),d):c.firstChild.appendChild(a.getElement())}else c.firstChild.appendChild(a.getElement())}else BASE._appendWidgetElement.apply(this,arguments)},P._initHeaders=function(){var a=this._onHeadClick.$(this);this._model.foreachCol(function(b){var c=document.createElement("td");this.getHeaderRow().appendChild(c);var d=this._makeHeadLabel({parent:this,appendArgs:c,iconClass:b.getIconClass(),label:b.getLabel(),column:b,className:"DlGrid-align-"+b.getStyle("textAlign","left"),tooltip:b.tooltip});b._button=d,d.addEventListener("onClick",a)},this)},P._makeRow=function(a){return new this._rowType(a)},P._makeHeadLabel=function(a){return new this._headType(a)},P._initBody=function(){this._model.foreachRow(function(a){a=this._makeRow({parent:this,group:this._rowsGroup,value:a.id,model:a})},this),this._model.addEventListener({onInsertRow:this._insertRow.$(this),onDeleteRow:this._deleteRow.$(this),onSort:this._sort.$(this)})},P._insertRow=function(a){var b=a.getIndex();a=this._makeRow({parent:this,group:this._rowsGroup,value:a.id,model:a,appendArgs:b});for(var c=a.getElement().cells,d=this.getHeaderRow().cells,e=c.length;--e>=0;){var f=c[e],g=d[e].offsetWidth;SO(f.firstChild,g,null),SI(f,g,null)}},P._deleteRow=function(a){var b=a.getIndex();a=this.getRowByIndex(b),a.destroy()},P._sort=function(a,b,c,d){b&&(b._button.delClass("DlGridHeadLabel-sort-up"),b._button.delClass("DlGridHeadLabel-sort-down"));if(a){a._button.condClass(c,"DlGridHeadLabel-sort-down","DlGridHeadLabel-sort-up");var e=this.getBodyTable(),f=e.firstChild,g=e.rows;d=d.map(function(a){return g[a]}),d.foreach(function(a){f.appendChild(a)})}},P.__doLayout=function(){var a=this.getInnerSize(),b=this.getBodyDiv(),c=this.getHeaderDiv();SO(b,a.x,a.y-c.offsetHeight),SO(c,a.x,null),c.style.marginRight=-DOM.getScrollbarSize(b).x+"px",this.__hasLayout?this._updateFillCols():(this._initColSizes(),this.__hasLayout=true,this.getBodyTable().style.width=""),onBodyScroll.call(this)},P.getRowByIndex=function(a){try{return DlWidget.getFromElement(this.getBodyTable().rows[a])}catch(a){}},P.getRowById=function(a){return this.getRowByIndex(this._model.getRowById(a).getIndex())},P.getActualColWidth=function(a){return this.getHeaderRow().cells[a].offsetWidth},P._initColSizes=function(){var a=this.getHeaderDiv().offsetHeight+"px",b=0,c=this.getInnerSize().x-DOM.getScrollbarSize(this.getBodyDiv()).x;this._fillCols=[],this._model.foreachCol(function(a){a.fill?this._fillCols.push(a):b+=a.width||this.getActualColWidth(a.getIndex())},this);var d=c-b;b=0;function e(c){var e=c.fill?Math.floor(d*c.fill):c.width||this.getActualColWidth(c.getIndex());e=this.setColSize(c,e,true),b+=e;if(c.isResizable&&!c._resizeHandle){var f=CE("div",{left:b+"px",height:a},{className:"DlGrid-resizeHandle"},this.getHandlesDiv());is_ie&&DOM.setUnselectable(f,true),f.dl_resizeCol=c,c._resizeHandle=f,f.onmousedown=startResize.$(this,f,c)}}this._model.foreachCol(e,this)},P.setColSize=function(a,b,c){var d=a._button;if(b!=null){d.setOuterSize({x:b});var e=d.getElement().parentNode;SO(e,b,null)}var f=this.getBodyTable().rows[0];b=d.getOuterSize().x,a=a.getIndex(),Array.$(this.getBodyTable().rows).foreach(function(c){c&&(e=c.cells[a],SO(e.firstChild,b,null),SI(e,b,null))}),onBodyScroll.call(this),c||this._updateResizeHandles();return b},P._updateFillCols=function(a){if(a==null){var b=this.getBodyDiv();a=this.getHeaderRow().offsetWidth-b.offsetWidth+DOM.getScrollbarSize(b).x}this._fillCols.foreach(function(b){var c=this.getActualColWidth(b.getIndex());c-=Math.round(b.fill*a),this.setColSize(b,c)},this)},P._updateResizeHandles=function(){this._model.foreachCol(function(a){if(a._resizeHandle){var b=a._button.getElement().parentNode;a._resizeHandle.style.left=b.offsetLeft+b.offsetWidth+"px"}})},P._handle_focusKeys=function(a){var b=this.getGroup(),c=a.focusedWidget;switch(a.keyCode){case DlKeyboard.ARROW_UP:case DlKeyboard.ARROW_DOWN:case DlKeyboard.PAGE_UP:case DlKeyboard.PAGE_DOWN:var d=a.keyCode==DlKeyboard.ARROW_UP||a.keyCode==DlKeyboard.PAGE_UP?this.getPrevRow(c):this.getNextRow(c);d?(d.focus(),a.shiftKey&&this._selType=="multiple"?(b.maxChecked(null),c.checked(true),d.checked(true)):this._selType!="multiple"&&(b.maxChecked(1),d.checked(true))):(a.shiftKey||a.ctrlKey)&&c.checked(true),a.domStop=true,DlException.stopEventBubbling();break;case DlKeyboard.HOME:case DlKeyboard.END:var d=a.keyCode==DlKeyboard.HOME?this.getRowByIndex(0):this.getRowByIndex(this.getBodyTable().rows.length-1);d&&(d.focus(),a.domStop=true,this._selType!="multiple"&&(a.keyCode=DlKeyboard.ENTER,d._handle_focusKeys(a)),DlException.stopEventBubbling())}return BASE._handle_focusKeys.call(this,a)};function startResize(a,b,c){c||(c=window.event);var d=a.offsetLeft,e=DlResizeBar.getDragBar(),f=e.style;f.left=d-this.getBodyDiv().scrollLeft+1+"px",f.height="100%",f.width=a.offsetWidth-2+"px",f.top="0px",this.getElement().appendChild(e);var g=DlDialog.activateEventStopper(true);DOM.addClass(g,"CURSOR-RESIZE-E"),DlEvent.captureGlobals(this._resizeCaptures);var h=new DlEvent(c);this._resize={div:a,col:b,pos:d,orig:this.getActualColWidth(b.getIndex()),mouse:h.pos.x},DOM.stopEvent(c)}function doResize(a){var b=DlResizeBar.getDragBar(),c=this._resize.pos+a.pos.x-this._resize.mouse,d=c-this._resize.pos,e=this._resize.orig+d;e<MIN_COL_WID&&(c+=MIN_COL_WID-e,e=MIN_COL_WID),c-=this.getBodyDiv().scrollLeft,b.style.left=c+1+"px"}function stopResize(a){var b=this._resize.pos+a.pos.x-this._resize.mouse,c=b-this._resize.pos,d=this._resize.orig+c;d<MIN_COL_WID&&(b+=MIN_COL_WID-d,d=MIN_COL_WID),c=d-this._resize.orig,this.setColSize(this._resize.col,d),this._updateFillCols(c),this.getElement().removeChild(DlResizeBar.getDragBar()),DlEvent.releaseGlobals(this._resizeCaptures);var e=DlDialog.activateEventStopper(false);DOM.delClass(e,"CURSOR-RESIZE-E")}P.getNextRow=function(a){return this.getRowByIndex(a.getModel().getIndex()+1)},P.getPrevRow=function(a){return this.getRowByIndex(a.getModel().getIndex()-1)}})(),function(){var BASE=DlGridRow.inherits(DlAbstractButton);function DlGridRow(a){a&&(this._customMoveKeys=true,D.setDefaults(this,a),DlAbstractButton.call(this,a))}eval(Dynarch.EXPORT("DlGridRow",true)),D.DEFAULT_ARGS={_tagName:["tagName","tr"],_classes:["classes",{active:"DlGridRow-active",hover:"DlGridRow-hover",checked:"DlGridRow-1",unchecked:"DlGridRow-0",empty:"DlGridRow-empty",disabled:"DlGridRow-disabled"}],_btnType:["type",DlButton.TYPE.TWOSTATE],_model:["model",null],_focusable:["focusable",true],__tooltip:["tooltip",getTooltip]};function getTooltip(){var a=this.args.widget;return a.getModel().tooltip}P.getModel=function(){return this._model};function onDestroy(){this._model.removeEventListener("onChange",this._on_modelChange)}P._onClick=function(a){this.parent.getGroup().maxChecked(a.ctrlKey&&this.parent._selType=="multiple"?null:1),BASE._onClick.call(this,a)},P._handle_focusKeys=function(a){var b=this.parent,c=b.getGroup();if(a.keyCode==DlKeyboard.ENTER)c.maxChecked(a.shiftKey||a.ctrlKey&&b._selType=="multiple"?null:1),this.applyHooks("onClick",[a]),a.domStop=true;else return BASE._handle_focusKeys.call(this,a)},P._createElement=function(){DlWidget.prototype._createElement.call(this);var a=this.getElement();this._model.foreachCell(function(b,c){var d=CE("td",null,null,a);displayCell(d,b,c)},this),this._on_modelChange=this._on_modelChange.$(this),this._model.addEventListener("onChange",this._on_modelChange),this.addEventListener("onDestroy",onDestroy)},P._on_modelChange=function(a,b,c,d){switch(c){case"value":displayCell(this.getElement().cells[b.getIndex()],b,this._model.model.getColByIndex(b.getIndex()))}};function displayCell(a,b,c){a.firstChild?a.firstChild.innerHTML=b.getContent():a.innerHTML="<div class=\"DlGrid-cellData\">"+b.getContent()+"</div>",a.className="DlGrid-align-"+b.getStyle("textAlign",c.getStyle("textAlign","left"))}}(),function(){var BASE=DlGridHeadLabel.inherits(DlButton);function DlGridHeadLabel(a){a&&(this.column=a.column,a.focusable=false,this.__withIconClass="DlButton-withIcon",DlButton.call(this,a),this.column.isSortable||(this.__disabled=true))}eval(Dynarch.EXPORT("DlGridHeadLabel")),P.setWidth=function(a){this.setOuterSize({x:a})},P.label=function(a){this.setContent("<div class='DlButton-Label'>"+this._label+"</div>")},P._onClick=function(){this.column.sort()},D.DEFAULT_ARGS={_classes:["classes",{active:"DlGridHeadLabel-active",hover:"DlGridHeadLabel-hover",checked:"DlGridHeadLabel-1",unchecked:"DlGridHeadLabel-0",empty:"DlGridHeadLabel-empty",disabled:"DlGridHeadLabel-disabled"}]}}() \ No newline at end of file
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/gridmodel.js b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/gridmodel.js
new file mode 100644
index 0000000..44e952e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/deprecated/js/gridmodel.js
@@ -0,0 +1,3 @@
+// @require eventproxy.js
+// cell model
+(function(){DlGridCellModel.inherits(DlEventProxy);function DlGridCellModel(a){arguments.length>0&&(DlEventProxy.call(this),typeof a!="object"&&(a={value:a}),DlGridCellModel.setDefaults(this,a),this.registerEvents(DEFAULT_EVENTS))}eval(Dynarch.EXPORT("DlGridCellModel"));var DEFAULT_EVENTS=["onChange"];D.DEFAULT_ARGS={_value:["value",null],_style:["style",{}]},P.setValue=function(a){var b=this._value;this._value=a,this.applyHooks("onChange",[this,"value",a,b])},P.getContent=function(){return this._value},P.getStyle=function(a,b){if(a in this._style)return this._style[a];return b},P.getIndex=function(){return this.index},P.getId=function(){return this.model.getColByIndex(this.index).id},P.setStyle=function(a,b){var c=this._style[a];this._style[a]=b,this.applyHooks("onChange",[this,"style",b,c,a])},P.compareTo=function(a){return this._value<a._value?-1:this._value>a._value?1:0}})(),function(){DlGridColModel.inherits(DlEventProxy);function DlGridColModel(args){arguments.length>0&&(DlEventProxy.call(this),DlGridColModel.setDefaults(this,args),this.registerEvents(DEFAULT_EVENTS),typeof this._cellType=="string"&&(this._cellType=eval(this._cellType)))}eval(Dynarch.EXPORT("DlGridColModel"));var DEFAULT_EVENTS=["onChange"];D.DEFAULT_ARGS={width:["width",null],fill:["fill",false],_label:["label",null],id:["id",null],_cellType:["cellType",DlGridCellModel],isResizable:["resizable",false],isScrollable:["scrollable",true],isSortable:["sortable",true],tooltip:["tooltip",null],_style:["style",{}],_iconClass:["iconClass",null]},P.getId=function(){return this.id},P.getIndex=function(){return this.index},P.getIconClass=function(){return this._iconClass},P.setIconClass=function(a){var b=this._iconClass;this._iconClass=a,this.applyHooks("onChange",[this,"iconClass",val,b])},P.getLabel=function(){return this._label},P.setLabel=function(a){var b=this._label;this._label=a,this.applyHooks("onChange",[this,"label",val,b])},P.getCellType=function(){return this._cellType},P.createCell=function(a){var b=new this._cellType(a);return b},P.getStyle=function(a,b){if(a in this._style)return this._style[a];return b},P.setStyle=function(a,b){var c=this._style[a];this._style[a]=b,this.applyHooks("onChange",[this,"style",b,c,a])},P.sort=function(){this.model.sort(this)},P.compareRows=function(a,b){var c=this.getIndex();a=a.getCellByIndex(c),b=b.getCellByIndex(c);return a.compareTo(b)}}(),function(){DlGridRowModel.inherits(DlEventProxy);function DlGridRowModel(a){if(arguments.length>0){if(a instanceof Array){var b={id:a.id,model:a.model,cells:{}};a.model.foreachCol(function(c,d){b.cells[c.getId()]=a[d]}),a=b}DlEventProxy.call(this),D.setDefaults(this,a),this.registerEvents(DEFAULT_EVENTS),this._init()}}eval(Dynarch.EXPORT("DlGridRowModel"));var DEFAULT_EVENTS=["onChange"];D.DEFAULT_ARGS={id:["id",null],userData:["data",null],_cells:["cells",null],_model:["model",null],tooltip:["tooltip",null]},P.reset=function(a){this.id=a.id,this.userData=a.data,this.tooltip=a.tooltip,this.foreachCell(function(b,c){b.setValue(a.cells[c.getId()])})},P.getId=function(){return this.id},P.getIndex=function(){return this.index},P.getCells=function(){return this._cells},P.getCellByIndex=function(a){return this._cells[this.model.getColByIndex(a).getId()]},P.foreachCell=function(a,b){this.model.foreachCol(function(c,d){var e=this._cells[c.getId()];a.apply(b,[e,c,d])},this)},P._onCellChange=function(a,b,c,d){this.applyHooks("onChange",[this,a,b,c,d])},P._init=function(){var a=this._model,b=this._cells;this.model=a,delete this._model;var c=this._onCellChange.$(this);for(var d in b){var e=b[d],f=a.getColById(d);e=b[d]=f.createCell(e),e.model=a,e.colId=d,e.index=f.getIndex(),e.parent=this,e.addEventListener("onChange",c)}}}(),function(){DlGridModel.inherits(DlEventProxy);function DlGridModel(a){arguments.length>0&&(DlEventProxy.call(this),DlGridModel.setDefaults(this,a),this.registerEvents(DEFAULT_EVENTS),this._init())}eval(Dynarch.EXPORT("DlGridModel"));var DEFAULT_EVENTS=["onInsertRow","onDeleteRow","onInsertCol","onInsertCol","onMoveRow","onMoveCol","onRowChange","onColChange","onSort"];D.DEFAULT_ARGS={_rows:["rows",[]],_cols:["cols",null]},P.getRowById=function(a){return this._rowsById[a]},P.getRowByIndex=function(a){return this._rows[a]},P.foreachRow=function(){return this._rows.foreach.apply(this._rows,arguments)},P.foreachCol=function(){return this._cols.foreach.apply(this._cols,arguments)},P.getColById=function(a){return this._colsById[a]},P.getColByIndex=function(a){return this._cols[a]},P._init=function(){this.__sortCol=null,this.__sortDesc=false;var a=this._colsById={},b=this._rowsById={};this._onRowChange=this._onColChange.$(this),this._onRowChange=this._onRowChange.$(this),this._cols.r_assign_each(function(b,c){c=new DlGridColModel(c),c.model=this,c.index=b,c.addEventListener("onChange",this._onColChange),c.id&&(a[c.id]=c);return c},this),this._rows.r_assign_each(function(a,c){c.model=this,c=new DlGridRowModel(c),c.index=a,c.addEventListener("onChange",this._onRowChange),c.id&&(b[c.id]=c);return c},this)},P._onColChange=function(a,b,c,d){this.applyHooks("onColChange",[this,a,b,c,d])},P._onRowChange=function(a,b,c,d,e){this.applyHooks("onRowChange",[this,a,b,c,d,e])},P._getInsertPos=function(a){var b=this.__sortCol;return this._rows.foreach(function(c,d){var e=b.compareRows(c,a);this.__sortDesc&&(e=-e),e>=0&&$RETURN(d)},this)},P.insertRow=function(a,b){a.model=this,a=new DlGridRowModel(a);var c=this._rows,d=c.length;if(b==null||b==-1)b=this.__sortCol?this._getInsertPos(a):d;c.splice(b,0,a),++d;for(var e=b;e<d;++e)c[e].index=e;a.addEventListener("onChange",this._onRowChange),a.id&&(this._rowsById[a.id]=a),this.applyHooks("onInsertRow",[a]);return a},P.deleteRowById=function(a){this.deleteRowByIndex(this.getRowById(a).getIndex())},P.deleteRowByIndex=function(a){var b=this._rows,c=b[a];c.id&&delete this._rowsById[c.id],b.splice(a,1);for(var d=a;d<b.length;++d)b[d].index=d;c.removeEventListener("onChange",this._onRowChange),this.applyHooks("onDeleteRow",[c]),c.destroy();return c},P.setValues=function(a){this.__sortDesc=false,this.applyHooks("onSort",[null,this.__sortCol]),a.foreach(function(a,b){a instanceof Array&&(a={cells:a});var c=this.getRowByIndex(b);c?(c.id&&delete this._rowsById[c.id],a.id&&(this._rowsById[a.id]=c),c.reset(a)):this.insertRow(a,this._rows.length)},this);while(a.length<this._rows.length)this.deleteRowByIndex(this._rows.length-1)},P.sort=function(a){var b=this.__sortCol;b===a?this.__sortDesc=!this.__sortDesc:this.__sortDesc=false,this.__sortCol=a;var c=a.getIndex();this._rows=this._rows.mergeSort(function(b,c){return a.compareRows(b,c)},this.__sortDesc);var d=this._rows.map(function(a,b){var c=a.index;a.index=b;return c});this.applyHooks("onSort",[a,b,this.__sortDesc,d])}}() \ No newline at end of file
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/all-wcprops
new file mode 100644
index 0000000..d4c02f4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/all-wcprops
@@ -0,0 +1,29 @@
+K 25
+svn:wc:ra_dav:version-url
+V 44
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/extras
+END
+base64.js
+K 25
+svn:wc:ra_dav:version-url
+V 54
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/extras/base64.js
+END
+md5.js
+K 25
+svn:wc:ra_dav:version-url
+V 51
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/extras/md5.js
+END
+cryptaes.js
+K 25
+svn:wc:ra_dav:version-url
+V 56
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/extras/cryptaes.js
+END
+sha1.js
+K 25
+svn:wc:ra_dav:version-url
+V 52
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/extras/sha1.js
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/entries
new file mode 100644
index 0000000..e858d7b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/entries
@@ -0,0 +1,164 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/extras
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+base64.js
+file
+
+
+
+
+2012-01-23T13:07:09.533349Z
+333e8c88b37bb5a32d40372fe0c91ef6
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1165
+
+md5.js
+file
+
+
+
+
+2012-01-23T13:07:09.533349Z
+809ad7f55970db9f0363b6b4d8e9fbb1
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4483
+
+cryptaes.js
+file
+
+
+
+
+2012-01-23T13:07:09.533349Z
+1f459e9cffe35457b13034b74671c37c
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+13942
+
+sha1.js
+file
+
+
+
+
+2012-01-23T13:07:09.533349Z
+25edaebde9445d3fde63ce84e6678078
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+2429
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/text-base/base64.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/text-base/base64.js.svn-base
new file mode 100644
index 0000000..d57364e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/text-base/base64.js.svn-base
@@ -0,0 +1,9 @@
+// This code was written by Tyler Akins and has been placed in the
+// public domain. It would be nice if you left this header intact.
+// Base64 code from Tyler Akins -- http://rumkin.com
+//
+// Heavily modified. We need to deal with an array of bytes, instead
+// of a string, as input; a string as input doesn't make much sense
+// because the whole point of BASE64 is to send *binary* data (which
+// is pretty hard to encode in a proper string).
+(function(){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";EXTEND_CLASS(Array,function(b,c){c.bytesToBase64=function(){var b=0,c=this.length,d="";while(b<c){var e=this[b++],f=this[b++],g=this[b++],h=e>>>2,i=(e&3)<<4|f>>>4,j=(f&15)<<2|g>>>6,k=g&63;b-c==2?j=k=64:b-c==1&&(k=64),d+=a.charAt(h)+a.charAt(i)+a.charAt(j)+a.charAt(k)}return d}}),EXTEND_CLASS(String,function(b,c){c.base64ToBytes=function(){var b=this.replace(/[^A-Za-z0-9\+\/\=]/g,""),c=0,d=b.length,e=[];while(c<d){var f=a.indexOf(b.charAt(c++)),g=a.indexOf(b.charAt(c++)),h=a.indexOf(b.charAt(c++)),i=a.indexOf(b.charAt(c++)),j=f<<2|g>>>4,k=(g&15)<<4|h>>>2,l=(h&3)<<6|i;e.push(j),h!=64&&e.push(k),i!=64&&e.push(l)}return e}})})() \ No newline at end of file
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/text-base/cryptaes.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/text-base/cryptaes.js.svn-base
new file mode 100644
index 0000000..f5b4079
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/text-base/cryptaes.js.svn-base
@@ -0,0 +1,22 @@
+/* Part of DynarchLIB
+ Copyright (c) Dynarch.com 2005-2009. All rights reserved.
+ See http://www.dynarchlib.com/licensing for details.
+
+//--
+// Based on a C implementation of the AES algorithm found in the
+// Crypt::Rijndael Perl module.
+//
+// http://search.cpan.org/~bdfoy/Crypt-Rijndael-1.05/
+// http://search.cpan.org/src/BDFOY/Crypt-Rijndael-1.05/_rijndael.c
+//
+// Original C code is Copyright 2000, 2001 Rafael R. Sevilla <sevillar@team.ph.inter.net>
+// The Perl module is currently maintained by brian d foy, <bdfoy@cpan.org>
+//
+// Great work guys!
+//
+// The Original C code is distributed under the GNU LGPL, version 2.0 or later.
+//
+// Written in JavaScript for DynarchLIB by Mihai Bazon.
+//--
+
+*/DEFINE_CLASS("DlCryptAES",null,function(a,b){a.DEFAULT_ARGS={_key:["key",null],_mode:["mode","ECB"],_iv:["iv",null]},a.CONSTRUCT=function(){u.call(this,this._key),this._mode=H[this._mode.toUpperCase()],this._rounds=k[this._key.length],this._iv||(this._iv=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])};var c=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],d=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],e=[0,0,25,1,50,2,26,198,75,199,27,104,51,238,223,3,100,4,224,14,52,141,129,239,76,113,8,200,248,105,28,193,125,194,29,181,249,185,39,106,77,228,166,114,154,201,9,120,101,47,138,5,33,15,225,36,18,240,130,69,53,147,218,142,150,143,219,189,54,208,206,148,19,92,210,241,64,70,131,56,102,221,253,48,191,6,139,98,179,37,226,152,34,136,145,16,126,110,72,195,163,182,30,66,58,107,40,84,250,133,61,186,43,121,10,21,155,159,94,202,78,212,172,229,243,115,167,87,175,88,168,80,244,234,214,116,79,174,233,213,231,230,173,232,44,215,117,122,235,22,11,245,89,203,95,176,156,169,81,160,127,12,246,111,23,196,73,236,216,67,31,45,164,118,123,183,204,187,62,90,251,96,177,134,59,82,161,108,170,85,41,157,151,178,135,144,97,190,220,252,188,149,207,205,55,63,91,209,83,57,132,60,65,162,109,71,20,42,158,93,86,242,211,171,68,17,146,217,35,32,46,137,180,124,184,38,119,153,227,165,103,74,237,222,197,49,254,24,13,99,140,128,192,247,112,7],f=[1,3,5,15,17,51,85,255,26,46,114,150,161,248,19,53,95,225,56,72,216,115,149,164,247,2,6,10,30,34,102,170,229,52,92,228,55,89,235,38,106,190,217,112,144,171,230,49,83,245,4,12,20,60,68,204,79,209,104,184,211,110,178,205,76,212,103,169,224,59,77,215,98,166,241,8,24,40,120,136,131,158,185,208,107,189,220,127,129,152,179,206,73,219,118,154,181,196,87,249,16,48,80,240,11,29,39,105,187,214,97,163,254,25,43,125,135,146,173,236,47,113,147,174,233,32,96,160,251,22,58,78,210,109,183,194,93,231,50,86,250,21,63,65,195,94,226,61,71,201,64,192,91,237,44,116,156,191,218,117,159,186,213,100,172,239,42,126,130,157,188,223,122,142,137,128,155,182,193,88,232,35,101,175,234,37,111,177,200,67,197,84,252,31,33,99,165,244,7,9,27,45,119,153,176,203,70,202,69,207,74,222,121,139,134,145,168,227,62,66,198,81,243,14,18,54,90,238,41,123,141,140,143,138,133,148,167,242,13,23,57,75,221,124,132,151,162,253,28,36,108,180,199,82,246,1],g=[2774754246,2222750968,2574743534,2373680118,234025727,3177933782,2976870366,1422247313,1345335392,50397442,2842126286,2099981142,436141799,1658312629,3870010189,2591454956,1170918031,2642575903,1086966153,2273148410,368769775,3948501426,3376891790,200339707,3970805057,1742001331,4255294047,3937382213,3214711843,4154762323,2524082916,1539358875,3266819957,486407649,2928907069,1780885068,1513502316,1094664062,49805301,1338821763,1546925160,4104496465,887481809,150073849,2473685474,1943591083,1395732834,1058346282,201589768,1388824469,1696801606,1589887901,672667696,2711000631,251987210,3046808111,151455502,907153956,2608889883,1038279391,652995533,1764173646,3451040383,2675275242,453576978,2659418909,1949051992,773462580,756751158,2993581788,3998898868,4221608027,4132590244,1295727478,1641469623,3467883389,2066295122,1055122397,1898917726,2542044179,4115878822,1758581177,0,753790401,1612718144,536673507,3367088505,3982187446,3194645204,1187761037,3653156455,1262041458,3729410708,3561770136,3898103984,1255133061,1808847035,720367557,3853167183,385612781,3309519750,3612167578,1429418854,2491778321,3477423498,284817897,100794884,2172616702,4031795360,1144798328,3131023141,3819481163,4082192802,4272137053,3225436288,2324664069,2912064063,3164445985,1211644016,83228145,3753688163,3249976951,1977277103,1663115586,806359072,452984805,250868733,1842533055,1288555905,336333848,890442534,804056259,3781124030,2727843637,3427026056,957814574,1472513171,4071073621,2189328124,1195195770,2892260552,3881655738,723065138,2507371494,2690670784,2558624025,3511635870,2145180835,1713513028,2116692564,2878378043,2206763019,3393603212,703524551,3552098411,1007948840,2044649127,3797835452,487262998,1994120109,1004593371,1446130276,1312438900,503974420,3679013266,168166924,1814307912,3831258296,1573044895,1859376061,4021070915,2791465668,2828112185,2761266481,937747667,2339994098,854058965,1137232011,1496790894,3077402074,2358086913,1691735473,3528347292,3769215305,3027004632,4199962284,133494003,636152527,2942657994,2390391540,3920539207,403179536,3585784431,2289596656,1864705354,1915629148,605822008,4054230615,3350508659,1371981463,602466507,2094914977,2624877800,555687742,3712699286,3703422305,2257292045,2240449039,2423288032,1111375484,3300242801,2858837708,3628615824,84083462,32962295,302911004,2741068226,1597322602,4183250862,3501832553,2441512471,1489093017,656219450,3114180135,954327513,335083755,3013122091,856756514,3144247762,1893325225,2307821063,2811532339,3063651117,572399164,2458355477,552200649,1238290055,4283782570,2015897680,2061492133,2408352771,4171342169,2156497161,386731290,3669999461,837215959,3326231172,3093850320,3275833730,2962856233,1999449434,286199582,3417354363,4233385128,3602627437,974525996],h=[1353184337,1399144830,3282310938,2522752826,3412831035,4047871263,2874735276,2466505547,1442459680,4134368941,2440481928,625738485,4242007375,3620416197,2151953702,2409849525,1230680542,1729870373,2551114309,3787521629,41234371,317738113,2744600205,3338261355,3881799427,2510066197,3950669247,3663286933,763608788,3542185048,694804553,1154009486,1787413109,2021232372,1799248025,3715217703,3058688446,397248752,1722556617,3023752829,407560035,2184256229,1613975959,1165972322,3765920945,2226023355,480281086,2485848313,1483229296,436028815,2272059028,3086515026,601060267,3791801202,1468997603,715871590,120122290,63092015,2591802758,2768779219,4068943920,2997206819,3127509762,1552029421,723308426,2461301159,4042393587,2715969870,3455375973,3586000134,526529745,2331944644,2639474228,2689987490,853641733,1978398372,971801355,2867814464,111112542,1360031421,4186579262,1023860118,2919579357,1186850381,3045938321,90031217,1876166148,4279586912,620468249,2548678102,3426959497,2006899047,3175278768,2290845959,945494503,3689859193,1191869601,3910091388,3374220536,0,2206629897,1223502642,2893025566,1316117100,4227796733,1446544655,517320253,658058550,1691946762,564550760,3511966619,976107044,2976320012,266819475,3533106868,2660342555,1338359936,2720062561,1766553434,370807324,179999714,3844776128,1138762300,488053522,185403662,2915535858,3114841645,3366526484,2233069911,1275557295,3151862254,4250959779,2670068215,3170202204,3309004356,880737115,1982415755,3703972811,1761406390,1676797112,3403428311,277177154,1076008723,538035844,2099530373,4164795346,288553390,1839278535,1261411869,4080055004,3964831245,3504587127,1813426987,2579067049,4199060497,577038663,3297574056,440397984,3626794326,4019204898,3343796615,3251714265,4272081548,906744984,3481400742,685669029,646887386,2764025151,3835509292,227702864,2613862250,1648787028,3256061430,3904428176,1593260334,4121936770,3196083615,2090061929,2838353263,3004310991,999926984,2809993232,1852021992,2075868123,158869197,4095236462,28809964,2828685187,1701746150,2129067946,147831841,3873969647,3650873274,3459673930,3557400554,3598495785,2947720241,824393514,815048134,3227951669,935087732,2798289660,2966458592,366520115,1251476721,4158319681,240176511,804688151,2379631990,1303441219,1414376140,3741619940,3820343710,461924940,3089050817,2136040774,82468509,1563790337,1937016826,776014843,1511876531,1389550482,861278441,323475053,2355222426,2047648055,2383738969,2302415851,3995576782,902390199,3991215329,1018251130,1507840668,1064563285,2043548696,3208103795,3939366739,1537932639,342834655,2262516856,2180231114,1053059257,741614648,1598071746,1925389590,203809468,2336832552,1100287487,1895934009,3736275976,2632234200,2428589668,1636092795,1890988757,1952214088,1113045200],i=[[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2]],j=[[0,1,2,3],[3,0,1,2],[2,3,0,1],[1,2,3,0]],k={16:10,24:12,32:14},l={16:176,24:208,32:240};function m(a){return a>>>8|(a&255)<<24}function n(a){return a<<8|a>>>24&255}function o(a,b){return b[a&255]|b[a>>>8&255]<<8|b[a>>>16&255]<<16|b[a>>>24&255]<<24}function p(a){var b=a&128?27:0;a<<=1,a^=b;return a}function q(a,b){return a&&b?f[(e[a]+e[b])%255]:0}function r(a,b,c){var d=[[],[],[],[]],e,f;for(f=0;f<4;++f)for(e=0;e<4;++e)d[f][e]=q(14,a[f+c]>>>(e<<3)&255)^q(11,a[f+c]>>>((e+1&3)<<3)&255)^q(13,a[f+c]>>>((e+2&3)<<3)&255)^q(9,a[f+c]>>>((e+3&3)<<3)&255);for(e=0;e<4;++e)for(f=b[e+c]=0;f<4;++f)b[e+c]|=d[e][f]<<(f<<3)}function s(a){for(var b=[],c=a.length/4,d=0;d<c;++d)b[d]=a[d<<2]|a[(d<<2)+1]<<8|a[(d<<2)+2]<<16|a[(d<<2)+3]<<24;return b}function t(a){for(var b=a.length,c=new Array(b*4),d=0,e,f=0;f<b;++f)e=a[f],c[d++]=e&255,c[d++]=e>>>8&255,c[d++]=e>>>16&255,c[d++]=e>>>24&255;return c}function u(a){var b=s(a),d=a.length/4,e,f,g=1,h=l[a.length]/4;for(e=d;e<h;++e)f=b[e-1],e%d==0?(f=o(m(f),c)^g,g=p(g)&255):d>6&&e%d==4&&(f=o(f,c)),b[e]=b[e-d]^f;var i=[];for(e=0;e<4;++e)i[e]=b[e],i[h-4+e]=b[h-4+e];for(e=4;e<h-4;e+=4)r(b,i,e);this._exk=b,this._rexk=i}function v(a,b,c,d){d<<=2;for(var e=4;--e>=0;)b[e]=a[e]^c[d|e]}function w(a){var b=this._exk,d=this._rounds,e;a=s(a),v(a,a,b,0);for(var f=[],h=1;h<d;++h){for(e=0;e<4;++e)f[e]=g[a[e]&255]^n(g[a[i[1][e]]>>>8&255]^n(g[a[i[2][e]]>>>16&255]^n(g[a[i[3][e]]>>>24&255])));v(f,a,b,h)}for(e=0;e<4;++e)f[e]=o(a[e]&255|a[i[1][e]]&65280|a[i[2][e]]&16711680|a[i[3][e]]&4278190080,c);v(f,a,b,d);return t(a)}function x(a){var b=this._rexk,c=this._rounds,e;a=s(a),v(a,a,b,c);for(var f=[],g=c;--g>0;){for(e=0;e<4;++e)f[e]=h[a[e]&255]^n(h[a[j[1][e]]>>>8&255]^n(h[a[j[2][e]]>>>16&255]^n(h[a[j[3][e]]>>>24&255])));v(f,a,b,g)}for(e=0;e<4;++e)f[e]=o(a[e]&255|a[j[1][e]]&65280|a[j[2][e]]&16711680|a[j[3][e]]&4278190080,d);v(f,a,b,0);return t(a)}b.encodeBytes=function(a){return this._mode[0].call(this,a)},b.decodeBytes=function(a){return this._mode[1].call(this,a)},b.encodeText=function(a){a=a.length+":"+a;var b=a.toBytes(),c=b.length%16;while(c++<16)b.push(32);return this.encodeBytes(b)},b.decodeText=function(a){var b=this.decodeBytes(a).bytesToString(),c=b.indexOf(":"),d=parseInt(b.substr(0,c));return b.substr(c+1).substr(0,d)},b.setIV=function(a){this._iv=a},b.getIV=function(){return this._iv},b.setTimestampIV=function(){this.setIV((new Date).getTime().hex(16).hexToBytes().concat([0,0,0,0,0,0,0,0]))};function y(a,b){b=b?x:w;for(var c=[],d=0;d<a.length;d+=16){var e=a.slice(d,d+16);e=b.call(this,e),c.push.apply(c,e)}return c}function z(a){return y.call(this,a,false)}function A(a){return y.call(this,a,true)}function B(a){var b=this._iv.slice(0),c,d,e=[],f=a.length,g;for(c=0;c<f;c+=16){for(g=b.slice(0),g=w.call(this,g),d=16;--d>=0&&!(b[d]=b[d]+1&255););for(d=16;--d>=0;)e[d+c]=g[d]^a[d+c]}return e}function C(a){var b=this._iv.slice(0),c,d,e=[],f=a.length;for(c=0;c<f;c+=16){for(d=16;--d>=0;)b[d]^=a[d+c];for(b=w.call(this,b),d=16;--d>=0;)e[d+c]=b[d]}return e}function D(a){var b=a.slice(0,16),c,d,e=[],f=a.length;for(b=x.call(this,b),d=16;--d>=0;)e[d]=b[d]^this._iv[d];for(c=16;c<f;c+=16)for(b=a.slice(c,c+16),b=x.call(this,b),d=16;--d>=0;)e[d+c]=b[d]^a[c-16+d];return e}function E(a){var b=this._iv.slice(0),c,d,e=[],f=a.length;for(c=0;c<f;c+=16){for(b=w.call(this,b),d=16;--d>=0;)b[d]^=a[d+c];e.push.apply(e,b)}return e}function F(a){var b=this._iv.slice(0),c,d,e=[],f=a.length;for(c=0;c<f;c+=16){for(b=w.call(this,b),d=16;--d>=0;)e[d+c]=b[d]^a[d+c];b=a.slice(c,c+16)}return e}function G(a){var b=this._iv.slice(0),c,d,e=[],f=a.length;for(c=0;c<f;c+=16)for(b=w.call(this,b),d=16;--d>=0;)e[d+c]=b[d]^a[d+c];return e}var H={ECB:[z,A],CBC:[C,D],CFB:[E,F],OFB:[G,G],CTR:[B,B]}}) \ No newline at end of file
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/text-base/md5.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/text-base/md5.js.svn-base
new file mode 100644
index 0000000..d62b17e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/text-base/md5.js.svn-base
@@ -0,0 +1,10 @@
+/*
+ * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
+ * Digest Algorithm, as defined in RFC 1321.
+ * Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.
+ * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
+ * Distributed under the BSD License
+ * See http://pajhome.org.uk/crypt/md5 for more info.
+ *
+ * Adapted for DynarchLIB by Mihai Bazon.
+ */(function(){var a=0,b="",c=8;window.hex_md5=function(a){return p(e(n(a),a.length*c))},window.b64_md5=function(a){return q(e(n(a),a.length*c))},window.str_md5=function(a){return o(e(n(a),a.length*c))},window.hex_hmac_md5=function(a,b){return p(k(a,b))},window.b64_hmac_md5=function(a,b){return q(k(a,b))},window.str_hmac_md5=function(a,b){return o(k(a,b))};function d(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function e(a,b){a[b>>5]|=128<<b%32,a[(b+64>>>9<<4)+14]=b;for(var c=1732584193,d=-271733879,e=-1732584194,f=271733878,k=0;k<a.length;k+=16){var m=c,n=d,o=e,p=f;c=g(c,d,e,f,a[k+0],7,-680876936),f=g(f,c,d,e,a[k+1],12,-389564586),e=g(e,f,c,d,a[k+2],17,606105819),d=g(d,e,f,c,a[k+3],22,-1044525330),c=g(c,d,e,f,a[k+4],7,-176418897),f=g(f,c,d,e,a[k+5],12,1200080426),e=g(e,f,c,d,a[k+6],17,-1473231341),d=g(d,e,f,c,a[k+7],22,-45705983),c=g(c,d,e,f,a[k+8],7,1770035416),f=g(f,c,d,e,a[k+9],12,-1958414417),e=g(e,f,c,d,a[k+10],17,-42063),d=g(d,e,f,c,a[k+11],22,-1990404162),c=g(c,d,e,f,a[k+12],7,1804603682),f=g(f,c,d,e,a[k+13],12,-40341101),e=g(e,f,c,d,a[k+14],17,-1502002290),d=g(d,e,f,c,a[k+15],22,1236535329),c=h(c,d,e,f,a[k+1],5,-165796510),f=h(f,c,d,e,a[k+6],9,-1069501632),e=h(e,f,c,d,a[k+11],14,643717713),d=h(d,e,f,c,a[k+0],20,-373897302),c=h(c,d,e,f,a[k+5],5,-701558691),f=h(f,c,d,e,a[k+10],9,38016083),e=h(e,f,c,d,a[k+15],14,-660478335),d=h(d,e,f,c,a[k+4],20,-405537848),c=h(c,d,e,f,a[k+9],5,568446438),f=h(f,c,d,e,a[k+14],9,-1019803690),e=h(e,f,c,d,a[k+3],14,-187363961),d=h(d,e,f,c,a[k+8],20,1163531501),c=h(c,d,e,f,a[k+13],5,-1444681467),f=h(f,c,d,e,a[k+2],9,-51403784),e=h(e,f,c,d,a[k+7],14,1735328473),d=h(d,e,f,c,a[k+12],20,-1926607734),c=i(c,d,e,f,a[k+5],4,-378558),f=i(f,c,d,e,a[k+8],11,-2022574463),e=i(e,f,c,d,a[k+11],16,1839030562),d=i(d,e,f,c,a[k+14],23,-35309556),c=i(c,d,e,f,a[k+1],4,-1530992060),f=i(f,c,d,e,a[k+4],11,1272893353),e=i(e,f,c,d,a[k+7],16,-155497632),d=i(d,e,f,c,a[k+10],23,-1094730640),c=i(c,d,e,f,a[k+13],4,681279174),f=i(f,c,d,e,a[k+0],11,-358537222),e=i(e,f,c,d,a[k+3],16,-722521979),d=i(d,e,f,c,a[k+6],23,76029189),c=i(c,d,e,f,a[k+9],4,-640364487),f=i(f,c,d,e,a[k+12],11,-421815835),e=i(e,f,c,d,a[k+15],16,530742520),d=i(d,e,f,c,a[k+2],23,-995338651),c=j(c,d,e,f,a[k+0],6,-198630844),f=j(f,c,d,e,a[k+7],10,1126891415),e=j(e,f,c,d,a[k+14],15,-1416354905),d=j(d,e,f,c,a[k+5],21,-57434055),c=j(c,d,e,f,a[k+12],6,1700485571),f=j(f,c,d,e,a[k+3],10,-1894986606),e=j(e,f,c,d,a[k+10],15,-1051523),d=j(d,e,f,c,a[k+1],21,-2054922799),c=j(c,d,e,f,a[k+8],6,1873313359),f=j(f,c,d,e,a[k+15],10,-30611744),e=j(e,f,c,d,a[k+6],15,-1560198380),d=j(d,e,f,c,a[k+13],21,1309151649),c=j(c,d,e,f,a[k+4],6,-145523070),f=j(f,c,d,e,a[k+11],10,-1120210379),e=j(e,f,c,d,a[k+2],15,718787259),d=j(d,e,f,c,a[k+9],21,-343485551),c=l(c,m),d=l(d,n),e=l(e,o),f=l(f,p)}return Array(c,d,e,f)}function f(a,b,c,d,e,f){return l(m(l(l(b,a),l(d,f)),e),c)}function g(a,b,c,d,e,g,h){return f(b&c|~b&d,a,b,e,g,h)}function h(a,b,c,d,e,g,h){return f(b&d|c&~d,a,b,e,g,h)}function i(a,b,c,d,e,g,h){return f(b^c^d,a,b,e,g,h)}function j(a,b,c,d,e,g,h){return f(c^(b|~d),a,b,e,g,h)}function k(a,b){var d=n(a);d.length>16&&(d=e(d,a.length*c));for(var f=Array(16),g=Array(16),h=0;h<16;h++)f[h]=d[h]^909522486,g[h]=d[h]^1549556828;var i=e(f.concat(n(b)),512+b.length*c);return e(g.concat(i),640)}function l(a,b){var c=(a&65535)+(b&65535),d=(a>>16)+(b>>16)+(c>>16);return d<<16|c&65535}function m(a,b){return a<<b|a>>>32-b}function n(a){for(var b=Array(),d=(1<<c)-1,e=0;e<a.length*c;e+=c)b[e>>5]|=(a.charCodeAt(e/c)&d)<<e%32;return b}function o(a){for(var b="",d=(1<<c)-1,e=0;e<a.length*32;e+=c)b+=String.fromCharCode(a[e>>5]>>>e%32&d);return b}function p(b){for(var c=a?"0123456789ABCDEF":"0123456789abcdef",d="",e=0;e<b.length*4;e++)d+=c.charAt(b[e>>2]>>e%4*8+4&15)+c.charAt(b[e>>2]>>e%4*8&15);return d}function q(a){for(var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d="",e=0;e<a.length*4;e+=3)for(var f=(a[e>>2]>>8*(e%4)&255)<<16|(a[e+1>>2]>>8*((e+1)%4)&255)<<8|a[e+2>>2]>>8*((e+2)%4)&255,g=0;g<4;g++)e*8+g*6>a.length*32?d+=b:d+=c.charAt(f>>6*(3-g)&63);return d}})() \ No newline at end of file
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/text-base/sha1.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/text-base/sha1.js.svn-base
new file mode 100644
index 0000000..aabb2e7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/.svn/text-base/sha1.js.svn-base
@@ -0,0 +1,10 @@
+/*
+ * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
+ * in FIPS PUB 180-1
+ * Version 2.1a Copyright Paul Johnston 2000 - 2002.
+ * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
+ * Distributed under the BSD License
+ * See http://pajhome.org.uk/crypt/md5 for details.
+ *
+ * Adapted for DynarchLIB by Mihai Bazon.
+ */(function(){var a=0,b="",c=8;window.hex_sha1=function(a){return m(e(k(a),a.length*c))},window.b64_sha1=function(a){return n(e(k(a),a.length*c))},window.str_sha1=function(a){return l(e(k(a),a.length*c))},window.hex_hmac_sha1=function(a,b){return m(h(a,b))},window.b64_hmac_sha1=function(a,b){return n(h(a,b))},window.str_hmac_sha1=function(a,b){return l(h(a,b))};function d(){return hex_sha1("abc")=="a9993e364706816aba3e25717850c26c9cd0d89d"}function e(a,b){a[b>>5]|=128<<24-b%32,a[(b+64>>9<<4)+15]=b;for(var c=Array(80),d=1732584193,e=-271733879,h=-1732584194,k=271733878,l=-1009589776,m=0;m<a.length;m+=16){for(var n=d,o=e,p=h,q=k,r=l,s=0;s<80;s++){s<16?c[s]=a[m+s]:c[s]=j(c[s-3]^c[s-8]^c[s-14]^c[s-16],1);var t=i(i(j(d,5),f(s,e,h,k)),i(i(l,c[s]),g(s)));l=k,k=h,h=j(e,30),e=d,d=t}d=i(d,n),e=i(e,o),h=i(h,p),k=i(k,q),l=i(l,r)}return Array(d,e,h,k,l)}function f(a,b,c,d){if(a<20)return b&c|~b&d;if(a<40)return b^c^d;if(a<60)return b&c|b&d|c&d;return b^c^d}function g(a){return a<20?1518500249:a<40?1859775393:a<60?-1894007588:-899497514}function h(a,b){var d=k(a);d.length>16&&(d=e(d,a.length*c));for(var f=Array(16),g=Array(16),h=0;h<16;h++)f[h]=d[h]^909522486,g[h]=d[h]^1549556828;var i=e(f.concat(k(b)),512+b.length*c);return e(g.concat(i),672)}function i(a,b){var c=(a&65535)+(b&65535),d=(a>>16)+(b>>16)+(c>>16);return d<<16|c&65535}function j(a,b){return a<<b|a>>>32-b}function k(a){for(var b=Array(),d=(1<<c)-1,e=0;e<a.length*c;e+=c)b[e>>5]|=(a.charCodeAt(e/c)&d)<<32-c-e%32;return b}function l(a){for(var b="",d=(1<<c)-1,e=0;e<a.length*32;e+=c)b+=String.fromCharCode(a[e>>5]>>>32-c-e%32&d);return b}function m(b){for(var c=a?"0123456789ABCDEF":"0123456789abcdef",d="",e=0;e<b.length*4;e++)d+=c.charAt(b[e>>2]>>(3-e%4)*8+4&15)+c.charAt(b[e>>2]>>(3-e%4)*8&15);return d}function n(a){for(var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d="",e=0;e<a.length*4;e+=3)for(var f=(a[e>>2]>>8*(3-e%4)&255)<<16|(a[e+1>>2]>>8*(3-(e+1)%4)&255)<<8|a[e+2>>2]>>8*(3-(e+2)%4)&255,g=0;g<4;g++)e*8+g*6>a.length*32?d+=b:d+=c.charAt(f>>6*(3-g)&63);return d}})() \ No newline at end of file
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/base64.js b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/base64.js
new file mode 100644
index 0000000..d57364e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/base64.js
@@ -0,0 +1,9 @@
+// This code was written by Tyler Akins and has been placed in the
+// public domain. It would be nice if you left this header intact.
+// Base64 code from Tyler Akins -- http://rumkin.com
+//
+// Heavily modified. We need to deal with an array of bytes, instead
+// of a string, as input; a string as input doesn't make much sense
+// because the whole point of BASE64 is to send *binary* data (which
+// is pretty hard to encode in a proper string).
+(function(){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";EXTEND_CLASS(Array,function(b,c){c.bytesToBase64=function(){var b=0,c=this.length,d="";while(b<c){var e=this[b++],f=this[b++],g=this[b++],h=e>>>2,i=(e&3)<<4|f>>>4,j=(f&15)<<2|g>>>6,k=g&63;b-c==2?j=k=64:b-c==1&&(k=64),d+=a.charAt(h)+a.charAt(i)+a.charAt(j)+a.charAt(k)}return d}}),EXTEND_CLASS(String,function(b,c){c.base64ToBytes=function(){var b=this.replace(/[^A-Za-z0-9\+\/\=]/g,""),c=0,d=b.length,e=[];while(c<d){var f=a.indexOf(b.charAt(c++)),g=a.indexOf(b.charAt(c++)),h=a.indexOf(b.charAt(c++)),i=a.indexOf(b.charAt(c++)),j=f<<2|g>>>4,k=(g&15)<<4|h>>>2,l=(h&3)<<6|i;e.push(j),h!=64&&e.push(k),i!=64&&e.push(l)}return e}})})() \ No newline at end of file
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/cryptaes.js b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/cryptaes.js
new file mode 100644
index 0000000..f5b4079
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/cryptaes.js
@@ -0,0 +1,22 @@
+/* Part of DynarchLIB
+ Copyright (c) Dynarch.com 2005-2009. All rights reserved.
+ See http://www.dynarchlib.com/licensing for details.
+
+//--
+// Based on a C implementation of the AES algorithm found in the
+// Crypt::Rijndael Perl module.
+//
+// http://search.cpan.org/~bdfoy/Crypt-Rijndael-1.05/
+// http://search.cpan.org/src/BDFOY/Crypt-Rijndael-1.05/_rijndael.c
+//
+// Original C code is Copyright 2000, 2001 Rafael R. Sevilla <sevillar@team.ph.inter.net>
+// The Perl module is currently maintained by brian d foy, <bdfoy@cpan.org>
+//
+// Great work guys!
+//
+// The Original C code is distributed under the GNU LGPL, version 2.0 or later.
+//
+// Written in JavaScript for DynarchLIB by Mihai Bazon.
+//--
+
+*/DEFINE_CLASS("DlCryptAES",null,function(a,b){a.DEFAULT_ARGS={_key:["key",null],_mode:["mode","ECB"],_iv:["iv",null]},a.CONSTRUCT=function(){u.call(this,this._key),this._mode=H[this._mode.toUpperCase()],this._rounds=k[this._key.length],this._iv||(this._iv=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])};var c=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],d=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],e=[0,0,25,1,50,2,26,198,75,199,27,104,51,238,223,3,100,4,224,14,52,141,129,239,76,113,8,200,248,105,28,193,125,194,29,181,249,185,39,106,77,228,166,114,154,201,9,120,101,47,138,5,33,15,225,36,18,240,130,69,53,147,218,142,150,143,219,189,54,208,206,148,19,92,210,241,64,70,131,56,102,221,253,48,191,6,139,98,179,37,226,152,34,136,145,16,126,110,72,195,163,182,30,66,58,107,40,84,250,133,61,186,43,121,10,21,155,159,94,202,78,212,172,229,243,115,167,87,175,88,168,80,244,234,214,116,79,174,233,213,231,230,173,232,44,215,117,122,235,22,11,245,89,203,95,176,156,169,81,160,127,12,246,111,23,196,73,236,216,67,31,45,164,118,123,183,204,187,62,90,251,96,177,134,59,82,161,108,170,85,41,157,151,178,135,144,97,190,220,252,188,149,207,205,55,63,91,209,83,57,132,60,65,162,109,71,20,42,158,93,86,242,211,171,68,17,146,217,35,32,46,137,180,124,184,38,119,153,227,165,103,74,237,222,197,49,254,24,13,99,140,128,192,247,112,7],f=[1,3,5,15,17,51,85,255,26,46,114,150,161,248,19,53,95,225,56,72,216,115,149,164,247,2,6,10,30,34,102,170,229,52,92,228,55,89,235,38,106,190,217,112,144,171,230,49,83,245,4,12,20,60,68,204,79,209,104,184,211,110,178,205,76,212,103,169,224,59,77,215,98,166,241,8,24,40,120,136,131,158,185,208,107,189,220,127,129,152,179,206,73,219,118,154,181,196,87,249,16,48,80,240,11,29,39,105,187,214,97,163,254,25,43,125,135,146,173,236,47,113,147,174,233,32,96,160,251,22,58,78,210,109,183,194,93,231,50,86,250,21,63,65,195,94,226,61,71,201,64,192,91,237,44,116,156,191,218,117,159,186,213,100,172,239,42,126,130,157,188,223,122,142,137,128,155,182,193,88,232,35,101,175,234,37,111,177,200,67,197,84,252,31,33,99,165,244,7,9,27,45,119,153,176,203,70,202,69,207,74,222,121,139,134,145,168,227,62,66,198,81,243,14,18,54,90,238,41,123,141,140,143,138,133,148,167,242,13,23,57,75,221,124,132,151,162,253,28,36,108,180,199,82,246,1],g=[2774754246,2222750968,2574743534,2373680118,234025727,3177933782,2976870366,1422247313,1345335392,50397442,2842126286,2099981142,436141799,1658312629,3870010189,2591454956,1170918031,2642575903,1086966153,2273148410,368769775,3948501426,3376891790,200339707,3970805057,1742001331,4255294047,3937382213,3214711843,4154762323,2524082916,1539358875,3266819957,486407649,2928907069,1780885068,1513502316,1094664062,49805301,1338821763,1546925160,4104496465,887481809,150073849,2473685474,1943591083,1395732834,1058346282,201589768,1388824469,1696801606,1589887901,672667696,2711000631,251987210,3046808111,151455502,907153956,2608889883,1038279391,652995533,1764173646,3451040383,2675275242,453576978,2659418909,1949051992,773462580,756751158,2993581788,3998898868,4221608027,4132590244,1295727478,1641469623,3467883389,2066295122,1055122397,1898917726,2542044179,4115878822,1758581177,0,753790401,1612718144,536673507,3367088505,3982187446,3194645204,1187761037,3653156455,1262041458,3729410708,3561770136,3898103984,1255133061,1808847035,720367557,3853167183,385612781,3309519750,3612167578,1429418854,2491778321,3477423498,284817897,100794884,2172616702,4031795360,1144798328,3131023141,3819481163,4082192802,4272137053,3225436288,2324664069,2912064063,3164445985,1211644016,83228145,3753688163,3249976951,1977277103,1663115586,806359072,452984805,250868733,1842533055,1288555905,336333848,890442534,804056259,3781124030,2727843637,3427026056,957814574,1472513171,4071073621,2189328124,1195195770,2892260552,3881655738,723065138,2507371494,2690670784,2558624025,3511635870,2145180835,1713513028,2116692564,2878378043,2206763019,3393603212,703524551,3552098411,1007948840,2044649127,3797835452,487262998,1994120109,1004593371,1446130276,1312438900,503974420,3679013266,168166924,1814307912,3831258296,1573044895,1859376061,4021070915,2791465668,2828112185,2761266481,937747667,2339994098,854058965,1137232011,1496790894,3077402074,2358086913,1691735473,3528347292,3769215305,3027004632,4199962284,133494003,636152527,2942657994,2390391540,3920539207,403179536,3585784431,2289596656,1864705354,1915629148,605822008,4054230615,3350508659,1371981463,602466507,2094914977,2624877800,555687742,3712699286,3703422305,2257292045,2240449039,2423288032,1111375484,3300242801,2858837708,3628615824,84083462,32962295,302911004,2741068226,1597322602,4183250862,3501832553,2441512471,1489093017,656219450,3114180135,954327513,335083755,3013122091,856756514,3144247762,1893325225,2307821063,2811532339,3063651117,572399164,2458355477,552200649,1238290055,4283782570,2015897680,2061492133,2408352771,4171342169,2156497161,386731290,3669999461,837215959,3326231172,3093850320,3275833730,2962856233,1999449434,286199582,3417354363,4233385128,3602627437,974525996],h=[1353184337,1399144830,3282310938,2522752826,3412831035,4047871263,2874735276,2466505547,1442459680,4134368941,2440481928,625738485,4242007375,3620416197,2151953702,2409849525,1230680542,1729870373,2551114309,3787521629,41234371,317738113,2744600205,3338261355,3881799427,2510066197,3950669247,3663286933,763608788,3542185048,694804553,1154009486,1787413109,2021232372,1799248025,3715217703,3058688446,397248752,1722556617,3023752829,407560035,2184256229,1613975959,1165972322,3765920945,2226023355,480281086,2485848313,1483229296,436028815,2272059028,3086515026,601060267,3791801202,1468997603,715871590,120122290,63092015,2591802758,2768779219,4068943920,2997206819,3127509762,1552029421,723308426,2461301159,4042393587,2715969870,3455375973,3586000134,526529745,2331944644,2639474228,2689987490,853641733,1978398372,971801355,2867814464,111112542,1360031421,4186579262,1023860118,2919579357,1186850381,3045938321,90031217,1876166148,4279586912,620468249,2548678102,3426959497,2006899047,3175278768,2290845959,945494503,3689859193,1191869601,3910091388,3374220536,0,2206629897,1223502642,2893025566,1316117100,4227796733,1446544655,517320253,658058550,1691946762,564550760,3511966619,976107044,2976320012,266819475,3533106868,2660342555,1338359936,2720062561,1766553434,370807324,179999714,3844776128,1138762300,488053522,185403662,2915535858,3114841645,3366526484,2233069911,1275557295,3151862254,4250959779,2670068215,3170202204,3309004356,880737115,1982415755,3703972811,1761406390,1676797112,3403428311,277177154,1076008723,538035844,2099530373,4164795346,288553390,1839278535,1261411869,4080055004,3964831245,3504587127,1813426987,2579067049,4199060497,577038663,3297574056,440397984,3626794326,4019204898,3343796615,3251714265,4272081548,906744984,3481400742,685669029,646887386,2764025151,3835509292,227702864,2613862250,1648787028,3256061430,3904428176,1593260334,4121936770,3196083615,2090061929,2838353263,3004310991,999926984,2809993232,1852021992,2075868123,158869197,4095236462,28809964,2828685187,1701746150,2129067946,147831841,3873969647,3650873274,3459673930,3557400554,3598495785,2947720241,824393514,815048134,3227951669,935087732,2798289660,2966458592,366520115,1251476721,4158319681,240176511,804688151,2379631990,1303441219,1414376140,3741619940,3820343710,461924940,3089050817,2136040774,82468509,1563790337,1937016826,776014843,1511876531,1389550482,861278441,323475053,2355222426,2047648055,2383738969,2302415851,3995576782,902390199,3991215329,1018251130,1507840668,1064563285,2043548696,3208103795,3939366739,1537932639,342834655,2262516856,2180231114,1053059257,741614648,1598071746,1925389590,203809468,2336832552,1100287487,1895934009,3736275976,2632234200,2428589668,1636092795,1890988757,1952214088,1113045200],i=[[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2]],j=[[0,1,2,3],[3,0,1,2],[2,3,0,1],[1,2,3,0]],k={16:10,24:12,32:14},l={16:176,24:208,32:240};function m(a){return a>>>8|(a&255)<<24}function n(a){return a<<8|a>>>24&255}function o(a,b){return b[a&255]|b[a>>>8&255]<<8|b[a>>>16&255]<<16|b[a>>>24&255]<<24}function p(a){var b=a&128?27:0;a<<=1,a^=b;return a}function q(a,b){return a&&b?f[(e[a]+e[b])%255]:0}function r(a,b,c){var d=[[],[],[],[]],e,f;for(f=0;f<4;++f)for(e=0;e<4;++e)d[f][e]=q(14,a[f+c]>>>(e<<3)&255)^q(11,a[f+c]>>>((e+1&3)<<3)&255)^q(13,a[f+c]>>>((e+2&3)<<3)&255)^q(9,a[f+c]>>>((e+3&3)<<3)&255);for(e=0;e<4;++e)for(f=b[e+c]=0;f<4;++f)b[e+c]|=d[e][f]<<(f<<3)}function s(a){for(var b=[],c=a.length/4,d=0;d<c;++d)b[d]=a[d<<2]|a[(d<<2)+1]<<8|a[(d<<2)+2]<<16|a[(d<<2)+3]<<24;return b}function t(a){for(var b=a.length,c=new Array(b*4),d=0,e,f=0;f<b;++f)e=a[f],c[d++]=e&255,c[d++]=e>>>8&255,c[d++]=e>>>16&255,c[d++]=e>>>24&255;return c}function u(a){var b=s(a),d=a.length/4,e,f,g=1,h=l[a.length]/4;for(e=d;e<h;++e)f=b[e-1],e%d==0?(f=o(m(f),c)^g,g=p(g)&255):d>6&&e%d==4&&(f=o(f,c)),b[e]=b[e-d]^f;var i=[];for(e=0;e<4;++e)i[e]=b[e],i[h-4+e]=b[h-4+e];for(e=4;e<h-4;e+=4)r(b,i,e);this._exk=b,this._rexk=i}function v(a,b,c,d){d<<=2;for(var e=4;--e>=0;)b[e]=a[e]^c[d|e]}function w(a){var b=this._exk,d=this._rounds,e;a=s(a),v(a,a,b,0);for(var f=[],h=1;h<d;++h){for(e=0;e<4;++e)f[e]=g[a[e]&255]^n(g[a[i[1][e]]>>>8&255]^n(g[a[i[2][e]]>>>16&255]^n(g[a[i[3][e]]>>>24&255])));v(f,a,b,h)}for(e=0;e<4;++e)f[e]=o(a[e]&255|a[i[1][e]]&65280|a[i[2][e]]&16711680|a[i[3][e]]&4278190080,c);v(f,a,b,d);return t(a)}function x(a){var b=this._rexk,c=this._rounds,e;a=s(a),v(a,a,b,c);for(var f=[],g=c;--g>0;){for(e=0;e<4;++e)f[e]=h[a[e]&255]^n(h[a[j[1][e]]>>>8&255]^n(h[a[j[2][e]]>>>16&255]^n(h[a[j[3][e]]>>>24&255])));v(f,a,b,g)}for(e=0;e<4;++e)f[e]=o(a[e]&255|a[j[1][e]]&65280|a[j[2][e]]&16711680|a[j[3][e]]&4278190080,d);v(f,a,b,0);return t(a)}b.encodeBytes=function(a){return this._mode[0].call(this,a)},b.decodeBytes=function(a){return this._mode[1].call(this,a)},b.encodeText=function(a){a=a.length+":"+a;var b=a.toBytes(),c=b.length%16;while(c++<16)b.push(32);return this.encodeBytes(b)},b.decodeText=function(a){var b=this.decodeBytes(a).bytesToString(),c=b.indexOf(":"),d=parseInt(b.substr(0,c));return b.substr(c+1).substr(0,d)},b.setIV=function(a){this._iv=a},b.getIV=function(){return this._iv},b.setTimestampIV=function(){this.setIV((new Date).getTime().hex(16).hexToBytes().concat([0,0,0,0,0,0,0,0]))};function y(a,b){b=b?x:w;for(var c=[],d=0;d<a.length;d+=16){var e=a.slice(d,d+16);e=b.call(this,e),c.push.apply(c,e)}return c}function z(a){return y.call(this,a,false)}function A(a){return y.call(this,a,true)}function B(a){var b=this._iv.slice(0),c,d,e=[],f=a.length,g;for(c=0;c<f;c+=16){for(g=b.slice(0),g=w.call(this,g),d=16;--d>=0&&!(b[d]=b[d]+1&255););for(d=16;--d>=0;)e[d+c]=g[d]^a[d+c]}return e}function C(a){var b=this._iv.slice(0),c,d,e=[],f=a.length;for(c=0;c<f;c+=16){for(d=16;--d>=0;)b[d]^=a[d+c];for(b=w.call(this,b),d=16;--d>=0;)e[d+c]=b[d]}return e}function D(a){var b=a.slice(0,16),c,d,e=[],f=a.length;for(b=x.call(this,b),d=16;--d>=0;)e[d]=b[d]^this._iv[d];for(c=16;c<f;c+=16)for(b=a.slice(c,c+16),b=x.call(this,b),d=16;--d>=0;)e[d+c]=b[d]^a[c-16+d];return e}function E(a){var b=this._iv.slice(0),c,d,e=[],f=a.length;for(c=0;c<f;c+=16){for(b=w.call(this,b),d=16;--d>=0;)b[d]^=a[d+c];e.push.apply(e,b)}return e}function F(a){var b=this._iv.slice(0),c,d,e=[],f=a.length;for(c=0;c<f;c+=16){for(b=w.call(this,b),d=16;--d>=0;)e[d+c]=b[d]^a[d+c];b=a.slice(c,c+16)}return e}function G(a){var b=this._iv.slice(0),c,d,e=[],f=a.length;for(c=0;c<f;c+=16)for(b=w.call(this,b),d=16;--d>=0;)e[d+c]=b[d]^a[d+c];return e}var H={ECB:[z,A],CBC:[C,D],CFB:[E,F],OFB:[G,G],CTR:[B,B]}}) \ No newline at end of file
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/md5.js b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/md5.js
new file mode 100644
index 0000000..d62b17e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/md5.js
@@ -0,0 +1,10 @@
+/*
+ * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
+ * Digest Algorithm, as defined in RFC 1321.
+ * Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.
+ * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
+ * Distributed under the BSD License
+ * See http://pajhome.org.uk/crypt/md5 for more info.
+ *
+ * Adapted for DynarchLIB by Mihai Bazon.
+ */(function(){var a=0,b="",c=8;window.hex_md5=function(a){return p(e(n(a),a.length*c))},window.b64_md5=function(a){return q(e(n(a),a.length*c))},window.str_md5=function(a){return o(e(n(a),a.length*c))},window.hex_hmac_md5=function(a,b){return p(k(a,b))},window.b64_hmac_md5=function(a,b){return q(k(a,b))},window.str_hmac_md5=function(a,b){return o(k(a,b))};function d(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function e(a,b){a[b>>5]|=128<<b%32,a[(b+64>>>9<<4)+14]=b;for(var c=1732584193,d=-271733879,e=-1732584194,f=271733878,k=0;k<a.length;k+=16){var m=c,n=d,o=e,p=f;c=g(c,d,e,f,a[k+0],7,-680876936),f=g(f,c,d,e,a[k+1],12,-389564586),e=g(e,f,c,d,a[k+2],17,606105819),d=g(d,e,f,c,a[k+3],22,-1044525330),c=g(c,d,e,f,a[k+4],7,-176418897),f=g(f,c,d,e,a[k+5],12,1200080426),e=g(e,f,c,d,a[k+6],17,-1473231341),d=g(d,e,f,c,a[k+7],22,-45705983),c=g(c,d,e,f,a[k+8],7,1770035416),f=g(f,c,d,e,a[k+9],12,-1958414417),e=g(e,f,c,d,a[k+10],17,-42063),d=g(d,e,f,c,a[k+11],22,-1990404162),c=g(c,d,e,f,a[k+12],7,1804603682),f=g(f,c,d,e,a[k+13],12,-40341101),e=g(e,f,c,d,a[k+14],17,-1502002290),d=g(d,e,f,c,a[k+15],22,1236535329),c=h(c,d,e,f,a[k+1],5,-165796510),f=h(f,c,d,e,a[k+6],9,-1069501632),e=h(e,f,c,d,a[k+11],14,643717713),d=h(d,e,f,c,a[k+0],20,-373897302),c=h(c,d,e,f,a[k+5],5,-701558691),f=h(f,c,d,e,a[k+10],9,38016083),e=h(e,f,c,d,a[k+15],14,-660478335),d=h(d,e,f,c,a[k+4],20,-405537848),c=h(c,d,e,f,a[k+9],5,568446438),f=h(f,c,d,e,a[k+14],9,-1019803690),e=h(e,f,c,d,a[k+3],14,-187363961),d=h(d,e,f,c,a[k+8],20,1163531501),c=h(c,d,e,f,a[k+13],5,-1444681467),f=h(f,c,d,e,a[k+2],9,-51403784),e=h(e,f,c,d,a[k+7],14,1735328473),d=h(d,e,f,c,a[k+12],20,-1926607734),c=i(c,d,e,f,a[k+5],4,-378558),f=i(f,c,d,e,a[k+8],11,-2022574463),e=i(e,f,c,d,a[k+11],16,1839030562),d=i(d,e,f,c,a[k+14],23,-35309556),c=i(c,d,e,f,a[k+1],4,-1530992060),f=i(f,c,d,e,a[k+4],11,1272893353),e=i(e,f,c,d,a[k+7],16,-155497632),d=i(d,e,f,c,a[k+10],23,-1094730640),c=i(c,d,e,f,a[k+13],4,681279174),f=i(f,c,d,e,a[k+0],11,-358537222),e=i(e,f,c,d,a[k+3],16,-722521979),d=i(d,e,f,c,a[k+6],23,76029189),c=i(c,d,e,f,a[k+9],4,-640364487),f=i(f,c,d,e,a[k+12],11,-421815835),e=i(e,f,c,d,a[k+15],16,530742520),d=i(d,e,f,c,a[k+2],23,-995338651),c=j(c,d,e,f,a[k+0],6,-198630844),f=j(f,c,d,e,a[k+7],10,1126891415),e=j(e,f,c,d,a[k+14],15,-1416354905),d=j(d,e,f,c,a[k+5],21,-57434055),c=j(c,d,e,f,a[k+12],6,1700485571),f=j(f,c,d,e,a[k+3],10,-1894986606),e=j(e,f,c,d,a[k+10],15,-1051523),d=j(d,e,f,c,a[k+1],21,-2054922799),c=j(c,d,e,f,a[k+8],6,1873313359),f=j(f,c,d,e,a[k+15],10,-30611744),e=j(e,f,c,d,a[k+6],15,-1560198380),d=j(d,e,f,c,a[k+13],21,1309151649),c=j(c,d,e,f,a[k+4],6,-145523070),f=j(f,c,d,e,a[k+11],10,-1120210379),e=j(e,f,c,d,a[k+2],15,718787259),d=j(d,e,f,c,a[k+9],21,-343485551),c=l(c,m),d=l(d,n),e=l(e,o),f=l(f,p)}return Array(c,d,e,f)}function f(a,b,c,d,e,f){return l(m(l(l(b,a),l(d,f)),e),c)}function g(a,b,c,d,e,g,h){return f(b&c|~b&d,a,b,e,g,h)}function h(a,b,c,d,e,g,h){return f(b&d|c&~d,a,b,e,g,h)}function i(a,b,c,d,e,g,h){return f(b^c^d,a,b,e,g,h)}function j(a,b,c,d,e,g,h){return f(c^(b|~d),a,b,e,g,h)}function k(a,b){var d=n(a);d.length>16&&(d=e(d,a.length*c));for(var f=Array(16),g=Array(16),h=0;h<16;h++)f[h]=d[h]^909522486,g[h]=d[h]^1549556828;var i=e(f.concat(n(b)),512+b.length*c);return e(g.concat(i),640)}function l(a,b){var c=(a&65535)+(b&65535),d=(a>>16)+(b>>16)+(c>>16);return d<<16|c&65535}function m(a,b){return a<<b|a>>>32-b}function n(a){for(var b=Array(),d=(1<<c)-1,e=0;e<a.length*c;e+=c)b[e>>5]|=(a.charCodeAt(e/c)&d)<<e%32;return b}function o(a){for(var b="",d=(1<<c)-1,e=0;e<a.length*32;e+=c)b+=String.fromCharCode(a[e>>5]>>>e%32&d);return b}function p(b){for(var c=a?"0123456789ABCDEF":"0123456789abcdef",d="",e=0;e<b.length*4;e++)d+=c.charAt(b[e>>2]>>e%4*8+4&15)+c.charAt(b[e>>2]>>e%4*8&15);return d}function q(a){for(var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d="",e=0;e<a.length*4;e+=3)for(var f=(a[e>>2]>>8*(e%4)&255)<<16|(a[e+1>>2]>>8*((e+1)%4)&255)<<8|a[e+2>>2]>>8*((e+2)%4)&255,g=0;g<4;g++)e*8+g*6>a.length*32?d+=b:d+=c.charAt(f>>6*(3-g)&63);return d}})() \ No newline at end of file
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/sha1.js b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/sha1.js
new file mode 100644
index 0000000..aabb2e7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/extras/sha1.js
@@ -0,0 +1,10 @@
+/*
+ * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
+ * in FIPS PUB 180-1
+ * Version 2.1a Copyright Paul Johnston 2000 - 2002.
+ * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
+ * Distributed under the BSD License
+ * See http://pajhome.org.uk/crypt/md5 for details.
+ *
+ * Adapted for DynarchLIB by Mihai Bazon.
+ */(function(){var a=0,b="",c=8;window.hex_sha1=function(a){return m(e(k(a),a.length*c))},window.b64_sha1=function(a){return n(e(k(a),a.length*c))},window.str_sha1=function(a){return l(e(k(a),a.length*c))},window.hex_hmac_sha1=function(a,b){return m(h(a,b))},window.b64_hmac_sha1=function(a,b){return n(h(a,b))},window.str_hmac_sha1=function(a,b){return l(h(a,b))};function d(){return hex_sha1("abc")=="a9993e364706816aba3e25717850c26c9cd0d89d"}function e(a,b){a[b>>5]|=128<<24-b%32,a[(b+64>>9<<4)+15]=b;for(var c=Array(80),d=1732584193,e=-271733879,h=-1732584194,k=271733878,l=-1009589776,m=0;m<a.length;m+=16){for(var n=d,o=e,p=h,q=k,r=l,s=0;s<80;s++){s<16?c[s]=a[m+s]:c[s]=j(c[s-3]^c[s-8]^c[s-14]^c[s-16],1);var t=i(i(j(d,5),f(s,e,h,k)),i(i(l,c[s]),g(s)));l=k,k=h,h=j(e,30),e=d,d=t}d=i(d,n),e=i(e,o),h=i(h,p),k=i(k,q),l=i(l,r)}return Array(d,e,h,k,l)}function f(a,b,c,d){if(a<20)return b&c|~b&d;if(a<40)return b^c^d;if(a<60)return b&c|b&d|c&d;return b^c^d}function g(a){return a<20?1518500249:a<40?1859775393:a<60?-1894007588:-899497514}function h(a,b){var d=k(a);d.length>16&&(d=e(d,a.length*c));for(var f=Array(16),g=Array(16),h=0;h<16;h++)f[h]=d[h]^909522486,g[h]=d[h]^1549556828;var i=e(f.concat(k(b)),512+b.length*c);return e(g.concat(i),672)}function i(a,b){var c=(a&65535)+(b&65535),d=(a>>16)+(b>>16)+(c>>16);return d<<16|c&65535}function j(a,b){return a<<b|a>>>32-b}function k(a){for(var b=Array(),d=(1<<c)-1,e=0;e<a.length*c;e+=c)b[e>>5]|=(a.charCodeAt(e/c)&d)<<32-c-e%32;return b}function l(a){for(var b="",d=(1<<c)-1,e=0;e<a.length*32;e+=c)b+=String.fromCharCode(a[e>>5]>>>32-c-e%32&d);return b}function m(b){for(var c=a?"0123456789ABCDEF":"0123456789abcdef",d="",e=0;e<b.length*4;e++)d+=c.charAt(b[e>>2]>>(3-e%4)*8+4&15)+c.charAt(b[e>>2]>>(3-e%4)*8&15);return d}function n(a){for(var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d="",e=0;e<a.length*4;e+=3)for(var f=(a[e>>2]>>8*(3-e%4)&255)<<16|(a[e+1>>2]>>8*(3-(e+1)%4)&255)<<8|a[e+2>>2]>>8*(3-(e+2)%4)&255,g=0;g<4;g++)e*8+g*6>a.length*32?d+=b:d+=c.charAt(f>>6*(3-g)&63);return d}})() \ No newline at end of file
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/html/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/html/.svn/all-wcprops
new file mode 100644
index 0000000..7ecdda3
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/html/.svn/all-wcprops
@@ -0,0 +1,11 @@
+K 25
+svn:wc:ra_dav:version-url
+V 42
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/html
+END
+dlconsole.html
+K 25
+svn:wc:ra_dav:version-url
+V 57
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/html/dlconsole.html
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/html/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/html/.svn/entries
new file mode 100644
index 0000000..8a5b8e4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/html/.svn/entries
@@ -0,0 +1,62 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/html
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+dlconsole.html
+file
+
+
+
+
+2012-01-23T13:07:09.433349Z
+e913868d2a4b8103295664db46d00877
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+214
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/html/.svn/text-base/dlconsole.html.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/html/.svn/text-base/dlconsole.html.svn-base
new file mode 100644
index 0000000..1d398e5
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/html/.svn/text-base/dlconsole.html.svn-base
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <link type="text/css" rel="stylesheet" href="../css/dlconsole.css" />
+ <title>DlConsole</title>
+ </head>
+ <body onload="window.opener.DlConsole.INSTANCE._loaded(window)">
+ </body>
+</html>
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/html/dlconsole.html b/gstudio/static/gstudio/js/Gnowmacs/test/dl/html/dlconsole.html
new file mode 100644
index 0000000..1d398e5
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/html/dlconsole.html
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <link type="text/css" rel="stylesheet" href="../css/dlconsole.css" />
+ <title>DlConsole</title>
+ </head>
+ <body onload="window.opener.DlConsole.INSTANCE._loaded(window)">
+ </body>
+</html>
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/js/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/js/.svn/all-wcprops
new file mode 100644
index 0000000..f8f356c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/js/.svn/all-wcprops
@@ -0,0 +1,11 @@
+K 25
+svn:wc:ra_dav:version-url
+V 40
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/js
+END
+thelib.js
+K 25
+svn:wc:ra_dav:version-url
+V 50
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/js/thelib.js
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/js/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/js/.svn/entries
new file mode 100644
index 0000000..c053976
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/js/.svn/entries
@@ -0,0 +1,62 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/js
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+thelib.js
+file
+
+
+
+
+2012-01-23T13:07:10.321353Z
+c3a2d1bafc610a169418e7f24ee3ad81
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+245810
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/js/.svn/text-base/thelib.js.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/js/.svn/text-base/thelib.js.svn-base
new file mode 100644
index 0000000..7c7de72
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/js/.svn/text-base/thelib.js.svn-base
@@ -0,0 +1,11 @@
+/*
+ * DynarchLIB version: 2.0
+ * ____ _____
+ * A lightweight JavaScript toolkit for professionals. \ /_ / /
+ * \ / / /
+ * Copyright (c) Dynarch.com 2005-2010. All rights reserved. \/ /_ /
+ * See http://www.dynarchlib.com/licensing for licensing details. \ / /
+ * / /
+ * this package built at 2010/11/06 15:11 GMT \/
+ */
+DlTEXTS={goToday:"Go Today",_date_monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],_date_shortMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],_date_dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],_date_shortDayNames:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],_date_firstDayOfWeek:1};try{document.execCommand("BackgroundImageCache",false,true)}catch(a){}var CE_CACHE={HTML_ESCAPE_DIV:document.createElement("div"),HTML_ESCAPE_TEXT:document.createTextNode(""),CONTAINER:document.createElement("div")};CE_CACHE.HTML_ESCAPE_DIV.appendChild(CE_CACHE.HTML_ESCAPE_TEXT),Array.$=function(a,b){b==null&&(b=0);var c,d,e;try{c=Array.prototype.slice.call(a,b)}catch(f){for(c=new Array(a.length-b),d=b,e=0;d<a.length;++d,++e)c[e]=a[d]}return c},Object.merge=function(a,b){a==null&&(a={});if(b)for(var c in b)a[c]=b[c];return a},Object.merge(Object,{mergeDefined:function(a,b){for(var c in b)typeof b[c]!="undefined"&&(a[c]=b[c]);return a},mergeUndefined:function(a,b){for(var c in b)c in a||(a[c]=b[c]);return a},remove:function(a,b){for(var c=b.length;--c>=0;)delete a[b[c]]},isEmpty:function(a){for(var b in a)return false;return true},makeCopy:function(a){var b,c={};for(b in a)c[b]=a[b];return c},makeDeepCopy:function(a){if(a instanceof Array){var b=[],c=a.length;while(--c>=0)b[c]=Object.makeDeepCopy(a[c]);return b}if(a===null)return null;if(a instanceof Date)return new Date(a);if(a instanceof Object){var c,d={};for(c in a)d[c]=Object.makeDeepCopy(a[c]);return d}return a},makeShortcuts:function(a,b){for(var c in b)a[c]=a[b[c]]},foreach:function(a,b,c){for(var d in a)try{b.call(c,a[d],d)}catch(a){if(a===$_BREAK)break;if(a===$_CONTINUE)continue;if(a instanceof $_RETURN)return a.args;throw a}},map:function(a,b,c){var d=[];for(var e in a)if(a.hasOwnProperty(e))try{d.push(b.call(c,a[e],e))}catch(a){if(a===$_BREAK)break;if(a===$_CONTINUE)continue;if(a instanceof $_RETURN)return a.args;throw a}return d},curry2:function(a){a instanceof Function||(a=this[a]);return a.$A(this,Array.$(arguments,1))},HOP:function(a,b){return Object.prototype.hasOwnProperty.call(a,b)}}),Object.merge(Function,{INHERITANCE:{},getInheritanceGraph:function(){return Function.INHERITANCE},noop:function(){},identity:function(a){return a},returnTrue:function(){return true},returnFalse:function(){return false},invoke:function(a){return a()}});var $__JSOOP=new Function.noop;Object.merge(Function.prototype,{$:Function.prototype.closure=function(a){var b=Array.$(arguments,1),c=this;return a==window.undefined?function(){return c.apply(this,b.concat(Array.$(arguments)))}:function(){return c.apply(a,b.concat(Array.$(arguments)))}},$0:function(a){var b=this,c=Array.$(arguments,1);return function(){return b.apply(a,c)}},inherits:function(a,b){var c=this.prototype=new a($__JSOOP);c.constructor=this,this.BASE=a.prototype,Function.INHERITANCE[this.name=this._objectType=c._objectType=b||Dynarch.getFunctionName(this)]=Dynarch.getFunctionName(a);return this.BASE},setDefaults:function(a,b,c){return Dynarch.setDefaults.call(a,this.DEFAULT_ARGS,b,c)},$$:function(a){return this.$.apply(this,a)},$A:function(a,b){return this.$.apply(this,[a].concat(b))},$C:function(){var a=Array.$(arguments),b=this;return function(){return b.apply(null,a.concat(Array.$(arguments)))}},inverse:function(){var a=this;return function(){return!a.apply(this,arguments)}},clearingTimeout:function(a,b){var c=null,d=this,e=Array.$(arguments,2),f=function(){c&&clearTimeout(c),c=setTimeout(d.$A(b==null?this:b,e.concat(Array.$(arguments))),a)};f.cancel=function(){clearTimeout(c)},f.doItNow=function(){clearTimeout(c),d.apply(b,e.concat(Array.$(arguments)))};return f},rarify:function(a,b){var c=this.$$(Array.$(arguments,2)),d=this.clearingTimeout.apply(this,Array.$(arguments,1)),e=a,f=null,g=function(){e=a};return function(){f&&clearTimeout(f),f=setTimeout(g,b);if(e-->0)return c.apply(this,arguments);return d.apply(this,arguments)}},delayed:function(a){var b=arguments.length>1?this.$$(Array.$(arguments,1)):this;return setTimeout(b,a)},setInterval:function(a){var b=arguments.length>1?this.$$(Array.$(arguments,1)):this;setTimeout(b,0);return setInterval(b,a)},inject:function(a){a==null&&(a=this.OBJECT_EXTENSIONS),Object.merge(this.prototype,a);return this},memoize:function(){var a=this,b=$__JSOOP;return function(){b===$__JSOOP&&(b=a.apply(this,arguments));return b}}}),Object.merge(Array,{hashKeys:function(a){var b=[],c=0,d;for(d in a)a.hasOwnProperty(d)&&(b[c++]=d);return b},hashValues:function(a){var b=[],c=0,d;for(d in a)a.hasOwnProperty(d)&&(b[c++]=a[d]);return b}});function $_YIELD(a){this.timeout=a||0}var $_BREAK={},$_CONTINUE={};function $_RETURN(a){this.args=a}function $YIELD(a){throw new $_YIELD(a)}function $BREAK(){throw $_BREAK}function $CONTINUE(){throw $_CONTINUE}function $RETURN(a){throw new $_RETURN(a)}Array.inject({map_hash:function(a,b,c){c||(c={}),this.foreach(a instanceof Function?function(d){c[d]=a.call(b,d)}:function(b){c[b]=a[b]});return c},accumulate:function(a,b){arguments.length<2&&(b=0);for(var c=0;c<this.length;++c)b=a(this[c],b,c);return b},foreach:function(a,b){b==null&&(b=this);var c=0,d=this.length;while(d-->0)try{a.call(b,this[c],c++)}catch(a){if(a===$_BREAK)break;if(a===$_CONTINUE)continue;if(a instanceof $_RETURN)return a.args;throw a}},r_foreach:function(a,b){b==null&&(b=this);for(var c=this.length;--c>=0;)try{a.call(b,this[c],c)}catch(a){if(a===$_BREAK)break;if(a===$_CONTINUE)continue;if(a instanceof $_RETURN)return a.args;throw a}},assign_each:function(a,b){return this.foreach(function(c,d){this[d]=a.call(b,d,c)})},r_assign_each:function(a,b){return this.r_foreach(function(c,d){this[d]=a.call(b,d,c)})},toHash:function(a,b){var c={};a instanceof Function?this.foreach(function(d,e){c[d]=a.call(b,d,e)}):this.foreach(function(b,d){c[b]=a!=null?a:d+1});return c},toHash2:function(){var a={},b=0;while(b<this.length)a[this[b++]]=this[b++];return a},toHash3:function(a,b){var c={};a instanceof Function?this.foreach(function(d,e){var f=a.call(b!=null?b:d,d,e);c[f[0]]=f[1]}):this.foreach(function(b){c[b[a]]=b});return c},map:function(a,b){var c=0,d=this.length,e=[],f,g;if(a instanceof Function){b==null&&(b=this);while(d-->0)try{e.push(a.call(b,this[c],c++))}catch(a){if(a===$_BREAK)break;if(a===$_CONTINUE)continue;if(a instanceof $_RETURN){e.push(a.args);break}throw a}}else{f=Array.$(arguments,1);while(d-->0)b=this[c],e[c++]=(g=b[a])instanceof Function?g.apply(b,f):g}return e},r_map:function(a,b){var c=this.length,d=[],e;if(a instanceof Function){b==null&&(b=this);while(--c>=0)try{d.push(a.call(b,this[c],c))}catch(a){if(a===$_BREAK)break;if(a===$_CONTINUE)continue;if(a instanceof $_RETURN){d.push(a.args);break}throw a}}else{var f=Array.$(arguments,1);while(--c>=0)b=this[c],d[c]=(e=b[a])instanceof Function?e.apply(b,f):e}return d.reverse()},keys_map:function(a){return this.map(function(b){return a[b]})},grep:function(a,b){var c=0,d=this.length,e=[],f,g,h;if(a instanceof RegExp)while(d-->0)f=this[c++],a.test(f)&&e.push(f);else if(a instanceof Function){b==null&&(b=this);while(d-->0)f=this[c],a.call(b,f,c++)&&e.push(f)}else{g=Array.$(arguments,1);while(d-->0)b=this[c++],(h=b[a])instanceof Function?h.apply(b,g)&&e.push(b):h&&e.push(b)}return e},grep_last:function(a,b){b==null&&(b=this.length-1);while(b>=0){var c=this[b--];if(a(c))return c}return null},grep_first:function(a,b){for(b=b||0;b<this.length;++b){var c=this[b];if(a(c))return c}return null},contains:function(a){for(var b=this.length;--b>=0;)if(this[b]===a)return true;return false},any:function(a,b){if(a instanceof Function){b==null&&(b=this);for(var c=this.length;--c>=0;)if(a.call(b,this[c],c))return true}else for(var d=Array.$(arguments,1),e,c=this.length;--c>=0;){b=this[c];if((e=b[a])instanceof Function){if(e.apply(b,d))return true}else if(e)return true}return false},find:function(a){for(var b=this.length;--b>=0;)if(this[b]===a)return b;return-1},remove:function(a){for(var b=this.length;--b>=0;)this[b]===a&&this.splice(b,1);return this},pushUnique:function(a){if(this.find(a)<0){this.push(a);return this.length}return null},peek:function(a){if(this.length>0)return this[this.length-1-(a!=null?Math.abs(a):0)]},min:function(a,b){if(this.length==0)return null;if(arguments.length>0){for(var c=a!=null?a.call(b,this[0],0):this[0],d=1;d<this.length;++d)c=Math.min(c,a!=null?a.call(b,this[d],d):this[d]);return c}return Math.min.apply(Math,this)},minElement:function(a,b,c){if(this.length==0)return null;var d=0,e=this[0],f=a.call(b,e),g=0,h;while(++d<this.length)(h=a.call(b,this[d]))<f&&(f=h,g=d,e=this[d]);c&&this.splice(g,1);return e},max:function(a,b){if(this.length==0)return null;if(arguments.length>0){for(var c=a!=null?a.call(b,this[0],0):this[0],d=1;d<this.length;++d)c=Math.max(c,a!=null?a.call(b,this[d],d):this[d]);return c}return Math.max.apply(Math,this)},maxElement:function(a,b,c){if(this.length==0)return null;var d=0,e=this[0],f=a.call(b,e),g=0,h;while(++d<this.length)(h=a.call(b,this[d]))>f&&(f=h,g=d,e=this[d]);c&&this.splice(g,1);return e},rotateIndex:function(a){return Math.rotateLimit(a,0,this.length-1)},limitIndex:function(a){return Math.limit(a,0,this.length-1)},nullLimitIndex:function(a){return Math.nullLimit(a,0,this.length-1)},bytesToString:function(){var a="",b=0,c;while(b<this.length)c=this[b++],c&240^240?c&224^224?c&192^192||(c=(c&31)<<6|this[b++]&63):c=(c&15)<<12|(this[b++]&63)<<6|this[b++]&63:c=(c&3)<<18|(this[b++]&63)<<12|(this[b++]&63)<<6|this[b++]&63,a+=String.fromCharCode(c);return a},repeat:function(a){if(a==0)return[];if(a==1)return this;var b=this.repeat(a>>1);b=b.concat(b),a&1&&(b=b.concat(this));return b},common_prefix:function(){switch(this.length){case 0:return"";case 1:return this[0];case 2:var a=this[0],b=this[1],c=Math.min(a.length,b.length),d=0;while(d<c&&a.charAt(d)===b.charAt(d))++d;return a.substring(0,d);default:return[this[0],this.slice(1).common_prefix()].common_prefix()}},append:function(a){this.push.apply(this,a)},prepend:function(a){this.unshift.apply(this,a)},toXML:function(){var a=this[0];if(a=="~literal")return this.slice(1).flatJoin();var b="<"+a,c=1,d=this[1];typeof d=="object"&&(Object.foreach(d,function(a,c){c.charAt(0)=="$"&&(c=c.substr(1)),b+=" "+c.htmlEscape()+"=\"",typeof a=="object"?b+=Object.map(a,function(a,b){b=b.replace(/([a-z]?)([A-Z])/g,function(a,b,c){return b+"-"+c.toLowerCase()});return b.htmlEscape()+": "+a.htmlEscape()}).join("; "):b+=a.htmlEscape(),b+="\""}),++c),b+=">";while(c<this.length)(d=this[c++])instanceof Array?b+=d.toXML():b+=String(d).htmlEscape();return b+"</"+a+">"}}),Number.inject({map:function(a,b){return a+(b-a)*this},reduce:function(a,b){return(this-a)/(b-a)},mapInt:function(a,b){return Math.round(this.map(a,b))},reduceInt:function(a,b){return Math.round((this-a)/(b-a))},bits1Array:function(){var a=this,b=[],c=1,d=0;while(a>0)a&1&&(b[d++]=c),c=c<<1,a=a>>1;return b},times:function(a,b){var c=this,d=0;while(--c>=0)a.call(b,d++,c)},hex:function(a){var b=this.toString(16).toUpperCase();if(a)while(b.length<a)b="0"+b;return b},zeroPad:function(a,b){var c=""+Math.round(this);b==null&&(b="0");while(c.length<a)c=b+c;return c},formatTime:function(){var a=this,b,c;c=a/60,a%=60,b=c/60,c%=60;return[b,c,a].map("zeroPad",2).join(":")},toDate:function(a,b,c,d){return Date.intToDate(this,a,b,c,d)},limit:function(a,b){return Math.limit(this,a,b)},rotateLimit:function(a,b){return Math.rotateLimit(this,a,b)},nullLimit:function(a,b){return Math.nullLimit(this,a,b)},i18n:function(a){var b=this;arguments.length>1?a=Array.$(arguments):a=a.trim().split(/\s*\|\s*/),a=b<a.length?a[b]:a[a.length-1];return a.replace(/##?/g,function(a){return a.length==2?"#":b})}}),Object.merge(Math,{nullLimit:function(a,b,c){a<b&&(a=null),a>c&&(a=null);return a},limit:function(a,b,c){a<b&&(a=b),a>c&&(a=c);return a+0},rotateLimit:function(a,b,c){c++,a=a%(c-b),a<0?a=c+a:a<b&&(a=b-a);return a+0}}),Object.merge(Date,{_MD:[31,28,31,30,31,30,31,31,30,31,30,31],SECOND:1e3,MINUTE:6e4,HOUR:36e5,DAY:864e5,WEEK:6048e5,_MN:DlTEXTS._date_monthNames,_SMN:DlTEXTS._date_shortMonthNames,_DN:DlTEXTS._date_dayNames,_SDN:DlTEXTS._date_shortDayNames,_FDOW:DlTEXTS._date_firstDayOfWeek,isWeekend:function(a){return a==0||a==6},parseMySQL:function(a,b){var c=a.split(/\s+/),d=c[0].split(/-/),e=c[1].split(/:/),f;f=new Date(d[0],d[1]-1,d[2],e[0]||null,e[1]||null,e[2]||null),b&&(f.setUTCMilliseconds(0),f.setUTCSeconds(e[2]||0),f.setUTCMinutes(e[1]||0),f.setUTCHours(e[0]||0),f.setUTCDate(1),f.setUTCMonth(d[1]-1),f.setUTCDate(d[2]),f.setUTCFullYear(d[0]));return f},dateToInt:function(a){if(a instanceof Date)return 1e4*a.getFullYear()+100*(a.getMonth()+1)+a.getDate();if(typeof a=="string")return parseInt(a,10);return a},intToDate:function(a,b,c,d,e){if(!(a instanceof Date)){a=parseInt(a,10);var f=Math.floor(a/1e4);a=a%1e4;var g=Math.floor(a/100);a=a%100,a=new Date(f,g-1,a,b||12,c||0,d||0,e||0)}return a},getMonthName:function(a,b){var c=b?Date._SMN:Date._MN;return c[a%12]},getFirstDayOfWeek:function(){return Date._FDOW},getDayName:function(a,b){var c=b?Date._SDN:Date._DN;return c[a%7]}}),Date.now||(Date.now=function(){return(new Date).getTime()}),Date.inject({toInt:function(){return Date.dateToInt(this)},getMonthDays:function(a){var b=this.getFullYear();a==null&&(a=this.getMonth());return 0==b%4&&(0!=b%100||0==b%400)&&a==1?29:Date._MD[a]},getDayOfYear:function(){var a=new Date(this.getFullYear(),this.getMonth(),this.getDate(),0,0,0),b=new Date(this.getFullYear(),0,0,0,0,0),c=a-b;return Math.floor(c/Date.DAY)},getWeekNumber:function(){var a=new Date(this.getFullYear(),this.getMonth(),this.getDate(),0,0,0),b=a.getDay();a.setDate(a.getDate()-(b+6)%7+3);var c=a.valueOf();a.setMonth(0),a.setDate(4);return Math.round((c-a.valueOf())/6048e5)+1},dateEqualsTo:function(a,b){return this.getFullYear()==a.getFullYear()&&this.getMonth()==a.getMonth()&&(b||this.getDate()==a.getDate())},print:function(a){var b=this.getMonth(),c=this.getDate(),d=this.getFullYear(),e=this.getWeekNumber(),f=this.getDay(),g={},h=this.getHours(),i=h>=12,j=i?h-12:h,k=this.getDayOfYear();j==0&&(j=12);var l=this.getMinutes(),m=this.getSeconds();g["%a"]=Date.getDayName(f,true),g["%A"]=Date.getDayName(f),g["%b"]=Date.getMonthName(b,true),g["%B"]=Date.getMonthName(b),g["%C"]=1+Math.floor(d/100),g["%d"]=c<10?"0"+c:c,g["%e"]=c,g["%H"]=h<10?"0"+h:h,g["%I"]=j<10?"0"+j:j,g["%j"]=k<100?k<10?"00"+k:"0"+k:k,g["%k"]=h,g["%l"]=j,g["%m"]=b<9?"0"+(1+b):1+b,g["%M"]=l<10?"0"+l:l,g["%n"]="\n",g["%p"]=i?"PM":"AM",g["%P"]=i?"pm":"am",g["%s"]=Math.floor(this.getTime()/1e3),g["%S"]=m<10?"0"+m:m,g["%t"]="\t",g["%U"]=g["%W"]=g["%V"]=e<10?"0"+e:e,g["%u"]=f+1,g["%w"]=f,g["%y"]=(""+d).substr(2,2),g["%Y"]=d,g["%%"]="%";var n=/%./g;return a.replace(n,function(a){return g[a]||a})}}),String.inject({breakable:function(a){a||(a=/([_.-])/g);return this.replace(a,"$1<span class='BreakPoint'> </span>")},printf:function(){var a=Array.$(arguments),b=0;return this.replace(/%[sdfo%]/g,function(c){c=c.charAt(1);var d=a[b++];switch(c){case"s":return d.toString();case"d":return parseInt(d);case"f":return parseFloat(d).toFixed(3);case"o":return d;case"%":return"%"}return"undefined"})},fixedWidth:function(a){return String.buffer("<div style='width:",a,"'>",this,"</div>").get()},noWrap:function(){return this.replace(/\x20/g,"&nbsp;")},lastIndexOfRegexp:function(a,b){var c,d=0;a.lastIndex=0,a.global=true;while(c=a.exec(this)){if(a.lastIndex>=b)break;d=a.lastIndex}return d},hashWords:function(a){return this.trim().split(/\s+/).toHash(arguments.length>0?a:true)},arrayWords:function(){return this.trim().split(/\s+/)},trim:function(a,b){var c=a?this:this.replace(/^\s+/,"");b||(c=c.replace(/\s+$/,""));return c},htmlEscapeFull:function(){return this.replace(/&/g,"&amp;").replace(/\x22/g,"&quot;").replace(/\x27/g,"&#x27;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\u00A0/g,"&#xa0;")},decodeJSON:function(a){return DlJSON.decode(this,a)},makeLabel:function(){return this.replace(/\s+/g,"&nbsp;")},capitalizeString:function(){return this.charAt(0).toUpperCase()+this.substr(1)},htmlEmbed:function(a,b){var c=["<",a];b!=null&&c.push(" class='",b,"'"),c.push(">",this,"</",a,">");return c.join("")},repeat:function(a){if(a==0)return"";if(a==1)return""+this;var b=this.repeat(a>>1);b+=b,a&1&&(b+=this);return b},hexToBytes:function(a){var b=[],c=0,d=this;a&&(d=d.replace(/[^0-9a-f]/ig,"")),d.length&1&&(d="0"+d);while(c<d.length)b.push(parseInt(d.substr(c,2),16)),c++,c++;return b},toBytes:function(){var a=this.length,b=0,c=0,d,e=[];while(--a>=0)d=this.charCodeAt(c++),d<128?e[b++]=d:d<2048?(e[b++]=192|d>>>6&31,e[b++]=128|d&63):d<65536?(e[b++]=224|d>>>12&15,e[b++]=128|d>>>6&63,e[b++]=128|d&63):d<1114112&&(e[b++]=240|d>>>18&3,e[b++]=128|d>>>12&63,e[b++]=128|d>>>6&63,e[b++]=128|d&63);return e}}),function(){var a=navigator.userAgent;is_opera=/opera/i.test(a),is_ie5=(is_ie=/msie/i.test(a)&&!is_opera&&!/mac_powerpc/i.test(a))&&/msie 5\.[^5]/i.test(a),is_ie6=is_ie&&/msie 6/i.test(a),is_ie7=is_ie&&/msie 7/i.test(a),is_ie8=is_ie&&/msie 8/i.test(a),ie_box_model=is_ie&&document.compatMode&&document.compatMode=="BackCompat",is_mac_ie=/msie.*mac/i.test(a),is_khtml=/Konqueror|Safari|KHTML/i.test(a),is_safari3=(is_safari=/Safari/i.test(a))&&/Version\/3/i.test(a),is_konqueror=is_khtml&&!is_safari3,is_gecko=/gecko/i.test(a)&&!is_khtml&&!is_opera&&!is_ie,is_chrome=/Chrome/i.test(a),is_w3=!is_ie,is_macintosh=/Macintosh/i.test(a),is_gecko&&/rv:\s*([0-9.]+)/.test(a)&&(gecko_version=parseFloat(RegExp.$1));var b=Array.prototype,c=Date.prototype,d=String.prototype,e=Number.prototype;function f(a,b){return b?a instanceof Function?function(b,c){return a(c,b)}:function(a,b){return b<a?-1:b>a?1:0}:a instanceof Function?a:function(a,b){return a<b?-1:a>b?1:0}}b.mergeSort=function(a,b){if(this.length<2)return Array.$(this);var c=f(a,b);function d(a,b){var d=[],e=0,f=0,g=0;while(e<a.length&&f<b.length)c(a[e],b[f])<=0?d[g++]=a[e++]:d[g++]=b[f++];e<a.length&&d.push.apply(d,a.slice(e)),f<b.length&&d.push.apply(d,b.slice(f));return d}function e(a){if(a.length<=1)return a;var b=Math.floor(a.length/2),c=a.slice(0,b),f=a.slice(b);c=e(c),f=e(f);return d(c,f)}return e(this)},b.qsort=function(a,b){if(!(this.length<2)){var c=f(a,b),d=this,e,g=false;function h(a,b){var f=a,i=b,j=false;if(f<i){do c(d[f],d[i])>0&&(e=d[f],d[f]=d[i],d[i]=e,j=!j,g=true),j?--i:++f;while(f<i);h(a,f-1),h(f+1,b)}}h(0,this.length-1);return g}},b.x=b.repeat,b.flatJoin=function(){return h(this)},b.flatten=function(){var a=[];g.call(a,this);return a};function g(a){a instanceof Array?a.foreach(g,this):a instanceof Function?(a=a())!=null&&a!=false&&g.call(this,a):this.push(a)}function h(a){if(a instanceof Array)return a.accumulate(function(a,b){return b+h(a)},"");if(a instanceof Function)return h(a());if(a===false||a==null)return"";return String(a)}var i=e.$1K=1024,j=e.$1M=i*1024,k=e.$1G=j*1024,l=e.$1T=k*1024;e.formatBytes=function(a){var b=this,c,d;b<i?c="B":b<j?(b/=i,c="K"):b<k?(b/=j,c="M"):b<l&&(b/=k,c="G"),d=Math.round(b);return a&&b!=d?b.toFixed(a)+c:d+c},d.qw=d.arrayWords,d.bold=d.htmlEmbed.$(window.undefined,"b"),d.x=d.repeat}(),Object.merge(String,{firstNonEmpty:function(){for(var a=0;a<arguments.length;++a){var b=arguments[a];if(/\S/.test(b))return b}},template:function(){var format=String.buffer.apply(this,arguments).get();return function(props){return format.replace(/(.?)\$(\{.*?\}|[a-zA-Z0-9_]+)/g,function(s,p1,p2){if(p1.charAt(0)=="\\")return s.substr(1);p2.charAt(0)=="{"&&(p2=p2.substr(1,p2.length-2)),eval("p2 = props."+p2);return p1+p2})}},buffer:is_ie||is_khtml?function(){var a=[],b=0,c=function(){for(var d=0;d<arguments.length;++d)a[b++]=arguments[d];return c};c.get=function(){a=[a.join("")],b=1;return a[0]},arguments.length>0&&c.apply(this,arguments);return c}:function(){var a="",b=function(){a=a.concat.apply(a,arguments);return b};arguments.length>0&&b.apply(this,arguments),b.get=function(){return a};return b}}),String.prototype.htmlEscape=is_gecko?function(){return this.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\u00A0/g,"&#xa0;")}:function(){CE_CACHE.HTML_ESCAPE_TEXT.data=this;return CE_CACHE.HTML_ESCAPE_DIV.innerHTML},window.Dynarch={dblClickTimeout:400,setDefaults:function(a,b,c){b||(b={});var d,e,f;for(d in a)if(c||!(d in this))(f=a[d])instanceof Array?f[0]!=null?(e=f[0])in b?e=b[e]:e=f[1]:e=f[1]:e=f,this[d]=e},__IDS:{},ID:function(a){var b=Dynarch.__IDS;a==null&&(a="generic"),a in b||(b[a]=0);return"dynarch-"+a+"-"+ ++b[a]},getFunctionName:function(a){if(a.name!=null)return a.name;if(/function\s+(\$?[a-z0-9_]+)\(/i.test(a.toString()))return RegExp.$1;return"UNKNOWN_FUNCTION"},EXPORT:function(a,b){var c=String.buffer("var D=window.",a,"=",a,",P=",a,".prototype;");b&&c(DynarchDomUtils.importCommonVars());return c.get()},getBaseURL:function(){var a=window.Dynarch_Base_Url;if(!a){var b=document.getElementsByTagName("script"),c=0,d;while(d=b[c++])if(d.className=="DynarchLIB"){a=d.src;if(/^(.*)\x2fjs\x2f/.test(a)){Dynarch_Base_Url=a=RegExp.$1;break}}}return a},getFileURL:function(a){return Dynarch.getBaseURL()+"/"+a},firebugRunning:function(){return window.console&&window.console.firebug},evalClean:function(code){return Dynarch.firebugRunning()?(new Function("return ("+code+");"))():eval("("+code+")")}},window.DynarchDomUtils={ID:Dynarch.ID,related:function(a,b){var c,d;is_ie?(d=b.type)=="mouseover"?c=b.fromElement:d=="mouseout"&&(c=b.toElement):c=b.relatedTarget;if(is_gecko&&c)try{c.parentNode}catch(a){try{c=b.parentNode}catch(a){c=b.target}}try{for(;c;c=c.parentNode)if(c===a)return true}catch(a){return true}return false},getScrollbarSize:function(a){return{x:a.offsetWidth-a.clientWidth,y:a.offsetHeight-a.clientHeight}},addEvent:function(a,b,c){if(typeof b=="string")a.addEventListener?a.addEventListener(b,c,false):a.attachEvent?a.attachEvent("on"+b,c):a["on"+b]=c;else if(b instanceof Array)DynarchDomUtils.addEvents(a,b,c);else for(var d in b)DynarchDomUtils.addEvent(a,d,b[d])},addEvents:function(a,b,c){for(var d=b.length;--d>=0;)DynarchDomUtils.addEvent(a,b[d],c)},removeEvent:function(a,b,c){if(typeof b=="string")a.removeEventListener?a.removeEventListener(b,c,false):a.detachEvent?a.detachEvent("on"+b,c):a["on"+b]="";else if(b instanceof Array)DynarchDomUtils.removeEvents(a,b,c);else for(var d in b)DynarchDomUtils.removeEvent(a,d,b[d])},removeEvents:function(a,b,c){for(var d=b.length;--d>=0;)DynarchDomUtils.removeEvent(a,b[d],c)},condEvent:function(a){a=a?DynarchDomUtils.addEvent:DynarchDomUtils.removeEvent;return a.apply(DynarchDomUtils,Array.$(arguments,1))},condEvents:function(a){a=a?DynarchDomUtils.addEvents:DynarchDomUtils.removeEvents;return a.apply(DynarchDomUtils,Array.$(arguments,1))},stopEvent:function(a){is_ie?(a.cancelBubble=true,a.returnValue=false):(a.preventDefault(),a.stopPropagation());return false},addLoadHandler:function(a,b){is_ie?a.onreadystatechange=function(){if(a.readyState==4){try{a.onreadystatechange=null}catch(a){}b()}}:DynarchDomUtils.addEvent(a,"load",b)},callHandler:function(a,b){if(a[b]instanceof Function)return a[b].call(a);if(typeof a[b]=="string")return Dynarch.evalClean(a[b])},setStyleProperty:function(a,b,c){switch(b){case"float":b="styleFloat";break;default:b=b.toLowerCase().replace(/-([a-z])/g,function(a,b){return b.toUpperCase()})}a.style[b]=c},setOpacity:function(a,b){if(b!=null){b==""&&b!=0?is_ie?a.style.filter="":a.style.opacity="":is_ie?a.style.filter="alpha(opacity="+Math.round(b*100)+")":a.style.opacity=b;return b}if(is_ie){if(/alpha\(opacity=([0-9.])+\)/.test(a.style.opacity))return parseFloat(RegExp.$1)}else return parseFloat(a.style.opacity)},getClosestParentByTagName:function(a,b){b=b.toLowerCase();while(a&&a.tagName&&a.tagName.toLowerCase()!=b)a=a.parentNode;return a},isInside:function(a,b){try{while(a){if(a===b)return true;a=a.parentNode}}catch(a){}return false},getWindowSize:function(){if(is_gecko)return document.documentElement.clientWidth?{x:document.documentElement.clientWidth,y:document.documentElement.clientHeight}:{x:window.innerWidth,y:window.innerHeight};if(is_opera)return{x:window.innerWidth,y:window.innerHeight};if(is_ie)return!document.compatMode||document.compatMode=="BackCompat"?{x:document.body.clientWidth,y:document.body.clientHeight}:{x:document.documentElement.clientWidth,y:document.documentElement.clientHeight};var a=document.createElement("div"),b=a.style;b.position="absolute",b.bottom=b.right="0px",document.body.appendChild(a),b={x:a.offsetLeft,y:a.offsetTop},document.body.removeChild(a);return b},getPos:function(a){if(a.getBoundingClientRect){var b=a.getBoundingClientRect();return{x:b.left-document.documentElement.clientLeft,y:b.top-document.documentElement.clientTop}}if(document.getBoxObjectFor){var b=a.ownerDocument.getBoxObjectFor(a),c={x:b.x,y:b.y};while(a.parentNode&&a.parentNode!==document.body)a=a.parentNode,c.x-=a.scrollLeft,c.y-=a.scrollTop;return c}if(/^body$/i.test(a.tagName))return{x:0,y:0};var d=0,e=0,f=/^div$/i.test(a.tagName),g,h;f&&a.scrollLeft&&(d=a.scrollLeft),f&&a.scrollTop&&(e=a.scrollTop),g={x:a.offsetLeft-d,y:a.offsetTop-e},a.offsetParent&&(h=DynarchDomUtils.getPos(a.offsetParent),g.x+=h.x,g.y+=h.y);return g},getBRPos:function(a){var b=DynarchDomUtils.getPos(a),c=DynarchDomUtils.getOuterSize(a);b.x+=c.x-1,b.y+=c.y-1;return b},setPos:function(a,b,c){typeof b=="number"&&(b+="px"),typeof c=="number"&&(c+="px"),b!=null&&(a.style.left=b),c!=null&&(a.style.top=c)},createElement:function(a,b,c,d,e){var f=CE_CACHE[a]||(CE_CACHE[a]=document.createElement(a)),g;f=f.cloneNode(false);if(b)for(g in b)is_ie?DynarchDomUtils.setStyleProperty(f,g,b[g]):f.style.setProperty(g,b[g],"");if(c)for(g in c)f[g]=c[g];d&&(typeof e=="number"&&(e=d.childNodes[e]),e||(e=null),d.insertBefore(f,e));return f},setUnselectable:function(a,b){b==null&&(b=true);if(is_ie){b=b?"on":"off";var c=Array.$(a.getElementsByTagName("*"));c.push(a),c.foreach(function(a){a.setAttribute("unselectable",b)})}else a.style.userSelect=a.style.WebkitUserSelect=a.style.MozUserSelect=b=b?"none":"normal"},addClass:function(a,b,c){DynarchDomUtils.delClass(a,c,b)},delClass:function(a,b,c){if(a){var d=a.className;b instanceof RegExp&&(d=d.replace(b," "),b=null);if(c||b){var e=d.split(/\s+/),f=e.length,g={};b&&(g[b]=1),c&&(g[c]=1);while(--f>=0)e[f]in g&&e.splice(f,1);c&&e.push(c),d=e.join(" ")}a.className=d}},condClass:function(a,b,c,d){DynarchDomUtils[b?"addClass":"delClass"](a,c,d)},hasClass:function(a,b){return a.className.split(" ").contains(b)},elementIsVisible:function(a){return!!a.offsetWidth&&a.style.visibility!="hidden"},ie_getBackgroundColor:function(a){var b=document.body.createTextRange();b.moveToElementText(a);return"#"+parseInt(b.queryCommandValue("BackColor")).hex(6)},getStyle:function(a,b){var c=null;window.getComputedStyle?c=document.defaultView.getComputedStyle(a,"").getPropertyValue(b):a.currentStyle&&((b=b.replace(/-[a-z]/g,function(a){return a.charAt(1).toUpperCase()}))=="backgroundColor"?c=ie_getBackgroundColor(a):c=a.currentStyle[b]);return c},getStylePX:function(a,b){var c=parseInt(DynarchDomUtils.getStyle(a,b),10);isNaN(c)&&(c=0);return c},getBorder:function(a){return{x:a.offsetWidth-a.clientWidth,y:a.offsetHeight-a.clientHeight}},getPadding:function(a){var b,c,d=DynarchDomUtils.getStylePX;b=d(a,"padding-left")+d(a,"padding-right"),c=d(a,"padding-top")+d(a,"padding-bottom");return{x:b,y:c}},getPaddingAndBorder:function(a){var b=0,c=0,d=DynarchDomUtils.getStylePX;b+=d(a,"border-left-width"),b+=d(a,"border-right-width"),c+=d(a,"border-top-width"),c+=d(a,"border-bottom-width"),b+=d(a,"padding-left"),b+=d(a,"padding-right"),c+=d(a,"padding-top"),c+=d(a,"padding-bottom");return{x:b,y:c}},getSelectionRange:function(a){var b,c;if(is_ie){var d,e,f;d=document.selection.createRange(),(e=d.compareEndPoints("StartToEnd",d)==0)||d.collapse(true),f=d.getBookmark(),b=f.charCodeAt(2)-2,d=document.selection.createRange(),(e=d.compareEndPoints("StartToEnd",d)==0)||d.collapse(false),f=d.getBookmark(),c=f.charCodeAt(2)-2}else b=a.selectionStart,c=a.selectionEnd;return{start:b,end:c}},setSelectionRange:function(a,b,c){c==null&&(c=b);if(b>c){var d=b;b=c,c=d}typeof b=="object"&&(c=b.end,b=b.start);if(is_ie){var e=a.createTextRange();e.collapse(true),e.moveStart("character",b),e.moveEnd("character",c-b),e.select()}else a.setSelectionRange(b,c)},setOuterSize:function(a,b,c){var d=DynarchDomUtils.getPaddingAndBorder(a);b!=null&&d.x!=NaN&&(b-=d.x),c!=null&&d.y!=NaN&&(c-=d.y),DynarchDomUtils.setInnerSize(a,b,c)},setInnerSize:function(a,b,c){try{typeof b=="number"&&b!=NaN&&(b=Math.abs(b)+"px"),typeof c=="number"&&c!=NaN&&(c=Math.abs(c)+"px"),b!=null&&b!=NaN&&!(is_ie&&b<=0)&&(a.style.width=b),c!=null&&c!=NaN&&!(is_ie&&c<=0)&&(a.style.height=c)}catch(a){}},getOuterSize:function(a){return{x:a.offsetWidth,y:a.offsetHeight}},getInnerSize:function(a){var b=DynarchDomUtils.getOuterSize(a),c=DynarchDomUtils.getPaddingAndBorder(a);b.x-=c.x,b.y-=c.y;return b},importCommonVars:function(){return["var DOM=DynarchDomUtils","AC=DOM.addClass","DC=DOM.delClass","CC=DOM.condClass","CE=DOM.createElement","ID=Dynarch.ID"].join(",")},trash:function(a,b){a&&(b=a.parentNode)&&b.removeChild(a)},strip:function(a){try{var b=a.ownerDocument.createRange();b.selectNodeContents(a),p.insertBefore(a,b.extractContents()),b.detach()}catch(b){var c=a.parentNode;while(a.firstChild)c.insertBefore(a.firstChild,a)}this.trash(a)},createFromHtml:function(a){var b=CE_CACHE.CONTAINER;b.innerHTML=a;return b.firstChild},swapNodes:function(a,b){var c=a.parentNode,d=a.nextSibling;b.parentNode.replaceChild(a,b),c.insertBefore(b,d)},scrollIntoView:function(a){var b=a.parentNode;while(b&&(b.scrollHeight==b.clientHeight&&b.scrollWidth==b.clientWidth||/table|tbody/i.test(b.tagName)))b=b.parentNode;if(b&&b!==document.body){var c=[],d=b;while(d)c.push(d),d=d.parentNode;var e=0,f=0;d=a;while(d&&d!=b){e+=d.offsetTop,f+=d.offsetLeft,d=d.offsetParent;if(c.contains(d)){d!=b&&(e-=b.offsetTop,f-=b.offsetLeft);break}}var g=e+a.offsetHeight,h=f+a.offsetWidth;e<b.scrollTop&&(b.scrollTop=e),e>b.scrollTop&&g>b.scrollTop+b.clientHeight&&(b.scrollTop=g-b.clientHeight),f<b.scrollLeft&&(b.scrollLeft=f),f>b.scrollLeft&&h>b.scrollLeft+b.clientWidth&&(b.scrollLeft=h-b.clientWidth)}},flash:function(a,b,c){c||(c=3);var d=setInterval(function(){a.style.visibility=c&1?"hidden":"",--c,c<0&&clearInterval(d)},b||150)},walk:function(a,b){if(!b(a))for(var c=a.firstChild;c;c=c.nextSibling)c.nodeType==1&&DynarchDomUtils.walk(c,b)},setDocumentTitle:function(a){document.title=a},CE_CACHE:CE_CACHE};var $=is_gecko?document.getElementById.$(document):function(a){return document.getElementById(a)};function DEFINE_CLASS(a,b,c,d){e.name=a||"",d&&(e.hidden=true),b&&e.inherits(b,a);function e(c){if(c!==$__JSOOP){if(this===window)return alert("FIXME: Constructor called without new in "+a);var d;e.FIXARGS&&(arguments.length==0&&(c={},d=[c]),e.FIXARGS.apply(this,d||arguments)),e.DEFAULT_ARGS&&e.setDefaults(this,c),e.BEFORE_BASE&&e.BEFORE_BASE.apply(this,d||arguments),b&&b.apply(this,d||arguments),e.CONSTRUCT&&e.CONSTRUCT.apply(this,d||arguments)}}a&&!d&&(window[a]=e);var f=e.prototype;c&&(e.DEFINITION=c)(e,f,DynarchDomUtils),f.FINISH_OBJECT_DEF instanceof Function&&f.FINISH_OBJECT_DEF(),f.$||(f.$=Object.curry2);return e}function EXTEND_CLASS(a,b){b(a,a.prototype,DynarchDomUtils)}function DEFINE_HIDDEN_CLASS(a,b,c){return DEFINE_CLASS.call(this,a,b,c,true)}function DEFINE_SINGLETON(a,b,c){var d=DEFINE_HIDDEN_CLASS(a,b,c);DlSingleton.register(a,d,true);return d}DEFINE_CLASS("DlException",null,function(a,b){a.CONSTRUCT=function(a,b){this.error=this.constructor.name,a||(a="*** no error message given ***"),this.message=this.constructor.name+": "+a,b!=null&&(this.code=b)},b.toString=function(){var a=this.message;this.code&&(a+=" / code: "+this.code);return a}}).stopEventBubbling=function(){throw new DlExStopEventBubbling};function DEFINE_EXCEPTION(a,b){return DEFINE_CLASS(a,b||DlException)}DEFINE_EXCEPTION("DlExInvalidOperation"),DEFINE_EXCEPTION("DlExAbstractBaseClass"),DEFINE_EXCEPTION("DlExStopEventProcessing"),DEFINE_EXCEPTION("DlExStopFrameEvent"),DEFINE_EXCEPTION("DlExStopEventBubbling"),DEFINE_EXCEPTION("DlDataException"),DEFINE_EXCEPTION("DlSecurityException"),DEFINE_CLASS("DlEventProxy",null,function(a,b){a.CONSTRUCT=function(){this.__eventHooks={},this.__disHooks={},this.registerEvents(this.DEFAULT_EVENTS),this.addEventListener("onDestroy",this.__onDestroy)},b.DEFAULT_EVENTS=["onDestroy"],b.FINISH_OBJECT_DEF=function(){var a=this.constructor.DEFAULT_EVENTS;a&&(this.DEFAULT_EVENTS=this.DEFAULT_EVENTS.concat(a))},b.__onDestroy=function(){["__eventHooks","__disHooks"].foreach(function(a){for(var b in this[a]){var c=this[a][b];c&&c.foreach(function(a,b){this[b]=null}),this[a][b]=null}this[a]=null},this)},b.__getEventHooks=function(a,b){if(!this.__eventHooks)throw new DlExStopEventBubbling;var c=this.__eventHooks[a.toLowerCase()];b&&(c=c.slice(0));return c};function c(a,b){return a.applyHooks(b,Array.$(arguments,2))}b.registerEvents=function(a){var b=this.__eventHooks,c=0,d;while(d=a[c++])d=d.toLowerCase(),b[d]||(b[d]=[])},b.condEventListener=function(a){a=a?this.addEventListener:this.removeEventListener;return a.apply(this,Array.$(arguments,1))},b.addEventListener=function(a,b,c,d){if(a instanceof Array){var e=0,f;while(f=a[e++])this.addEventListener(f,b,c,d)}else if(typeof a=="object")for(var e in a)this.addEventListener(e,a[e],b,c);else{var g=this.__getEventHooks(a);g.remove(b),c==null&&a.toLowerCase()=="ondestroy"&&(c=true),c?g.unshift(b):g.push(b),d&&d.addEventListener("onDestroy",this.removeEventListener.$(this,a,b))}return this},b.listenOnce=function(a,b,c){c==null&&(c=1);var d=function(){--c==0&&this.removeEventListener(a,d),b.apply(this,arguments)};return this.addEventListener(a,d)},b.connectEvents=function(a,b,d){typeof b=="string"?(d=b,b=this):d||(d=a);if(a instanceof Array)for(var e=0;e<a.length;++e)this.connectEvents(a[e],b,d[e]);else this.addEventListener(a,c.$(null,b,d));return this},b.removeEventListener=function(a,b){var c=0,d;if(a instanceof Array)while(d=a[c++])this.removeEventListener(d,b);else if(typeof a=="object")for(c in a)this.removeEventListener(c,a[c]);else this.__getEventHooks(a).remove(b);return this},b.removeAllListeners=function(a){if(a instanceof Array)a.foreach(this.removeAllListeners,this);else if(typeof a=="object")for(var b in a)this.removeAllListeners(b);else this.__getEventHooks(a).length=0;return this},b.disableHooks=function(a){a instanceof Array?a.r_foreach(this.disableHooks,this):(a=a.toLowerCase(),this.__disHooks[a]=this.__eventHooks[a],this.__eventHooks[a]=[]);return this},b.enableHooks=function(a){a instanceof Array?a.r_foreach(this.enableHooks,this):(a=a.toLowerCase(),this.__eventHooks[a]=this.__disHooks[a],this.__disHooks[a]=null);return this},b.callHooks=function(a){var b=arguments.length>1?Array.$(arguments,1):[];return this.applyHooks(a,b)},b.hasHooks=function(a){var b=this.__eventHooks[a.toLowerCase()];return b&&b.length>0},b.withHooks=function(a,b){this.addEventListener.apply(this,a);try{return b()}finally{this.removeEventListener.apply(this,a)}},b.withDisabledHooks=function(a,b){this.disableHooks.apply(this,a);try{return b()}finally{this.enableHooks.apply(this,a)}},b.applyHooks=function(a,b){var c=[],d,e=0,f;try{d=this.__getEventHooks(a,true);while(f=d[e++])c.push(f.apply(this,b))}catch(a){if(!(a instanceof DlExStopEventProcessing))throw a}return c},b.debug_countHooks=function(){var a={},b;for(b in this.__eventHooks)a[b]=this.__eventHooks[b].length;return a},b.invoke=function(a){var b=Array.$(arguments,1);return function(){this[a].apply(this,b.concat(Array.$(arguments)))}.$(this)},b.destroy=function(){this.destroyed||(this.destroying=true,this.callHooks("onDestroy"),this.__eventHooks=null,this.destroying=false,this.destroyed=true)}}),DEFINE_CLASS("DlEvent",null,function(a,b,c){var d=c.createElement,e={mouseover:"onMouseEnter",mouseout:"onMouseLeave",mousedown:"onMouseDown",mouseup:"onMouseUp",mousemove:"onMouseMove",click:"onClick",dblclick:"onDblClick",keydown:"onKeyDown",keyup:"onKeyUp",keypress:"onKeyPress",contextmenu:"onContextMenu",focus:"on_DOM_Focus",blur:"on_DOM_Blur",mousewheel:"onMouseWheel",DOMMouseScroll:"onMouseWheel",textInput:"onTextInput"};a.CONSTRUCT=function(b){this.type=b.type,this.dl_type=e[this.type]||this.type,this.ctrlKey=b.ctrlKey,this.which=b.which,this.keyIdentifier=b.keyIdentifier,is_macintosh?(this.altGrKey=b.altKey,this.altKey=b.metaKey):this.altKey=b.altKey,this.shiftKey=b.shiftKey,this.button=b.button,this.focusedWidget=a.focusedWidget();if(is_ie)switch(b.button){case 0:this.button=null;break;case 1:this.button=0;break;case 2:this.button=2;break;case 4:this.button=1}this.type.indexOf("key")==0&&(this.keyCode=b.keyCode,this.charCode="which"in b?b.which:is_ie||is_opera?b.keyCode:b.charCode,this.keyStr=String.fromCharCode(this.charCode));if(this.dl_type=="onMouseWheel"){var c;b.wheelDelta?c=b.wheelDelta/120:b.detail&&(c=-b.detail/3),this.wheelDelta=c}this.pos={x:b.clientX,y:b.clientY},this.relPos=this.pos;if(is_ie){this.target=b.srcElement;switch(this.type){case"mouseover":this.relatedTarget=b.fromElement;break;case"mouseout":this.relatedTarget=b.toElement}}else try{this.target=b.target,this.target.nodeType==3&&(this.target=this.target.parentNode);if(this.type=="mouseout"||this.type=="mouseover")this.relatedTarget=b.relatedTarget,this.relatedTarget&&this.relatedTarget.nodeType==3&&(this.relatedTarget=this.relatedTarget.parentNode)}catch(a){this.relatedTarget=b.explicitOriginalTarget}},b.computePos=function(a){var b=a?a instanceof DlWidget?a.getElement():a:document.body,d=this.elPos=b?c.getPos(b):{x:0,y:0};return this.relPos={x:this.pos.x-d.x,y:this.pos.y-d.y,elPos:d}},b.getObject=function(a){var b=this.target,c=this.object;if(!c){try{while(b&&!DlWidget.getFromElement(b))b=b.parentNode;c=b?DlWidget.getFromElement(b):null}catch(a){c=null}this.object=c}a&&(c=c.getParent(a));return c},b.getParentElement=function(a,b){b&&b instanceof DlWidget&&(b=b.getElement());if(b&&c===b)return null;var c=this.target;try{while(c&&c.tagName.toLowerCase()!=a){c=c.parentNode;if(b&&c===b)return null}}catch(a){c=null}return c},a.stopEvent=c.stopEvent;function f(a,b,d,e){var f=b.getObject();switch(b.type){case"click":break;case"mousedown":a._ev_mouseDown=true,a.applyHooks(b.dl_type,[b]);break;case"mouseup":var g=a._ev_mouseDown;a._ev_mouseDown=false,a.applyHooks(b.dl_type,[b]),g&&a._ev_mouseInside&&b.button===0&&(b=new DlEvent(e),b.dl_type="onClick",this.push([a,b,d,e]));break;case"mouseover":case"mouseout":!d||!c.related(d,e)?(a===f&&(a._ev_mouseInside=b.type=="mouseover"),a.applyHooks(b.dl_type,[b])):(b.dl_type=b.type=="mouseover"?"onMouseOver":"onMouseOut",a.applyHooks(b.dl_type,[b]));break;case"dblclick":if((is_ie||is_opera)&&!a.hasHooks("onDblClick")){b=new DlEvent(e),b.type="click",a.applyHooks(b.dl_type="onClick",[b]);break};default:a.applyHooks(b.dl_type,[b])}e&&b.domStop&&c.stopEvent(e)}var g=null;function h(){this===g&&(g=null)}a.fakeBlur=function(){if(is_safari&&g.blur)return g.blur();var a=c.CE_CACHE.FAKE_FOCUS;a||(a=c.CE_CACHE.FAKE_FOCUS=d("a",null,{href:"#",innerHTML:"test",className:"DYNARCH-FAKE-FOCUS"},document.body)),a.focus();if(is_ie){var b=document.body.createTextRange();b.moveStart("character",0),b.collapse(true),b.select()}a.blur(),window.status=""},a.focusedWidget=function(b){if(arguments.length>0&&g!==b){g&&!g.destroyed&&(g._focusable==2?b._focusable<2&&a.fakeBlur():g.blur(),g.removeEventListener("onDestroy",h));if(g=b){b.addEventListener("onDestroy",h);var c=b.parent;while(c)c._focusedWidget=b,c=c.parent}}return g},a.checkDisabled=function(a){while(a){if(a.disabled())return true;a=a.parent}return false},b.destroy=function(){this.object=this.target=this.relatedTarget=null},b.stopDomEvent=function(){a.stopEvent(a.latestDomEvent)};var i=a.GLOBAL_CAPTURES={},j="keydown keyup keypress".hashWords();a._genericEventHandler=function(b,c){b||(b=window.event);var d,e,h=b instanceof a?b:new a(b);c&&(b=c);if(h._failed){a.stopEvent(b);return}a.latestEvent=h,a.latestDomEvent=b,h.pos.x&&h.dl_type!="onMouseWheel"&&(a.latestMouseEvent=h,h.dl_type=="onMouseDown"&&(a.latestMouseDownEvent=h));try{var k=i[h.dl_type],l;if(k)for(l=k.length;--l>=0;)k[l](h);h.type in j&&g?d=g.getElement():d=h.target;var m=[];l=0;while(d){if(e=DlWidget.getFromElement(d)){a.checkDisabled(e)||(m[l++]=[e,h,d,b]);if(e.__noPropEvents&&e.__noPropEvents.test(h.dl_type))break}d=d.parentNode}for(l=0;l<m.length;++l)f.apply(m,m[l])}catch(c){if(c instanceof DlExStopEventBubbling)a.stopEvent(b);else throw c}h.destroy()};var k=[];function l(){k.r_foreach(Function.invoke)}a._unloadHandler=l,a.captureGlobals=function(b){for(var c in b)a.captureGlobal(c,b[c])},a.releaseGlobals=function(b){for(var c in b)a.releaseGlobal(c,b[c])},a.captureGlobal=function(a,b){var c=i[a];c||(c=i[a]=[]),c.push(b)},a.releaseGlobal=function(a,b){var c=i[a];c&&c.remove(b)},a.atUnload=function(a){k.push(a)},c.addEvents(document,["contextmenu","click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove",is_gecko?"DOMMouseScroll":"mousewheel","keydown","keyup","keypress"],a._genericEventHandler),c.addEvent(window,"unload",l)}),DEFINE_CLASS("DlWidget",DlEventProxy,function(a,b,c){var d=c.createElement,e=c.addClass,f=c.delClass,g=c.condClass,h=Dynarch.ID;a.FIXARGS=function(a){a.focusable==null&&a.tabIndex&&(a.focusable=true)},a.CONSTRUCT=function(){this.__propsUserData={},this.__refNodes=[];if(!(this._parent==null||this._parent instanceof DlContainer))throw new DlException("Parent must be an instance of DlContainer");this.id=h(this._objectType||"DlWidget"),i[this.id]=this,this.initDOM()},a.DEFAULT_ARGS={userData:["data",null],_parent:["parent",null],_fillParent:["fillParent",null],_tagName:["tagName","div"],_dragArgs:["drag",null],_element:["element",null],_focusable:["focusable",false],_tabIndex:["tabIndex",0],_accessKey:["accessKey",null],__appendArgs:["appendArgs",window.undefined],__addClassName:["className",""],__disabled:["disabled",false],__tooltip:["tooltip",null],__contextMenu:["contextMenu",null],__tooltipTimeout:["tooltipTimeout",650],__refCnt:["_refCnt",0],__noPropEvents:["dontBubbleEvents",null]},a.DEFAULT_EVENTS=["onMouseEnter","onMouseLeave","onMouseMove","onMouseDown","onMouseUp","onMouseOver","onMouseOut","onMouseWheel","onClick","onDblClick","onDisabled","onDisplay","onFocus","on_DOM_Focus","onBlur","on_DOM_Blur","onKeyDown","onKeyUp","onKeyPress","onResize","onContextMenu","onTooltipShow","onTooltipHide"];var i=a.WIDGETS={};a.getById=function(a){return i[a]},a.getFromElement=function(a){return a._dynarch_object},a.getFromUpElement=function(a){while(a&&!a._dynarch_object)a=a.parentNode;return a&&a._dynarch_object};var j=null;function k(){j||(j=new DlTooltip({}));return j}a.getTooltip=k,b.getWidgetId=function(){return this.id},b._className=[],b.FINISH_OBJECT_DEF=function(){a.BASE.FINISH_OBJECT_DEF.call(this),(this._className=Array.$(this._className)).push(this._objectType)};var l=null;b.getResizeRect=a.getResizeRect=function(){l||(l=d("div",{display:"none"},{className:"Dl-ResizeRect",innerHTML:"&nbsp;"},document.body));return l},a.debug_countHooks=function(){var a={};Array.hashKeys(DlWidget.WIDGETS).foreach(function(b){a[b]=DlWidget.WIDGETS[b].debug_countHooks()});return a};function m(){this.__tooltipActive&&k().hide(),this.__contextMenu instanceof a&&this.__contextMenu.destroy();if(this.parent)try{this.parent.removeWidget(this)}catch(a){}var b=this.getElement();b&&(b._dynarch_focusable=b._dynarch_object=null),this._element=null,c.trash(b),i[this.id]&&(i[this.id]=null,delete i[this.id]),b=null,this.__refNodes.r_foreach(function(a,b){this[a]=this.__refNodes[b]=null,delete this[a]},this),this.__propsUserData=this.userData=this.__refNodes=null}b.destroy=function(){this.unref()<=0&&a.BASE.destroy.call(this)},b.__onTooltipShow=function(){this.__tooltipActive=true,this.callHooks("onTooltipShow")},b.__onTooltipHide=function(){this.__tooltipActive=false,this.callHooks("onTooltipHide")},b._popupTooltip=function(){k().popup({timeout:this.__tooltipTimeout,content:this.__tooltip,anchor:this.getElement(),align:"mouse",onPopup:this.__onTooltipShow,onHide:this.__onTooltipHide,widget:this})};function n(){this.__tooltip&&this._popupTooltip()}function o(){k().hide()}function p(a,b){if(!a.dragging)if(Math.abs(b.pos.x-a.startPos.x)>=a.delta||Math.abs(b.pos.y-a.startPos.y)>=a.delta)a.dragging=true,a.makeElementCopy(this,b),a.applyHooks("onStartDrag",[this,b]),this.addClass(a.draggingClass);if(a.dragging){var c=a.elementCopy;c&&(c.style.left=b.pos.x+5+"px",c.style.top=b.pos.y+5+"px"),a.moving(this,b),DlException.stopEventBubbling()}}function q(a,b,c){this.delClass(a.draggingClass),DlEvent.releaseGlobals(a.captures),a.captures=null,y=false,c||a.doDrop(this,b),a.reset(c)}function r(a,b){if(b.button==0){var c=a.dragging&&a.canDrop;q.call(this,a,b,!c)}}function s(a,b){DlException.stopEventBubbling()}function t(a,b){DlException.stopEventBubbling()}function u(a,b){var c=b.getObject(),d=false,e=c;while(e){if(e===this){d=true;break}e=e.parent}var f=a.dropOK(this,b,c,d);DlException.stopEventBubbling()}function v(a,b){DlException.stopEventBubbling()}function w(a,b){b.keyCode==DlKeyboard.ESCAPE&&q.call(this,a,b,true),DlException.stopEventBubbling()}function x(a,b){DlException.stopEventBubbling()}var y=false;function z(a){k().cancel(),this._focusable&&!a._justFocusedWidget&&(a._justFocusedWidget=this,this._focusable<2&&this.focus());if(a.button==0){var b=this._dragArgs,c;if(b&&!y)if(b.startOK(this,a)){var d=a.getObject();d&&d.applyHooks("onMouseLeave",[a]),y=true,b.source=this,b.captures={onMouseMove:p.$(this,b),onMouseUp:r.$(this,b),onMouseOver:s.$(this,b),onMouseOut:t.$(this,b),onMouseEnter:u.$(this,b),onMouseLeave:v.$(this,b),onContextMenu:x.$(this,b),onKeyPress:w.$(this,b)},b.startPos=a.pos,b.startElPos=this.getPos(),DlEvent.captureGlobals(b.captures)}}}function A(a){var b=this.__contextMenu;typeof b=="function"&&(b=b.call(this,a));if(b){var c=this._getContextMenuPopup();c.popup({timeout:0,content:b,anchor:b.contextMenuAnchor||this.getElement(),align:b.contextMenuAlign||"mouse",widget:this,onPopup:b.contextMenuOnPopup||null,onHide:b.contextMenuOnHide||null,isContext:true}),DlException.stopEventBubbling()}}b.setData=function(a,b){arguments.length==1?delete this.__propsUserData[a]:this.__propsUserData[a]=b},b.getData=function(a){return this.__propsUserData[a]},b._getDlPopup=function(){var a=this.getParent(DlPopup)||0;a&&(a=a._level+1);return DlPopupMenu.get(a)},b._getContextMenuPopup=b._getDlPopup;var B={onDestroy:m,onMouseEnter:n,onMouseLeave:o,onMouseDown:z,onContextMenu:A};b._setListeners=function(){this.addEventListener(B),this.addEventListener(is_ie?"onKeyDown":"onKeyPress",this._handle_focusKeys)},b._handle_focusKeys=function(a){},b._check_accessKey=function(a){return this._accessKey&&DlKeyboard.checkKey(a,this._accessKey)},b._handle_accessKey=function(a){this.focus()},b._setFocusedStyle=function(a){this.condClass(a,this._className.peek()+"-focus")},b.focus=function(){this._focusable?(DlEvent.focusedWidget(this),this._setFocusedStyle(true),this.callHooks("onFocus"),this instanceof DlEntry||this.scrollIntoView()):this.parent&&this.parent.focus()},b.blur=function(){this._focusable&&(this.destroyed||(this._setFocusedStyle(false),this.callHooks("onBlur")))},b.focusInside=function(){var a=DlEvent.focusedWidget();while(a){if(a==this)break;a=a.parent}return!!a},b._createElement=function(a){var b=this._element;if(b)this.__alreadyInDom=true;else{var e=this.constructor,f=e.__joinedClassName||this._className.join(" ");e.__joinedClassName||(e.__joinedClassName=f),this.__addClassName&&(f+=" "+this.__addClassName),a?(b=c.createFromHtml(a),b.className=f):b=d(this._tagName,null,{className:f}),this._focusable&&(b._dynarch_focusable=true),this._element=b}b._dynarch_object=this},b.getElement=function(){return this._element},b.getParentNode=function(){return this._element.parentNode},b.getDOMChildren=function(){return Array.$(this.getContentElement().childNodes)},b.getContentElement=function(){return this.getElement()},b.setStyle=function(a,b){var c=this.getElement().style;if(arguments.length>1)c[a]=b;else for(var d in a)this.setStyle(d,a[d])},b.setContent=function(b){var c=this.getContentElement();while(c.firstChild)c.removeChild(c.lastChild);if(typeof b=="string")c.innerHTML=b;else{if(b instanceof Function)return this.setContent(b.call(this));b instanceof a?this.appendWidget(b,this.__appendArgs):b instanceof Array?c.innerHTML=b.join(""):b!=null&&c.appendChild(b)}return b!=null},b.ref=function(){return this.__refCnt++},b.unref=function(){return--this.__refCnt},b.refCnt=function(){return this.__refCnt},b.setContextMenu=function(b){this.__contextMenu instanceof a&&this.__contextMenu.destroy(),b instanceof a&&b.ref(),this.__contextMenu=b},b.setTooltip=function(a){this.__tooltip=a},b.initDOM=function(){this._setListeners(),this._createElement(),this._parent&&(this._parent.appendWidget(this,this.__appendArgs),this._parent=null),this.__disabled&&this.disabled(true,true),this.__onTooltipShow=this.__onTooltipShow.$(this),this.__onTooltipHide=this.__onTooltipHide.$(this);return this},b.setUnselectable=function(a,b){a==null&&(a=this.getElement()),c.setUnselectable(a,b)},b.disabled=function(a,b){a!=null&&(b||a!=this.__disabled)&&(this.__disabled=a,this.condClass(a,"DlWidget-disabled"),this.condClass(a,this._className.peek()+"-disabled"),this.applyHooks("onDisabled",[a]));return this.__disabled},b.enabled=function(a,b){a!=null&&this.disabled(!a,b);return!this.__disabled},b.getParent=function(a,b){if(a==null)return this.parent;var c=this;b&&(c=this.parent);while(c&&!(c instanceof a))c=c.parent;return c},b.findParent=function(a,b){var c,d=this;b&&(d=this.parent);if(a instanceof Function)while(d&&!a(d))d=d.parent;else{var e=Array.$(arguments,2);while(d){if(c=d[a])if(c instanceof Function){if(c.apply(d,e))break}else break;d=d.parent}}return d},b.getPos=function(){return c.getPos(this.getElement())},b.getBRPos=function(){return c.getBRPos(this.getElement())},b.getOffsetPos=function(){var a=this.getElement();return{x:a.offsetLeft,y:a.offsetTop}},b.setPos=function(a,b){var c=this.getElement();a!=null&&typeof a=="object"&&(b=a.y,a=a.x),a!=null&&(c.style.left=a+"px"),b!=null&&(c.style.top=b+"px")},b.setSize=b.setOuterSize=function(a){c.setOuterSize(this.getElement(),a.x,a.y),this.callHooks("onResize")},b.setInnerSize=function(a){c.setInnerSize(this.getContentElement(),a.x,a.y),this.callHooks("onResize")},b.getSize=b.getOuterSize=function(){return c.getOuterSize(this.getElement())},b.getInnerSize=function(){return c.getInnerSize(this.getContentElement())},b.display=function(a){var b=this.getElement().style;if(a!=null){b.display=a?"":"none",this.applyHooks("onDisplay",[a,b.display,"display"]);return a}return b.display!="none"},b.visibility=function(a){var b=this.getElement().style;if(a!=null){b.visibility=a?"":"hidden",this.applyHooks("onDisplay",[a,b.visibility,"visibility"]);return a}return b.visible!="hidden"},b.opacity=function(a){return c.setOpacity(this.getElement(),a)},b.position=function(a){var b=this.getElement().style,c=b.position;a!=null&&(b.position=a);return c},b.setIconClass=function(a){var b=this.getContentElement();g(b,a!=null,this.__withIconClass||this._className.peek()+"-withIcon"),this.iconClass&&f(b,this.iconClass),a&&e(b,a),this.iconClass=a},b.addClass=function(a,b){e(this.getElement(),a,b)},b.delClass=function(a,b){f(this.getElement(),a,b)},b.condClass=function(a,b,c){g(this.getElement(),a,b,c);return a},b.zIndex=function(a){var b=this.getElement();if(a!=null)return b.style.zIndex=a;if(b.style.zIndex)return parseInt(b.style.zIndex,10);return 0},b.refNode=function(a,b){this[a]=b,this.__refNodes.remove(a),b!=null&&this.__refNodes.push(a);return b},b.debug_highlight=function(a){this.getElement().style.backgroundColor=a||"yellow"},b.getQuickPopup=function(){var a=this.getParent(DlPopup)||0;a&&(a=a._level+1);return DlDialogPopup.get(a)},b.quickPopup=function(a){var b=this.getQuickPopup();a=Object.makeCopy(a),Object.mergeUndefined(a,{anchor:this.getElement(),align:{prefer:"CC"}}),b.popup(a)},b.getScroll=function(){var a=this.getElement();return{x:a.scrollLeft,y:a.scrollTop}},b.scrollIntoView=function(){c.scrollIntoView(this.getElement())},b.flash=function(a,b){c.flash(this.getElement(),a,b)},DlEvent.atUnload(function(){do{window.DL_CLOSING=true;var a=false;for(var b in i){a=true;var c=i[b];try{i[b]=null,delete i[b],c.destroy()}catch(a){}break}}while(a);i=null})}),DEFINE_CLASS("DlContainer",DlWidget,function(a,b){a.BEFORE_BASE=function(){this._widgets=[]},a.DEFAULT_ARGS={_scrollBars:["scroll",false],__noParentKeyBindings:["noParentKB",false]},b._createElement=function(){a.BASE._createElement.apply(this,arguments),this._scrollBars&&this.setStyle("overflow","auto")},b.appendWidget=function(a){a.parent&&a.parent.removeWidget(a),this._widgets.push(a),a.parent=this,a.__alreadyInDom||this._appendWidgetElement.apply(this,arguments),delete a.__alreadyInDom},b._appendWidgetElement=function(a,b){var c=a.getElement();if(typeof b=="number"){var d=this.getContentElement();try{b=d.childNodes[b],d.insertBefore(c,b)}catch(a){d.appendChild(c)}}else b==null?b=this.getContentElement():typeof b=="string"&&(b=document.getElementById(b)),c.parentNode!==b&&b.appendChild(c)},b.removeWidget=function(a){a.parent===this&&(this._removeWidgetElement(a),this._widgets.remove(a),a.parent=null)},b._removeWidgetElement=function(a){if(this._widgets.contains(a)){var b=a.getElement();b.parentNode&&b.parentNode.removeChild(b)}},b.destroyChildWidgets=function(){for(var b=Array.$(this._widgets),c=0;c<b.length;++c)b[c]instanceof a&&b.push.apply(b,b[c]._widgets);b.r_foreach(function(a){try{a.destroy()}catch(a){}});var d=this.getContentElement();d&&(d.innerHTML="");return d},b._setListeners=function(){a.BASE._setListeners.call(this),this.addEventListener("onDestroy",this.destroyChildWidgets),this.addEventListener("onResize",this.__doLayout)},b.disabled=function(b,c){var d=a.BASE.disabled.call(this,b,c);b!=null&&this._widgets.r_foreach(function(a){a.disabled(b,c)});return d},b.children=function(a){return a!=null?this._widgets[a]:this._widgets},b.__doLayout=function(){var a=this.children().grep_first(function(a){return a._fillParent});a&&a.setSize(this.getInnerSize())};function c(a,b){a=a?Array.$(a.getElement().getElementsByTagName("*")):[];return Array.$(this.getElement().getElementsByTagName("*")).grep(b?"_dynarch_object":"_dynarch_focusable").grep(DynarchDomUtils.elementIsVisible).grep(a.contains.$(a).inverse()).map(DlWidget.getFromElement).grep("enabled").mergeSort(function(a,b){return a._tabIndex-b._tabIndex})}function d(a,b){var d=c.call(this,a),e=d.find(a);e=d.rotateIndex(e+b);if(e!=null)return d[e]}b.getNextFocusWidget=function(a){return d.call(this,a,1)},b.getPrevFocusWidget=function(a){return d.call(this,a,-1)},b.getFirstFocusWidget=function(){return this.getNextFocusWidget(null)},b.getLastFocusWidget=function(){return this.getPrevFocusWidget(null)},b._handleKeybinding=function(a,b){if(a.altKey||a.ctrlKey){var d=c.call(this,b,true);d.foreach(function(b){if(b._check_accessKey(a)){b._handle_accessKey(a),a.domStop=true;throw new DlExStopEventBubbling}}),this.parent&&!this.__noParentKeyBindings&&this.parent._handleKeybinding(a,this)}};var e;a.getHiddenContainer=function(){e||(e=new this({className:"DlContainer-Hidden"}),document.body.appendChild(e.getElement()));return e}}),DEFINE_CLASS("DlRadioGroup",DlEventProxy,function(a,b){a.CONSTRUCT=function(a){a!=null&&(this._maxChecked=1,this._minChecked=null,this.id=a,this.reset(),this.addEventListener("onDestroy",d))};var c={};a.DEFAULT_EVENTS=["onChange"],a.getById=a.get=function(a){a||(a=Dynarch.ID("group"));var b=c[a];b||(b=c[a]=new this(a));return b};function d(){c[this.id]&&(this._history=this._buttonsByValue=this._buttonsById=this._buttons=null,delete c[this.id])}function e(a){if(a!=null){this._changed=true;if(a.checked()){if(this._maxChecked!=null)while(this._history.length>=this._maxChecked){var b=this._history[0];b.checked(false,true),this._history.splice(0,1)}this._history.push(a)}else{if(this._minChecked!=null&&this._history.length<=this._minChecked){a.checked(true,true);throw new DlExStopEventProcessing}this._history.remove(a)}}}b.reset=function(){this._buttons&&this._buttons.r_foreach(function(a){a.__group=a.__groupId=null}),this._changed=false,this._buttons=[],this._buttonsById={},this._buttonsByValue={},this._history=[],this.removeAllListeners("onChange"),this.addEventListener("onChange",e)},b.changed=function(a){var b=this._changed;a!=null&&(this._changed=a);return b},b.getSelected=function(){return this._history},b.getButtons=function(){return this._buttons},b.getNextButton=function(a){a==null&&(a=this.getSelected()[0]);var b=this._buttons,c=b.nullLimitIndex(b.find(a)+1);if(c!=null)return b[c]},b.getPrevButton=function(a){a==null&&(a=this.getSelected()[0]);var b=this._buttons,c=b.nullLimitIndex(b.find(a)-1);if(c!=null)return b[c]},b.getValue=function(){return this._history.map("value")},b.setValue=function(a,b){var c=this._buttonsByValue;a instanceof Array||(a=[a]),a=a.toHash(true),this._history=[];for(var d in c)c[d].checked(a[d],true),a[d]&&this._history.push(c[d]);b&&this.callHooks("onChange")},b.getByValue=function(a){return this._buttonsByValue[a]},b.addWidget=function(a,b){if(!this._buttonsById[a.id]){b==null&&(b=this._buttons.length),this._buttonsById[a.id]=a,this._buttons.splice(b,0,a),a.checked()&&this._history.push(a);var c=a.value();typeof c!="undefined"&&(this._buttonsByValue[c]=a),a.addEventListener("onDestroy",this.removeWidget.$(this,a))}},b.removeWidget=function(a){if(this._buttonsById[a.id]){this._changed=true,delete this._buttonsById[a.id];var b=a.value();typeof b!="undefined"&&delete this._buttonsByValue[a.value()],this._buttons.remove(a),this._history.length!=this._history.remove(a).length&&this.callHooks("onChange")}},b.minChecked=function(a){arguments.length>0&&(this._minChecked=a);return this._minChecked},b.maxChecked=function(a){arguments.length>0&&(this._maxChecked=a);return this._maxChecked},b.checkAll=function(a,b){a==null&&(a=true),b==null&&(b=false),this._buttons.foreach(function(c){c.checked(a,!b)}),this._history=a?Array.$(this._buttons):[]},b.unCheckAll=function(){this._history.r_foreach(function(a){a.checked(false)})}}),DEFINE_CLASS("DlAbstractButton",DlWidget,function(a,b){var c=["onMouseEnter","onMouseLeave","onMouseDown","onMouseUp","onUpdateLabel","onClick","onCheck","onChange","onDisabled"],d={STANDARD:1,TWOSTATE:2};a.DEFAULT_ARGS={_label:["label",""],_classes:["classes",{}],_checked:["checked",false],__groupId:["group",null],_btnType:["type",d.STANDARD],_value:["value",window.undefined],_noCapture:["noCapture",false],_alwaysCheck:["alwaysCheck",false]},a.CONSTRUCT=function(a){var b=this.__groupId;if(b!=null){var c;typeof b=="object"?(c=b,this.__groupId=c.id):c=DlRadioGroup.get(b),this.__group=c,c.addWidget(this,typeof a.appendArgs=="number"?a.appendArgs:null)}this._noCapture||(this._btnpressCapture={onMouseMove:DlException.stopEventBubbling,onMouseUp:this._cap_onMouseUp.$(this),onMouseOver:DlException.stopEventBubbling,onMouseOut:DlException.stopEventBubbling,onMouseEnter:this._cap_onMouseEnter.$(this),onMouseLeave:this._cap_onMouseLeave.$(this)})},a.DEFAULT_EVENTS=["onCheck","onUncheck","onChange","onUpdateLabel"],b._cap_onMouseUp=function(a){var b=a.getObject();DlEvent.releaseGlobals(this._btnpressCapture),this.applyHooks("onMouseUp",[a]),this._ev_mouseInside||this.applyHooks("onMouseLeave",[a]),b!==this&&(b&&b.applyHooks("onMouseEnter",[a]),DlException.stopEventBubbling())},b._cap_onMouseEnter=function(a){var b=a.getObject();b===this&&this.addClass(this._classes.active),b&&(b._ev_mouseInside=true),DlException.stopEventBubbling()},b._cap_onMouseLeave=function(a){var b=a.getObject();b===this&&this.delClass(this._classes.active),b&&(b._ev_mouseInside=false),DlException.stopEventBubbling()},a.TYPE=d,b._onMouseEnter=function(a){this.addClass(this._classes.hover)},b._onMouseLeave=function(a){this.delClass(this._classes.hover),this.delClass(this._classes.active)},b._onMouseDown=function(a){a.button===0&&(this._ev_mouseInside=true,this.addClass(this._classes.hover),this.addClass(this._classes.active),this._noCapture||(DlEvent.captureGlobals(this._btnpressCapture),a.domStop=true))},b._onMouseUp=function(a){this.delClass(this._classes.active)},b._onUpdateLabel=function(){this.condClass(!this._label||!/\S/.test(this._label),this._classes.empty)},b._onClick=function(){this._btnType==d.TWOSTATE&&(this._alwaysCheck?this.checked(true):this.toggle())},b.keyClicked=function(a){this.addClass(this._classes.active),function(){this.delClass(this._classes.hover),this.delClass(this._classes.active),this.applyHooks("onClick",[a])}.delayed(90,this),a&&(a.domStop=true,DlException.stopEventBubbling())},b._handle_focusKeys=function(b){var c=b.keyCode;if(c==DlKeyboard.ENTER||b.charCode==DlKeyboard.SPACE)this.keyClicked(b);else if(!this._customMoveKeys&&this.__group&&c in DlKeyboard.KEYS_MOVE){var d=c in DlKeyboard.KEYS_MOVE_PREV,e=d?this.__group.getPrevButton(this):this.__group.getNextButton(this);e&&(e.focus(),b.shiftKey&&(this.checked(true),e.checked(true)),b.domStop=true,DlException.stopEventBubbling())}a.BASE._handle_focusKeys.call(this,b)},b._handle_accessKey=function(a){this.focus(),this.keyClicked(a)},b.disabled=function(b,c){b!=null&&b&&(this.delClass(this._classes.hover),this.delClass(this._classes.active));return a.BASE.disabled.call(this,b,c)},b._onChange=function(){this.__group!=null&&this.__group.applyHooks("onChange",[this])},b._onCheck=Function.noop,b._onDisabled=function(a){this.condClass(a,this._classes.disabled),a&&this._capture&&(DlEvent.releaseCapture(this._capture),this._capture=null)},b._createElement=function(){a.BASE._createElement.call(this),this._createLabelElement(),this.label(this._label,true),this._updateState(),this.setUnselectable()},b._setListeners=function(){a.BASE._setListeners.call(this),c.r_foreach(function(a){this.addEventListener(a,this["_"+a])},this)},b._createLabelElement=Function.noop,b.label=function(a,b){if(b||arguments.length>0&&a!==this._label)(this._label=a)&&(a="<div class='DlButton-Label'>"+this._label+"</div>"),this.setContent(a),this.applyHooks("onUpdateLabel",[this._label]);return this._label},b.setLabel=b.label,b.getLabel=b.label,b.group=function(){return this.__group},b._checkTwoState=function(a){var b=this._btnType!=d.TWOSTATE;if(b&&!a)throw new DlExInvalidOperation("This operation is only available for a TWOSTATE button");return!b},b._updateState=function(){if(this._checkTwoState(true)){var a=this._classes;this.condClass(this._checked,a.checked,a.unchecked)}},b.checked=function(a,b){this._checkTwoState();if(arguments.length>0){a=!!a;var c=!b&&this._checked!==a;this._checked=a,this._updateState(),c&&(this.callHooks("onChange"),this.callHooks(a?"onCheck":"onUncheck"))}return this._checked},b.toggle=function(a){this._checkTwoState(),this.checked(!this._checked,a)},b.value=function(a){var b=this._value;arguments.length>0&&(this._value=a);return b},b.setValue=b.value,b.getValue=b.value}),DEFINE_CLASS("DlAnimation",DlEventProxy,function(a,b){a.DEFAULT_EVENTS=["onStart","onStop","onPause","onUpdate"],a.CONSTRUCT=function(a,b){this.addEventListener("onDestroy",this.stop.$(this)),a!=null&&(this.length=a),b!=null&&(this._speed=1e3/b),this._update=c.$(this)},b.start=function(a,b,c){this.stop(),a!=null&&(this.length=a),b!=null&&(this._speed=1e3/b),c!=null&&(c instanceof Function||(c=DlAnimation.easing[c]),this.func=c),this.i=this.t=0,this.callHooks("onStart"),this._timer=setInterval(this._update,this._speed)},b.running=function(){return this._timer},b.stop=function(a){this._timer&&(clearInterval(this._timer),this._timer=null,this.applyHooks("onStop",[a]))},b.getPos=function(a){a==null&&(a=this.func);return a.call(this,this.t)};function c(){this.t=this.i/this.length;try{this.applyHooks("onUpdate",[this.t]),++this.i>this.length&&this.stop(true)}catch(a){this.stop();throw a}}var d=Math.PI,e=Math.abs,f=Math.asin,g=Math.pow,h=Math.sin,i=Math.cos,j=Math.exp,k=Math.round,l=a.easing={elastic_b:function(a){return 1-i(-a*5.5*d)/g(2,7*a)},elastic_b_custom:function(a,b,c){a+=.5;return 1-i(-c*a*d)/g(2,b*c)},magnetic:function(a){return 1-i(a*a*a*10.5*d)/j(4*a)},accel_b:function(a){a=1-a;return 1-a*a*a},accel_a:function(a){return a*a*a},accel_ab:function(a){a=1-a;return 1-h(a*a*a*d/2)},bounce_b:function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375},shake:function(a){return a<.5?-i(a*11*d)*a*a:(a=1-a,i(a*11*d)*a*a)}}}),DEFINE_CLASS("DlBox",DlContainer,function(a,b,c){a.DEFAULT_ARGS={_borderSpacing:["borderSpacing",0],_align:["align",null],_tagName:["tagName","table"]},b._createElement=function(){a.BASE._createElement.call(this);var b=this.getElement();b.cellSpacing=this._borderSpacing,b.cellPadding=0,this._align&&(b.align=this._align),this.refNode("_tbody",c.createElement("tbody",null,null,b))},b.getTableElement=b.getElement,b._appendWidgetElement=function(a,b){b==null?this.createCellElement().appendChild(a.getElement()):b.appendChild(a.getElement())},b.destroyChildWidgets=function(){var a=Array.$(this._widgets);a.r_foreach(function(a){try{a.destroy()}catch(a){}})},b.__addSep=function(a,b,d){d||(d=this.createCellElement()),d.separator=true;var e=this._objectType+"-"+a;b&&(e+=" "+b),d.className=e,d.innerHTML="<div class='"+e+"'>&nbsp;</div>",c.setUnselectable(d);return d},b.addSeparator=function(a,b){return this.__addSep("separator",a,b)},b.addSpace=function(a,b){return this.__addSep("spacer",a,b)}}),DEFINE_CLASS("DlButton",DlAbstractButton,function(a,b,c){a.CONSTRUCT=function(){this.setIconClass(this._iconClass),this._iconClass=null},a.TYPE=DlAbstractButton.TYPE,a.DEFAULT_ARGS={_classes:["classes",{active:"DlButton-active",hover:"DlButton-hover",checked:"DlButton-1",unchecked:"DlButton-0",empty:"DlButton-empty",disabled:"DlButton-disabled"}],_iconClass:["iconClass",null]},b.__withIconClass="DlButton-withIcon",b._createElement=function(){a.BASE._createElement.call(this),this.addClass("DlWidget-3D")},b._createLabelElement=function(){this.getElement().innerHTML="<div class='DlButton-inner'><div></div></div>"},b.getContentElement=function(){return this.getElement().firstChild.firstChild},b.setSize=b.setOuterSize=function(a){var b=c.getPaddingAndBorder(this.getElement());a.x!=null&&(a.x-=b.x),a.y!=null&&(a.y-=b.y),b=c.getPaddingAndBorder(this.getElement().firstChild),a.x!=null&&(a.x-=b.x),a.y!=null&&(a.y-=b.y),c.setOuterSize(this.getContentElement(),a.x,a.y)}}),DEFINE_CLASS("DlHbox",DlBox,function(a,b,c){var d=c.createElement;b._createElement=function(){a.BASE._createElement.call(this),this.refNode("_row",d("tr",null,null,this._tbody))},b.createCellElement=function(a){var b=d("td",null,{className:"cell"});a!=null?this._row.insertBefore(b,a):this._row.appendChild(b);return b},b._removeWidgetElement=function(a){if(this._widgets.contains(a)){var b=a.getElement();b.parentNode.parentNode.removeChild(b.parentNode)}},b.addFiller=function(){var a=this.createCellElement();a.className+=" DlHbox-filler",this.addClass("DlHbox-hasFiller")},b.setAlign=function(a,b){var c=this.getElement();switch(a){case"left":c.style.marginLeft="0",c.style.marginRight="auto";break;case"center":c.style.marginRight=c.style.marginLeft="auto";break;case"right":c.style.marginLeft="auto",c.style.marginRight="0";break;default:c.style.marginLeft=a!=null?a:"auto",c.style.marginRight=b!=null?b:"auto"}},b.setEqualWidths=function(a){var b=this.children().max(function(a){return a.getSize().x});a&&(b+=a),this.children().r_foreach(function(a){a.setSize({x:b})})}});function DlPoint(a,b){typeof a=="object"?(this.x=a.x,this.y=a.y):(this.x=a,this.y=b)}DlPoint.prototype={clone:function(){return new DlPoint(this.x,this.y)},normalize:function(a){var b;this.x>a.x&&(b=this.x,this.x=a.x,a.x=b),this.y>a.y&&(b=this.y,this.y=a.y,a.y=b);return this},distanceTo:function(a){var b=Math.abs(a.x-this.x),c=Math.abs(a.y-this.y);return Math.sqrt(b*b+c*c)}};function DlRect(a,b,c,d){a instanceof DlRect?this.setFromRect(a):typeof a=="object"?typeof b=="object"?b instanceof DlPoint?this.setFromPoints(a,b):this.setFromValues(a.x,a.y,b.x,b.y):this.setFromValues(a.x,a.y,c,d):this.setFromValues(a,b,c,d)}DlRect.prototype={setFromRect:function(a){this.x=a.x,this.y=a.y,this.w=a.w,this.h=a.h;return this},setFromPoints:function(a,b){a=a.clone().normalize(b=b.clone()),this.x=a.x,this.y=a.y,this.w=b.x-a.x+1,this.h=b.y-a.y+1;return this},setFromValues:function(a,b,c,d){this.x=a,this.y=b,this.w=c,this.h=d;return this},getTL:function(){return new DlPoint(this.x,this.y)},getBR:function(){return new DlPoint(this.x+this.w-1,this.y+this.h-1)},getPoints:function(){return[getTL(),getBR()]},height:function(a){a!=null&&(this.h=a);return this.h},width:function(a){a!=null&&(this.w=a);return this.w},containsPoint:function(a){return this.x<=a.x&&this.x+this.w>a.x&&this.y<=a.y&&this.y+this.h>a.y},intersect:function(a){var b=null,c=Math,d=c.max(this.x,a.x),e=c.max(this.y,a.y),f=c.min(this.x+this.w,a.x+a.w)-d,g=c.min(this.y+this.h,a.y+a.h)-e;f>0&&g>0&&(b=new DlRect(d,e,f,g));return b},area:function(){return this.w*this.h},makeDiv:function(a,b){b||(b="#000"),a==null&&(a=0);var c={position:"absolute",left:this.x+"px",top:this.y+"px",width:this.w-a*2+"px",height:this.h-a*2+"px",overflow:"hidden",lineHeight:"1px",fontSize:"1px",border:a+"px solid "+b};return c=DynarchDomUtils.createElement("div",c,{innerHTML:"&nbsp;"})},positionDiv:function(a){a.style.left=this.x+"px",a.style.top=this.y+"px",a.style.height=this.h+"px",a.style.width=this.w+"px"},toString:function(){return this.w+"x"+this.h+"@"+this.x+","+this.y}},DEFINE_CLASS("DlPopup",DlContainer,function(a,b,c){var d=c.createElement,e=c.addClass,f=c.delClass,g=c.condClass,h={},i={},j={},k=/DlPopup-scroll(Up|Down)?-hover/g;a.BEFORE_BASE=function(){this.visible=this._hasScrolling=false},a.DEFAULT_EVENTS=["onPopup","onHide"],a.DEFAULT_ARGS={_level:["level",0],_autolink:["autolink",true],_oscroll:["scroll",{step1:5,step2:10,speed:40}],_align:["align",null],_zIndex:["zIndex",1e3],_focusable:["focusable",true],_shadows:["shadows",true]},b.FINISH_OBJECT_DEF=function(){a.BASE.FINISH_OBJECT_DEF.call(this),this.constructor.get=a.get,this.constructor.clearAll=a.clearAll,h[this._objectType]=[],i[this._objectType]={}},a.get=function(a,b){var c=this.prototype._objectType,d=false,e=h[c].length;if(a==null||a>=e)a=e,d=true;var f=i[c];i[c]||(f=i[c]={});var g=f[a];g||(b?g=null:g=f[a]=new this({level:a})),g.detachPopup(),d&&a>0&&g.attachToPopup(h[c].peek());return g},a.clearAll=function(a){var b=h[this.prototype._objectType];b=b[a||0],b&&b.hide()},a.clearAllPopups=function(a){for(var b in j)(!a||!a[b])&&j[b].hide()},b._createElement=function(){var b=this._parent;this._parent=null,a.BASE._createElement.call(this);var c=this.getElement();this.parent=b,this.display(false),document.body.appendChild(c),this._shadows&&!is_ie6?(c.appendChild(DlElementCache.get("SHADOWS")),e(c,typeof this._shadows=="string"?this._shadows:"ThinShadows")):(this._shadows=false,e(c,this._objectType+"-noShadow")),is_gecko&&(c=d("div",null,{className:"Gecko-Bug-302380"},c)),this.refNode("_contentEl",d("div",null,{className:"DlPopup-scrollArea"},c)),this.zIndex(this._zIndex)},b.getContentElement=function(){return this._contentEl},b.getScrollDiv=b.getContentElement,b._scrollSetArrowState=function(){var a=this.getScrollDiv(),b=this._scroll_el(0),c=this._scroll_el(1),d=a.scrollTop==0,e=a.scrollTop+a.offsetHeight==a.scrollHeight;(d||e)&&this._scrollStopHandler(),g(b,d,"DlPopup-scrollUp-disabled"),g(c,e,"DlPopup-scrollDown-disabled")};function l(a){this.getScrollDiv().scrollTop+=this._scrollStep*a,this._scrollSetArrowState()}function m(a,b){a._scrollStep=a._oscroll.step1,a._scrollTimer=setInterval(l.$(a,b),a._oscroll.speed),e(this,"DlPopup-scroll-hover"),g(this,b>0,"DlPopup-scrollDown-hover","DlPopup-scrollUp-hover")}b._scrollStopHandler=function(){this._scrollTimer&&(clearInterval(this._scrollTimer),this._scrollTimer=null,this._scrollSetArrowState()),f(this._scroll_el(0),k),f(this._scroll_el(1),k)},b._scrollDoubleSpeed=function(a){this._scrollStep=this._oscroll[a?"step2":"step1"];return false},b._scroll_setup=function(){if(!this._hasScrolling){this._hasScrolling=true;var a=this.getElement(),b=d("div",null,{className:"DlPopup-scrollUp"},a,0),c=d("div",null,{className:"DlPopup-scrollDown"},a);b.onmouseover=m.$(null,this,-1),c.onmouseover=m.$(null,this,1),b.onmouseout=c.onmouseout=this._scrollStopHandler.$(this),b.onmousedown=c.onmousedown=this._scrollDoubleSpeed.$(this,true),b.onmouseup=c.onmouseup=this._scrollDoubleSpeed.$(this,false),this.refNode("_scrollEl0",b),this.refNode("_scrollEl1",c),this.getScrollDiv().onscroll=this._scrollSetArrowState.$(this)}this._scroll_visibile(true)},b._scroll_el=function(a){return this["_scrollEl"+a]},b._scroll_visibile=function(a){this._hasScrolling&&(is_gecko&&(this.getScrollDiv().parentNode.style.overflow=a?"auto":""),this._scroll_el(1).style.display=this._scroll_el(0).style.display=a=a?"":"none",this.args.scrollVisible=!a)};function n(){h[this._objectType][this._level]=this;if(!this._autolink||this._level==0)j[this.id]=this}function o(){var a=h[this._objectType],b=a[this._level+1];b&&b.hide(),a.splice(this._level,1),j[this.id]&&delete j[this.id]}function p(a){if(this.args.scrollVisible){var b=this.getScrollDiv(),c=b.scrollTop;a.wheelDelta<0?c+=20:(c-=20,c<0&&(c=0)),b.scrollTop=c,a.domStop=true,DlException.stopEventBubbling()}}var q=false;function r(b){var c=b.getObject(),d={};while(c&&!(c instanceof a))c.currentPopup&&(d[c.currentPopup.id]=true),c=c.parent;if(c)while(c!=null)d[c.id]=true,c=c._parentPopup;a.clearAllPopups(d)}b._setListeners=function(){a.BASE._setListeners.call(this),this.addEventListener({onPopup:n,onMouseWheel:p,onHide:o}),q||(q=true,DlEvent.captureGlobal("onMouseDown",r))};function s(a){a.onBeforePopup&&a.onBeforePopup.call(this,a),this._timer=null;this.setContent(a.content)&&(a.onPopup&&a.onPopup.call(this,a),this.applyHooks("onPopup",[a]),this.showAt(a.anchor,a.align||this._align,a.pos,a.shift,a.fluid),this._prevFocus=DlEvent.focusedWidget(),this.focus())}b.popup=function(a){this.args=a,this.cancel(),a.timeout?this._timer=s.$(this,a).delayed(a.timeout):s.call(this,a)};function t(){if(this.visible){this.args&&this.args.onHide&&this.args.onHide.call(this,this.args);if(this._focusable&&this._prevFocus)try{this._prevFocus.focus()}catch(a){}this._timer=this.args=null,this.callHooks("onHide"),this.display(false),this.visible=false}}b.hide=function(a){this.cancel(),a?this._timer=t.$(this).delayed(a):t.call(this)},b.cancel=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},b.correctPos=Function.noop,b.reposition=function(){this.visible&&this.showAt(this.args.anchor,this.args.align||this._align,this.args.pos,this.args.shift,this.args.fluid)},b.showAt=function(a,b,d,e,f){var g,h,i,j=this.getScrollDiv();b||(b=this._align),b=="mouse"?(d==null&&(d=Object.makeCopy(DlEvent.latestMouseEvent.pos)),g=d,this._mouseDiff&&(g.x+=this._mouseDiff.x,g.y+=this._mouseDiff.y),b={prefer:"__",fallX1:"_R",fallX2:"_L",fallY1:"B_",fallY2:"T_"}):(g=c.getPos(a),e&&(e.x&&(g.x+=e.x),e.y&&(g.y+=e.y))),i=c.getOuterSize(a),h=Object.makeCopy(g),this.visibility(false),j.style.height="",this._scroll_visibile(false),this.setPos(-3e4,-3e4),this.display(true),is_ie&&(this.getElement().style.width="");var k=this._bestPosition(b,h,i),l=k.height(),m=this.getScrollDiv().offsetHeight,n=this.getElement().offsetHeight-m;h=k.getTL();if(l<m)if(f)this.children(0).setSize({y:l});else{is_ie&&(this.getElement().style.width=j.offsetWidth+"px"),this._scroll_setup();var o=this._scroll_el(0).offsetHeight,p=this._scroll_el(1).offsetHeight;j.style.height=l-o-p-n+"px",this._scrollSetArrowState(),j.scrollTop=0}this.correctPos(h),this.setPos(h.x,h.y);if(this._parentPopup){var q=this._parentPopup.zIndex()+1;this.zIndex(q)}this.visibility(true),this.visible=true},b._bestPosition=function(a,b,d){var e=c.getWindowSize(),f=new DlRect(0,0,e.x,e.y),g=new DlPoint(b);e=this.getSize(),this._doAlign(a.prefer,g,d);var h=(new DlRect(g,e)).intersect(f),i=this.checkXPos(g,f),j=this.checkYPos(g,f);if(i==0&&j==0)return h;if(i!=0){g.x=b.x,this._doAlign(a.fallX1,g,d);var k=(new DlRect(g,e)).intersect(f);g.x=b.x,this._doAlign(a.fallX2,g,d);var l=(new DlRect(g,e)).intersect(f);k&&l?g=k.area()>l.area()?k.getTL():l.getTL():k?g=k.getTL():l&&(g=l.getTL()),this.args.fallX=true}if(j!=0){g.y=b.y,this._doAlign(a.fallY1,g,d);var m=(new DlRect(g,e)).intersect(f);g.y=b.y,this._doAlign(a.fallY2,g,d);var n=(new DlRect(g,e)).intersect(f);m&&n?g=m.area()>n.area()?m.getTL():n.getTL():m?g=m.getTL():n&&(g=n.getTL()),this.args.fallY=true}return(new DlRect(g,e)).intersect(f)},b._doAlign=function(a,b,c){var d=this.getSize(),e=a.substr(0,1),f="";a.length>1&&(f=a.substr(1,1));switch(e){case"T":b.y-=d.y,this._mouseDiff&&this.args.align=="mouse"&&(b.y-=2*this._mouseDiff.y);break;case"B":b.y+=c.y,this._mouseDiff&&this.args.align=="mouse"&&(b.y+=2*this._mouseDiff.y);break;case"C":case"c":b.y+=(c.y-d.y)/2;break;case"t":b.y+=c.y-d.y;break;case"b":}switch(f){case"L":b.x-=d.x,this._mouseDiff&&this.args.align=="mouse"&&(b.x-=2*this._mouseDiff.x);break;case"R":b.x+=c.x,this._mouseDiff&&this.args.align=="mouse"&&(b.x+=2*this._mouseDiff.x);break;case"C":case"c":b.x+=(c.x-d.x)/2;break;case"l":b.x+=c.x-d.x;break;case"r":}},b.checkXPos=function(a,b){if(a.x<b.x)return a.x-b.x;var c=this.getSize(),d=a.x+c.x-b.x-b.w;return d>0?d:0},b.checkYPos=function(a,b){if(a.y<b.y)return a.y-b.y;var c=this.getSize(),d=a.y+c.y-b.y-b.h;return d>0?d:0},b.attachToPopup=function(a){this._parentPopup=a,a._childPopup=this},b.detachPopup=function(){this._parentPopup&&(this._parentPopup._childPopup=null),this._parentPopup=null},b.getToplevelPopup=function(){var a=this;while(a._parentPopup)a=a._parentPopup;return a},b._handle_focusKeys=function(a){if(!a.altKey&&!a.ctrlKey)if(a.keyCode==DlKeyboard.ESCAPE)this.hide();else if(a.keyCode==DlKeyboard.TAB){var b=a.focusedWidget;b=a.shiftKey?this.getPrevFocusWidget(b):this.getNextFocusWidget(b),b&&b.focus(),a.domStop=true,DlException.stopEventBubbling()}this._handleKeybinding(a)}}),DEFINE_CLASS("DlVbox",DlBox,function(a,b,c){var d=c.createElement;b.createCellElement=function(){return d("td",null,{className:"cell"},d("tr",null,{className:"row"},this._tbody))},b._removeWidgetElement=function(a){if(this._widgets.contains(a)){var b=a.getElement();b.parentNode.parentNode.parentNode.removeChild(b.parentNode.parentNode)}}});function DlMenuBase(){if(!this._isMenuBase){this._isMenuBase=true,this._items=[];var a=this;function b(b,c,d){var e=d?d.widget:null;this._noClose||DlPopupMenu.clearAll(),a.applyHooks.delayed(1,a,"onSelect",[this.name,this,e])}var c=this.appendWidget;this.appendWidget=function(a){a instanceof DlMenuItem&&(this._items.push(a),a.name!=null&&a.addEventListener("onSelect",b)),c.apply(this,Array.$(arguments))},this.getItemByName=function(a){return this._items.grep_first(function(b){return b.name&&b.name==a})},this.getItemById=function(a){return this._items.grep_first(function(b){return b.__itemId&&b.__itemId==a})},this instanceof DlHbox?this._popupAlign={prefer:"Br",fallX1:"_r",fallX2:"_l",fallY1:"B_",fallY2:"T_"}:this._popupAlign={prefer:"bR",fallX1:"_R",fallX2:"_L",fallY1:"b_",fallY2:"t_"},this._getDlPopup=function(){var a=this.getParent(DlPopupMenu),b=0,c;a&&(b=a._level+1),c=DlPopupMenu.get(b),c.detachPopup(),a&&c.attachToPopup(a);return c},this.getToplevelMenu=function(){var a=this;while(a.parentMenu)a=a.parentMenu;return a}}}DEFINE_CLASS("DlPopupMenu",DlPopup,function(a,b){a.CONSTRUCT=function(){this._mouseDiff={x:2,y:1}};function c(){this.cancel();var a=this.args}a.onBeforePopup=function(a){a.isContext?a.widget.activateSubmenu&&a.widget.activateSubmenu(true):(a.item.currentPopup=this,a.menu._popupVisible=a.item._popupVisible=true,a.item.activateSubmenu(true));var b=a.content;b instanceof Function&&(a.content=b=b.call(this)),b.parentMenu=a.isContext?a.widget:a.menu,b instanceof DlWidget&&b.hasHooks("onPopup")&&b.applyHooks("onPopup",[a])},a.onHide=function(a,b){if(a.isContext)a.widget.activateSubmenu&&a.widget.activateSubmenu(false);else{a.item.activateSubmenu(false),a.item.currentPopup=null,a.menu._popupVisible=a.item._popupVisible=false;var c=a.content;c instanceof DlWidget&&c.hasHooks("onHide")&&c.applyHooks("onHide",[a]),c.parentMenu=null}b&&b.call(this,a)},b.popup=function(b){b.onBeforePopup||(b.onBeforePopup=a.onBeforePopup),b.onHide?b.onHide=a.onHide.$(this,b,b.onHide):b.onHide=a.onHide,a.BASE.popup.call(this,b)},b._setListeners=function(){a.BASE._setListeners.call(this),this.addEventListener({onMouseEnter:c})},b.correctPos=function(a){var b=this.args;try{if(!b.isContext&&!b.scrollVisible){var c=b.menu;if(c&&c instanceof DlVMenu){var d=b.content._widgets[0].getPos().y-b.content.parent.getElement().offsetTop;Math.abs(d)<50&&(b.fallY?a.y+=d:a.y-=d)}}}catch(a){}}}),DEFINE_CLASS("DlHMenu",DlHbox,function(a,b){a.CONSTRUCT=DlMenuBase,a.DEFAULT_EVENTS=["onSelect","onPopup"]}),DEFINE_CLASS("DlVMenu",DlVbox,function(a,b){a.CONSTRUCT=DlMenuBase,a.DEFAULT_EVENTS=["onSelect","onPopup"]}),DEFINE_CLASS("DlMenuItem",DlContainer,function(a,b,c){a.CONSTRUCT=function(){this.parentMenu||(this.parentMenu=this.parent)},a.DEFAULT_EVENTS=["onSelect"],a.DEFAULT_ARGS={label:["label","DlMenuItem"],_iconClass:["iconClass",null],_noClose:["noClose",false],parentMenu:["menu",null],name:["name",null],__itemId:["id",null]},b._inBaseMenu=function(){return!this.parentMenu.parentMenu},b._createElement=function(){a.BASE._createElement.call(this);var b=this.getElement();b.innerHTML="<div class=\"div1\"><div class=\"div2\"></div></div>",this.setIconClass(this._iconClass),this._iconClass=null,this.setUnselectable(),this.label&&this.setContent(this.label)},b.getContentElement=function(){return this.getElement().firstChild.firstChild},b._getDlPopup=function(){return this.parentMenu._getDlPopup()};function d(){this.scrollIntoView(),this.addClass("DlMenuItem-hover","DlMenuItem-active");var a=this._inBaseMenu();if(!a||this.parentMenu._popupVisible)this._menu?this._popupMenu(a?0:250):a&&this._getDlPopup().hide(100)}function e(){this.delClass("DlMenuItem-hover"),this.delClass("DlMenuItem-active");var a=this._inBaseMenu();a||this._getDlPopup().hide(100)}function f(){this.delClass("DlMenuItem-active");if(this.hasHooks("onSelect")){var a=DlPopupMenu.get(0).args;this._noClose||DlPopupMenu.clearAll(),this.applyHooks.delayed(1,this,"onSelect",[this.name,this,a])}}function g(){this.addClass("DlMenuItem-active"),this._popupMenu(0),DlException.stopEventBubbling()}function h(){this._menu instanceof DlWidget&&(this._menu.destroy(),this._menu=null)}b._popupMenu=function(a){if(this._menu&&!this._popupVisible){var b=this.parentMenu,c=this._getDlPopup();c.visible&&c.hide(),c.popup({timeout:a,content:this.getMenu(),anchor:this.getElement(),align:b._popupAlign,item:this,menu:this.parentMenu,onPopup:this._onPopup,onHide:this._onHide})}},b._setListeners=function(){a.BASE._setListeners.call(this),this.addEventListener({onMouseEnter:d,onMouseLeave:e,onMouseDown:g,onMouseUp:f,onDestroy:h})},b.getMenu=function(){return this._menu},b.setMenu=function(a,b,d){this._menu instanceof DlWidget&&this._menu.destroy(),a instanceof DlWidget&&a.ref(),this._menu=a,this._onPopup=b,this._onHide=d,c.condClass(this.getElement().firstChild,a,"DlMenuItem-withPopup")},b.activateSubmenu=function(a){this.condClass(a,"DlMenuItem-popped")}}),DEFINE_CLASS("DlButtonMenu",DlHbox,function(a,b){a.CONSTRUCT=DlMenuBase,a.DEFAULT_EVENTS=["onSelect","onPopup","onHide","onClick"],a.DEFAULT_ARGS={label:["label",null],_iconClass:["iconClass",null],_shiftMenu:["shiftMenu",null],_connected:["connected",false]},b.ALIGN={prefer:"Br",fallX1:"_r",fallX2:"_l",fallY1:"B_",fallY2:"T_"},b.activateSubmenu=function(a){this._mainBtn.condClass(a,"DlButton-1"),this._menuBtn.condClass(a,"DlButton-1")},b._createElement=function(){a.BASE._createElement.call(this),this._mainBtn=new DlButton({parent:this,focusable:false,label:this.label,className:"LabelPart",noCapture:this._connected,iconClass:this._iconClass}),this._mainBtn.connectEvents("onClick",this),this._menuBtn=new DlButton({parent:this,focusable:false,label:"&nbsp;",className:"MenuArrow",noCapture:true}),this._menuBtn.getElement().parentNode.style.width="3px",this._menuBtn.getContentElement().className="MenuArrow-inner",this._connected&&this._mainBtn.connectEvents("onMouseDown",this._menuBtn),this._mainBtn.connectEvents(["onMouseEnter","onMouseLeave"],this._menuBtn),this._menuBtn.addEventListener("onMouseDown",this._do_popupMenu.$(this)),this.addEventListener("onDestroy",this.setMenu.$(this,null))},b._do_popupMenu=function(a){if(!this._popupVisible){var b=this._getContextMenuPopup();b.popup({timeout:0,content:this.getMenu(),align:this.ALIGN,anchor:this.getTableElement(),isContext:true,widget:this,shift:this._shiftMenu,onHide:this.callHooks.$(this,"onHide")}),a instanceof DlEvent&&(a._justFocusedWidget=b),this.callHooks("onPopup")}},b.getMenu=function(){return this._menu},b.getButton=function(){return this._mainBtn},b.getArrow=function(){return this._menuBtn},b.setMenu=function(a){this._menu instanceof DlWidget&&this._menu.destroy(),a instanceof DlWidget&&a.ref(),this._menu=a}});var DlElementCache={get:function(a){return this[a].cloneNode(true)}};(function(){var a=DynarchDomUtils.createElement,b=Dynarch.ID,c=DlElementCache;(function(){var b=document.createDocumentFragment();a("td",null,null,a("tr",null,null,a("tbody",null,null,b))),c.TBODY_RC=b})(),function(){var b=document.createDocumentFragment();a("div",null,{className:"Shadow Shadow-TL"},b),a("div",null,{className:"Shadow Shadow-T"},b),a("div",null,{className:"Shadow Shadow-TR"},b),a("div",null,{className:"Shadow Shadow-L"},b),a("div",null,{className:"Shadow Shadow-R"},b),a("div",null,{className:"Shadow Shadow-BL"},b),a("div",null,{className:"Shadow Shadow-B"},b),a("div",null,{className:"Shadow Shadow-BR"},b),c.SHADOWS=b}(),function(){var b=a("tr"),d=a("td",null,null,b);(6).times(function(){b.appendChild(d.cloneNode(true))}),c.CAL_HEAD=a("thead"),c.CAL_HEAD.appendChild(b.cloneNode(true));var e=c.CAL_BODY=a("tbody");(6).times(function(){e.appendChild(b.cloneNode(true))})}(),c.DRAGGING_LINE=a("div",null,{className:"DlResizeBar-DraggingLine"})})(),DEFINE_CLASS("DlCalendar",DlWidget,function(a,b,c){var d=c.createElement,e=c.addClass,f=c.delClass,g=c.condClass;a.FIXARGS=function(a){a.tagName="table",this._dayNamesOn=-1,this._selectedDate=a.date&&a.selected?a.date.getDate():0},a.CONSTRUCT=function(){this._noinit||this.init()},a.DEFAULT_EVENTS=["onSelect","onChange","onRendered"],a.DEFAULT_ARGS={firstDay:["firstDay",Date.getFirstDayOfWeek()],fixedFirstDay:["fixedFirstDay",true],_weekNumbers:["weekNumbers",false],date:["date",null],selected:["selected",true],_navigation:["navigation",2],_navDisabled:["navDisabled",false],_omDisabled:["omDisabled",false],_noinit:["noinit",false],_withMenu:["withMenu",false],_disableHandler:["disableHandler",Function.returnFalse],_cal_tooltip:["dayTooltip",null],_infoDates:["infoDates",null],__tooltip:["tooltip",m]},b._createElement=function(){a.BASE._createElement.call(this);var b,c,e,f,g=this.getElement(),h=DlElementCache.get("CAL_BODY");g.cellSpacing=g.cellPadding=g.border=0,g.appendChild(DlElementCache.get("CAL_HEAD")),g.appendChild(h);if(this._weekNumbers)for(b=g.getElementsByTagName("tr"),c=b.length;--c>=0;)e=b[c],f=d("td",null,{className:"DlCalendar-WeekNumber"}),e.insertBefore(f,e.firstChild);e=d("tr"),f=d("td",null,null,e),e.className="DlCalendar-Navigation";if(this._navigation==0)f.colSpan=this.getNCols(),this._makeNavPart(f,0);else{var i=d("td",null,null,e),j=d("td",null,null,e);if(this._navigation==1)i.colSpan=this.getNCols()-2,this._makeNavPart(i,0,f,-1,j,1);else if(this._navigation==2){var k=d("td",null,null,e),l=d("td",null,null,e);j.colSpan=this.getNCols()-4,this._makeNavPart(j,0,f,-2,i,-1,k,1,l,2)}}c=g.rows[0],c.parentNode.insertBefore(e,c),this.setUnselectable(),this._withMenu&&this._createQuickNavMenu()};var h=null;function i(){if(!h){h=new DlVMenu({}),h.setStyle("textAlign","center"),new DlMenuItem({parent:h,label:DlTEXTS.goToday,name:"today",noClose:true}),h.addSeparator();var a=new DlSpinner({parent:h,size:4});a.addEventListener("onChange",function(){a.validationError||h.calendar.setYear(a.getValue())}),a.getElement().align="center",h.addSeparator(),(12).times(function(a){new DlMenuItem({parent:h,label:Date.getMonthName(a),name:a,noClose:true})}),h.addEventListener("onPopup",function(b){this.calendar=b.widget,a.setValue(this.calendar.date.getFullYear()),a.focus.$(a).delayed(5)}),h.addEventListener("onSelect",function(b){b=="today"?this.calendar.setToday():(this.calendar.setMonth(b),this.calendar.setYear(a.getValue())),h.getParent(DlPopup).hide()})}return h}b._createQuickNavMenu=function(){this.setContextMenu(i)},b._makeNavPart=function(){for(var a,b,c=0;c<arguments.length;++c){a=arguments[c++];switch(a._navType=b=arguments[c]){case-2:a.className="PrevYear";break;case-1:a.className="PrevMonth";break;case 0:a.className="Month",this.refNode("_monthTD",a);break;case 1:a.className="NextMonth";break;case 2:a.className="NextYear"}}},b.getNCols=function(){return this._weekNumbers?8:7},b.getTableElement=function(){return this.getElement()},b._displayDayNames=function(){var a,b=new Date,c=b.getDay(),d=this.getTableElement().getElementsByTagName("tr")[1],e=this._weekNumbers?1:0,f=this.firstDay;d.className="DlCalendar-DayNames";while(a=d.cells[e++])a._firstDay=f%7,g(a,f==c,"Today"),a.innerHTML=Date.getDayName(f++,true),g(a,Date.isWeekend(a._firstDay),"WeekEnd");this._dayNamesOn=this.firstDay,this._weekNumbers&&(a=d.cells[0],a.innerHTML="w",a._week=-1,a.className="WeekNumber")},b._displayCalendar=function(){var a=new Date,b=a.getFullYear(),c=a.getMonth(),d=a.getDate();this._selectedTD=null,this._dayNamesOn!=this.firstDay&&this._displayDayNames();var e=new Date(this.date);e.setHours(12);var f=e.getMonth(),g=e.getDate(),h=e.getFullYear(),i=e.getMonthDays();this._monthTD.innerHTML=String.buffer("<b>",Date.getMonthName(f,this._navigation==2),"</b> ",h).get(),e.setDate(1);var j=(e.getDay()-this.firstDay)%7;j<0&&(j+=7),e.setDate(-j),e.setDate(e.getDate()+1);for(var k=this.getTableElement().rows[2],l=this._cells=[],m=this._displayedInterval={},n,o=0;o<6;++o,k=k.nextSibling){k.className="Dates";var p=k.firstChild;this._weekNumbers&&(p.className="WeekNumber",p.innerHTML=p._week=e.getWeekNumber(),p=p.nextSibling);for(var q,r=0;r<7;++r,p=p.nextSibling,e.setDate(q+1)){var s=e.getDay(),t=[];p._iday=q=e.getDate(),p._month=e.getMonth(),p._year=e.getFullYear(),p._info=null,n={y:p._year,m:p._month,d:p._iday};if(this._infoDates){var u=n.y+"-"+(1+n.m).zeroPad(2)+"-"+n.d.zeroPad(2),v=this._infoDates[u];v&&(p._info=v,t.push(v.className||"DlCalendar-infoDay"))}m.start||(m.start=n),(p._otherMonth=f!=n.m)?(t.push("OtherMonth"),l[q+(q>15?100:200)]=p):(f==c&&q==d&&b==n.y&&t.push("Today"),this._selectedDate==q&&(this._selectCell(p),t.push("Selected")),l[q]=p),(s==0||s==6)&&t.push("WeekEnd"),p.disabled=this._disableHandler(e,t,p),p.innerHTML=this.getDayHTML(q),p.className=t.join(" ")}}m.end=n,this.applyHooks("onRendered",[this])},b.getDayHTML=Function.identity,b.getDateCell=function(a){return this._cells[a]},b.getDisplayedInterval=function(){return this._displayedInterval},b.selectDate=function(a,b){a instanceof Date&&(a.dateEqualsTo(this.date,true)||(this.date=new Date(a),this.init()),a=a.getDate()),this._selectCell(this.getDateCell(a),!b)},b.clearSelection=function(){this._selectedDate=null,this._initialized&&this._displayCalendar()};function j(a){this._clearTimer();var b=a.getParentElement("td",this);if(b){this._currentHover&&(f(this._currentHover,"hover"),f(this._currentHover,"rolling"),this._currentHover=null,DlWidget.getTooltip().hide());if(b._navType!=null&&this._navDisabled)return;if(b._otherMonth&&this._omDisabled)return;if(b._firstDay!=null&&this.fixedFirstDay||b._week!=null)return;if(b.disabled)return;e(b,"hover"),this._currentHover=b,this.__tooltip&&this._popupTooltip()}}function k(a){this._clearTimer(),this._currentHover&&(f(this._currentHover,"hover"),f(this._currentHover,"rolling"),this._currentHover=null)}b.setYear=function(a){a!=this.date.getFullYear()&&(this.date.setFullYear(a),this.init())},b.setMonth=function(a){a!=this.date.getMonth()&&(this.date.setMonth(a),this.init())},b.setToday=function(){var a=new Date;this._selectedDate=0,this.date=a,this.init()},b._navCellClicked=function(a,b,c){e(a,"rolling"),this._selectedDate=0;var d=this.date;a._navType!=0&&d.setDate(1);switch(a._navType){case 0:if(this._withMenu)this.applyHooks("onContextMenu",[c]);else{var f=new Date;if(d.dateEqualsTo(f,true))return;this.date=f}break;case-2:d.setFullYear(d.getFullYear()-1);break;case-1:d.setMonth(d.getMonth()-1);break;case 1:d.setMonth(d.getMonth()+1);break;case 2:d.setFullYear(d.getFullYear()+1)}this.init(),this.applyHooks("onChange",[a._navType]),this.applyHooks("onSelect",[true,a._navType,null,d]),b&&a._navType!=0&&(++this._timerStep,this._timer=setTimeout(this._navCellClicked.$(this,a,this._timerStep>4?50:100),b))},b._clearTimer=function(){this._timer&&clearTimeout(this._timer),this._timer=null,this._timerStep=0};function l(a){j.call(this,a);var b=a.getParentElement("td",this);if(b){if(a.button!=0&&(b._navType!=null||b._otherMonth))return;if(b._otherMonth&&this._omDisabled||b.disabled)return;if(b._navType!=null&&a.dl_type=="onMouseDown")this._navDisabled||this._navCellClicked(b,b._navType!=0?350:0,a);else if(b._year!=null&&a.dl_type=="onMouseUp"){var c=this.date;c.setFullYear(b._year,b._month,b._iday);var d=this._selectedDate;this._selectedDate=b._iday,b._otherMonth?(this.init(),this.applyHooks("onSelect",[false,true,false,c])):d!=this._selectedDate?this._selectCell(b,true):this.applyHooks("onSelect",[false,false,true,c])}else b._firstDay!=null&&!this.fixedFirstDay&&a.button==0&&a.dl_type=="onMouseDown"&&(this.firstDay=b._firstDay,this._displayCalendar())}}b._selectCell=function(a,b){this._selectedDate=a._iday,this._selectedTD&&(f(this._selectedTD,"Selected"),f(this._selectedTD.parentNode,"Selected")),this._selectedTD=a,e(a,"Selected"),e(a.parentNode,"Selected"),f(a,"hover"),b&&this.applyHooks("onSelect",[false,false,false,this.date])},b._setListeners=function(){a.BASE._setListeners.call(this),this.addEventListener({onMouseOver:j,onMouseLeave:k,onMouseUp:l,onMouseDown:l})},b.setInfoDates=function(a){this._infoDates=a,this._initialized&&this._displayCalendar()};function m(){var a=this.args.widget,b,c;(c=a._currentHover)&&(b=c._info);return(c=a._cal_tooltip)?c.call(a,b):b?b.tooltip:null}b.init=function(){this.date||(this.date=new Date),this._displayCalendar(),this._initialized=true},b.setSize=b.setOuterSize=function(b){a.BASE.setOuterSize.call(this,{x:b.x!=null?b.x+2:null,y:b.y})}}),DEFINE_CLASS("DlButtonCalendar",DlButtonMenu,function(a,b){a.DEFAULT_ARGS={dateFormat:["dateFormat","%Y/%m/%d"],_calendarArgs:["calendar",{}],_iconClass:["iconClass","IconCalendar"],date:["date","Select date..."]},a.DEFAULT_EVENTS=["onSelect","onCalendarRendered"];function c(a,b,c){b||(this.getButton().setContent(a.date.print(this.dateFormat)),DlPopup.clearAllPopups(),this.date=new Date(a.date),this.applyHooks("onSelect",[this.date]))}function d(a){if(this.date instanceof Date){var b=this.getCalendar();b.date.dateEqualsTo(this.date)||(b.date=new Date(this.date),b._selectedDate=this.date.getDate(),b.init())}this.getArrow().applyHooks("onMouseDown",[a])}b.getCalendar=function(){var a=this._calendar;a||(this._calendarArgs.noinit=true,a=this._calendar=new DlCalendar(this._calendarArgs),this.addEventListener("onDestroy",a.destroy.$(a)),a.addEventListener("onSelect",c.$(this,a)),a.connectEvents("onRendered",this,"onCalendarRendered"),this.date instanceof Date&&(a.date=new Date(this.date)),a.init());return this._calendar},b.initDOM=function(){a.BASE.initDOM.call(this);var b=this.getButton();this.date instanceof Date?b.label(this.date.print(this.dateFormat)):b.label(this.date),this.setMenu(this.getCalendar.$(this)),b.addEventListener("onClick",d.$(this))},b.getValue=function(){return this.date instanceof Date?this.date:null}}),DEFINE_CLASS("DlButtonColorPicker",DlButtonMenu,function(a,b,c){a.CONSTRUCT=function(){this._events_cp={onSelect:d.$(null,this),onHueChange:f.$(null,this),onHover:e.$(null,this),onHoverOut:g.$(null,this)},this._updateValues()},a.DEFAULT_ARGS={rgb:["rgb",null],hsv:["hsv",null],color:["color",null]};function d(a,b,c,d,e){var f=a.getColorElement();f.style.backgroundColor=d,a.hsv=Array.$(c),a._updateValues(),DlPopup.clearAllPopups(),a.applyHooks("onSelect",[b,c,d,e])}function e(a,b,c,d,e){a.getColorElement().style.backgroundColor=d}function f(a,b){if(a.hsv){var c=[b,a.hsv[1],a.hsv[2]],d=DlColor.RGB2color(DlColor.HSV2RGB(c));a.getColorElement().style.backgroundColor=d,a.hsv=c,a._updateValues()}}function g(a){var b=a.getColorElement();b.style.backgroundColor=a.rgb?DlColor.RGB2color(a.rgb):""}b._updateValues=function(){this.hsv?(this.rgb=DlColor.HSV2RGB(this.hsv),this.color=DlColor.RGB2color(this.rgb)):this.rgb?(this.hsv=DlColor.RGB2HSV(this.rgb),this.color=DlColor.RGB2color(this.rgb)):this.color&&(this.rgb=DlColor.color2RGB(this.color),this.hsv=DlColor.RGB2HSV(this.rgb))};function h(){this._cp.addEventListener(this._events_cp),this.hsv&&this._cp.setHSV(this.hsv)}function i(){this._cp.removeEventListener(this._events_cp)}b.setColorPicker=function(a){this._cp=a,this.setMenu(a),this.hsv&&(a.setHSV(this.hsv),d.call(a,this,this.rgb,this.hsv,DlColor.RGB2color(this.rgb),DlColor.RGBrightness(this.rgb)))},b._createElement=function(){a.BASE._createElement.call(this);var b=this.getButton().setContent(["<table cellspacing='0' cellpadding='0'><tr><td>","<div unselectable='on' class='ColorPart'>&nbsp;</div>","</td><td></td></tr></table>"].join(""));this.setLabel(this.label)},b.setLabel=function(a){var b=this.getLabelElement();b.innerHTML=a||"",c.condClass(b,a,"Label","EmptyLabel")},b.getColorElement=function(){return this.getButton().getContentElement().firstChild.rows[0].cells[0].firstChild},b.getLabelElement=function(){return this.getButton().getContentElement().firstChild.rows[0].cells[1]},b._setListeners=function(){a.BASE._setListeners.call(this),this.addEventListener({onPopup:h,onHide:i})}}),DEFINE_CLASS("DlCheckbox",DlAbstractButton,function(a,b){a.DEFAULT_ARGS={_classes:["classes",{active:"DlCheckbox-active",hover:"DlCheckbox-hover",checked:"DlCheckbox-1",unchecked:"DlCheckbox-0",empty:"DlCheckbox-empty",disabled:"DlCheckbox-disabled"}]},a.FIXARGS=function(a){a.type=DlButton.TYPE.TWOSTATE}});var DlColor={RGB2HSV:function(a){var b=a[0],c=a[1],d=a[2],e,f,g,h,i,j;e=Math.min(b,c,d),g=(j=f=Math.max(b,c,d))-e,f!=0?(i=g/f,b==f?h=(c-d)/g:c==f?h=2+(d-b)/g:h=4+(b-c)/g,h*=60,h<0&&(h+=360)):(i=0,h=-1);return[h,i,j]},HSV2RGB:function(a){var b=a[0],c=a[1],d=a[2],e,f,g,h,i,j,k,l;if(c==0)f=g=h=d;else{b/=60,e=Math.floor(b),i=b-e,j=d*(1-c),k=d*(1-c*i),l=d*(1-c*(1-i));switch(e){case 0:f=d,g=l,h=j;break;case 1:f=k,g=d,h=j;break;case 2:f=j,g=d,h=l;break;case 3:f=j,g=k,h=d;break;case 4:f=l,g=j,h=d;break;default:f=d,g=j,h=k}}return[f,g,h]},RGB2bytes:function(a){var b=new Array(3);b[0]=Math.round(a[0]*255),b[1]=Math.round(a[1]*255),b[2]=Math.round(a[2]*255);return b},RGB2color:function(a){return String.buffer("rgb(",a[0]*100,"%,",a[1]*100,"%,",a[2]*100,"%)").get()},RGB2hex:function(a){a=DlColor.RGB2bytes(a);return a[0].hex(2)+a[1].hex(2)+a[2].hex(2)},color2RGB:function(a){var b=0,c=0,d=0;if(/^#/.test(a))a.length==4&&(a=a.replace(/([a-f0-9])/ig,"$1$1")),b=parseInt(a.substr(1,2),16)/255,c=parseInt(a.substr(3,2),16)/255,d=parseInt(a.substr(5,2),16)/255;else throw new DlException("Can't parse color: "+a);return[b,c,d]},brighter:function(a){var b=Array.$(a);b[1]-=.5,b[1]<0&&(b[1]=0);return b},darker:function(a){var b=Array.$(a);b[2]-=.5,b[2]<0&&(b[2]=0);return b},RGBrightness:function(a){return(a[0]*299+a[1]*587+a[2]*114)/1e3}};DEFINE_CLASS("DlColorPickerHSV",DlWidget,function(a,b,c){var d=c.delClass,e=c.condClass;a.DEFAULT_EVENTS=["onSelect","onHover","onHoverOut","onHueChange"];var f=String.buffer("<table cellspacing='1' cellpadding='0' border='0'>","<tbody>","<tr>","<td></td>".repeat(11),"<td rowspan='11' class='DlColorPickerHSV-Sep'></td>","<td rowspan='11' class='DlColorPickerHSV-HSV' hueCell='1'>","<div class='DlColorPickerHSV-HSV-bar'></div>","</td>","</tr>",("<tr>"+"<td></td>".repeat(11)+"</tr>").repeat(10),"</tbody></table>").get();b.getHueBarElement=function(){return this.getElement().rows[0].cells[12].firstChild},b._createElement=function(){a.BASE._createElement.call(this,f),this.setUnselectable()};function g(a){var b=a.target;try{while(b&&b.tagName.toLowerCase()!="td")b=b.parentNode}catch(a){b=null}return b}function h(a){var b=g(a);if(b){b.rgb&&this.applyHooks("onSelect",[b.rgb,b.hsv,b.style.backgroundColor,DlColor.RGBrightness(b.rgb)]);throw new DlExStopEventBubbling}}function i(a){var b=g(a);if(b){var c=b.getAttribute("hueCell");c&&(a.computePos(this),this._refresh(a),DlEvent.captureGlobals(this._dragHandlers));throw new DlExStopEventBubbling}}function j(a){this._currentHover&&(d(this._currentHover,"hover1"),d(this._currentHover,"hover2"));var b=g(a);if(b)if(b.rgb){this._currentHover=b;var c=DlColor.RGBrightness(b.rgb);e(b,c>.6,"hover2","hover1"),this.applyHooks("onHover",[b.rgb,b.hsv,b.style.backgroundColor,c])}else this._currentHover&&(this.callHooks("onHoverOut"),this._currentHover=null)}function k(){var a=this._currentHover;a&&(d(a,"hover1"),d(a,"hover2"),this.callHooks("onHoverOut")),this._currentHover=null}function l(a){DlEvent.releaseGlobals(this._dragHandlers);throw new DlExStopEventBubbling}function m(a){var b=a.computePos(this),c=b.y-2;c<0?c=0:c>119&&(c=119),this.getHueBarElement().style.top=c+"px",this.__cphsvTimeout&&clearTimeout(this.__cphsvTimeout),this.__cphsvTimeout=this._refresh.$(this,a).delayed(5);throw new DlExStopEventBubbling}b.initDOM=function(){a.BASE.initDOM.call(this),this.addEventListener({onMouseUp:h,onMouseDown:i,onMouseOver:j,onMouseLeave:k}),this._dragHandlers={onMouseMove:m.$(this),onMouseUp:l.$(this),onMouseOver:DlException.stopEventBubbling,onMouseOut:DlException.stopEventBubbling,onMouseEnter:DlException.stopEventBubbling,onMouseLeave:DlException.stopEventBubbling},this._redraw(360)},b._refresh=function(a){var b=Math.limit(a.relPos.y-2,0,119),c=Math.round((1-b/120)*360);c=this._redraw(c),this.applyHooks("onHueChange",[c]),this.__cphsvTimeout=null},b.setHSV=function(a){this._redraw(a[0])},b._redraw=function(a){var b,c,d,e,f=this.getHueBarElement(),g=this.getElement(),h=g.rows,i=h.length-1,j=h[0].cells.length-3;for(f.style.top=120-a/3+"px",a==360&&(a=0),b=i;b>=0;--b)for(e=h[b].cells,d=j;d>=0;--d)c=e[d],c.hsv=[a,1-b/i,d/j],c.rgb=DlColor.HSV2RGB(c.hsv),c.style.backgroundColor=DlColor.RGB2color(c.rgb);return a}}),DEFINE_CLASS("DlEntry",DlContainer,function(a,b,c){var d=c.createElement;a.FIXARGS=function(a){a.tagName="table",this._isTextArea=a.type=="textarea"},a.DEFAULT_EVENTS=["onChange","onKey-ENTER","onKey-ESCAPE","onValidationError","onValidation"],a.DEFAULT_ARGS={_domType:["type","text"],_value:["value",null],_size:["size",null],_rows:["rows",null],_readonly:["readonly",false],_emptyText:["emptyText",""],_emptyValue:["emptyValue",""],_width:["width",null],_name:["name",null],_validators:["validators",[]],_allowEmpty:["allowEmpty",null],_focusable:["focusable",2],_maxlen:["maxlength",null],_noSelect:["noSelect",false],_noWrap:["noWrap",false]},b.validate=function(a){a==null&&(a=this.getValue(true));if(this._allowEmpty!=null)if(!/\S/.test(a)){this.condClass(!this._allowEmpty,"DlEntry-ValidationError"),this.applyHooks("onValidation",[!this._allowEmpty]);return this._allowEmpty}var b=this._validators,c,d,e=false;for(c=0;c<b.length;++c){d=b[c];if(!d.ok(a)){e=d.getError()||true;break}}d&&!e&&this.setValue(d.getLastVal(),true),this.validationError=e,!this._noSelect&&this._focused&&!this.readonly()&&this._domType!="textarea"&&this.select(),this.condClass(e,"DlEntry-ValidationError"),this.applyHooks("onValidation",[e]),e&&(this.setInvalidTooltip(e.message),this.applyHooks("onValidationError",[e]));return!e},b.setInvalidTooltip=function(a){this._invalidTooltip.setTooltip(a)},b.timerFocus=function(a){return this.focus.clearingTimeout(a||10,this)},b.select=function(){try{is_gecko?this.setSelectionRange(0,this.getValue(true).length):this.getInputElement().select()}catch(a){}},b.focus=function(){this.getInputElement().focus(),!this._noSelect&&!this.readonly()&&this._domType!="textarea"&&this.select()},b.blur=function(){this.getInputElement().blur()};function e(){this.addClass("DlEntry-Focus"),this._focused=true,a.BASE.focus.call(this),this._isEmpty&&(this.getInputElement().value="",this.delClass("DlEntry-empty"),this._isEmpty=false)}function f(){this.delClass("DlEntry-Focus"),this._focused=false,a.BASE.blur.call(this),this.__setEmpty()}function g(){this.__setEmpty(),this.callHooks("onChange")}b.__setEmpty=function(a){a==null&&(a=this.getInputElement().value),this._isEmpty=this.__checkEmpty(a),this._isEmpty?this._focused?this.getInputElement().value=a:(this.addClass("DlEntry-empty"),this.getInputElement().value=""):this.delClass("DlEntry-empty");return this._isEmpty},b.__checkEmpty=function(a){a==null&&(a=this.getInputElement().value);return a===""},b._createElement=function(){a.BASE._createElement.apply(this,arguments);var b=this.getElement();b.appendChild(DlElementCache.get("TBODY_RC")),b.cellSpacing=b.cellPadding=b.border=0,b=b.rows[0].cells[0],b.className="DlEntry-cell";var c=this._isTextArea?document.createElement("textarea"):c=document.createElement("input");c.id=this.id+"-input",c.setAttribute("autocomplete","off",1),this._noWrap&&c.setAttribute("wrap","off"),this._isTextArea&&(this._rows&&(c.rows=this._rows)),this._maxlen!=null&&c.setAttribute("maxlength",this._maxlen);switch(this._domType){case"password":case"file":case"hidden":c.type=this._domType}is_gecko&&gecko_version<1.9&&!this._no_gecko_bug&&(b=d("div",null,{className:"Gecko-Bug-226933"},b)),b=d("div",{position:"relative",overflow:"hidden"},null,b),this._emptyText&&d("label",null,{htmlFor:this.id+"-input",className:"DlEntry-emptyText",innerHTML:this._emptyText.htmlEscape()},b),b.appendChild(c),this.refNode("_invalidTooltip",new DlWidget({className:"DlEntry-invalidIcon",parent:this,appendArgs:b}))},b.getInputElement=function(){return this.getElement().getElementsByTagName(this._isTextArea?"textarea":"input")[0]},b.getContentElement=b.getInputElement,b.setIfEmpty=function(a,b){this._isEmpty&&a&&this.setValue(a,b)},b.isEmpty=function(){return this.__checkEmpty()},b.setValue=function(a,b){this.__setEmpty(a)||(this._maxlen!=null&&(a=String(a).substr(0,this._maxlen)),this.getInputElement().value=a),b||this.callHooks("onChange")},b.clear=function(a){this.setValue("",a);return this},b.getValue=function(a){return!a&&this.isEmpty()?this._emptyValue:this.getInputElement().value},b.getSelectionRange=function(){return c.getSelectionRange(this.getInputElement())},b.setSelectionRange=function(a,b){c.setSelectionRange(this.getInputElement(),a,b)},b.moveEOF=function(){var a=this.getValue(true).length;this.setSelectionRange(a,a)},b.moveBOF=function(){this.setSelectionRange(0,0)},b.collapse=function(a){var b=this.getSelectionRange();b=a?b.start:b.end,this.setSelectionRange(b,b)};function h(){this.validate()}function i(a){this._isEmpty=false,a.keyCode==DlKeyboard.ENTER?this.applyHooks("onKey-ENTER",[a]):a.keyCode==DlKeyboard.ESCAPE&&this.applyHooks("onKey-ESCAPE",[a])}function j(){c.removeEvent(this.getInputElement(),{focus:this._on_element_focus,blur:this._on_element_blur,change:this._on_element_change})}b.initDOM=function(){a.BASE.initDOM.call(this);var b=this.getInputElement();c.addEvent(b,{focus:this._on_element_focus=e.$(this),blur:this._on_element_blur=f.$(this),change:this._on_element_change=g.$(this)}),this.addEventListener({onChange:h,onKeyPress:i,onDestroy:j}),this._value!=null?this.setValue(this._value,true):this.clear(true),this._width!=null?b.style.width=this._width:this._size!=null&&this.setSize({x:this._size*9+7-this._size}),this._name!=null&&(b.name=this._name),this.readonly(this._readonly)},b.readonly=function(a){var b=this.getInputElement();a!=null&&((b.readOnly=a)?b.setAttribute("readonly",true,1):b.removeAttribute("readonly"),this.condClass(a,"DlEntry-Readonly"));return b.getAttribute("readonly")},b.disabled=function(b,c){var d=a.BASE.disabled.call(this,b,c);b!=null&&(this.getInputElement().disabled=!!b);return d},b.setSize=b.setOuterSize=function(a){var b=this.getInputElement(),d=a.x,e=a.y,f=c.getPaddingAndBorder(this.getElement()),g=c.getPaddingAndBorder(b),h=this._btn?this._btn.getSize().x:0;h?c.setOuterSize(b,a.x-f.x-g.x-h+2):(d!=null&&(d-=g.x+4),e!=null&&(e-=g.y+4),this._domType!="textarea"&&(e=null),c.setInnerSize(b,d,e),d!=null&&(d+=8,c.setInnerSize(this.getElement(),d)))},b._makeButton=function(a,b,c,e){!e&&!c&&(c="DlEntry-dropDownBtn",e={hover:"DlEntry-dropDownBtn-hover",active:"DlEntry-dropDownBtn-active"});var f=d("td",null,null,this.getElement().rows[0]);return this._btn=new DlAbstractButton({parent:this,appendArgs:f,label:a,iconClass:b,className:c,classes:e})}}),DEFINE_CLASS("DlCompletionEntry",DlEntry,function(a,b,c){a.DEFAULT_EVENTS=["onCompletion","onSelect"],a.DEFAULT_ARGS={__timeout:["timeout",500],_shiftMenu:["shift",null],__smart:["smart",true],__noTab:["noTab",false],_noSelect:["noSelect",true],_sizeToFit:["sizeToFit",false],_electric:["electric",true]},b.ALIGN={prefer:"Br",fallX1:"_r",fallX2:"_L",fallY1:"B_",fallY2:"T_"},b._setListeners=function(){this.__on_itemHover=j.$(null,this),this.__on_itemSelect=k.$(null,this),a.BASE._setListeners.call(this),this.addEventListener({onKeyDown:n,onBlur:o,onDestroy:this.__clearTimer})},b._hideMenu=function(){e().hide(50),this.__clearTimer()},b.__clearTimer=function(){this.__timer&&clearTimeout(this.__timer),this.__timer=null};var d=null;function e(){d||(d=DlCompletionPopup.get());return d}var f=null,g=null;function h(){f&&(g=null,f.destroy());return f=new DlVMenu({})}function i(){return f&&f.parent.visible}function j(a,b){var c=f.children().find(this);c!=g&&g!=null&&f.children(g).callHooks("onMouseLeave"),g=c,(a._electric||!b)&&a._applyCompletion(this.userData)}function k(a){a._hideMenu(),a._applyCompletion(this.userData,true),a.applyHooks("onSelect",[this.userData]),a.focus.delayed(0,a)}b._applyCompletion=function(a,b){if(!a.nomodify||b){var c=this.getSelectionRange(),d=a.completion||a.label;b&&a.after&&(d+=a.after);var e=this.getValue(),f=a.start!=null?a.start:c.start;e=e.substr(0,f)+d+e.substr(c.end),this.setValue(e),c.end=f+d.length,a.rstart!=null&&(c.start=a.rstart);if(a.noselect||b)c.start=c.end;this.setSelectionRange(c)}},b._on_menuHide=function(){f&&(f.destroy(),g=f=null)},b.completionReady=function(a){if(this.__timer||this.__forced)if(a!=null&&a.length>0)if(this.__smart&&a.length==1)this._applyCompletion(a[0],true),this.applyHooks("onSelect",[a[0]]);else{var b=h(),d=null;a.foreach(function(a){var c=new DlMenuItem({parent:b,label:a.label,data:a});c.addEventListener({onSelect:this.__on_itemSelect,onMouseEnter:this.__on_itemHover}),a.selected&&(d=c)},this),e().popup({timeout:0,content:b,align:this.ALIGN,anchor:this.getElement(),isContext:true,widget:this,onHide:this._on_menuHide.$(this),shift:this._shiftMenu});if(this._sizeToFit){var f=this.getSize().x;b.getSize().x<f&&b.setSize({x:f-c.getPaddingAndBorder(e().getElement()).x})}d&&d.callHooks("onMouseEnter")}this.cancelCompletion()},b.cancelCompletion=function(){this.delClass("DlCompletionEntry-busy"),this.__clearTimer(),this.__forced=null};function l(a,b){this.__origData={value:this.getValue(),range:this.getSelectionRange()},this.__forced=b,this.addClass("DlCompletionEntry-busy"),this.applyHooks("onCompletion",[this.getSelectionRange(),a,b])}function m(a){if(!i())return false;var b=g,c;switch(a.keyCode){case DlKeyboard.ARROW_UP:g==null&&(g=0),g=f.children().rotateIndex(--g);break;case DlKeyboard.ARROW_DOWN:case DlKeyboard.TAB:g==null&&(g=-1),g=f.children().rotateIndex(++g);break;case DlKeyboard.ENTER:g!=null&&(this.collapse(false),f.children(g).callHooks("onSelect")),DlException.stopEventBubbling();case DlKeyboard.ESCAPE:this._hideMenu();var d=this.__origData;d&&(this.setValue(d.value),this.setSelectionRange(d.range)),DlException.stopEventBubbling()}b!=g?(b!=null&&(c=f.children(b),c.callHooks("onMouseLeave")),c=f.children(g),c.callHooks("onMouseEnter"),DlException.stopEventBubbling()):this._hideMenu()}function n(a){if(is_ie)return m.call(this,a)}b._handle_focusKeys=function(b){if(DlKeyboard.KEYS_CONTROL[b.keyCode]){if(!is_ie)if(!this.__noTab&&b.keyCode==DlKeyboard.TAB&&!i()&&!this.isEmpty())l.call(this,b,true),b.domStop=true,DlException.stopEventBubbling();else return m.call(this,b)}else this._hideMenu(),this.__timeout!=null&&(this.__timer=l.delayed(this.__timeout,this,b,false));return a.BASE._handle_focusKeys.call(this,b)};function o(){this.cancelCompletion()}b.completeFromWords=function(b,c){return a.completeFromWords.call(a,this,b,c)},a.completeFromWords=function(a,b,c){c==null&&(c={}),c.sep==null&&(c.sep=/\s+/g);return function(d){var e=[],f=a.getValue(),g=f.lastIndexOfRegexp(c.sep,d.start);if(f=f.substring(g,d.start))for(var h=0;h<b.length;++h)b[h].indexOf(f)==0&&e.push({label:b[h],noselect:c.noselect,after:c.addSep,start:g});e.length>0?a.completionReady(e):a.cancelCompletion()}}}),DEFINE_CLASS("DlCompletionPopup",DlPopup,function(a,b){a.FIXARGS=function(a){a.zIndex=1e3,a.focusable=false}}),DEFINE_CLASS("DlComboBox",DlCompletionEntry,function(a,b){a.DEFAULT_ARGS={_noSelect:["noSelect",false],__smart:["smart",false],__noTab:["noTab",true],_options:["options",null],_sizeToFit:["sizeToFit",true],_electric:["electric",false]},b._createElement=function(){a.BASE._createElement.apply(this,arguments),this._makeButton(null,null,"DlComboBox-dropDownBtn",{hover:"DlComboBox-dropDownBtn-hover"}).addEventListener("onMouseDown",c.$(this)),this.addEventListener("onCompletion",this.doCompletion)},b._on_menuHide=function(){a.BASE._on_menuHide.call(this),this._btn.delClass("DlComboBox-dropDownBtn-active")};function c(a){a.button==0&&(this._forcePopup(),DlException.stopEventBubbling())}b._forcePopup=function(){this._btn.addClass("DlComboBox-dropDownBtn-active"),this.__forced=true,this.doCompletion(null),this.focus.delayed(0,this)},b.doCompletion=function(a){var b="",c=[];if(a){b=this.getValue().trim().toLowerCase();if(!b)return this.cancelCompletion()}var d=this._options;if(d instanceof Function){d=d.apply(this,arguments);if(d==null)return}d.foreach(function(a){a.toLowerCase().indexOf(b)==0&&c.push({label:a.htmlEscape(),start:0,completion:a})}),c.length>0?this.completionReady(c):this.cancelCompletion()}}),DEFINE_CLASS("DlDrag",DlEventProxy,function(a,b,c){a.DEFAULT_EVENTS=["onDrop","onStartDrag"],a.DEFAULT_ARGS={delta:["delta",3],dragging:["_dragging",false],draggingClass:["draggingClass","DlWidget-dragging"],_animArgs:["animation",{length:30,fps:50}],cursor:["cursor",{noDrop:"CURSOR-NO-DROP",okDrop:"CURSOR-DROP"}]},b.dropOK=function(a,b,c,d){this.target=c;return this.canDrop=true},b._handleDrop=function(a,b,c){this.applyHooks("onDrop",[a,b,c])},b.doDrop=function(a,b){throw new DlExAbstractBaseClass},b.startOK=function(a,b){return true},b.moving=function(a,b){},b.reset=function(a){var b=this.elementCopy;if(b&&b.parentNode)if(a&&this._animArgs){var d=new DlAnimation(this._animArgs.length,this._animArgs.fps),e=this.startElPos||this.startPos,f=c.getPos(b);d.addEventListener({onUpdate:function(){var a=this.getPos();b.style.left=a.mapInt(f.x,e.x)+"px",b.style.top=a.mapInt(f.y,e.y)+"px",c.setOpacity(b,this.t.map(1,.2))},onStop:function(){c.trash(b),b=null}}),d.start(null,null,"accel_ab")}else b.parentNode.removeChild(b);this.canDrop=this.dragging=false,this.source=this.startPos=this.elementCopy=this.target=null},b.makeElementCopy=function(a,b){var d=this.elementCopy;d||(d=this.elementCopy=a.getElement().cloneNode(true),c.addClass(d,"DlWidget-dragged-clone"),d.style.top=b.pos.y+"px",d.style.left=b.pos.x+"px",document.body.appendChild(d),d.style.width=d.offsetWidth+"px");return d}}),DEFINE_CLASS("DlDragTreeItem",DlDrag,function(a,b){a.DEFAULT_ARGS={_noReparent:["noReparent",false]};var c="DlTreeItem-dropTarget",d="DlTreeItem-dropTarget-upper",e="DlTreeItem-dropTarget-lower",f=/DlTreeItem-dropTarget[^\s]*/g,g=/DlTreeItem-dropTarget-[^\s]*/g;function h(a){return/DlTree-IconWidth/.test(a.target.className)}b.startOK=function(a,b){return!h(b)},b.dropOK=function(a,b,d,e){while(d&&!(d instanceof DlTreeItem))d=d.parent;var g=!e&&d;g&&(g=!this._noReparent||a.parent===d.parent),this.target=g?d:null,this.canDrop=!!g,this.oldTarget&&this.oldTarget!==this.target&&this.oldTarget.delClass(f),g&&this.target.addClass(c),this.oldTarget=this.target;return g},b.doDrop=function(a,b){if(this._noReparent||h(b)){var c=this.target.getIndex();this.dropBefore||++c,this.target.parent.appendWidget(a,c),this._handleDrop(a,this.target,this.dropBefore?"before":"after")}else this.target.getSubtreeWidget()!==a.parent&&(this.target.addSubItem(a),this._handleDrop(a,this.target))},b.moving=function(a,b){var c=this.target;if(this.canDrop&&c&&(this._noReparent||h(b))){var f=b.computePos(c),i=c.getDivElement().offsetHeight/2,j=f.y<=i;c.condClass(j,d,e),this.dropBefore=j}else c&&(this.dropBefore=null,c.delClass(g))},b.reset=function(){this.target&&this.target.delClass(f),this.oldTarget&&this.oldTarget.delClass(f),a.BASE.reset.apply(this,arguments),this.oldTarget=null}}),DEFINE_CLASS("DlLayout",DlContainer,function(a,b,c){a.DEFAULT_ARGS={_outerSpace:["outerSpace",0],_fillParent:["fillParent",true]},a.setFill=function(a,b){var c=a._dllayout_args.fill;(a._dllayout_args.fill=b)!=c&&a.parent.doLayout()},a.getArgs=function(a){return a._dllayout_args},b._appendWidgetElement=function(b,d){if(d==null)return a.BASE._appendWidgetElement.apply(this,arguments);var e=c.createElement("div",null,{className:"DlLayout-positioned"},this.getElement());d.zIndex&&(e.style.zIndex=d.zIndex),d.overflow&&(e.style.overflow=d.overflow),e.appendChild(b.getElement()),b._dllayout_args=d},b._removeWidgetElement=function(a){if(this._widgets.contains(a)){var b=a.getElement(),c=b.parentNode;c&&(c.parentNode.removeChild(c),c.removeChild(b))}},b.packWidget=function(a,b){this.appendWidget(a,b)},b.replaceWidget=function(a,b){var c=this._widgets.find(a);if(c>=0){b.parent&&b.parent.removeWidget(b),this._widgets.splice(c,1,b),b._dllayout_args=a._dllayout_args,a._dllayout_args=null;var d=a.getElement(),e=d.parentNode;e.insertBefore(b.getElement(),d),e.removeChild(d),b.parent=this,a.parent=null}},b.doLayout=function(){var a=this.getInnerSize(),b,c,d,e,f=this._outerSpace;function g(){typeof f=="number"?b=c=d=e=f:f instanceof Array?(e=f[0],c=f[1],d=f[2],b=f[3]):(e=f.top||0,c=f.right||0,d=f.bottom||0,b=f.left||0)}g();for(var h=this._widgets,i=new Array(h.length),j={},k=0;k<h.length;++k){var l=h[k],m=l._dllayout_args;if(!m||!l.display())continue;var n=l.getElement().parentNode,o=m.before=m.before||0,p=m.after=m.after||0,q=m.fill;m.resetSize&&(l.getElement().style.width=l.getElement().style.height="");var r=l.getOuterSize();switch(m.pos){case"top":e+=o,q==null&&(q=r.y),i[k]={sy:q},typeof q=="number"&&(e+=q),e+=p;break;case"right":c+=o,q==null&&(q=r.x),i[k]={sx:q},typeof q=="number"&&(c+=q),c+=p;break;case"bottom":d+=o,q==null&&(q=r.y),i[k]={sy:q},typeof q=="number"&&(d+=q),d+=p;break;case"left":b+=o,q==null&&(q=r.x),i[k]={sx:q},typeof q=="number"&&(b+=q),b+=p}i[k].w=l,i[k].args=m,i[k].div=n}var s=a.x-b-c,t=a.y-e-d;g(),i.foreach(function(f,g){f||$CONTINUE();var h=f.args,i=f.w;if(i.display()){switch(h.pos){case"top":case"bottom":typeof f.sy!="number"&&(f.sy=="*"?f.sy=t:/%/.test(f.sy)&&(f.sy=Math.floor(parseFloat(f.sy)*t/100)),h.min!=null&&f.sy<h.min&&(f.sy=h.min),h.max!=null&&f.sy>h.max&&(f.sy=h.max),t-=f.sy);break;case"left":case"right":typeof f.sx!="number"&&(f.sx=="*"?f.sx=s:/%/.test(f.sx)&&(f.sx=Math.floor(parseFloat(f.sx)*s/100)),h.min!=null&&f.sx<h.min&&(f.sx=h.min),h.max!=null&&f.sx>h.max&&(f.sx=h.max),s-=f.sx)}function j(){}function k(){var b=e,c=a.y-e-d,g={x:f.sx};switch(h.valign){case"top":break;case"center":b+=(c-i.getOuterSize().y)/2;break;case"bottom":b+=c-i.getOuterSize().y;default:g.y=c}f.div.style.top=b+"px",i.setSize(g)}switch(h.pos){case"top":e+=h.before,f.div.style.left=b+"px",f.div.style.top=e+"px",i.setSize({x:a.x-b-c,y:f.sy}),e+=f.sy+h.after;break;case"bottom":d+=h.before,f.div.style.left=b+"px",f.div.style.top=a.y-d-f.sy+"px",i.setSize({x:a.x-b-c,y:f.sy}),d+=f.sy+h.after;break;case"left":b+=h.before,f.div.style.left=b+"px",k(),b+=f.sx+h.after;break;case"right":c+=h.before,f.div.style.left=a.x-c-f.sx+"px",k(),c+=f.sx+h.after}}})},b.__doLayout=function(){this.doLayout()},b.sizeToFit=function(){for(var a=this._widgets,b=0,c=0,d=0;d<a.length;++d){var e=a[d],f=e._dllayout_args,g=e.getOuterSize();switch(f.pos){case"top":case"bottom":b+=g.y,g.x>c&&(c=g.x);break;case"left":case"right":c+=g.x,g.h>b&&(b=g.h)}}this.setOuterSize({x:c,y:b})}}),DEFINE_CLASS("DlResizeBar",DlWidget,function(a,b,c){var d=c.condClass;a.FIXARGS=function(a){a.invert=a.invert?-1:1},a.DEFAULT_ARGS={_isHoriz:["horiz",null],_widget:["widget",null],_invert:["invert",false],_min:["min",null],_max:["max",null],_cont:["continuous",false],_keepPrc:["keepPercent",false]},a.getDragBar=function(){return DlElementCache.DRAGGING_LINE},b.initDOM=function(){a.BASE.initDOM.call(this),this.condClass(this.isHoriz(),"DlResizeBar-Horizontal","DlResizeBar-Vertical"),this.setUnselectable(null,true)},b.isHoriz=function(){if(this._isHoriz==null){var a=DlLayout.getArgs(this);a&&(this._isHoriz=/top|bottom/.test(a.pos))}return this._isHoriz},b._setListeners=function(){a.BASE._setListeners.call(this),this._resizeHandlers={onMouseMove:g.$(this),onMouseUp:f.$(this),onMouseOver:DlException.stopEventBubbling,onMouseOut:DlException.stopEventBubbling,onMouseEnter:DlException.stopEventBubbling,onMouseLeave:DlException.stopEventBubbling},this.addEventListener("onMouseDown",e)},b._setResizeCaptures=function(a){(a?DlEvent.captureGlobals:DlEvent.releaseGlobals)(this._resizeHandlers);var b=DlDialog.activateEventStopper(a);d(b,a,this.isHoriz()?"CURSOR-RESIZE-S":"CURSOR-RESIZE-E")};function e(a){var b=DlElementCache.DRAGGING_LINE,d=this.getPos();this._dragPos=this.isHoriz()?d.y:d.x;var e=this.isHoriz()?a.pos.y:a.pos.x;this._mposDiff=e-this._dragPos;var f=this.getSize();b.style.top=d.y+"px",b.style.left=d.x+"px",b.style.width=f.x+"px",b.style.height=f.y+"px";if(this._widget){var g=this._widget instanceof DlWidget?this._widget.getSize():c.getOuterSize(this._widget);this._dragSize=this.isHoriz()?g.y:g.x}document.body.appendChild(b),this._setResizeCaptures(true),DlException.stopEventBubbling()}b._doResize=function(a){var b=this.isHoriz(),d=c.getPos(DlElementCache.DRAGGING_LINE);d=b?d.y:d.x;var e=this._invert*(d-this._dragPos),f=this._widget;if(f){var g=this._dragSize;if(f instanceof DlWidget){var h=DlLayout.getArgs(f);if(h){h=h.fill;var i=/%$/.test(h);i&&!this._keepPrc||h==null||typeof h=="number"?DlLayout.setFill(f,g+e):i&&(h=parseFloat(h),DlLayout.setFill(f,h*(g+e)/g+"%"))}else this._isHoriz?f.setSize({y:g+e}):f.setSize({x:g+e})}else this._isHoriz?c.setOuterSize(f,null,g+e):c.setOuterSize(f,g+e,null)}};function f(a){this._setResizeCaptures(false),this._doResize(a),document.body.removeChild(DlElementCache.DRAGGING_LINE)}function g(a){var b=DlElementCache.DRAGGING_LINE,c=this.isHoriz()?a.pos.y:a.pos.x;c-=this._mposDiff;var d=this._invert*(c-this._dragPos),e=this._min,f=this._max,g=this._widget;if(g){var h=DlLayout.getArgs(g);h&&(e==null&&(e=h.min),f==null&&(f=h.max));var i;if(e!=null||f!=null)i=this._dragSize+d;e!=null&&i<e?c+=this._invert*(e-i):f!=null&&i>f&&(c+=this._invert*(f-i))}this.isHoriz()?b.style.top=c+"px":b.style.left=c+"px",this._cont&&this._doResize(a)}}),DEFINE_CLASS("DlWM",DlContainer,function(a,b,c){b.getInnerSize=b.getOuterSize=b.getSize=function(){return this.parent?this.parent.getInnerSize():c.getWindowSize()},b.initDOM=function(){a.BASE.initDOM.apply(this,arguments),this.getElement().innerHTML="<div class='DlWM-modalStopper'></div>",this.dialogsVisible=[],this.modalsVisible=0,this._manageEvents={onShow:d.$(null,this),onHide:e.$(null,this)};var b=this.on_parentResize.$(this);this.parent?this.parent.addEventListener("onResize",b):c.addEvent(window,"resize",b)},b.getModalStopperElement=function(){return this.getElement().childNodes[0]},b.activatePrev=function(){var a=this.dialogsVisible;a.length>1&&(a.peek().deactivate(),a.unshift(a.pop()),top=a.pop(),top.activate())},b.activateNext=function(){var a=this.dialogsVisible;a.length>1&&a[0].activate()},b.getActiveDialog=function(){return this.dialogsVisible.peek()},b.updateZIndex=function(){this.dialogsVisible.r_foreach(function(a,b){a.zIndex((a.__modal?900:500)+b)})},b.getVisibleDialogs=function(){return this.dialogsVisible},b.getAllDialogs=function(){return this.children().grep(function(a){return a instanceof DlDialog})},b.appendWidget=function(b){a.BASE.appendWidget.apply(this,arguments),b instanceof DlDialog&&this.manage(b)},b.removeWidget=function(b){a.BASE.removeWidget.apply(this,arguments),b instanceof DlDialog&&this.unmanage(b)},b.manage=function(a){a.addEventListener(this._manageEvents)},b.unmanage=function(a){a.removeEventListener(this._manageEvents)},b.on_dlgShow=function(a){a.__modal&&this.modalsVisible++,this.condClass(this.modalsVisible>0,"DlWM-hasModals")},b.on_dlgHide=function(a){a.__modal&&this.modalsVisible--,this.condClass(this.modalsVisible>0,"DlWM-hasModals"),this.dialogsVisible.length==0&&this.parent&&this.parent.focus()},b.on_parentResize=function(){this.dialogsVisible.foreach(function(a){a.__maximized&&a.__doMaximize()}),this.callHooks("onResize")},b.rearrange=function(a){var b=this.dialogsVisible.map(function(a){var b=a.getOffsetPos(),c=a.getOuterSize();return{dlg:a,x:b.x,y:b.y,w:c.x,h:c.y}});a(b,this.getInnerSize()),b.foreach(function(a){a.dlg.setPos(a.x,a.y),a.dlg.setSize({x:a.w,y:a.h})})},b.tileHoriz=function(){this.rearrange(h)},b.tileVert=function(){this.rearrange(i)};function d(a){a.on_dlgShow(this)}function e(a){a.on_dlgHide(this)}DlContainer.prototype._makeWindowManager=function(){this.__wm||(this.__wm=new DlWM({parent:this})).addEventListener("onDestroy",function(){this.__wm=null}.$(this));return this.__wm};function f(a,b){return a.x<b.x?-1:a.x>b.x?1:0}function g(a,b){return a.y<b.y?-1:a.y>b.y?1:0}function h(a,b){var c=a.length,d=Math.floor(b.x/c),e=0;a.mergeSort(f).foreach(function(a,f){a.y=0,a.x=e,a.h=b.y,f==c-1?a.w=b.x-e:a.w=d,e+=d})}function i(a,b){var c=a.length,d=Math.floor(b.y/c),e=0;a.mergeSort(g).foreach(function(a,f){a.x=0,a.y=e,a.w=b.x,f==c-1?a.h=b.y-e:a.h=d,e+=d})}}),DEFINE_CLASS("DlDialog",DlContainer,function(a,b,c){var d=DlException.stopEventBubbling,e=c.addClass,f=c.delClass,g=c.condClass,h=c.createElement;a.DEFAULT_EVENTS=["onShow","onHide","onActivate","onQuitBtn"],a.DEFAULT_ARGS={_title:["title","DlDialog"],_noEmptyTitle:["noEmptyTitle",true],_fixed:["fixed",false],_resizable:["resizable",false],_focusable:["focusable",true],_iconClass:["iconClass",null],_focusedWidget:["focusDefault",null],__noShadows:["noShadows",false],__quitBtn:["quitBtn",false],__maxBtn:["maxBtn",true],__modal:["modal",false],__moveDelay:["moveDelay",5e3]},a.FIXARGS=function(b){b.parent||(b.parent=a.getTopWM()),b.parent instanceof DlWM||(b.parent instanceof DlDialog&&(b.noShadows=true),b.parent=b.parent._makeWindowManager())},a.CONSTRUCT=function(){this.__doDrag=this.__moveDelay!=null?s.clearingTimeout(this.__moveDelay,this):s.$(this),this.active=false};var i;a.getTopWM=function(){i||(i=new DlWM({}),document.body.appendChild(i.getElement()));return i};var j="<table cellspacing='0' cellpadding='0'><tr><td><div class='DlDialog-Rel'><div class='DlDialog-WindowButtons'></div><div class='DlDialog-Title'><div></div></div><div class='DlDialog-Content'></div></div></td></tr></table>",k={x:-3e4,y:-3e4};b._setDragCaptures=function(a){DlEvent[a?"captureGlobals":"releaseGlobals"](this._dragHandlers)},b._setResizeCaptures=function(a){DlEvent[a?"captureGlobals":"releaseGlobals"](this._resizeHandlers)};function l(){var a=c.CE_CACHE["DlDialog.EVENT_STOPPER"];a||(a=c.CE_CACHE["DlDialog.EVENT_STOPPER"]=h("div",null,{className:"DYNARCH-EVENT-STOPPER"},document.body)),a.style.visibility="";return a}function m(){var a=c.CE_CACHE["DlDialog.EVENT_STOPPER"];a&&(a.className="DYNARCH-EVENT-STOPPER",a.style.visibility="hidden");return a}a.activateEventStopper=function(a){return a?l():m()};function n(a){if(!this.dragging&&!this.__maximized){DlPopup.clearAllPopups(),this.activate(),this.dragging=true,a||(a=window.event);var b=a instanceof DlEvent?a:new DlEvent(a);this.addClass("DlDialog-Dragging"),this._dragPos=b.computePos(this),this._setDragCaptures(true),e(l(),"CURSOR-DRAGGING");if(this.__moveDelay!=null){var d=this.getResizeRect();e(d,"Dl-ResizeRect-moving");var f=this.getOuterSize();c.setPos(d,b.elPos.x,b.elPos.y),c.setOuterSize(d,f.x,f.y),d.style.display=""}if(b!==a)return c.stopEvent(a)}}function o(a){a.ctrlKey&&a.shiftKey&&(a.button==0&&this._dragHandlers?n.call(this,a):a.button==2&&a.dl_type=="onContextMenu"&&this._resizable&&(u.call(this,a),d()))}function p(a){if(this.dragging){var b=this.getResizeRect();this.dragging=false,this.delClass("DlDialog-Dragging"),this._setDragCaptures(false);if(this.__moveDelay!=null)if(a){var c=q.call(this,a);this.__doDrag.doItNow(c.x,c.y)}else this.__doDrag.cancel();f(b,"Dl-ResizeRect-moving"),b.style.display="none",m()}}function q(a){var b=this.parent;a.computePos(b.getContentElement());var c=a.relPos.x-this._dragPos.x,d=a.relPos.y-this._dragPos.y,e=this.getOuterSize(),f=b.getInnerSize();c<0?c=0:c+e.x>f.x&&(c=f.x-e.x),d<0?d=0:d+e.y>f.y&&(d=f.y-e.y);return{x:c,y:d}}function r(a){var b=a.x,d=a.y;a=c.getPos(this.parent.getContentElement()),b+=a.x,d+=a.y,c.setPos(this.getResizeRect(),b,d)}function s(a,b){this.setPos(a,b),this.__oldDlgPos=this.getOffsetPos()}function t(a){var b=q.call(this,a);this.__moveDelay!=null&&r.call(this,b),this.__doDrag(b.x,b.y),d()}function u(a){if(!this.resizing){this.resizing=true,a||(a=window.event);var b=a instanceof DlEvent?a:new DlEvent(a);this._dragPos=b.computePos(this);var d=this.getOuterSize();this._dragPos.x-=d.x,this._dragPos.y-=d.y;var f=this.getPos(),g=this.getResizeRect();c.setPos(g,f.x,f.y),c.setOuterSize(g,d.x,d.y),g.style.display="",this.addClass("DlDialog-Resizing"),this._setResizeCaptures(true),e(l(),"CURSOR-DRAGGING"),w.call(this,b,true),b!==a&&c.stopEvent(a)}}function v(b){if(this.resizing){this.disableHooks("onResize"),this.getElement().style.overflow="hidden";var d=this.getResizeRect(),e=c.getOuterSize(d);c.setPos(d,0,0),d.style.display="none",this.delClass("DlDialog-Resizing"),this.setOuterSize({x:e.x,y:e.y}),is_gecko&&a.BASE.setOuterSize.call(this,{x:"auto",y:"auto"}),this.resizing=false,this._setResizeCaptures(false),this.getElement().style.overflow="",m(),this.enableHooks("onResize"),this.callHooks("onResize")}}function w(a,b){if(this.resizing){var e=this.getResizeRect(),f=c.getPos(e);f.x=a.pos.x-this._dragPos.x-f.x-2,f.x<100&&(f.x=100),f.y=a.pos.y-this._dragPos.y-f.y-2,f.y<100&&(f.y=100),this._resizable===1&&(f.y=null),this._resizable===2&&(f.x=null),c.setInnerSize(e,f.x,f.y),b||d()}}b.setOuterSize=b.setSize=function(a){a.y!=null&&(a.y-=this.getTitleElement().offsetHeight),this.setInnerSize(a)},b.hide=function(){this.display()&&c.elementIsVisible(this.getElement())&&(this.__oldDlgPos=this.getOffsetPos(),this.display(false),this.setPos(k))},b.show=function(a){this.__wasDisplayed||this.setStyle({visibility:""}),!this.display()||!this.__wasDisplayed?(this.__oldDlgPos?this.setPos(this.__oldDlgPos):a&&this.centerOnParent(),this.display(true)):this.activate(),this.__wasDisplayed=true},b.activate=function(){var a=this.parent.getVisibleDialogs(),b=a.peek();this.active||(b&&b.active&&b.deactivate(true),this.addClass("DlDialog-Active"),a.remove(this),a.push(this),this.parent.updateZIndex(),this.active=true,this.focus(),this._focusedWidget&&!this._focusedWidget.destroyed&&this._focusedWidget.focus(),this.applyHooks("onActivate",[true]))},b.deactivate=function(){this.active&&(this.delClass("DlDialog-Active"),this.active=false,this.blur(),this.applyHooks("onActivate",[false]))};function x(a,b){var c=DlSystem();if(a)this.callHooks("onShow"),this.activate(),this.setModal(this.__modal,true),c.applyHooks("on-dialog-show",[this]),this.__maximized&&this.__doMaximize.delayed(1,this);else{var d=this.parent.getVisibleDialogs();d.remove(this),this.callHooks("onHide"),this.deactivate(),c.applyHooks("on-dialog-hide",[this]),d.length>=1&&d.peek().activate()}}function y(a){if(a.shiftKey||a.altKey){var b=this.__dlgOpacity;b==null&&(b=100),a.wheelDelta>0?b+=.05:b-=.05,b=this.__dlgOpacity=b.limit(.1,1),this.opacity(b),d()}}b._createElement=function(){a.BASE._createElement.call(this),this.setPos(k),this.setStyle({visibility:"hidden"}),this.getElement().innerHTML=j;var b=this.getRelElement();!this.__noShadows&&!is_ie6?b.insertBefore(DlElementCache.get("SHADOWS"),b.firstChild):(this.__noShadows=true,e(b,"DlDialog-noShadows")),this.title(this._title),this.setUnselectable(this.getTitleElement());var c=this.__quitBtn;if(c){var d=this.__quitBtn=new DlAbstractButton({parent:this,className:"DlDialog-QuitBtn",appendArgs:this.getButtonsElement(),classes:{hover:"DlDialog-QuitBtn-hover",active:"DlDialog-QuitBtn-active"}});c=="destroy"?c=this.destroy.$(this):c=="hide"&&(c=this.hide.$(this)),c instanceof Function?d.addEventListener("onClick",c):d.connectEvents("onClick",this,"onQuitBtn")}this._resizable&&this.makeResizable(),this.setIconClass(this._iconClass),this._fixed||this.makeDraggable(),this.addEventListener({onMouseDown:this.activate,onMouseWheel:y,onDisplay:x,onDestroy:this.hide})},b.setIconClass=function(a){var b=this.getTitleElement().firstChild;g(b,a!=null,"DlDialog-Title-withIcon"),this.iconClass&&f(b,this.iconClass),a&&e(b,a),this.iconClass=a},b.getState=function(){var a=this.__maximized&&this.__maximizeSavePos;a?a=Object.makeDeepCopy(a):a={pos:this.getOffsetPos(),size:this.getOuterSize()},a.max=!!this.__maximized;return a},b.maximize=function(a){a==null&&(a=this.__maxBtn.checked());var b,c;this.__maximized=a,a&&(b=this.getOffsetPos(),c=this.getOuterSize(),this.__maximizeSavePos={pos:b,size:c}),this.condClass(a,"DlDialog-Maximized"),a?this.__doMaximize():(b=this.__maximizeSavePos,c=b.size,b=b.pos,this.setOuterSize({x:c.x,y:c.y}),this.setPos(b.x,b.y)),this.__maxBtn.checked(a,true),this._focusedWidget&&!this._focusedWidget.destroyed&&this._focusedWidget.focus()},b.__doMaximize=function(){this.setPos(0,0);var a=this.parent.getInnerSize();this.setOuterSize({x:a.x,y:a.y})},b.setModal=function(a,b){b||(this.__modal=a),this.display()&&this.parent.updateZIndex()},b.modal=function(){return this.__modal},b.makeResizable=function(){if(!this._resizeHandlers){this.getContentElement().style.overflow="hidden";var a=this.getRelElement(),b=h("div",null,{className:"ResizeHandle"},null);a.insertBefore(b,a.firstChild),this._resizeHandlers={onMouseMove:w.$(this),onMouseUp:v.$(this),onMouseOver:d,onMouseOut:d,onMouseEnter:d,onMouseLeave:d},c.addEvent(b,"mousedown",u.$(this)),this.resizing=false,this.__maxBtn&&(this.__maxBtn=new DlAbstractButton({parent:this,className:"DlDialog-MaximizeBtn",appendArgs:this.getButtonsElement(),type:DlAbstractButton.TYPE.TWOSTATE,classes:{hover:"DlDialog-MaximizeBtn-hover",active:"DlDialog-MaximizeBtn-active",checked:"DlDialog-MaximizeBtn-1"}}),this.__maxBtn.addEventListener("onChange",this.maximize.$0(this,null)))}},b.makeDraggable=function(){if(!this._dragHandlers){var a=this.getTitleElement();a.style.cursor="default",this._dragHandlers={onMouseMove:t.$(this),onMouseUp:p.$(this),onMouseOver:d,onMouseOut:d,onMouseEnter:d,onMouseLeave:d},c.addEvent(a,"mousedown",n.$(this)),this.addEventListener(["onMouseDown","onContextMenu"],o),this.dragging=false}},b.title=function(a){a!=null&&(a instanceof Array&&(a=a.join("")),this.getTitleElement().firstChild.innerHTML=this._title=a,this._noEmptyTitle&&(this.getTitleElement().style.display=/\S/.test(a)?"":"none"));return this._title},b._handle_focusKeys=function(a){if(!a.altKey&&!a.ctrlKey)if(a.keyCode==DlKeyboard.ESCAPE)!this.dragging&&this.__quitBtn?this.__quitBtn.keyClicked(a):this.dragging&&p.call(this);else if(a.keyCode==DlKeyboard.TAB){var b=a.focusedWidget;b=a.shiftKey?this.getPrevFocusWidget(b):this.getNextFocusWidget(b),b&&b.focus(),a.domStop=true,d()}this._handleKeybinding(a)};function z(a,b){var c=a.getRelElement().childNodes;return c[c.length-b]}b.getRelElement=function(){return this.getElement().firstChild.rows[0].cells[0].firstChild},b.getContentElement=function(){return z(this,1)},b.getTitleElement=function(){return z(this,2)},b.getButtonsElement=function(){return z(this,3)},b.centerOnParent=function(){var a=this.getOuterSize(),b=this.parent.getOuterSize();this.setPos((b.x-a.x)/2,(b.y-a.y)/2)},b.getWM=function(){return this.parent},DlWidget.prototype.getParentDialog=function(){var b=this.parent;while(b&&!(b instanceof a))b=b.parent;return b}}),DEFINE_CLASS("DlDialogPopup",DlPopup,function(a,b){a.FIXARGS=function(a){a.autolink=false,a.zIndex=5e3}}),DEFINE_CLASS("DlRecord",DlEventProxy,function(a,b){a.DEFAULT_EVENTS=["onChange"],a.DEFAULT_ARGS={_data:["data",null],_set:["recordSet",null]},b.id=function(){return this._data.id},b.get=function(a){return this._data[a]},b.set=function(a,b,c){var d,e=this._data[a];this._data[a]=b,c||(d=[this,a,b,e],this.applyHooks("onChange",d),this._set&&this._set.applyHooks("onChange",d))},b.compareTo=function(a,b){var c=this.get(b),d=a.get(b);return c<d?-1:c==d?0:1}}),DEFINE_CLASS("DlRecordCache",DlEventProxy,function(a,b){a.DEFAULT_EVENTS=["onChange","onInsert","onBeforeDelete","onDelete","onRefresh"],a.DEFAULT_ARGS={_data:["data",null]},a.CONSTRUCT=function(){this._init()},b.get=function(a){return this._data[a]},b.hasRecord=function(a){return this.get(a)},b.getRecords=function(a,b,c){b.call(c,a.map(this.get,this))},b.getAllIds=function(){return Array.hashKeys(this._data)},b.getAllRecords=function(){return Array.hashValues(this._data)},b.getHash=function(){return this._data},b.formatHTML=function(a,b,c){c(String(a.get(b)).htmlEscape())},b.getRecClass=function(a){},b.getCellClass=function(a,b){},b.getInsertPos=function(a){},b.insert=function(a,b){b==null&&(b=this.getInsertPos(a)),this._data[a.id()]=a,a._set=this,this.applyHooks("onInsert",[a,b])},b.remove=function(a){this.applyHooks("onBeforeDelete",[this.get(a)]),a instanceof Array?a.foreach(function(a){delete this._data[a]},this):delete this._data[a],this.applyHooks("onDelete",[a])},b.sort=function(a,b,c,d,e,f){var g;b==c&&d!==null?g=a.reverse():g=a.mergeSort(function(a,c){a=this.get(a),c=this.get(c);return a.compareTo(c,b)}.$(this),d),e.call(f,g)},b._init=function(){if(this._data){var a={};this._data.foreach(function(b){a[b.id()]=b,b._set=this},this),this._data=a}else this._data={}}}),DEFINE_CLASS("DlDataGridHeadLabel",DlButton,function(a,b,c){a.FIXARGS=function(a){"contextMenu"in a||(a.contextMenu=this._getContextMenu)},a.CONSTRUCT=function(){if(!this.isSortable()){var a=this._classes=Object.makeCopy(this._classes);a.active=a.hover=null}};var d=20;b.setWidth=function(a){this.setOuterSize({x:a})},b.isSortable=function(){return this.col.isSortable()},b._onClick=function(){this.isSortable()&&this.parent._onHeadClick(this.col,this)},b._getContextMenu=function(){var a=this._dgContextMenu,b=this.parent,c;a?(c=a.buttons,b._cols.foreach(function(a,b){c[b].checked(a.isVisible(),true)})):(this._dgContextMenu=a=new DlVMenu({}),c=a.buttons=[],b._cols.foreach(function(b,d){if(b.getMenuLabel()){var e=c[d]=new DlCheckbox({parent:a,label:b.getMenuLabel(),checked:b.isVisible()});e.addEventListener("onChange",function(){b.setVisible(this.checked())})}}));return a},a.DEFAULT_ARGS={col:["col",null],_focusable:["focusable",false],_noCapture:["noCapture",true],_classes:["classes",{active:"DlDataGridHeadLabel-active",hover:"DlDataGridHeadLabel-hover",checked:"DlDataGridHeadLabel-1",unchecked:"DlDataGridHeadLabel-0",empty:"DlDataGridHeadLabel-empty",disabled:"DlDataGridHeadLabel-disabled"}]};var e=DlException.stopEventBubbling;function f(a){var b=a._resizeHandle;b||(b=a._resizeHandle=new DlWidget({parent:a,className:"DlDataGrid-resizeHandle"}),b.display(false),b.grid=a.parent,b.addEventListener({onMouseLeave:b.display.$(b,false),onMouseDown:g}),b._resizeCaptures={onMouseMove:h.$(b),onMouseUp:i.$(b),onMouseOver:e,onMouseOut:e,onMouseEnter:e,onMouseLeave:e});return b}a._on_headMouseMove=function(a){if(!(!this._colPos||this.dragging)){var b=this.parent,c=b.getBodyDiv().scrollLeft,d=a.computePos(this).x+c,e;this._colPos.foreach(function(a){Math.abs(d-a.pos)<4&&(a.col.isResizable()&&(e=a),$BREAK())});var g=f(this);e?(e.col!==g.col&&(g.found=e,g.col=e.col,g.pos=e.pos,g.setPos(e.pos-c)),g.display(true)):(g.display(false),g.found=g.col=null)}},a._on_headMouseLeave=function(a){f(this).display(false)};function g(a){this.dragging=true;var b=DlResizeBar.getDragBar(),d=b.style;this.sl=this.grid.getBodyDiv().scrollLeft,d.left=this.pos-this.sl-1+"px",d.height="100%",d.width=this.getElement().offsetWidth-4+"px",d.top="0px",this.grid.getElement().appendChild(b);var f=DlDialog.activateEventStopper(true);c.addClass(f,"CURSOR-RESIZE-E"),DlEvent.captureGlobals(this._resizeCaptures),this.origW=this.grid.getColWidth(this.col),this.origM=a.pos.x,this.col._button.addClass("DlDataGridHeadLabel-resizing"),e()}function h(a){var b=DlResizeBar.getDragBar(),c=this.pos+a.pos.x-this.origM-1,f=c-this.pos,g=this.origW+f;g<d&&(c+=d-g,g=d),c-=this.sl,b.style.left=c+"px",this.width=g,this.diff=f;if(!is_ie){var h=this.col._button.getElement();h.style.width=h.parentNode.style.width=h.parentNode.parentNode.style.width=g+"px"}e()}function i(a){this.dragging=false,this.grid.getElement().removeChild(DlResizeBar.getDragBar());var b=DlDialog.activateEventStopper(false);c.delClass(b,"CURSOR-RESIZE-E"),DlEvent.releaseGlobals(this._resizeCaptures),this.width&&(this.grid.setColWidth(this.col,this.width),this.grid._computeColPos()),this.col._button.delClass("DlDataGridHeadLabel-resizing");if(!is_ie){var d=this.col._button.getElement();d.style.width=d.parentNode.style.width=d.parentNode.parentNode.style.width=""}this.width=this.diff=this.found=this.col=null,this.parent.callHooks("onMouseMove",a),e()}}),DEFINE_CLASS("DlGridCol",DlEventProxy,function(a,b){a.DEFAULT_EVENTS=["onChange","onVisibility"],a.DEFAULT_ARGS={_field_id:["id",null],_width:["width",null],_fill:["fill",null],_style:["style",null],_label:["label",null],_menuLabel:["menuLabel",null],_tooltip:["tooltip",null],_iconClass:["iconClass",null],_isSortable:["sortable",true],_isResizable:["resizable",true],_cssRule:["cssRule",null],_isVisible:["visible",true]};var c={};b.id=function(){return this._field_id},b.getWidth=function(){return this._width},b.getFill=function(){return this._fill},b.getLabel=function(){return this._label},b.getMenuLabel=function(){return this._menuLabel||this._label},b.getTooltip=function(){return this._tooltip},b.getIconClass=function(){return this._iconClass},b.getStyle=function(a,b){return(this._style||c)[a]||b},b.isSortable=function(){return this._isSortable},b.isResizable=function(){return this._isResizable},b.isVisible=function(){return this._isVisible},b.setVisible=function(a){this._isVisible=a,this.applyHooks("onVisibility",[a])},b.sort=function(){}}),DEFINE_CLASS("DlGridDragCol",DlDrag,function(a,b,c){a.CONSTRUCT=function(){this.addEventListener("onStartDrag",function(a){this.grid_pos=a.parent.getPos(),a._onMouseLeave()})},b.startOK=function(a,b){return true},b.dropOK=function(a,b,c,d){if(!d&&c instanceof DlDataGridHeadLabel&&a.parent===c.parent){this.target=c;return this.canDrop=true}return this.canDrop=false},b.doDrop=function(a,b){a.parent.reorderColumn(a.col,this.target.col,!this.dropBefore)};var d;function e(){var a=d;a||(a=d=c.createElement("div",{display:"none"},{className:"DlDataGrid-drop-col"},document.body));return a}b.moving=function(a,b){var c=this.target,d=e(),f=d.style;if(this.canDrop&&c){var g=b.computePos(c),h=c.getElement(),i=h.offsetWidth,j=g.x<=i/2,k=c.col.index;j&&k--,k<0?k=0:k=a.parent._headCont._colPos[k].pos-a.parent.getBodyDiv().scrollLeft,f.display="block",f.left=k+this.grid_pos.x+"px",f.top=g.elPos.y+"px",this.dropBefore=j}else c&&(this.dropBefore=null,f.display="none")},b.reset=function(){d&&(d.style.display="none"),a.BASE.reset.apply(this,arguments)}}),DEFINE_CLASS("DlSelectionModel",DlEventProxy,function(a,b){a.DEFAULT_EVENTS=["onChange","onReset"],a.CONSTRUCT=function(){this.sel||(this.sel={})},a.DEFAULT_ARGS={multiple:["multiple",true],sel:["sel",null]},b.reset=function(a,b){var c=this.sel;this.sel=a.toHash(true),b||this.applyHooks("onReset",[c,this.sel])},b.clear=function(a){this.reset([],a)},b.get=function(){return this.sel},b.getArray=function(){return Array.hashKeys(this.sel)},b.getFirst=function(){for(var a in this.sel)return a},b.isSelected=function(a){return this.sel[a]},b.size=function(){var a=0;for(var b in this.sel)a++;return a},b.filter=function(a){var b=[];for(var c in this.sel)c in a||b.push(c);this.unselect(b)},b.select=function(a,b){var c=this.sel,d=null,e;a instanceof Array?(e={},a.foreach(function(a){c[a]||(d=c[a]=e[a]=true)},this),!b&&d!=null&&this.applyHooks("onReset",[{},e])):c[a]||(c[a]=true,b||this.applyHooks("onChange",[a,true]),d=true);return d},b.unselect=function(a,b){var c=this.sel,d=null,e;a instanceof Array?(e={},a.foreach(function(a){c[a]&&(delete c[a],e[a]=true,d=false)},this),!b&&d!=null&&this.applyHooks("onReset",[e,{}])):c[a]&&(delete c[a],b||this.applyHooks("onChange",[a,false]),d=false);return d},b.toggle=function(a,b){return this.sel[a]?this.unselect(a,b):this.select(a,b)}}),DEFINE_CLASS("DlDataGrid",DlContainer,function(a,b,c){var d=c.addClass,e=c.delClass,f=c.condClass;a.DEFAULT_EVENTS=["onBodyDblClick","onBodyScroll","onRowClick","onRowDblClick","onResetIds"],a.CONSTRUCT=function(){this.__scrollConts=0};var g=DlException.stopEventBubbling;a.DEFAULT_ARGS={_records:["records",null],_selection:["selection",null],_data:["data",null],_page:["page",0],_rpp:["rpp",60],_minReqRows:["minReq",null],_threshold:["threshold",null],_vScroll:["virtualScrolling",true],_cols:["cols",null],_headType:["headType",DlDataGridHeadLabel],_focusable:["focusable",true],_rtClickKeepSel:["rightClickKeepsSel",false],_noReselect:["noReselect",false],_rarify:["rarifyScroll",null]};var i=String.buffer("<div class='DlDataGrid-Headers'>","<table class='DlDataGrid-rowTable' cellspacing='0' cellpadding='0'>","<tbody><tr></tr></tbody>","</table></div>","<div class='DlDataGrid-Body'>","<div class='DlDataGrid-VSHeight'>","<div class='DlDataGrid-VSHeight-before'></div>","<div class='DlDataGrid-RowsCont'></div>","</div>","</div>").get();b.getHeaderDiv=function(){return this.getElement().firstChild},b.getHeaderTable=function(){return this.getHeaderDiv().firstChild},b.getHeaderRow=function(){return this.getHeaderDiv().firstChild.rows[0]},b.getBodyDiv=function(){return this.getElement().childNodes[1]},b._getVSHeightDiv=function(){return this.getBodyDiv().firstChild},b._getVSScrollDiv=function(){return this._getVSHeightDiv().firstChild},b.getRowsContainer=function(){return this._getVSHeightDiv().childNodes[1]},b.resetIDS=function(a){var b={},c=this._selection;a.foreach(function(a,c){b[a]=c}),this._records={array:a,id_to_pos:b},c.filter(b),c.getArray().length==0&&(c._last=null),this.callHooks("onResetIds")},b._fetch_data=function(a,b,c){var d=this._minReqRows,e=a.length,f=this._data;if(d==null||d<=e)f.getRecords(a,c,this);else{var g=a.slice(0),h=this._records.array,i,j=this._threshold||Math.ceil(this._rpp/2);if(b<=0){var k=this._records.id_to_pos[a[0]],l=j;while(l-->0)if(!f.hasRecord(h[--k]))break;if(l>0)for(i=k;i>=0&&g.length<d;i--){var m=h[i];f.hasRecord(m)||g.push(m)}}if(b>=0){var k=this._records.id_to_pos[a.peek()],l=j;while(l-->0)if(!f.hasRecord(h[++k]))break;if(l>0)for(i=k;i<h.length&&g.length<d;i++){var m=h[i];f.hasRecord(m)||g.push(m)}}f.getRecords(g,function(a){c.call(this,a.slice(0,e))},this)}},b._display_ids=function(a,b){this._info_display={length:a.length,first_row_index:this._records.id_to_pos[a[0]],last_row_index:this._records.id_to_pos[a.peek()]},this._fetch_data(a,0,function(a){var c=String.buffer();a.foreach(this._fetchRowHTML.$(this,c)),this.getRowsContainer().innerHTML=c.get(),b!=null&&this._setVScroll(b),this._resetVSHeight(),a.length>1?this.scrollToRecord(a[1].id()):this._setVScroll(this.getBodyDiv().scrollTop=0),this.getBoundRecords()})},b.displayPage=function(a){a==null&&(a=0),this._page=a;var b=this._records.array;if(this._rpp){var c=a*this._rpp;b=b.slice(c,c+this._rpp)}this._display_ids(b)},b._resetVSHeight=function(){this._vScroll&&this._info_display&&(h=Math.floor(this.getRowsContainer().offsetHeight*this.getNRecords()/this._info_display.length),this._getVSHeightDiv().style.height=isNaN(h)?"":h+"px")},b._setVScroll=function(a){var b=this._getVSScrollDiv();a?(b.style.height=a+"px",b.style.display="block"):b.style.display="none"},b.initWidths=function(){var a={};this._cols.foreach(function(b){a[b.id()]=this.getColWidth(b)},this);for(var b=this.getRowsContainer(),c=b.firstChild;c;c=c.nextSibling)for(var d=c.firstChild.rows[0].cells,e=d.length;--e>=0;){var f=d[e],g=f.getAttribute("colid");a[g]=Math.max(a[g]||0,f.offsetWidth)}this._cols.foreach(function(b){this.setColWidth(b,a[b.id()])},this)},b.resetColumns=function(a){var b=this.getHeaderRow(),c=b.cells,d=[];this._cols=a.map(function(a,b){var c=this._colsById[a.id];d.push(c._cell),c.index=b,c._width=a.width,c._isVisible=a.visible;return c},this);var e=document.createDocumentFragment();d.foreach(function(a){e.appendChild(a)}),b.appendChild(e),this.refreshDisplay(),this._cols.foreach(function(a){this.setColVisible(a,a.isVisible()),this.setColWidth(a,a.getWidth())},this)},b.reorderColumn=function(a,b,c){var d=a.index,e=b.index;c&&e++;var f=this._cols;f.splice(d,1),f.splice(d<e?e-1:e,0,a);for(var g=0;g<f.length;++g)f[g].index=g;for(var g=this.getRowsContainer().firstChild;g;g=g.nextSibling){var h=g.firstChild.rows[0].cells,a=h[d],b=h[e];a.parentNode.insertBefore(a,b||null)}var h=this.getHeaderRow().cells,a=h[d],b=h[e];a.parentNode.insertBefore(a,b||null),this._computeColPos()},b.getNRecords=function(){return this._records?this._records.array.length:0},b.getNPages=function(){if(!this._rpp)return 1;return Math.ceil(this.getNRecords()/this._rpp)},b.rec_isSelected=function(a){return this._selection.isSelected(a.id())},b._computeColPos=function(){var a=-1;this._headCont._colPos=this._cols.map(function(b){a+=this.getColWidth(b);return{pos:a,col:b}},this)},b._createElement=function(){a.BASE._createElement.call(this),this.getElement().id=this.id,this._ss=new DlStyleSheet,this._cssPrefix="#"+this.id,this.setContent(i),this._initHeaders(),this.getBodyDiv().onscroll=this._rarify?k.rarify(this._rarify.calls,this._rarify.timeout,this):k.$(this);var b=this._headCont=new DlContainer({parent:this,element:this.getHeaderDiv()});b.addEventListener({onMouseMove:DlDataGridHeadLabel._on_headMouseMove,onMouseLeave:DlDataGridHeadLabel._on_headMouseLeave,onMouseEnter:this._computeColPos.$(this)}),this._bodyCont=new DlContainer({parent:this,element:this.getBodyDiv(),drag:this._dragArgs}),this._dragArgs=null,"onMouseOver onMouseOut onMouseDown onMouseUp onMouseLeave onDblClick".qw().foreach(function(a){this.addEventListener(a,this["_body_"+a])},this),this._cacheEvents={onChange:this._data_onChange.$(this),onInsert:this._data_onInsert.$(this),onDelete:this._data_onDelete.$(this),onRefresh:this._data_onRefresh.$(this)},this.setCache(this._data),this.addEventListener("onDestroy",this._onDestroy),this._records&&this.resetIDS(this._records),this._sel_events={onChange:this._sel_onChange.$(this),onReset:this._sel_onReset.$(this)},this._selection||(this._selection=new DlSelectionModel({})),this.setSelectionModel(this._selection)},b._onDestroy=function(){this._ss.destroy(),this.setCache(null)},b.setCache=function(a){this._data&&this._data.removeEventListener(this._cacheEvents),(this._data=a)&&a.addEventListener(this._cacheEvents)},b._data_onChange=function(a){var b=this.getRowElement(a.id());if(b){var d=String.buffer();this._fetchRowHTML(d,a),d=d.get();if(is_ie)b.outerHTML=d;else{var e=c.createFromHtml(d);c.trash(b.parentNode.replaceChild(e,b))}}},b._data_onInsert=function(a,b){var c=this._records.array;b==null&&(b=c.length),c.splice(b,0,a.id()),this.resetIDS(c),this.refreshDisplay()},b._data_onDelete=function(a){var b=this._records.array;a instanceof Array?a.foreach(function(a){this.remove(a)},b):b.remove(a),this.resetIDS(b),this.refreshDisplay()},b._data_onRefresh=function(){},b._recompDynamicWidths=function(){var a=this.getBodyDiv().clientWidth,b=[];this._cols.foreach(function(c){c.getFill()==null?a-=this.getColWidth(c):b.push(c)},this),a-=1,b.foreach(function(b){this.setColWidth(b,a*b.getFill())},this)},b._initHeaders=function(){this._colsById={},this._cols.foreach(function(a,b){a instanceof DlGridCol||(a=this._cols[b]=new DlGridCol(a)),a.addEventListener("onVisibility",this.setColVisible.$(this,a)),a.index=b,this._colsById[a.id()]=a;var c="DlDataGrid-col-"+a.id(),d=this._cssPrefix+" ."+c;d=d+","+d+" .DlDataGrid-cellData";var e=[],f=a.getWidth();typeof f=="number"&&e.push("width:"+f+"px"),e=e.join(";"),a._cssRule=this._ss.insertRule(d,e),a.isVisible()||this._ss.modifyRule(a._cssRule,{display:"none"});var g=a._cell=document.createElement("td");g.innerHTML="<div class='DlDataGrid-cellData'></div>",g.className=c,this.getHeaderRow().appendChild(g);var h=this._makeHeadLabel({parent:this,appendArgs:g.firstChild,iconClass:a.getIconClass(),label:a.getLabel(),col:a,className:"DlGrid-align-"+a.getStyle("textAlign","left"),tooltip:a.getTooltip.$(a),drag:this._getDragObject()});a._button=h},this)},b.findRowFromEvent=function(a){return j(a)};function j(a){var b=a.target,c,d,e,f,g;try{while(b&&b.tagName){if((g=b.tagName.toLowerCase())=="div"&&(e=b.getAttribute("recid"))!=null){c=b;break}!f&&g=="td"&&(d=b,f=b.getAttribute("colid")),b=b.parentNode}}catch(a){}return c?{row:c,col:d,id:e,col_id:f}:null}b._sel_onChange=function(a,b){var c=this.getRowElement(a);c&&f(c,b,"DlDataGridRow-selected")},b._sel_onReset=function(a,b){var c,f;for(c in a)b[c]||(f=this.getRowElement(c))&&e(f,"DlDataGridRow-selected");for(c in b)a[c]||(f=this.getRowElement(c))&&d(f,"DlDataGridRow-selected")},b.setSelectionModel=function(a){this._selection&&this._selection.removeEventListener(this._sel_events),this._selection=a,a.addEventListener(this._sel_events)},b._body_onDblClick=function(a){this.callHooks("onBodyDblClick");var b=j(a);b&&this.callHooks("onRowDblClick",b)},b._body_onMouseOver=function(a){var b=j(a);b&&this.__tooltip instanceof Function&&(this._tooltipRow=b,DlWidget.getTooltip().popup({timeout:this.__tooltipTimeout,content:this.__tooltip.$(this,b),anchor:this.getElement(),align:"mouse",onPopup:this.__onTooltipShow,onHide:this.__onTooltipHide,widget:this}))},b._body_onMouseOut=function(a){var b=j(a);b&&(DlWidget.getTooltip().hide(),this._tooltipRow=null)},b._body_onMouseLeave=function(a){},b.__handleSelectClick=function(a,b){var c=this._selection,d=this._records;if(c.multiple)if(b.button==2)this._rtClickKeepSel||(b.ctrlKey?(this.callHooks("onRowClick",a,b,{rtc:true,ctrl:true,type:"select",ids:[a.id]}),c.select([a.id])):c.isSelected(a.id)||(this.callHooks("onRowClick",a,b,{rtc:true,type:"reset",ids:[a.id]}),c.reset([a.id])));else if(b.ctrlKey)this.callHooks("onRowClick",a,b,{ctrl:true,type:"toggle",ids:[a.id]}),c.toggle(a.id),c._last=a.id;else if(b.shiftKey)if(c._last!=null){var e=d.id_to_pos[c._last],f=d.id_to_pos[a.id],g=d.array.slice(Math.min(e,f),Math.max(e,f)+1);this.callHooks("onRowClick",a,b,{shift:true,type:"reset",ids:g}),c.reset(g)}else this.callHooks("onRowClick",a,b,{shift:true,type:"toggle",ids:[a.id]}),c.toggle(a.id),c._last=a.id;else this.callHooks("onRowClick",a,b,{type:"reset",ids:[a.id]}),c.reset([a.id]),c._last=a.id;else if(!this._noReselect||!c.isSelected(a.id))this.callHooks("onRowClick",a,b,{type:"reset",ids:[a.id]}),c.reset([a.id]),c._last=a.id},b._body_onMouseUp=function(a){var b=j(a),c=this.__handleOnMouseUp;b&&c&&b.id==c.id&&this.__handleSelectClick(b,a)},b._body_onMouseDown=function(a){var b=j(a),c=this._selection;b&&(this.__handleOnMouseUp=!c.isSelected(b.id)||!this._bodyCont._dragArgs||a.ctrlKey||a.shiftKey?null:b,this.__handleOnMouseUp||this.__handleSelectClick(b,a),a.button!=2&&g())},b.scrollToRecord=function(a,b){var c=this.getRowsContainer(),d=Math.floor(c.offsetHeight/c.childNodes.length),e=d*this._records.id_to_pos[a||this._selection._last],f=this.getBodyDiv(),g=f.scrollTop,h=f.clientHeight;if(b==null)e<g?(f.scrollTop=e,this._setVScroll(d*this._info_display.first_row_index)):e+d>g+h&&(f.scrollTop=e+d-h,this._setVScroll(d*this._info_display.first_row_index));else switch(b){case"top":f.scrollTop=e;break;case"bottom":f.scrollTop=e+d-h;break;case"center":f.scrollTop=(2*e+d-h)/2}},b.scrollHome=function(){this.getBodyDiv().scrollTop=0},b.scrollEnd=function(){this.getBodyDiv().scrollTop=this._getVSHeightDiv().offsetHeight},b.scrollPage=function(a){var b=this.getBodyDiv();b.scrollTop+=a*b.clientHeight-20},b._handle_focusKeys=function(b){var c=this._selection,d=b.keyCode,e=b.charCode,f=this._records,h;switch(d){case DlKeyboard.ARROW_DOWN:h=-1,c._last!=null&&(h=f.id_to_pos[c._last]);if(b.shiftKey&&c.multiple){var i=f.array.slice(h,h+2);c.select(i),c._last=i.peek()}else{h=f.array.limitIndex(h+1);var j=f.array[h];c.reset([j]),c._last=j}this.scrollToRecord(),g();break;case DlKeyboard.ARROW_UP:h=f.array.length,c._last!=null&&(h=f.id_to_pos[c._last]);if(b.shiftKey&&c.multiple){var i=f.array.slice(h-1,h);c.select(i),c._last=i.peek()}else{h=f.array.limitIndex(h-1);var j=f.array[h];c.reset([j]),c._last=j}this.scrollToRecord(),g();break;case DlKeyboard.HOME:this.scrollHome(),g();break;case DlKeyboard.END:this.scrollEnd(),g();break;case DlKeyboard.PAGE_UP:this.scrollPage(-1),g();break;case DlKeyboard.PAGE_DOWN:this.scrollPage(1),g()}a.BASE._handle_focusKeys.call(this,b)},b._makeHeadLabel=function(a){return new this._headType(a)},b._onHeadClick=function(a,b){if(a.isSortable()){a=a.id();var c=this.__sortCol||null,d=null;a==c&&(d=true,this.__sortRev&&(d=!d)),this.__sortRev=d,this._data.sort(this._records.array,a,c,d,this._handleSort.$(this,a,d))}},b._handleSort=function(a,b,c){this.resetIDS(c),this.refreshDisplay(),this.setSortColumn(a,b)},b.setSortColumn=function(a,b){var c=this.__sortCol;c&&(c=this._colsById[c],c._button.delClass(/DlDataGridHeadLabel-sort-[^\s]+/g)),(this.__sortCol=a)&&this._colsById[a]._button.condClass(b,"DlDataGridHeadLabel-sort-down","DlDataGridHeadLabel-sort-up")},b.getSortColumn=function(){return this.__sortCol},b.getSortReverse=function(){return this.__sortRev},b.getCol=function(a){a instanceof DlGridCol||(a=this._colsById[a]);return a},b.getRec=function(a){a instanceof DlRecord||(a=this._data.get(a));return a},b.setColWidth=function(a,b){a=this.getCol(a),a._width=b,this._ss.modifyRule(a._cssRule,{width:b+"px"})},b.setColVisible=function(a,b){a=this.getCol(a),this._ss.modifyRule(a._cssRule,{display:b?"":"none"}),a._isVisible=!!b},b.getColWidth=function(a){a=this.getCol(a);return this.getHeaderRow().cells[a.index].offsetWidth},b._getDragObject=function(){this.__drag||(this.__drag=new DlGridDragCol({}));return this.__drag},b._fetchRowContentHTML=function(a,b){a("<table class='DlDataGrid-rowTable' cellspacing='0' cellpadding='0'><tr>");var c=this._cols,d=c.length,e=this._data,f,g,h,i;for(i=0;i<d;++i)f=c[i],g=f.id(),a("<td colid='",g,"' class='DlDataGrid-col-",g),(h=e.getCellClass(b,f.id()))&&a(" ",h),a("'>"),is_ie&&a("<div class='DlDataGrid-cellData'>"),e.formatHTML(b,f.id(),a),is_ie&&a("</div>"),a("</td>");a("</tr></table>")},b._fetchRowHTML=function(a,b){var c="DlDataGrid-row",d=this._data.getRecClass(b);d&&(c+=" "+d),this.rec_isSelected(b)&&(c+=" DlDataGridRow-selected"),a("<div id='",this.id,":",b.id(),"' class='",c,"' recid='",b.id(),"'>"),this._fetchRowContentHTML(a,b),a("</div>")},b.getRowElement=function(a){return document.getElementById(this.id+":"+a)},b.refreshDisplay=function(){this._oldScroll=null;var a=this.getBodyDiv(),b=a.scrollTop,c=this.getRowsContainer(),d=this._records.array,e=this._info_display;this._rpp&&d.length<this._rpp&&this.displayPage(0);if(this._rpp){var f=Math.floor(c.offsetHeight/c.childNodes.length),g=Math.ceil(b/f)-1;g<0&&(g=0);var h=Math.floor((b+a.clientHeight)/f);h>=d.length&&(h=d.length-1);var i=d.slice(g,g+this._rpp);this._display_ids(i,f*g)}},b.__doLayout=function(){var a=this.getInnerSize(),b=this.getBodyDiv(),d=this.getHeaderDiv();c.setOuterSize(b,a.x,a.y-d.offsetHeight),c.setOuterSize(d,a.x,null),this._resetVSHeight(),this._records&&this._records.array.length>0&&(this._oldScroll=null,k.call(this)),this._recompDynamicWidths()},b.getBoundRecords=function(){var a=this.getBodyDiv(),b=a.scrollTop,c=this.getRowsContainer(),d=this._records.array,e=c.offsetHeight;if(e==0)return this.__boundRecords;var f=Math.floor(e/c.childNodes.length),g=Math.ceil(b/f)-1;g<0&&(g=0);var h=Math.floor((b+a.clientHeight)/f);h>=d.length&&(h=d.length-1);return this.__boundRecords={first:g,last:h,count:h-g+1,h:f}};function k(){if(!this._processing_scroll){this._processing_scroll=true;var a=this.getBodyDiv(),b=a.scrollTop;this.getHeaderTable().style.marginLeft=-a.scrollLeft+"px";if(this._vScroll&&this._records&&b!=this._oldScroll){var d=this.getRowsContainer(),e=this._records.array,f=this._info_display,g=this.getBoundRecords(),h=g.first,i=g.last;g=g.h;if(!(h>=f.first_row_index&&i<=f.last_row_index))if(i<f.first_row_index||h>f.last_row_index){var j=e.slice(h,h+this._rpp);this._display_ids(j,g*h)}else if(h<f.first_row_index){var j=e.slice(h,f.first_row_index);this.__scrollConts++,this.__cont=function(a){var b=String.buffer("<div>"),e=a.length;a.foreach(this._fetchRowHTML.$(this,b)),b("</div>");var i=b.get(),j=c.createFromHtml(i),k;try{var l=document.createRange(),m=d.childNodes;l.selectNodeContents(j),k=l.extractContents(),l.detach(),l=document.createRange(),l.setStartBefore(m[m.length-e]),l.setEndAfter(m[m.length-1]),l.deleteContents()}catch(a){k||(k=document.createDocumentFragment());while(j.firstChild)d.removeChild(d.lastChild),k.appendChild(j.firstChild)}d.insertBefore(k,d.firstChild),this._setVScroll(g*h),f.first_row_index=h,f.last_row_index-=e},this._fetch_data(j,-1,function(a){this.__scrollConts--,this.__scrollConts==0&&this.__cont(a)})}else if(i>f.last_row_index){var j=e.slice(f.last_row_index+1,i+1);this.__scrollConts++,this.__cont=function(a){var b=String.buffer("<div>"),e=a.length;a.foreach(this._fetchRowHTML.$(this,b)),b("</div>");var h=b.get(),j=c.createFromHtml(h),k;try{var l=document.createRange();l.selectNodeContents(j),k=l.extractContents(),l.detach(),l=document.createRange(),l.setStartBefore(d.firstChild),l.setEndBefore(d.childNodes[e]),l.deleteContents()}catch(a){k||(k=document.createDocumentFragment());while(j.firstChild)d.removeChild(d.firstChild),k.appendChild(j.firstChild)}d.appendChild(k),this._setVScroll(this._getVSScrollDiv().offsetHeight+g*e),f.first_row_index+=e,f.last_row_index=i},this._fetch_data(j,1,function(a){this.__scrollConts--,this.__scrollConts==0&&this.__cont(a)})}this._oldScroll=b}this.callHooks("onBodyScroll"),this._processing_scroll=false}}}),DEFINE_CLASS("DlDragDataGrid",DlDrag,function(a,b){b.startOK=function(a,b){var c=a.parent,d=false,e=b.target;while(e&&e!=a.getElement()){if(e==c._getVSHeightDiv()){d=true;break}e=e.parentNode}d&&c._selection.getArray().length>0?this.grid=c:d=false;return d},b.reset=function(){this.grid=null,a.BASE.reset.apply(this,arguments)}}),DEFINE_CLASS("DlDesktop",DlContainer,function(a,b){a.DEFAULT_ARGS={_bounds:["bounds",new DlRect(50,30,800,600)]},b._createElement=function(){a.BASE._createElement.call(this);var b=this.getElement();this._bounds.positionDiv(b),document.body.appendChild(b)};if(is_ie)var c=Dynarch.ID("IEsux"),d=function(){var a=document.getElementById(c);a||(a=document.createElement("div"),a.style.position="absolute",a.style.right=a.style.bottom=a.style.width=a.style.height="0px",a.style.zIndex="-100",document.body.appendChild(a)),this.setSize({x:a.offsetLeft,y:a.offsetTop+a.offsetHeight})};b.fullScreen=function(){var a=this.getElement().style;a.left=a.top="0px",a.height=a.width="100%";var b;is_ie?b=d.$(this):b=this.callHooks.$(this,"onResize"),DynarchDomUtils.addEvent(window,"resize",b.clearingTimeout(25))}}),DEFINE_CLASS("DlTable",DlContainer,function(a,b,c){var d=c.createElement;a.FIXARGS=function(a){a.tagName="table",this._colSpan=0},a.DEFAULT_ARGS={__cellSpacing:["cellSpacing",null],__cellPadding:["cellPadding",null],__align:["align",null]},b._createElement=function(){a.BASE._createElement.call(this);var b=this.getElement();this.__cellPadding!=null&&(b.cellPadding=this.__cellPadding),this.__cellSpacing!=null&&(b.cellSpacing=this.__cellSpacing),this.__align!=null&&(b.align=this.__align),d("tbody",null,null,b)},b.getContentElement=function(){return this.getElement().firstChild},b.addRow=function(){return new DlTableRow({parent:this})},b.getRow=function(a){return this.children(a)},b.addCell=function(a,b,c){var d=new DlTableCell({parent:a});b!=null&&d.addClass("DlAlign-"+b);if(c!=null){var e=d.getElement().style;e.verticalAlign=c}var f=d.getElement().cellIndex+1;f>this._colSpan&&(this._colSpan=f);return d},b.getColSpan=function(){return this._colSpan},b.setColSpan=function(a){this._colSpan=a},b.addSeparator=function(a){a==null&&(a=this.getColSpan()),d("div",null,{innerHTML:"&nbsp;"},d("td",null,{colSpan:a},d("tr",null,{className:"DlTable-RowSeparator"},this.getContentElement())))}}),DEFINE_CLASS("DlTableRow",DlContainer,function(a,b){a.DEFAULT_ARGS={_tagName:["tagName","tr"]}}),DEFINE_CLASS("DlTableCell",DlContainer,function(a,b){a.DEFAULT_ARGS={_tagName:["tagName","td"]}}),DEFINE_CLASS("DlFieldGrid",DlTable,function(a,b){a.CONSTRUCT=function(){this.__fields={}},b.addField=function(a,b,c){var d=a.widget||new DlEntry(a),e=a.label;b||(b={}),e&&(e instanceof DlWidget?e instanceof DlLabel&&e.setWidget(d):e=new DlLabel({label:a.label.makeLabel(),widget:d}));var f=this.addRow(),g=this.addCell(f,"right",a.valign);g.addClass("DlFieldGrid-labelCell"),a.valign=="top"&&e instanceof DlLabel&&(g.getElement().style.paddingTop="4px"),e&&g.appendWidget(e);if(b.middleText){var h=this.addCell(f);h.setContent(b.middleText)}var i=this.addCell(f);i.appendWidget(d);var j=a.id||a.name;j!=null&&(this.__fields[j]=d.getWidgetId(),delete a.id);if(b){var k=i.getElement();b.colSpan&&(k.colSpan=b.colSpan),b.rowSpan&&(k.rowSpan=b.rowSpan)}c&&(c.row=f,c.c1=g,c.c2=i,c.label=e,c.entry=d);return d},b.getField=function(a){return a?DlWidget.getById(this.__fields[a]):this.__fields},b.setField=function(a,b){this.__fields[a]=b.getWidgetId()},b.getValue=function(){var a={};for(var b in this.__fields){var c=this.getField(b),d=c.getFormValue||c.getValue;if(d instanceof Function)if(c instanceof DlAbstractButton&&c._checkTwoState(true)){var e=d.call(c);typeof e=="boolean"?a[b]=e:e==null?a[b]=c.checked():c.checked()&&(a[b]=e)}else a[b]=d.call(c)}return a},b.getValues=b.getValue,b.setValue=function(a){for(var b in a){var c=this.getField(b),d=a[b],e;c&&((e=c.setFormValue||c.setValue)instanceof Function&&(c instanceof DlAbstractButton&&c._checkTwoState(true)?c.checked(typeof d=="string"?d!="0":!!d):e.call(c,d)))}},b.setValues=b.setValue}),DEFINE_CLASS("DlFieldset",DlContainer,function(a,b,c){a.DEFAULT_ARGS={_label:["label","DlFieldset"]},b._createElement=function(){a.BASE._createElement.call(this),this.getElement().innerHTML=["<span class='DlFieldset-label'>",this._label,"</span>","<div class='DlFieldset-content'></div>"].join("")},b.getContentElement=function(){return this.getElement().childNodes[1]},b.getLabelElement=function(){return this.getElement().firstChild},b.setOuterSize=b.setSize=function(a){var b=c.getPos(this.getLabelElement()),d=c.getPos(this.getContentElement()),e=d.y-b.y;c.setOuterSize(this.getElement(),a.x,a.y-e),a=c.getInnerSize(this.getElement()),c.setOuterSize(this.getContentElement(),a.x,a.y),this.callHooks("onResize")}}),function(){var a={},b={};window.DlSingleton={get:function(c,d){return b[c]||!d&&(b[c]=new a[c])},register:function(b,c,d){a[b]=c,d&&(window[b]=this.get.$C(b))}}}(),DEFINE_SINGLETON("DlFlashUtils",DlEventProxy,function(a,b){a.DEFAULT_EVENTS=["onLoad","onStorageStatus"];var c=is_ie?String.template("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"215\" height=\"138\" id=\"DlFlashUtils-MOVIE\" align=\"middle\">","<param name=\"allowScriptAccess\" value=\"always\" />","<param name=\"movie\" value=\"$url\" />","<param name=\"quality\" value=\"high\" />","</object>"):String.template("<embed id=\"DlFlashUtils-MOVIE\" src=\"$url\" quality=\"high\" bgcolor=\"#ffffff\" width=\"215\" height=\"138\" ","allowScriptAccess=\"always\" ","type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />"),d=null;window.DlFlashUtils_init=function(a){DlFlashUtils().callHooks("onLoad")},b.init=function(){if(!d){var a=c({url:Dynarch.getFileURL("swf/flash.swf")});document.write("<div style='position: absolute; z-index: 31000; left: -256px; top: 50%; margin-left: -108px; margin-top: -69px; width: 216px; height: 138px;'>"+a+"</div>"),d=document.getElementById("DlFlashUtils-MOVIE")}},b.getObject=function(){return d},b.display=function(a){d.parentNode.style.left=a?"50%":"-256px"};function e(a){var b=null;try{b=a.GetVariable("$version")}catch(a){}return b}var f={"ShockwaveFlash.ShockwaveFlash.7":e,"ShockwaveFlash.ShockwaveFlash.6":function(a){var b="Win 6,0,21";try{a.AllowScriptAccess="always",b=e(a)}catch(a){}return b},"ShockwaveFlash.ShockwaveFlash":e};b.isSupported=function(){var a=navigator.plugins;if(a&&a.length){a=a["Shockwave Flash"];if(a&&a.description&&/^Shockwave Flash\s+([^\s]+)/i.test(a.description))return parseFloat(RegExp.$1)>=8}else if(is_ie)for(var b in f)try{var c=new ActiveXObject(b);if(c){var d=f[b](c);if(d!=null){d=d.split(/\s+/)[1];return parseFloat(d)>=8}}}catch(a){}return false},b.loadPolicyFile=function(a){return this.getObject().DlSocket_loadPolicyFile(a)};var g=b.decodeString=function(a){return a.replace(/%22/g,"\"").replace(/%5c/g,"\\").replace(/%26/g,"&").replace(/%25/g,"%")},h=b.decodeObject=function(a){var b,c;if(a instanceof Array)for(b=a.length;--b>=0;)a[b]=h(a[b]);else if(typeof a=="object"){if(a==null)return a;c={};for(b in a)c[g(b)]=h(a[b]);a=c}else typeof a=="string"&&(a=g(a));return a}}),DlFlashStore={set:function(a,b){DlFlashUtils().getObject().DlStorage_set(a,b)},get:function(a){return DlFlashUtils().decodeObject(DlFlashUtils().getObject().DlStorage_get(a))},getAllKeys:function(){return DlFlashUtils().decodeObject(DlFlashUtils().getObject().DlStorage_getAllKeys())},remove:function(a){DlFlashUtils().getObject().DlStorage_remove(a)},clear:function(){DlFlashUtils().getObject().DlStorage_clear()},flush:function(a){var b=DlFlashUtils().getObject().DlStorage_flush();a&&b=="pending"&&DlFlashUtils().display(true);return b},_onStatus:function(a){DlFlashUtils().display(false),DlFlashUtils().applyHooks("onStorageStatus",[a])}},DEFINE_CLASS("DlGridLayout",DlLayout,function(a,b,c){var d=c.createElement,e=c.addClass;a.DEFAULT_ARGS={__layout:["layout",null],__layoutHTML:["layoutHTML",null],__cellSpacing:["cellSpacing",0],__cellPadding:["cellPadding",1]};var f=["width","padding","paddingLeft","paddingRight","paddingTop","paddingBottom","verticalAlign","textAlign","whiteSpace"];b._createElement=function(){a.BASE._createElement.call(this);var b;if(this.__layoutHTML)this.setContent(this.__layoutHTML),b=this.getElement().getElementsByTagName("table")[0];else{b=d("table",null,{cellSpacing:this.__cellSpacing,cellPadding:this.__cellPadding,className:"DlGridLayout-table"}),d("tbody",null,null,b);var c=this.__layout;c.foreach(function(a){var c=a.props,d=b.insertRow(-1);c&&c.minHeight&&(e(d,"DlGridLayout-tr-minHeight"),d.minHeight=true),a.cells.foreach(function(a,b){var g=d.insertCell(-1);b==0&&c&&c.height&&(g.style.height=c.height),a&&(a.colSpan&&(g.colSpan=a.colSpan),a.className&&(g.className=a.className),a.rowSpan&&(g.rowSpan=a.rowSpan),a.minWidth&&e(g,"DlGridLayout-td-minWidth"),a.minHeight&&(g.minHeight=true,e(g,"DlGridLayout-td-minHeight")),f.r_foreach(function(b){var c=a[b];c!=null&&(this[b]=c)},g.style))})}),this.getElement().appendChild(b)}this.refNode("__table",b)},b._appendWidgetElement=function(b,c){if(c.inCell){var d=this.getCellElement(c.row,c.col);d.appendChild(b.getElement()),b._dllayout_args=c}else a.BASE._appendWidgetElement.call(this,b,c)},b._removeWidgetElement=function(b){if(this._widgets.contains(b))if(b._dllayout_args.inCell){var c=b.getElement();c.parentNode.removeChild(c)}else a.BASE._removeWidgetElement.call(this,b)},b.getTableElement=function(){return this.__table},b.getCellElement=function(a,b){return this.getTableElement().rows[a].cells[b]},b.doLayout=function(){var a=this.children();(2).times(function(b){a.foreach(function(a){var c=a._dllayout_args;if(!c.inCell){var d=this.getCellElement(c.row,c.col),e=d.offsetLeft,f=d.offsetTop,g=d.offsetWidth,h=d.offsetHeight;if(b==0){var i=a.getOuterSize();(d.minHeight||d.parentNode.minHeight)&&h<i.y&&(d.style.height=i.y+"px")}else{var j=a.getElement().parentNode.style;j.left=e+"px",j.top=f+"px",a.setOuterSize({x:g,y:h})}}},this)},this)},b.showWidgets=function(a){arguments.length==0&&(a=true),this.children().r_foreach(function(b){b.display(a)})}}),DlHtmlUtils={_blockTags:"body form textarea fieldset ul ol dl dd dt li div blockquote p h1 h2 h3 h4 h5 h6 quote pre table thead tbody tfoot tr td iframe address".hashWords(),_quickTags:"br hr input link meta img".hashWords(),_headingTags:"h1 h2 h3 h4 h5 h6".hashWords(),_descTags:"p blockquote td div li".hashWords(),isBlockElement:function(a){return a&&a.nodeType==1&&a.tagName.toLowerCase()in DlHtmlUtils._blockTags},needsClosingTag:function(a){return a&&a.nodeType==1&&!(a.tagName.toLowerCase()in DlHtmlUtils._quickTags)},htmlEncode:function(a){return String(a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\x22/g,"&quot;").replace(/\u00A0/g,"&#xa0;")},getHTML:function(a,b,c){var d=DlHtmlUtils,e=[],f=0,g=d.needsClosingTag,h=d.htmlEncode,i=d.getInnerText,j=null,k=null,l=null,m=d._descTags,n=d._headingTags,o=0;function p(a,b){var d;switch(a.nodeType){case 11:b=false;case 1:var q=a.tagName.toLowerCase();if(a.className=="DynarchLIB-REMOVE-ME")break;if(b){var r=!(a.hasChildNodes()||g(a));if(q=="br"){if(a.previousSibling&&!a.nextSibling)break;if(o){e[f++]="\n";break}}c&&(j==null&&q in n?(j=i(a),l=0):k==null&&q in m&&(k=i(a))),e[f++]="<",e[f++]=q;var s=a.attributes;for(d=0;d<s.length;++d){var t=s.item(d);if(!t.specified)continue;var u=t.nodeName.toLowerCase();if(/^_moz|^_msh/.test(u))continue;var v;u!="style"?typeof a[t.nodeName]!="undefined"&&u!="href"&&u!="src"&&!/^on/.test(u)?v=a[t.nodeName]:v=t.nodeValue:v=a.style.cssText;if(/(_moz|^$)/.test(v))continue;e[f++]=" "+u+"=\""+h(v)+"\""}e[f++]=r?" />":">"}for(q=="pre"&&++o,d=a.firstChild;d;d=d.nextSibling)p(d,true);q=="pre"&&--o,b&&!r&&(e[f++]="</"+q+">"),l===0&&(l=f);break;case 3:/^(script|style)$/i.test(a.parentNode.tagName)?a.data.indexOf("/*<![CDATA[*/")!=0?(e[f++]="/*<![CDATA[*/",e[f++]=a.data,e[f++]="/*]]>*/"):e[f++]=a.data:e[f++]=a.data.htmlEscape();break;case 4:case 8:e[f++]="<!--",e[f++]=a.data,e[f++]="-->"}}p(a,b);var q=e.join("");c&&(q={title:j,description:k,content:q,contentButTitle:""},l&&(q.contentButTitle=e.slice(l).join("")));return q},getInnerText:function(a){if(a.innerText!=null)return a.innerText;if(a.textContent!=null)return a.textContent},getText:function(a){for(var b=a.cloneNode(true),c=b.getElementsByTagName("*"),d=c.length;--d>=0;){var e=c[d];if(DlHtmlUtils.isBlockElement(e)){var f=e.ownerDocument.createTextNode(" ");e.insertBefore(f,e.firstChild),e.appendChild(f.cloneNode(true))}}var g=DlHtmlUtils.getInnerText(b);DynarchDomUtils.trash(b);return g},_can_t_DeleteFull_tags:"td".hashWords(),canDeleteFullNode:function(a){return!(a.toLowerCase()in DlHtmlUtils._can_t_DeleteFull_tags)},_can_t_DeleteContent_tags:"ul ol dd table tr img br hr".hashWords(),canDeleteContent:function(a){return!(a.toLowerCase()in DlHtmlUtils._can_t_DeleteContent_tags)},_can_t_StripNode_tags:"ul ol li dd dt dl img br hr table tr td object applet iframe form textarea".hashWords(),canStripNode:function(a){return!(a.toLowerCase()in DlHtmlUtils._can_t_StripNode_tags)}},DEFINE_CLASS("DlIconListView",DlContainer),DEFINE_CLASS("DlIconListItem",DlAbstractButton,function(a,b){a.DEFAULT_ARGS={__itemSize:["itemSize",{x:100,y:null}],__itemSpacing:["itemSpacing",0],__spaceEvenly:["spaceEvenly",false],__iconSize:["iconSize",{x:40,y:40}],__iconAbove:["iconAbove",true],_btnType:["type",DlAbstractButton.TYPE.TWOSTATE],_tagName:["tagName","table"],_classes:["classes",{active:"DlIconListItem-active",hover:"DlIconListItem-hover",checked:"DlIconListItem-1",unchecked:"DlIconListItem-0",empty:"DlIconListItem-empty",disabled:"DlIconListItem-disabled"}],_iconClass:["iconClass",null]};var c=["DlIconListItem-iconCell","DlIconListItem-labelCell"];b._createElement=function(){DlWidget.prototype._createElement.call(this);var a=this.getElement();a.cellSpacing=a.cellPadding=0,this.__spaceEvenly?a.style.margin=this.__itemSpacing+"px":a.style.marginRight=a.style.marginBottom=this.__itemSpacing+"px",a.insertRow(-1).insertCell(-1),a.insertRow(-1).insertCell(-1),a.align="left",this.setIconAbove(this.__iconAbove,true),this.setIconClass(this._iconClass),this.label(this._label,true),this.setIconSize(this.__iconSize),this._updateState()},b.setIconClass=function(a){this.getIconCell().className=c[0]+" "+a},b.getIconCell=function(){return this.getElement().rows[this.__iconAbove?0:1].cells[0]},b.getLabelCell=function(){return this.getElement().rows[this.__iconAbove?1:0].cells[0]},b.setIconSize=function(a){DynarchDomUtils.setInnerSize(this.getIconCell(),a.x,a.y),this.__iconSize=a},b.getIconSize=function(){return this.__iconSize},b.setIconAbove=function(a,b){var d=this.getElement().rows;b?(d[0].cells[0].className=c[a?0:1],d[1].cells[0].className=c[a?1:0]):a!==this.__iconAbove&&d[1].parentNode.insertBefore(d[1],d[0]),this.__iconAbove=a},b.label=function(a,b){a!=null&&(b||a!==this._label)&&(this._label=a,this.getLabelCell().innerHTML=String.buffer("<div class='DlIconListItem-labelDiv' style='width:",this.__itemSize.x,"px'>",a,"</div>").get(),this.applyHooks("onUpdateLabel",[this._label]));return this._label}}),DlJSON={RE_strings:/(\x22(\\.|[^\x22\\])*\x22|\x27(\\.|[^\x27\\])*\x27)/g,RE_forbid:/([\n;()+=\x2f*-])/g,encode:function(a){var b,c;if(a==null)b="null";else if(a.dynarchlib_toJSON)b=a.dynarchlib_toJSON();else if(a instanceof Array)b=["[",a.map(DlJSON.encode).join(","),"]"].join("");else if(a instanceof Date)b=DlJSON.encode(a.toUTCString());else if(typeof a=="object"){b=[];for(c in a)b.push([DlJSON.encode(c),":",DlJSON.encode(a[c])].join(""));b=["{",b.join(","),"}"].join("")}else typeof a=="string"?b=["\"",a.replace(/\x5c/g,"\\\\").replace(/\r?\n/g,"\\n").replace(/\t/g,"\\t").replace(/\x22/g,"\\\""),"\""].join(""):b=a.toString();return b},decode:function(a,b){if(!b){a=a.trim();var c=a.replace(DlJSON.RE_strings,"");if(DlJSON.RE_forbid.test(c))throw new DlSecurityException("Character "+RegExp.$1+" not allowed in JSON input!")}try{return Dynarch.evalClean(a)}catch(a){throw new DlDataException("Malformed data in JSON input: "+a)}},domToObject:function(a){for(var b={},c=String.buffer(),d=a.firstChild;d;d=d.nextSibling)if(d.nodeType==1){var e=DlJSON.domToObject(d),f=d.nodeName;f in b?(b[f]instanceof Array||(b[f]=[b[f]]),b[f].push(e)):b[f]=e}else d.nodeType==3&&c(d.nodeValue);b.$text=c.get();return b}};var DlKeyboard={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,SPACE:32,DASH:45,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,INSERT:45,DELETE:46,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,parseKey:function(a){var b={},c;a=a.toUpperCase();if(c=/^([a-z]+)\s+\x27(.)\x27$/i.exec(a))b[c[1]]=true,b.key=c[2];else if(c=/^([a-z]+)-([a-z]+)\s+\x27(.)\x27$/i.exec(a))b[c[1]]=b[c[2]]=true,b.key=c[3];else if(c=/^([a-z]+)-([a-z]+)-([a-z]+)\s+\x27(.)\x27$/i.exec(a))b[c[1]]=b[c[2]]=b[c[3]]=true,b.key=c[4];return b},checkKey:function(a,b){typeof b=="string"&&(b=DlKeyboard.parseKey(b));return(!b.CTRL&&!a.ctrlKey||b.CTRL&&a.ctrlKey)&&(!b.ALT&&!a.altKey||b.ALT&&a.altKey)&&(!b.SHIFT&&!a.shiftKey||b.SHIFT&&a.shiftKey)&&a.keyStr.toUpperCase()==b.key.toUpperCase()}};DlKeyboard.KEYS_CONTROL=["BACKSPACE","TAB","DELETE","ESCAPE","ENTER","PAGE_UP","PAGE_DOWN","END","HOME","ARROW_LEFT","ARROW_UP","ARROW_RIGHT","ARROW_DOWN"].keys_map(DlKeyboard).toHash(true),DlKeyboard.KEYS_MOVE=["ARROW_LEFT","ARROW_UP","ARROW_RIGHT","ARROW_DOWN"].keys_map(DlKeyboard).toHash(true),DlKeyboard.KEYS_MOVE_PREV=["ARROW_LEFT","ARROW_UP"].keys_map(DlKeyboard).toHash(true),DEFINE_CLASS("DlLabel",DlAbstractButton,function(a,b){a.DEFAULT_ARGS={_activateWidget:["widget",null],_tagName:["tagName","span"]},b._onMouseDown=function(a){var b=this._activateWidget;b&&(b.focus(),a.domStop=true,DlException.stopEventBubbling())},b.setWidget=function(a){this._activateWidget=a},b.getWidget=function(){return this._activateWidget},b._handle_accessKey=function(a){this._onMouseDown(a)}}),DEFINE_CLASS("DlLiteTree",DlContainer,function(a,b,c){a.DEFAULT_EVENTS="onItemMouseDown onItemDblClick".qw(),a.DEFAULT_ARGS={items:["items",null],sort:["sort",Function.identity],_opt_toggleSelection:["toggleSelection",false],_focusable:["focusable",true]},a.FIXARGS=function(a){Object.mergeUndefined(a,{fillParent:true})},a.CONSTRUCT=function(){this.addEventListener({onMouseDown:this._onMouseDown,onDblClick:this._onDblClick})},b.reset=function(a){this.top_items=a,this.setContent(this._buildHTML(a,0)),this._selection&&this._selection.filter(this._itemsById)},b.setSelectionModel=function(a){this._selection?this._selection.removeEventListener(this._selListeners):this._selListeners||(this._selListeners={onChange:this.$("_on_selChange"),onReset:this.$("_on_selReset")}),this._selection=a,a.addEventListener(this._selListeners)},b.isSelected=function(a){return this._selection&&this._selection.isSelected(a)},b.refreshItems=function(a){a.foreach(function(a){var b=this._getItemElement(a);if(b){var c=["item-label"],d=this._itemsById[a];this.isSelected(a)&&c.push("selected"),d.addClassNames(c),b.className=c.join(" ");var e=String.buffer("<span class='expander'></span>");d.formatHTML(e),b.innerHTML=e.get()}},this)},b.getItemById=function(a){return this._itemsById[a]},b._buildHTML=function(a,b){a=this.sort(a);if(a.length==0)return"";b==null&&(b=0),b==0&&(this._itemsById={});var c=String.buffer("<ul>");a.foreach(function(a){var d=a.children(),e=d.length>0;c("<li>");var f=["item-label"],g=a.id();a.addClassNames(f),this.isSelected(g)&&f.push("selected"),e&&f.push("expanded"),c("<div id='",this._makeId(g),"' lite-tree-item='",g,"' class='",f.join(" "),"'><span class='expander'></span>"),a.formatHTML(c),c("</div>",this._buildHTML(d,b+1),"</li>"),this._itemsById[a.id()]=a},this),c("</ul>");return c.get()},b._makeId=function(a){return this.id+":"+a},b._findItemFromEvent=function(a){var b={},c=a.target;while(c&&c.nodeType==1){var d=c.getAttribute("lite-tree-item");if(d!=null){b.el=c,b.id=d,b.item=this._itemsById[d];return b}c.className=="expander"&&(b.expander=c),c=c.parentNode}},b._getItemElement=function(a){return document.getElementById(this._makeId(a))},b.__handleSelectClick=function(a,b,d){var e=this._selection,f=this._itemsById[a.id],g=[f,a,b];if(d){e&&!e.isSelected(a.id)&&f.isSelectable()&&e.reset([a.id]),this.applyHooks("onItemDblClick",g);return}if(!e||a.expander||!a.item.isSelectable()){var h=a.el.nextSibling;if(h){var i=c.hasClass(h,"hidden");c.condClass(h,!i,"hidden"),c.condClass(a.el,i,"expanded","collapsed")}this.applyHooks("onItemMouseDown",g)}else e&&a.item.isSelectable()&&(e.multiple?b.ctrlKey?e.toggle(a.id):e.reset([a.id]):this._opt_toggleSelection&&e.isSelected(a.id)?e.toggle(a.id):e.reset([a.id]),this.applyHooks("onItemMouseDown",g))};var d=(new Date).getTime(),e=null;b._onMouseDown=function(a){var b=this._findItemFromEvent(a),c=(new Date).getTime();c-d<Dynarch.dblClickTimeout&&b&&e&&b.id==e.id?this.__handleSelectClick(b,a,true):b&&(d=c,this.__handleSelectClick(b,a,false)),e=b},b._on_selChange=function(a,b){c.condClass(this._getItemElement(a),b,"selected")},b._on_selReset=function(a,b){Object.foreach(a,function(a,b){c.delClass(this._getItemElement(b),"selected")},this),Object.foreach(b,function(a,b){c.addClass(this._getItemElement(b),"selected")},this)},a.Item=DEFINE_HIDDEN_CLASS(null,DlEventProxy,function(a,b){a.DEFAULT_ARGS={_name:["name",null],_id:["id",null],_children:["children",null]},a.CONSTRUCT=function(){this._children==null&&(this._children=[])},b.formatHTML=function(a){a(this._name)},b.addClassNames=Function.noop,b.id=function(){return this._id},b.children=function(){return this._children},b.isSelectable=Function.returnTrue})}),DEFINE_CLASS("DlMacBarIcon",DlAbstractButton,function(a,b){a.BEFORE_BASE=function(){this.__currentWidth=this.__minWidth,this.__currentHeight=this.__minHeight,this.__align=this.__align.split(/\s+/).toHash()};var c={active:"DlMacBarIcon-active",hover:"DlMacBarIcon-hover",checked:"DlMacBarIcon-1",unchecked:"DlMacBarIcon-0",empty:"DlMacBarIcon-empty",disabled:"DlMacBarIcon-disabled"};a.DEFAULT_ARGS={_classes:["classes",c],__image:["img",null],__minWidth:["minWidth",32],__minHeight:["minHeight",32],__maxWidth:["maxWidth",64],__maxHeight:["maxHeight",64],__align:["align","bottom"],__tooltipTimeout:["tooltipTimeout",900]},b._createElement=function(){DlWidget.prototype._createElement.call(this),this.setContent(String.buffer("<img src='",this.__image,"' width='",this.__minWidth,"' height='",this.__minHeight," ' />").get())},b.getImgElement=function(){return this.getElement().firstChild},b.flash=function(a){this._onMouseEnter(),this._onMouseLeave.delayed(a||100,this)},b.initDOM=function(){a.BASE.initDOM.call(this),this.addEventListener({onDestroy:d}),this.__anim=new DlAnimation(25,40),this.__anim.addEventListener({onUpdate:f.$(this),onStart:e.$(this)})};function d(){this.__anim.destroy()}b._onMouseEnter=function(){a.BASE._onMouseEnter.apply(this,arguments);var b=this.__anim;b.ew=this.__maxWidth,b.eh=this.__maxHeight,b.start(30,50,DlAnimation.easing.elastic_b)},b._onMouseLeave=function(){a.BASE._onMouseLeave.apply(this,arguments);var b=this.__anim;b.ew=this.__minWidth,b.eh=this.__minHeight,b.start(50,50,DlAnimation.easing.accel_b)};function e(){this.__anim.sw=this.__currentWidth,this.__anim.sh=this.__currentHeight}function f(){var a=this.__anim,b=this.getImgElement(),c=a.getPos(),d,e=a.getPos(function(a){return 1-Math.cos(a*2.5*Math.PI)/Math.exp(5*a)});b.width=this.__currentWidth=c.mapInt(a.sw,a.ew),b.height=this.__currentHeight=e.mapInt(a.sh,a.eh),a=this.__align,d=this.__minWidth-this.__currentWidth,a.center&&(d/=2);if(a.left||a.center)b.style.marginRight=d+"px";if(a.right||a.center)b.style.marginLeft=d+"px";d=this.__minHeight-this.__currentHeight,a.middle&&(d/=2);if(a.top||a.middle)b.style.marginBottom=d+"px";if(a.bottom||a.middle)b.style.marginTop=d+"px"}}),DEFINE_CLASS("DlNotebook",DlContainer,function(a,b){var c=["onChange"];b._createElement=function(){a.BASE._createElement.call(this),this.getElement().innerHTML="<div class='TabContent-inner'></div>"},b.appendWidget=function(b,c){b.registerEvents(["onNotebookShow"]),a.BASE.appendWidget.call(this,b);var d=b.getElement(),e=this.getContentElement();c!=null?c=this.__widgetsPosition:this.__widgetsPosition=c,c==null&&(c=this.__widgetsPosition=DynarchDomUtils.getPadding(e).x/2),d.style.position="absolute",d.style.visibility="hidden",d.style.left=d.style.top=c+"px",e.appendChild(d),this._panes.push(b)},b.initDOM=function(){this._panes=[],this._currentPane=null,this.registerEvents(c),a.BASE.initDOM.call(this)},b.getPane=function(a){return this._panes[a]},b.getAllPanes=function(){return this._panes},b.getCurrentPane=function(){return this.getPane(this._currentPane)},b.getCurrentPaneIndex=function(){return this._currentPane},b.length=function(){return this._panes.length},b.showPane=function(a){var b=this._currentPane;b!=null&&(this.getPane(b).visibility(false),this.getPane(b).setPos({x:-3e4,y:-3e4})),this._currentPane=a;var c=this.getPane(a);c._dl_notebook_has_size||(c.setSize(this.getInnerSize()),c._dl_notebook_has_size=true),c.setStyle({left:"",top:""}),c.visibility(true),a!==b&&this.applyHooks("onChange",[a,b]),c.callHooks("onNotebookShow");return this},b.firstPane=function(){this.showPane(0)},b.lastPane=function(){this.showPane(this.length()-1)},b.nextPane=function(){var a=this._currentPane;a==null?a=0:++a,a>=this._panes.length&&(a=0);return this.showPane(a)},b.prevPane=function(){var a=this._currentPane;a==null?a=this._panes.length-1:--a,a<0&&(a=this._panes.length-1);return this.showPane(a)},b.isFirstPane=function(){return this._currentPane==0},b.isLastPane=function(){return this._currentPane==this._panes.length-1},b.getContentElement=function(){return this.getElement().firstChild},b.setSize=b.setOuterSize=function(b){a.BASE.setOuterSize.call(this,b);var c=this.getElement();b=DynarchDomUtils.getInnerSize(c),DynarchDomUtils.setOuterSize(this.getContentElement(),b.x,b.y),c.style.width=c.style.height="",b=DynarchDomUtils.getInnerSize(this.getContentElement());var d=this.getCurrentPane();this._panes.foreach(function(a){a._dl_notebook_has_size=false}),d.setSize(b),d._dl_notebook_has_size=true},b.setIdealSize=function(){var a={x:0,y:0};this._panes.r_foreach(function(b){var c=b.getOuterSize();c.x>a.x&&(a.x=c.x),c.y>a.y&&(a.y=c.y)}),this.setInnerSize(a)}}),DEFINE_CLASS("DlProgressBar",DlWidget,function(a,b){var c=DynarchDomUtils.createElement;a.DEFAULT_ARGS={__progress_minVal:["min",0],__progress_maxVal:["max",100],__progress_val:["val",0],__label:["label",null]},b._createElement=function(){a.BASE._createElement.call(this);var b=this.getElement();c("div",null,{className:"DlProgressBar-fill"},b),c("div",null,{className:"DlProgressBar-label",innerHTML:"&nbsp;"},b),this.setLabel(this.__label),this.setValue(this.__progress_val)},b._getLabelElement=function(){return this.getElement().lastChild},b._getFillElement=function(){return this.getElement().firstChild},b.getValue=function(){return this.__progress_val},b.getMaxVal=function(){return this.__progress_maxVal},b.getMinVal=function(){return this.__progress_minVal},b.setValue=function(a){(this.__progress_val=a)>this.__progress_maxVal&&(a=this.__progress_maxVal);var b=this.__progress_maxVal-this.__progress_minVal,c=a-this.__progress_minVal,d=100*c/b;!isNaN(d)&&d>=0&&(this._getFillElement().style.width=d+"%",this._updateLabel(d))},b.setLabel=function(a){this.__label=a,this._updateLabel()},b._updateLabel=function(a){var b=this.__label;a==null&&(a=0),b!=null&&(typeof b=="function"?b=b(this,a,this.__progress_val):b=b.replace(/%d/g,Math.round(a)).replace(/%f/g,a.toFixed(2)).replace(/%v/g,this.__progress_val),/\S/.test(b)||(b="&nbsp;"),this._getLabelElement().innerHTML=b)},b.reset=function(a,b,c,d){c==null&&(c=a),this.__progress_minVal=a,this.__progress_maxVal=b,arguments.length>3&&(this.__label=d),this.setValue(c)}}),DEFINE_CLASS("DlRadioButton",DlCheckbox,function(a,b){a.FIXARGS=function(a){a.alwaysCheck=true},a.DEFAULT_ARGS={_groupId:["group",0],_classes:["classes",{active:"DlRadioButton-active",hover:"DlRadioButton-hover",checked:"DlRadioButton-1",unchecked:"DlRadioButton-0",empty:"DlRadioButton-empty",disabled:"DlRadioButton-disabled"}]},b.FINISH_OBJECT_DEF=function(){a.BASE.FINISH_OBJECT_DEF.call(this),this._className.remove("DlCheckbox")}}),DEFINE_CLASS("DlRadioSelect",DlButtonMenu,function(a,b){a.DEFAULT_ARGS={_options:["options",[]],_value:["value",null],_connected:["connected",true]},a.DEFAULT_EVENTS=["onChange"],a.CONSTRUCT=function(){this._radioGroup=DlRadioGroup.get(),this._options.length&&this.setOptions(this._options),this.value(this._value,true),this.addEventListener("onDestroy",function(){this._radioGroup.reset()})},b.value=function(a,b,c){var d=this._value;if(b||typeof a!="undefined"&&a!==d)this._value=a,this._updateLabel(),c||this.applyHooks("onChange",[d,a]);return d},b.getValue=function(){return this.value()},b.setValue=b.value;function c(a){this.value(a.userData),DlPopup.clearAllPopups(),a._onMouseLeave()}b._updateLabel=function(){var a=null,b=this._options,c,d;for(c=b.length;--c>=0;){d=b[c];if(d==null)continue;this._value==d.value?(this.getButton().label(d.label),d.widget.checked(true,true)):d.widget.checked(false,true)}},b.setOptions=function(a){var b=this._radioGroup,d,e;b.reset(),b.addEventListener("onChange",c.$(this)),d=new DlVMenu({className:"DlSelect-menu"}),e={parent:d,group:b,noCapture:true},a.foreach(function(a){if(a==null)d.addSeparator();else{e.label=a.label,e.data=e.value=a.value,e.className=a.className;var b=a.widget=new DlRadioButton(e)}},this);var f=d.getElement();f.style.position="absolute",d.zIndex(-100),document.body.appendChild(f);var g=d.getOuterSize().x;document.body.removeChild(f),d.zIndex(""),f.style.position="",function(){this.getButton().setOuterSize({x:g-this.getArrow().getOuterSize().x+2})}.$(this).delayed(10),this.setMenu(d),this._options=a},b.addOption=function(a,b){b==null&&(b=this._options.length);var c=a.widget=new DlRadioButton({parent:this._menu,group:this._radioGroup,noCapture:true,label:a.label,data:a.value,value:a.value,className:a.className});this._options.splice(b,0,a);return c}}),DlRegexp={EMAIL:/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/,MIME_WEB_IMAGE:/^image\x2f.*(png|jpe?g|gif|tiff?)/i,UNICODE_LETTER:"\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u0523\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971\\u0972\\u097B-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D3D\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC\\u0EDD\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8B\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10D0-\\u10FA\\u10FC\\u1100-\\u1159\\u115F-\\u11A2\\u11A8-\\u11F9\\u1200-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u1676\\u1681-\\u169A\\u16A0-\\u16EA\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u1900-\\u191C\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19A9\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u2094\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2C6F\\u2C71-\\u2C7D\\u2C80-\\u2CE4\\u2D00-\\u2D25\\u2D30-\\u2D65\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31B7\\u31F0-\\u31FF\\u3400\\u4DB5\\u4E00\\u9FC3\\uA000-\\uA48C\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA65F\\uA662-\\uA66E\\uA67F-\\uA697\\uA717-\\uA71F\\uA722-\\uA788\\uA78B\\uA78C\\uA7FB-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA90A-\\uA925\\uA930-\\uA946\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAC00\\uD7A3\\uF900-\\uFA2D\\uFA30-\\uFA6A\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC"},DEFINE_SINGLETON("DlSystem",DlEventProxy,function(a,b){a.DEFAULT_EVENTS=["on-dialog-create","on-dialog-show","on-dialog-hide","on-dialog-minimize","on-dialog-restore","on-rpc-start","on-rpc-stop","on-rpc-timeout"]}),DEFINE_CLASS("DlRPC",DlEventProxy,function(a,b){a.CONSTRUCT=function(){this.method==null&&(this.method=this.data!=null?"POST":"GET"),this._timeoutID=0},a.DEFAULT_EVENTS=["onStart","onStop","onTimeout"],a.DEFAULT_ARGS={url:["url",null],args:["args",null],callback:["callback",null],method:["method",null],data:["data",null],timeout:["timeout",null]};function c(a){if(a.readyState==4){delete a.onreadystatechange,this._request=null,this._timeoutID&&(clearTimeout(this._timeoutID),this._timeoutID=null);var b;try{b={success:a.status==200,status:a.status,statusText:a.statusText,timeout:false,xml:a.responseXML,text:a.responseText}}catch(a){}DlSystem().applyHooks("on-rpc-stop",[this,b,a]),this.applyHooks("onStop",[this,b,a]),this.callback&&this.callback(b)}}function d(a){this._request=null,a.abort(),DlSystem().applyHooks("on-rpc-timeout",[this,a]),this.applyHooks("onTimeout",[this,a]),this.callback&&this.callback({success:false,timeout:true})}b.abort=function(){this._request.abort()},b.call=function(a){a!=null&&Object.merge(this,a);var b,d=false,e;if(window.XMLHttpRequest)b=new XMLHttpRequest;else if(window.ActiveXObject)b=new ActiveXObject("Microsoft.XMLHTTP");else throw"Browser does not support XMLHttpRequest";this._request=b,b.onreadystatechange=c.$(this,b);var f=this.args;if(f){d=[];for(e in f)d.push(escape(e)+"="+escape(f[e]));d.length==0?d=false:d=d.join("&")}var g=this.url;switch(this.method){case"POST":var h=this.data;d&&h&&(g+="?"+d),b.open("POST",g,true),h?(typeof h!="string"&&(this.data=h=DlJSON.encode(h),b.setRequestHeader("Content-Type","text/javascript; charset=UTF-8")),this._start(h)):(b.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),this._start(d));break;case"GET":d&&(g+="?"+d),b.open("GET",g,true),this._start(null)}},b._start=function(a){this.timeout?this._timeoutID=d.delayed(this.timeout,this,this._request):this._timeoutID=0,DlSystem().applyHooks("on-rpc-start",[this]),this.applyHooks("onStart",[this]),this._request.send(a)}}),DEFINE_CLASS("DlRteFrame",DlWidget,function(a,b,c){var d=c.createElement,e=c.addClass,f=c.delClass,g=c.condClass,h=c.ID,i=["mouseover","mouseout","mousemove","mousedown","mouseup","click","keydown","keyup","keypress","contextmenu"],j=is_gecko?"<br type='_moz' />":"",k="<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"><html class=\"DlRteFrame-HTML\"><head><title>DynarchLIB Rich Text Editor</title></head><body class=\"DlRteFrame-Body\"><p>"+j+"</p></body></html>";a.BEFORE_BASE=function(){this.__eventProxy=o.$(this),this.callUpdateHooks=this.callUpdateHooks.clearingTimeout(40,this)},a.CONSTRUCT=function(){this.__sections&&this.setSections(this.__sections)},a.DEFAULT_EVENTS=["onUpdate","onSectionChange"],a.DEFAULT_ARGS={__paragraphsMode:["useParagraphs",true],__sections:["sections",null],_focusable:["focusable",2],_tabChar:["tabChar"," "]},b.COMMANDS={backcolor:{id:is_ie?"backcolor":"hilitecolor"},forecolor:{id:"forecolor"},bold:{id:"bold",key:"CTRL 'B'"},italic:{id:"italic",key:"CTRL 'I'"},underline:{id:"underline",key:"CTRL 'U'"},strike:{id:"strikethrough",key:"CTRL '-'"},subscript:{id:"subscript"},superscript:{id:"superscript"},removeformat:{id:"removeformat",key:"ALT-CTRL '0'"},justifyleft:{id:"justifyleft",key:"ALT-CTRL 'l'"},justifyright:{id:"justifyright",key:"ALT-CTRL 'r'"},justifycenter:{id:"justifycenter",key:"ALT-CTRL 'e'"},justifyfull:{id:"justifyfull",key:"ALT-CTRL 'j'"},orderedlist:{id:"insertorderedlist",key:"ALT-CTRL 'o'"},unorderedlist:{id:"insertunorderedlist",key:"ALT-CTRL-SHIFT 'o'"},unorderedlist1:{id:"insertunorderedlist",key:"ALT-CTRL 'u'"},indent:{id:"indent",key:"CTRL '.'"},outdent:{id:"outdent",key:"CTRL ','"},undo:{id:"undo"},redo:{id:"redo"},"<hr>":{id:"inserthorizontalrule",key:"CTRL ' '"},"<h1>":{id:"formatblock",key:"CTRL '1'",arg:"h1"},"<h2>":{id:"formatblock",key:"CTRL '2'",arg:"h2"},"<h3>":{id:"formatblock",key:"CTRL '3'",arg:"h3"},"<h4>":{id:"formatblock",key:"CTRL '4'",arg:"h4"},"<h5>":{id:"formatblock",key:"CTRL '5'",arg:"h5"},"<h6>":{id:"formatblock",key:"CTRL '6'",arg:"h6"},"<p>":{id:"formatblock",key:"CTRL 'm'",arg:"p"},"<pre>":{id:"formatblock",key:"CTRL-ALT 'n'",arg:"pre"},"<address>":{id:"formatblock",arg:"pre"},"<blockquote>":{id:"formatblock",key:"CTRL 'q'",arg:"blockquote"},_nextSection:{id:"_nextSection",key:"CTRL ']'"},_prevSection:{id:"_prevSection",key:"CTRL '['"},showHtml:{id:"showHtml",key:"CTRL-ALT-SHIFT 'h'"}};var l="h1 h2 h3 h4 h5 h6 p pre address blockquote".hashWords();b.SEMANTIC_TAGS={bold:true,italic:true,strike:true,subscript:true,superscript:true,indent:true,underline:true,outdent:true,strikethrough:true,strike:true},b.callUpdateHooks=function(a,b){this.destroyed||this.applyHooks("onUpdate",[a,b])},b.execCommand=function(a,b){if(!this.readonly()){this.focus();var c,d=this.getIframeDoc();is_gecko&&d.execCommand("styleWithCSS",false,!(a in this.SEMANTIC_TAGS)),this.COMMANDS[a]&&(a=this.COMMANDS[a],typeof b=="undefined"&&(b=a.arg||""),a=a.id);if(a=="formatblock")if(is_ie){var e=this.getAncestorsHash();if(e.pre){if(b=="pre")return;var f=this.getSelection(),g=this.getRange(f),h=this.createRange();h.moveToElementText(e.pre),g.setEndPoint("EndToEnd",h),g.select();var i,j=String.buffer("<",b,">dummy</",b,">").get();if(g.compareEndPoints("StartToStart",h)==0)e.pre.insertAdjacentHTML("beforeBegin",j),i=e.pre.previousSibling;else{var k=g.htmlText,l=g.text;g.moveStart("character",-1),g.text.charAt(0)!=l.charAt(0)&&g.moveStart("character",1),e.pre.insertAdjacentHTML("afterEnd","<br />"),g.pasteHTML(""),e.pre.parentNode.removeChild(e.pre.nextSibling),e.pre.insertAdjacentHTML("afterEnd",j),i=e.pre.nextSibling;if(/\S/.test(l)){var m=e.pre.cloneNode(true);m.innerHTML=k,i.parentNode.insertBefore(m,i.nextSibling)}}g.moveToElementText(i),g.collapse(),g.select(),i.innerHTML="";return}b="<"+b+">"}switch(a){case"showHtml":try{alert(this.getHTML())}catch(a){alert("ERROR: "+a)}break;case"_nextSection":this.nextSection();break;case"_prevSection":this.prevSection();break;default:c=d.execCommand(a,false,b)}this.focus(),this.callUpdateHooks();return c}},b.queryCommandState=function(a){if(!this.readonly()){this.COMMANDS[a]&&(a=this.COMMANDS[a].id);return this.getIframeDoc().queryCommandState(a)}},b.queryCommandValue=function(a){if(!this.readonly()){this.COMMANDS[a]&&(a=this.COMMANDS[a].id);if(!is_gecko&&/^formatblock$/i.test(a))for(var b=this.getAllAncestors(),c=0;c<b.length;++c){var d=b[c].tagName.toLowerCase();if(d in l)return d}return this.getIframeDoc().queryCommandValue(a)}},b.getInnerHTML=function(){return this.getIframeBody().innerHTML},b.getHTML=function(a,b){if(!is_ie&&!b){this.collapse(true);var c=this.getIframeDoc().createElement("span");c.id="DYNARCHLIB_RTEFRAME_CARET",this.insertNode(c)}var d=DlHtmlUtils.getHTML(this.getIframeBody(),false,a);!is_ie&&!b&&this.deleteNode(c);return d},b.getInnerText=function(){return DlHtmlUtils.getInnerText(this.getIframeBody())},b.getText=function(){return DlHtmlUtils.getText(this.getIframeBody())},b.setSections=function(a){this.__sections=a;var b=this.__sectionsHash={};a.foreach(function(a,c){a.index=c,b[a.name]=a;if(a.current||c==0)this.__currentSection=c,this.setHTML(a.content)}.$(this))},b.setSectionContent=function(a,b){var c=this.getSection(a,true);c.content=b,c.index==this.__currentSection&&this.setHTML(b)},b.getSections=function(){var a=this.getHTML(true);Object.merge(this.getCurrentSection(),a);return this.__sectionsHash},b.getSection=function(a,b){var c=this.__sectionsHash[a];if(c.index==this.__currentSection&&!b){var d=this.getHTML(true);Object.merge(c,d)}return c},b.getCurrentSection=function(){return this.__sections[this.__currentSection]},b._setCurrentSection=function(a){var b=this.getCurrentSection();if(b!==a){var c=this.getHTML(true);Object.merge(b,c),this.__currentSection=a.index,this.setHTML(a.content),this.applyHooks("onSectionChange",[b,a])}},b.setCurrentSection=function(a){var b=this.__sectionsHash[a];this._setCurrentSection(b)},b.setCurrentSectionIndex=function(a){if(a!=this.__currentSection){var b=this.__sections[a];this._setCurrentSection(b)}},b.prevSection=function(){this.setCurrentSectionIndex(this.__sections.rotateIndex(this.__currentSection-1))},b.nextSection=function(){this.setCurrentSectionIndex(this.__sections.rotateIndex(this.__currentSection+1))},b._setListeners=function(){a.BASE._setListeners.call(this),this.addEventListener(is_ie?"onKeyDown":"onKeyPress",function(a){this._onKeypress(a)}),this.addEventListener({onDestroy:q})},b._createElement=function(){a.BASE._createElement.call(this);var b=d("iframe",{display:"block"},{frameBorder:0,marginHeight:0,marginWidth:0,src:is_ie?"javascript:'';":"about:blank"},this.getElement());this.__hasFrameEvents=false,this.updateKeymap()},b.updateKeymap=function(){var a=this.__rte_keymap=[];for(var b in this.COMMANDS){var c=this.COMMANDS[b];c.key&&a.push([DlKeyboard.parseKey(c.key),b])}},b.setOuterSize=b.setSize=function(a){var b=c.getBorder(this.getElement()),d=c.getBorder(this.getContentElement());this.setInnerSize({x:a.x-b.x-d.x,y:a.y-b.y-d.y})},b.getIframeElement=function(){return this.getElement().firstChild},b.getContentElement=b.getIframeElement,b.getIframeWin=function(){return this.getIframeElement().contentWindow},b.getIframeDoc=function(){return this.getIframeWin().document},b.getIframeBody=function(){return this.getIframeDoc().body},b.initDesignMode=function(a){var b=this.getIframeDoc();b.open(),b.write(k),b.close(),b.designMode="on",this.__hasFrameEvents||p.delayed(5,this,a)},b.readonly=function(a){var b=this.getIframeDoc();arguments.length>0&&(b.designMode=a?"off":"on",g(b.documentElement,a,"DlRteFrame-ReadOnly"));return b.designMode=="off"},b.setHTML=function(a){a instanceof Array&&(a=a.join("")),a=a.trim(),this.__hasFrameEvents?(is_ie&&(a=a.replace(/(<pre[^>]*>)((.|\n)+?)(<\x2fpre>)/gi,function(a,b,c,d,e){c=c.replace(/\x20/g," ").replace(/\t/g," ".repeat(4));return b+c+e})),this.getIframeBody().innerHTML=a,this._onSetHTML(),this.moveBOF(),this.callUpdateHooks()):this.__pendingHTML=a},b._onSetHTML=function(){for(var a=this.getIframeDoc().getElementsByTagName("pre"),b=a.length;--b>=0;){var c=a[b];c.innerHTML=c.innerHTML.replace(/\n/g,"<br>")}if(!is_ie){var d=this.getIframeDoc().getElementById("DYNARCHLIB_RTEFRAME_CARET");d&&function(a){try{this.selectNodeContents(a),this.collapse(true),this.deleteNode(a)}catch(a){}}.delayed(10,this,d)}},b.clear=function(){this.setHTML("")},b.focus=function(){this.getIframeWin().focus(),a.BASE.focus.call(this)},b.loadStyle=function(a){var b=this.getIframeDoc(),c=a.replace(/\x2f/g,"_");if(!b.getElementById(c)){var d=b.getElementsByTagName("head")[0],e=b.createElement("link");e.type="text/css",e.rel="stylesheet",e.href=a,e.id=c,d.appendChild(e),e.disabled=true,e.disabled=false}},b.createRange=function(){return is_ie?this.getIframeBody().createTextRange():this.getIframeDoc().createRange()},b.getSelection=function(){return is_ie?this.getIframeDoc().selection:this.getIframeWin().getSelection()},b.getRange=function(a){a==null&&(a=this.getSelection());return is_ie?a.createRange():a.getRangeAt(0)},b.getParentElement=function(){var a=this.getSelection(),b=this.getRange(a);if(is_ie)switch(a.type){case"Text":case"None":return b.parentElement();case"Control":return b.item(0);default:return null}else try{var c=b.commonAncestorContainer;!b.collapsed&&b.startContainer==b.endContainer&&b.startOffset-b.endOffset<=1&&b.startContainer.hasChildNodes()&&(c=b.startContainer.childNodes[b.startOffset]);while(c.nodeType==3)c=c.parentNode;return c}catch(a){return null}},b.getAllAncestors=function(){var a=this.getParentElement();a&&a.nodeType==1&&(a=this.getParentElement());var b=this.getIframeBody(),c=[];while(a&&a!==b&&a.nodeType==1)c.push(a),a=a.parentNode;c.push(b);return c},b.getAncestorsHash=function(){var a=this.getAllAncestors(),b,c,d,e={__all:a};a.foreach(function(a){d=a.tagName.toLowerCase(),e[d]||(e[d]=a)});return e},b.getSelectedText=function(){var a=this.getRange();return is_ie?a.text:a.toString()},b.selectRange=function(a){if(is_ie)a.select();else{var b=this.getSelection();b.removeAllRanges(),b.addRange(a)}},b.isCollapsed=function(){var a=this.getRange();return is_w3?a.collapsed:a.compareEndPoints("StartToEnd",a)==0},b.collapse=function(a){var b=this.getSelection(),c=this.getRange(b);is_w3&&b.removeAllRanges(),c.collapse(!!a),this.selectRange(c)},b.insertNode=function(a,b){var c=this.getSelection(),d=this.getRange(c);if(is_w3)d.deleteContents(),d.insertNode(a),b&&(c.removeAllRanges(),d.selectNode(a),c.addRange(d));else{var e=h("rteframe");d.pasteHTML(["<span id='",e,"'></span>"].join(""));var f=this.getIframeDoc().getElementById(e);f.parentNode.insertBefore(a,f),f.parentNode.removeChild(f),b&&a.nodeType!=3&&(d.moveToElementText(a),d.select())}return a},b.insertText=function(a,b){var c=this.getIframeDoc().createTextNode(a);return this.insertNode(c,b)},b.selectNodeContents=function(a){var b=this.createRange();is_w3?b.selectNodeContents(a):b.moveToElementText(a),this.selectRange(b)},b.selectNode=function(a){if(is_w3){var b=this.createRange();b.selectNode(a),this.selectRange(b)}else this.selectNodeContents(a)},b.createLink=function(a,b){var c,d,e,f;for(b&&this.insertText(b,true),c="javascript:"+h("link"),this.execCommand("createlink",c),d=this.getIframeDoc().getElementsByTagName("a"),f=d.length;--f>=0;)if(d[f].href==c){e=d[f];break}e.href=a;return e},b.createAnchor=function(a){var b=this.getSelectedText()?null:"Anchor",c=this.createLink("#",b);c.removeAttribute("href"),e(c,b?"DlAnchor-Empty":"DlAnchor"),c.setAttribute("name",a),b&&(c.innerHTML="");return c},b.getAnchors=function(){var a=this.getIframeDoc().getElementsByTagName("a"),b=a.length,c,d=[];while(--b>=0)c=a[b],c.name&&d.unshift(c);return d},b.unlink=function(){this.execCommand("unlink")},b.getSelectedImage=function(){var a=this.getParentElement();a&&!/^img$/i.test(a.tagName)&&(a=null);return a},b.insertImage=function(a){var b=this.getSelectedImage();if(!b){var c="javascript:"+h("img"),d,e;for(this.execCommand("insertimage",c),d=this.getIframeDoc().getElementsByTagName("img"),e=d.length;--e>=0;)if(d[e].src==c){b=d[e];break}}b.src=a.url,a.width&&(b.width=a.width),a.height&&(b.height=a.height),a.align&&(b.align=a.align),a.alt&&(b.alt=a.alt),a.marginLeft&&(b.style.marginLeft=a.marginLeft),a.marginTop&&(b.style.marginTop=a.marginTop),a.marginRight&&(b.style.marginRight=a.marginRight),a.marginBottom&&(b.style.marginBottom=a.marginBottom);return b},b.moveBOF=function(a){var b=this.getIframeBody(),c,d,e=a?b.lastChild:b.firstChild;e&&(is_w3?(d=this.getRange(c=this.getSelection()),c.removeAllRanges(),e.nodeType==1?d.selectNodeContents(e):d.selectNode(e),d.collapse(!a),c.addRange(d)):(d=b.createTextRange(),d.collapse(!a),d.select()))},b.moveEOF=function(a){return this.moveBOF(!a)},b.setParagraphsMode=function(a){this.__paragraphsMode=a},b.addBlockClass=function(a,b,d){var e=this.getAncestorsHash()[a];if(e){if(c.hasClass(e,b)){if(d){c.delClass(e,b);return false}}else c.addClass(e,b);return true}return null},b.canDeleteFullNode=function(a){return DlHtmlUtils.canDeleteFullNode(a.tagName)},b.canDeleteContent=function(a){return DlHtmlUtils.canDeleteContent(a.tagName)},b.canStripNode=function(a){return DlHtmlUtils.canStripNode(a.tagName)},b.deleteNodeContents=function(a){a.innerHTML=DlHtmlUtils.isBlockElement(a)?j:""},b.deleteNode=function(a){a.parentNode.removeChild(a)},b.stripNode=function(a){var b=a.ownerDocument.createDocumentFragment();while(a.firstChild)b.appendChild(a.firstChild);a.parentNode.insertBefore(b,a),a.parentNode.removeChild(a),this.callUpdateHooks()};function m(a){a.lastChild.nodeType==1&&a.lastChild.tagName.toLowerCase()=="br"&&a.removeChild(a.lastChild)}function n(){if(this.__paragraphsMode){var a=this.getAncestorsHash(),b=true,c=this.getIframeDoc(),d=this.getSelection(),e=this.getRange(d),f=a.li||a.dd,g=a.p;if(f){var h=this.createRange();h.selectNodeContents(f);var i,j=/\S/.test(h.toString());if(g&&j){d.removeAllRanges(),i=e.cloneRange(),i.setStartBefore(g.firstChild);if(!/\S/.test(i.toString())){var k=true,l=g.previousSibling;while(l){if(l.nodeType==1){k=false;break}l=l.previousSibling}if(k){var m=f.cloneNode(false);i.setStartBefore(f),i.insertNode(m),i.selectNodeContents(m),d.addRange(i),this.execCommand("<p>");return true}h.selectNodeContents(g);if(/\S/.test(h.toString())){var n=g.cloneNode(false);i.setStartBefore(g),i.insertNode(n),i.selectNodeContents(n),d.addRange(i),this.execCommand("<p>");return true}i=e.cloneRange(),i.setStartBefore(g),i.setEndAfter(f);var o=i.extractContents(),m=o.firstChild;i.insertNode(o),i.selectNodeContents(m.firstChild||m),i.collapse(true),d.addRange(i),this.execCommand("<p>");return true}i=e.cloneRange(),i.setEndAfter(g.lastChild);if(!/\S/.test(i.toString())){var n=g.cloneNode(false);i.setEndAfter(g),i.collapse(false),i.insertNode(n),i.selectNodeContents(n),d.addRange(i),this.execCommand("<p>");return true}i=e.cloneRange(),i.setEndAfter(g);var o=i.extractContents();i.collapse(false);var n=o.firstChild;i.insertNode(o),i.selectNodeContents(n),i.collapse(true),d.addRange(i);return true}if(!j){d.removeAllRanges();var p=f.parentNode;i=e.cloneRange(),i.selectNode(p),i.setStartAfter(f);var o=i.extractContents();p.removeChild(f);var n=c.createElement("p");o.insertBefore(n,o.firstChild),i.setEndAfter(p),i.collapse(false),i.insertNode(o),i.selectNodeContents(n),i.collapse(true),d.addRange(i),this.execCommand("<p>");return true}}else{var q=a.pre;if(q){d.removeAllRanges(),i=e.cloneRange();var r="",s=i.startContainer;s==q&&(s=s.childNodes[i.startOffset]);while(s&&s.parentNode!=q)s=s.parentNode;if(s){while(s&&!/^br$/i.test(s.tagName))s=s.previousSibling;s=s?s.nextSibling:q.firstChild;while(s&&s.nodeType!=3)s=s.firstChild;s&&/^(\s+)/.test(s.data)&&(r=RegExp.$1)}var o=c.createDocumentFragment(),t=c.createElement("br");o.appendChild(t),r&&(t=c.createTextNode(r),o.appendChild(t)),i.insertNode(o),i.setEndAfter(t),i.collapse(false),d.addRange(i);return true}}var u=a.h6||a.h5||a.h4||a.h3||a.h2||a.h1;if(u){var h=e.cloneRange();h.setEndAfter(u);if(!/\S/.test(h.toString())){d.removeAllRanges(),h.collapse(false);var n=this.getIframeDoc().createElement("p");h.insertNode(n),h.selectNodeContents(n),h.collapse(true),d.addRange(h),this.execCommand("<p>");return true}}}}b._onKeypress=function(a){var b=a.keyCode;if(is_gecko&&!a.shiftKey&&!a.ctrlKey&&!a.altKey&&b==DlKeyboard.ENTER)if(n.call(this))throw new DlExStopFrameEvent;this.__rte_keymap.r_foreach(function(b){if(DlKeyboard.checkKey(a,b[0])){this.execCommand(b[1]);throw new DlExStopFrameEvent}},this);if(b==DlKeyboard.TAB){var c=this.queryCommandValue("formatblock");if(c=="pre"){this.insertText(this._tabChar,true),this.collapse(false);throw new DlExStopFrameEvent}}else if(b==DlKeyboard.ENTER&&is_ie&&!a.shiftKey){var c=this.queryCommandValue("formatblock");if(c=="pre"){var d=this.getSelection(),e=this.getRange(d);e.pasteHTML("<br/><div class='DynarchLIB-REMOVE-ME'></div>");throw new DlExStopFrameEvent}}};function o(a){a||(a=this.getIframeWin().event);var b=new DlEvent(a);b.type=="oncontextmenu"&&c.stopEvent(a),b.origTarget=b.target;var d=b.origPos=b.pos,e=c.getPos(this.getIframeElement());b.pos={x:d.x+e.x,y:d.y+e.y},b.target=this.getElement();try{DlEvent._genericEventHandler(b,a)}catch(b){b instanceof DlExStopFrameEvent&&c.stopEvent(a)}/onMouseDown|onMouseUp|onKey/.test(b.dl_type)&&this.callUpdateHooks(b,a)}function p(a){var b=this.getIframeDoc();this.__hasFrameEvents=true,c.addEvents(b,i,this.__eventProxy),this.__pendingHTML&&(this.getIframeBody().innerHTML=this.__pendingHTML,this._onSetHTML(),this.moveBOF(),this.__pendingHTML=null),this.__rte_onFocus=r.$(this),this.__rte_onBlur=s.$(this),is_ie?(b=this.getIframeElement(),b.onfocus=this.__rte_onFocus):c.addEvent(b,"focus",this.__rte_onFocus),b.onblur=this.__rte_onBlur,a&&a.call(this)}function q(){var a=this.getIframeDoc();c.removeEvents(a,i,this.__eventProxy),is_ie?(a=this.getIframeElement(),delete a.onfocus,a.onfocus=null):c.removeEvent(a,"focus",this.__rte_onFocus),delete a.onblur,a.onblur=null}function r(){e(this.getIframeDoc().documentElement,"DlRteFrame-Focused"),a.BASE.focus.call(this)}function s(){f(this.getIframeDoc().documentElement,"DlRteFrame-Focused"),a.BASE.blur.call(this,true)}}),DEFINE_CLASS("DlSocket",DlEventProxy,function(a,b){function c(){return DlFlashUtils().getObject()}a.DEFAULT_EVENTS=["onConnect","onRelease","onData"],a.DEFAULT_ARGS={_host:["host",null],_port:["port",null],_json:["json",false]},a.FIXARGS=function(a){a.host||(a.host=document.domain)},a.CONSTRUCT=function(a){this.addEventListener("onDestroy",e),DlEvent.atUnload(this.destroy.$(this))};var d={};function e(){c().DlSocket_destroy(this.id),delete d[this.id]}b.send=function(a){c().DlSocket_send(this.id,a)},b.sendJSON=function(a){c().DlSocket_send(this.id,DlJSON.encode(a))},b.connect=function(){this.id=c().DlSocket_connect(this._host,this._port),d[this.id]=this},b.reconnect=function(){c().DlSocket_reconnect(this.id)},b.disconnect=function(){c().DlSocket_disconnect(this.id)},window.DlSocket_onConnect=function(a,b){d[a].applyHooks("onConnect",[b])},window.DlSocket_onData=function(a,b){b=DlFlashUtils.decodeString(b);var c=d[a];c._json&&(b=DlJSON.decode(b)),c.applyHooks("onData",[b])},window.DlSocket_onDisconnect=function(a,b){d[a].applyHooks("onRelease",[b])}}),DEFINE_CLASS("DlSound",DlEventProxy,function(a,b){var c={};function d(){return DlFlashUtils().getObject()}a.DEFAULT_EVENTS=["onLoad","onComplete"],a.DEFAULT_ARGS={_volume:["volume",null],_pan:["pan",null],_url:["url",null],_stream:["stream",false]},a.CONSTRUCT=function(a){this.addEventListener({onDestroy:e,onLoad:f}),this.id=d().DlSound_create(),this._volume!=null&&this.setVolume(this._volume),this._pan!=null&&this.setPan(this._pan),c[this.id]=this},b.load=function(a,b){a==null&&(a=this._url),b==null&&(b=this._stream),this.__fileLoaded=false,this.__loadCalled=true,d().DlSound_load(this.id,this._url=a,this._stream=b)},b.play=function(a,b){this.__fileLoaded?d().DlSound_play(this.id,a,b):this.__loadCalled||(this.__shouldPlay=[a,b],this.load())},b.stop=function(){d().DlSound_stop(this.id)},b.getBytesLoaded=function(){return d().DlSound_getBytesLoaded(this.id)},b.getBytesTotal=function(){return d().DlSound_getBytesTotal(this.id)},b.getDuration=function(){return d().DlSound_getDuration(this.id)},b.getPosition=function(){return d().DlSound_getPosition(this.id)},b.setPan=function(a){d().DlSound_setPan(this.id,this._pan=a)},b.setVolume=function(a){d().DlSound_setVolume(this.id,this._volume=a)},b.getPan=function(){return this._pan},b.getVolume=function(){return this._volume},b.getURL=function(){return this._url};function e(){delete c[this.id]}function f(a){(this.__fileLoaded=a)&&this.__shouldPlay&&(this.play.apply(this,this.__shouldPlay),this.__shouldPlay=null)}window.DlSound_onLoad=function(a,b){c[a].applyHooks("onLoad",[b])},window.DlSound_onSoundComplete=function(a){c[a].callHooks("onComplete")}}),DEFINE_CLASS("DlSpinner",DlEntry,function(a,b,c){var d=c.createElement;a.FIXARGS=function(a){a.validators=[new DlValidator(DlValidator.Number,a.minVal,a.maxVal,a.integer,a.decimals)],a.type="text"},a.CONSTRUCT=function(){this._timerPos=this._timerState=this._timerStep=this._timer=null},a.DEFAULT_EVENTS=["onSpin"],a.DEFAULT_ARGS={_step:["step",1],_size:["size",4],_value:["value",0],_minVal:["minVal",null],_maxVal:["maxVal",null],_decimals:["decimals",null],_integer:["integer",false]},b.intervals=[{pos:1,step:1,speed:125},{pos:10,step:1,speed:70},{pos:20,step:1,speed:35},{pos:50,step:1,speed:20},{pos:100,step:1,speed:10},{pos:200,step:2,speed:10}],b._createElement=function(){this._no_gecko_bug=true,a.BASE._createElement.call(this);var b=this.getElement(),c=b.rows[0].cells[0];c.rowSpan=2,c=c.parentNode;var e=d("tr",null,null,c.parentNode),f=d("td",null,{className:"DlSpinner-Button DlSpinner-Button-Up"},c),g=d("td",null,{className:"DlSpinner-Button DlSpinner-Button-Down"},e);this._buttonUp=new DlButton({parent:this,appendArgs:f}),this._buttonDown=new DlButton({parent:this,appendArgs:g}),this._btn=this._buttonUp};function e(){this.select()}function f(){this._clearTimer()}function g(a){this._spinnerUpdateVal(a.wheelDelta>0);throw new DlExStopEventBubbling}function h(a){switch(a.keyCode){case DlKeyboard.ARROW_DOWN:k.call(this,{_direction:false});throw new DlExStopEventBubbling;case DlKeyboard.ARROW_UP:k.call(this,{_direction:true});throw new DlExStopEventBubbling}}function i(a){this._clearTimer()}function j(){var a=this.getValue(),b=a==this._maxVal,c=a==this._minVal;this._buttonUp.disabled(b||!!this.readonly()),this._buttonDown.disabled(c||!!this.readonly()),(b||c)&&this._clearTimer()}b._setListeners=function(){a.BASE._setListeners.call(this),this.addEventListener({onFocus:e,onBlur:f,onMouseWheel:g,onKeyDown:h,onKeyUp:i,onChange:j})},b.initDOM=function(){a.BASE.initDOM.call(this),this._setupSpinnerBtn(this._buttonUp,true),this._setupSpinnerBtn(this._buttonDown,false)},b.readonly=function(b){b!=null&&(this._buttonUp.disabled(b),this._buttonDown.disabled(b));return a.BASE.readonly.apply(this,arguments)},b.getFormValue=function(){var a=this.getValue(),b=parseFloat(a);return isNaN(b)?a:b},b._spinnerUpdateVal=function(a){if(!this._readonly){var b=new Number(this.getValue()),c=this._timerStep||this._step;b=a?b+c:b-c,this._minVal!=null&&b<this._minVal&&(b=this._minVal),this._maxVal!=null&&b>this._maxVal&&(b=this._maxVal),this.setValue(b),this.applyHooks("onSpin",[b]),this.focus(),this.select();if(this._timer){var d=++this._timerPos;if(this._timerState.length&&d==this._timerState[0].pos){var e=this._timerState.shift();this._clearTimer(true),this._timerStep=e.step,this._startTimer(a,e.speed)}}}};function k(a){this._spinnerUpdateVal(a._direction),(this._timerState=Array.$(this.intervals)).r_foreach(function(a){a.step*=this.step},this),this._timerPos=0,this._startTimer(a._direction,250);throw new DlExStopEventBubbling}function l(a){this._clearTimer()}b._clearTimer=function(a){this._timer&&clearInterval(this._timer),a||(this._timerPos=this._timerStep=this._timerState=null),this._timer=null},b._startTimer=function(a,b){this._timer&&clearInterval(this._timer),this._timer=setInterval(this._spinnerUpdateVal.$(this,a),b)},b._setupSpinnerBtn=function(a,b){a._direction=b;var c=l.$(this,a);a.addEventListener({onMouseDown:k.$(this,a),onMouseUp:c})}}),DEFINE_CLASS("DlStyleSheet",DlEventProxy,function(a,b,c){a.CONSTRUCT=function(){this._init()};function d(){c.trash(this._el),this._el=this._s=null}b.insertRule=function(a,b,d){var e=this._s;d==null&&(d=this.getRules().length);if(typeof b=="object"){var f=[];for(var g in b)f.push(g+":"+b[g]);b=f.join(";")}else b instanceof Array&&(b=b.join(";"));if(is_ie){a=a.split(/\s*,\s*/);if(a.length==1)e.addRule(a,b,d);else{for(var h=c.ID(),i=this._ier[h]=[],g=0;g<a.length;++g)e.addRule(a[g],b,d+g),i.push(this.getRules()[d+g]);return h}}else e.insertRule(a+"{"+b+"}",d);return this.getRules()[d]},b.deleteRule=function(a){if(is_ie&&typeof a=="string")this._ier[a].foreach(this.deleteRule.$(this)),delete this._ier[a];else for(var b=this.getRules(),c=b.length;--c>=0;)if(b[c]===a){is_ie?this._s.removeRule(c):this._s.deleteRule(c);return c}},b.modifyRule=function(a,b){if(is_ie&&typeof a=="string")this._ier[a].foreach(function(a){this.modifyRule(a,b)},this);else for(var c in b)a.style[c]=b[c]},b.refresh=function(){var a=this.disabled();this.disabled(!a),this.disabled(a)},b.getRules=function(){return is_ie?this._s.rules:this._s.cssRules},b.disabled=function(a){var b=is_ie?this._s:this._el;a!=null&&(b.disabled=a);return!!b.disabled},b._init=function(){is_ie&&(this._ier={}),this._el=c.createElement("style",null,{type:"text/css"},document.getElementsByTagName("head")[0]),this._s=document.styleSheets[document.styleSheets.length-1],this.addEventListener("onDestroy",d)}}),DEFINE_CLASS("DlTabs",DlContainer,function(a,b,c){a.DEFAULT_EVENTS=["onChange"],a.DEFAULT_ARGS={_tabPos:["tabPos","top"]};function d(a,b,c){var d=b!=null?this._panes[b]:null;d&&d._tab.checked(true),a.applyHooks("onChange",[b,c])}function e(a){a.checked()&&this._tabContent.showPane(a.userData)}function f(a){this.checked(true);throw new DlExStopEventProcessing}b.addTab=function(a,b,c){this._tabContent.appendWidget(a,c),a._tab=new DlButton({label:b,parent:this._tabBar,group:this._tabGroup,type:DlButton.TYPE.TWOSTATE,data:this._tabContent.length()-1}),a._tab.addEventListener("onClick",f,true),a.addEventListener("onDestroy",a._tab.destroy.$(a._tab));return a},b.addTab2=function(a){var b=this.addTab(a.widget,a.title,a.pos);a.iconClass&&b._tab.setIconClass(a.iconClass);return b},b.getTabBar=function(){return this._tabBar},b.getNotebook=function(){return this._tabContent},b.getTabButton=function(a){return this.getNotebook().getPane(a)._tab},b.getTabContent=b.getNotebook,b.initDOM=function(){a.BASE.initDOM.call(this),this._tabGroup=DlRadioGroup.get(this.id),this._tabBar=new DlHbox({className:"TabBar"}),this._tabContent=new DlNotebook({className:"TabContent"});switch(this._tabPos){case"top":case"left":this.appendWidget(this._tabBar),this.appendWidget(this._tabContent);break;case"bottom":case"right":this.appendWidget(this._tabContent),this.appendWidget(this._tabBar)}this._tabContent.addEventListener("onChange",d.$(this._tabContent,this)),this._tabGroup.addEventListener("onChange",e.$(this)),this.addClass("DlTabs-"+this._tabPos)},b.setTabPos=function(a){var b=this._tabBar.getElement(),c=this._tabContent.getElement();b.parentNode&&b.parentNode.removeChild(b);var d=a=="top"||a=="left"?d=c:null;c.parentNode.insertBefore(b,d),this.addClass("DlTabs-"+a,"DlTabs-"+this._tabPos),this._tabPos=a},b.setTabAlign=function(a){return this._tabBar.setAlign(a)},b.setOuterSize=b.setSize=function(b){a.BASE.setSize.call(this,b),b=this.getInnerSize();var c=this._tabBar.getSize();switch(this._tabPos){case"top":case"bottom":b.y-=c.y;break;case"left":case"right":b.x-=c.x}this._tabContent.setSize(b)},b.showPane=function(a){return this._tabContent.showPane(a)},b.nextPane=function(){return this._tabContent.nextPane()},b.prevPane=function(){return this._tabContent.prevPane()},b.isFirstPane=function(){return this._tabContent.isFirstPane()},b.isLastPane=function(){return this._tabContent.isLastPane()},b.getCurrentPane=function(){return this._tabContent.getCurrentPane()},b.getCurrentPaneIndex=function(){return this._tabContent.getCurrentPaneIndex()},b._handle_focusKeys=function(a){if(a.shiftKey)a.keyCode==DlKeyboard.PAGE_UP?(this.prevPane(),this.getCurrentPane()._tab.focus(),DlException.stopEventBubbling()):a.keyCode==DlKeyboard.PAGE_DOWN&&(this.nextPane(),this.getCurrentPane()._tab.focus(),DlException.stopEventBubbling());else if(a.keyCode==DlKeyboard.TAB&&this._tabBar.focusInside()){var b=this.getCurrentPane().getFirstFocusWidget();b&&(b.focus(),DlException.stopEventBubbling())}}}),DlTextUtils=function(){var a,b=DynarchDomUtils,c=DlKeyboard,d=[/^(\s*[-*]+\s+)/,function(a){return[a," ".x(a[0].length),a[0].length]},/^(\s*)([0-9]+)(\.\s+)/,function(a){return[function(){var b=parseInt(a[2],10)+1;return a[1]+b+a[3]}," ".x(a[0].length),a[0].length]},/^(\s*)([a-z])(\)\s+)/i,function(a){return[function(){var b=String.fromCharCode(a[2].charCodeAt(0)+1);return a[1]+b+a[3]}," ".x(a[0].length),a[0].length]},/^\s*([>|]\s*)*/,function(a){return[a,a[0],a[0].length,/\n\s*([>|]\s*)*/g,"\n"]},/^\s+/,function(a){return[a,a[0],a[0].length]}],e=[c.ARROW_UP,c.ARROW_DOWN].toHash(true),f=String.fromCharCode(0);function g(d){d||(d=window.event);var f=b.getSelectionRange(this),g={x:this.scrollLeft,y:this.scrollTop};function h(){this.scrollLeft=g.x,this.scrollTop=g.y;return b.stopEvent(d)}if(d.altKey&&d.charCode==113){var i=a.fillText(this.value,72,f.start);this.value=i.text,b.setSelectionRange(this,i.pos,i.pos);return h.call(this)}if(d.ctrlKey&&d.keyCode in e){var j=d.keyCode==c.ARROW_UP,k=a.getParagraph(this.value,j?f.start:f.end),l;l=(j?k.start-1:k.end+1).limit(0,this.length),b.setSelectionRange(this,d.shiftKey?j?f.end:f.start:l,l);return b.stopEvent(d)}if(d.altKey&&d.keyCode==c.ENTER){var m=this.value,k=a.getParagraph(m,f.start),n=a.getFillPrefix(k.text),o=n[0];typeof o=="function"?o=o(n):o=o[0],this.value=m=m.substr(0,k.end)+"\n\n"+o+m.substr(k.end),b.setSelectionRange(this,k.end+2+o.length);return h.call(this)}}var h=/\n([>|\s]*\n)+/g;function i(a,b,c){var d,e=-1;b.lastIndex=0,b.global=true;var f=-1;while(d=b.exec(a)){if(b.lastIndex>=c)break;if((e=b.lastIndex)==f)throw"Repeated! "+e;f=e}return e}function j(a,b,c){b.lastIndex=c,b.global=true;var d=b.exec(a);return d?d.index:null}return a={getParagraph:function(a,b){var c=i(a,h,b+1),d=j(a,h,b);c==-1&&(c=0),d==null&&(d=a.length);return{start:c,end:d,text:a.substring(c,d)}},getFillPrefix:function(a){var b=0,c,e,f;a=a.replace(/\x00/g,"");while(b<d.length){c=d[b++],e=d[b++],c.lastIndex=0;if(f=c.exec(a))return e(f)}},fillParagraph:function(b,c,d){b=b.substr(0,d)+f+b.substr(d);var e=a.getFillPrefix(b),g=e[1],h=e[2],i=b.substr(0,h);b=b.substr(h),e[3]&&(b=b.replace(e[3],function(a){return e[4]||""})),b=b.replace(/\n/g," ").replace(/([^.?!])\s\s+/g,"$1 ");var j=new RegExp("(.{0,"+(c-g.length)+"})(\\s+|$)","g"),k,l=[],m=0,n;while(k=j.exec(b)){j.index!=m?n=b.substring(m,j.lastIndex):n=k[1],m=j.lastIndex;if(!/\S/.test(n))break;l.push(n.trim(true))}b=i+l.join("\n"+g),(d=b.indexOf(f))>=0&&(b=b.substr(0,d)+b.substr(d+1));return{text:b,pos:d}},fillText:function(b,c,d){var e=a.getParagraph(b,d),f=b.substr(0,e.start),g=b.substr(e.end),h=d-e.start,i=a.fillParagraph(e.text,c,h);return{text:f+i.text+g,pos:e.start+i.pos}},emacsipateTextarea:function(a){b.addEvent(a,is_ie?"keydown":"keypress",g)}}}(),DEFINE_CLASS("DlTooltip",DlPopup,function(a,b){a.FIXARGS=function(a){a.zIndex=2e3,a.focusable=false,this._mouseDiff={x:8,y:12}}}),DEFINE_CLASS("DlTree",DlContainer,function(a,b,c){a.CONSTRUCT=function(){this.__treeItems=[]},b.getItem=function(a){return this.__treeItems[a]},b.getItems=function(){return this.__treeItems},b.appendWidget=function(b,c){b instanceof DlTreeItem&&b.parent===this&&c>b.getIndex()&&--c,a.BASE.appendWidget.call(this,b,c)},b.removeWidget=function(b){a.BASE.removeWidget.call(this,b);if(b instanceof DlTreeItem){var c=this.__treeItems.find(b);this.__treeItems.splice(c,1);var d=this.__treeItems.length;d==0?this.parent instanceof DlTreeItem&&this.destroy():(c==0&&this.__treeItems[c]._setFirstLast(true,null),c==d&&this.__treeItems[c-1]._setFirstLast(null,true))}},b._appendWidgetElement=function(a,b){var c=this.__treeItems,d=this.getContentElement();if(b==null){if(a instanceof DlTreeItem){var e=c.peek();e?e._setFirstLast(null,false):a._setFirstLast(true,null),c.push(a),a._setFirstLast(null,true)}d.appendChild(a.getElement())}else{if(b==c.length)return this._appendWidgetElement(a,null);var f=c[b];f&&f._setFirstLast(false,b==c.length-1),a._setFirstLast(b==0,false),c.splice(b,0,a),d.insertBefore(a.getElement(),d.childNodes[b])}},b.addSeparator=function(a){c.createElement("div",null,{className:a||"DlTree-separator",innerHTML:"&nbsp;"},this.getElement())}}),DEFINE_CLASS("DlTreeItem",DlContainer,function(a,b,c){var d=c.createElement,e=c.addClass,f=c.delClass,g=c.condClass;a.CONSTRUCT=function(){this.setIconClass(this.__iconClass),this.__iconClass=null},a.DEFAULT_ARGS={__label:["label",null],__iconClass:["iconClass",null],__itemClass:["itemClassName",null]},a.DEFAULT_EVENTS=["onExpand","onCollapse","onLabelMouseDown"];var h="<div class='DlTreeItem-div'><table cellspacing='0' cellpadding='0' class='DlTreeItem-Table'><tbody><tr><td class='DlTreeItem-Expander'><div class='DlTree-IconWidth'>&nbsp;</div></td><td></td><td class='DlTreeItem-Label'></td></tr></tbody></table></div><div class='DlTreeItem-Subtree'></div>";function i(a){var b=a.target;try{while(b&&b.tagName.toLowerCase()!="td")b=b.parentNode}catch(a){b=null}return b}function j(a){var b=i(a);if(b&&/DlTreeItem-(Expander|Icon)/.test(b.className)){this.toggle();throw new DlExStopEventBubbling}}function k(){var a=this.getSubtreeDiv();window.DL_CLOSING||c.trash(a),c.removeEvent(this.getDivElement(),"mousedown",this.__onLabelMouseDown)}b._setFirstLast=function(a,b){a!=null&&(this.condClass(a,"DlTreeItem-First"),g(this.getTableElement(),a,"DlTreeItem-First")),b!=null&&(this.condClass(b,"DlTreeItem-Last"),g(this.getTableElement(),b,"DlTreeItem-Last"))},b._setListeners=function(){a.BASE._setListeners.call(this),this.addEventListener({onMouseDown:j,onDestroy:k})},b._createElement=function(){a.BASE._createElement.call(this),this.getElement().innerHTML=h,this.__label&&this.setContent(this.__label),this.setUnselectable(),this.__onLabelMouseDown=this._onLabelMouseDown.$(this),c.addEvent(this.getDivElement(),"mousedown",this.__onLabelMouseDown),this.__itemClass&&e(this.getDivElement(),this.__itemClass)},b._onLabelMouseDown=function(a){this.callHooks("onLabelMouseDown")},b.getDivElement=function(){return this.getElement().firstChild},b.getTableElement=function(){return this.getElement().firstChild.firstChild},b.getExpanderElement=function(){return this.getTableElement().rows[0].cells[0]},b.getIconElement=function(){return this.getTableElement().rows[0].cells[1]},b.getContentElement=function(){return this.getTableElement().rows[0].cells[2]},b.getSubtreeDiv=function(){return this.getElement().childNodes[1]},b.getSubtreeWidget=function(){return this._subtree},b.getIndex=function(){return this.parent.__treeItems.find(this)},b.getParentItem=function(){return this.parent.parent},b.addSubItem=function(a,b){var c=this.getSubtreeWidget();!c&&!this._tree&&(c=new DlTree({}),this.setTree(c),this.expand()),c.appendWidget(a,b)},b.setTree=function(a,b,c){this._tree&&typeof this._tree!="function"&&this.removeWidget(this._tree),(this._tree=a)!=null&&(typeof a!="function"?this.appendWidget(a,true):b==null&&(b=false),b?this.expand(b):(this.getSubtreeDiv().style.display="none",this.updateExpanderState())),c==null?(this._subtreeNeverExpires=true,this._subtreeExpires=null):(this._subtreeNeverExpires=false,this._subtreeExpires=(new Date).getTime()+c),this.condClass(a,"DlTreeItem-hasSubtree"),this.updateExpanderState()},b.isExpanded=function(){return this.getSubtreeDiv().style.display!=="none"},b.toggle=function(){this.expand(!this.isExpanded())},b.getPath=function(){var a=[],b=this.getParentItem();while(b instanceof DlTreeItem)a.push(b),b=b.getParentItem();return a},b.expandParents=function(a){var b=this.getParentItem();while(b instanceof DlTreeItem)b.expand(a),b=b.getParentItem()},b.expand=function(a,b){a==null&&(a=true);var c=this;function d(){c.getSubtreeDiv().style.display=a?"block":"none",c.updateExpanderState(),b||c.callHooks(a?"onExpand":"onCollapse")}function e(a,b){var e=c._tree;if(c._subtree)try{c._subtree.destroy()}catch(a){}c._tree=e,b==null?(c._subtreeNeverExpires=true,c._subtreeExpires=null):(c._subtreeNeverExpires=false,c._subtreeExpires=(new Date).getTime()+b),c.appendWidget(a,true),d()}if(a!==this.isExpanded())if(a&&typeof this._tree=="function")if(this._subtree)if(this._subtreeNeverExpires)d();else{var f=(new Date).getTime();this._subtreeExpires&&f<=this._subtreeExpires?d():this._tree(e,this)}else this._tree(e,this);else d()},b.setIconClass=function(a){var b=this.getIconElement();g(b,a!=null,"DlTreeItem-Icon"),this.iconClass&&(b.innerHTML="",f(b,this.iconClass)),a&&(b.innerHTML="<div class='DlTree-IconWidth'>&nbsp;</div>",e(b,a)),this.iconClass=a},b.updateExpanderState=function(){var a=this.getExpanderElement().firstChild;if(this._tree){var b=this.isExpanded();g(a,b,"DlTreeItem-Arrow-Expanded","DlTreeItem-Arrow-Collapsed"),g(this.getTableElement(),b,"DlTreeItem-Table-Expanded","DlTreeItem-Table-Collapsed")}else f(a,"DlTreeItem-Arrow-Expanded"),f(a,"DlTreeItem-Arrow-Collapsed"),this.delClass("DlTreeItem-hasSubtree")},b._appendWidgetElement=function(a,b){var c=a.getElement(),d;a instanceof DlTreeItem?this.addSubItem(a,b):(d=b||a instanceof DlTree?this.getSubtreeDiv():this.getContentElement(),b&&(this._subtree=a,e(c,"DlTree-withLines"),this.addClass("DlTreeItem-hasSubtree")),d.appendChild(c))},b._removeWidgetElement=function(b){a.BASE._removeWidgetElement.call(this,b),this.getSubtreeDiv().firstChild||(this._subtree=this._tree=null),this.updateExpanderState()},b._setFocusedStyle=function(a){g(this.getDivElement(),a,"DlTreeItem-div-focus")}});function DlType(a){a&&(this.name=a,DlType.TYPES[a]=this)}DlType.TYPES={},DlType.prototype={getDisplayValue:function(a){return a},compare:function(a,b){throw"No comparator for type: "+this.name}},DEFINE_CLASS("DlUploadEntry",DlWidget,function(a,b,c){a.DEFAULT_EVENTS=["onUploadStart","onUploadEnd","onChange"],a.DEFAULT_ARGS={_url:["url",null],_files:["files",["file"]],_params:["params",null]},a.BEFORE_BASE=function(){this._files instanceof Array||(this._files=[this._files])},b._createElement=function(){a.BASE._createElement.call(this);var b=c.createElement("iframe",null,{frameBorder:0,marginHeight:0,marginWidth:0,allowTransparency:true,src:is_ie?"javascript:'';":"about:blank"},this.getElement());this.refNode("_iframe",b)},b.init=function(){var a=String.buffer("<html style='margin: 0; padding: 0; overflow: hidden; height: 100%;'>","<head>","<link type='text/css' rel='stylesheet' href='",Dynarch.getFileURL("css/uploadentry.css"),"' />","</head>","<body>","<form action='",this._url,"' method='POST' encoding='multipart/form-data'>","<input type='hidden' name='_uploaderID' value='",this.getWidgetId(),"' />"),b=this._params;if(b){b instanceof Array&&(b=b.toHash(""));for(var c in b)a("<input type='hidden' name='",c,"' value='",b[c],"' />")}this._files.foreach(function(b){a("<label class='upload'><input type='file' name='",b,"' /></label>")}),a("</form></body></html>");var f=this._iframe.contentWindow,g=f.document;g.open(),g.write(a.get()),g.close(),this.refNode("_win",f),this.refNode("_doc",g),this.refNode("_form",g.getElementsByTagName("form")[0]),this._form.method="POST",this._form.encoding="multipart/form-data";var h=d.$(null,this);this._files.foreach(function(a){var b=this._form.elements.namedItem(a);b.onchange=h,b.parentNode.onmousemove=e},this)},b.setParam=function(a,b){if(typeof a=="string"){var c=this.getField(a);c||(c=this._doc.createElement("input"),c.type="hidden",c.name=a,this._form.appendChild(c)),c.value=b}else for(var d in a)this.setParam(d,a[d])},b.getParam=function(a){var b=this.getField(a);return b&&b.value},b.getField=function(a){return this._form.elements.namedItem(a)},b.submit=function(){this.callHooks("onUploadStart"),this._form.submit()},a.finishUpload=function(a){a instanceof DlUploadEntry||(a=DlWidget.getById(a));if(a)a.init(),a.applyHooks("onUploadEnd",Array.$(arguments,1));else throw"No such uploader: "+a};function d(a){a.applyHooks("onChange",[this,this.name,this.value])}function e(a){is_ie&&(a=this.ownerDocument.parentWindow.event),this.firstChild.style.right=30-a.clientX+"px"}}),DEFINE_EXCEPTION("DlValidatorException"),DlValidatorException.MISMATCH=1,DlValidatorException.TOO_SMALL=2,DlValidatorException.TOO_BIG=3,DEFINE_CLASS("DlValidator",null,function(a,b){a.CONSTRUCT=function(b){b&&(typeof b=="string"&&(b=a[b]),this._callback=b,this._args=arguments.length>1?Array.$(arguments,1):null)},b.ok=function(a){if(typeof this._lastData!="undefined"&&this._lastData===a)return true;try{var b=[a].concat(this._args||Array.$(arguments,1)),c=this._callback.apply(this,b);this._lastData=a,this._lastValue=c;return true}catch(a){if(a instanceof DlValidatorException){this._error=a;return false}throw a}},b.getLastVal=function(){return this._lastValue},b.getLastData=function(){return this._lastData},b.getError=function(){return this._error},a.Number=function(a,b,c,d,e){a=a.replace(/\s/g,"");var f=new Number(a);if(isNaN(f))throw new DlValidatorException("Value must be numeric",DlValidatorException.MISMATCH);if(d&&f!=Math.round(f))throw new DlValidatorException("Value must be an integer",DlValidatorException.MISMATCH);if(b!=null&&f<b)throw new DlValidatorException("Value must be bigger than "+b,DlValidatorException.TOO_SMALL);if(c!=null&&f>c)throw new DlValidatorException("Value must be smaller than "+c,DlValidatorException.TOO_BIG);e&&(f=f.toFixed(e));return f},a.Email=function(a){if(!/^([^@\n\r]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i.test(a))throw new DlValidatorException("That doesn't look like an email address",DlValidatorException.MISMATCH);return a},a.URL=function(a,b){b||(b={}),a=a.trim();if(!/^(https?|ftps?):\x2f\x2f/.test(a)){if(/^([a-z0-9_-]+\.)+[a-z]+$/i.test(a)){/^www\./.test(a)||(a="www."+a);return"http://"+a+"/"}throw new DlValidatorException("Value must be an absolute URL",DlValidatorException.MISMATCH)}return a};function c(a){a=a.toLowerCase();function b(b){return b.foreach(function(b,c){b.toLowerCase().indexOf(a)==0&&$RETURN(c)})}var c=b(DlTEXTS._date_shortMonthNames)||b(DlTEXTS._date_monthNames);c!=null&&c++;return c}a.Date=function(a,b,d){if(!/\S/.test(a))return"";b||(b="%Y-%m-%d"),a=a.replace(/^\s+/,"").replace(/\s+$/,"");var e=new Date,f=null,g=null,h=null,i=null,j=null,k=null,l=a.match(/([0-9]{1,2}):([0-9]{1,2})(:[0-9]{1,2})?\s*(am|pm)?/i);l&&(i=parseInt(l[1],10),j=parseInt(l[2],10),k=l[3]?parseInt(l[3].substr(1),10):0,a=a.substring(0,l.index)+a.substr(l.index+l[0].length),l[4]&&(l[4].toLowerCase()=="pm"&&i<12?i+=12:l[4].toLowerCase()=="am"&&i>=12&&(i-=12)));var m=a.split(/\W+/),n=[];m.foreach(function(a){/^[0-9]{4}$/.test(a)?(f=parseInt(a,10),!g&&!h&&d==null&&(d=true)):/^[0-9]{1,2}$/.test(a)?(a=parseInt(a,10),a>=60?f=a:a>=0&&a<=12?n.push(a):a>=1&&a<=31&&(h=a)):g=c(a)}),n.length>=2?d?(g||(g=n.shift()),h||(h=n.shift())):(h||(h=n.shift()),g||(g=n.shift())):n.length==1&&(h?g||(g=n.shift()):h=n.shift()),f||(f=n.length>0?n.shift():e.getFullYear()),f<30?f+=2e3:f<99&&(f+=1900),g||(g=e.getMonth()+1);if(f&&g&&h)this._date=new Date(f,g-1,h,i,j,k);else{this._date=null;throw new DlValidatorException("Can't figure out this date",DlValidatorException.MISMATCH)}return this._date.print(b)}});function DlConsole(){this._messages=[],DlConsole.INSTANCE=this}DlConsole.prototype={log:function(a){a=a.printf.apply(a,Array.$(arguments,1)),this._addMsg({str:a})},line:function(){this._addMsg({str:"&nbsp;",cls:"sep"})},CC:function(a,b){var c=this.win.document.createElement("div");c.className=b||"msg",c.innerHTML=a,this.win.document.body.appendChild(c),this.win.scrollTo(0,c.offsetTop+c.offsetHeight),this._last&&DynarchDomUtils.delClass(this._last,"current"),DynarchDomUtils.addClass(c,"current"),this._last=c},_addMsg:function(a){this._init(),this.win?this.CC(a.str,a.cls):this._messages.push(a)},_init:function(){this.win||window.open(Dynarch.getFileURL("html/dlconsole.html"),"DlConsole","height=400,width=600,menubar=0,toolbar=0,scrollbars=1")},_loaded:function(a){this._last=null,this.win=a,this.log("<b>DynarchLIB Console</b><br />Initialized at %s",new Date),this.line(),this._messages.foreach(this._addMsg,this)},protect:function(name){var func=eval(name),f=function(){try{for(var a=[],b=0;b<arguments.length;++b)a.push(arguments[b]);console.log(name+" ["+a.join(", ")+"]"),func.apply(this,arguments)}catch(a){alert("Exception in "+name+"\n"+a);throw a}};eval(name+" = f")}},window.dlconsole||(window.dlconsole=new DlConsole) \ No newline at end of file
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/js/thelib.js b/gstudio/static/gstudio/js/Gnowmacs/test/dl/js/thelib.js
new file mode 100644
index 0000000..0706154
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/js/thelib.js
@@ -0,0 +1,12 @@
+
+/*
+ * DynarchLIB version: 2.0
+ * ____ _____
+ * A lightweight JavaScript toolkit for professionals. \ /_ / /
+ * \ / / /
+ * Copyright (c) Dynarch.com 2005-2010. All rights reserved. \/ /_ /
+ * See http://www.dynarchlib.com/licensing for licensing details. \ / /
+ * / /
+ * this package built at 2010/11/06 15:11 GMT \/
+ */
+DlTEXTS={goToday:"Go Today",_date_monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],_date_shortMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],_date_dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],_date_shortDayNames:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],_date_firstDayOfWeek:1};try{document.execCommand("BackgroundImageCache",false,true)}catch(a){}var CE_CACHE={HTML_ESCAPE_DIV:document.createElement("div"),HTML_ESCAPE_TEXT:document.createTextNode(""),CONTAINER:document.createElement("div")};CE_CACHE.HTML_ESCAPE_DIV.appendChild(CE_CACHE.HTML_ESCAPE_TEXT),Array.$=function(a,b){b==null&&(b=0);var c,d,e;try{c=Array.prototype.slice.call(a,b)}catch(f){for(c=new Array(a.length-b),d=b,e=0;d<a.length;++d,++e)c[e]=a[d]}return c},Object.merge=function(a,b){a==null&&(a={});if(b)for(var c in b)a[c]=b[c];return a},Object.merge(Object,{mergeDefined:function(a,b){for(var c in b)typeof b[c]!="undefined"&&(a[c]=b[c]);return a},mergeUndefined:function(a,b){for(var c in b)c in a||(a[c]=b[c]);return a},remove:function(a,b){for(var c=b.length;--c>=0;)delete a[b[c]]},isEmpty:function(a){for(var b in a)return false;return true},makeCopy:function(a){var b,c={};for(b in a)c[b]=a[b];return c},makeDeepCopy:function(a){if(a instanceof Array){var b=[],c=a.length;while(--c>=0)b[c]=Object.makeDeepCopy(a[c]);return b}if(a===null)return null;if(a instanceof Date)return new Date(a);if(a instanceof Object){var c,d={};for(c in a)d[c]=Object.makeDeepCopy(a[c]);return d}return a},makeShortcuts:function(a,b){for(var c in b)a[c]=a[b[c]]},foreach:function(a,b,c){for(var d in a)try{b.call(c,a[d],d)}catch(a){if(a===$_BREAK)break;if(a===$_CONTINUE)continue;if(a instanceof $_RETURN)return a.args;throw a}},map:function(a,b,c){var d=[];for(var e in a)if(a.hasOwnProperty(e))try{d.push(b.call(c,a[e],e))}catch(a){if(a===$_BREAK)break;if(a===$_CONTINUE)continue;if(a instanceof $_RETURN)return a.args;throw a}return d},curry2:function(a){a instanceof Function||(a=this[a]);return a.$A(this,Array.$(arguments,1))},HOP:function(a,b){return Object.prototype.hasOwnProperty.call(a,b)}}),Object.merge(Function,{INHERITANCE:{},getInheritanceGraph:function(){return Function.INHERITANCE},noop:function(){},identity:function(a){return a},returnTrue:function(){return true},returnFalse:function(){return false},invoke:function(a){return a()}});var $__JSOOP=new Function.noop;Object.merge(Function.prototype,{$:Function.prototype.closure=function(a){var b=Array.$(arguments,1),c=this;return a==window.undefined?function(){return c.apply(this,b.concat(Array.$(arguments)))}:function(){return c.apply(a,b.concat(Array.$(arguments)))}},$0:function(a){var b=this,c=Array.$(arguments,1);return function(){return b.apply(a,c)}},inherits:function(a,b){var c=this.prototype=new a($__JSOOP);c.constructor=this,this.BASE=a.prototype,Function.INHERITANCE[this.name=this._objectType=c._objectType=b||Dynarch.getFunctionName(this)]=Dynarch.getFunctionName(a);return this.BASE},setDefaults:function(a,b,c){return Dynarch.setDefaults.call(a,this.DEFAULT_ARGS,b,c)},$$:function(a){return this.$.apply(this,a)},$A:function(a,b){return this.$.apply(this,[a].concat(b))},$C:function(){var a=Array.$(arguments),b=this;return function(){return b.apply(null,a.concat(Array.$(arguments)))}},inverse:function(){var a=this;return function(){return!a.apply(this,arguments)}},clearingTimeout:function(a,b){var c=null,d=this,e=Array.$(arguments,2),f=function(){c&&clearTimeout(c),c=setTimeout(d.$A(b==null?this:b,e.concat(Array.$(arguments))),a)};f.cancel=function(){clearTimeout(c)},f.doItNow=function(){clearTimeout(c),d.apply(b,e.concat(Array.$(arguments)))};return f},rarify:function(a,b){var c=this.$$(Array.$(arguments,2)),d=this.clearingTimeout.apply(this,Array.$(arguments,1)),e=a,f=null,g=function(){e=a};return function(){f&&clearTimeout(f),f=setTimeout(g,b);if(e-->0)return c.apply(this,arguments);return d.apply(this,arguments)}},delayed:function(a){var b=arguments.length>1?this.$$(Array.$(arguments,1)):this;return setTimeout(b,a)},setInterval:function(a){var b=arguments.length>1?this.$$(Array.$(arguments,1)):this;setTimeout(b,0);return setInterval(b,a)},inject:function(a){a==null&&(a=this.OBJECT_EXTENSIONS),Object.merge(this.prototype,a);return this},memoize:function(){var a=this,b=$__JSOOP;return function(){b===$__JSOOP&&(b=a.apply(this,arguments));return b}}}),Object.merge(Array,{hashKeys:function(a){var b=[],c=0,d;for(d in a)a.hasOwnProperty(d)&&(b[c++]=d);return b},hashValues:function(a){var b=[],c=0,d;for(d in a)a.hasOwnProperty(d)&&(b[c++]=a[d]);return b}});function $_YIELD(a){this.timeout=a||0}var $_BREAK={},$_CONTINUE={};function $_RETURN(a){this.args=a}function $YIELD(a){throw new $_YIELD(a)}function $BREAK(){throw $_BREAK}function $CONTINUE(){throw $_CONTINUE}function $RETURN(a){throw new $_RETURN(a)}Array.inject({map_hash:function(a,b,c){c||(c={}),this.foreach(a instanceof Function?function(d){c[d]=a.call(b,d)}:function(b){c[b]=a[b]});return c},accumulate:function(a,b){arguments.length<2&&(b=0);for(var c=0;c<this.length;++c)b=a(this[c],b,c);return b},foreach:function(a,b){b==null&&(b=this);var c=0,d=this.length;while(d-->0)try{a.call(b,this[c],c++)}catch(a){if(a===$_BREAK)break;if(a===$_CONTINUE)continue;if(a instanceof $_RETURN)return a.args;throw a}},r_foreach:function(a,b){b==null&&(b=this);for(var c=this.length;--c>=0;)try{a.call(b,this[c],c)}catch(a){if(a===$_BREAK)break;if(a===$_CONTINUE)continue;if(a instanceof $_RETURN)return a.args;throw a}},assign_each:function(a,b){return this.foreach(function(c,d){this[d]=a.call(b,d,c)})},r_assign_each:function(a,b){return this.r_foreach(function(c,d){this[d]=a.call(b,d,c)})},toHash:function(a,b){var c={};a instanceof Function?this.foreach(function(d,e){c[d]=a.call(b,d,e)}):this.foreach(function(b,d){c[b]=a!=null?a:d+1});return c},toHash2:function(){var a={},b=0;while(b<this.length)a[this[b++]]=this[b++];return a},toHash3:function(a,b){var c={};a instanceof Function?this.foreach(function(d,e){var f=a.call(b!=null?b:d,d,e);c[f[0]]=f[1]}):this.foreach(function(b){c[b[a]]=b});return c},map:function(a,b){var c=0,d=this.length,e=[],f,g;if(a instanceof Function){b==null&&(b=this);while(d-->0)try{e.push(a.call(b,this[c],c++))}catch(a){if(a===$_BREAK)break;if(a===$_CONTINUE)continue;if(a instanceof $_RETURN){e.push(a.args);break}throw a}}else{f=Array.$(arguments,1);while(d-->0)b=this[c],e[c++]=(g=b[a])instanceof Function?g.apply(b,f):g}return e},r_map:function(a,b){var c=this.length,d=[],e;if(a instanceof Function){b==null&&(b=this);while(--c>=0)try{d.push(a.call(b,this[c],c))}catch(a){if(a===$_BREAK)break;if(a===$_CONTINUE)continue;if(a instanceof $_RETURN){d.push(a.args);break}throw a}}else{var f=Array.$(arguments,1);while(--c>=0)b=this[c],d[c]=(e=b[a])instanceof Function?e.apply(b,f):e}return d.reverse()},keys_map:function(a){return this.map(function(b){return a[b]})},grep:function(a,b){var c=0,d=this.length,e=[],f,g,h;if(a instanceof RegExp)while(d-->0)f=this[c++],a.test(f)&&e.push(f);else if(a instanceof Function){b==null&&(b=this);while(d-->0)f=this[c],a.call(b,f,c++)&&e.push(f)}else{g=Array.$(arguments,1);while(d-->0)b=this[c++],(h=b[a])instanceof Function?h.apply(b,g)&&e.push(b):h&&e.push(b)}return e},grep_last:function(a,b){b==null&&(b=this.length-1);while(b>=0){var c=this[b--];if(a(c))return c}return null},grep_first:function(a,b){for(b=b||0;b<this.length;++b){var c=this[b];if(a(c))return c}return null},contains:function(a){for(var b=this.length;--b>=0;)if(this[b]===a)return true;return false},any:function(a,b){if(a instanceof Function){b==null&&(b=this);for(var c=this.length;--c>=0;)if(a.call(b,this[c],c))return true}else for(var d=Array.$(arguments,1),e,c=this.length;--c>=0;){b=this[c];if((e=b[a])instanceof Function){if(e.apply(b,d))return true}else if(e)return true}return false},find:function(a){for(var b=this.length;--b>=0;)if(this[b]===a)return b;return-1},remove:function(a){for(var b=this.length;--b>=0;)this[b]===a&&this.splice(b,1);return this},pushUnique:function(a){if(this.find(a)<0){this.push(a);return this.length}return null},peek:function(a){if(this.length>0)return this[this.length-1-(a!=null?Math.abs(a):0)]},min:function(a,b){if(this.length==0)return null;if(arguments.length>0){for(var c=a!=null?a.call(b,this[0],0):this[0],d=1;d<this.length;++d)c=Math.min(c,a!=null?a.call(b,this[d],d):this[d]);return c}return Math.min.apply(Math,this)},minElement:function(a,b,c){if(this.length==0)return null;var d=0,e=this[0],f=a.call(b,e),g=0,h;while(++d<this.length)(h=a.call(b,this[d]))<f&&(f=h,g=d,e=this[d]);c&&this.splice(g,1);return e},max:function(a,b){if(this.length==0)return null;if(arguments.length>0){for(var c=a!=null?a.call(b,this[0],0):this[0],d=1;d<this.length;++d)c=Math.max(c,a!=null?a.call(b,this[d],d):this[d]);return c}return Math.max.apply(Math,this)},maxElement:function(a,b,c){if(this.length==0)return null;var d=0,e=this[0],f=a.call(b,e),g=0,h;while(++d<this.length)(h=a.call(b,this[d]))>f&&(f=h,g=d,e=this[d]);c&&this.splice(g,1);return e},rotateIndex:function(a){return Math.rotateLimit(a,0,this.length-1)},limitIndex:function(a){return Math.limit(a,0,this.length-1)},nullLimitIndex:function(a){return Math.nullLimit(a,0,this.length-1)},bytesToString:function(){var a="",b=0,c;while(b<this.length)c=this[b++],c&240^240?c&224^224?c&192^192||(c=(c&31)<<6|this[b++]&63):c=(c&15)<<12|(this[b++]&63)<<6|this[b++]&63:c=(c&3)<<18|(this[b++]&63)<<12|(this[b++]&63)<<6|this[b++]&63,a+=String.fromCharCode(c);return a},repeat:function(a){if(a==0)return[];if(a==1)return this;var b=this.repeat(a>>1);b=b.concat(b),a&1&&(b=b.concat(this));return b},common_prefix:function(){switch(this.length){case 0:return"";case 1:return this[0];case 2:var a=this[0],b=this[1],c=Math.min(a.length,b.length),d=0;while(d<c&&a.charAt(d)===b.charAt(d))++d;return a.substring(0,d);default:return[this[0],this.slice(1).common_prefix()].common_prefix()}},append:function(a){this.push.apply(this,a)},prepend:function(a){this.unshift.apply(this,a)},toXML:function(){var a=this[0];if(a=="~literal")return this.slice(1).flatJoin();var b="<"+a,c=1,d=this[1];typeof d=="object"&&(Object.foreach(d,function(a,c){c.charAt(0)=="$"&&(c=c.substr(1)),b+=" "+c.htmlEscape()+"=\"",typeof a=="object"?b+=Object.map(a,function(a,b){b=b.replace(/([a-z]?)([A-Z])/g,function(a,b,c){return b+"-"+c.toLowerCase()});return b.htmlEscape()+": "+a.htmlEscape()}).join("; "):b+=a.htmlEscape(),b+="\""}),++c),b+=">";while(c<this.length)(d=this[c++])instanceof Array?b+=d.toXML():b+=String(d).htmlEscape();return b+"</"+a+">"}}),Number.inject({map:function(a,b){return a+(b-a)*this},reduce:function(a,b){return(this-a)/(b-a)},mapInt:function(a,b){return Math.round(this.map(a,b))},reduceInt:function(a,b){return Math.round((this-a)/(b-a))},bits1Array:function(){var a=this,b=[],c=1,d=0;while(a>0)a&1&&(b[d++]=c),c=c<<1,a=a>>1;return b},times:function(a,b){var c=this,d=0;while(--c>=0)a.call(b,d++,c)},hex:function(a){var b=this.toString(16).toUpperCase();if(a)while(b.length<a)b="0"+b;return b},zeroPad:function(a,b){var c=""+Math.round(this);b==null&&(b="0");while(c.length<a)c=b+c;return c},formatTime:function(){var a=this,b,c;c=a/60,a%=60,b=c/60,c%=60;return[b,c,a].map("zeroPad",2).join(":")},toDate:function(a,b,c,d){return Date.intToDate(this,a,b,c,d)},limit:function(a,b){return Math.limit(this,a,b)},rotateLimit:function(a,b){return Math.rotateLimit(this,a,b)},nullLimit:function(a,b){return Math.nullLimit(this,a,b)},i18n:function(a){var b=this;arguments.length>1?a=Array.$(arguments):a=a.trim().split(/\s*\|\s*/),a=b<a.length?a[b]:a[a.length-1];return a.replace(/##?/g,function(a){return a.length==2?"#":b})}}),Object.merge(Math,{nullLimit:function(a,b,c){a<b&&(a=null),a>c&&(a=null);return a},limit:function(a,b,c){a<b&&(a=b),a>c&&(a=c);return a+0},rotateLimit:function(a,b,c){c++,a=a%(c-b),a<0?a=c+a:a<b&&(a=b-a);return a+0}}),Object.merge(Date,{_MD:[31,28,31,30,31,30,31,31,30,31,30,31],SECOND:1e3,MINUTE:6e4,HOUR:36e5,DAY:864e5,WEEK:6048e5,_MN:DlTEXTS._date_monthNames,_SMN:DlTEXTS._date_shortMonthNames,_DN:DlTEXTS._date_dayNames,_SDN:DlTEXTS._date_shortDayNames,_FDOW:DlTEXTS._date_firstDayOfWeek,isWeekend:function(a){return a==0||a==6},parseMySQL:function(a,b){var c=a.split(/\s+/),d=c[0].split(/-/),e=c[1].split(/:/),f;f=new Date(d[0],d[1]-1,d[2],e[0]||null,e[1]||null,e[2]||null),b&&(f.setUTCMilliseconds(0),f.setUTCSeconds(e[2]||0),f.setUTCMinutes(e[1]||0),f.setUTCHours(e[0]||0),f.setUTCDate(1),f.setUTCMonth(d[1]-1),f.setUTCDate(d[2]),f.setUTCFullYear(d[0]));return f},dateToInt:function(a){if(a instanceof Date)return 1e4*a.getFullYear()+100*(a.getMonth()+1)+a.getDate();if(typeof a=="string")return parseInt(a,10);return a},intToDate:function(a,b,c,d,e){if(!(a instanceof Date)){a=parseInt(a,10);var f=Math.floor(a/1e4);a=a%1e4;var g=Math.floor(a/100);a=a%100,a=new Date(f,g-1,a,b||12,c||0,d||0,e||0)}return a},getMonthName:function(a,b){var c=b?Date._SMN:Date._MN;return c[a%12]},getFirstDayOfWeek:function(){return Date._FDOW},getDayName:function(a,b){var c=b?Date._SDN:Date._DN;return c[a%7]}}),Date.now||(Date.now=function(){return(new Date).getTime()}),Date.inject({toInt:function(){return Date.dateToInt(this)},getMonthDays:function(a){var b=this.getFullYear();a==null&&(a=this.getMonth());return 0==b%4&&(0!=b%100||0==b%400)&&a==1?29:Date._MD[a]},getDayOfYear:function(){var a=new Date(this.getFullYear(),this.getMonth(),this.getDate(),0,0,0),b=new Date(this.getFullYear(),0,0,0,0,0),c=a-b;return Math.floor(c/Date.DAY)},getWeekNumber:function(){var a=new Date(this.getFullYear(),this.getMonth(),this.getDate(),0,0,0),b=a.getDay();a.setDate(a.getDate()-(b+6)%7+3);var c=a.valueOf();a.setMonth(0),a.setDate(4);return Math.round((c-a.valueOf())/6048e5)+1},dateEqualsTo:function(a,b){return this.getFullYear()==a.getFullYear()&&this.getMonth()==a.getMonth()&&(b||this.getDate()==a.getDate())},print:function(a){var b=this.getMonth(),c=this.getDate(),d=this.getFullYear(),e=this.getWeekNumber(),f=this.getDay(),g={},h=this.getHours(),i=h>=12,j=i?h-12:h,k=this.getDayOfYear();j==0&&(j=12);var l=this.getMinutes(),m=this.getSeconds();g["%a"]=Date.getDayName(f,true),g["%A"]=Date.getDayName(f),g["%b"]=Date.getMonthName(b,true),g["%B"]=Date.getMonthName(b),g["%C"]=1+Math.floor(d/100),g["%d"]=c<10?"0"+c:c,g["%e"]=c,g["%H"]=h<10?"0"+h:h,g["%I"]=j<10?"0"+j:j,g["%j"]=k<100?k<10?"00"+k:"0"+k:k,g["%k"]=h,g["%l"]=j,g["%m"]=b<9?"0"+(1+b):1+b,g["%M"]=l<10?"0"+l:l,g["%n"]="\n",g["%p"]=i?"PM":"AM",g["%P"]=i?"pm":"am",g["%s"]=Math.floor(this.getTime()/1e3),g["%S"]=m<10?"0"+m:m,g["%t"]="\t",g["%U"]=g["%W"]=g["%V"]=e<10?"0"+e:e,g["%u"]=f+1,g["%w"]=f,g["%y"]=(""+d).substr(2,2),g["%Y"]=d,g["%%"]="%";var n=/%./g;return a.replace(n,function(a){return g[a]||a})}}),String.inject({breakable:function(a){a||(a=/([_.-])/g);return this.replace(a,"$1<span class='BreakPoint'> </span>")},printf:function(){var a=Array.$(arguments),b=0;return this.replace(/%[sdfo%]/g,function(c){c=c.charAt(1);var d=a[b++];switch(c){case"s":return d.toString();case"d":return parseInt(d);case"f":return parseFloat(d).toFixed(3);case"o":return d;case"%":return"%"}return"undefined"})},fixedWidth:function(a){return String.buffer("<div style='width:",a,"'>",this,"</div>").get()},noWrap:function(){return this.replace(/\x20/g,"&nbsp;")},lastIndexOfRegexp:function(a,b){var c,d=0;a.lastIndex=0,a.global=true;while(c=a.exec(this)){if(a.lastIndex>=b)break;d=a.lastIndex}return d},hashWords:function(a){return this.trim().split(/\s+/).toHash(arguments.length>0?a:true)},arrayWords:function(){return this.trim().split(/\s+/)},trim:function(a,b){var c=a?this:this.replace(/^\s+/,"");b||(c=c.replace(/\s+$/,""));return c},htmlEscapeFull:function(){return this.replace(/&/g,"&amp;").replace(/\x22/g,"&quot;").replace(/\x27/g,"&#x27;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\u00A0/g,"&#xa0;")},decodeJSON:function(a){return DlJSON.decode(this,a)},makeLabel:function(){return this.replace(/\s+/g,"&nbsp;")},capitalizeString:function(){return this.charAt(0).toUpperCase()+this.substr(1)},htmlEmbed:function(a,b){var c=["<",a];b!=null&&c.push(" class='",b,"'"),c.push(">",this,"</",a,">");return c.join("")},repeat:function(a){if(a==0)return"";if(a==1)return""+this;var b=this.repeat(a>>1);b+=b,a&1&&(b+=this);return b},hexToBytes:function(a){var b=[],c=0,d=this;a&&(d=d.replace(/[^0-9a-f]/ig,"")),d.length&1&&(d="0"+d);while(c<d.length)b.push(parseInt(d.substr(c,2),16)),c++,c++;return b},toBytes:function(){var a=this.length,b=0,c=0,d,e=[];while(--a>=0)d=this.charCodeAt(c++),d<128?e[b++]=d:d<2048?(e[b++]=192|d>>>6&31,e[b++]=128|d&63):d<65536?(e[b++]=224|d>>>12&15,e[b++]=128|d>>>6&63,e[b++]=128|d&63):d<1114112&&(e[b++]=240|d>>>18&3,e[b++]=128|d>>>12&63,e[b++]=128|d>>>6&63,e[b++]=128|d&63);return e}}),function(){var a=navigator.userAgent;is_opera=/opera/i.test(a),is_ie5=(is_ie=/msie/i.test(a)&&!is_opera&&!/mac_powerpc/i.test(a))&&/msie 5\.[^5]/i.test(a),is_ie6=is_ie&&/msie 6/i.test(a),is_ie7=is_ie&&/msie 7/i.test(a),is_ie8=is_ie&&/msie 8/i.test(a),ie_box_model=is_ie&&document.compatMode&&document.compatMode=="BackCompat",is_mac_ie=/msie.*mac/i.test(a),is_khtml=/Konqueror|Safari|KHTML/i.test(a),is_safari3=(is_safari=/Safari/i.test(a))&&/Version\/3/i.test(a),is_konqueror=is_khtml&&!is_safari3,is_gecko=/gecko/i.test(a)&&!is_khtml&&!is_opera&&!is_ie,is_chrome=/Chrome/i.test(a),is_w3=!is_ie,is_macintosh=/Macintosh/i.test(a),is_gecko&&/rv:\s*([0-9.]+)/.test(a)&&(gecko_version=parseFloat(RegExp.$1));var b=Array.prototype,c=Date.prototype,d=String.prototype,e=Number.prototype;function f(a,b){return b?a instanceof Function?function(b,c){return a(c,b)}:function(a,b){return b<a?-1:b>a?1:0}:a instanceof Function?a:function(a,b){return a<b?-1:a>b?1:0}}b.mergeSort=function(a,b){if(this.length<2)return Array.$(this);var c=f(a,b);function d(a,b){var d=[],e=0,f=0,g=0;while(e<a.length&&f<b.length)c(a[e],b[f])<=0?d[g++]=a[e++]:d[g++]=b[f++];e<a.length&&d.push.apply(d,a.slice(e)),f<b.length&&d.push.apply(d,b.slice(f));return d}function e(a){if(a.length<=1)return a;var b=Math.floor(a.length/2),c=a.slice(0,b),f=a.slice(b);c=e(c),f=e(f);return d(c,f)}return e(this)},b.qsort=function(a,b){if(!(this.length<2)){var c=f(a,b),d=this,e,g=false;function h(a,b){var f=a,i=b,j=false;if(f<i){do c(d[f],d[i])>0&&(e=d[f],d[f]=d[i],d[i]=e,j=!j,g=true),j?--i:++f;while(f<i);h(a,f-1),h(f+1,b)}}h(0,this.length-1);return g}},b.x=b.repeat,b.flatJoin=function(){return h(this)},b.flatten=function(){var a=[];g.call(a,this);return a};function g(a){a instanceof Array?a.foreach(g,this):a instanceof Function?(a=a())!=null&&a!=false&&g.call(this,a):this.push(a)}function h(a){if(a instanceof Array)return a.accumulate(function(a,b){return b+h(a)},"");if(a instanceof Function)return h(a());if(a===false||a==null)return"";return String(a)}var i=e.$1K=1024,j=e.$1M=i*1024,k=e.$1G=j*1024,l=e.$1T=k*1024;e.formatBytes=function(a){var b=this,c,d;b<i?c="B":b<j?(b/=i,c="K"):b<k?(b/=j,c="M"):b<l&&(b/=k,c="G"),d=Math.round(b);return a&&b!=d?b.toFixed(a)+c:d+c},d.qw=d.arrayWords,d.bold=d.htmlEmbed.$(window.undefined,"b"),d.x=d.repeat}(),Object.merge(String,{firstNonEmpty:function(){for(var a=0;a<arguments.length;++a){var b=arguments[a];if(/\S/.test(b))return b}},template:function(){var format=String.buffer.apply(this,arguments).get();return function(props){return format.replace(/(.?)\$(\{.*?\}|[a-zA-Z0-9_]+)/g,function(s,p1,p2){if(p1.charAt(0)=="\\")return s.substr(1);p2.charAt(0)=="{"&&(p2=p2.substr(1,p2.length-2)),eval("p2 = props."+p2);return p1+p2})}},buffer:is_ie||is_khtml?function(){var a=[],b=0,c=function(){for(var d=0;d<arguments.length;++d)a[b++]=arguments[d];return c};c.get=function(){a=[a.join("")],b=1;return a[0]},arguments.length>0&&c.apply(this,arguments);return c}:function(){var a="",b=function(){a=a.concat.apply(a,arguments);return b};arguments.length>0&&b.apply(this,arguments),b.get=function(){return a};return b}}),String.prototype.htmlEscape=is_gecko?function(){return this.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\u00A0/g,"&#xa0;")}:function(){CE_CACHE.HTML_ESCAPE_TEXT.data=this;return CE_CACHE.HTML_ESCAPE_DIV.innerHTML},window.Dynarch={dblClickTimeout:400,setDefaults:function(a,b,c){b||(b={});var d,e,f;for(d in a)if(c||!(d in this))(f=a[d])instanceof Array?f[0]!=null?(e=f[0])in b?e=b[e]:e=f[1]:e=f[1]:e=f,this[d]=e},__IDS:{},ID:function(a){var b=Dynarch.__IDS;a==null&&(a="generic"),a in b||(b[a]=0);return"dynarch-"+a+"-"+ ++b[a]},getFunctionName:function(a){if(a.name!=null)return a.name;if(/function\s+(\$?[a-z0-9_]+)\(/i.test(a.toString()))return RegExp.$1;return"UNKNOWN_FUNCTION"},EXPORT:function(a,b){var c=String.buffer("var D=window.",a,"=",a,",P=",a,".prototype;");b&&c(DynarchDomUtils.importCommonVars());return c.get()},getBaseURL:function(){var a=window.Dynarch_Base_Url;if(!a){var b=document.getElementsByTagName("script"),c=0,d;while(d=b[c++])if(d.className=="DynarchLIB"){a=d.src;if(/^(.*)\x2fjs\x2f/.test(a)){Dynarch_Base_Url=a=RegExp.$1;break}}}return a},getFileURL:function(a){return Dynarch.getBaseURL()+"/"+a},firebugRunning:function(){return window.console&&window.console.firebug},evalClean:function(code){return Dynarch.firebugRunning()?(new Function("return ("+code+");"))():eval("("+code+")")}},window.DynarchDomUtils={ID:Dynarch.ID,related:function(a,b){var c,d;is_ie?(d=b.type)=="mouseover"?c=b.fromElement:d=="mouseout"&&(c=b.toElement):c=b.relatedTarget;if(is_gecko&&c)try{c.parentNode}catch(a){try{c=b.parentNode}catch(a){c=b.target}}try{for(;c;c=c.parentNode)if(c===a)return true}catch(a){return true}return false},getScrollbarSize:function(a){return{x:a.offsetWidth-a.clientWidth,y:a.offsetHeight-a.clientHeight}},addEvent:function(a,b,c){if(typeof b=="string")a.addEventListener?a.addEventListener(b,c,false):a.attachEvent?a.attachEvent("on"+b,c):a["on"+b]=c;else if(b instanceof Array)DynarchDomUtils.addEvents(a,b,c);else for(var d in b)DynarchDomUtils.addEvent(a,d,b[d])},addEvents:function(a,b,c){for(var d=b.length;--d>=0;)DynarchDomUtils.addEvent(a,b[d],c)},removeEvent:function(a,b,c){if(typeof b=="string")a.removeEventListener?a.removeEventListener(b,c,false):a.detachEvent?a.detachEvent("on"+b,c):a["on"+b]="";else if(b instanceof Array)DynarchDomUtils.removeEvents(a,b,c);else for(var d in b)DynarchDomUtils.removeEvent(a,d,b[d])},removeEvents:function(a,b,c){for(var d=b.length;--d>=0;)DynarchDomUtils.removeEvent(a,b[d],c)},condEvent:function(a){a=a?DynarchDomUtils.addEvent:DynarchDomUtils.removeEvent;return a.apply(DynarchDomUtils,Array.$(arguments,1))},condEvents:function(a){a=a?DynarchDomUtils.addEvents:DynarchDomUtils.removeEvents;return a.apply(DynarchDomUtils,Array.$(arguments,1))},stopEvent:function(a){is_ie?(a.cancelBubble=true,a.returnValue=false):(a.preventDefault(),a.stopPropagation());return false},addLoadHandler:function(a,b){is_ie?a.onreadystatechange=function(){if(a.readyState==4){try{a.onreadystatechange=null}catch(a){}b()}}:DynarchDomUtils.addEvent(a,"load",b)},callHandler:function(a,b){if(a[b]instanceof Function)return a[b].call(a);if(typeof a[b]=="string")return Dynarch.evalClean(a[b])},setStyleProperty:function(a,b,c){switch(b){case"float":b="styleFloat";break;default:b=b.toLowerCase().replace(/-([a-z])/g,function(a,b){return b.toUpperCase()})}a.style[b]=c},setOpacity:function(a,b){if(b!=null){b==""&&b!=0?is_ie?a.style.filter="":a.style.opacity="":is_ie?a.style.filter="alpha(opacity="+Math.round(b*100)+")":a.style.opacity=b;return b}if(is_ie){if(/alpha\(opacity=([0-9.])+\)/.test(a.style.opacity))return parseFloat(RegExp.$1)}else return parseFloat(a.style.opacity)},getClosestParentByTagName:function(a,b){b=b.toLowerCase();while(a&&a.tagName&&a.tagName.toLowerCase()!=b)a=a.parentNode;return a},isInside:function(a,b){try{while(a){if(a===b)return true;a=a.parentNode}}catch(a){}return false},getWindowSize:function(){if(is_gecko)return document.documentElement.clientWidth?{x:document.documentElement.clientWidth,y:document.documentElement.clientHeight}:{x:window.innerWidth,y:window.innerHeight};if(is_opera)return{x:window.innerWidth,y:window.innerHeight};if(is_ie)return!document.compatMode||document.compatMode=="BackCompat"?{x:document.body.clientWidth,y:document.body.clientHeight}:{x:document.documentElement.clientWidth,y:document.documentElement.clientHeight};var a=document.createElement("div"),b=a.style;b.position="absolute",b.bottom=b.right="0px",document.body.appendChild(a),b={x:a.offsetLeft,y:a.offsetTop},document.body.removeChild(a);return b},getPos:function(a){if(a.getBoundingClientRect){var b=a.getBoundingClientRect();return{x:b.left-document.documentElement.clientLeft,y:b.top-document.documentElement.clientTop}}if(document.getBoxObjectFor){var b=a.ownerDocument.getBoxObjectFor(a),c={x:b.x,y:b.y};while(a.parentNode&&a.parentNode!==document.body)a=a.parentNode,c.x-=a.scrollLeft,c.y-=a.scrollTop;return c}if(/^body$/i.test(a.tagName))return{x:0,y:0};var d=0,e=0,f=/^div$/i.test(a.tagName),g,h;f&&a.scrollLeft&&(d=a.scrollLeft),f&&a.scrollTop&&(e=a.scrollTop),g={x:a.offsetLeft-d,y:a.offsetTop-e},a.offsetParent&&(h=DynarchDomUtils.getPos(a.offsetParent),g.x+=h.x,g.y+=h.y);return g},getBRPos:function(a){var b=DynarchDomUtils.getPos(a),c=DynarchDomUtils.getOuterSize(a);b.x+=c.x-1,b.y+=c.y-1;return b},setPos:function(a,b,c){typeof b=="number"&&(b+="px"),typeof c=="number"&&(c+="px"),b!=null&&(a.style.left=b),c!=null&&(a.style.top=c)},createElement:function(a,b,c,d,e){var f=CE_CACHE[a]||(CE_CACHE[a]=document.createElement(a)),g;f=f.cloneNode(false);if(b)for(g in b)is_ie?DynarchDomUtils.setStyleProperty(f,g,b[g]):f.style.setProperty(g,b[g],"");if(c)for(g in c)f[g]=c[g];d&&(typeof e=="number"&&(e=d.childNodes[e]),e||(e=null),d.insertBefore(f,e));return f},setUnselectable:function(a,b){b==null&&(b=true);if(is_ie){b=b?"on":"off";var c=Array.$(a.getElementsByTagName("*"));c.push(a),c.foreach(function(a){a.setAttribute("unselectable",b)})}else a.style.userSelect=a.style.WebkitUserSelect=a.style.MozUserSelect=b=b?"none":"normal"},addClass:function(a,b,c){DynarchDomUtils.delClass(a,c,b)},delClass:function(a,b,c){if(a){var d=a.className;b instanceof RegExp&&(d=d.replace(b," "),b=null);if(c||b){var e=d.split(/\s+/),f=e.length,g={};b&&(g[b]=1),c&&(g[c]=1);while(--f>=0)e[f]in g&&e.splice(f,1);c&&e.push(c),d=e.join(" ")}a.className=d}},condClass:function(a,b,c,d){DynarchDomUtils[b?"addClass":"delClass"](a,c,d)},hasClass:function(a,b){return a.className.split(" ").contains(b)},elementIsVisible:function(a){return!!a.offsetWidth&&a.style.visibility!="hidden"},ie_getBackgroundColor:function(a){var b=document.body.createTextRange();b.moveToElementText(a);return"#"+parseInt(b.queryCommandValue("BackColor")).hex(6)},getStyle:function(a,b){var c=null;window.getComputedStyle?c=document.defaultView.getComputedStyle(a,"").getPropertyValue(b):a.currentStyle&&((b=b.replace(/-[a-z]/g,function(a){return a.charAt(1).toUpperCase()}))=="backgroundColor"?c=ie_getBackgroundColor(a):c=a.currentStyle[b]);return c},getStylePX:function(a,b){var c=parseInt(DynarchDomUtils.getStyle(a,b),10);isNaN(c)&&(c=0);return c},getBorder:function(a){return{x:a.offsetWidth-a.clientWidth,y:a.offsetHeight-a.clientHeight}},getPadding:function(a){var b,c,d=DynarchDomUtils.getStylePX;b=d(a,"padding-left")+d(a,"padding-right"),c=d(a,"padding-top")+d(a,"padding-bottom");return{x:b,y:c}},getPaddingAndBorder:function(a){var b=0,c=0,d=DynarchDomUtils.getStylePX;b+=d(a,"border-left-width"),b+=d(a,"border-right-width"),c+=d(a,"border-top-width"),c+=d(a,"border-bottom-width"),b+=d(a,"padding-left"),b+=d(a,"padding-right"),c+=d(a,"padding-top"),c+=d(a,"padding-bottom");return{x:b,y:c}},getSelectionRange:function(a){var b,c;if(is_ie){var d,e,f;d=document.selection.createRange(),(e=d.compareEndPoints("StartToEnd",d)==0)||d.collapse(true),f=d.getBookmark(),b=f.charCodeAt(2)-2,d=document.selection.createRange(),(e=d.compareEndPoints("StartToEnd",d)==0)||d.collapse(false),f=d.getBookmark(),c=f.charCodeAt(2)-2}else b=a.selectionStart,c=a.selectionEnd;return{start:b,end:c}},setSelectionRange:function(a,b,c){c==null&&(c=b);if(b>c){var d=b;b=c,c=d}typeof b=="object"&&(c=b.end,b=b.start);if(is_ie){var e=a.createTextRange();e.collapse(true),e.moveStart("character",b),e.moveEnd("character",c-b),e.select()}else a.setSelectionRange(b,c)},setOuterSize:function(a,b,c){var d=DynarchDomUtils.getPaddingAndBorder(a);b!=null&&d.x!=NaN&&(b-=d.x),c!=null&&d.y!=NaN&&(c-=d.y),DynarchDomUtils.setInnerSize(a,b,c)},setInnerSize:function(a,b,c){try{typeof b=="number"&&b!=NaN&&(b=Math.abs(b)+"px"),typeof c=="number"&&c!=NaN&&(c=Math.abs(c)+"px"),b!=null&&b!=NaN&&!(is_ie&&b<=0)&&(a.style.width=b),c!=null&&c!=NaN&&!(is_ie&&c<=0)&&(a.style.height=c)}catch(a){}},getOuterSize:function(a){return{x:a.offsetWidth,y:a.offsetHeight}},getInnerSize:function(a){var b=DynarchDomUtils.getOuterSize(a),c=DynarchDomUtils.getPaddingAndBorder(a);b.x-=c.x,b.y-=c.y;return b},importCommonVars:function(){return["var DOM=DynarchDomUtils","AC=DOM.addClass","DC=DOM.delClass","CC=DOM.condClass","CE=DOM.createElement","ID=Dynarch.ID"].join(",")},trash:function(a,b){a&&(b=a.parentNode)&&b.removeChild(a)},strip:function(a){try{var b=a.ownerDocument.createRange();b.selectNodeContents(a),p.insertBefore(a,b.extractContents()),b.detach()}catch(b){var c=a.parentNode;while(a.firstChild)c.insertBefore(a.firstChild,a)}this.trash(a)},createFromHtml:function(a){var b=CE_CACHE.CONTAINER;b.innerHTML=a;return b.firstChild},swapNodes:function(a,b){var c=a.parentNode,d=a.nextSibling;b.parentNode.replaceChild(a,b),c.insertBefore(b,d)},scrollIntoView:function(a){var b=a.parentNode;while(b&&(b.scrollHeight==b.clientHeight&&b.scrollWidth==b.clientWidth||/table|tbody/i.test(b.tagName)))b=b.parentNode;if(b&&b!==document.body){var c=[],d=b;while(d)c.push(d),d=d.parentNode;var e=0,f=0;d=a;while(d&&d!=b){e+=d.offsetTop,f+=d.offsetLeft,d=d.offsetParent;if(c.contains(d)){d!=b&&(e-=b.offsetTop,f-=b.offsetLeft);break}}var g=e+a.offsetHeight,h=f+a.offsetWidth;e<b.scrollTop&&(b.scrollTop=e),e>b.scrollTop&&g>b.scrollTop+b.clientHeight&&(b.scrollTop=g-b.clientHeight),f<b.scrollLeft&&(b.scrollLeft=f),f>b.scrollLeft&&h>b.scrollLeft+b.clientWidth&&(b.scrollLeft=h-b.clientWidth)}},flash:function(a,b,c){c||(c=3);var d=setInterval(function(){a.style.visibility=c&1?"hidden":"",--c,c<0&&clearInterval(d)},b||150)},walk:function(a,b){if(!b(a))for(var c=a.firstChild;c;c=c.nextSibling)c.nodeType==1&&DynarchDomUtils.walk(c,b)},setDocumentTitle:function(a){document.title=a},CE_CACHE:CE_CACHE};var $=is_gecko?document.getElementById.$(document):function(a){return document.getElementById(a)};function DEFINE_CLASS(a,b,c,d){e.name=a||"",d&&(e.hidden=true),b&&e.inherits(b,a);function e(c){if(c!==$__JSOOP){if(this===window)return alert("FIXME: Constructor called without new in "+a);var d;e.FIXARGS&&(arguments.length==0&&(c={},d=[c]),e.FIXARGS.apply(this,d||arguments)),e.DEFAULT_ARGS&&e.setDefaults(this,c),e.BEFORE_BASE&&e.BEFORE_BASE.apply(this,d||arguments),b&&b.apply(this,d||arguments),e.CONSTRUCT&&e.CONSTRUCT.apply(this,d||arguments)}}a&&!d&&(window[a]=e);var f=e.prototype;c&&(e.DEFINITION=c)(e,f,DynarchDomUtils),f.FINISH_OBJECT_DEF instanceof Function&&f.FINISH_OBJECT_DEF(),f.$||(f.$=Object.curry2);return e}function EXTEND_CLASS(a,b){b(a,a.prototype,DynarchDomUtils)}function DEFINE_HIDDEN_CLASS(a,b,c){return DEFINE_CLASS.call(this,a,b,c,true)}function DEFINE_SINGLETON(a,b,c){var d=DEFINE_HIDDEN_CLASS(a,b,c);DlSingleton.register(a,d,true);return d}DEFINE_CLASS("DlException",null,function(a,b){a.CONSTRUCT=function(a,b){this.error=this.constructor.name,a||(a="*** no error message given ***"),this.message=this.constructor.name+": "+a,b!=null&&(this.code=b)},b.toString=function(){var a=this.message;this.code&&(a+=" / code: "+this.code);return a}}).stopEventBubbling=function(){throw new DlExStopEventBubbling};function DEFINE_EXCEPTION(a,b){return DEFINE_CLASS(a,b||DlException)}DEFINE_EXCEPTION("DlExInvalidOperation"),DEFINE_EXCEPTION("DlExAbstractBaseClass"),DEFINE_EXCEPTION("DlExStopEventProcessing"),DEFINE_EXCEPTION("DlExStopFrameEvent"),DEFINE_EXCEPTION("DlExStopEventBubbling"),DEFINE_EXCEPTION("DlDataException"),DEFINE_EXCEPTION("DlSecurityException"),DEFINE_CLASS("DlEventProxy",null,function(a,b){a.CONSTRUCT=function(){this.__eventHooks={},this.__disHooks={},this.registerEvents(this.DEFAULT_EVENTS),this.addEventListener("onDestroy",this.__onDestroy)},b.DEFAULT_EVENTS=["onDestroy"],b.FINISH_OBJECT_DEF=function(){var a=this.constructor.DEFAULT_EVENTS;a&&(this.DEFAULT_EVENTS=this.DEFAULT_EVENTS.concat(a))},b.__onDestroy=function(){["__eventHooks","__disHooks"].foreach(function(a){for(var b in this[a]){var c=this[a][b];c&&c.foreach(function(a,b){this[b]=null}),this[a][b]=null}this[a]=null},this)},b.__getEventHooks=function(a,b){if(!this.__eventHooks)throw new DlExStopEventBubbling;var c=this.__eventHooks[a.toLowerCase()];b&&(c=c.slice(0));return c};function c(a,b){return a.applyHooks(b,Array.$(arguments,2))}b.registerEvents=function(a){var b=this.__eventHooks,c=0,d;while(d=a[c++])d=d.toLowerCase(),b[d]||(b[d]=[])},b.condEventListener=function(a){a=a?this.addEventListener:this.removeEventListener;return a.apply(this,Array.$(arguments,1))},b.addEventListener=function(a,b,c,d){if(a instanceof Array){var e=0,f;while(f=a[e++])this.addEventListener(f,b,c,d)}else if(typeof a=="object")for(var e in a)this.addEventListener(e,a[e],b,c);else{var g=this.__getEventHooks(a);g.remove(b),c==null&&a.toLowerCase()=="ondestroy"&&(c=true),c?g.unshift(b):g.push(b),d&&d.addEventListener("onDestroy",this.removeEventListener.$(this,a,b))}return this},b.listenOnce=function(a,b,c){c==null&&(c=1);var d=function(){--c==0&&this.removeEventListener(a,d),b.apply(this,arguments)};return this.addEventListener(a,d)},b.connectEvents=function(a,b,d){typeof b=="string"?(d=b,b=this):d||(d=a);if(a instanceof Array)for(var e=0;e<a.length;++e)this.connectEvents(a[e],b,d[e]);else this.addEventListener(a,c.$(null,b,d));return this},b.removeEventListener=function(a,b){var c=0,d;if(a instanceof Array)while(d=a[c++])this.removeEventListener(d,b);else if(typeof a=="object")for(c in a)this.removeEventListener(c,a[c]);else this.__getEventHooks(a).remove(b);return this},b.removeAllListeners=function(a){if(a instanceof Array)a.foreach(this.removeAllListeners,this);else if(typeof a=="object")for(var b in a)this.removeAllListeners(b);else this.__getEventHooks(a).length=0;return this},b.disableHooks=function(a){a instanceof Array?a.r_foreach(this.disableHooks,this):(a=a.toLowerCase(),this.__disHooks[a]=this.__eventHooks[a],this.__eventHooks[a]=[]);return this},b.enableHooks=function(a){a instanceof Array?a.r_foreach(this.enableHooks,this):(a=a.toLowerCase(),this.__eventHooks[a]=this.__disHooks[a],this.__disHooks[a]=null);return this},b.callHooks=function(a){var b=arguments.length>1?Array.$(arguments,1):[];return this.applyHooks(a,b)},b.hasHooks=function(a){var b=this.__eventHooks[a.toLowerCase()];return b&&b.length>0},b.withHooks=function(a,b){this.addEventListener.apply(this,a);try{return b()}finally{this.removeEventListener.apply(this,a)}},b.withDisabledHooks=function(a,b){this.disableHooks.apply(this,a);try{return b()}finally{this.enableHooks.apply(this,a)}},b.applyHooks=function(a,b){var c=[],d,e=0,f;try{d=this.__getEventHooks(a,true);while(f=d[e++])c.push(f.apply(this,b))}catch(a){if(!(a instanceof DlExStopEventProcessing))throw a}return c},b.debug_countHooks=function(){var a={},b;for(b in this.__eventHooks)a[b]=this.__eventHooks[b].length;return a},b.invoke=function(a){var b=Array.$(arguments,1);return function(){this[a].apply(this,b.concat(Array.$(arguments)))}.$(this)},b.destroy=function(){this.destroyed||(this.destroying=true,this.callHooks("onDestroy"),this.__eventHooks=null,this.destroying=false,this.destroyed=true)}}),DEFINE_CLASS("DlEvent",null,function(a,b,c){var d=c.createElement,e={mouseover:"onMouseEnter",mouseout:"onMouseLeave",mousedown:"onMouseDown",mouseup:"onMouseUp",mousemove:"onMouseMove",click:"onClick",dblclick:"onDblClick",keydown:"onKeyDown",keyup:"onKeyUp",keypress:"onKeyPress",contextmenu:"onContextMenu",focus:"on_DOM_Focus",blur:"on_DOM_Blur",mousewheel:"onMouseWheel",DOMMouseScroll:"onMouseWheel",textInput:"onTextInput"};a.CONSTRUCT=function(b){this.type=b.type,this.dl_type=e[this.type]||this.type,this.ctrlKey=b.ctrlKey,this.which=b.which,this.keyIdentifier=b.keyIdentifier,is_macintosh?(this.altGrKey=b.altKey,this.altKey=b.metaKey):this.altKey=b.altKey,this.shiftKey=b.shiftKey,this.button=b.button,this.focusedWidget=a.focusedWidget();if(is_ie)switch(b.button){case 0:this.button=null;break;case 1:this.button=0;break;case 2:this.button=2;break;case 4:this.button=1}this.type.indexOf("key")==0&&(this.keyCode=b.keyCode,this.charCode="which"in b?b.which:is_ie||is_opera?b.keyCode:b.charCode,this.keyStr=String.fromCharCode(this.charCode));if(this.dl_type=="onMouseWheel"){var c;b.wheelDelta?c=b.wheelDelta/120:b.detail&&(c=-b.detail/3),this.wheelDelta=c}this.pos={x:b.clientX,y:b.clientY},this.relPos=this.pos;if(is_ie){this.target=b.srcElement;switch(this.type){case"mouseover":this.relatedTarget=b.fromElement;break;case"mouseout":this.relatedTarget=b.toElement}}else try{this.target=b.target,this.target.nodeType==3&&(this.target=this.target.parentNode);if(this.type=="mouseout"||this.type=="mouseover")this.relatedTarget=b.relatedTarget,this.relatedTarget&&this.relatedTarget.nodeType==3&&(this.relatedTarget=this.relatedTarget.parentNode)}catch(a){this.relatedTarget=b.explicitOriginalTarget}},b.computePos=function(a){var b=a?a instanceof DlWidget?a.getElement():a:document.body,d=this.elPos=b?c.getPos(b):{x:0,y:0};return this.relPos={x:this.pos.x-d.x,y:this.pos.y-d.y,elPos:d}},b.getObject=function(a){var b=this.target,c=this.object;if(!c){try{while(b&&!DlWidget.getFromElement(b))b=b.parentNode;c=b?DlWidget.getFromElement(b):null}catch(a){c=null}this.object=c}a&&(c=c.getParent(a));return c},b.getParentElement=function(a,b){b&&b instanceof DlWidget&&(b=b.getElement());if(b&&c===b)return null;var c=this.target;try{while(c&&c.tagName.toLowerCase()!=a){c=c.parentNode;if(b&&c===b)return null}}catch(a){c=null}return c},a.stopEvent=c.stopEvent;function f(a,b,d,e){var f=b.getObject();switch(b.type){case"click":break;case"mousedown":a._ev_mouseDown=true,a.applyHooks(b.dl_type,[b]);break;case"mouseup":var g=a._ev_mouseDown;a._ev_mouseDown=false,a.applyHooks(b.dl_type,[b]),g&&a._ev_mouseInside&&b.button===0&&(b=new DlEvent(e),b.dl_type="onClick",this.push([a,b,d,e]));break;case"mouseover":case"mouseout":!d||!c.related(d,e)?(a===f&&(a._ev_mouseInside=b.type=="mouseover"),a.applyHooks(b.dl_type,[b])):(b.dl_type=b.type=="mouseover"?"onMouseOver":"onMouseOut",a.applyHooks(b.dl_type,[b]));break;case"dblclick":if((is_ie||is_opera)&&!a.hasHooks("onDblClick")){b=new DlEvent(e),b.type="click",a.applyHooks(b.dl_type="onClick",[b]);break};default:a.applyHooks(b.dl_type,[b])}e&&b.domStop&&c.stopEvent(e)}var g=null;function h(){this===g&&(g=null)}a.fakeBlur=function(){if(is_safari&&g.blur)return g.blur();var a=c.CE_CACHE.FAKE_FOCUS;a||(a=c.CE_CACHE.FAKE_FOCUS=d("a",null,{href:"#",innerHTML:"test",className:"DYNARCH-FAKE-FOCUS"},document.body)),a.focus();if(is_ie){var b=document.body.createTextRange();b.moveStart("character",0),b.collapse(true),b.select()}a.blur(),window.status=""},a.focusedWidget=function(b){if(arguments.length>0&&g!==b){g&&!g.destroyed&&(g._focusable==2?b._focusable<2&&a.fakeBlur():g.blur(),g.removeEventListener("onDestroy",h));if(g=b){b.addEventListener("onDestroy",h);var c=b.parent;while(c)c._focusedWidget=b,c=c.parent}}return g},a.checkDisabled=function(a){while(a){if(a.disabled())return true;a=a.parent}return false},b.destroy=function(){this.object=this.target=this.relatedTarget=null},b.stopDomEvent=function(){a.stopEvent(a.latestDomEvent)};var i=a.GLOBAL_CAPTURES={},j="keydown keyup keypress".hashWords();a._genericEventHandler=function(b,c){b||(b=window.event);var d,e,h=b instanceof a?b:new a(b);c&&(b=c);if(h._failed){a.stopEvent(b);return}a.latestEvent=h,a.latestDomEvent=b,h.pos.x&&h.dl_type!="onMouseWheel"&&(a.latestMouseEvent=h,h.dl_type=="onMouseDown"&&(a.latestMouseDownEvent=h));try{var k=i[h.dl_type],l;if(k)for(l=k.length;--l>=0;)k[l](h);h.type in j&&g?d=g.getElement():d=h.target;var m=[];l=0;while(d){if(e=DlWidget.getFromElement(d)){a.checkDisabled(e)||(m[l++]=[e,h,d,b]);if(e.__noPropEvents&&e.__noPropEvents.test(h.dl_type))break}d=d.parentNode}for(l=0;l<m.length;++l)f.apply(m,m[l])}catch(c){if(c instanceof DlExStopEventBubbling)a.stopEvent(b);else throw c}h.destroy()};var k=[];function l(){k.r_foreach(Function.invoke)}a._unloadHandler=l,a.captureGlobals=function(b){for(var c in b)a.captureGlobal(c,b[c])},a.releaseGlobals=function(b){for(var c in b)a.releaseGlobal(c,b[c])},a.captureGlobal=function(a,b){var c=i[a];c||(c=i[a]=[]),c.push(b)},a.releaseGlobal=function(a,b){var c=i[a];c&&c.remove(b)},a.atUnload=function(a){k.push(a)},c.addEvents(document,["contextmenu","click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove",is_gecko?"DOMMouseScroll":"mousewheel","keydown","keyup","keypress"],a._genericEventHandler),c.addEvent(window,"unload",l)}),DEFINE_CLASS("DlWidget",DlEventProxy,function(a,b,c){var d=c.createElement,e=c.addClass,f=c.delClass,g=c.condClass,h=Dynarch.ID;a.FIXARGS=function(a){a.focusable==null&&a.tabIndex&&(a.focusable=true)},a.CONSTRUCT=function(){this.__propsUserData={},this.__refNodes=[];if(!(this._parent==null||this._parent instanceof DlContainer))throw new DlException("Parent must be an instance of DlContainer");this.id=h(this._objectType||"DlWidget"),i[this.id]=this,this.initDOM()},a.DEFAULT_ARGS={userData:["data",null],_parent:["parent",null],_fillParent:["fillParent",null],_tagName:["tagName","div"],_dragArgs:["drag",null],_element:["element",null],_focusable:["focusable",false],_tabIndex:["tabIndex",0],_accessKey:["accessKey",null],__appendArgs:["appendArgs",window.undefined],__addClassName:["className",""],__disabled:["disabled",false],__tooltip:["tooltip",null],__contextMenu:["contextMenu",null],__tooltipTimeout:["tooltipTimeout",650],__refCnt:["_refCnt",0],__noPropEvents:["dontBubbleEvents",null]},a.DEFAULT_EVENTS=["onMouseEnter","onMouseLeave","onMouseMove","onMouseDown","onMouseUp","onMouseOver","onMouseOut","onMouseWheel","onClick","onDblClick","onDisabled","onDisplay","onFocus","on_DOM_Focus","onBlur","on_DOM_Blur","onKeyDown","onKeyUp","onKeyPress","onResize","onContextMenu","onTooltipShow","onTooltipHide"];var i=a.WIDGETS={};a.getById=function(a){return i[a]},a.getFromElement=function(a){return a._dynarch_object},a.getFromUpElement=function(a){while(a&&!a._dynarch_object)a=a.parentNode;return a&&a._dynarch_object};var j=null;function k(){j||(j=new DlTooltip({}));return j}a.getTooltip=k,b.getWidgetId=function(){return this.id},b._className=[],b.FINISH_OBJECT_DEF=function(){a.BASE.FINISH_OBJECT_DEF.call(this),(this._className=Array.$(this._className)).push(this._objectType)};var l=null;b.getResizeRect=a.getResizeRect=function(){l||(l=d("div",{display:"none"},{className:"Dl-ResizeRect",innerHTML:"&nbsp;"},document.body));return l},a.debug_countHooks=function(){var a={};Array.hashKeys(DlWidget.WIDGETS).foreach(function(b){a[b]=DlWidget.WIDGETS[b].debug_countHooks()});return a};function m(){this.__tooltipActive&&k().hide(),this.__contextMenu instanceof a&&this.__contextMenu.destroy();if(this.parent)try{this.parent.removeWidget(this)}catch(a){}var b=this.getElement();b&&(b._dynarch_focusable=b._dynarch_object=null),this._element=null,c.trash(b),i[this.id]&&(i[this.id]=null,delete i[this.id]),b=null,this.__refNodes.r_foreach(function(a,b){this[a]=this.__refNodes[b]=null,delete this[a]},this),this.__propsUserData=this.userData=this.__refNodes=null}b.destroy=function(){this.unref()<=0&&a.BASE.destroy.call(this)},b.__onTooltipShow=function(){this.__tooltipActive=true,this.callHooks("onTooltipShow")},b.__onTooltipHide=function(){this.__tooltipActive=false,this.callHooks("onTooltipHide")},b._popupTooltip=function(){k().popup({timeout:this.__tooltipTimeout,content:this.__tooltip,anchor:this.getElement(),align:"mouse",onPopup:this.__onTooltipShow,onHide:this.__onTooltipHide,widget:this})};function n(){this.__tooltip&&this._popupTooltip()}function o(){k().hide()}function p(a,b){if(!a.dragging)if(Math.abs(b.pos.x-a.startPos.x)>=a.delta||Math.abs(b.pos.y-a.startPos.y)>=a.delta)a.dragging=true,a.makeElementCopy(this,b),a.applyHooks("onStartDrag",[this,b]),this.addClass(a.draggingClass);if(a.dragging){var c=a.elementCopy;c&&(c.style.left=b.pos.x+5+"px",c.style.top=b.pos.y+5+"px"),a.moving(this,b),DlException.stopEventBubbling()}}function q(a,b,c){this.delClass(a.draggingClass),DlEvent.releaseGlobals(a.captures),a.captures=null,y=false,c||a.doDrop(this,b),a.reset(c)}function r(a,b){if(b.button==0){var c=a.dragging&&a.canDrop;q.call(this,a,b,!c)}}function s(a,b){DlException.stopEventBubbling()}function t(a,b){DlException.stopEventBubbling()}function u(a,b){var c=b.getObject(),d=false,e=c;while(e){if(e===this){d=true;break}e=e.parent}var f=a.dropOK(this,b,c,d);DlException.stopEventBubbling()}function v(a,b){DlException.stopEventBubbling()}function w(a,b){b.keyCode==DlKeyboard.ESCAPE&&q.call(this,a,b,true),DlException.stopEventBubbling()}function x(a,b){DlException.stopEventBubbling()}var y=false;function z(a){k().cancel(),this._focusable&&!a._justFocusedWidget&&(a._justFocusedWidget=this,this._focusable<2&&this.focus());if(a.button==0){var b=this._dragArgs,c;if(b&&!y)if(b.startOK(this,a)){var d=a.getObject();d&&d.applyHooks("onMouseLeave",[a]),y=true,b.source=this,b.captures={onMouseMove:p.$(this,b),onMouseUp:r.$(this,b),onMouseOver:s.$(this,b),onMouseOut:t.$(this,b),onMouseEnter:u.$(this,b),onMouseLeave:v.$(this,b),onContextMenu:x.$(this,b),onKeyPress:w.$(this,b)},b.startPos=a.pos,b.startElPos=this.getPos(),DlEvent.captureGlobals(b.captures)}}}function A(a){var b=this.__contextMenu;typeof b=="function"&&(b=b.call(this,a));if(b){var c=this._getContextMenuPopup();c.popup({timeout:0,content:b,anchor:b.contextMenuAnchor||this.getElement(),align:b.contextMenuAlign||"mouse",widget:this,onPopup:b.contextMenuOnPopup||null,onHide:b.contextMenuOnHide||null,isContext:true}),DlException.stopEventBubbling()}}b.setData=function(a,b){arguments.length==1?delete this.__propsUserData[a]:this.__propsUserData[a]=b},b.getData=function(a){return this.__propsUserData[a]},b._getDlPopup=function(){var a=this.getParent(DlPopup)||0;a&&(a=a._level+1);return DlPopupMenu.get(a)},b._getContextMenuPopup=b._getDlPopup;var B={onDestroy:m,onMouseEnter:n,onMouseLeave:o,onMouseDown:z,onContextMenu:A};b._setListeners=function(){this.addEventListener(B),this.addEventListener(is_ie?"onKeyDown":"onKeyPress",this._handle_focusKeys)},b._handle_focusKeys=function(a){},b._check_accessKey=function(a){return this._accessKey&&DlKeyboard.checkKey(a,this._accessKey)},b._handle_accessKey=function(a){this.focus()},b._setFocusedStyle=function(a){this.condClass(a,this._className.peek()+"-focus")},b.focus=function(){this._focusable?(DlEvent.focusedWidget(this),this._setFocusedStyle(true),this.callHooks("onFocus"),this instanceof DlEntry||this.scrollIntoView()):this.parent&&this.parent.focus()},b.blur=function(){this._focusable&&(this.destroyed||(this._setFocusedStyle(false),this.callHooks("onBlur")))},b.focusInside=function(){var a=DlEvent.focusedWidget();while(a){if(a==this)break;a=a.parent}return!!a},b._createElement=function(a){var b=this._element;if(b)this.__alreadyInDom=true;else{var e=this.constructor,f=e.__joinedClassName||this._className.join(" ");e.__joinedClassName||(e.__joinedClassName=f),this.__addClassName&&(f+=" "+this.__addClassName),a?(b=c.createFromHtml(a),b.className=f):b=d(this._tagName,null,{className:f}),this._focusable&&(b._dynarch_focusable=true),this._element=b}b._dynarch_object=this},b.getElement=function(){return this._element},b.getParentNode=function(){return this._element.parentNode},b.getDOMChildren=function(){return Array.$(this.getContentElement().childNodes)},b.getContentElement=function(){return this.getElement()},b.setStyle=function(a,b){var c=this.getElement().style;if(arguments.length>1)c[a]=b;else for(var d in a)this.setStyle(d,a[d])},b.setContent=function(b){var c=this.getContentElement();while(c.firstChild)c.removeChild(c.lastChild);if(typeof b=="string")c.innerHTML=b;else{if(b instanceof Function)return this.setContent(b.call(this));b instanceof a?this.appendWidget(b,this.__appendArgs):b instanceof Array?c.innerHTML=b.join(""):b!=null&&c.appendChild(b)}return b!=null},b.ref=function(){return this.__refCnt++},b.unref=function(){return--this.__refCnt},b.refCnt=function(){return this.__refCnt},b.setContextMenu=function(b){this.__contextMenu instanceof a&&this.__contextMenu.destroy(),b instanceof a&&b.ref(),this.__contextMenu=b},b.setTooltip=function(a){this.__tooltip=a},b.initDOM=function(){this._setListeners(),this._createElement(),this._parent&&(this._parent.appendWidget(this,this.__appendArgs),this._parent=null),this.__disabled&&this.disabled(true,true),this.__onTooltipShow=this.__onTooltipShow.$(this),this.__onTooltipHide=this.__onTooltipHide.$(this);return this},b.setUnselectable=function(a,b){a==null&&(a=this.getElement()),c.setUnselectable(a,b)},b.disabled=function(a,b){a!=null&&(b||a!=this.__disabled)&&(this.__disabled=a,this.condClass(a,"DlWidget-disabled"),this.condClass(a,this._className.peek()+"-disabled"),this.applyHooks("onDisabled",[a]));return this.__disabled},b.enabled=function(a,b){a!=null&&this.disabled(!a,b);return!this.__disabled},b.getParent=function(a,b){if(a==null)return this.parent;var c=this;b&&(c=this.parent);while(c&&!(c instanceof a))c=c.parent;return c},b.findParent=function(a,b){var c,d=this;b&&(d=this.parent);if(a instanceof Function)while(d&&!a(d))d=d.parent;else{var e=Array.$(arguments,2);while(d){if(c=d[a])if(c instanceof Function){if(c.apply(d,e))break}else break;d=d.parent}}return d},b.getPos=function(){return c.getPos(this.getElement())},b.getBRPos=function(){return c.getBRPos(this.getElement())},b.getOffsetPos=function(){var a=this.getElement();return{x:a.offsetLeft,y:a.offsetTop}},b.setPos=function(a,b){var c=this.getElement();a!=null&&typeof a=="object"&&(b=a.y,a=a.x),a!=null&&(c.style.left=a+"px"),b!=null&&(c.style.top=b+"px")},b.setSize=b.setOuterSize=function(a){c.setOuterSize(this.getElement(),a.x,a.y),this.callHooks("onResize")},b.setInnerSize=function(a){c.setInnerSize(this.getContentElement(),a.x,a.y),this.callHooks("onResize")},b.getSize=b.getOuterSize=function(){return c.getOuterSize(this.getElement())},b.getInnerSize=function(){return c.getInnerSize(this.getContentElement())},b.display=function(a){var b=this.getElement().style;if(a!=null){b.display=a?"":"none",this.applyHooks("onDisplay",[a,b.display,"display"]);return a}return b.display!="none"},b.visibility=function(a){var b=this.getElement().style;if(a!=null){b.visibility=a?"":"hidden",this.applyHooks("onDisplay",[a,b.visibility,"visibility"]);return a}return b.visible!="hidden"},b.opacity=function(a){return c.setOpacity(this.getElement(),a)},b.position=function(a){var b=this.getElement().style,c=b.position;a!=null&&(b.position=a);return c},b.setIconClass=function(a){var b=this.getContentElement();g(b,a!=null,this.__withIconClass||this._className.peek()+"-withIcon"),this.iconClass&&f(b,this.iconClass),a&&e(b,a),this.iconClass=a},b.addClass=function(a,b){e(this.getElement(),a,b)},b.delClass=function(a,b){f(this.getElement(),a,b)},b.condClass=function(a,b,c){g(this.getElement(),a,b,c);return a},b.zIndex=function(a){var b=this.getElement();if(a!=null)return b.style.zIndex=a;if(b.style.zIndex)return parseInt(b.style.zIndex,10);return 0},b.refNode=function(a,b){this[a]=b,this.__refNodes.remove(a),b!=null&&this.__refNodes.push(a);return b},b.debug_highlight=function(a){this.getElement().style.backgroundColor=a||"yellow"},b.getQuickPopup=function(){var a=this.getParent(DlPopup)||0;a&&(a=a._level+1);return DlDialogPopup.get(a)},b.quickPopup=function(a){var b=this.getQuickPopup();a=Object.makeCopy(a),Object.mergeUndefined(a,{anchor:this.getElement(),align:{prefer:"CC"}}),b.popup(a)},b.getScroll=function(){var a=this.getElement();return{x:a.scrollLeft,y:a.scrollTop}},b.scrollIntoView=function(){c.scrollIntoView(this.getElement())},b.flash=function(a,b){c.flash(this.getElement(),a,b)},DlEvent.atUnload(function(){do{window.DL_CLOSING=true;var a=false;for(var b in i){a=true;var c=i[b];try{i[b]=null,delete i[b],c.destroy()}catch(a){}break}}while(a);i=null})}),DEFINE_CLASS("DlContainer",DlWidget,function(a,b){a.BEFORE_BASE=function(){this._widgets=[]},a.DEFAULT_ARGS={_scrollBars:["scroll",false],__noParentKeyBindings:["noParentKB",false]},b._createElement=function(){a.BASE._createElement.apply(this,arguments),this._scrollBars&&this.setStyle("overflow","auto")},b.appendWidget=function(a){a.parent&&a.parent.removeWidget(a),this._widgets.push(a),a.parent=this,a.__alreadyInDom||this._appendWidgetElement.apply(this,arguments),delete a.__alreadyInDom},b._appendWidgetElement=function(a,b){var c=a.getElement();if(typeof b=="number"){var d=this.getContentElement();try{b=d.childNodes[b],d.insertBefore(c,b)}catch(a){d.appendChild(c)}}else b==null?b=this.getContentElement():typeof b=="string"&&(b=document.getElementById(b)),c.parentNode!==b&&b.appendChild(c)},b.removeWidget=function(a){a.parent===this&&(this._removeWidgetElement(a),this._widgets.remove(a),a.parent=null)},b._removeWidgetElement=function(a){if(this._widgets.contains(a)){var b=a.getElement();b.parentNode&&b.parentNode.removeChild(b)}},b.destroyChildWidgets=function(){for(var b=Array.$(this._widgets),c=0;c<b.length;++c)b[c]instanceof a&&b.push.apply(b,b[c]._widgets);b.r_foreach(function(a){try{a.destroy()}catch(a){}});var d=this.getContentElement();d&&(d.innerHTML="");return d},b._setListeners=function(){a.BASE._setListeners.call(this),this.addEventListener("onDestroy",this.destroyChildWidgets),this.addEventListener("onResize",this.__doLayout)},b.disabled=function(b,c){var d=a.BASE.disabled.call(this,b,c);b!=null&&this._widgets.r_foreach(function(a){a.disabled(b,c)});return d},b.children=function(a){return a!=null?this._widgets[a]:this._widgets},b.__doLayout=function(){var a=this.children().grep_first(function(a){return a._fillParent});a&&a.setSize(this.getInnerSize())};function c(a,b){a=a?Array.$(a.getElement().getElementsByTagName("*")):[];return Array.$(this.getElement().getElementsByTagName("*")).grep(b?"_dynarch_object":"_dynarch_focusable").grep(DynarchDomUtils.elementIsVisible).grep(a.contains.$(a).inverse()).map(DlWidget.getFromElement).grep("enabled").mergeSort(function(a,b){return a._tabIndex-b._tabIndex})}function d(a,b){var d=c.call(this,a),e=d.find(a);e=d.rotateIndex(e+b);if(e!=null)return d[e]}b.getNextFocusWidget=function(a){return d.call(this,a,1)},b.getPrevFocusWidget=function(a){return d.call(this,a,-1)},b.getFirstFocusWidget=function(){return this.getNextFocusWidget(null)},b.getLastFocusWidget=function(){return this.getPrevFocusWidget(null)},b._handleKeybinding=function(a,b){if(a.altKey||a.ctrlKey){var d=c.call(this,b,true);d.foreach(function(b){if(b._check_accessKey(a)){b._handle_accessKey(a),a.domStop=true;throw new DlExStopEventBubbling}}),this.parent&&!this.__noParentKeyBindings&&this.parent._handleKeybinding(a,this)}};var e;a.getHiddenContainer=function(){e||(e=new this({className:"DlContainer-Hidden"}),document.body.appendChild(e.getElement()));return e}}),DEFINE_CLASS("DlRadioGroup",DlEventProxy,function(a,b){a.CONSTRUCT=function(a){a!=null&&(this._maxChecked=1,this._minChecked=null,this.id=a,this.reset(),this.addEventListener("onDestroy",d))};var c={};a.DEFAULT_EVENTS=["onChange"],a.getById=a.get=function(a){a||(a=Dynarch.ID("group"));var b=c[a];b||(b=c[a]=new this(a));return b};function d(){c[this.id]&&(this._history=this._buttonsByValue=this._buttonsById=this._buttons=null,delete c[this.id])}function e(a){if(a!=null){this._changed=true;if(a.checked()){if(this._maxChecked!=null)while(this._history.length>=this._maxChecked){var b=this._history[0];b.checked(false,true),this._history.splice(0,1)}this._history.push(a)}else{if(this._minChecked!=null&&this._history.length<=this._minChecked){a.checked(true,true);throw new DlExStopEventProcessing}this._history.remove(a)}}}b.reset=function(){this._buttons&&this._buttons.r_foreach(function(a){a.__group=a.__groupId=null}),this._changed=false,this._buttons=[],this._buttonsById={},this._buttonsByValue={},this._history=[],this.removeAllListeners("onChange"),this.addEventListener("onChange",e)},b.changed=function(a){var b=this._changed;a!=null&&(this._changed=a);return b},b.getSelected=function(){return this._history},b.getButtons=function(){return this._buttons},b.getNextButton=function(a){a==null&&(a=this.getSelected()[0]);var b=this._buttons,c=b.nullLimitIndex(b.find(a)+1);if(c!=null)return b[c]},b.getPrevButton=function(a){a==null&&(a=this.getSelected()[0]);var b=this._buttons,c=b.nullLimitIndex(b.find(a)-1);if(c!=null)return b[c]},b.getValue=function(){return this._history.map("value")},b.setValue=function(a,b){var c=this._buttonsByValue;a instanceof Array||(a=[a]),a=a.toHash(true),this._history=[];for(var d in c)c[d].checked(a[d],true),a[d]&&this._history.push(c[d]);b&&this.callHooks("onChange")},b.getByValue=function(a){return this._buttonsByValue[a]},b.addWidget=function(a,b){if(!this._buttonsById[a.id]){b==null&&(b=this._buttons.length),this._buttonsById[a.id]=a,this._buttons.splice(b,0,a),a.checked()&&this._history.push(a);var c=a.value();typeof c!="undefined"&&(this._buttonsByValue[c]=a),a.addEventListener("onDestroy",this.removeWidget.$(this,a))}},b.removeWidget=function(a){if(this._buttonsById[a.id]){this._changed=true,delete this._buttonsById[a.id];var b=a.value();typeof b!="undefined"&&delete this._buttonsByValue[a.value()],this._buttons.remove(a),this._history.length!=this._history.remove(a).length&&this.callHooks("onChange")}},b.minChecked=function(a){arguments.length>0&&(this._minChecked=a);return this._minChecked},b.maxChecked=function(a){arguments.length>0&&(this._maxChecked=a);return this._maxChecked},b.checkAll=function(a,b){a==null&&(a=true),b==null&&(b=false),this._buttons.foreach(function(c){c.checked(a,!b)}),this._history=a?Array.$(this._buttons):[]},b.unCheckAll=function(){this._history.r_foreach(function(a){a.checked(false)})}}),DEFINE_CLASS("DlAbstractButton",DlWidget,function(a,b){var c=["onMouseEnter","onMouseLeave","onMouseDown","onMouseUp","onUpdateLabel","onClick","onCheck","onChange","onDisabled"],d={STANDARD:1,TWOSTATE:2};a.DEFAULT_ARGS={_label:["label",""],_classes:["classes",{}],_checked:["checked",false],__groupId:["group",null],_btnType:["type",d.STANDARD],_value:["value",window.undefined],_noCapture:["noCapture",false],_alwaysCheck:["alwaysCheck",false]},a.CONSTRUCT=function(a){var b=this.__groupId;if(b!=null){var c;typeof b=="object"?(c=b,this.__groupId=c.id):c=DlRadioGroup.get(b),this.__group=c,c.addWidget(this,typeof a.appendArgs=="number"?a.appendArgs:null)}this._noCapture||(this._btnpressCapture={onMouseMove:DlException.stopEventBubbling,onMouseUp:this._cap_onMouseUp.$(this),onMouseOver:DlException.stopEventBubbling,onMouseOut:DlException.stopEventBubbling,onMouseEnter:this._cap_onMouseEnter.$(this),onMouseLeave:this._cap_onMouseLeave.$(this)})},a.DEFAULT_EVENTS=["onCheck","onUncheck","onChange","onUpdateLabel"],b._cap_onMouseUp=function(a){var b=a.getObject();DlEvent.releaseGlobals(this._btnpressCapture),this.applyHooks("onMouseUp",[a]),this._ev_mouseInside||this.applyHooks("onMouseLeave",[a]),b!==this&&(b&&b.applyHooks("onMouseEnter",[a]),DlException.stopEventBubbling())},b._cap_onMouseEnter=function(a){var b=a.getObject();b===this&&this.addClass(this._classes.active),b&&(b._ev_mouseInside=true),DlException.stopEventBubbling()},b._cap_onMouseLeave=function(a){var b=a.getObject();b===this&&this.delClass(this._classes.active),b&&(b._ev_mouseInside=false),DlException.stopEventBubbling()},a.TYPE=d,b._onMouseEnter=function(a){this.addClass(this._classes.hover)},b._onMouseLeave=function(a){this.delClass(this._classes.hover),this.delClass(this._classes.active)},b._onMouseDown=function(a){a.button===0&&(this._ev_mouseInside=true,this.addClass(this._classes.hover),this.addClass(this._classes.active),this._noCapture||(DlEvent.captureGlobals(this._btnpressCapture),a.domStop=true))},b._onMouseUp=function(a){this.delClass(this._classes.active)},b._onUpdateLabel=function(){this.condClass(!this._label||!/\S/.test(this._label),this._classes.empty)},b._onClick=function(){this._btnType==d.TWOSTATE&&(this._alwaysCheck?this.checked(true):this.toggle())},b.keyClicked=function(a){this.addClass(this._classes.active),function(){this.delClass(this._classes.hover),this.delClass(this._classes.active),this.applyHooks("onClick",[a])}.delayed(90,this),a&&(a.domStop=true,DlException.stopEventBubbling())},b._handle_focusKeys=function(b){var c=b.keyCode;if(c==DlKeyboard.ENTER||b.charCode==DlKeyboard.SPACE)this.keyClicked(b);else if(!this._customMoveKeys&&this.__group&&c in DlKeyboard.KEYS_MOVE){var d=c in DlKeyboard.KEYS_MOVE_PREV,e=d?this.__group.getPrevButton(this):this.__group.getNextButton(this);e&&(e.focus(),b.shiftKey&&(this.checked(true),e.checked(true)),b.domStop=true,DlException.stopEventBubbling())}a.BASE._handle_focusKeys.call(this,b)},b._handle_accessKey=function(a){this.focus(),this.keyClicked(a)},b.disabled=function(b,c){b!=null&&b&&(this.delClass(this._classes.hover),this.delClass(this._classes.active));return a.BASE.disabled.call(this,b,c)},b._onChange=function(){this.__group!=null&&this.__group.applyHooks("onChange",[this])},b._onCheck=Function.noop,b._onDisabled=function(a){this.condClass(a,this._classes.disabled),a&&this._capture&&(DlEvent.releaseCapture(this._capture),this._capture=null)},b._createElement=function(){a.BASE._createElement.call(this),this._createLabelElement(),this.label(this._label,true),this._updateState(),this.setUnselectable()},b._setListeners=function(){a.BASE._setListeners.call(this),c.r_foreach(function(a){this.addEventListener(a,this["_"+a])},this)},b._createLabelElement=Function.noop,b.label=function(a,b){if(b||arguments.length>0&&a!==this._label)(this._label=a)&&(a="<div class='DlButton-Label'>"+this._label+"</div>"),this.setContent(a),this.applyHooks("onUpdateLabel",[this._label]);return this._label},b.setLabel=b.label,b.getLabel=b.label,b.group=function(){return this.__group},b._checkTwoState=function(a){var b=this._btnType!=d.TWOSTATE;if(b&&!a)throw new DlExInvalidOperation("This operation is only available for a TWOSTATE button");return!b},b._updateState=function(){if(this._checkTwoState(true)){var a=this._classes;this.condClass(this._checked,a.checked,a.unchecked)}},b.checked=function(a,b){this._checkTwoState();if(arguments.length>0){a=!!a;var c=!b&&this._checked!==a;this._checked=a,this._updateState(),c&&(this.callHooks("onChange"),this.callHooks(a?"onCheck":"onUncheck"))}return this._checked},b.toggle=function(a){this._checkTwoState(),this.checked(!this._checked,a)},b.value=function(a){var b=this._value;arguments.length>0&&(this._value=a);return b},b.setValue=b.value,b.getValue=b.value}),DEFINE_CLASS("DlAnimation",DlEventProxy,function(a,b){a.DEFAULT_EVENTS=["onStart","onStop","onPause","onUpdate"],a.CONSTRUCT=function(a,b){this.addEventListener("onDestroy",this.stop.$(this)),a!=null&&(this.length=a),b!=null&&(this._speed=1e3/b),this._update=c.$(this)},b.start=function(a,b,c){this.stop(),a!=null&&(this.length=a),b!=null&&(this._speed=1e3/b),c!=null&&(c instanceof Function||(c=DlAnimation.easing[c]),this.func=c),this.i=this.t=0,this.callHooks("onStart"),this._timer=setInterval(this._update,this._speed)},b.running=function(){return this._timer},b.stop=function(a){this._timer&&(clearInterval(this._timer),this._timer=null,this.applyHooks("onStop",[a]))},b.getPos=function(a){a==null&&(a=this.func);return a.call(this,this.t)};function c(){this.t=this.i/this.length;try{this.applyHooks("onUpdate",[this.t]),++this.i>this.length&&this.stop(true)}catch(a){this.stop();throw a}}var d=Math.PI,e=Math.abs,f=Math.asin,g=Math.pow,h=Math.sin,i=Math.cos,j=Math.exp,k=Math.round,l=a.easing={elastic_b:function(a){return 1-i(-a*5.5*d)/g(2,7*a)},elastic_b_custom:function(a,b,c){a+=.5;return 1-i(-c*a*d)/g(2,b*c)},magnetic:function(a){return 1-i(a*a*a*10.5*d)/j(4*a)},accel_b:function(a){a=1-a;return 1-a*a*a},accel_a:function(a){return a*a*a},accel_ab:function(a){a=1-a;return 1-h(a*a*a*d/2)},bounce_b:function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375},shake:function(a){return a<.5?-i(a*11*d)*a*a:(a=1-a,i(a*11*d)*a*a)}}}),DEFINE_CLASS("DlBox",DlContainer,function(a,b,c){a.DEFAULT_ARGS={_borderSpacing:["borderSpacing",0],_align:["align",null],_tagName:["tagName","table"]},b._createElement=function(){a.BASE._createElement.call(this);var b=this.getElement();b.cellSpacing=this._borderSpacing,b.cellPadding=0,this._align&&(b.align=this._align),this.refNode("_tbody",c.createElement("tbody",null,null,b))},b.getTableElement=b.getElement,b._appendWidgetElement=function(a,b){b==null?this.createCellElement().appendChild(a.getElement()):b.appendChild(a.getElement())},b.destroyChildWidgets=function(){var a=Array.$(this._widgets);a.r_foreach(function(a){try{a.destroy()}catch(a){}})},b.__addSep=function(a,b,d){d||(d=this.createCellElement()),d.separator=true;var e=this._objectType+"-"+a;b&&(e+=" "+b),d.className=e,d.innerHTML="<div class='"+e+"'>&nbsp;</div>",c.setUnselectable(d);return d},b.addSeparator=function(a,b){return this.__addSep("separator",a,b)},b.addSpace=function(a,b){return this.__addSep("spacer",a,b)}}),DEFINE_CLASS("DlButton",DlAbstractButton,function(a,b,c){a.CONSTRUCT=function(){this.setIconClass(this._iconClass),this._iconClass=null},a.TYPE=DlAbstractButton.TYPE,a.DEFAULT_ARGS={_classes:["classes",{active:"DlButton-active",hover:"DlButton-hover",checked:"DlButton-1",unchecked:"DlButton-0",empty:"DlButton-empty",disabled:"DlButton-disabled"}],_iconClass:["iconClass",null]},b.__withIconClass="DlButton-withIcon",b._createElement=function(){a.BASE._createElement.call(this),this.addClass("DlWidget-3D")},b._createLabelElement=function(){this.getElement().innerHTML="<div class='DlButton-inner'><div></div></div>"},b.getContentElement=function(){return this.getElement().firstChild.firstChild},b.setSize=b.setOuterSize=function(a){var b=c.getPaddingAndBorder(this.getElement());a.x!=null&&(a.x-=b.x),a.y!=null&&(a.y-=b.y),b=c.getPaddingAndBorder(this.getElement().firstChild),a.x!=null&&(a.x-=b.x),a.y!=null&&(a.y-=b.y),c.setOuterSize(this.getContentElement(),a.x,a.y)}}),DEFINE_CLASS("DlHbox",DlBox,function(a,b,c){var d=c.createElement;b._createElement=function(){a.BASE._createElement.call(this),this.refNode("_row",d("tr",null,null,this._tbody))},b.createCellElement=function(a){var b=d("td",null,{className:"cell"});a!=null?this._row.insertBefore(b,a):this._row.appendChild(b);return b},b._removeWidgetElement=function(a){if(this._widgets.contains(a)){var b=a.getElement();b.parentNode.parentNode.removeChild(b.parentNode)}},b.addFiller=function(){this.addClass("DlHbox-hasFiller")},b.setAlign=function(a,b){var c=this.getElement();switch(a){case"left":c.style.marginLeft="0",c.style.marginRight="auto";break;case"center":c.style.marginRight=c.style.marginLeft="auto";break;case"right":c.style.marginLeft="auto",c.style.marginRight="0";break;default:c.style.marginLeft=a!=null?a:"auto",c.style.marginRight=b!=null?b:"auto"}},b.setEqualWidths=function(a){var b=this.children().max(function(a){return a.getSize().x});a&&(b+=a),this.children().r_foreach(function(a){a.setSize({x:b})})}});function DlPoint(a,b){typeof a=="object"?(this.x=a.x,this.y=a.y):(this.x=a,this.y=b)}DlPoint.prototype={clone:function(){return new DlPoint(this.x,this.y)},normalize:function(a){var b;this.x>a.x&&(b=this.x,this.x=a.x,a.x=b),this.y>a.y&&(b=this.y,this.y=a.y,a.y=b);return this},distanceTo:function(a){var b=Math.abs(a.x-this.x),c=Math.abs(a.y-this.y);return Math.sqrt(b*b+c*c)}};function DlRect(a,b,c,d){a instanceof DlRect?this.setFromRect(a):typeof a=="object"?typeof b=="object"?b instanceof DlPoint?this.setFromPoints(a,b):this.setFromValues(a.x,a.y,b.x,b.y):this.setFromValues(a.x,a.y,c,d):this.setFromValues(a,b,c,d)}DlRect.prototype={setFromRect:function(a){this.x=a.x,this.y=a.y,this.w=a.w,this.h=a.h;return this},setFromPoints:function(a,b){a=a.clone().normalize(b=b.clone()),this.x=a.x,this.y=a.y,this.w=b.x-a.x+1,this.h=b.y-a.y+1;return this},setFromValues:function(a,b,c,d){this.x=a,this.y=b,this.w=c,this.h=d;return this},getTL:function(){return new DlPoint(this.x,this.y)},getBR:function(){return new DlPoint(this.x+this.w-1,this.y+this.h-1)},getPoints:function(){return[getTL(),getBR()]},height:function(a){a!=null&&(this.h=a);return this.h},width:function(a){a!=null&&(this.w=a);return this.w},containsPoint:function(a){return this.x<=a.x&&this.x+this.w>a.x&&this.y<=a.y&&this.y+this.h>a.y},intersect:function(a){var b=null,c=Math,d=c.max(this.x,a.x),e=c.max(this.y,a.y),f=c.min(this.x+this.w,a.x+a.w)-d,g=c.min(this.y+this.h,a.y+a.h)-e;f>0&&g>0&&(b=new DlRect(d,e,f,g));return b},area:function(){return this.w*this.h},makeDiv:function(a,b){b||(b="#000"),a==null&&(a=0);var c={position:"absolute",left:this.x+"px",top:this.y+"px",width:this.w-a*2+"px",height:this.h-a*2+"px",overflow:"hidden",lineHeight:"1px",fontSize:"1px",border:a+"px solid "+b};return c=DynarchDomUtils.createElement("div",c,{innerHTML:"&nbsp;"})},positionDiv:function(a){a.style.left=this.x+"px",a.style.top=this.y+"px",a.style.height=this.h+"px",a.style.width=this.w+"px"},toString:function(){return this.w+"x"+this.h+"@"+this.x+","+this.y}},DEFINE_CLASS("DlPopup",DlContainer,function(a,b,c){var d=c.createElement,e=c.addClass,f=c.delClass,g=c.condClass,h={},i={},j={},k=/DlPopup-scroll(Up|Down)?-hover/g;a.BEFORE_BASE=function(){this.visible=this._hasScrolling=false},a.DEFAULT_EVENTS=["onPopup","onHide"],a.DEFAULT_ARGS={_level:["level",0],_autolink:["autolink",true],_oscroll:["scroll",{step1:5,step2:10,speed:40}],_align:["align",null],_zIndex:["zIndex",1e3],_focusable:["focusable",true],_shadows:["shadows",true]},b.FINISH_OBJECT_DEF=function(){a.BASE.FINISH_OBJECT_DEF.call(this),this.constructor.get=a.get,this.constructor.clearAll=a.clearAll,h[this._objectType]=[],i[this._objectType]={}},a.get=function(a,b){var c=this.prototype._objectType,d=false,e=h[c].length;if(a==null||a>=e)a=e,d=true;var f=i[c];i[c]||(f=i[c]={});var g=f[a];g||(b?g=null:g=f[a]=new this({level:a})),g.detachPopup(),d&&a>0&&g.attachToPopup(h[c].peek());return g},a.clearAll=function(a){var b=h[this.prototype._objectType];b=b[a||0],b&&b.hide()},a.clearAllPopups=function(a){for(var b in j)(!a||!a[b])&&j[b].hide()},b._createElement=function(){var b=this._parent;this._parent=null,a.BASE._createElement.call(this);var c=this.getElement();this.parent=b,this.display(false),document.body.appendChild(c),this._shadows&&!is_ie6?(c.appendChild(DlElementCache.get("SHADOWS")),e(c,typeof this._shadows=="string"?this._shadows:"ThinShadows")):(this._shadows=false,e(c,this._objectType+"-noShadow")),is_gecko&&(c=d("div",null,{className:"Gecko-Bug-302380"},c)),this.refNode("_contentEl",d("div",null,{className:"DlPopup-scrollArea"},c)),this.zIndex(this._zIndex)},b.getContentElement=function(){return this._contentEl},b.getScrollDiv=b.getContentElement,b._scrollSetArrowState=function(){var a=this.getScrollDiv(),b=this._scroll_el(0),c=this._scroll_el(1),d=a.scrollTop==0,e=a.scrollTop+a.offsetHeight==a.scrollHeight;(d||e)&&this._scrollStopHandler(),g(b,d,"DlPopup-scrollUp-disabled"),g(c,e,"DlPopup-scrollDown-disabled")};function l(a){this.getScrollDiv().scrollTop+=this._scrollStep*a,this._scrollSetArrowState()}function m(a,b){a._scrollStep=a._oscroll.step1,a._scrollTimer=setInterval(l.$(a,b),a._oscroll.speed),e(this,"DlPopup-scroll-hover"),g(this,b>0,"DlPopup-scrollDown-hover","DlPopup-scrollUp-hover")}b._scrollStopHandler=function(){this._scrollTimer&&(clearInterval(this._scrollTimer),this._scrollTimer=null,this._scrollSetArrowState()),f(this._scroll_el(0),k),f(this._scroll_el(1),k)},b._scrollDoubleSpeed=function(a){this._scrollStep=this._oscroll[a?"step2":"step1"];return false},b._scroll_setup=function(){if(!this._hasScrolling){this._hasScrolling=true;var a=this.getElement(),b=d("div",null,{className:"DlPopup-scrollUp"},a,0),c=d("div",null,{className:"DlPopup-scrollDown"},a);b.onmouseover=m.$(null,this,-1),c.onmouseover=m.$(null,this,1),b.onmouseout=c.onmouseout=this._scrollStopHandler.$(this),b.onmousedown=c.onmousedown=this._scrollDoubleSpeed.$(this,true),b.onmouseup=c.onmouseup=this._scrollDoubleSpeed.$(this,false),this.refNode("_scrollEl0",b),this.refNode("_scrollEl1",c),this.getScrollDiv().onscroll=this._scrollSetArrowState.$(this)}this._scroll_visibile(true)},b._scroll_el=function(a){return this["_scrollEl"+a]},b._scroll_visibile=function(a){this._hasScrolling&&(is_gecko&&(this.getScrollDiv().parentNode.style.overflow=a?"auto":""),this._scroll_el(1).style.display=this._scroll_el(0).style.display=a=a?"":"none",this.args.scrollVisible=!a)};function n(){h[this._objectType][this._level]=this;if(!this._autolink||this._level==0)j[this.id]=this}function o(){var a=h[this._objectType],b=a[this._level+1];b&&b.hide(),a.splice(this._level,1),j[this.id]&&delete j[this.id]}function p(a){if(this.args.scrollVisible){var b=this.getScrollDiv(),c=b.scrollTop;a.wheelDelta<0?c+=20:(c-=20,c<0&&(c=0)),b.scrollTop=c,a.domStop=true,DlException.stopEventBubbling()}}var q=false;function r(b){var c=b.getObject(),d={};while(c&&!(c instanceof a))c.currentPopup&&(d[c.currentPopup.id]=true),c=c.parent;if(c)while(c!=null)d[c.id]=true,c=c._parentPopup;a.clearAllPopups(d)}b._setListeners=function(){a.BASE._setListeners.call(this),this.addEventListener({onPopup:n,onMouseWheel:p,onHide:o}),q||(q=true,DlEvent.captureGlobal("onMouseDown",r))};function s(a){a.onBeforePopup&&a.onBeforePopup.call(this,a),this._timer=null;this.setContent(a.content)&&(a.onPopup&&a.onPopup.call(this,a),this.applyHooks("onPopup",[a]),this.showAt(a.anchor,a.align||this._align,a.pos,a.shift,a.fluid),this._prevFocus=DlEvent.focusedWidget(),this.focus())}b.popup=function(a){this.args=a,this.cancel(),a.timeout?this._timer=s.$(this,a).delayed(a.timeout):s.call(this,a)};function t(){if(this.visible){this.args&&this.args.onHide&&this.args.onHide.call(this,this.args);if(this._focusable&&this._prevFocus)try{this._prevFocus.focus()}catch(a){}this._timer=this.args=null,this.callHooks("onHide"),this.display(false),this.visible=false}}b.hide=function(a){this.cancel(),a?this._timer=t.$(this).delayed(a):t.call(this)},b.cancel=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},b.correctPos=Function.noop,b.reposition=function(){this.visible&&this.showAt(this.args.anchor,this.args.align||this._align,this.args.pos,this.args.shift,this.args.fluid)},b.showAt=function(a,b,d,e,f){var g,h,i,j=this.getScrollDiv();b||(b=this._align),b=="mouse"?(d==null&&(d=Object.makeCopy(DlEvent.latestMouseEvent.pos)),g=d,this._mouseDiff&&(g.x+=this._mouseDiff.x,g.y+=this._mouseDiff.y),b={prefer:"__",fallX1:"_R",fallX2:"_L",fallY1:"B_",fallY2:"T_"}):(g=c.getPos(a),e&&(e.x&&(g.x+=e.x),e.y&&(g.y+=e.y))),i=c.getOuterSize(a),h=Object.makeCopy(g),this.visibility(false),j.style.height="",this._scroll_visibile(false),this.setPos(-3e4,-3e4),this.display(true),is_ie&&(this.getElement().style.width="");var k=this._bestPosition(b,h,i),l=k.height(),m=this.getScrollDiv().offsetHeight,n=this.getElement().offsetHeight-m;h=k.getTL();if(l<m)if(f)this.children(0).setSize({y:l});else{is_ie&&(this.getElement().style.width=j.offsetWidth+"px"),this._scroll_setup();var o=this._scroll_el(0).offsetHeight,p=this._scroll_el(1).offsetHeight;j.style.height=l-o-p-n+"px",this._scrollSetArrowState(),j.scrollTop=0}this.correctPos(h),this.setPos(h.x,h.y);if(this._parentPopup){var q=this._parentPopup.zIndex()+1;this.zIndex(q)}this.visibility(true),this.visible=true},b._bestPosition=function(a,b,d){var e=c.getWindowSize(),f=new DlRect(0,0,e.x,e.y),g=new DlPoint(b);e=this.getSize(),this._doAlign(a.prefer,g,d);var h=(new DlRect(g,e)).intersect(f),i=this.checkXPos(g,f),j=this.checkYPos(g,f);if(i==0&&j==0)return h;if(i!=0){g.x=b.x,this._doAlign(a.fallX1,g,d);var k=(new DlRect(g,e)).intersect(f);g.x=b.x,this._doAlign(a.fallX2,g,d);var l=(new DlRect(g,e)).intersect(f);k&&l?g=k.area()>l.area()?k.getTL():l.getTL():k?g=k.getTL():l&&(g=l.getTL()),this.args.fallX=true}if(j!=0){g.y=b.y,this._doAlign(a.fallY1,g,d);var m=(new DlRect(g,e)).intersect(f);g.y=b.y,this._doAlign(a.fallY2,g,d);var n=(new DlRect(g,e)).intersect(f);m&&n?g=m.area()>n.area()?m.getTL():n.getTL():m?g=m.getTL():n&&(g=n.getTL()),this.args.fallY=true}return(new DlRect(g,e)).intersect(f)},b._doAlign=function(a,b,c){var d=this.getSize(),e=a.substr(0,1),f="";a.length>1&&(f=a.substr(1,1));switch(e){case"T":b.y-=d.y,this._mouseDiff&&this.args.align=="mouse"&&(b.y-=2*this._mouseDiff.y);break;case"B":b.y+=c.y,this._mouseDiff&&this.args.align=="mouse"&&(b.y+=2*this._mouseDiff.y);break;case"C":case"c":b.y+=(c.y-d.y)/2;break;case"t":b.y+=c.y-d.y;break;case"b":}switch(f){case"L":b.x-=d.x,this._mouseDiff&&this.args.align=="mouse"&&(b.x-=2*this._mouseDiff.x);break;case"R":b.x+=c.x,this._mouseDiff&&this.args.align=="mouse"&&(b.x+=2*this._mouseDiff.x);break;case"C":case"c":b.x+=(c.x-d.x)/2;break;case"l":b.x+=c.x-d.x;break;case"r":}},b.checkXPos=function(a,b){if(a.x<b.x)return a.x-b.x;var c=this.getSize(),d=a.x+c.x-b.x-b.w;return d>0?d:0},b.checkYPos=function(a,b){if(a.y<b.y)return a.y-b.y;var c=this.getSize(),d=a.y+c.y-b.y-b.h;return d>0?d:0},b.attachToPopup=function(a){this._parentPopup=a,a._childPopup=this},b.detachPopup=function(){this._parentPopup&&(this._parentPopup._childPopup=null),this._parentPopup=null},b.getToplevelPopup=function(){var a=this;while(a._parentPopup)a=a._parentPopup;return a},b._handle_focusKeys=function(a){if(!a.altKey&&!a.ctrlKey)if(a.keyCode==DlKeyboard.ESCAPE)this.hide();else if(a.keyCode==DlKeyboard.TAB){var b=a.focusedWidget;b=a.shiftKey?this.getPrevFocusWidget(b):this.getNextFocusWidget(b),b&&b.focus(),a.domStop=true,DlException.stopEventBubbling()}this._handleKeybinding(a)}}),DEFINE_CLASS("DlVbox",DlBox,function(a,b,c){var d=c.createElement;b.createCellElement=function(){return d("td",null,{className:"cell"},d("tr",null,{className:"row"},this._tbody))},b._removeWidgetElement=function(a){if(this._widgets.contains(a)){var b=a.getElement();b.parentNode.parentNode.parentNode.removeChild(b.parentNode.parentNode)}}});function DlMenuBase(){if(!this._isMenuBase){this._isMenuBase=true,this._items=[];var a=this;function b(b,c,d){var e=d?d.widget:null;this._noClose||DlPopupMenu.clearAll(),a.applyHooks.delayed(1,a,"onSelect",[this.name,this,e])}var c=this.appendWidget;this.appendWidget=function(a){a instanceof DlMenuItem&&(this._items.push(a),a.name!=null&&a.addEventListener("onSelect",b)),c.apply(this,Array.$(arguments))},this.getItemByName=function(a){return this._items.grep_first(function(b){return b.name&&b.name==a})},this.getItemById=function(a){return this._items.grep_first(function(b){return b.__itemId&&b.__itemId==a})},this instanceof DlHbox?this._popupAlign={prefer:"Br",fallX1:"_r",fallX2:"_l",fallY1:"B_",fallY2:"T_"}:this._popupAlign={prefer:"bR",fallX1:"_R",fallX2:"_L",fallY1:"b_",fallY2:"t_"},this._getDlPopup=function(){var a=this.getParent(DlPopupMenu),b=0,c;a&&(b=a._level+1),c=DlPopupMenu.get(b),c.detachPopup(),a&&c.attachToPopup(a);return c},this.getToplevelMenu=function(){var a=this;while(a.parentMenu)a=a.parentMenu;return a}}}DEFINE_CLASS("DlPopupMenu",DlPopup,function(a,b){a.CONSTRUCT=function(){this._mouseDiff={x:2,y:1}};function c(){this.cancel();var a=this.args}a.onBeforePopup=function(a){a.isContext?a.widget.activateSubmenu&&a.widget.activateSubmenu(true):(a.item.currentPopup=this,a.menu._popupVisible=a.item._popupVisible=true,a.item.activateSubmenu(true));var b=a.content;b instanceof Function&&(a.content=b=b.call(this)),b.parentMenu=a.isContext?a.widget:a.menu,b instanceof DlWidget&&b.hasHooks("onPopup")&&b.applyHooks("onPopup",[a])},a.onHide=function(a,b){if(a.isContext)a.widget.activateSubmenu&&a.widget.activateSubmenu(false);else{a.item.activateSubmenu(false),a.item.currentPopup=null,a.menu._popupVisible=a.item._popupVisible=false;var c=a.content;c instanceof DlWidget&&c.hasHooks("onHide")&&c.applyHooks("onHide",[a]),c.parentMenu=null}b&&b.call(this,a)},b.popup=function(b){b.onBeforePopup||(b.onBeforePopup=a.onBeforePopup),b.onHide?b.onHide=a.onHide.$(this,b,b.onHide):b.onHide=a.onHide,a.BASE.popup.call(this,b)},b._setListeners=function(){a.BASE._setListeners.call(this),this.addEventListener({onMouseEnter:c})},b.correctPos=function(a){var b=this.args;try{if(!b.isContext&&!b.scrollVisible){var c=b.menu;if(c&&c instanceof DlVMenu){var d=b.content._widgets[0].getPos().y-b.content.parent.getElement().offsetTop;Math.abs(d)<50&&(b.fallY?a.y+=d:a.y-=d)}}}catch(a){}}}),DEFINE_CLASS("DlHMenu",DlHbox,function(a,b){a.CONSTRUCT=DlMenuBase,a.DEFAULT_EVENTS=["onSelect","onPopup"]}),DEFINE_CLASS("DlVMenu",DlVbox,function(a,b){a.CONSTRUCT=DlMenuBase,a.DEFAULT_EVENTS=["onSelect","onPopup"]}),DEFINE_CLASS("DlMenuItem",DlContainer,function(a,b,c){a.CONSTRUCT=function(){this.parentMenu||(this.parentMenu=this.parent)},a.DEFAULT_EVENTS=["onSelect"],a.DEFAULT_ARGS={label:["label","DlMenuItem"],_iconClass:["iconClass",null],_noClose:["noClose",false],parentMenu:["menu",null],name:["name",null],__itemId:["id",null]},b._inBaseMenu=function(){return!this.parentMenu.parentMenu},b._createElement=function(){a.BASE._createElement.call(this);var b=this.getElement();b.innerHTML="<div class=\"div1\"><div class=\"div2\"></div></div>",this.setIconClass(this._iconClass),this._iconClass=null,this.setUnselectable(),this.label&&this.setContent(this.label)},b.getContentElement=function(){return this.getElement().firstChild.firstChild},b._getDlPopup=function(){return this.parentMenu._getDlPopup()};function d(){this.scrollIntoView(),this.addClass("DlMenuItem-hover","DlMenuItem-active");var a=this._inBaseMenu();if(!a||this.parentMenu._popupVisible)this._menu?this._popupMenu(a?0:250):a&&this._getDlPopup().hide(100)}function e(){this.delClass("DlMenuItem-hover"),this.delClass("DlMenuItem-active");var a=this._inBaseMenu();a||this._getDlPopup().hide(100)}function f(){this.delClass("DlMenuItem-active");if(this.hasHooks("onSelect")){var a=DlPopupMenu.get(0).args;this._noClose||DlPopupMenu.clearAll(),this.applyHooks.delayed(1,this,"onSelect",[this.name,this,a])}}function g(){this.addClass("DlMenuItem-active"),this._popupMenu(0),DlException.stopEventBubbling()}function h(){this._menu instanceof DlWidget&&(this._menu.destroy(),this._menu=null)}b._popupMenu=function(a){if(this._menu&&!this._popupVisible){var b=this.parentMenu,c=this._getDlPopup();c.visible&&c.hide(),c.popup({timeout:a,content:this.getMenu(),anchor:this.getElement(),align:b._popupAlign,item:this,menu:this.parentMenu,onPopup:this._onPopup,onHide:this._onHide})}},b._setListeners=function(){a.BASE._setListeners.call(this),this.addEventListener({onMouseEnter:d,onMouseLeave:e,onMouseDown:g,onMouseUp:f,onDestroy:h})},b.getMenu=function(){return this._menu},b.setMenu=function(a,b,d){this._menu instanceof DlWidget&&this._menu.destroy(),a instanceof DlWidget&&a.ref(),this._menu=a,this._onPopup=b,this._onHide=d,c.condClass(this.getElement().firstChild,a,"DlMenuItem-withPopup")},b.activateSubmenu=function(a){this.condClass(a,"DlMenuItem-popped")}}),DEFINE_CLASS("DlButtonMenu",DlHbox,function(a,b){a.CONSTRUCT=DlMenuBase,a.DEFAULT_EVENTS=["onSelect","onPopup","onHide","onClick"],a.DEFAULT_ARGS={label:["label",null],_iconClass:["iconClass",null],_shiftMenu:["shiftMenu",null],_connected:["connected",false]},b.ALIGN={prefer:"Br",fallX1:"_r",fallX2:"_l",fallY1:"B_",fallY2:"T_"},b.activateSubmenu=function(a){this._mainBtn.condClass(a,"DlButton-1"),this._menuBtn.condClass(a,"DlButton-1")},b._createElement=function(){a.BASE._createElement.call(this),this._mainBtn=new DlButton({parent:this,focusable:false,label:this.label,className:"LabelPart",noCapture:this._connected,iconClass:this._iconClass}),this._mainBtn.connectEvents("onClick",this),this._menuBtn=new DlButton({parent:this,focusable:false,label:"&nbsp;",className:"MenuArrow",noCapture:true}),this._menuBtn.getElement().parentNode.style.width="3px",this._menuBtn.getContentElement().className="MenuArrow-inner",this._connected&&this._mainBtn.connectEvents("onMouseDown",this._menuBtn),this._mainBtn.connectEvents(["onMouseEnter","onMouseLeave"],this._menuBtn),this._menuBtn.addEventListener("onMouseDown",this._do_popupMenu.$(this)),this.addEventListener("onDestroy",this.setMenu.$(this,null))},b._do_popupMenu=function(a){if(!this._popupVisible){var b=this._getContextMenuPopup();b.popup({timeout:0,content:this.getMenu(),align:this.ALIGN,anchor:this.getTableElement(),isContext:true,widget:this,shift:this._shiftMenu,onHide:this.callHooks.$(this,"onHide")}),a instanceof DlEvent&&(a._justFocusedWidget=b),this.callHooks("onPopup")}},b.getMenu=function(){return this._menu},b.getButton=function(){return this._mainBtn},b.getArrow=function(){return this._menuBtn},b.setMenu=function(a){this._menu instanceof DlWidget&&this._menu.destroy(),a instanceof DlWidget&&a.ref(),this._menu=a}});var DlElementCache={get:function(a){return this[a].cloneNode(true)}};(function(){var a=DynarchDomUtils.createElement,b=Dynarch.ID,c=DlElementCache;(function(){var b=document.createDocumentFragment();a("td",null,null,a("tr",null,null,a("tbody",null,null,b))),c.TBODY_RC=b})(),function(){var b=document.createDocumentFragment();a("div",null,{className:"Shadow Shadow-TL"},b),a("div",null,{className:"Shadow Shadow-T"},b),a("div",null,{className:"Shadow Shadow-TR"},b),a("div",null,{className:"Shadow Shadow-L"},b),a("div",null,{className:"Shadow Shadow-R"},b),a("div",null,{className:"Shadow Shadow-BL"},b),a("div",null,{className:"Shadow Shadow-B"},b),a("div",null,{className:"Shadow Shadow-BR"},b),c.SHADOWS=b}(),function(){var b=a("tr"),d=a("td",null,null,b);(6).times(function(){b.appendChild(d.cloneNode(true))}),c.CAL_HEAD=a("thead"),c.CAL_HEAD.appendChild(b.cloneNode(true));var e=c.CAL_BODY=a("tbody");(6).times(function(){e.appendChild(b.cloneNode(true))})}(),c.DRAGGING_LINE=a("div",null,{className:"DlResizeBar-DraggingLine"})})(),DEFINE_CLASS("DlCalendar",DlWidget,function(a,b,c){var d=c.createElement,e=c.addClass,f=c.delClass,g=c.condClass;a.FIXARGS=function(a){a.tagName="table",this._dayNamesOn=-1,this._selectedDate=a.date&&a.selected?a.date.getDate():0},a.CONSTRUCT=function(){this._noinit||this.init()},a.DEFAULT_EVENTS=["onSelect","onChange","onRendered"],a.DEFAULT_ARGS={firstDay:["firstDay",Date.getFirstDayOfWeek()],fixedFirstDay:["fixedFirstDay",true],_weekNumbers:["weekNumbers",false],date:["date",null],selected:["selected",true],_navigation:["navigation",2],_navDisabled:["navDisabled",false],_omDisabled:["omDisabled",false],_noinit:["noinit",false],_withMenu:["withMenu",false],_disableHandler:["disableHandler",Function.returnFalse],_cal_tooltip:["dayTooltip",null],_infoDates:["infoDates",null],__tooltip:["tooltip",m]},b._createElement=function(){a.BASE._createElement.call(this);var b,c,e,f,g=this.getElement(),h=DlElementCache.get("CAL_BODY");g.cellSpacing=g.cellPadding=g.border=0,g.appendChild(DlElementCache.get("CAL_HEAD")),g.appendChild(h);if(this._weekNumbers)for(b=g.getElementsByTagName("tr"),c=b.length;--c>=0;)e=b[c],f=d("td",null,{className:"DlCalendar-WeekNumber"}),e.insertBefore(f,e.firstChild);e=d("tr"),f=d("td",null,null,e),e.className="DlCalendar-Navigation";if(this._navigation==0)f.colSpan=this.getNCols(),this._makeNavPart(f,0);else{var i=d("td",null,null,e),j=d("td",null,null,e);if(this._navigation==1)i.colSpan=this.getNCols()-2,this._makeNavPart(i,0,f,-1,j,1);else if(this._navigation==2){var k=d("td",null,null,e),l=d("td",null,null,e);j.colSpan=this.getNCols()-4,this._makeNavPart(j,0,f,-2,i,-1,k,1,l,2)}}c=g.rows[0],c.parentNode.insertBefore(e,c),this.setUnselectable(),this._withMenu&&this._createQuickNavMenu()};var h=null;function i(){if(!h){h=new DlVMenu({}),h.setStyle("textAlign","center"),new DlMenuItem({parent:h,label:DlTEXTS.goToday,name:"today",noClose:true}),h.addSeparator();var a=new DlSpinner({parent:h,size:4});a.addEventListener("onChange",function(){a.validationError||h.calendar.setYear(a.getValue())}),a.getElement().align="center",h.addSeparator(),(12).times(function(a){new DlMenuItem({parent:h,label:Date.getMonthName(a),name:a,noClose:true})}),h.addEventListener("onPopup",function(b){this.calendar=b.widget,a.setValue(this.calendar.date.getFullYear()),a.focus.$(a).delayed(5)}),h.addEventListener("onSelect",function(b){b=="today"?this.calendar.setToday():(this.calendar.setMonth(b),this.calendar.setYear(a.getValue())),h.getParent(DlPopup).hide()})}return h}b._createQuickNavMenu=function(){this.setContextMenu(i)},b._makeNavPart=function(){for(var a,b,c=0;c<arguments.length;++c){a=arguments[c++];switch(a._navType=b=arguments[c]){case-2:a.className="PrevYear";break;case-1:a.className="PrevMonth";break;case 0:a.className="Month",this.refNode("_monthTD",a);break;case 1:a.className="NextMonth";break;case 2:a.className="NextYear"}}},b.getNCols=function(){return this._weekNumbers?8:7},b.getTableElement=function(){return this.getElement()},b._displayDayNames=function(){var a,b=new Date,c=b.getDay(),d=this.getTableElement().getElementsByTagName("tr")[1],e=this._weekNumbers?1:0,f=this.firstDay;d.className="DlCalendar-DayNames";while(a=d.cells[e++])a._firstDay=f%7,g(a,f==c,"Today"),a.innerHTML=Date.getDayName(f++,true),g(a,Date.isWeekend(a._firstDay),"WeekEnd");this._dayNamesOn=this.firstDay,this._weekNumbers&&(a=d.cells[0],a.innerHTML="w",a._week=-1,a.className="WeekNumber")},b._displayCalendar=function(){var a=new Date,b=a.getFullYear(),c=a.getMonth(),d=a.getDate();this._selectedTD=null,this._dayNamesOn!=this.firstDay&&this._displayDayNames();var e=new Date(this.date);e.setHours(12);var f=e.getMonth(),g=e.getDate(),h=e.getFullYear(),i=e.getMonthDays();this._monthTD.innerHTML=String.buffer("<b>",Date.getMonthName(f,this._navigation==2),"</b> ",h).get(),e.setDate(1);var j=(e.getDay()-this.firstDay)%7;j<0&&(j+=7),e.setDate(-j),e.setDate(e.getDate()+1);for(var k=this.getTableElement().rows[2],l=this._cells=[],m=this._displayedInterval={},n,o=0;o<6;++o,k=k.nextSibling){k.className="Dates";var p=k.firstChild;this._weekNumbers&&(p.className="WeekNumber",p.innerHTML=p._week=e.getWeekNumber(),p=p.nextSibling);for(var q,r=0;r<7;++r,p=p.nextSibling,e.setDate(q+1)){var s=e.getDay(),t=[];p._iday=q=e.getDate(),p._month=e.getMonth(),p._year=e.getFullYear(),p._info=null,n={y:p._year,m:p._month,d:p._iday};if(this._infoDates){var u=n.y+"-"+(1+n.m).zeroPad(2)+"-"+n.d.zeroPad(2),v=this._infoDates[u];v&&(p._info=v,t.push(v.className||"DlCalendar-infoDay"))}m.start||(m.start=n),(p._otherMonth=f!=n.m)?(t.push("OtherMonth"),l[q+(q>15?100:200)]=p):(f==c&&q==d&&b==n.y&&t.push("Today"),this._selectedDate==q&&(this._selectCell(p),t.push("Selected")),l[q]=p),(s==0||s==6)&&t.push("WeekEnd"),p.disabled=this._disableHandler(e,t,p),p.innerHTML=this.getDayHTML(q),p.className=t.join(" ")}}m.end=n,this.applyHooks("onRendered",[this])},b.getDayHTML=Function.identity,b.getDateCell=function(a){return this._cells[a]},b.getDisplayedInterval=function(){return this._displayedInterval},b.selectDate=function(a,b){a instanceof Date&&(a.dateEqualsTo(this.date,true)||(this.date=new Date(a),this.init()),a=a.getDate()),this._selectCell(this.getDateCell(a),!b)},b.clearSelection=function(){this._selectedDate=null,this._initialized&&this._displayCalendar()};function j(a){this._clearTimer();var b=a.getParentElement("td",this);if(b){this._currentHover&&(f(this._currentHover,"hover"),f(this._currentHover,"rolling"),this._currentHover=null,DlWidget.getTooltip().hide());if(b._navType!=null&&this._navDisabled)return;if(b._otherMonth&&this._omDisabled)return;if(b._firstDay!=null&&this.fixedFirstDay||b._week!=null)return;if(b.disabled)return;e(b,"hover"),this._currentHover=b,this.__tooltip&&this._popupTooltip()}}function k(a){this._clearTimer(),this._currentHover&&(f(this._currentHover,"hover"),f(this._currentHover,"rolling"),this._currentHover=null)}b.setYear=function(a){a!=this.date.getFullYear()&&(this.date.setFullYear(a),this.init())},b.setMonth=function(a){a!=this.date.getMonth()&&(this.date.setMonth(a),this.init())},b.setToday=function(){var a=new Date;this._selectedDate=0,this.date=a,this.init()},b._navCellClicked=function(a,b,c){e(a,"rolling"),this._selectedDate=0;var d=this.date;a._navType!=0&&d.setDate(1);switch(a._navType){case 0:if(this._withMenu)this.applyHooks("onContextMenu",[c]);else{var f=new Date;if(d.dateEqualsTo(f,true))return;this.date=f}break;case-2:d.setFullYear(d.getFullYear()-1);break;case-1:d.setMonth(d.getMonth()-1);break;case 1:d.setMonth(d.getMonth()+1);break;case 2:d.setFullYear(d.getFullYear()+1)}this.init(),this.applyHooks("onChange",[a._navType]),this.applyHooks("onSelect",[true,a._navType,null,d]),b&&a._navType!=0&&(++this._timerStep,this._timer=setTimeout(this._navCellClicked.$(this,a,this._timerStep>4?50:100),b))},b._clearTimer=function(){this._timer&&clearTimeout(this._timer),this._timer=null,this._timerStep=0};function l(a){j.call(this,a);var b=a.getParentElement("td",this);if(b){if(a.button!=0&&(b._navType!=null||b._otherMonth))return;if(b._otherMonth&&this._omDisabled||b.disabled)return;if(b._navType!=null&&a.dl_type=="onMouseDown")this._navDisabled||this._navCellClicked(b,b._navType!=0?350:0,a);else if(b._year!=null&&a.dl_type=="onMouseUp"){var c=this.date;c.setFullYear(b._year,b._month,b._iday);var d=this._selectedDate;this._selectedDate=b._iday,b._otherMonth?(this.init(),this.applyHooks("onSelect",[false,true,false,c])):d!=this._selectedDate?this._selectCell(b,true):this.applyHooks("onSelect",[false,false,true,c])}else b._firstDay!=null&&!this.fixedFirstDay&&a.button==0&&a.dl_type=="onMouseDown"&&(this.firstDay=b._firstDay,this._displayCalendar())}}b._selectCell=function(a,b){this._selectedDate=a._iday,this._selectedTD&&(f(this._selectedTD,"Selected"),f(this._selectedTD.parentNode,"Selected")),this._selectedTD=a,e(a,"Selected"),e(a.parentNode,"Selected"),f(a,"hover"),b&&this.applyHooks("onSelect",[false,false,false,this.date])},b._setListeners=function(){a.BASE._setListeners.call(this),this.addEventListener({onMouseOver:j,onMouseLeave:k,onMouseUp:l,onMouseDown:l})},b.setInfoDates=function(a){this._infoDates=a,this._initialized&&this._displayCalendar()};function m(){var a=this.args.widget,b,c;(c=a._currentHover)&&(b=c._info);return(c=a._cal_tooltip)?c.call(a,b):b?b.tooltip:null}b.init=function(){this.date||(this.date=new Date),this._displayCalendar(),this._initialized=true},b.setSize=b.setOuterSize=function(b){a.BASE.setOuterSize.call(this,{x:b.x!=null?b.x+2:null,y:b.y})}}),DEFINE_CLASS("DlButtonCalendar",DlButtonMenu,function(a,b){a.DEFAULT_ARGS={dateFormat:["dateFormat","%Y/%m/%d"],_calendarArgs:["calendar",{}],_iconClass:["iconClass","IconCalendar"],date:["date","Select date..."]},a.DEFAULT_EVENTS=["onSelect","onCalendarRendered"];function c(a,b,c){b||(this.getButton().setContent(a.date.print(this.dateFormat)),DlPopup.clearAllPopups(),this.date=new Date(a.date),this.applyHooks("onSelect",[this.date]))}function d(a){if(this.date instanceof Date){var b=this.getCalendar();b.date.dateEqualsTo(this.date)||(b.date=new Date(this.date),b._selectedDate=this.date.getDate(),b.init())}this.getArrow().applyHooks("onMouseDown",[a])}b.getCalendar=function(){var a=this._calendar;a||(this._calendarArgs.noinit=true,a=this._calendar=new DlCalendar(this._calendarArgs),this.addEventListener("onDestroy",a.destroy.$(a)),a.addEventListener("onSelect",c.$(this,a)),a.connectEvents("onRendered",this,"onCalendarRendered"),this.date instanceof Date&&(a.date=new Date(this.date)),a.init());return this._calendar},b.initDOM=function(){a.BASE.initDOM.call(this);var b=this.getButton();this.date instanceof Date?b.label(this.date.print(this.dateFormat)):b.label(this.date),this.setMenu(this.getCalendar.$(this)),b.addEventListener("onClick",d.$(this))},b.getValue=function(){return this.date instanceof Date?this.date:null}}),DEFINE_CLASS("DlButtonColorPicker",DlButtonMenu,function(a,b,c){a.CONSTRUCT=function(){this._events_cp={onSelect:d.$(null,this),onHueChange:f.$(null,this),onHover:e.$(null,this),onHoverOut:g.$(null,this)},this._updateValues()},a.DEFAULT_ARGS={rgb:["rgb",null],hsv:["hsv",null],color:["color",null]};function d(a,b,c,d,e){var f=a.getColorElement();f.style.backgroundColor=d,a.hsv=Array.$(c),a._updateValues(),DlPopup.clearAllPopups(),a.applyHooks("onSelect",[b,c,d,e])}function e(a,b,c,d,e){a.getColorElement().style.backgroundColor=d}function f(a,b){if(a.hsv){var c=[b,a.hsv[1],a.hsv[2]],d=DlColor.RGB2color(DlColor.HSV2RGB(c));a.getColorElement().style.backgroundColor=d,a.hsv=c,a._updateValues()}}function g(a){var b=a.getColorElement();b.style.backgroundColor=a.rgb?DlColor.RGB2color(a.rgb):""}b._updateValues=function(){this.hsv?(this.rgb=DlColor.HSV2RGB(this.hsv),this.color=DlColor.RGB2color(this.rgb)):this.rgb?(this.hsv=DlColor.RGB2HSV(this.rgb),this.color=DlColor.RGB2color(this.rgb)):this.color&&(this.rgb=DlColor.color2RGB(this.color),this.hsv=DlColor.RGB2HSV(this.rgb))};function h(){this._cp.addEventListener(this._events_cp),this.hsv&&this._cp.setHSV(this.hsv)}function i(){this._cp.removeEventListener(this._events_cp)}b.setColorPicker=function(a){this._cp=a,this.setMenu(a),this.hsv&&(a.setHSV(this.hsv),d.call(a,this,this.rgb,this.hsv,DlColor.RGB2color(this.rgb),DlColor.RGBrightness(this.rgb)))},b._createElement=function(){a.BASE._createElement.call(this);var b=this.getButton().setContent(["<table cellspacing='0' cellpadding='0'><tr><td>","<div unselectable='on' class='ColorPart'>&nbsp;</div>","</td><td></td></tr></table>"].join(""));this.setLabel(this.label)},b.setLabel=function(a){var b=this.getLabelElement();b.innerHTML=a||"",c.condClass(b,a,"Label","EmptyLabel")},b.getColorElement=function(){return this.getButton().getContentElement().firstChild.rows[0].cells[0].firstChild},b.getLabelElement=function(){return this.getButton().getContentElement().firstChild.rows[0].cells[1]},b._setListeners=function(){a.BASE._setListeners.call(this),this.addEventListener({onPopup:h,onHide:i})}}),DEFINE_CLASS("DlCheckbox",DlAbstractButton,function(a,b){a.DEFAULT_ARGS={_classes:["classes",{active:"DlCheckbox-active",hover:"DlCheckbox-hover",checked:"DlCheckbox-1",unchecked:"DlCheckbox-0",empty:"DlCheckbox-empty",disabled:"DlCheckbox-disabled"}]},a.FIXARGS=function(a){a.type=DlButton.TYPE.TWOSTATE}});var DlColor={RGB2HSV:function(a){var b=a[0],c=a[1],d=a[2],e,f,g,h,i,j;e=Math.min(b,c,d),g=(j=f=Math.max(b,c,d))-e,f!=0?(i=g/f,b==f?h=(c-d)/g:c==f?h=2+(d-b)/g:h=4+(b-c)/g,h*=60,h<0&&(h+=360)):(i=0,h=-1);return[h,i,j]},HSV2RGB:function(a){var b=a[0],c=a[1],d=a[2],e,f,g,h,i,j,k,l;if(c==0)f=g=h=d;else{b/=60,e=Math.floor(b),i=b-e,j=d*(1-c),k=d*(1-c*i),l=d*(1-c*(1-i));switch(e){case 0:f=d,g=l,h=j;break;case 1:f=k,g=d,h=j;break;case 2:f=j,g=d,h=l;break;case 3:f=j,g=k,h=d;break;case 4:f=l,g=j,h=d;break;default:f=d,g=j,h=k}}return[f,g,h]},RGB2bytes:function(a){var b=new Array(3);b[0]=Math.round(a[0]*255),b[1]=Math.round(a[1]*255),b[2]=Math.round(a[2]*255);return b},RGB2color:function(a){return String.buffer("rgb(",a[0]*100,"%,",a[1]*100,"%,",a[2]*100,"%)").get()},RGB2hex:function(a){a=DlColor.RGB2bytes(a);return a[0].hex(2)+a[1].hex(2)+a[2].hex(2)},color2RGB:function(a){var b=0,c=0,d=0;if(/^#/.test(a))a.length==4&&(a=a.replace(/([a-f0-9])/ig,"$1$1")),b=parseInt(a.substr(1,2),16)/255,c=parseInt(a.substr(3,2),16)/255,d=parseInt(a.substr(5,2),16)/255;else throw new DlException("Can't parse color: "+a);return[b,c,d]},brighter:function(a){var b=Array.$(a);b[1]-=.5,b[1]<0&&(b[1]=0);return b},darker:function(a){var b=Array.$(a);b[2]-=.5,b[2]<0&&(b[2]=0);return b},RGBrightness:function(a){return(a[0]*299+a[1]*587+a[2]*114)/1e3}};DEFINE_CLASS("DlColorPickerHSV",DlWidget,function(a,b,c){var d=c.delClass,e=c.condClass;a.DEFAULT_EVENTS=["onSelect","onHover","onHoverOut","onHueChange"];var f=String.buffer("<table cellspacing='1' cellpadding='0' border='0'>","<tbody>","<tr>","<td></td>".repeat(11),"<td rowspan='11' class='DlColorPickerHSV-Sep'></td>","<td rowspan='11' class='DlColorPickerHSV-HSV' hueCell='1'>","<div class='DlColorPickerHSV-HSV-bar'></div>","</td>","</tr>",("<tr>"+"<td></td>".repeat(11)+"</tr>").repeat(10),"</tbody></table>").get();b.getHueBarElement=function(){return this.getElement().rows[0].cells[12].firstChild},b._createElement=function(){a.BASE._createElement.call(this,f),this.setUnselectable()};function g(a){var b=a.target;try{while(b&&b.tagName.toLowerCase()!="td")b=b.parentNode}catch(a){b=null}return b}function h(a){var b=g(a);if(b){b.rgb&&this.applyHooks("onSelect",[b.rgb,b.hsv,b.style.backgroundColor,DlColor.RGBrightness(b.rgb)]);throw new DlExStopEventBubbling}}function i(a){var b=g(a);if(b){var c=b.getAttribute("hueCell");c&&(a.computePos(this),this._refresh(a),DlEvent.captureGlobals(this._dragHandlers));throw new DlExStopEventBubbling}}function j(a){this._currentHover&&(d(this._currentHover,"hover1"),d(this._currentHover,"hover2"));var b=g(a);if(b)if(b.rgb){this._currentHover=b;var c=DlColor.RGBrightness(b.rgb);e(b,c>.6,"hover2","hover1"),this.applyHooks("onHover",[b.rgb,b.hsv,b.style.backgroundColor,c])}else this._currentHover&&(this.callHooks("onHoverOut"),this._currentHover=null)}function k(){var a=this._currentHover;a&&(d(a,"hover1"),d(a,"hover2"),this.callHooks("onHoverOut")),this._currentHover=null}function l(a){DlEvent.releaseGlobals(this._dragHandlers);throw new DlExStopEventBubbling}function m(a){var b=a.computePos(this),c=b.y-2;c<0?c=0:c>119&&(c=119),this.getHueBarElement().style.top=c+"px",this.__cphsvTimeout&&clearTimeout(this.__cphsvTimeout),this.__cphsvTimeout=this._refresh.$(this,a).delayed(5);throw new DlExStopEventBubbling}b.initDOM=function(){a.BASE.initDOM.call(this),this.addEventListener({onMouseUp:h,onMouseDown:i,onMouseOver:j,onMouseLeave:k}),this._dragHandlers={onMouseMove:m.$(this),onMouseUp:l.$(this),onMouseOver:DlException.stopEventBubbling,onMouseOut:DlException.stopEventBubbling,onMouseEnter:DlException.stopEventBubbling,onMouseLeave:DlException.stopEventBubbling},this._redraw(360)},b._refresh=function(a){var b=Math.limit(a.relPos.y-2,0,119),c=Math.round((1-b/120)*360);c=this._redraw(c),this.applyHooks("onHueChange",[c]),this.__cphsvTimeout=null},b.setHSV=function(a){this._redraw(a[0])},b._redraw=function(a){var b,c,d,e,f=this.getHueBarElement(),g=this.getElement(),h=g.rows,i=h.length-1,j=h[0].cells.length-3;for(f.style.top=120-a/3+"px",a==360&&(a=0),b=i;b>=0;--b)for(e=h[b].cells,d=j;d>=0;--d)c=e[d],c.hsv=[a,1-b/i,d/j],c.rgb=DlColor.HSV2RGB(c.hsv),c.style.backgroundColor=DlColor.RGB2color(c.rgb);return a}}),DEFINE_CLASS("DlEntry",DlContainer,function(a,b,c){var d=c.createElement;a.FIXARGS=function(a){a.tagName="table",this._isTextArea=a.type=="textarea"},a.DEFAULT_EVENTS=["onChange","onKey-ENTER","onKey-ESCAPE","onValidationError","onValidation"],a.DEFAULT_ARGS={_domType:["type","text"],_value:["value",null],_size:["size",null],_rows:["rows",null],_readonly:["readonly",false],_emptyText:["emptyText",""],_emptyValue:["emptyValue",""],_width:["width",null],_name:["name",null],_validators:["validators",[]],_allowEmpty:["allowEmpty",null],_focusable:["focusable",2],_maxlen:["maxlength",null],_noSelect:["noSelect",false],_noWrap:["noWrap",false]},b.validate=function(a){a==null&&(a=this.getValue(true));if(this._allowEmpty!=null)if(!/\S/.test(a)){this.condClass(!this._allowEmpty,"DlEntry-ValidationError"),this.applyHooks("onValidation",[!this._allowEmpty]);return this._allowEmpty}var b=this._validators,c,d,e=false;for(c=0;c<b.length;++c){d=b[c];if(!d.ok(a)){e=d.getError()||true;break}}d&&!e&&this.setValue(d.getLastVal(),true),this.validationError=e,!this._noSelect&&this._focused&&!this.readonly()&&this._domType!="textarea"&&this.select(),this.condClass(e,"DlEntry-ValidationError"),this.applyHooks("onValidation",[e]),e&&(this.setInvalidTooltip(e.message),this.applyHooks("onValidationError",[e]));return!e},b.setInvalidTooltip=function(a){this._invalidTooltip.setTooltip(a)},b.timerFocus=function(a){return this.focus.clearingTimeout(a||10,this)},b.select=function(){try{is_gecko?this.setSelectionRange(0,this.getValue(true).length):this.getInputElement().select()}catch(a){}},b.focus=function(){this.getInputElement().focus(),!this._noSelect&&!this.readonly()&&this._domType!="textarea"&&this.select()},b.blur=function(){this.getInputElement().blur()};function e(){this.addClass("DlEntry-Focus"),this._focused=true,a.BASE.focus.call(this),this._isEmpty&&(this.getInputElement().value="",this.delClass("DlEntry-empty"),this._isEmpty=false)}function f(){this.delClass("DlEntry-Focus"),this._focused=false,a.BASE.blur.call(this),this.__setEmpty()}function g(){this.__setEmpty(),this.callHooks("onChange")}b.__setEmpty=function(a){a==null&&(a=this.getInputElement().value),this._isEmpty=this.__checkEmpty(a),this._isEmpty?this._focused?this.getInputElement().value=a:(this.addClass("DlEntry-empty"),this.getInputElement().value=""):this.delClass("DlEntry-empty");return this._isEmpty},b.__checkEmpty=function(a){a==null&&(a=this.getInputElement().value);return a===""},b._createElement=function(){a.BASE._createElement.apply(this,arguments);var b=this.getElement();b.appendChild(DlElementCache.get("TBODY_RC")),b.cellSpacing=b.cellPadding=b.border=0,b=b.rows[0].cells[0],b.className="DlEntry-cell";var c=this._isTextArea?document.createElement("textarea"):c=document.createElement("input");c.id=this.id+"-input",c.setAttribute("autocomplete","off",1),this._noWrap&&c.setAttribute("wrap","off"),this._isTextArea&&(this._rows&&(c.rows=this._rows)),this._maxlen!=null&&c.setAttribute("maxlength",this._maxlen);switch(this._domType){case"password":case"file":case"hidden":c.type=this._domType}is_gecko&&gecko_version<1.9&&!this._no_gecko_bug&&(b=d("div",null,{className:"Gecko-Bug-226933"},b)),b=d("div",{position:"relative",overflow:"hidden"},null,b),this._emptyText&&d("label",null,{htmlFor:this.id+"-input",className:"DlEntry-emptyText",innerHTML:this._emptyText.htmlEscape()},b),b.appendChild(c),this.refNode("_invalidTooltip",new DlWidget({className:"DlEntry-invalidIcon",parent:this,appendArgs:b}))},b.getInputElement=function(){return this.getElement().getElementsByTagName(this._isTextArea?"textarea":"input")[0]},b.getContentElement=b.getInputElement,b.setIfEmpty=function(a,b){this._isEmpty&&a&&this.setValue(a,b)},b.isEmpty=function(){return this.__checkEmpty()},b.setValue=function(a,b){this.__setEmpty(a)||(this._maxlen!=null&&(a=String(a).substr(0,this._maxlen)),this.getInputElement().value=a),b||this.callHooks("onChange")},b.clear=function(a){this.setValue("",a);return this},b.getValue=function(a){return!a&&this.isEmpty()?this._emptyValue:this.getInputElement().value},b.getSelectionRange=function(){return c.getSelectionRange(this.getInputElement())},b.setSelectionRange=function(a,b){c.setSelectionRange(this.getInputElement(),a,b)},b.moveEOF=function(){var a=this.getValue(true).length;this.setSelectionRange(a,a)},b.moveBOF=function(){this.setSelectionRange(0,0)},b.collapse=function(a){var b=this.getSelectionRange();b=a?b.start:b.end,this.setSelectionRange(b,b)};function h(){this.validate()}function i(a){this._isEmpty=false,a.keyCode==DlKeyboard.ENTER?this.applyHooks("onKey-ENTER",[a]):a.keyCode==DlKeyboard.ESCAPE&&this.applyHooks("onKey-ESCAPE",[a])}function j(){c.removeEvent(this.getInputElement(),{focus:this._on_element_focus,blur:this._on_element_blur,change:this._on_element_change})}b.initDOM=function(){a.BASE.initDOM.call(this);var b=this.getInputElement();c.addEvent(b,{focus:this._on_element_focus=e.$(this),blur:this._on_element_blur=f.$(this),change:this._on_element_change=g.$(this)}),this.addEventListener({onChange:h,onKeyPress:i,onDestroy:j}),this._value!=null?this.setValue(this._value,true):this.clear(true),this._width!=null?b.style.width=this._width:this._size!=null&&this.setSize({x:this._size*9+7-this._size}),this._name!=null&&(b.name=this._name),this.readonly(this._readonly)},b.readonly=function(a){var b=this.getInputElement();a!=null&&((b.readOnly=a)?b.setAttribute("readonly",true,1):b.removeAttribute("readonly"),this.condClass(a,"DlEntry-Readonly"));return b.getAttribute("readonly")},b.disabled=function(b,c){var d=a.BASE.disabled.call(this,b,c);b!=null&&(this.getInputElement().disabled=!!b);return d},b.setSize=b.setOuterSize=function(a){var b=this.getInputElement(),d=a.x,e=a.y,f=c.getPaddingAndBorder(this.getElement()),g=c.getPaddingAndBorder(b),h=this._btn?this._btn.getSize().x:0;h?c.setOuterSize(b,a.x-f.x-g.x-h+2):(d!=null&&(d-=g.x+4),e!=null&&(e-=g.y+4),this._domType!="textarea"&&(e=null),c.setInnerSize(b,d,e),d!=null&&(d+=8,c.setInnerSize(this.getElement(),d)))},b._makeButton=function(a,b,c,e){!e&&!c&&(c="DlEntry-dropDownBtn",e={hover:"DlEntry-dropDownBtn-hover",active:"DlEntry-dropDownBtn-active"});var f=d("td",null,null,this.getElement().rows[0]);return this._btn=new DlAbstractButton({parent:this,appendArgs:f,label:a,iconClass:b,className:c,classes:e})}}),DEFINE_CLASS("DlCompletionEntry",DlEntry,function(a,b,c){a.DEFAULT_EVENTS=["onCompletion","onSelect"],a.DEFAULT_ARGS={__timeout:["timeout",500],_shiftMenu:["shift",null],__smart:["smart",true],__noTab:["noTab",false],_noSelect:["noSelect",true],_sizeToFit:["sizeToFit",false],_electric:["electric",true]},b.ALIGN={prefer:"Br",fallX1:"_r",fallX2:"_L",fallY1:"B_",fallY2:"T_"},b._setListeners=function(){this.__on_itemHover=j.$(null,this),this.__on_itemSelect=k.$(null,this),a.BASE._setListeners.call(this),this.addEventListener({onKeyDown:n,onBlur:o,onDestroy:this.__clearTimer})},b._hideMenu=function(){e().hide(50),this.__clearTimer()},b.__clearTimer=function(){this.__timer&&clearTimeout(this.__timer),this.__timer=null};var d=null;function e(){d||(d=DlCompletionPopup.get());return d}var f=null,g=null;function h(){f&&(g=null,f.destroy());return f=new DlVMenu({})}function i(){return f&&f.parent.visible}function j(a,b){var c=f.children().find(this);c!=g&&g!=null&&f.children(g).callHooks("onMouseLeave"),g=c,(a._electric||!b)&&a._applyCompletion(this.userData)}function k(a){a._hideMenu(),a._applyCompletion(this.userData,true),a.applyHooks("onSelect",[this.userData]),a.focus.delayed(0,a)}b._applyCompletion=function(a,b){if(!a.nomodify||b){var c=this.getSelectionRange(),d=a.completion||a.label;b&&a.after&&(d+=a.after);var e=this.getValue(),f=a.start!=null?a.start:c.start;e=e.substr(0,f)+d+e.substr(c.end),this.setValue(e),c.end=f+d.length,a.rstart!=null&&(c.start=a.rstart);if(a.noselect||b)c.start=c.end;this.setSelectionRange(c)}},b._on_menuHide=function(){f&&(f.destroy(),g=f=null)},b.completionReady=function(a){if(this.__timer||this.__forced)if(a!=null&&a.length>0)if(this.__smart&&a.length==1)this._applyCompletion(a[0],true),this.applyHooks("onSelect",[a[0]]);else{var b=h(),d=null;a.foreach(function(a){var c=new DlMenuItem({parent:b,label:a.label,data:a});c.addEventListener({onSelect:this.__on_itemSelect,onMouseEnter:this.__on_itemHover}),a.selected&&(d=c)},this),e().popup({timeout:0,content:b,align:this.ALIGN,anchor:this.getElement(),isContext:true,widget:this,onHide:this._on_menuHide.$(this),shift:this._shiftMenu});if(this._sizeToFit){var f=this.getSize().x;b.getSize().x<f&&b.setSize({x:f-c.getPaddingAndBorder(e().getElement()).x})}d&&d.callHooks("onMouseEnter")}this.cancelCompletion()},b.cancelCompletion=function(){this.delClass("DlCompletionEntry-busy"),this.__clearTimer(),this.__forced=null};function l(a,b){this.__origData={value:this.getValue(),range:this.getSelectionRange()},this.__forced=b,this.addClass("DlCompletionEntry-busy"),this.applyHooks("onCompletion",[this.getSelectionRange(),a,b])}function m(a){if(!i())return false;var b=g,c;switch(a.keyCode){case DlKeyboard.ARROW_UP:g==null&&(g=0),g=f.children().rotateIndex(--g);break;case DlKeyboard.ARROW_DOWN:case DlKeyboard.TAB:g==null&&(g=-1),g=f.children().rotateIndex(++g);break;case DlKeyboard.ENTER:g!=null&&(this.collapse(false),f.children(g).callHooks("onSelect")),DlException.stopEventBubbling();case DlKeyboard.ESCAPE:this._hideMenu();var d=this.__origData;d&&(this.setValue(d.value),this.setSelectionRange(d.range)),DlException.stopEventBubbling()}b!=g?(b!=null&&(c=f.children(b),c.callHooks("onMouseLeave")),c=f.children(g),c.callHooks("onMouseEnter"),DlException.stopEventBubbling()):this._hideMenu()}function n(a){if(is_ie)return m.call(this,a)}b._handle_focusKeys=function(b){if(DlKeyboard.KEYS_CONTROL[b.keyCode]){if(!is_ie)if(!this.__noTab&&b.keyCode==DlKeyboard.TAB&&!i()&&!this.isEmpty())l.call(this,b,true),b.domStop=true,DlException.stopEventBubbling();else return m.call(this,b)}else this._hideMenu(),this.__timeout!=null&&(this.__timer=l.delayed(this.__timeout,this,b,false));return a.BASE._handle_focusKeys.call(this,b)};function o(){this.cancelCompletion()}b.completeFromWords=function(b,c){return a.completeFromWords.call(a,this,b,c)},a.completeFromWords=function(a,b,c){c==null&&(c={}),c.sep==null&&(c.sep=/\s+/g);return function(d){var e=[],f=a.getValue(),g=f.lastIndexOfRegexp(c.sep,d.start);if(f=f.substring(g,d.start))for(var h=0;h<b.length;++h)b[h].indexOf(f)==0&&e.push({label:b[h],noselect:c.noselect,after:c.addSep,start:g});e.length>0?a.completionReady(e):a.cancelCompletion()}}}),DEFINE_CLASS("DlCompletionPopup",DlPopup,function(a,b){a.FIXARGS=function(a){a.zIndex=1e3,a.focusable=false}}),DEFINE_CLASS("DlComboBox",DlCompletionEntry,function(a,b){a.DEFAULT_ARGS={_noSelect:["noSelect",false],__smart:["smart",false],__noTab:["noTab",true],_options:["options",null],_sizeToFit:["sizeToFit",true],_electric:["electric",false]},b._createElement=function(){a.BASE._createElement.apply(this,arguments),this._makeButton(null,null,"DlComboBox-dropDownBtn",{hover:"DlComboBox-dropDownBtn-hover"}).addEventListener("onMouseDown",c.$(this)),this.addEventListener("onCompletion",this.doCompletion)},b._on_menuHide=function(){a.BASE._on_menuHide.call(this),this._btn.delClass("DlComboBox-dropDownBtn-active")};function c(a){a.button==0&&(this._forcePopup(),DlException.stopEventBubbling())}b._forcePopup=function(){this._btn.addClass("DlComboBox-dropDownBtn-active"),this.__forced=true,this.doCompletion(null),this.focus.delayed(0,this)},b.doCompletion=function(a){var b="",c=[];if(a){b=this.getValue().trim().toLowerCase();if(!b)return this.cancelCompletion()}var d=this._options;if(d instanceof Function){d=d.apply(this,arguments);if(d==null)return}d.foreach(function(a){a.toLowerCase().indexOf(b)==0&&c.push({label:a.htmlEscape(),start:0,completion:a})}),c.length>0?this.completionReady(c):this.cancelCompletion()}}),DEFINE_CLASS("DlDrag",DlEventProxy,function(a,b,c){a.DEFAULT_EVENTS=["onDrop","onStartDrag"],a.DEFAULT_ARGS={delta:["delta",3],dragging:["_dragging",false],draggingClass:["draggingClass","DlWidget-dragging"],_animArgs:["animation",{length:30,fps:50}],cursor:["cursor",{noDrop:"CURSOR-NO-DROP",okDrop:"CURSOR-DROP"}]},b.dropOK=function(a,b,c,d){this.target=c;return this.canDrop=true},b._handleDrop=function(a,b,c){this.applyHooks("onDrop",[a,b,c])},b.doDrop=function(a,b){throw new DlExAbstractBaseClass},b.startOK=function(a,b){return true},b.moving=function(a,b){},b.reset=function(a){var b=this.elementCopy;if(b&&b.parentNode)if(a&&this._animArgs){var d=new DlAnimation(this._animArgs.length,this._animArgs.fps),e=this.startElPos||this.startPos,f=c.getPos(b);d.addEventListener({onUpdate:function(){var a=this.getPos();b.style.left=a.mapInt(f.x,e.x)+"px",b.style.top=a.mapInt(f.y,e.y)+"px",c.setOpacity(b,this.t.map(1,.2))},onStop:function(){c.trash(b),b=null}}),d.start(null,null,"accel_ab")}else b.parentNode.removeChild(b);this.canDrop=this.dragging=false,this.source=this.startPos=this.elementCopy=this.target=null},b.makeElementCopy=function(a,b){var d=this.elementCopy;d||(d=this.elementCopy=a.getElement().cloneNode(true),c.addClass(d,"DlWidget-dragged-clone"),d.style.top=b.pos.y+"px",d.style.left=b.pos.x+"px",document.body.appendChild(d),d.style.width=d.offsetWidth+"px");return d}}),DEFINE_CLASS("DlDragTreeItem",DlDrag,function(a,b){a.DEFAULT_ARGS={_noReparent:["noReparent",false]};var c="DlTreeItem-dropTarget",d="DlTreeItem-dropTarget-upper",e="DlTreeItem-dropTarget-lower",f=/DlTreeItem-dropTarget[^\s]*/g,g=/DlTreeItem-dropTarget-[^\s]*/g;function h(a){return/DlTree-IconWidth/.test(a.target.className)}b.startOK=function(a,b){return!h(b)},b.dropOK=function(a,b,d,e){while(d&&!(d instanceof DlTreeItem))d=d.parent;var g=!e&&d;g&&(g=!this._noReparent||a.parent===d.parent),this.target=g?d:null,this.canDrop=!!g,this.oldTarget&&this.oldTarget!==this.target&&this.oldTarget.delClass(f),g&&this.target.addClass(c),this.oldTarget=this.target;return g},b.doDrop=function(a,b){if(this._noReparent||h(b)){var c=this.target.getIndex();this.dropBefore||++c,this.target.parent.appendWidget(a,c),this._handleDrop(a,this.target,this.dropBefore?"before":"after")}else this.target.getSubtreeWidget()!==a.parent&&(this.target.addSubItem(a),this._handleDrop(a,this.target))},b.moving=function(a,b){var c=this.target;if(this.canDrop&&c&&(this._noReparent||h(b))){var f=b.computePos(c),i=c.getDivElement().offsetHeight/2,j=f.y<=i;c.condClass(j,d,e),this.dropBefore=j}else c&&(this.dropBefore=null,c.delClass(g))},b.reset=function(){this.target&&this.target.delClass(f),this.oldTarget&&this.oldTarget.delClass(f),a.BASE.reset.apply(this,arguments),this.oldTarget=null}}),DEFINE_CLASS("DlLayout",DlContainer,function(a,b,c){a.DEFAULT_ARGS={_outerSpace:["outerSpace",0],_fillParent:["fillParent",true]},a.setFill=function(a,b){var c=a._dllayout_args.fill;(a._dllayout_args.fill=b)!=c&&a.parent.doLayout()},a.getArgs=function(a){return a._dllayout_args},b._appendWidgetElement=function(b,d){if(d==null)return a.BASE._appendWidgetElement.apply(this,arguments);var e=c.createElement("div",null,{className:"DlLayout-positioned"},this.getElement());d.zIndex&&(e.style.zIndex=d.zIndex),d.overflow&&(e.style.overflow=d.overflow),e.appendChild(b.getElement()),b._dllayout_args=d},b._removeWidgetElement=function(a){if(this._widgets.contains(a)){var b=a.getElement(),c=b.parentNode;c&&(c.parentNode.removeChild(c),c.removeChild(b))}},b.packWidget=function(a,b){this.appendWidget(a,b)},b.replaceWidget=function(a,b){var c=this._widgets.find(a);if(c>=0){b.parent&&b.parent.removeWidget(b),this._widgets.splice(c,1,b),b._dllayout_args=a._dllayout_args,a._dllayout_args=null;var d=a.getElement(),e=d.parentNode;e.insertBefore(b.getElement(),d),e.removeChild(d),b.parent=this,a.parent=null}},b.doLayout=function(){var a=this.getInnerSize(),b,c,d,e,f=this._outerSpace;function g(){typeof f=="number"?b=c=d=e=f:f instanceof Array?(e=f[0],c=f[1],d=f[2],b=f[3]):(e=f.top||0,c=f.right||0,d=f.bottom||0,b=f.left||0)}g();for(var h=this._widgets,i=new Array(h.length),j={},k=0;k<h.length;++k){var l=h[k],m=l._dllayout_args;if(!m||!l.display())continue;var n=l.getElement().parentNode,o=m.before=m.before||0,p=m.after=m.after||0,q=m.fill;m.resetSize&&(l.getElement().style.width=l.getElement().style.height="");var r=l.getOuterSize();switch(m.pos){case"top":e+=o,q==null&&(q=r.y),i[k]={sy:q},typeof q=="number"&&(e+=q),e+=p;break;case"right":c+=o,q==null&&(q=r.x),i[k]={sx:q},typeof q=="number"&&(c+=q),c+=p;break;case"bottom":d+=o,q==null&&(q=r.y),i[k]={sy:q},typeof q=="number"&&(d+=q),d+=p;break;case"left":b+=o,q==null&&(q=r.x),i[k]={sx:q},typeof q=="number"&&(b+=q),b+=p}i[k].w=l,i[k].args=m,i[k].div=n}var s=a.x-b-c,t=a.y-e-d;g(),i.foreach(function(f,g){f||$CONTINUE();var h=f.args,i=f.w;if(i.display()){switch(h.pos){case"top":case"bottom":typeof f.sy!="number"&&(f.sy=="*"?f.sy=t:/%/.test(f.sy)&&(f.sy=Math.floor(parseFloat(f.sy)*t/100)),h.min!=null&&f.sy<h.min&&(f.sy=h.min),h.max!=null&&f.sy>h.max&&(f.sy=h.max),t-=f.sy);break;case"left":case"right":typeof f.sx!="number"&&(f.sx=="*"?f.sx=s:/%/.test(f.sx)&&(f.sx=Math.floor(parseFloat(f.sx)*s/100)),h.min!=null&&f.sx<h.min&&(f.sx=h.min),h.max!=null&&f.sx>h.max&&(f.sx=h.max),s-=f.sx)}function j(){}function k(){var b=e,c=a.y-e-d,g={x:f.sx};switch(h.valign){case"top":break;case"center":b+=(c-i.getOuterSize().y)/2;break;case"bottom":b+=c-i.getOuterSize().y;default:g.y=c}f.div.style.top=b+"px",i.setSize(g)}switch(h.pos){case"top":e+=h.before,f.div.style.left=b+"px",f.div.style.top=e+"px",i.setSize({x:a.x-b-c,y:f.sy}),e+=f.sy+h.after;break;case"bottom":d+=h.before,f.div.style.left=b+"px",f.div.style.top=a.y-d-f.sy+"px",i.setSize({x:a.x-b-c,y:f.sy}),d+=f.sy+h.after;break;case"left":b+=h.before,f.div.style.left=b+"px",k(),b+=f.sx+h.after;break;case"right":c+=h.before,f.div.style.left=a.x-c-f.sx+"px",k(),c+=f.sx+h.after}}})},b.__doLayout=function(){this.doLayout()},b.sizeToFit=function(){for(var a=this._widgets,b=0,c=0,d=0;d<a.length;++d){var e=a[d],f=e._dllayout_args,g=e.getOuterSize();switch(f.pos){case"top":case"bottom":b+=g.y,g.x>c&&(c=g.x);break;case"left":case"right":c+=g.x,g.h>b&&(b=g.h)}}this.setOuterSize({x:c,y:b})}}),DEFINE_CLASS("DlResizeBar",DlWidget,function(a,b,c){var d=c.condClass;a.FIXARGS=function(a){a.invert=a.invert?-1:1},a.DEFAULT_ARGS={_isHoriz:["horiz",null],_widget:["widget",null],_invert:["invert",false],_min:["min",null],_max:["max",null],_cont:["continuous",false],_keepPrc:["keepPercent",false]},a.getDragBar=function(){return DlElementCache.DRAGGING_LINE},b.initDOM=function(){a.BASE.initDOM.call(this),this.condClass(this.isHoriz(),"DlResizeBar-Horizontal","DlResizeBar-Vertical"),this.setUnselectable(null,true)},b.isHoriz=function(){if(this._isHoriz==null){var a=DlLayout.getArgs(this);a&&(this._isHoriz=/top|bottom/.test(a.pos))}return this._isHoriz},b._setListeners=function(){a.BASE._setListeners.call(this),this._resizeHandlers={onMouseMove:g.$(this),onMouseUp:f.$(this),onMouseOver:DlException.stopEventBubbling,onMouseOut:DlException.stopEventBubbling,onMouseEnter:DlException.stopEventBubbling,onMouseLeave:DlException.stopEventBubbling},this.addEventListener("onMouseDown",e)},b._setResizeCaptures=function(a){(a?DlEvent.captureGlobals:DlEvent.releaseGlobals)(this._resizeHandlers);var b=DlDialog.activateEventStopper(a);d(b,a,this.isHoriz()?"CURSOR-RESIZE-S":"CURSOR-RESIZE-E")};function e(a){var b=DlElementCache.DRAGGING_LINE,d=this.getPos();this._dragPos=this.isHoriz()?d.y:d.x;var e=this.isHoriz()?a.pos.y:a.pos.x;this._mposDiff=e-this._dragPos;var f=this.getSize();b.style.top=d.y+"px",b.style.left=d.x+"px",b.style.width=f.x+"px",b.style.height=f.y+"px";if(this._widget){var g=this._widget instanceof DlWidget?this._widget.getSize():c.getOuterSize(this._widget);this._dragSize=this.isHoriz()?g.y:g.x}document.body.appendChild(b),this._setResizeCaptures(true),DlException.stopEventBubbling()}b._doResize=function(a){var b=this.isHoriz(),d=c.getPos(DlElementCache.DRAGGING_LINE);d=b?d.y:d.x;var e=this._invert*(d-this._dragPos),f=this._widget;if(f){var g=this._dragSize;if(f instanceof DlWidget){var h=DlLayout.getArgs(f);if(h){h=h.fill;var i=/%$/.test(h);i&&!this._keepPrc||h==null||typeof h=="number"?DlLayout.setFill(f,g+e):i&&(h=parseFloat(h),DlLayout.setFill(f,h*(g+e)/g+"%"))}else this._isHoriz?f.setSize({y:g+e}):f.setSize({x:g+e})}else this._isHoriz?c.setOuterSize(f,null,g+e):c.setOuterSize(f,g+e,null)}};function f(a){this._setResizeCaptures(false),this._doResize(a),document.body.removeChild(DlElementCache.DRAGGING_LINE)}function g(a){var b=DlElementCache.DRAGGING_LINE,c=this.isHoriz()?a.pos.y:a.pos.x;c-=this._mposDiff;var d=this._invert*(c-this._dragPos),e=this._min,f=this._max,g=this._widget;if(g){var h=DlLayout.getArgs(g);h&&(e==null&&(e=h.min),f==null&&(f=h.max));var i;if(e!=null||f!=null)i=this._dragSize+d;e!=null&&i<e?c+=this._invert*(e-i):f!=null&&i>f&&(c+=this._invert*(f-i))}this.isHoriz()?b.style.top=c+"px":b.style.left=c+"px",this._cont&&this._doResize(a)}}),DEFINE_CLASS("DlWM",DlContainer,function(a,b,c){b.getInnerSize=b.getOuterSize=b.getSize=function(){return this.parent?this.parent.getInnerSize():c.getWindowSize()},b.initDOM=function(){a.BASE.initDOM.apply(this,arguments),this.getElement().innerHTML="<div class='DlWM-modalStopper'></div>",this.dialogsVisible=[],this.modalsVisible=0,this._manageEvents={onShow:d.$(null,this),onHide:e.$(null,this)};var b=this.on_parentResize.$(this);this.parent?this.parent.addEventListener("onResize",b):c.addEvent(window,"resize",b)},b.getModalStopperElement=function(){return this.getElement().childNodes[0]},b.activatePrev=function(){var a=this.dialogsVisible;a.length>1&&(a.peek().deactivate(),a.unshift(a.pop()),top=a.pop(),top.activate())},b.activateNext=function(){var a=this.dialogsVisible;a.length>1&&a[0].activate()},b.getActiveDialog=function(){return this.dialogsVisible.peek()},b.updateZIndex=function(){this.dialogsVisible.r_foreach(function(a,b){a.zIndex((a.__modal?900:500)+b)})},b.getVisibleDialogs=function(){return this.dialogsVisible},b.getAllDialogs=function(){return this.children().grep(function(a){return a instanceof DlDialog})},b.appendWidget=function(b){a.BASE.appendWidget.apply(this,arguments),b instanceof DlDialog&&this.manage(b)},b.removeWidget=function(b){a.BASE.removeWidget.apply(this,arguments),b instanceof DlDialog&&this.unmanage(b)},b.manage=function(a){a.addEventListener(this._manageEvents)},b.unmanage=function(a){a.removeEventListener(this._manageEvents)},b.on_dlgShow=function(a){a.__modal&&this.modalsVisible++,this.condClass(this.modalsVisible>0,"DlWM-hasModals")},b.on_dlgHide=function(a){a.__modal&&this.modalsVisible--,this.condClass(this.modalsVisible>0,"DlWM-hasModals"),this.dialogsVisible.length==0&&this.parent&&this.parent.focus()},b.on_parentResize=function(){this.dialogsVisible.foreach(function(a){a.__maximized&&a.__doMaximize()}),this.callHooks("onResize")},b.rearrange=function(a){var b=this.dialogsVisible.map(function(a){var b=a.getOffsetPos(),c=a.getOuterSize();return{dlg:a,x:b.x,y:b.y,w:c.x,h:c.y}});a(b,this.getInnerSize()),b.foreach(function(a){a.dlg.setPos(a.x,a.y),a.dlg.setSize({x:a.w,y:a.h})})},b.tileHoriz=function(){this.rearrange(h)},b.tileVert=function(){this.rearrange(i)};function d(a){a.on_dlgShow(this)}function e(a){a.on_dlgHide(this)}DlContainer.prototype._makeWindowManager=function(){this.__wm||(this.__wm=new DlWM({parent:this})).addEventListener("onDestroy",function(){this.__wm=null}.$(this));return this.__wm};function f(a,b){return a.x<b.x?-1:a.x>b.x?1:0}function g(a,b){return a.y<b.y?-1:a.y>b.y?1:0}function h(a,b){var c=a.length,d=Math.floor(b.x/c),e=0;a.mergeSort(f).foreach(function(a,f){a.y=0,a.x=e,a.h=b.y,f==c-1?a.w=b.x-e:a.w=d,e+=d})}function i(a,b){var c=a.length,d=Math.floor(b.y/c),e=0;a.mergeSort(g).foreach(function(a,f){a.x=0,a.y=e,a.w=b.x,f==c-1?a.h=b.y-e:a.h=d,e+=d})}}),DEFINE_CLASS("DlDialog",DlContainer,function(a,b,c){var d=DlException.stopEventBubbling,e=c.addClass,f=c.delClass,g=c.condClass,h=c.createElement;a.DEFAULT_EVENTS=["onShow","onHide","onActivate","onQuitBtn"],a.DEFAULT_ARGS={_title:["title","DlDialog"],_noEmptyTitle:["noEmptyTitle",true],_fixed:["fixed",false],_resizable:["resizable",false],_focusable:["focusable",true],_iconClass:["iconClass",null],_focusedWidget:["focusDefault",null],__noShadows:["noShadows",false],__quitBtn:["quitBtn",false],__maxBtn:["maxBtn",true],__modal:["modal",false],__moveDelay:["moveDelay",5e3]},a.FIXARGS=function(b){b.parent||(b.parent=a.getTopWM()),b.parent instanceof DlWM||(b.parent instanceof DlDialog&&(b.noShadows=true),b.parent=b.parent._makeWindowManager())},a.CONSTRUCT=function(){this.__doDrag=this.__moveDelay!=null?s.clearingTimeout(this.__moveDelay,this):s.$(this),this.active=false};var i;a.getTopWM=function(){i||(i=new DlWM({}),document.body.appendChild(i.getElement()));return i};var j="<table cellspacing='0' cellpadding='0'><tr><td><div class='DlDialog-Rel'><div class='DlDialog-WindowButtons'></div><div class='DlDialog-Title'><div></div></div><div class='DlDialog-Content'></div></div></td></tr></table>",k={x:-3e4,y:-3e4};b._setDragCaptures=function(a){DlEvent[a?"captureGlobals":"releaseGlobals"](this._dragHandlers)},b._setResizeCaptures=function(a){DlEvent[a?"captureGlobals":"releaseGlobals"](this._resizeHandlers)};function l(){var a=c.CE_CACHE["DlDialog.EVENT_STOPPER"];a||(a=c.CE_CACHE["DlDialog.EVENT_STOPPER"]=h("div",null,{className:"DYNARCH-EVENT-STOPPER"},document.body)),a.style.visibility="";return a}function m(){var a=c.CE_CACHE["DlDialog.EVENT_STOPPER"];a&&(a.className="DYNARCH-EVENT-STOPPER",a.style.visibility="hidden");return a}a.activateEventStopper=function(a){return a?l():m()};function n(a){if(!this.dragging&&!this.__maximized){DlPopup.clearAllPopups(),this.activate(),this.dragging=true,a||(a=window.event);var b=a instanceof DlEvent?a:new DlEvent(a);this.addClass("DlDialog-Dragging"),this._dragPos=b.computePos(this),this._setDragCaptures(true),e(l(),"CURSOR-DRAGGING");if(this.__moveDelay!=null){var d=this.getResizeRect();e(d,"Dl-ResizeRect-moving");var f=this.getOuterSize();c.setPos(d,b.elPos.x,b.elPos.y),c.setOuterSize(d,f.x,f.y),d.style.display=""}if(b!==a)return c.stopEvent(a)}}function o(a){a.ctrlKey&&a.shiftKey&&(a.button==0&&this._dragHandlers?n.call(this,a):a.button==2&&a.dl_type=="onContextMenu"&&this._resizable&&(u.call(this,a),d()))}function p(a){if(this.dragging){var b=this.getResizeRect();this.dragging=false,this.delClass("DlDialog-Dragging"),this._setDragCaptures(false);if(this.__moveDelay!=null)if(a){var c=q.call(this,a);this.__doDrag.doItNow(c.x,c.y)}else this.__doDrag.cancel();f(b,"Dl-ResizeRect-moving"),b.style.display="none",m()}}function q(a){var b=this.parent;a.computePos(b.getContentElement());var c=a.relPos.x-this._dragPos.x,d=a.relPos.y-this._dragPos.y,e=this.getOuterSize(),f=b.getInnerSize();c<0?c=0:c+e.x>f.x&&(c=f.x-e.x),d<0?d=0:d+e.y>f.y&&(d=f.y-e.y);return{x:c,y:d}}function r(a){var b=a.x,d=a.y;a=c.getPos(this.parent.getContentElement()),b+=a.x,d+=a.y,c.setPos(this.getResizeRect(),b,d)}function s(a,b){this.setPos(a,b),this.__oldDlgPos=this.getOffsetPos()}function t(a){var b=q.call(this,a);this.__moveDelay!=null&&r.call(this,b),this.__doDrag(b.x,b.y),d()}function u(a){if(!this.resizing){this.resizing=true,a||(a=window.event);var b=a instanceof DlEvent?a:new DlEvent(a);this._dragPos=b.computePos(this);var d=this.getOuterSize();this._dragPos.x-=d.x,this._dragPos.y-=d.y;var f=this.getPos(),g=this.getResizeRect();c.setPos(g,f.x,f.y),c.setOuterSize(g,d.x,d.y),g.style.display="",this.addClass("DlDialog-Resizing"),this._setResizeCaptures(true),e(l(),"CURSOR-DRAGGING"),w.call(this,b,true),b!==a&&c.stopEvent(a)}}function v(b){if(this.resizing){this.disableHooks("onResize"),this.getElement().style.overflow="hidden";var d=this.getResizeRect(),e=c.getOuterSize(d);c.setPos(d,0,0),d.style.display="none",this.delClass("DlDialog-Resizing"),this.setOuterSize({x:e.x,y:e.y}),is_gecko&&a.BASE.setOuterSize.call(this,{x:"auto",y:"auto"}),this.resizing=false,this._setResizeCaptures(false),this.getElement().style.overflow="",m(),this.enableHooks("onResize"),this.callHooks("onResize")}}function w(a,b){if(this.resizing){var e=this.getResizeRect(),f=c.getPos(e);f.x=a.pos.x-this._dragPos.x-f.x-2,f.x<100&&(f.x=100),f.y=a.pos.y-this._dragPos.y-f.y-2,f.y<100&&(f.y=100),this._resizable===1&&(f.y=null),this._resizable===2&&(f.x=null),c.setInnerSize(e,f.x,f.y),b||d()}}b.setOuterSize=b.setSize=function(a){a.y!=null&&(a.y-=this.getTitleElement().offsetHeight),this.setInnerSize(a)},b.hide=function(){this.display()&&c.elementIsVisible(this.getElement())&&(this.__oldDlgPos=this.getOffsetPos(),this.display(false),this.setPos(k))},b.show=function(a){this.__wasDisplayed||this.setStyle({visibility:""}),!this.display()||!this.__wasDisplayed?(this.__oldDlgPos?this.setPos(this.__oldDlgPos):a&&this.centerOnParent(),this.display(true)):this.activate(),this.__wasDisplayed=true},b.activate=function(){var a=this.parent.getVisibleDialogs(),b=a.peek();this.active||(b&&b.active&&b.deactivate(true),this.addClass("DlDialog-Active"),a.remove(this),a.push(this),this.parent.updateZIndex(),this.active=true,this.focus(),this._focusedWidget&&!this._focusedWidget.destroyed&&this._focusedWidget.focus(),this.applyHooks("onActivate",[true]))},b.deactivate=function(){this.active&&(this.delClass("DlDialog-Active"),this.active=false,this.blur(),this.applyHooks("onActivate",[false]))};function x(a,b){var c=DlSystem();if(a)this.callHooks("onShow"),this.activate(),this.setModal(this.__modal,true),c.applyHooks("on-dialog-show",[this]),this.__maximized&&this.__doMaximize.delayed(1,this);else{var d=this.parent.getVisibleDialogs();d.remove(this),this.callHooks("onHide"),this.deactivate(),c.applyHooks("on-dialog-hide",[this]),d.length>=1&&d.peek().activate()}}function y(a){if(a.shiftKey||a.altKey){var b=this.__dlgOpacity;b==null&&(b=100),a.wheelDelta>0?b+=.05:b-=.05,b=this.__dlgOpacity=b.limit(.1,1),this.opacity(b),d()}}b._createElement=function(){a.BASE._createElement.call(this),this.setPos(k),this.setStyle({visibility:"hidden"}),this.getElement().innerHTML=j;var b=this.getRelElement();!this.__noShadows&&!is_ie6?b.insertBefore(DlElementCache.get("SHADOWS"),b.firstChild):(this.__noShadows=true,e(b,"DlDialog-noShadows")),this.title(this._title),this.setUnselectable(this.getTitleElement());var c=this.__quitBtn;if(c){var d=this.__quitBtn=new DlAbstractButton({parent:this,className:"DlDialog-QuitBtn",appendArgs:this.getButtonsElement(),classes:{hover:"DlDialog-QuitBtn-hover",active:"DlDialog-QuitBtn-active"}});c=="destroy"?c=this.destroy.$(this):c=="hide"&&(c=this.hide.$(this)),c instanceof Function?d.addEventListener("onClick",c):d.connectEvents("onClick",this,"onQuitBtn")}this._resizable&&this.makeResizable(),this.setIconClass(this._iconClass),this._fixed||this.makeDraggable(),this.addEventListener({onMouseDown:this.activate,onMouseWheel:y,onDisplay:x,onDestroy:this.hide})},b.setIconClass=function(a){var b=this.getTitleElement().firstChild;g(b,a!=null,"DlDialog-Title-withIcon"),this.iconClass&&f(b,this.iconClass),a&&e(b,a),this.iconClass=a},b.getState=function(){var a=this.__maximized&&this.__maximizeSavePos;a?a=Object.makeDeepCopy(a):a={pos:this.getOffsetPos(),size:this.getOuterSize()},a.max=!!this.__maximized;return a},b.maximize=function(a){a==null&&(a=this.__maxBtn.checked());var b,c;this.__maximized=a,a&&(b=this.getOffsetPos(),c=this.getOuterSize(),this.__maximizeSavePos={pos:b,size:c}),this.condClass(a,"DlDialog-Maximized"),a?this.__doMaximize():(b=this.__maximizeSavePos,c=b.size,b=b.pos,this.setOuterSize({x:c.x,y:c.y}),this.setPos(b.x,b.y)),this.__maxBtn.checked(a,true),this._focusedWidget&&!this._focusedWidget.destroyed&&this._focusedWidget.focus()},b.__doMaximize=function(){this.setPos(0,0);var a=this.parent.getInnerSize();this.setOuterSize({x:a.x,y:a.y})},b.setModal=function(a,b){b||(this.__modal=a),this.display()&&this.parent.updateZIndex()},b.modal=function(){return this.__modal},b.makeResizable=function(){if(!this._resizeHandlers){this.getContentElement().style.overflow="hidden";var a=this.getRelElement(),b=h("div",null,{className:"ResizeHandle"},null);a.insertBefore(b,a.firstChild),this._resizeHandlers={onMouseMove:w.$(this),onMouseUp:v.$(this),onMouseOver:d,onMouseOut:d,onMouseEnter:d,onMouseLeave:d},c.addEvent(b,"mousedown",u.$(this)),this.resizing=false,this.__maxBtn&&(this.__maxBtn=new DlAbstractButton({parent:this,className:"DlDialog-MaximizeBtn",appendArgs:this.getButtonsElement(),type:DlAbstractButton.TYPE.TWOSTATE,classes:{hover:"DlDialog-MaximizeBtn-hover",active:"DlDialog-MaximizeBtn-active",checked:"DlDialog-MaximizeBtn-1"}}),this.__maxBtn.addEventListener("onChange",this.maximize.$0(this,null)))}},b.makeDraggable=function(){if(!this._dragHandlers){var a=this.getTitleElement();a.style.cursor="default",this._dragHandlers={onMouseMove:t.$(this),onMouseUp:p.$(this),onMouseOver:d,onMouseOut:d,onMouseEnter:d,onMouseLeave:d},c.addEvent(a,"mousedown",n.$(this)),this.addEventListener(["onMouseDown","onContextMenu"],o),this.dragging=false}},b.title=function(a){a!=null&&(a instanceof Array&&(a=a.join("")),this.getTitleElement().firstChild.innerHTML=this._title=a,this._noEmptyTitle&&(this.getTitleElement().style.display=/\S/.test(a)?"":"none"));return this._title},b._handle_focusKeys=function(a){if(!a.altKey&&!a.ctrlKey)if(a.keyCode==DlKeyboard.ESCAPE)!this.dragging&&this.__quitBtn?this.__quitBtn.keyClicked(a):this.dragging&&p.call(this);else if(a.keyCode==DlKeyboard.TAB){var b=a.focusedWidget;b=a.shiftKey?this.getPrevFocusWidget(b):this.getNextFocusWidget(b),b&&b.focus(),a.domStop=true,d()}this._handleKeybinding(a)};function z(a,b){var c=a.getRelElement().childNodes;return c[c.length-b]}b.getRelElement=function(){return this.getElement().firstChild.rows[0].cells[0].firstChild},b.getContentElement=function(){return z(this,1)},b.getTitleElement=function(){return z(this,2)},b.getButtonsElement=function(){return z(this,3)},b.centerOnParent=function(){var a=this.getOuterSize(),b=this.parent.getOuterSize();this.setPos((b.x-a.x)/2,(b.y-a.y)/2)},b.getWM=function(){return this.parent},DlWidget.prototype.getParentDialog=function(){var b=this.parent;while(b&&!(b instanceof a))b=b.parent;return b}}),DEFINE_CLASS("DlDialogPopup",DlPopup,function(a,b){a.FIXARGS=function(a){a.autolink=false,a.zIndex=5e3}}),DEFINE_CLASS("DlRecord",DlEventProxy,function(a,b){a.DEFAULT_EVENTS=["onChange"],a.DEFAULT_ARGS={_data:["data",null],_set:["recordSet",null]},b.id=function(){return this._data.id},b.get=function(a){return this._data[a]},b.set=function(a,b,c){var d,e=this._data[a];this._data[a]=b,c||(d=[this,a,b,e],this.applyHooks("onChange",d),this._set&&this._set.applyHooks("onChange",d))},b.compareTo=function(a,b){var c=this.get(b),d=a.get(b);return c<d?-1:c==d?0:1}}),DEFINE_CLASS("DlRecordCache",DlEventProxy,function(a,b){a.DEFAULT_EVENTS=["onChange","onInsert","onBeforeDelete","onDelete","onRefresh"],a.DEFAULT_ARGS={_data:["data",null]},a.CONSTRUCT=function(){this._init()},b.get=function(a){return this._data[a]},b.hasRecord=function(a){return this.get(a)},b.getRecords=function(a,b,c){b.call(c,a.map(this.get,this))},b.getAllIds=function(){return Array.hashKeys(this._data)},b.getAllRecords=function(){return Array.hashValues(this._data)},b.getHash=function(){return this._data},b.formatHTML=function(a,b,c){c(String(a.get(b)).htmlEscape())},b.getRecClass=function(a){},b.getCellClass=function(a,b){},b.getInsertPos=function(a){},b.insert=function(a,b){b==null&&(b=this.getInsertPos(a)),this._data[a.id()]=a,a._set=this,this.applyHooks("onInsert",[a,b])},b.remove=function(a){this.applyHooks("onBeforeDelete",[this.get(a)]),a instanceof Array?a.foreach(function(a){delete this._data[a]},this):delete this._data[a],this.applyHooks("onDelete",[a])},b.sort=function(a,b,c,d,e,f){var g;b==c&&d!==null?g=a.reverse():g=a.mergeSort(function(a,c){a=this.get(a),c=this.get(c);return a.compareTo(c,b)}.$(this),d),e.call(f,g)},b._init=function(){if(this._data){var a={};this._data.foreach(function(b){a[b.id()]=b,b._set=this},this),this._data=a}else this._data={}}}),DEFINE_CLASS("DlDataGridHeadLabel",DlButton,function(a,b,c){a.FIXARGS=function(a){"contextMenu"in a||(a.contextMenu=this._getContextMenu)},a.CONSTRUCT=function(){if(!this.isSortable()){var a=this._classes=Object.makeCopy(this._classes);a.active=a.hover=null}};var d=20;b.setWidth=function(a){this.setOuterSize({x:a})},b.isSortable=function(){return this.col.isSortable()},b._onClick=function(){this.isSortable()&&this.parent._onHeadClick(this.col,this)},b._getContextMenu=function(){var a=this._dgContextMenu,b=this.parent,c;a?(c=a.buttons,b._cols.foreach(function(a,b){c[b].checked(a.isVisible(),true)})):(this._dgContextMenu=a=new DlVMenu({}),c=a.buttons=[],b._cols.foreach(function(b,d){if(b.getMenuLabel()){var e=c[d]=new DlCheckbox({parent:a,label:b.getMenuLabel(),checked:b.isVisible()});e.addEventListener("onChange",function(){b.setVisible(this.checked())})}}));return a},a.DEFAULT_ARGS={col:["col",null],_focusable:["focusable",false],_noCapture:["noCapture",true],_classes:["classes",{active:"DlDataGridHeadLabel-active",hover:"DlDataGridHeadLabel-hover",checked:"DlDataGridHeadLabel-1",unchecked:"DlDataGridHeadLabel-0",empty:"DlDataGridHeadLabel-empty",disabled:"DlDataGridHeadLabel-disabled"}]};var e=DlException.stopEventBubbling;function f(a){var b=a._resizeHandle;b||(b=a._resizeHandle=new DlWidget({parent:a,className:"DlDataGrid-resizeHandle"}),b.display(false),b.grid=a.parent,b.addEventListener({onMouseLeave:b.display.$(b,false),onMouseDown:g}),b._resizeCaptures={onMouseMove:h.$(b),onMouseUp:i.$(b),onMouseOver:e,onMouseOut:e,onMouseEnter:e,onMouseLeave:e});return b}a._on_headMouseMove=function(a){if(!(!this._colPos||this.dragging)){var b=this.parent,c=b.getBodyDiv().scrollLeft,d=a.computePos(this).x+c,e;this._colPos.foreach(function(a){Math.abs(d-a.pos)<4&&(a.col.isResizable()&&(e=a),$BREAK())});var g=f(this);e?(e.col!==g.col&&(g.found=e,g.col=e.col,g.pos=e.pos,g.setPos(e.pos-c)),g.display(true)):(g.display(false),g.found=g.col=null)}},a._on_headMouseLeave=function(a){f(this).display(false)};function g(a){this.dragging=true;var b=DlResizeBar.getDragBar(),d=b.style;this.sl=this.grid.getBodyDiv().scrollLeft,d.left=this.pos-this.sl-1+"px",d.height="100%",d.width=this.getElement().offsetWidth-4+"px",d.top="0px",this.grid.getElement().appendChild(b);var f=DlDialog.activateEventStopper(true);c.addClass(f,"CURSOR-RESIZE-E"),DlEvent.captureGlobals(this._resizeCaptures),this.origW=this.grid.getColWidth(this.col),this.origM=a.pos.x,this.col._button.addClass("DlDataGridHeadLabel-resizing"),e()}function h(a){var b=DlResizeBar.getDragBar(),c=this.pos+a.pos.x-this.origM-1,f=c-this.pos,g=this.origW+f;g<d&&(c+=d-g,g=d),c-=this.sl,b.style.left=c+"px",this.width=g,this.diff=f;if(!is_ie){var h=this.col._button.getElement();h.style.width=h.parentNode.style.width=h.parentNode.parentNode.style.width=g+"px"}e()}function i(a){this.dragging=false,this.grid.getElement().removeChild(DlResizeBar.getDragBar());var b=DlDialog.activateEventStopper(false);c.delClass(b,"CURSOR-RESIZE-E"),DlEvent.releaseGlobals(this._resizeCaptures),this.width&&(this.grid.setColWidth(this.col,this.width),this.grid._computeColPos()),this.col._button.delClass("DlDataGridHeadLabel-resizing");if(!is_ie){var d=this.col._button.getElement();d.style.width=d.parentNode.style.width=d.parentNode.parentNode.style.width=""}this.width=this.diff=this.found=this.col=null,this.parent.callHooks("onMouseMove",a),e()}}),DEFINE_CLASS("DlGridCol",DlEventProxy,function(a,b){a.DEFAULT_EVENTS=["onChange","onVisibility"],a.DEFAULT_ARGS={_field_id:["id",null],_width:["width",null],_fill:["fill",null],_style:["style",null],_label:["label",null],_menuLabel:["menuLabel",null],_tooltip:["tooltip",null],_iconClass:["iconClass",null],_isSortable:["sortable",true],_isResizable:["resizable",true],_cssRule:["cssRule",null],_isVisible:["visible",true]};var c={};b.id=function(){return this._field_id},b.getWidth=function(){return this._width},b.getFill=function(){return this._fill},b.getLabel=function(){return this._label},b.getMenuLabel=function(){return this._menuLabel||this._label},b.getTooltip=function(){return this._tooltip},b.getIconClass=function(){return this._iconClass},b.getStyle=function(a,b){return(this._style||c)[a]||b},b.isSortable=function(){return this._isSortable},b.isResizable=function(){return this._isResizable},b.isVisible=function(){return this._isVisible},b.setVisible=function(a){this._isVisible=a,this.applyHooks("onVisibility",[a])},b.sort=function(){}}),DEFINE_CLASS("DlGridDragCol",DlDrag,function(a,b,c){a.CONSTRUCT=function(){this.addEventListener("onStartDrag",function(a){this.grid_pos=a.parent.getPos(),a._onMouseLeave()})},b.startOK=function(a,b){return true},b.dropOK=function(a,b,c,d){if(!d&&c instanceof DlDataGridHeadLabel&&a.parent===c.parent){this.target=c;return this.canDrop=true}return this.canDrop=false},b.doDrop=function(a,b){a.parent.reorderColumn(a.col,this.target.col,!this.dropBefore)};var d;function e(){var a=d;a||(a=d=c.createElement("div",{display:"none"},{className:"DlDataGrid-drop-col"},document.body));return a}b.moving=function(a,b){var c=this.target,d=e(),f=d.style;if(this.canDrop&&c){var g=b.computePos(c),h=c.getElement(),i=h.offsetWidth,j=g.x<=i/2,k=c.col.index;j&&k--,k<0?k=0:k=a.parent._headCont._colPos[k].pos-a.parent.getBodyDiv().scrollLeft,f.display="block",f.left=k+this.grid_pos.x+"px",f.top=g.elPos.y+"px",this.dropBefore=j}else c&&(this.dropBefore=null,f.display="none")},b.reset=function(){d&&(d.style.display="none"),a.BASE.reset.apply(this,arguments)}}),DEFINE_CLASS("DlSelectionModel",DlEventProxy,function(a,b){a.DEFAULT_EVENTS=["onChange","onReset"],a.CONSTRUCT=function(){this.sel||(this.sel={})},a.DEFAULT_ARGS={multiple:["multiple",true],sel:["sel",null]},b.reset=function(a,b){var c=this.sel;this.sel=a.toHash(true),b||this.applyHooks("onReset",[c,this.sel])},b.clear=function(a){this.reset([],a)},b.get=function(){return this.sel},b.getArray=function(){return Array.hashKeys(this.sel)},b.getFirst=function(){for(var a in this.sel)return a},b.isSelected=function(a){return this.sel[a]},b.size=function(){var a=0;for(var b in this.sel)a++;return a},b.filter=function(a){var b=[];for(var c in this.sel)c in a||b.push(c);this.unselect(b)},b.select=function(a,b){var c=this.sel,d=null,e;a instanceof Array?(e={},a.foreach(function(a){c[a]||(d=c[a]=e[a]=true)},this),!b&&d!=null&&this.applyHooks("onReset",[{},e])):c[a]||(c[a]=true,b||this.applyHooks("onChange",[a,true]),d=true);return d},b.unselect=function(a,b){var c=this.sel,d=null,e;a instanceof Array?(e={},a.foreach(function(a){c[a]&&(delete c[a],e[a]=true,d=false)},this),!b&&d!=null&&this.applyHooks("onReset",[e,{}])):c[a]&&(delete c[a],b||this.applyHooks("onChange",[a,false]),d=false);return d},b.toggle=function(a,b){return this.sel[a]?this.unselect(a,b):this.select(a,b)}}),DEFINE_CLASS("DlDataGrid",DlContainer,function(a,b,c){var d=c.addClass,e=c.delClass,f=c.condClass;a.DEFAULT_EVENTS=["onBodyDblClick","onBodyScroll","onRowClick","onRowDblClick","onResetIds"],a.CONSTRUCT=function(){this.__scrollConts=0};var g=DlException.stopEventBubbling;a.DEFAULT_ARGS={_records:["records",null],_selection:["selection",null],_data:["data",null],_page:["page",0],_rpp:["rpp",60],_minReqRows:["minReq",null],_threshold:["threshold",null],_vScroll:["virtualScrolling",true],_cols:["cols",null],_headType:["headType",DlDataGridHeadLabel],_focusable:["focusable",true],_rtClickKeepSel:["rightClickKeepsSel",false],_noReselect:["noReselect",false],_rarify:["rarifyScroll",null]};var i=String.buffer("<div class='DlDataGrid-Headers'>","<table class='DlDataGrid-rowTable' cellspacing='0' cellpadding='0'>","<tbody><tr></tr></tbody>","</table></div>","<div class='DlDataGrid-Body'>","<div class='DlDataGrid-VSHeight'>","<div class='DlDataGrid-VSHeight-before'></div>","<div class='DlDataGrid-RowsCont'></div>","</div>","</div>").get();b.getHeaderDiv=function(){return this.getElement().firstChild},b.getHeaderTable=function(){return this.getHeaderDiv().firstChild},b.getHeaderRow=function(){return this.getHeaderDiv().firstChild.rows[0]},b.getBodyDiv=function(){return this.getElement().childNodes[1]},b._getVSHeightDiv=function(){return this.getBodyDiv().firstChild},b._getVSScrollDiv=function(){return this._getVSHeightDiv().firstChild},b.getRowsContainer=function(){return this._getVSHeightDiv().childNodes[1]},b.resetIDS=function(a){var b={},c=this._selection;a.foreach(function(a,c){b[a]=c}),this._records={array:a,id_to_pos:b},c.filter(b),c.getArray().length==0&&(c._last=null),this.callHooks("onResetIds")},b._fetch_data=function(a,b,c){var d=this._minReqRows,e=a.length,f=this._data;if(d==null||d<=e)f.getRecords(a,c,this);else{var g=a.slice(0),h=this._records.array,i,j=this._threshold||Math.ceil(this._rpp/2);if(b<=0){var k=this._records.id_to_pos[a[0]],l=j;while(l-->0)if(!f.hasRecord(h[--k]))break;if(l>0)for(i=k;i>=0&&g.length<d;i--){var m=h[i];f.hasRecord(m)||g.push(m)}}if(b>=0){var k=this._records.id_to_pos[a.peek()],l=j;while(l-->0)if(!f.hasRecord(h[++k]))break;if(l>0)for(i=k;i<h.length&&g.length<d;i++){var m=h[i];f.hasRecord(m)||g.push(m)}}f.getRecords(g,function(a){c.call(this,a.slice(0,e))},this)}},b._display_ids=function(a,b){this._info_display={length:a.length,first_row_index:this._records.id_to_pos[a[0]],last_row_index:this._records.id_to_pos[a.peek()]},this._fetch_data(a,0,function(a){var c=String.buffer();a.foreach(this._fetchRowHTML.$(this,c)),this.getRowsContainer().innerHTML=c.get(),b!=null&&this._setVScroll(b),this._resetVSHeight(),a.length>1?this.scrollToRecord(a[1].id()):this._setVScroll(this.getBodyDiv().scrollTop=0),this.getBoundRecords()})},b.displayPage=function(a){a==null&&(a=0),this._page=a;var b=this._records.array;if(this._rpp){var c=a*this._rpp;b=b.slice(c,c+this._rpp)}this._display_ids(b)},b._resetVSHeight=function(){this._vScroll&&this._info_display&&(h=Math.floor(this.getRowsContainer().offsetHeight*this.getNRecords()/this._info_display.length),this._getVSHeightDiv().style.height=isNaN(h)?"":h+"px")},b._setVScroll=function(a){var b=this._getVSScrollDiv();a?(b.style.height=a+"px",b.style.display="block"):b.style.display="none"},b.initWidths=function(){var a={};this._cols.foreach(function(b){a[b.id()]=this.getColWidth(b)},this);for(var b=this.getRowsContainer(),c=b.firstChild;c;c=c.nextSibling)for(var d=c.firstChild.rows[0].cells,e=d.length;--e>=0;){var f=d[e],g=f.getAttribute("colid");a[g]=Math.max(a[g]||0,f.offsetWidth)}this._cols.foreach(function(b){this.setColWidth(b,a[b.id()])},this)},b.resetColumns=function(a){var b=this.getHeaderRow(),c=b.cells,d=[];this._cols=a.map(function(a,b){var c=this._colsById[a.id];d.push(c._cell),c.index=b,c._width=a.width,c._isVisible=a.visible;return c},this);var e=document.createDocumentFragment();d.foreach(function(a){e.appendChild(a)}),b.appendChild(e),this.refreshDisplay(),this._cols.foreach(function(a){this.setColVisible(a,a.isVisible()),this.setColWidth(a,a.getWidth())},this)},b.reorderColumn=function(a,b,c){var d=a.index,e=b.index;c&&e++;var f=this._cols;f.splice(d,1),f.splice(d<e?e-1:e,0,a);for(var g=0;g<f.length;++g)f[g].index=g;for(var g=this.getRowsContainer().firstChild;g;g=g.nextSibling){var h=g.firstChild.rows[0].cells,a=h[d],b=h[e];a.parentNode.insertBefore(a,b||null)}var h=this.getHeaderRow().cells,a=h[d],b=h[e];a.parentNode.insertBefore(a,b||null),this._computeColPos()},b.getNRecords=function(){return this._records?this._records.array.length:0},b.getNPages=function(){if(!this._rpp)return 1;return Math.ceil(this.getNRecords()/this._rpp)},b.rec_isSelected=function(a){return this._selection.isSelected(a.id())},b._computeColPos=function(){var a=-1;this._headCont._colPos=this._cols.map(function(b){a+=this.getColWidth(b);return{pos:a,col:b}},this)},b._createElement=function(){a.BASE._createElement.call(this),this.getElement().id=this.id,this._ss=new DlStyleSheet,this._cssPrefix="#"+this.id,this.setContent(i),this._initHeaders(),this.getBodyDiv().onscroll=this._rarify?k.rarify(this._rarify.calls,this._rarify.timeout,this):k.$(this);var b=this._headCont=new DlContainer({parent:this,element:this.getHeaderDiv()});b.addEventListener({onMouseMove:DlDataGridHeadLabel._on_headMouseMove,onMouseLeave:DlDataGridHeadLabel._on_headMouseLeave,onMouseEnter:this._computeColPos.$(this)}),this._bodyCont=new DlContainer({parent:this,element:this.getBodyDiv(),drag:this._dragArgs}),this._dragArgs=null,"onMouseOver onMouseOut onMouseDown onMouseUp onMouseLeave onDblClick".qw().foreach(function(a){this.addEventListener(a,this["_body_"+a])},this),this._cacheEvents={onChange:this._data_onChange.$(this),onInsert:this._data_onInsert.$(this),onDelete:this._data_onDelete.$(this),onRefresh:this._data_onRefresh.$(this)},this.setCache(this._data),this.addEventListener("onDestroy",this._onDestroy),this._records&&this.resetIDS(this._records),this._sel_events={onChange:this._sel_onChange.$(this),onReset:this._sel_onReset.$(this)},this._selection||(this._selection=new DlSelectionModel({})),this.setSelectionModel(this._selection)},b._onDestroy=function(){this._ss.destroy(),this.setCache(null)},b.setCache=function(a){this._data&&this._data.removeEventListener(this._cacheEvents),(this._data=a)&&a.addEventListener(this._cacheEvents)},b._data_onChange=function(a){var b=this.getRowElement(a.id());if(b){var d=String.buffer();this._fetchRowHTML(d,a),d=d.get();if(is_ie)b.outerHTML=d;else{var e=c.createFromHtml(d);c.trash(b.parentNode.replaceChild(e,b))}}},b._data_onInsert=function(a,b){var c=this._records.array;b==null&&(b=c.length),c.splice(b,0,a.id()),this.resetIDS(c),this.refreshDisplay()},b._data_onDelete=function(a){var b=this._records.array;a instanceof Array?a.foreach(function(a){this.remove(a)},b):b.remove(a),this.resetIDS(b),this.refreshDisplay()},b._data_onRefresh=function(){},b._recompDynamicWidths=function(){var a=this.getBodyDiv().clientWidth,b=[];this._cols.foreach(function(c){c.getFill()==null?a-=this.getColWidth(c):b.push(c)},this),a-=1,b.foreach(function(b){this.setColWidth(b,a*b.getFill())},this)},b._initHeaders=function(){this._colsById={},this._cols.foreach(function(a,b){a instanceof DlGridCol||(a=this._cols[b]=new DlGridCol(a)),a.addEventListener("onVisibility",this.setColVisible.$(this,a)),a.index=b,this._colsById[a.id()]=a;var c="DlDataGrid-col-"+a.id(),d=this._cssPrefix+" ."+c;d=d+","+d+" .DlDataGrid-cellData";var e=[],f=a.getWidth();typeof f=="number"&&e.push("width:"+f+"px"),e=e.join(";"),a._cssRule=this._ss.insertRule(d,e),a.isVisible()||this._ss.modifyRule(a._cssRule,{display:"none"});var g=a._cell=document.createElement("td");g.innerHTML="<div class='DlDataGrid-cellData'></div>",g.className=c,this.getHeaderRow().appendChild(g);var h=this._makeHeadLabel({parent:this,appendArgs:g.firstChild,iconClass:a.getIconClass(),label:a.getLabel(),col:a,className:"DlGrid-align-"+a.getStyle("textAlign","left"),tooltip:a.getTooltip.$(a),drag:this._getDragObject()});a._button=h},this)},b.findRowFromEvent=function(a){return j(a)};function j(a){var b=a.target,c,d,e,f,g;try{while(b&&b.tagName){if((g=b.tagName.toLowerCase())=="div"&&(e=b.getAttribute("recid"))!=null){c=b;break}!f&&g=="td"&&(d=b,f=b.getAttribute("colid")),b=b.parentNode}}catch(a){}return c?{row:c,col:d,id:e,col_id:f}:null}b._sel_onChange=function(a,b){var c=this.getRowElement(a);c&&f(c,b,"DlDataGridRow-selected")},b._sel_onReset=function(a,b){var c,f;for(c in a)b[c]||(f=this.getRowElement(c))&&e(f,"DlDataGridRow-selected");for(c in b)a[c]||(f=this.getRowElement(c))&&d(f,"DlDataGridRow-selected")},b.setSelectionModel=function(a){this._selection&&this._selection.removeEventListener(this._sel_events),this._selection=a,a.addEventListener(this._sel_events)},b._body_onDblClick=function(a){this.callHooks("onBodyDblClick");var b=j(a);b&&this.callHooks("onRowDblClick",b)},b._body_onMouseOver=function(a){var b=j(a);b&&this.__tooltip instanceof Function&&(this._tooltipRow=b,DlWidget.getTooltip().popup({timeout:this.__tooltipTimeout,content:this.__tooltip.$(this,b),anchor:this.getElement(),align:"mouse",onPopup:this.__onTooltipShow,onHide:this.__onTooltipHide,widget:this}))},b._body_onMouseOut=function(a){var b=j(a);b&&(DlWidget.getTooltip().hide(),this._tooltipRow=null)},b._body_onMouseLeave=function(a){},b.__handleSelectClick=function(a,b){var c=this._selection,d=this._records;if(c.multiple)if(b.button==2)this._rtClickKeepSel||(b.ctrlKey?(this.callHooks("onRowClick",a,b,{rtc:true,ctrl:true,type:"select",ids:[a.id]}),c.select([a.id])):c.isSelected(a.id)||(this.callHooks("onRowClick",a,b,{rtc:true,type:"reset",ids:[a.id]}),c.reset([a.id])));else if(b.ctrlKey)this.callHooks("onRowClick",a,b,{ctrl:true,type:"toggle",ids:[a.id]}),c.toggle(a.id),c._last=a.id;else if(b.shiftKey)if(c._last!=null){var e=d.id_to_pos[c._last],f=d.id_to_pos[a.id],g=d.array.slice(Math.min(e,f),Math.max(e,f)+1);this.callHooks("onRowClick",a,b,{shift:true,type:"reset",ids:g}),c.reset(g)}else this.callHooks("onRowClick",a,b,{shift:true,type:"toggle",ids:[a.id]}),c.toggle(a.id),c._last=a.id;else this.callHooks("onRowClick",a,b,{type:"reset",ids:[a.id]}),c.reset([a.id]),c._last=a.id;else if(!this._noReselect||!c.isSelected(a.id))this.callHooks("onRowClick",a,b,{type:"reset",ids:[a.id]}),c.reset([a.id]),c._last=a.id},b._body_onMouseUp=function(a){var b=j(a),c=this.__handleOnMouseUp;b&&c&&b.id==c.id&&this.__handleSelectClick(b,a)},b._body_onMouseDown=function(a){var b=j(a),c=this._selection;b&&(this.__handleOnMouseUp=!c.isSelected(b.id)||!this._bodyCont._dragArgs||a.ctrlKey||a.shiftKey?null:b,this.__handleOnMouseUp||this.__handleSelectClick(b,a),a.button!=2&&g())},b.scrollToRecord=function(a,b){var c=this.getRowsContainer(),d=Math.floor(c.offsetHeight/c.childNodes.length),e=d*this._records.id_to_pos[a||this._selection._last],f=this.getBodyDiv(),g=f.scrollTop,h=f.clientHeight;if(b==null)e<g?(f.scrollTop=e,this._setVScroll(d*this._info_display.first_row_index)):e+d>g+h&&(f.scrollTop=e+d-h,this._setVScroll(d*this._info_display.first_row_index));else switch(b){case"top":f.scrollTop=e;break;case"bottom":f.scrollTop=e+d-h;break;case"center":f.scrollTop=(2*e+d-h)/2}},b.scrollHome=function(){this.getBodyDiv().scrollTop=0},b.scrollEnd=function(){this.getBodyDiv().scrollTop=this._getVSHeightDiv().offsetHeight},b.scrollPage=function(a){var b=this.getBodyDiv();b.scrollTop+=a*b.clientHeight-20},b._handle_focusKeys=function(b){var c=this._selection,d=b.keyCode,e=b.charCode,f=this._records,h;switch(d){case DlKeyboard.ARROW_DOWN:h=-1,c._last!=null&&(h=f.id_to_pos[c._last]);if(b.shiftKey&&c.multiple){var i=f.array.slice(h,h+2);c.select(i),c._last=i.peek()}else{h=f.array.limitIndex(h+1);var j=f.array[h];c.reset([j]),c._last=j}this.scrollToRecord(),g();break;case DlKeyboard.ARROW_UP:h=f.array.length,c._last!=null&&(h=f.id_to_pos[c._last]);if(b.shiftKey&&c.multiple){var i=f.array.slice(h-1,h);c.select(i),c._last=i.peek()}else{h=f.array.limitIndex(h-1);var j=f.array[h];c.reset([j]),c._last=j}this.scrollToRecord(),g();break;case DlKeyboard.HOME:this.scrollHome(),g();break;case DlKeyboard.END:this.scrollEnd(),g();break;case DlKeyboard.PAGE_UP:this.scrollPage(-1),g();break;case DlKeyboard.PAGE_DOWN:this.scrollPage(1),g()}a.BASE._handle_focusKeys.call(this,b)},b._makeHeadLabel=function(a){return new this._headType(a)},b._onHeadClick=function(a,b){if(a.isSortable()){a=a.id();var c=this.__sortCol||null,d=null;a==c&&(d=true,this.__sortRev&&(d=!d)),this.__sortRev=d,this._data.sort(this._records.array,a,c,d,this._handleSort.$(this,a,d))}},b._handleSort=function(a,b,c){this.resetIDS(c),this.refreshDisplay(),this.setSortColumn(a,b)},b.setSortColumn=function(a,b){var c=this.__sortCol;c&&(c=this._colsById[c],c._button.delClass(/DlDataGridHeadLabel-sort-[^\s]+/g)),(this.__sortCol=a)&&this._colsById[a]._button.condClass(b,"DlDataGridHeadLabel-sort-down","DlDataGridHeadLabel-sort-up")},b.getSortColumn=function(){return this.__sortCol},b.getSortReverse=function(){return this.__sortRev},b.getCol=function(a){a instanceof DlGridCol||(a=this._colsById[a]);return a},b.getRec=function(a){a instanceof DlRecord||(a=this._data.get(a));return a},b.setColWidth=function(a,b){a=this.getCol(a),a._width=b,this._ss.modifyRule(a._cssRule,{width:b+"px"})},b.setColVisible=function(a,b){a=this.getCol(a),this._ss.modifyRule(a._cssRule,{display:b?"":"none"}),a._isVisible=!!b},b.getColWidth=function(a){a=this.getCol(a);return this.getHeaderRow().cells[a.index].offsetWidth},b._getDragObject=function(){this.__drag||(this.__drag=new DlGridDragCol({}));return this.__drag},b._fetchRowContentHTML=function(a,b){a("<table class='DlDataGrid-rowTable' cellspacing='0' cellpadding='0'><tr>");var c=this._cols,d=c.length,e=this._data,f,g,h,i;for(i=0;i<d;++i)f=c[i],g=f.id(),a("<td colid='",g,"' class='DlDataGrid-col-",g),(h=e.getCellClass(b,f.id()))&&a(" ",h),a("'>"),is_ie&&a("<div class='DlDataGrid-cellData'>"),e.formatHTML(b,f.id(),a),is_ie&&a("</div>"),a("</td>");a("</tr></table>")},b._fetchRowHTML=function(a,b){var c="DlDataGrid-row",d=this._data.getRecClass(b);d&&(c+=" "+d),this.rec_isSelected(b)&&(c+=" DlDataGridRow-selected"),a("<div id='",this.id,":",b.id(),"' class='",c,"' recid='",b.id(),"'>"),this._fetchRowContentHTML(a,b),a("</div>")},b.getRowElement=function(a){return document.getElementById(this.id+":"+a)},b.refreshDisplay=function(){this._oldScroll=null;var a=this.getBodyDiv(),b=a.scrollTop,c=this.getRowsContainer(),d=this._records.array,e=this._info_display;this._rpp&&d.length<this._rpp&&this.displayPage(0);if(this._rpp){var f=Math.floor(c.offsetHeight/c.childNodes.length),g=Math.ceil(b/f)-1;g<0&&(g=0);var h=Math.floor((b+a.clientHeight)/f);h>=d.length&&(h=d.length-1);var i=d.slice(g,g+this._rpp);this._display_ids(i,f*g)}},b.__doLayout=function(){var a=this.getInnerSize(),b=this.getBodyDiv(),d=this.getHeaderDiv();c.setOuterSize(b,a.x,a.y-d.offsetHeight),c.setOuterSize(d,a.x,null),this._resetVSHeight(),this._records&&this._records.array.length>0&&(this._oldScroll=null,k.call(this)),this._recompDynamicWidths()},b.getBoundRecords=function(){var a=this.getBodyDiv(),b=a.scrollTop,c=this.getRowsContainer(),d=this._records.array,e=c.offsetHeight;if(e==0)return this.__boundRecords;var f=Math.floor(e/c.childNodes.length),g=Math.ceil(b/f)-1;g<0&&(g=0);var h=Math.floor((b+a.clientHeight)/f);h>=d.length&&(h=d.length-1);return this.__boundRecords={first:g,last:h,count:h-g+1,h:f}};function k(){if(!this._processing_scroll){this._processing_scroll=true;var a=this.getBodyDiv(),b=a.scrollTop;this.getHeaderTable().style.marginLeft=-a.scrollLeft+"px";if(this._vScroll&&this._records&&b!=this._oldScroll){var d=this.getRowsContainer(),e=this._records.array,f=this._info_display,g=this.getBoundRecords(),h=g.first,i=g.last;g=g.h;if(!(h>=f.first_row_index&&i<=f.last_row_index))if(i<f.first_row_index||h>f.last_row_index){var j=e.slice(h,h+this._rpp);this._display_ids(j,g*h)}else if(h<f.first_row_index){var j=e.slice(h,f.first_row_index);this.__scrollConts++,this.__cont=function(a){var b=String.buffer("<div>"),e=a.length;a.foreach(this._fetchRowHTML.$(this,b)),b("</div>");var i=b.get(),j=c.createFromHtml(i),k;try{var l=document.createRange(),m=d.childNodes;l.selectNodeContents(j),k=l.extractContents(),l.detach(),l=document.createRange(),l.setStartBefore(m[m.length-e]),l.setEndAfter(m[m.length-1]),l.deleteContents()}catch(a){k||(k=document.createDocumentFragment());while(j.firstChild)d.removeChild(d.lastChild),k.appendChild(j.firstChild)}d.insertBefore(k,d.firstChild),this._setVScroll(g*h),f.first_row_index=h,f.last_row_index-=e},this._fetch_data(j,-1,function(a){this.__scrollConts--,this.__scrollConts==0&&this.__cont(a)})}else if(i>f.last_row_index){var j=e.slice(f.last_row_index+1,i+1);this.__scrollConts++,this.__cont=function(a){var b=String.buffer("<div>"),e=a.length;a.foreach(this._fetchRowHTML.$(this,b)),b("</div>");var h=b.get(),j=c.createFromHtml(h),k;try{var l=document.createRange();l.selectNodeContents(j),k=l.extractContents(),l.detach(),l=document.createRange(),l.setStartBefore(d.firstChild),l.setEndBefore(d.childNodes[e]),l.deleteContents()}catch(a){k||(k=document.createDocumentFragment());while(j.firstChild)d.removeChild(d.firstChild),k.appendChild(j.firstChild)}d.appendChild(k),this._setVScroll(this._getVSScrollDiv().offsetHeight+g*e),f.first_row_index+=e,f.last_row_index=i},this._fetch_data(j,1,function(a){this.__scrollConts--,this.__scrollConts==0&&this.__cont(a)})}this._oldScroll=b}this.callHooks("onBodyScroll"),this._processing_scroll=false}}}),DEFINE_CLASS("DlDragDataGrid",DlDrag,function(a,b){b.startOK=function(a,b){var c=a.parent,d=false,e=b.target;while(e&&e!=a.getElement()){if(e==c._getVSHeightDiv()){d=true;break}e=e.parentNode}d&&c._selection.getArray().length>0?this.grid=c:d=false;return d},b.reset=function(){this.grid=null,a.BASE.reset.apply(this,arguments)}}),DEFINE_CLASS("DlDesktop",DlContainer,function(a,b){a.DEFAULT_ARGS={_bounds:["bounds",new DlRect(500,70,500,500)]},b._createElement=function(){a.BASE._createElement.call(this);var b=this.getElement();this._bounds.positionDiv(b),document.body.appendChild(b)};if(is_ie)var c=Dynarch.ID("IEsux"),d=function(){var a=document.getElementById(c);a||(a=document.createElement("div"),a.style.position="absolute",a.style.right=a.style.bottom=a.style.width=a.style.height="0px",a.style.zIndex="-100",document.body.appendChild(a)),this.setSize({x:a.offsetLeft,y:a.offsetTop+a.offsetHeight})};b.fullScreen=function(){var a=this.getElement().style;a.left=a.top="0px",a.height=a.width="100%";var b;is_ie?b=d.$(this):b=this.callHooks.$(this,"onResize"),DynarchDomUtils.addEvent(window,"resize",b.clearingTimeout(25))}}),DEFINE_CLASS("DlTable",DlContainer,function(a,b,c){var d=c.createElement;a.FIXARGS=function(a){a.tagName="table",this._colSpan=0},a.DEFAULT_ARGS={__cellSpacing:["cellSpacing",null],__cellPadding:["cellPadding",null],__align:["align",null]},b._createElement=function(){a.BASE._createElement.call(this);var b=this.getElement();this.__cellPadding!=null&&(b.cellPadding=this.__cellPadding),this.__cellSpacing!=null&&(b.cellSpacing=this.__cellSpacing),this.__align!=null&&(b.align=this.__align),d("tbody",null,null,b)},b.getContentElement=function(){return this.getElement().firstChild},b.addRow=function(){return new DlTableRow({parent:this})},b.getRow=function(a){return this.children(a)},b.addCell=function(a,b,c){var d=new DlTableCell({parent:a});b!=null&&d.addClass("DlAlign-"+b);if(c!=null){var e=d.getElement().style;e.verticalAlign=c}var f=d.getElement().cellIndex+1;f>this._colSpan&&(this._colSpan=f);return d},b.getColSpan=function(){return this._colSpan},b.setColSpan=function(a){this._colSpan=a},b.addSeparator=function(a){a==null&&(a=this.getColSpan()),d("div",null,{innerHTML:"&nbsp;"},d("td",null,{colSpan:a},d("tr",null,{className:"DlTable-RowSeparator"},this.getContentElement())))}}),DEFINE_CLASS("DlTableRow",DlContainer,function(a,b){a.DEFAULT_ARGS={_tagName:["tagName","tr"]}}),DEFINE_CLASS("DlTableCell",DlContainer,function(a,b){a.DEFAULT_ARGS={_tagName:["tagName","td"]}}),DEFINE_CLASS("DlFieldGrid",DlTable,function(a,b){a.CONSTRUCT=function(){this.__fields={}},b.addField=function(a,b,c){var d=a.widget||new DlEntry(a),e=a.label;b||(b={}),e&&(e instanceof DlWidget?e instanceof DlLabel&&e.setWidget(d):e=new DlLabel({label:a.label.makeLabel(),widget:d}));var f=this.addRow(),g=this.addCell(f,"right",a.valign);g.addClass("DlFieldGrid-labelCell"),a.valign=="top"&&e instanceof DlLabel&&(g.getElement().style.paddingTop="4px"),e&&g.appendWidget(e);if(b.middleText){var h=this.addCell(f);h.setContent(b.middleText)}var i=this.addCell(f);i.appendWidget(d);var j=a.id||a.name;j!=null&&(this.__fields[j]=d.getWidgetId(),delete a.id);if(b){var k=i.getElement();b.colSpan&&(k.colSpan=b.colSpan),b.rowSpan&&(k.rowSpan=b.rowSpan)}c&&(c.row=f,c.c1=g,c.c2=i,c.label=e,c.entry=d);return d},b.getField=function(a){return a?DlWidget.getById(this.__fields[a]):this.__fields},b.setField=function(a,b){this.__fields[a]=b.getWidgetId()},b.getValue=function(){var a={};for(var b in this.__fields){var c=this.getField(b),d=c.getFormValue||c.getValue;if(d instanceof Function)if(c instanceof DlAbstractButton&&c._checkTwoState(true)){var e=d.call(c);typeof e=="boolean"?a[b]=e:e==null?a[b]=c.checked():c.checked()&&(a[b]=e)}else a[b]=d.call(c)}return a},b.getValues=b.getValue,b.setValue=function(a){for(var b in a){var c=this.getField(b),d=a[b],e;c&&((e=c.setFormValue||c.setValue)instanceof Function&&(c instanceof DlAbstractButton&&c._checkTwoState(true)?c.checked(typeof d=="string"?d!="0":!!d):e.call(c,d)))}},b.setValues=b.setValue}),DEFINE_CLASS("DlFieldset",DlContainer,function(a,b,c){a.DEFAULT_ARGS={_label:["label","DlFieldset"]},b._createElement=function(){a.BASE._createElement.call(this),this.getElement().innerHTML=["<span class='DlFieldset-label'>",this._label,"</span>","<div class='DlFieldset-content'></div>"].join("")},b.getContentElement=function(){return this.getElement().childNodes[1]},b.getLabelElement=function(){return this.getElement().firstChild},b.setOuterSize=b.setSize=function(a){var b=c.getPos(this.getLabelElement()),d=c.getPos(this.getContentElement()),e=d.y-b.y;c.setOuterSize(this.getElement(),a.x,a.y-e),a=c.getInnerSize(this.getElement()),c.setOuterSize(this.getContentElement(),a.x,a.y),this.callHooks("onResize")}}),function(){var a={},b={};window.DlSingleton={get:function(c,d){return b[c]||!d&&(b[c]=new a[c])},register:function(b,c,d){a[b]=c,d&&(window[b]=this.get.$C(b))}}}(),DEFINE_SINGLETON("DlFlashUtils",DlEventProxy,function(a,b){a.DEFAULT_EVENTS=["onLoad","onStorageStatus"];var c=is_ie?String.template("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"215\" height=\"138\" id=\"DlFlashUtils-MOVIE\" align=\"middle\">","<param name=\"allowScriptAccess\" value=\"always\" />","<param name=\"movie\" value=\"$url\" />","<param name=\"quality\" value=\"high\" />","</object>"):String.template("<embed id=\"DlFlashUtils-MOVIE\" src=\"$url\" quality=\"high\" bgcolor=\"#ffffff\" width=\"215\" height=\"138\" ","allowScriptAccess=\"always\" ","type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />"),d=null;window.DlFlashUtils_init=function(a){DlFlashUtils().callHooks("onLoad")},b.init=function(){if(!d){var a=c({url:Dynarch.getFileURL("swf/flash.swf")});document.write("<div style='position: absolute; z-index: 31000; left: -256px; top: 50%; margin-left: -108px; margin-top: -69px; width: 216px; height: 138px;'>"+a+"</div>"),d=document.getElementById("DlFlashUtils-MOVIE")}},b.getObject=function(){return d},b.display=function(a){d.parentNode.style.left=a?"50%":"-256px"};function e(a){var b=null;try{b=a.GetVariable("$version")}catch(a){}return b}var f={"ShockwaveFlash.ShockwaveFlash.7":e,"ShockwaveFlash.ShockwaveFlash.6":function(a){var b="Win 6,0,21";try{a.AllowScriptAccess="always",b=e(a)}catch(a){}return b},"ShockwaveFlash.ShockwaveFlash":e};b.isSupported=function(){var a=navigator.plugins;if(a&&a.length){a=a["Shockwave Flash"];if(a&&a.description&&/^Shockwave Flash\s+([^\s]+)/i.test(a.description))return parseFloat(RegExp.$1)>=8}else if(is_ie)for(var b in f)try{var c=new ActiveXObject(b);if(c){var d=f[b](c);if(d!=null){d=d.split(/\s+/)[1];return parseFloat(d)>=8}}}catch(a){}return false},b.loadPolicyFile=function(a){return this.getObject().DlSocket_loadPolicyFile(a)};var g=b.decodeString=function(a){return a.replace(/%22/g,"\"").replace(/%5c/g,"\\").replace(/%26/g,"&").replace(/%25/g,"%")},h=b.decodeObject=function(a){var b,c;if(a instanceof Array)for(b=a.length;--b>=0;)a[b]=h(a[b]);else if(typeof a=="object"){if(a==null)return a;c={};for(b in a)c[g(b)]=h(a[b]);a=c}else typeof a=="string"&&(a=g(a));return a}}),DlFlashStore={set:function(a,b){DlFlashUtils().getObject().DlStorage_set(a,b)},get:function(a){return DlFlashUtils().decodeObject(DlFlashUtils().getObject().DlStorage_get(a))},getAllKeys:function(){return DlFlashUtils().decodeObject(DlFlashUtils().getObject().DlStorage_getAllKeys())},remove:function(a){DlFlashUtils().getObject().DlStorage_remove(a)},clear:function(){DlFlashUtils().getObject().DlStorage_clear()},flush:function(a){var b=DlFlashUtils().getObject().DlStorage_flush();a&&b=="pending"&&DlFlashUtils().display(true);return b},_onStatus:function(a){DlFlashUtils().display(false),DlFlashUtils().applyHooks("onStorageStatus",[a])}},DEFINE_CLASS("DlGridLayout",DlLayout,function(a,b,c){var d=c.createElement,e=c.addClass;a.DEFAULT_ARGS={__layout:["layout",null],__layoutHTML:["layoutHTML",null],__cellSpacing:["cellSpacing",0],__cellPadding:["cellPadding",1]};var f=["width","padding","paddingLeft","paddingRight","paddingTop","paddingBottom","verticalAlign","textAlign","whiteSpace"];b._createElement=function(){a.BASE._createElement.call(this);var b;if(this.__layoutHTML)this.setContent(this.__layoutHTML),b=this.getElement().getElementsByTagName("table")[0];else{b=d("table",null,{cellSpacing:this.__cellSpacing,cellPadding:this.__cellPadding,className:"DlGridLayout-table"}),d("tbody",null,null,b);var c=this.__layout;c.foreach(function(a){var c=a.props,d=b.insertRow(-1);c&&c.minHeight&&(e(d,"DlGridLayout-tr-minHeight"),d.minHeight=true),a.cells.foreach(function(a,b){var g=d.insertCell(-1);b==0&&c&&c.height&&(g.style.height=c.height),a&&(a.colSpan&&(g.colSpan=a.colSpan),a.className&&(g.className=a.className),a.rowSpan&&(g.rowSpan=a.rowSpan),a.minWidth&&e(g,"DlGridLayout-td-minWidth"),a.minHeight&&(g.minHeight=true,e(g,"DlGridLayout-td-minHeight")),f.r_foreach(function(b){var c=a[b];c!=null&&(this[b]=c)},g.style))})}),this.getElement().appendChild(b)}this.refNode("__table",b)},b._appendWidgetElement=function(b,c){if(c.inCell){var d=this.getCellElement(c.row,c.col);d.appendChild(b.getElement()),b._dllayout_args=c}else a.BASE._appendWidgetElement.call(this,b,c)},b._removeWidgetElement=function(b){if(this._widgets.contains(b))if(b._dllayout_args.inCell){var c=b.getElement();c.parentNode.removeChild(c)}else a.BASE._removeWidgetElement.call(this,b)},b.getTableElement=function(){return this.__table},b.getCellElement=function(a,b){return this.getTableElement().rows[a].cells[b]},b.doLayout=function(){var a=this.children();(2).times(function(b){a.foreach(function(a){var c=a._dllayout_args;if(!c.inCell){var d=this.getCellElement(c.row,c.col),e=d.offsetLeft,f=d.offsetTop,g=d.offsetWidth,h=d.offsetHeight;if(b==0){var i=a.getOuterSize();(d.minHeight||d.parentNode.minHeight)&&h<i.y&&(d.style.height=i.y+"px")}else{var j=a.getElement().parentNode.style;j.left=e+"px",j.top=f+"px",a.setOuterSize({x:g,y:h})}}},this)},this)},b.showWidgets=function(a){arguments.length==0&&(a=true),this.children().r_foreach(function(b){b.display(a)})}}),DlHtmlUtils={_blockTags:"body form textarea fieldset ul ol dl dd dt li div blockquote p h1 h2 h3 h4 h5 h6 quote pre table thead tbody tfoot tr td iframe address".hashWords(),_quickTags:"br hr input link meta img".hashWords(),_headingTags:"h1 h2 h3 h4 h5 h6".hashWords(),_descTags:"p blockquote td div li".hashWords(),isBlockElement:function(a){return a&&a.nodeType==1&&a.tagName.toLowerCase()in DlHtmlUtils._blockTags},needsClosingTag:function(a){return a&&a.nodeType==1&&!(a.tagName.toLowerCase()in DlHtmlUtils._quickTags)},htmlEncode:function(a){return String(a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\x22/g,"&quot;").replace(/\u00A0/g,"&#xa0;")},getHTML:function(a,b,c){var d=DlHtmlUtils,e=[],f=0,g=d.needsClosingTag,h=d.htmlEncode,i=d.getInnerText,j=null,k=null,l=null,m=d._descTags,n=d._headingTags,o=0;function p(a,b){var d;switch(a.nodeType){case 11:b=false;case 1:var q=a.tagName.toLowerCase();if(a.className=="DynarchLIB-REMOVE-ME")break;if(b){var r=!(a.hasChildNodes()||g(a));if(q=="br"){if(a.previousSibling&&!a.nextSibling)break;if(o){e[f++]="\n";break}}c&&(j==null&&q in n?(j=i(a),l=0):k==null&&q in m&&(k=i(a))),e[f++]="<",e[f++]=q;var s=a.attributes;for(d=0;d<s.length;++d){var t=s.item(d);if(!t.specified)continue;var u=t.nodeName.toLowerCase();if(/^_moz|^_msh/.test(u))continue;var v;u!="style"?typeof a[t.nodeName]!="undefined"&&u!="href"&&u!="src"&&!/^on/.test(u)?v=a[t.nodeName]:v=t.nodeValue:v=a.style.cssText;if(/(_moz|^$)/.test(v))continue;e[f++]=" "+u+"=\""+h(v)+"\""}e[f++]=r?" />":">"}for(q=="pre"&&++o,d=a.firstChild;d;d=d.nextSibling)p(d,true);q=="pre"&&--o,b&&!r&&(e[f++]="</"+q+">"),l===0&&(l=f);break;case 3:/^(script|style)$/i.test(a.parentNode.tagName)?a.data.indexOf("/*<![CDATA[*/")!=0?(e[f++]="/*<![CDATA[*/",e[f++]=a.data,e[f++]="/*]]>*/"):e[f++]=a.data:e[f++]=a.data.htmlEscape();break;case 4:case 8:e[f++]="<!--",e[f++]=a.data,e[f++]="-->"}}p(a,b);var q=e.join("");c&&(q={title:j,description:k,content:q,contentButTitle:""},l&&(q.contentButTitle=e.slice(l).join("")));return q},getInnerText:function(a){if(a.innerText!=null)return a.innerText;if(a.textContent!=null)return a.textContent},getText:function(a){for(var b=a.cloneNode(true),c=b.getElementsByTagName("*"),d=c.length;--d>=0;){var e=c[d];if(DlHtmlUtils.isBlockElement(e)){var f=e.ownerDocument.createTextNode(" ");e.insertBefore(f,e.firstChild),e.appendChild(f.cloneNode(true))}}var g=DlHtmlUtils.getInnerText(b);DynarchDomUtils.trash(b);return g},_can_t_DeleteFull_tags:"td".hashWords(),canDeleteFullNode:function(a){return!(a.toLowerCase()in DlHtmlUtils._can_t_DeleteFull_tags)},_can_t_DeleteContent_tags:"ul ol dd table tr img br hr".hashWords(),canDeleteContent:function(a){return!(a.toLowerCase()in DlHtmlUtils._can_t_DeleteContent_tags)},_can_t_StripNode_tags:"ul ol li dd dt dl img br hr table tr td object applet iframe form textarea".hashWords(),canStripNode:function(a){return!(a.toLowerCase()in DlHtmlUtils._can_t_StripNode_tags)}},DEFINE_CLASS("DlIconListView",DlContainer),DEFINE_CLASS("DlIconListItem",DlAbstractButton,function(a,b){a.DEFAULT_ARGS={__itemSize:["itemSize",{x:100,y:null}],__itemSpacing:["itemSpacing",0],__spaceEvenly:["spaceEvenly",false],__iconSize:["iconSize",{x:40,y:40}],__iconAbove:["iconAbove",true],_btnType:["type",DlAbstractButton.TYPE.TWOSTATE],_tagName:["tagName","table"],_classes:["classes",{active:"DlIconListItem-active",hover:"DlIconListItem-hover",checked:"DlIconListItem-1",unchecked:"DlIconListItem-0",empty:"DlIconListItem-empty",disabled:"DlIconListItem-disabled"}],_iconClass:["iconClass",null]};var c=["DlIconListItem-iconCell","DlIconListItem-labelCell"];b._createElement=function(){DlWidget.prototype._createElement.call(this);var a=this.getElement();a.cellSpacing=a.cellPadding=0,this.__spaceEvenly?a.style.margin=this.__itemSpacing+"px":a.style.marginRight=a.style.marginBottom=this.__itemSpacing+"px",a.insertRow(-1).insertCell(-1),a.insertRow(-1).insertCell(-1),a.align="left",this.setIconAbove(this.__iconAbove,true),this.setIconClass(this._iconClass),this.label(this._label,true),this.setIconSize(this.__iconSize),this._updateState()},b.setIconClass=function(a){this.getIconCell().className=c[0]+" "+a},b.getIconCell=function(){return this.getElement().rows[this.__iconAbove?0:1].cells[0]},b.getLabelCell=function(){return this.getElement().rows[this.__iconAbove?1:0].cells[0]},b.setIconSize=function(a){DynarchDomUtils.setInnerSize(this.getIconCell(),a.x,a.y),this.__iconSize=a},b.getIconSize=function(){return this.__iconSize},b.setIconAbove=function(a,b){var d=this.getElement().rows;b?(d[0].cells[0].className=c[a?0:1],d[1].cells[0].className=c[a?1:0]):a!==this.__iconAbove&&d[1].parentNode.insertBefore(d[1],d[0]),this.__iconAbove=a},b.label=function(a,b){a!=null&&(b||a!==this._label)&&(this._label=a,this.getLabelCell().innerHTML=String.buffer("<div class='DlIconListItem-labelDiv' style='width:",this.__itemSize.x,"px'>",a,"</div>").get(),this.applyHooks("onUpdateLabel",[this._label]));return this._label}}),DlJSON={RE_strings:/(\x22(\\.|[^\x22\\])*\x22|\x27(\\.|[^\x27\\])*\x27)/g,RE_forbid:/([\n;()+=\x2f*-])/g,encode:function(a){var b,c;if(a==null)b="null";else if(a.dynarchlib_toJSON)b=a.dynarchlib_toJSON();else if(a instanceof Array)b=["[",a.map(DlJSON.encode).join(","),"]"].join("");else if(a instanceof Date)b=DlJSON.encode(a.toUTCString());else if(typeof a=="object"){b=[];for(c in a)b.push([DlJSON.encode(c),":",DlJSON.encode(a[c])].join(""));b=["{",b.join(","),"}"].join("")}else typeof a=="string"?b=["\"",a.replace(/\x5c/g,"\\\\").replace(/\r?\n/g,"\\n").replace(/\t/g,"\\t").replace(/\x22/g,"\\\""),"\""].join(""):b=a.toString();return b},decode:function(a,b){if(!b){a=a.trim();var c=a.replace(DlJSON.RE_strings,"");if(DlJSON.RE_forbid.test(c))throw new DlSecurityException("Character "+RegExp.$1+" not allowed in JSON input!")}try{return Dynarch.evalClean(a)}catch(a){throw new DlDataException("Malformed data in JSON input: "+a)}},domToObject:function(a){for(var b={},c=String.buffer(),d=a.firstChild;d;d=d.nextSibling)if(d.nodeType==1){var e=DlJSON.domToObject(d),f=d.nodeName;f in b?(b[f]instanceof Array||(b[f]=[b[f]]),b[f].push(e)):b[f]=e}else d.nodeType==3&&c(d.nodeValue);b.$text=c.get();return b}};var DlKeyboard={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,SPACE:32,DASH:45,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,INSERT:45,DELETE:46,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,parseKey:function(a){var b={},c;a=a.toUpperCase();if(c=/^([a-z]+)\s+\x27(.)\x27$/i.exec(a))b[c[1]]=true,b.key=c[2];else if(c=/^([a-z]+)-([a-z]+)\s+\x27(.)\x27$/i.exec(a))b[c[1]]=b[c[2]]=true,b.key=c[3];else if(c=/^([a-z]+)-([a-z]+)-([a-z]+)\s+\x27(.)\x27$/i.exec(a))b[c[1]]=b[c[2]]=b[c[3]]=true,b.key=c[4];return b},checkKey:function(a,b){typeof b=="string"&&(b=DlKeyboard.parseKey(b));return(!b.CTRL&&!a.ctrlKey||b.CTRL&&a.ctrlKey)&&(!b.ALT&&!a.altKey||b.ALT&&a.altKey)&&(!b.SHIFT&&!a.shiftKey||b.SHIFT&&a.shiftKey)&&a.keyStr.toUpperCase()==b.key.toUpperCase()}};DlKeyboard.KEYS_CONTROL=["BACKSPACE","TAB","DELETE","ESCAPE","ENTER","PAGE_UP","PAGE_DOWN","END","HOME","ARROW_LEFT","ARROW_UP","ARROW_RIGHT","ARROW_DOWN"].keys_map(DlKeyboard).toHash(true),DlKeyboard.KEYS_MOVE=["ARROW_LEFT","ARROW_UP","ARROW_RIGHT","ARROW_DOWN"].keys_map(DlKeyboard).toHash(true),DlKeyboard.KEYS_MOVE_PREV=["ARROW_LEFT","ARROW_UP"].keys_map(DlKeyboard).toHash(true),DEFINE_CLASS("DlLabel",DlAbstractButton,function(a,b){a.DEFAULT_ARGS={_activateWidget:["widget",null],_tagName:["tagName","span"]},b._onMouseDown=function(a){var b=this._activateWidget;b&&(b.focus(),a.domStop=true,DlException.stopEventBubbling())},b.setWidget=function(a){this._activateWidget=a},b.getWidget=function(){return this._activateWidget},b._handle_accessKey=function(a){this._onMouseDown(a)}}),DEFINE_CLASS("DlLiteTree",DlContainer,function(a,b,c){a.DEFAULT_EVENTS="onItemMouseDown onItemDblClick".qw(),a.DEFAULT_ARGS={items:["items",null],sort:["sort",Function.identity],_opt_toggleSelection:["toggleSelection",false],_focusable:["focusable",true]},a.FIXARGS=function(a){Object.mergeUndefined(a,{fillParent:true})},a.CONSTRUCT=function(){this.addEventListener({onMouseDown:this._onMouseDown,onDblClick:this._onDblClick})},b.reset=function(a){this.top_items=a,this.setContent(this._buildHTML(a,0)),this._selection&&this._selection.filter(this._itemsById)},b.setSelectionModel=function(a){this._selection?this._selection.removeEventListener(this._selListeners):this._selListeners||(this._selListeners={onChange:this.$("_on_selChange"),onReset:this.$("_on_selReset")}),this._selection=a,a.addEventListener(this._selListeners)},b.isSelected=function(a){return this._selection&&this._selection.isSelected(a)},b.refreshItems=function(a){a.foreach(function(a){var b=this._getItemElement(a);if(b){var c=["item-label"],d=this._itemsById[a];this.isSelected(a)&&c.push("selected"),d.addClassNames(c),b.className=c.join(" ");var e=String.buffer("<span class='expander'></span>");d.formatHTML(e),b.innerHTML=e.get()}},this)},b.getItemById=function(a){return this._itemsById[a]},b._buildHTML=function(a,b){a=this.sort(a);if(a.length==0)return"";b==null&&(b=0),b==0&&(this._itemsById={});var c=String.buffer("<ul>");a.foreach(function(a){var d=a.children(),e=d.length>0;c("<li>");var f=["item-label"],g=a.id();a.addClassNames(f),this.isSelected(g)&&f.push("selected"),e&&f.push("expanded"),c("<div id='",this._makeId(g),"' lite-tree-item='",g,"' class='",f.join(" "),"'><span class='expander'></span>"),a.formatHTML(c),c("</div>",this._buildHTML(d,b+1),"</li>"),this._itemsById[a.id()]=a},this),c("</ul>");return c.get()},b._makeId=function(a){return this.id+":"+a},b._findItemFromEvent=function(a){var b={},c=a.target;while(c&&c.nodeType==1){var d=c.getAttribute("lite-tree-item");if(d!=null){b.el=c,b.id=d,b.item=this._itemsById[d];return b}c.className=="expander"&&(b.expander=c),c=c.parentNode}},b._getItemElement=function(a){return document.getElementById(this._makeId(a))},b.__handleSelectClick=function(a,b,d){var e=this._selection,f=this._itemsById[a.id],g=[f,a,b];if(d){e&&!e.isSelected(a.id)&&f.isSelectable()&&e.reset([a.id]),this.applyHooks("onItemDblClick",g);return}if(!e||a.expander||!a.item.isSelectable()){var h=a.el.nextSibling;if(h){var i=c.hasClass(h,"hidden");c.condClass(h,!i,"hidden"),c.condClass(a.el,i,"expanded","collapsed")}this.applyHooks("onItemMouseDown",g)}else e&&a.item.isSelectable()&&(e.multiple?b.ctrlKey?e.toggle(a.id):e.reset([a.id]):this._opt_toggleSelection&&e.isSelected(a.id)?e.toggle(a.id):e.reset([a.id]),this.applyHooks("onItemMouseDown",g))};var d=(new Date).getTime(),e=null;b._onMouseDown=function(a){var b=this._findItemFromEvent(a),c=(new Date).getTime();c-d<Dynarch.dblClickTimeout&&b&&e&&b.id==e.id?this.__handleSelectClick(b,a,true):b&&(d=c,this.__handleSelectClick(b,a,false)),e=b},b._on_selChange=function(a,b){c.condClass(this._getItemElement(a),b,"selected")},b._on_selReset=function(a,b){Object.foreach(a,function(a,b){c.delClass(this._getItemElement(b),"selected")},this),Object.foreach(b,function(a,b){c.addClass(this._getItemElement(b),"selected")},this)},a.Item=DEFINE_HIDDEN_CLASS(null,DlEventProxy,function(a,b){a.DEFAULT_ARGS={_name:["name",null],_id:["id",null],_children:["children",null]},a.CONSTRUCT=function(){this._children==null&&(this._children=[])},b.formatHTML=function(a){a(this._name)},b.addClassNames=Function.noop,b.id=function(){return this._id},b.children=function(){return this._children},b.isSelectable=Function.returnTrue})}),DEFINE_CLASS("DlMacBarIcon",DlAbstractButton,function(a,b){a.BEFORE_BASE=function(){this.__currentWidth=this.__minWidth,this.__currentHeight=this.__minHeight,this.__align=this.__align.split(/\s+/).toHash()};var c={active:"DlMacBarIcon-active",hover:"DlMacBarIcon-hover",checked:"DlMacBarIcon-1",unchecked:"DlMacBarIcon-0",empty:"DlMacBarIcon-empty",disabled:"DlMacBarIcon-disabled"};a.DEFAULT_ARGS={_classes:["classes",c],__image:["img",null],__minWidth:["minWidth",32],__minHeight:["minHeight",32],__maxWidth:["maxWidth",64],__maxHeight:["maxHeight",64],__align:["align","bottom"],__tooltipTimeout:["tooltipTimeout",900]},b._createElement=function(){DlWidget.prototype._createElement.call(this),this.setContent(String.buffer("<img src='",this.__image,"' width='",this.__minWidth,"' height='",this.__minHeight," ' />").get())},b.getImgElement=function(){return this.getElement().firstChild},b.flash=function(a){this._onMouseEnter(),this._onMouseLeave.delayed(a||100,this)},b.initDOM=function(){a.BASE.initDOM.call(this),this.addEventListener({onDestroy:d}),this.__anim=new DlAnimation(25,40),this.__anim.addEventListener({onUpdate:f.$(this),onStart:e.$(this)})};function d(){this.__anim.destroy()}b._onMouseEnter=function(){a.BASE._onMouseEnter.apply(this,arguments);var b=this.__anim;b.ew=this.__maxWidth,b.eh=this.__maxHeight,b.start(30,50,DlAnimation.easing.elastic_b)},b._onMouseLeave=function(){a.BASE._onMouseLeave.apply(this,arguments);var b=this.__anim;b.ew=this.__minWidth,b.eh=this.__minHeight,b.start(50,50,DlAnimation.easing.accel_b)};function e(){this.__anim.sw=this.__currentWidth,this.__anim.sh=this.__currentHeight}function f(){var a=this.__anim,b=this.getImgElement(),c=a.getPos(),d,e=a.getPos(function(a){return 1-Math.cos(a*2.5*Math.PI)/Math.exp(5*a)});b.width=this.__currentWidth=c.mapInt(a.sw,a.ew),b.height=this.__currentHeight=e.mapInt(a.sh,a.eh),a=this.__align,d=this.__minWidth-this.__currentWidth,a.center&&(d/=2);if(a.left||a.center)b.style.marginRight=d+"px";if(a.right||a.center)b.style.marginLeft=d+"px";d=this.__minHeight-this.__currentHeight,a.middle&&(d/=2);if(a.top||a.middle)b.style.marginBottom=d+"px";if(a.bottom||a.middle)b.style.marginTop=d+"px"}}),DEFINE_CLASS("DlNotebook",DlContainer,function(a,b){var c=["onChange"];b._createElement=function(){a.BASE._createElement.call(this),this.getElement().innerHTML="<div class='TabContent-inner'></div>"},b.appendWidget=function(b,c){b.registerEvents(["onNotebookShow"]),a.BASE.appendWidget.call(this,b);var d=b.getElement(),e=this.getContentElement();c!=null?c=this.__widgetsPosition:this.__widgetsPosition=c,c==null&&(c=this.__widgetsPosition=DynarchDomUtils.getPadding(e).x/2),d.style.position="absolute",d.style.visibility="hidden",d.style.left=d.style.top=c+"px",e.appendChild(d),this._panes.push(b)},b.initDOM=function(){this._panes=[],this._currentPane=null,this.registerEvents(c),a.BASE.initDOM.call(this)},b.getPane=function(a){return this._panes[a]},b.getAllPanes=function(){return this._panes},b.getCurrentPane=function(){return this.getPane(this._currentPane)},b.getCurrentPaneIndex=function(){return this._currentPane},b.length=function(){return this._panes.length},b.showPane=function(a){var b=this._currentPane;b!=null&&(this.getPane(b).visibility(false),this.getPane(b).setPos({x:-3e4,y:-3e4})),this._currentPane=a;var c=this.getPane(a);c._dl_notebook_has_size||(c.setSize(this.getInnerSize()),c._dl_notebook_has_size=true),c.setStyle({left:"",top:""}),c.visibility(true),a!==b&&this.applyHooks("onChange",[a,b]),c.callHooks("onNotebookShow");return this},b.firstPane=function(){this.showPane(0)},b.lastPane=function(){this.showPane(this.length()-1)},b.nextPane=function(){var a=this._currentPane;a==null?a=0:++a,a>=this._panes.length&&(a=0);return this.showPane(a)},b.prevPane=function(){var a=this._currentPane;a==null?a=this._panes.length-1:--a,a<0&&(a=this._panes.length-1);return this.showPane(a)},b.isFirstPane=function(){return this._currentPane==0},b.isLastPane=function(){return this._currentPane==this._panes.length-1},b.getContentElement=function(){return this.getElement().firstChild},b.setSize=b.setOuterSize=function(b){a.BASE.setOuterSize.call(this,b);var c=this.getElement();b=DynarchDomUtils.getInnerSize(c),DynarchDomUtils.setOuterSize(this.getContentElement(),b.x,b.y),c.style.width=c.style.height="",b=DynarchDomUtils.getInnerSize(this.getContentElement());var d=this.getCurrentPane();this._panes.foreach(function(a){a._dl_notebook_has_size=false}),d.setSize(b),d._dl_notebook_has_size=true},b.setIdealSize=function(){var a={x:0,y:0};this._panes.r_foreach(function(b){var c=b.getOuterSize();c.x>a.x&&(a.x=c.x),c.y>a.y&&(a.y=c.y)}),this.setInnerSize(a)}}),DEFINE_CLASS("DlProgressBar",DlWidget,function(a,b){var c=DynarchDomUtils.createElement;a.DEFAULT_ARGS={__progress_minVal:["min",0],__progress_maxVal:["max",100],__progress_val:["val",0],__label:["label",null]},b._createElement=function(){a.BASE._createElement.call(this);var b=this.getElement();c("div",null,{className:"DlProgressBar-fill"},b),c("div",null,{className:"DlProgressBar-label",innerHTML:"&nbsp;"},b),this.setLabel(this.__label),this.setValue(this.__progress_val)},b._getLabelElement=function(){return this.getElement().lastChild},b._getFillElement=function(){return this.getElement().firstChild},b.getValue=function(){return this.__progress_val},b.getMaxVal=function(){return this.__progress_maxVal},b.getMinVal=function(){return this.__progress_minVal},b.setValue=function(a){(this.__progress_val=a)>this.__progress_maxVal&&(a=this.__progress_maxVal);var b=this.__progress_maxVal-this.__progress_minVal,c=a-this.__progress_minVal,d=100*c/b;!isNaN(d)&&d>=0&&(this._getFillElement().style.width=d+"%",this._updateLabel(d))},b.setLabel=function(a){this.__label=a,this._updateLabel()},b._updateLabel=function(a){var b=this.__label;a==null&&(a=0),b!=null&&(typeof b=="function"?b=b(this,a,this.__progress_val):b=b.replace(/%d/g,Math.round(a)).replace(/%f/g,a.toFixed(2)).replace(/%v/g,this.__progress_val),/\S/.test(b)||(b="&nbsp;"),this._getLabelElement().innerHTML=b)},b.reset=function(a,b,c,d){c==null&&(c=a),this.__progress_minVal=a,this.__progress_maxVal=b,arguments.length>3&&(this.__label=d),this.setValue(c)}}),DEFINE_CLASS("DlRadioButton",DlCheckbox,function(a,b){a.FIXARGS=function(a){a.alwaysCheck=true},a.DEFAULT_ARGS={_groupId:["group",0],_classes:["classes",{active:"DlRadioButton-active",hover:"DlRadioButton-hover",checked:"DlRadioButton-1",unchecked:"DlRadioButton-0",empty:"DlRadioButton-empty",disabled:"DlRadioButton-disabled"}]},b.FINISH_OBJECT_DEF=function(){a.BASE.FINISH_OBJECT_DEF.call(this),this._className.remove("DlCheckbox")}}),DEFINE_CLASS("DlRadioSelect",DlButtonMenu,function(a,b){a.DEFAULT_ARGS={_options:["options",[]],_value:["value",null],_connected:["connected",true]},a.DEFAULT_EVENTS=["onChange"],a.CONSTRUCT=function(){this._radioGroup=DlRadioGroup.get(),this._options.length&&this.setOptions(this._options),this.value(this._value,true),this.addEventListener("onDestroy",function(){this._radioGroup.reset()})},b.value=function(a,b,c){var d=this._value;if(b||typeof a!="undefined"&&a!==d)this._value=a,this._updateLabel(),c||this.applyHooks("onChange",[d,a]);return d},b.getValue=function(){return this.value()},b.setValue=b.value;function c(a){this.value(a.userData),DlPopup.clearAllPopups(),a._onMouseLeave()}b._updateLabel=function(){var a=null,b=this._options,c,d;for(c=b.length;--c>=0;){d=b[c];if(d==null)continue;this._value==d.value?(this.getButton().label(d.label),d.widget.checked(true,true)):d.widget.checked(false,true)}},b.setOptions=function(a){var b=this._radioGroup,d,e;b.reset(),b.addEventListener("onChange",c.$(this)),d=new DlVMenu({className:"DlSelect-menu"}),e={parent:d,group:b,noCapture:true},a.foreach(function(a){if(a==null)d.addSeparator();else{e.label=a.label,e.data=e.value=a.value,e.className=a.className;var b=a.widget=new DlRadioButton(e)}},this);var f=d.getElement();f.style.position="absolute",d.zIndex(-100),document.body.appendChild(f);var g=d.getOuterSize().x;document.body.removeChild(f),d.zIndex(""),f.style.position="",function(){this.getButton().setOuterSize({x:g-this.getArrow().getOuterSize().x+2})}.$(this).delayed(10),this.setMenu(d),this._options=a},b.addOption=function(a,b){b==null&&(b=this._options.length);var c=a.widget=new DlRadioButton({parent:this._menu,group:this._radioGroup,noCapture:true,label:a.label,data:a.value,value:a.value,className:a.className});this._options.splice(b,0,a);return c}}),DlRegexp={EMAIL:/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/,MIME_WEB_IMAGE:/^image\x2f.*(png|jpe?g|gif|tiff?)/i,UNICODE_LETTER:"\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u0523\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971\\u0972\\u097B-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D3D\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC\\u0EDD\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8B\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10D0-\\u10FA\\u10FC\\u1100-\\u1159\\u115F-\\u11A2\\u11A8-\\u11F9\\u1200-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u1676\\u1681-\\u169A\\u16A0-\\u16EA\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u1900-\\u191C\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19A9\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u2094\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2C6F\\u2C71-\\u2C7D\\u2C80-\\u2CE4\\u2D00-\\u2D25\\u2D30-\\u2D65\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31B7\\u31F0-\\u31FF\\u3400\\u4DB5\\u4E00\\u9FC3\\uA000-\\uA48C\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA65F\\uA662-\\uA66E\\uA67F-\\uA697\\uA717-\\uA71F\\uA722-\\uA788\\uA78B\\uA78C\\uA7FB-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA90A-\\uA925\\uA930-\\uA946\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAC00\\uD7A3\\uF900-\\uFA2D\\uFA30-\\uFA6A\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC"},DEFINE_SINGLETON("DlSystem",DlEventProxy,function(a,b){a.DEFAULT_EVENTS=["on-dialog-create","on-dialog-show","on-dialog-hide","on-dialog-minimize","on-dialog-restore","on-rpc-start","on-rpc-stop","on-rpc-timeout"]}),DEFINE_CLASS("DlRPC",DlEventProxy,function(a,b){a.CONSTRUCT=function(){this.method==null&&(this.method=this.data!=null?"POST":"GET"),this._timeoutID=0},a.DEFAULT_EVENTS=["onStart","onStop","onTimeout"],a.DEFAULT_ARGS={url:["url",null],args:["args",null],callback:["callback",null],method:["method",null],data:["data",null],timeout:["timeout",null]};function c(a){if(a.readyState==4){delete a.onreadystatechange,this._request=null,this._timeoutID&&(clearTimeout(this._timeoutID),this._timeoutID=null);var b;try{b={success:a.status==200,status:a.status,statusText:a.statusText,timeout:false,xml:a.responseXML,text:a.responseText}}catch(a){}DlSystem().applyHooks("on-rpc-stop",[this,b,a]),this.applyHooks("onStop",[this,b,a]),this.callback&&this.callback(b)}}function d(a){this._request=null,a.abort(),DlSystem().applyHooks("on-rpc-timeout",[this,a]),this.applyHooks("onTimeout",[this,a]),this.callback&&this.callback({success:false,timeout:true})}b.abort=function(){this._request.abort()},b.call=function(a){a!=null&&Object.merge(this,a);var b,d=false,e;if(window.XMLHttpRequest)b=new XMLHttpRequest;else if(window.ActiveXObject)b=new ActiveXObject("Microsoft.XMLHTTP");else throw"Browser does not support XMLHttpRequest";this._request=b,b.onreadystatechange=c.$(this,b);var f=this.args;if(f){d=[];for(e in f)d.push(escape(e)+"="+escape(f[e]));d.length==0?d=false:d=d.join("&")}var g=this.url;switch(this.method){case"POST":var h=this.data;d&&h&&(g+="?"+d),b.open("POST",g,true),h?(typeof h!="string"&&(this.data=h=DlJSON.encode(h),b.setRequestHeader("Content-Type","text/javascript; charset=UTF-8")),this._start(h)):(b.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),this._start(d));break;case"GET":d&&(g+="?"+d),b.open("GET",g,true),this._start(null)}},b._start=function(a){this.timeout?this._timeoutID=d.delayed(this.timeout,this,this._request):this._timeoutID=0,DlSystem().applyHooks("on-rpc-start",[this]),this.applyHooks("onStart",[this]),this._request.send(a)}}),DEFINE_CLASS("DlRteFrame",DlWidget,function(a,b,c){var d=c.createElement,e=c.addClass,f=c.delClass,g=c.condClass,h=c.ID,i=["mouseover","mouseout","mousemove","mousedown","mouseup","click","keydown","keyup","keypress","contextmenu"],j=is_gecko?"<br type='_moz' />":"",k="<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"><html class=\"DlRteFrame-HTML\"><head><title>DynarchLIB Rich Text Editor</title></head><body class=\"DlRteFrame-Body\"><p>"+j+"</p></body></html>";a.BEFORE_BASE=function(){this.__eventProxy=o.$(this),this.callUpdateHooks=this.callUpdateHooks.clearingTimeout(40,this)},a.CONSTRUCT=function(){this.__sections&&this.setSections(this.__sections)},a.DEFAULT_EVENTS=["onUpdate","onSectionChange"],a.DEFAULT_ARGS={__paragraphsMode:["useParagraphs",true],__sections:["sections",null],_focusable:["focusable",2],_tabChar:["tabChar"," "]},b.COMMANDS={backcolor:{id:is_ie?"backcolor":"hilitecolor"},forecolor:{id:"forecolor"},bold:{id:"bold",key:"CTRL 'B'"},italic:{id:"italic",key:"CTRL 'I'"},underline:{id:"underline",key:"CTRL 'U'"},strike:{id:"strikethrough",key:"CTRL '-'"},subscript:{id:"subscript"},superscript:{id:"superscript"},removeformat:{id:"removeformat",key:"ALT-CTRL '0'"},justifyleft:{id:"justifyleft",key:"ALT-CTRL 'l'"},justifyright:{id:"justifyright",key:"ALT-CTRL 'r'"},justifycenter:{id:"justifycenter",key:"ALT-CTRL 'e'"},justifyfull:{id:"justifyfull",key:"ALT-CTRL 'j'"},orderedlist:{id:"insertorderedlist",key:"ALT-CTRL 'o'"},unorderedlist:{id:"insertunorderedlist",key:"ALT-CTRL-SHIFT 'o'"},unorderedlist1:{id:"insertunorderedlist",key:"ALT-CTRL 'u'"},indent:{id:"indent",key:"CTRL '.'"},outdent:{id:"outdent",key:"CTRL ','"},undo:{id:"undo"},redo:{id:"redo"},"<hr>":{id:"inserthorizontalrule",key:"CTRL ' '"},"<h1>":{id:"formatblock",key:"CTRL '1'",arg:"h1"},"<h2>":{id:"formatblock",key:"CTRL '2'",arg:"h2"},"<h3>":{id:"formatblock",key:"CTRL '3'",arg:"h3"},"<h4>":{id:"formatblock",key:"CTRL '4'",arg:"h4"},"<h5>":{id:"formatblock",key:"CTRL '5'",arg:"h5"},"<h6>":{id:"formatblock",key:"CTRL '6'",arg:"h6"},"<p>":{id:"formatblock",key:"CTRL 'm'",arg:"p"},"<pre>":{id:"formatblock",key:"CTRL-ALT 'n'",arg:"pre"},"<address>":{id:"formatblock",arg:"pre"},"<blockquote>":{id:"formatblock",key:"CTRL 'q'",arg:"blockquote"},_nextSection:{id:"_nextSection",key:"CTRL ']'"},_prevSection:{id:"_prevSection",key:"CTRL '['"},showHtml:{id:"showHtml",key:"CTRL-ALT-SHIFT 'h'"}};var l="h1 h2 h3 h4 h5 h6 p pre address blockquote".hashWords();b.SEMANTIC_TAGS={bold:true,italic:true,strike:true,subscript:true,superscript:true,indent:true,underline:true,outdent:true,strikethrough:true,strike:true},b.callUpdateHooks=function(a,b){this.destroyed||this.applyHooks("onUpdate",[a,b])},b.execCommand=function(a,b){if(!this.readonly()){this.focus();var c,d=this.getIframeDoc();is_gecko&&d.execCommand("styleWithCSS",false,!(a in this.SEMANTIC_TAGS)),this.COMMANDS[a]&&(a=this.COMMANDS[a],typeof b=="undefined"&&(b=a.arg||""),a=a.id);if(a=="formatblock")if(is_ie){var e=this.getAncestorsHash();if(e.pre){if(b=="pre")return;var f=this.getSelection(),g=this.getRange(f),h=this.createRange();h.moveToElementText(e.pre),g.setEndPoint("EndToEnd",h),g.select();var i,j=String.buffer("<",b,">dummy</",b,">").get();if(g.compareEndPoints("StartToStart",h)==0)e.pre.insertAdjacentHTML("beforeBegin",j),i=e.pre.previousSibling;else{var k=g.htmlText,l=g.text;g.moveStart("character",-1),g.text.charAt(0)!=l.charAt(0)&&g.moveStart("character",1),e.pre.insertAdjacentHTML("afterEnd","<br />"),g.pasteHTML(""),e.pre.parentNode.removeChild(e.pre.nextSibling),e.pre.insertAdjacentHTML("afterEnd",j),i=e.pre.nextSibling;if(/\S/.test(l)){var m=e.pre.cloneNode(true);m.innerHTML=k,i.parentNode.insertBefore(m,i.nextSibling)}}g.moveToElementText(i),g.collapse(),g.select(),i.innerHTML="";return}b="<"+b+">"}switch(a){case"showHtml":try{alert(this.getHTML())}catch(a){alert("ERROR: "+a)}break;case"_nextSection":this.nextSection();break;case"_prevSection":this.prevSection();break;default:c=d.execCommand(a,false,b)}this.focus(),this.callUpdateHooks();return c}},b.queryCommandState=function(a){if(!this.readonly()){this.COMMANDS[a]&&(a=this.COMMANDS[a].id);return this.getIframeDoc().queryCommandState(a)}},b.queryCommandValue=function(a){if(!this.readonly()){this.COMMANDS[a]&&(a=this.COMMANDS[a].id);if(!is_gecko&&/^formatblock$/i.test(a))for(var b=this.getAllAncestors(),c=0;c<b.length;++c){var d=b[c].tagName.toLowerCase();if(d in l)return d}return this.getIframeDoc().queryCommandValue(a)}},b.getInnerHTML=function(){return this.getIframeBody().innerHTML},b.getHTML=function(a,b){if(!is_ie&&!b){this.collapse(true);var c=this.getIframeDoc().createElement("span");c.id="DYNARCHLIB_RTEFRAME_CARET",this.insertNode(c)}var d=DlHtmlUtils.getHTML(this.getIframeBody(),false,a);!is_ie&&!b&&this.deleteNode(c);return d},b.getInnerText=function(){return DlHtmlUtils.getInnerText(this.getIframeBody())},b.getText=function(){return DlHtmlUtils.getText(this.getIframeBody())},b.setSections=function(a){this.__sections=a;var b=this.__sectionsHash={};a.foreach(function(a,c){a.index=c,b[a.name]=a;if(a.current||c==0)this.__currentSection=c,this.setHTML(a.content)}.$(this))},b.setSectionContent=function(a,b){var c=this.getSection(a,true);c.content=b,c.index==this.__currentSection&&this.setHTML(b)},b.getSections=function(){var a=this.getHTML(true);Object.merge(this.getCurrentSection(),a);return this.__sectionsHash},b.getSection=function(a,b){var c=this.__sectionsHash[a];if(c.index==this.__currentSection&&!b){var d=this.getHTML(true);Object.merge(c,d)}return c},b.getCurrentSection=function(){return this.__sections[this.__currentSection]},b._setCurrentSection=function(a){var b=this.getCurrentSection();if(b!==a){var c=this.getHTML(true);Object.merge(b,c),this.__currentSection=a.index,this.setHTML(a.content),this.applyHooks("onSectionChange",[b,a])}},b.setCurrentSection=function(a){var b=this.__sectionsHash[a];this._setCurrentSection(b)},b.setCurrentSectionIndex=function(a){if(a!=this.__currentSection){var b=this.__sections[a];this._setCurrentSection(b)}},b.prevSection=function(){this.setCurrentSectionIndex(this.__sections.rotateIndex(this.__currentSection-1))},b.nextSection=function(){this.setCurrentSectionIndex(this.__sections.rotateIndex(this.__currentSection+1))},b._setListeners=function(){a.BASE._setListeners.call(this),this.addEventListener(is_ie?"onKeyDown":"onKeyPress",function(a){this._onKeypress(a)}),this.addEventListener({onDestroy:q})},b._createElement=function(){a.BASE._createElement.call(this);var b=d("iframe",{display:"block"},{frameBorder:0,marginHeight:0,marginWidth:0,src:is_ie?"javascript:'';":"about:blank"},this.getElement());this.__hasFrameEvents=false,this.updateKeymap()},b.updateKeymap=function(){var a=this.__rte_keymap=[];for(var b in this.COMMANDS){var c=this.COMMANDS[b];c.key&&a.push([DlKeyboard.parseKey(c.key),b])}},b.setOuterSize=b.setSize=function(a){var b=c.getBorder(this.getElement()),d=c.getBorder(this.getContentElement());this.setInnerSize({x:a.x-b.x-d.x,y:a.y-b.y-d.y})},b.getIframeElement=function(){return this.getElement().firstChild},b.getContentElement=b.getIframeElement,b.getIframeWin=function(){return this.getIframeElement().contentWindow},b.getIframeDoc=function(){return this.getIframeWin().document},b.getIframeBody=function(){return this.getIframeDoc().body},b.initDesignMode=function(a){var b=this.getIframeDoc();b.open(),b.write(k),b.close(),b.designMode="on",this.__hasFrameEvents||p.delayed(5,this,a)},b.readonly=function(a){var b=this.getIframeDoc();arguments.length>0&&(b.designMode=a?"off":"on",g(b.documentElement,a,"DlRteFrame-ReadOnly"));return b.designMode=="off"},b.setHTML=function(a){a instanceof Array&&(a=a.join("")),a=a.trim(),this.__hasFrameEvents?(is_ie&&(a=a.replace(/(<pre[^>]*>)((.|\n)+?)(<\x2fpre>)/gi,function(a,b,c,d,e){c=c.replace(/\x20/g," ").replace(/\t/g," ".repeat(4));return b+c+e})),this.getIframeBody().innerHTML=a,this._onSetHTML(),this.moveBOF(),this.callUpdateHooks()):this.__pendingHTML=a},b._onSetHTML=function(){for(var a=this.getIframeDoc().getElementsByTagName("pre"),b=a.length;--b>=0;){var c=a[b];c.innerHTML=c.innerHTML.replace(/\n/g,"<br>")}if(!is_ie){var d=this.getIframeDoc().getElementById("DYNARCHLIB_RTEFRAME_CARET");d&&function(a){try{this.selectNodeContents(a),this.collapse(true),this.deleteNode(a)}catch(a){}}.delayed(10,this,d)}},b.clear=function(){this.setHTML("")},b.focus=function(){this.getIframeWin().focus(),a.BASE.focus.call(this)},b.loadStyle=function(a){var b=this.getIframeDoc(),c=a.replace(/\x2f/g,"_");if(!b.getElementById(c)){var d=b.getElementsByTagName("head")[0],e=b.createElement("link");e.type="text/css",e.rel="stylesheet",e.href=a,e.id=c,d.appendChild(e),e.disabled=true,e.disabled=false}},b.createRange=function(){return is_ie?this.getIframeBody().createTextRange():this.getIframeDoc().createRange()},b.getSelection=function(){return is_ie?this.getIframeDoc().selection:this.getIframeWin().getSelection()},b.getRange=function(a){a==null&&(a=this.getSelection());return is_ie?a.createRange():a.getRangeAt(0)},b.getParentElement=function(){var a=this.getSelection(),b=this.getRange(a);if(is_ie)switch(a.type){case"Text":case"None":return b.parentElement();case"Control":return b.item(0);default:return null}else try{var c=b.commonAncestorContainer;!b.collapsed&&b.startContainer==b.endContainer&&b.startOffset-b.endOffset<=1&&b.startContainer.hasChildNodes()&&(c=b.startContainer.childNodes[b.startOffset]);while(c.nodeType==3)c=c.parentNode;return c}catch(a){return null}},b.getAllAncestors=function(){var a=this.getParentElement();a&&a.nodeType==1&&(a=this.getParentElement());var b=this.getIframeBody(),c=[];while(a&&a!==b&&a.nodeType==1)c.push(a),a=a.parentNode;c.push(b);return c},b.getAncestorsHash=function(){var a=this.getAllAncestors(),b,c,d,e={__all:a};a.foreach(function(a){d=a.tagName.toLowerCase(),e[d]||(e[d]=a)});return e},b.getSelectedText=function(){var a=this.getRange();return is_ie?a.text:a.toString()},b.selectRange=function(a){if(is_ie)a.select();else{var b=this.getSelection();b.removeAllRanges(),b.addRange(a)}},b.isCollapsed=function(){var a=this.getRange();return is_w3?a.collapsed:a.compareEndPoints("StartToEnd",a)==0},b.collapse=function(a){var b=this.getSelection(),c=this.getRange(b);is_w3&&b.removeAllRanges(),c.collapse(!!a),this.selectRange(c)},b.insertNode=function(a,b){var c=this.getSelection(),d=this.getRange(c);if(is_w3)d.deleteContents(),d.insertNode(a),b&&(c.removeAllRanges(),d.selectNode(a),c.addRange(d));else{var e=h("rteframe");d.pasteHTML(["<span id='",e,"'></span>"].join(""));var f=this.getIframeDoc().getElementById(e);f.parentNode.insertBefore(a,f),f.parentNode.removeChild(f),b&&a.nodeType!=3&&(d.moveToElementText(a),d.select())}return a},b.insertText=function(a,b){var c=this.getIframeDoc().createTextNode(a);return this.insertNode(c,b)},b.selectNodeContents=function(a){var b=this.createRange();is_w3?b.selectNodeContents(a):b.moveToElementText(a),this.selectRange(b)},b.selectNode=function(a){if(is_w3){var b=this.createRange();b.selectNode(a),this.selectRange(b)}else this.selectNodeContents(a)},b.createLink=function(a,b){var c,d,e,f;for(b&&this.insertText(b,true),c="javascript:"+h("link"),this.execCommand("createlink",c),d=this.getIframeDoc().getElementsByTagName("a"),f=d.length;--f>=0;)if(d[f].href==c){e=d[f];break}e.href=a;return e},b.createAnchor=function(a){var b=this.getSelectedText()?null:"Anchor",c=this.createLink("#",b);c.removeAttribute("href"),e(c,b?"DlAnchor-Empty":"DlAnchor"),c.setAttribute("name",a),b&&(c.innerHTML="");return c},b.getAnchors=function(){var a=this.getIframeDoc().getElementsByTagName("a"),b=a.length,c,d=[];while(--b>=0)c=a[b],c.name&&d.unshift(c);return d},b.unlink=function(){this.execCommand("unlink")},b.getSelectedImage=function(){var a=this.getParentElement();a&&!/^img$/i.test(a.tagName)&&(a=null);return a},b.insertImage=function(a){var b=this.getSelectedImage();if(!b){var c="javascript:"+h("img"),d,e;for(this.execCommand("insertimage",c),d=this.getIframeDoc().getElementsByTagName("img"),e=d.length;--e>=0;)if(d[e].src==c){b=d[e];break}}b.src=a.url,a.width&&(b.width=a.width),a.height&&(b.height=a.height),a.align&&(b.align=a.align),a.alt&&(b.alt=a.alt),a.marginLeft&&(b.style.marginLeft=a.marginLeft),a.marginTop&&(b.style.marginTop=a.marginTop),a.marginRight&&(b.style.marginRight=a.marginRight),a.marginBottom&&(b.style.marginBottom=a.marginBottom);return b},b.moveBOF=function(a){var b=this.getIframeBody(),c,d,e=a?b.lastChild:b.firstChild;e&&(is_w3?(d=this.getRange(c=this.getSelection()),c.removeAllRanges(),e.nodeType==1?d.selectNodeContents(e):d.selectNode(e),d.collapse(!a),c.addRange(d)):(d=b.createTextRange(),d.collapse(!a),d.select()))},b.moveEOF=function(a){return this.moveBOF(!a)},b.setParagraphsMode=function(a){this.__paragraphsMode=a},b.addBlockClass=function(a,b,d){var e=this.getAncestorsHash()[a];if(e){if(c.hasClass(e,b)){if(d){c.delClass(e,b);return false}}else c.addClass(e,b);return true}return null},b.canDeleteFullNode=function(a){return DlHtmlUtils.canDeleteFullNode(a.tagName)},b.canDeleteContent=function(a){return DlHtmlUtils.canDeleteContent(a.tagName)},b.canStripNode=function(a){return DlHtmlUtils.canStripNode(a.tagName)},b.deleteNodeContents=function(a){a.innerHTML=DlHtmlUtils.isBlockElement(a)?j:""},b.deleteNode=function(a){a.parentNode.removeChild(a)},b.stripNode=function(a){var b=a.ownerDocument.createDocumentFragment();while(a.firstChild)b.appendChild(a.firstChild);a.parentNode.insertBefore(b,a),a.parentNode.removeChild(a),this.callUpdateHooks()};function m(a){a.lastChild.nodeType==1&&a.lastChild.tagName.toLowerCase()=="br"&&a.removeChild(a.lastChild)}function n(){if(this.__paragraphsMode){var a=this.getAncestorsHash(),b=true,c=this.getIframeDoc(),d=this.getSelection(),e=this.getRange(d),f=a.li||a.dd,g=a.p;if(f){var h=this.createRange();h.selectNodeContents(f);var i,j=/\S/.test(h.toString());if(g&&j){d.removeAllRanges(),i=e.cloneRange(),i.setStartBefore(g.firstChild);if(!/\S/.test(i.toString())){var k=true,l=g.previousSibling;while(l){if(l.nodeType==1){k=false;break}l=l.previousSibling}if(k){var m=f.cloneNode(false);i.setStartBefore(f),i.insertNode(m),i.selectNodeContents(m),d.addRange(i),this.execCommand("<p>");return true}h.selectNodeContents(g);if(/\S/.test(h.toString())){var n=g.cloneNode(false);i.setStartBefore(g),i.insertNode(n),i.selectNodeContents(n),d.addRange(i),this.execCommand("<p>");return true}i=e.cloneRange(),i.setStartBefore(g),i.setEndAfter(f);var o=i.extractContents(),m=o.firstChild;i.insertNode(o),i.selectNodeContents(m.firstChild||m),i.collapse(true),d.addRange(i),this.execCommand("<p>");return true}i=e.cloneRange(),i.setEndAfter(g.lastChild);if(!/\S/.test(i.toString())){var n=g.cloneNode(false);i.setEndAfter(g),i.collapse(false),i.insertNode(n),i.selectNodeContents(n),d.addRange(i),this.execCommand("<p>");return true}i=e.cloneRange(),i.setEndAfter(g);var o=i.extractContents();i.collapse(false);var n=o.firstChild;i.insertNode(o),i.selectNodeContents(n),i.collapse(true),d.addRange(i);return true}if(!j){d.removeAllRanges();var p=f.parentNode;i=e.cloneRange(),i.selectNode(p),i.setStartAfter(f);var o=i.extractContents();p.removeChild(f);var n=c.createElement("p");o.insertBefore(n,o.firstChild),i.setEndAfter(p),i.collapse(false),i.insertNode(o),i.selectNodeContents(n),i.collapse(true),d.addRange(i),this.execCommand("<p>");return true}}else{var q=a.pre;if(q){d.removeAllRanges(),i=e.cloneRange();var r="",s=i.startContainer;s==q&&(s=s.childNodes[i.startOffset]);while(s&&s.parentNode!=q)s=s.parentNode;if(s){while(s&&!/^br$/i.test(s.tagName))s=s.previousSibling;s=s?s.nextSibling:q.firstChild;while(s&&s.nodeType!=3)s=s.firstChild;s&&/^(\s+)/.test(s.data)&&(r=RegExp.$1)}var o=c.createDocumentFragment(),t=c.createElement("br");o.appendChild(t),r&&(t=c.createTextNode(r),o.appendChild(t)),i.insertNode(o),i.setEndAfter(t),i.collapse(false),d.addRange(i);return true}}var u=a.h6||a.h5||a.h4||a.h3||a.h2||a.h1;if(u){var h=e.cloneRange();h.setEndAfter(u);if(!/\S/.test(h.toString())){d.removeAllRanges(),h.collapse(false);var n=this.getIframeDoc().createElement("p");h.insertNode(n),h.selectNodeContents(n),h.collapse(true),d.addRange(h),this.execCommand("<p>");return true}}}}b._onKeypress=function(a){var b=a.keyCode;if(is_gecko&&!a.shiftKey&&!a.ctrlKey&&!a.altKey&&b==DlKeyboard.ENTER)if(n.call(this))throw new DlExStopFrameEvent;this.__rte_keymap.r_foreach(function(b){if(DlKeyboard.checkKey(a,b[0])){this.execCommand(b[1]);throw new DlExStopFrameEvent}},this);if(b==DlKeyboard.TAB){var c=this.queryCommandValue("formatblock");if(c=="pre"){this.insertText(this._tabChar,true),this.collapse(false);throw new DlExStopFrameEvent}}else if(b==DlKeyboard.ENTER&&is_ie&&!a.shiftKey){var c=this.queryCommandValue("formatblock");if(c=="pre"){var d=this.getSelection(),e=this.getRange(d);e.pasteHTML("<br/><div class='DynarchLIB-REMOVE-ME'></div>");throw new DlExStopFrameEvent}}};function o(a){a||(a=this.getIframeWin().event);var b=new DlEvent(a);b.type=="oncontextmenu"&&c.stopEvent(a),b.origTarget=b.target;var d=b.origPos=b.pos,e=c.getPos(this.getIframeElement());b.pos={x:d.x+e.x,y:d.y+e.y},b.target=this.getElement();try{DlEvent._genericEventHandler(b,a)}catch(b){b instanceof DlExStopFrameEvent&&c.stopEvent(a)}/onMouseDown|onMouseUp|onKey/.test(b.dl_type)&&this.callUpdateHooks(b,a)}function p(a){var b=this.getIframeDoc();this.__hasFrameEvents=true,c.addEvents(b,i,this.__eventProxy),this.__pendingHTML&&(this.getIframeBody().innerHTML=this.__pendingHTML,this._onSetHTML(),this.moveBOF(),this.__pendingHTML=null),this.__rte_onFocus=r.$(this),this.__rte_onBlur=s.$(this),is_ie?(b=this.getIframeElement(),b.onfocus=this.__rte_onFocus):c.addEvent(b,"focus",this.__rte_onFocus),b.onblur=this.__rte_onBlur,a&&a.call(this)}function q(){var a=this.getIframeDoc();c.removeEvents(a,i,this.__eventProxy),is_ie?(a=this.getIframeElement(),delete a.onfocus,a.onfocus=null):c.removeEvent(a,"focus",this.__rte_onFocus),delete a.onblur,a.onblur=null}function r(){e(this.getIframeDoc().documentElement,"DlRteFrame-Focused"),a.BASE.focus.call(this)}function s(){f(this.getIframeDoc().documentElement,"DlRteFrame-Focused"),a.BASE.blur.call(this,true)}}),DEFINE_CLASS("DlSocket",DlEventProxy,function(a,b){function c(){return DlFlashUtils().getObject()}a.DEFAULT_EVENTS=["onConnect","onRelease","onData"],a.DEFAULT_ARGS={_host:["host",null],_port:["port",null],_json:["json",false]},a.FIXARGS=function(a){a.host||(a.host=document.domain)},a.CONSTRUCT=function(a){this.addEventListener("onDestroy",e),DlEvent.atUnload(this.destroy.$(this))};var d={};function e(){c().DlSocket_destroy(this.id),delete d[this.id]}b.send=function(a){c().DlSocket_send(this.id,a)},b.sendJSON=function(a){c().DlSocket_send(this.id,DlJSON.encode(a))},b.connect=function(){this.id=c().DlSocket_connect(this._host,this._port),d[this.id]=this},b.reconnect=function(){c().DlSocket_reconnect(this.id)},b.disconnect=function(){c().DlSocket_disconnect(this.id)},window.DlSocket_onConnect=function(a,b){d[a].applyHooks("onConnect",[b])},window.DlSocket_onData=function(a,b){b=DlFlashUtils.decodeString(b);var c=d[a];c._json&&(b=DlJSON.decode(b)),c.applyHooks("onData",[b])},window.DlSocket_onDisconnect=function(a,b){d[a].applyHooks("onRelease",[b])}}),DEFINE_CLASS("DlSound",DlEventProxy,function(a,b){var c={};function d(){return DlFlashUtils().getObject()}a.DEFAULT_EVENTS=["onLoad","onComplete"],a.DEFAULT_ARGS={_volume:["volume",null],_pan:["pan",null],_url:["url",null],_stream:["stream",false]},a.CONSTRUCT=function(a){this.addEventListener({onDestroy:e,onLoad:f}),this.id=d().DlSound_create(),this._volume!=null&&this.setVolume(this._volume),this._pan!=null&&this.setPan(this._pan),c[this.id]=this},b.load=function(a,b){a==null&&(a=this._url),b==null&&(b=this._stream),this.__fileLoaded=false,this.__loadCalled=true,d().DlSound_load(this.id,this._url=a,this._stream=b)},b.play=function(a,b){this.__fileLoaded?d().DlSound_play(this.id,a,b):this.__loadCalled||(this.__shouldPlay=[a,b],this.load())},b.stop=function(){d().DlSound_stop(this.id)},b.getBytesLoaded=function(){return d().DlSound_getBytesLoaded(this.id)},b.getBytesTotal=function(){return d().DlSound_getBytesTotal(this.id)},b.getDuration=function(){return d().DlSound_getDuration(this.id)},b.getPosition=function(){return d().DlSound_getPosition(this.id)},b.setPan=function(a){d().DlSound_setPan(this.id,this._pan=a)},b.setVolume=function(a){d().DlSound_setVolume(this.id,this._volume=a)},b.getPan=function(){return this._pan},b.getVolume=function(){return this._volume},b.getURL=function(){return this._url};function e(){delete c[this.id]}function f(a){(this.__fileLoaded=a)&&this.__shouldPlay&&(this.play.apply(this,this.__shouldPlay),this.__shouldPlay=null)}window.DlSound_onLoad=function(a,b){c[a].applyHooks("onLoad",[b])},window.DlSound_onSoundComplete=function(a){c[a].callHooks("onComplete")}}),DEFINE_CLASS("DlSpinner",DlEntry,function(a,b,c){var d=c.createElement;a.FIXARGS=function(a){a.validators=[new DlValidator(DlValidator.Number,a.minVal,a.maxVal,a.integer,a.decimals)],a.type="text"},a.CONSTRUCT=function(){this._timerPos=this._timerState=this._timerStep=this._timer=null},a.DEFAULT_EVENTS=["onSpin"],a.DEFAULT_ARGS={_step:["step",1],_size:["size",4],_value:["value",0],_minVal:["minVal",null],_maxVal:["maxVal",null],_decimals:["decimals",null],_integer:["integer",false]},b.intervals=[{pos:1,step:1,speed:125},{pos:10,step:1,speed:70},{pos:20,step:1,speed:35},{pos:50,step:1,speed:20},{pos:100,step:1,speed:10},{pos:200,step:2,speed:10}],b._createElement=function(){this._no_gecko_bug=true,a.BASE._createElement.call(this);var b=this.getElement(),c=b.rows[0].cells[0];c.rowSpan=2,c=c.parentNode;var e=d("tr",null,null,c.parentNode),f=d("td",null,{className:"DlSpinner-Button DlSpinner-Button-Up"},c),g=d("td",null,{className:"DlSpinner-Button DlSpinner-Button-Down"},e);this._buttonUp=new DlButton({parent:this,appendArgs:f}),this._buttonDown=new DlButton({parent:this,appendArgs:g}),this._btn=this._buttonUp};function e(){this.select()}function f(){this._clearTimer()}function g(a){this._spinnerUpdateVal(a.wheelDelta>0);throw new DlExStopEventBubbling}function h(a){switch(a.keyCode){case DlKeyboard.ARROW_DOWN:k.call(this,{_direction:false});throw new DlExStopEventBubbling;case DlKeyboard.ARROW_UP:k.call(this,{_direction:true});throw new DlExStopEventBubbling}}function i(a){this._clearTimer()}function j(){var a=this.getValue(),b=a==this._maxVal,c=a==this._minVal;this._buttonUp.disabled(b||!!this.readonly()),this._buttonDown.disabled(c||!!this.readonly()),(b||c)&&this._clearTimer()}b._setListeners=function(){a.BASE._setListeners.call(this),this.addEventListener({onFocus:e,onBlur:f,onMouseWheel:g,onKeyDown:h,onKeyUp:i,onChange:j})},b.initDOM=function(){a.BASE.initDOM.call(this),this._setupSpinnerBtn(this._buttonUp,true),this._setupSpinnerBtn(this._buttonDown,false)},b.readonly=function(b){b!=null&&(this._buttonUp.disabled(b),this._buttonDown.disabled(b));return a.BASE.readonly.apply(this,arguments)},b.getFormValue=function(){var a=this.getValue(),b=parseFloat(a);return isNaN(b)?a:b},b._spinnerUpdateVal=function(a){if(!this._readonly){var b=new Number(this.getValue()),c=this._timerStep||this._step;b=a?b+c:b-c,this._minVal!=null&&b<this._minVal&&(b=this._minVal),this._maxVal!=null&&b>this._maxVal&&(b=this._maxVal),this.setValue(b),this.applyHooks("onSpin",[b]),this.focus(),this.select();if(this._timer){var d=++this._timerPos;if(this._timerState.length&&d==this._timerState[0].pos){var e=this._timerState.shift();this._clearTimer(true),this._timerStep=e.step,this._startTimer(a,e.speed)}}}};function k(a){this._spinnerUpdateVal(a._direction),(this._timerState=Array.$(this.intervals)).r_foreach(function(a){a.step*=this.step},this),this._timerPos=0,this._startTimer(a._direction,250);throw new DlExStopEventBubbling}function l(a){this._clearTimer()}b._clearTimer=function(a){this._timer&&clearInterval(this._timer),a||(this._timerPos=this._timerStep=this._timerState=null),this._timer=null},b._startTimer=function(a,b){this._timer&&clearInterval(this._timer),this._timer=setInterval(this._spinnerUpdateVal.$(this,a),b)},b._setupSpinnerBtn=function(a,b){a._direction=b;var c=l.$(this,a);a.addEventListener({onMouseDown:k.$(this,a),onMouseUp:c})}}),DEFINE_CLASS("DlStyleSheet",DlEventProxy,function(a,b,c){a.CONSTRUCT=function(){this._init()};function d(){c.trash(this._el),this._el=this._s=null}b.insertRule=function(a,b,d){var e=this._s;d==null&&(d=this.getRules().length);if(typeof b=="object"){var f=[];for(var g in b)f.push(g+":"+b[g]);b=f.join(";")}else b instanceof Array&&(b=b.join(";"));if(is_ie){a=a.split(/\s*,\s*/);if(a.length==1)e.addRule(a,b,d);else{for(var h=c.ID(),i=this._ier[h]=[],g=0;g<a.length;++g)e.addRule(a[g],b,d+g),i.push(this.getRules()[d+g]);return h}}else e.insertRule(a+"{"+b+"}",d);return this.getRules()[d]},b.deleteRule=function(a){if(is_ie&&typeof a=="string")this._ier[a].foreach(this.deleteRule.$(this)),delete this._ier[a];else for(var b=this.getRules(),c=b.length;--c>=0;)if(b[c]===a){is_ie?this._s.removeRule(c):this._s.deleteRule(c);return c}},b.modifyRule=function(a,b){if(is_ie&&typeof a=="string")this._ier[a].foreach(function(a){this.modifyRule(a,b)},this);else for(var c in b)a.style[c]=b[c]},b.refresh=function(){var a=this.disabled();this.disabled(!a),this.disabled(a)},b.getRules=function(){return is_ie?this._s.rules:this._s.cssRules},b.disabled=function(a){var b=is_ie?this._s:this._el;a!=null&&(b.disabled=a);return!!b.disabled},b._init=function(){is_ie&&(this._ier={}),this._el=c.createElement("style",null,{type:"text/css"},document.getElementsByTagName("head")[0]),this._s=document.styleSheets[document.styleSheets.length-1],this.addEventListener("onDestroy",d)}}),DEFINE_CLASS("DlTabs",DlContainer,function(a,b,c){a.DEFAULT_EVENTS=["onChange"],a.DEFAULT_ARGS={_tabPos:["tabPos","top"]};function d(a,b,c){var d=b!=null?this._panes[b]:null;d&&d._tab.checked(true),a.applyHooks("onChange",[b,c])}function e(a){a.checked()&&this._tabContent.showPane(a.userData)}function f(a){this.checked(true);throw new DlExStopEventProcessing}b.addTab=function(a,b,c){this._tabContent.appendWidget(a,c),a._tab=new DlButton({label:b,parent:this._tabBar,group:this._tabGroup,type:DlButton.TYPE.TWOSTATE,data:this._tabContent.length()-1}),a._tab.addEventListener("onClick",f,true),a.addEventListener("onDestroy",a._tab.destroy.$(a._tab));return a},b.addTab2=function(a){var b=this.addTab(a.widget,a.title,a.pos);a.iconClass&&b._tab.setIconClass(a.iconClass);return b},b.getTabBar=function(){return this._tabBar},b.getNotebook=function(){return this._tabContent},b.getTabButton=function(a){return this.getNotebook().getPane(a)._tab},b.getTabContent=b.getNotebook,b.initDOM=function(){a.BASE.initDOM.call(this),this._tabGroup=DlRadioGroup.get(this.id),this._tabBar=new DlHbox({className:"TabBar"}),this._tabContent=new DlNotebook({className:"TabContent"});switch(this._tabPos){case"top":case"left":this.appendWidget(this._tabBar),this.appendWidget(this._tabContent);break;case"bottom":case"right":this.appendWidget(this._tabContent),this.appendWidget(this._tabBar)}this._tabContent.addEventListener("onChange",d.$(this._tabContent,this)),this._tabGroup.addEventListener("onChange",e.$(this)),this.addClass("DlTabs-"+this._tabPos)},b.setTabPos=function(a){var b=this._tabBar.getElement(),c=this._tabContent.getElement();b.parentNode&&b.parentNode.removeChild(b);var d=a=="top"||a=="left"?d=c:null;c.parentNode.insertBefore(b,d),this.addClass("DlTabs-"+a,"DlTabs-"+this._tabPos),this._tabPos=a},b.setTabAlign=function(a){return this._tabBar.setAlign(a)},b.setOuterSize=b.setSize=function(b){a.BASE.setSize.call(this,b),b=this.getInnerSize();var c=this._tabBar.getSize();switch(this._tabPos){case"top":case"bottom":b.y-=c.y;break;case"left":case"right":b.x-=c.x}this._tabContent.setSize(b)},b.showPane=function(a){return this._tabContent.showPane(a)},b.nextPane=function(){return this._tabContent.nextPane()},b.prevPane=function(){return this._tabContent.prevPane()},b.isFirstPane=function(){return this._tabContent.isFirstPane()},b.isLastPane=function(){return this._tabContent.isLastPane()},b.getCurrentPane=function(){return this._tabContent.getCurrentPane()},b.getCurrentPaneIndex=function(){return this._tabContent.getCurrentPaneIndex()},b._handle_focusKeys=function(a){if(a.shiftKey)a.keyCode==DlKeyboard.PAGE_UP?(this.prevPane(),this.getCurrentPane()._tab.focus(),DlException.stopEventBubbling()):a.keyCode==DlKeyboard.PAGE_DOWN&&(this.nextPane(),this.getCurrentPane()._tab.focus(),DlException.stopEventBubbling());else if(a.keyCode==DlKeyboard.TAB&&this._tabBar.focusInside()){var b=this.getCurrentPane().getFirstFocusWidget();b&&(b.focus(),DlException.stopEventBubbling())}}}),DlTextUtils=function(){var a,b=DynarchDomUtils,c=DlKeyboard,d=[/^(\s*[-*]+\s+)/,function(a){return[a," ".x(a[0].length),a[0].length]},/^(\s*)([0-9]+)(\.\s+)/,function(a){return[function(){var b=parseInt(a[2],10)+1;return a[1]+b+a[3]}," ".x(a[0].length),a[0].length]},/^(\s*)([a-z])(\)\s+)/i,function(a){return[function(){var b=String.fromCharCode(a[2].charCodeAt(0)+1);return a[1]+b+a[3]}," ".x(a[0].length),a[0].length]},/^\s*([>|]\s*)*/,function(a){return[a,a[0],a[0].length,/\n\s*([>|]\s*)*/g,"\n"]},/^\s+/,function(a){return[a,a[0],a[0].length]}],e=[c.ARROW_UP,c.ARROW_DOWN].toHash(true),f=String.fromCharCode(0);function g(d){d||(d=window.event);var f=b.getSelectionRange(this),g={x:this.scrollLeft,y:this.scrollTop};function h(){this.scrollLeft=g.x,this.scrollTop=g.y;return b.stopEvent(d)}if(d.altKey&&d.charCode==113){var i=a.fillText(this.value,72,f.start);this.value=i.text,b.setSelectionRange(this,i.pos,i.pos);return h.call(this)}if(d.ctrlKey&&d.keyCode in e){var j=d.keyCode==c.ARROW_UP,k=a.getParagraph(this.value,j?f.start:f.end),l;l=(j?k.start-1:k.end+1).limit(0,this.length),b.setSelectionRange(this,d.shiftKey?j?f.end:f.start:l,l);return b.stopEvent(d)}if(d.altKey&&d.keyCode==c.ENTER){var m=this.value,k=a.getParagraph(m,f.start),n=a.getFillPrefix(k.text),o=n[0];typeof o=="function"?o=o(n):o=o[0],this.value=m=m.substr(0,k.end)+"\n\n"+o+m.substr(k.end),b.setSelectionRange(this,k.end+2+o.length);return h.call(this)}}var h=/\n([>|\s]*\n)+/g;function i(a,b,c){var d,e=-1;b.lastIndex=0,b.global=true;var f=-1;while(d=b.exec(a)){if(b.lastIndex>=c)break;if((e=b.lastIndex)==f)throw"Repeated! "+e;f=e}return e}function j(a,b,c){b.lastIndex=c,b.global=true;var d=b.exec(a);return d?d.index:null}return a={getParagraph:function(a,b){var c=i(a,h,b+1),d=j(a,h,b);c==-1&&(c=0),d==null&&(d=a.length);return{start:c,end:d,text:a.substring(c,d)}},getFillPrefix:function(a){var b=0,c,e,f;a=a.replace(/\x00/g,"");while(b<d.length){c=d[b++],e=d[b++],c.lastIndex=0;if(f=c.exec(a))return e(f)}},fillParagraph:function(b,c,d){b=b.substr(0,d)+f+b.substr(d);var e=a.getFillPrefix(b),g=e[1],h=e[2],i=b.substr(0,h);b=b.substr(h),e[3]&&(b=b.replace(e[3],function(a){return e[4]||""})),b=b.replace(/\n/g," ").replace(/([^.?!])\s\s+/g,"$1 ");var j=new RegExp("(.{0,"+(c-g.length)+"})(\\s+|$)","g"),k,l=[],m=0,n;while(k=j.exec(b)){j.index!=m?n=b.substring(m,j.lastIndex):n=k[1],m=j.lastIndex;if(!/\S/.test(n))break;l.push(n.trim(true))}b=i+l.join("\n"+g),(d=b.indexOf(f))>=0&&(b=b.substr(0,d)+b.substr(d+1));return{text:b,pos:d}},fillText:function(b,c,d){var e=a.getParagraph(b,d),f=b.substr(0,e.start),g=b.substr(e.end),h=d-e.start,i=a.fillParagraph(e.text,c,h);return{text:f+i.text+g,pos:e.start+i.pos}},emacsipateTextarea:function(a){b.addEvent(a,is_ie?"keydown":"keypress",g)}}}(),DEFINE_CLASS("DlTooltip",DlPopup,function(a,b){a.FIXARGS=function(a){a.zIndex=2e3,a.focusable=false,this._mouseDiff={x:8,y:12}}}),DEFINE_CLASS("DlTree",DlContainer,function(a,b,c){a.CONSTRUCT=function(){this.__treeItems=[]},b.getItem=function(a){return this.__treeItems[a]},b.getItems=function(){return this.__treeItems},b.appendWidget=function(b,c){b instanceof DlTreeItem&&b.parent===this&&c>b.getIndex()&&--c,a.BASE.appendWidget.call(this,b,c)},b.removeWidget=function(b){a.BASE.removeWidget.call(this,b);if(b instanceof DlTreeItem){var c=this.__treeItems.find(b);this.__treeItems.splice(c,1);var d=this.__treeItems.length;d==0?this.parent instanceof DlTreeItem&&this.destroy():(c==0&&this.__treeItems[c]._setFirstLast(true,null),c==d&&this.__treeItems[c-1]._setFirstLast(null,true))}},b._appendWidgetElement=function(a,b){var c=this.__treeItems,d=this.getContentElement();if(b==null){if(a instanceof DlTreeItem){var e=c.peek();e?e._setFirstLast(null,false):a._setFirstLast(true,null),c.push(a),a._setFirstLast(null,true)}d.appendChild(a.getElement())}else{if(b==c.length)return this._appendWidgetElement(a,null);var f=c[b];f&&f._setFirstLast(false,b==c.length-1),a._setFirstLast(b==0,false),c.splice(b,0,a),d.insertBefore(a.getElement(),d.childNodes[b])}},b.addSeparator=function(a){c.createElement("div",null,{className:a||"DlTree-separator",innerHTML:"&nbsp;"},this.getElement())}}),DEFINE_CLASS("DlTreeItem",DlContainer,function(a,b,c){var d=c.createElement,e=c.addClass,f=c.delClass,g=c.condClass;a.CONSTRUCT=function(){this.setIconClass(this.__iconClass),this.__iconClass=null},a.DEFAULT_ARGS={__label:["label",null],__iconClass:["iconClass",null],__itemClass:["itemClassName",null]},a.DEFAULT_EVENTS=["onExpand","onCollapse","onLabelMouseDown"];var h="<div class='DlTreeItem-div'><table cellspacing='0' cellpadding='0' class='DlTreeItem-Table'><tbody><tr><td class='DlTreeItem-Expander'><div class='DlTree-IconWidth'>&nbsp;</div></td><td></td><td class='DlTreeItem-Label'></td></tr></tbody></table></div><div class='DlTreeItem-Subtree'></div>";function i(a){var b=a.target;try{while(b&&b.tagName.toLowerCase()!="td")b=b.parentNode}catch(a){b=null}return b}function j(a){var b=i(a);if(b&&/DlTreeItem-(Expander|Icon)/.test(b.className)){this.toggle();throw new DlExStopEventBubbling}}function k(){var a=this.getSubtreeDiv();window.DL_CLOSING||c.trash(a),c.removeEvent(this.getDivElement(),"mousedown",this.__onLabelMouseDown)}b._setFirstLast=function(a,b){a!=null&&(this.condClass(a,"DlTreeItem-First"),g(this.getTableElement(),a,"DlTreeItem-First")),b!=null&&(this.condClass(b,"DlTreeItem-Last"),g(this.getTableElement(),b,"DlTreeItem-Last"))},b._setListeners=function(){a.BASE._setListeners.call(this),this.addEventListener({onMouseDown:j,onDestroy:k})},b._createElement=function(){a.BASE._createElement.call(this),this.getElement().innerHTML=h,this.__label&&this.setContent(this.__label),this.setUnselectable(),this.__onLabelMouseDown=this._onLabelMouseDown.$(this),c.addEvent(this.getDivElement(),"mousedown",this.__onLabelMouseDown),this.__itemClass&&e(this.getDivElement(),this.__itemClass)},b._onLabelMouseDown=function(a){this.callHooks("onLabelMouseDown")},b.getDivElement=function(){return this.getElement().firstChild},b.getTableElement=function(){return this.getElement().firstChild.firstChild},b.getExpanderElement=function(){return this.getTableElement().rows[0].cells[0]},b.getIconElement=function(){return this.getTableElement().rows[0].cells[1]},b.getContentElement=function(){return this.getTableElement().rows[0].cells[2]},b.getSubtreeDiv=function(){return this.getElement().childNodes[1]},b.getSubtreeWidget=function(){return this._subtree},b.getIndex=function(){return this.parent.__treeItems.find(this)},b.getParentItem=function(){return this.parent.parent},b.addSubItem=function(a,b){var c=this.getSubtreeWidget();!c&&!this._tree&&(c=new DlTree({}),this.setTree(c),this.expand()),c.appendWidget(a,b)},b.setTree=function(a,b,c){this._tree&&typeof this._tree!="function"&&this.removeWidget(this._tree),(this._tree=a)!=null&&(typeof a!="function"?this.appendWidget(a,true):b==null&&(b=false),b?this.expand(b):(this.getSubtreeDiv().style.display="none",this.updateExpanderState())),c==null?(this._subtreeNeverExpires=true,this._subtreeExpires=null):(this._subtreeNeverExpires=false,this._subtreeExpires=(new Date).getTime()+c),this.condClass(a,"DlTreeItem-hasSubtree"),this.updateExpanderState()},b.isExpanded=function(){return this.getSubtreeDiv().style.display!=="none"},b.toggle=function(){this.expand(!this.isExpanded())},b.getPath=function(){var a=[],b=this.getParentItem();while(b instanceof DlTreeItem)a.push(b),b=b.getParentItem();return a},b.expandParents=function(a){var b=this.getParentItem();while(b instanceof DlTreeItem)b.expand(a),b=b.getParentItem()},b.expand=function(a,b){a==null&&(a=true);var c=this;function d(){c.getSubtreeDiv().style.display=a?"block":"none",c.updateExpanderState(),b||c.callHooks(a?"onExpand":"onCollapse")}function e(a,b){var e=c._tree;if(c._subtree)try{c._subtree.destroy()}catch(a){}c._tree=e,b==null?(c._subtreeNeverExpires=true,c._subtreeExpires=null):(c._subtreeNeverExpires=false,c._subtreeExpires=(new Date).getTime()+b),c.appendWidget(a,true),d()}if(a!==this.isExpanded())if(a&&typeof this._tree=="function")if(this._subtree)if(this._subtreeNeverExpires)d();else{var f=(new Date).getTime();this._subtreeExpires&&f<=this._subtreeExpires?d():this._tree(e,this)}else this._tree(e,this);else d()},b.setIconClass=function(a){var b=this.getIconElement();g(b,a!=null,"DlTreeItem-Icon"),this.iconClass&&(b.innerHTML="",f(b,this.iconClass)),a&&(b.innerHTML="<div class='DlTree-IconWidth'>&nbsp;</div>",e(b,a)),this.iconClass=a},b.updateExpanderState=function(){var a=this.getExpanderElement().firstChild;if(this._tree){var b=this.isExpanded();g(a,b,"DlTreeItem-Arrow-Expanded","DlTreeItem-Arrow-Collapsed"),g(this.getTableElement(),b,"DlTreeItem-Table-Expanded","DlTreeItem-Table-Collapsed")}else f(a,"DlTreeItem-Arrow-Expanded"),f(a,"DlTreeItem-Arrow-Collapsed"),this.delClass("DlTreeItem-hasSubtree")},b._appendWidgetElement=function(a,b){var c=a.getElement(),d;a instanceof DlTreeItem?this.addSubItem(a,b):(d=b||a instanceof DlTree?this.getSubtreeDiv():this.getContentElement(),b&&(this._subtree=a,e(c,"DlTree-withLines"),this.addClass("DlTreeItem-hasSubtree")),d.appendChild(c))},b._removeWidgetElement=function(b){a.BASE._removeWidgetElement.call(this,b),this.getSubtreeDiv().firstChild||(this._subtree=this._tree=null),this.updateExpanderState()},b._setFocusedStyle=function(a){g(this.getDivElement(),a,"DlTreeItem-div-focus")}});function DlType(a){a&&(this.name=a,DlType.TYPES[a]=this)}DlType.TYPES={},DlType.prototype={getDisplayValue:function(a){return a},compare:function(a,b){throw"No comparator for type: "+this.name}},DEFINE_CLASS("DlUploadEntry",DlWidget,function(a,b,c){a.DEFAULT_EVENTS=["onUploadStart","onUploadEnd","onChange"],a.DEFAULT_ARGS={_url:["url",null],_files:["files",["file"]],_params:["params",null]},a.BEFORE_BASE=function(){this._files instanceof Array||(this._files=[this._files])},b._createElement=function(){a.BASE._createElement.call(this);var b=c.createElement("iframe",null,{frameBorder:0,marginHeight:0,marginWidth:0,allowTransparency:true,src:is_ie?"javascript:'';":"about:blank"},this.getElement());this.refNode("_iframe",b)},b.init=function(){var a=String.buffer("<html style='margin: 0; padding: 0; overflow: hidden; height: 100%;'>","<head>","<link type='text/css' rel='stylesheet' href='",Dynarch.getFileURL("css/uploadentry.css"),"' />","</head>","<body>","<form action='",this._url,"' method='POST' encoding='multipart/form-data'>","<input type='hidden' name='_uploaderID' value='",this.getWidgetId(),"' />"),b=this._params;if(b){b instanceof Array&&(b=b.toHash(""));for(var c in b)a("<input type='hidden' name='",c,"' value='",b[c],"' />")}this._files.foreach(function(b){a("<label class='upload'><input type='file' name='",b,"' /></label>")}),a("</form></body></html>");var f=this._iframe.contentWindow,g=f.document;g.open(),g.write(a.get()),g.close(),this.refNode("_win",f),this.refNode("_doc",g),this.refNode("_form",g.getElementsByTagName("form")[0]),this._form.method="POST",this._form.encoding="multipart/form-data";var h=d.$(null,this);this._files.foreach(function(a){var b=this._form.elements.namedItem(a);b.onchange=h,b.parentNode.onmousemove=e},this)},b.setParam=function(a,b){if(typeof a=="string"){var c=this.getField(a);c||(c=this._doc.createElement("input"),c.type="hidden",c.name=a,this._form.appendChild(c)),c.value=b}else for(var d in a)this.setParam(d,a[d])},b.getParam=function(a){var b=this.getField(a);return b&&b.value},b.getField=function(a){return this._form.elements.namedItem(a)},b.submit=function(){this.callHooks("onUploadStart"),this._form.submit()},a.finishUpload=function(a){a instanceof DlUploadEntry||(a=DlWidget.getById(a));if(a)a.init(),a.applyHooks("onUploadEnd",Array.$(arguments,1));else throw"No such uploader: "+a};function d(a){a.applyHooks("onChange",[this,this.name,this.value])}function e(a){is_ie&&(a=this.ownerDocument.parentWindow.event),this.firstChild.style.right=30-a.clientX+"px"}}),DEFINE_EXCEPTION("DlValidatorException"),DlValidatorException.MISMATCH=1,DlValidatorException.TOO_SMALL=2,DlValidatorException.TOO_BIG=3,DEFINE_CLASS("DlValidator",null,function(a,b){a.CONSTRUCT=function(b){b&&(typeof b=="string"&&(b=a[b]),this._callback=b,this._args=arguments.length>1?Array.$(arguments,1):null)},b.ok=function(a){if(typeof this._lastData!="undefined"&&this._lastData===a)return true;try{var b=[a].concat(this._args||Array.$(arguments,1)),c=this._callback.apply(this,b);this._lastData=a,this._lastValue=c;return true}catch(a){if(a instanceof DlValidatorException){this._error=a;return false}throw a}},b.getLastVal=function(){return this._lastValue},b.getLastData=function(){return this._lastData},b.getError=function(){return this._error},a.Number=function(a,b,c,d,e){a=a.replace(/\s/g,"");var f=new Number(a);if(isNaN(f))throw new DlValidatorException("Value must be numeric",DlValidatorException.MISMATCH);if(d&&f!=Math.round(f))throw new DlValidatorException("Value must be an integer",DlValidatorException.MISMATCH);if(b!=null&&f<b)throw new DlValidatorException("Value must be bigger than "+b,DlValidatorException.TOO_SMALL);if(c!=null&&f>c)throw new DlValidatorException("Value must be smaller than "+c,DlValidatorException.TOO_BIG);e&&(f=f.toFixed(e));return f},a.Email=function(a){if(!/^([^@\n\r]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i.test(a))throw new DlValidatorException("That doesn't look like an email address",DlValidatorException.MISMATCH);return a},a.URL=function(a,b){b||(b={}),a=a.trim();if(!/^(https?|ftps?):\x2f\x2f/.test(a)){if(/^([a-z0-9_-]+\.)+[a-z]+$/i.test(a)){/^www\./.test(a)||(a="www."+a);return"http://"+a+"/"}throw new DlValidatorException("Value must be an absolute URL",DlValidatorException.MISMATCH)}return a};function c(a){a=a.toLowerCase();function b(b){return b.foreach(function(b,c){b.toLowerCase().indexOf(a)==0&&$RETURN(c)})}var c=b(DlTEXTS._date_shortMonthNames)||b(DlTEXTS._date_monthNames);c!=null&&c++;return c}a.Date=function(a,b,d){if(!/\S/.test(a))return"";b||(b="%Y-%m-%d"),a=a.replace(/^\s+/,"").replace(/\s+$/,"");var e=new Date,f=null,g=null,h=null,i=null,j=null,k=null,l=a.match(/([0-9]{1,2}):([0-9]{1,2})(:[0-9]{1,2})?\s*(am|pm)?/i);l&&(i=parseInt(l[1],10),j=parseInt(l[2],10),k=l[3]?parseInt(l[3].substr(1),10):0,a=a.substring(0,l.index)+a.substr(l.index+l[0].length),l[4]&&(l[4].toLowerCase()=="pm"&&i<12?i+=12:l[4].toLowerCase()=="am"&&i>=12&&(i-=12)));var m=a.split(/\W+/),n=[];m.foreach(function(a){/^[0-9]{4}$/.test(a)?(f=parseInt(a,10),!g&&!h&&d==null&&(d=true)):/^[0-9]{1,2}$/.test(a)?(a=parseInt(a,10),a>=60?f=a:a>=0&&a<=12?n.push(a):a>=1&&a<=31&&(h=a)):g=c(a)}),n.length>=2?d?(g||(g=n.shift()),h||(h=n.shift())):(h||(h=n.shift()),g||(g=n.shift())):n.length==1&&(h?g||(g=n.shift()):h=n.shift()),f||(f=n.length>0?n.shift():e.getFullYear()),f<30?f+=2e3:f<99&&(f+=1900),g||(g=e.getMonth()+1);if(f&&g&&h)this._date=new Date(f,g-1,h,i,j,k);else{this._date=null;throw new DlValidatorException("Can't figure out this date",DlValidatorException.MISMATCH)}return this._date.print(b)}});function DlConsole(){this._messages=[],DlConsole.INSTANCE=this}DlConsole.prototype={log:function(a){a=a.printf.apply(a,Array.$(arguments,1)),this._addMsg({str:a})},line:function(){this._addMsg({str:"&nbsp;",cls:"sep"})},CC:function(a,b){var c=this.win.document.createElement("div");c.className=b||"msg",c.innerHTML=a,this.win.document.body.appendChild(c),this.win.scrollTo(0,c.offsetTop+c.offsetHeight),this._last&&DynarchDomUtils.delClass(this._last,"current"),DynarchDomUtils.addClass(c,"current"),this._last=c},_addMsg:function(a){this._init(),this.win?this.CC(a.str,a.cls):this._messages.push(a)},_init:function(){this.win||window.open(Dynarch.getFileURL("html/dlconsole.html"),"DlConsole","height=400,width=600,menubar=0,toolbar=0,scrollbars=1")},_loaded:function(a){this._last=null,this.win=a,this.log("<b>DynarchLIB Console</b><br />Initialized at %s",new Date),this.line(),this._messages.foreach(this._addMsg,this)},protect:function(name){var func=eval(name),f=function(){try{for(var a=[],b=0;b<arguments.length;++b)a.push(arguments[b]);console.log(name+" ["+a.join(", ")+"]"),func.apply(this,arguments)}catch(a){alert("Exception in "+name+"\n"+a);throw a}};eval(name+" = f")}},window.dlconsole||(window.dlconsole=new DlConsole)
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/all-wcprops
new file mode 100644
index 0000000..b43b939
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/all-wcprops
@@ -0,0 +1,41 @@
+K 25
+svn:wc:ra_dav:version-url
+V 47
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme
+END
+basedefs.css
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/basedefs.css
+END
+basedefs.scss
+K 25
+svn:wc:ra_dav:version-url
+V 61
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/basedefs.scss
+END
+dlconsole.css
+K 25
+svn:wc:ra_dav:version-url
+V 61
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/dlconsole.css
+END
+default.css
+K 25
+svn:wc:ra_dav:version-url
+V 59
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/default.css
+END
+uploadentry.css
+K 25
+svn:wc:ra_dav:version-url
+V 63
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/uploadentry.css
+END
+default.scss
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/default.scss
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/entries
new file mode 100644
index 0000000..060c157
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/entries
@@ -0,0 +1,235 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/new-theme
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+basedefs.css
+file
+
+
+
+
+2012-01-23T13:07:10.293353Z
+734b6f91010a3837648d96f196e5259f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+143
+
+basedefs.scss
+file
+
+
+
+
+2012-01-23T13:07:10.293353Z
+6f08154deac70bf43481f007fbd9251c
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1751
+
+dlconsole.css
+file
+
+
+
+
+2012-01-23T13:07:10.293353Z
+5f5e1cf7b1cfd8bc845df78767f8bf26
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+322
+
+default.css
+file
+
+
+
+
+2012-01-23T13:07:10.293353Z
+f8287e79dedd0cb9c5a08e0df42919f4
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+51413
+
+img
+dir
+
+uploadentry.css
+file
+
+
+
+
+2012-01-23T13:07:10.293353Z
+93c84d50ec14040f7399ac27e19d9bfb
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+577
+
+default.scss
+file
+
+
+
+
+2012-01-23T13:07:10.293353Z
+2beef47c468ae2cbeaccab15023549bf
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+47595
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/basedefs.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/basedefs.css.svn-base
new file mode 100644
index 0000000..2529334
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/basedefs.css.svn-base
@@ -0,0 +1,3 @@
+/* Part of DynarchLIB
+ Copyright (c) Dynarch.com 2005-2009. All rights reserved.
+ See http://www.dynarchlib.com/licensing for details. */
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/basedefs.scss.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/basedefs.scss.svn-base
new file mode 100644
index 0000000..ba5d8c2
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/basedefs.scss.svn-base
@@ -0,0 +1,66 @@
+/* Part of DynarchLIB
+ Copyright (c) Dynarch.com 2005-2009. All rights reserved.
+ See http://www.dynarchlib.com/licensing for details. */
+
+// BEGIN: Main colors (SASS)
+$mainFg: #000;
+$mainBg: #c8c8d8;
+$focusBorder: #e8a850;
+$focusBg: #fff8dd;
+$disabledColor: #88888f;
+$selectionBg: #80b9ff;
+$selectionFg: #000;
+$errorBg: #ff2600;
+$errorBgL2: lighten($errorBg, 30%);
+$errorBgL3: lighten($errorBg, 40%);
+$errorFg: #fff;
+$mainBgL1: lighten($mainBg, 5%);
+$mainBgL2: lighten($mainBg, 10%);
+$mainBgL3: lighten($mainBg, 20%);
+$mainBgD1: darken($mainBg, 5%);
+$mainBgD2: darken($mainBg, 15%);
+$mainBgD3: darken($mainBg, 30%);
+$mainBgD4: darken($mainBg, 40%);
+$readOnlyBg: $mainBgL1;
+$hoverBg: $mainBgL2;
+$hoverColor: $mainFg;
+$activeBg: $selectionBg;
+$activeColor: #000;
+$activeBg2: #222;
+$activeColor2: #fff;
+$dialogBg: $mainBgL1;
+$linkHoverFg: darken($selectionBg, 20%);
+$importantFg: #dd2200;
+// END: main colors
+
+// BEGIN: defs
+@mixin base-font {
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+}
+@mixin outset-border1 {
+ border-color: $mainBgD2 $mainBgD3 $mainBgD3 $mainBgD2;
+}
+@mixin outset-border2 {
+ border-color: $mainBgL3 $mainBgD2 $mainBgD2 $mainBgL3;
+}
+@mixin inset-border1 {
+ border-color: $mainBgD3 $mainBgD2 $mainBgD2 $mainBgD3;
+}
+@mixin inset-border2 {
+ border-color: $mainBgD1 $mainBgL3 $mainBgL3 $mainBgD1;
+}
+@mixin pressed-border1 {
+ border-color: $mainBgD3 $mainBgD2 $mainBgD2 $mainBgD3;
+}
+@mixin pressed-border2 {
+ border-color: $mainBgD1 $mainBgL1 $mainBgL1 $mainBgD1;
+}
+@mixin focus-border1 {
+ border-color: $mainBgD3 $mainBgD4 $mainBgD4 $mainBgD3;
+}
+@mixin focus-outline {
+ outline: 1px solid $focusBorder;
+ -moz-outline-radius: 2px;
+ -webkit-outline-radius: 2px;
+}
+// END: defs
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/default.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/default.css.svn-base
new file mode 100644
index 0000000..b0bd870
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/default.css.svn-base
@@ -0,0 +1,2103 @@
+/* Part of DynarchLIB
+ Copyright (c) Dynarch.com 2005-2009. All rights reserved.
+ See http://www.dynarchlib.com/licensing for details. */
+/* Part of DynarchLIB
+ Copyright (c) Dynarch.com 2005-2009. All rights reserved.
+ See http://www.dynarchlib.com/licensing for details. */
+html, body {
+ margin: 0;
+ padding: 0;
+ height: 100%; }
+
+body {
+ z-index: 0;
+ background-color: #fff; }
+
+form {
+ padding: 0;
+ margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important; }
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important; }
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000; }
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+ /* XXX: why didn't we have this before? */ }
+
+.DYNARCH-FAKE-FOCUS {
+ z-index: -10000;
+ position: absolute;
+ left: -2000px;
+ top: 0; }
+
+.CURSOR-DRAGGING {
+ cursor: move !important; }
+
+.CURSOR-RESIZE-E {
+ cursor: e-resize !important; }
+
+.CURSOR-RESIZE-W {
+ cursor: w-resize !important; }
+
+.CURSOR-RESIZE-S {
+ cursor: s-resize !important; }
+
+.CURSOR-RESIZE-N {
+ cursor: n-resize !important; }
+
+.CURSOR-FORBIDDEN {
+ cursor: not-allowed !important; }
+
+.CURSOR-NO-DROP {
+ cursor: no-drop !important; }
+
+.CURSOR-DROP {
+ cursor: pointer !important; }
+
+.CURSOR-RESIZE-COL {
+ cursor: col-resize !important; }
+
+/* Generic */
+.DlWidget {
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif; }
+ .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif; }
+
+.DlWidget {
+ cursor: default;
+ color: black;
+ zoom: 1;
+ /* force hasLayout in IE */ }
+
+.DlWidget-3D {
+ background-color: #c8c8d8;
+ color: black; }
+
+/* .DlWidget-disabled, .DlWidget-disabled * { color: #768 !important; } */
+/* .DlWidget-dragging, .DlWidget-dragging * { color: #768 !important; } */
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000; }
+
+/* Base button class */
+.DlAbstractButton {
+ white-space: nowrap; }
+
+/* Button */
+.DlButton {
+ border: 1px solid;
+ border-color: #9b9bb8 #6e6e99 #6e6e99 #9b9bb8;
+ background-color: #c8c8d8;
+ text-align: center; }
+ .DlButton .DlButton-inner {
+ border: 1px solid;
+ border-color: white #9b9bb8 #9b9bb8 white;
+ padding: 2px 4px; }
+ .DlButton .DlButton-inner div {
+ min-height: 16px; }
+
+.DlButton-hover {
+ border-color: #6e6e99 #58587c #58587c #6e6e99;
+ background-color: #e6e6ed; }
+
+.DlButton-focus {
+ border-color: #6e6e99 #58587c #58587c #6e6e99;
+ outline: 1px solid #e8a850;
+ -moz-outline-radius: 2px;
+ -webkit-outline-radius: 2px; }
+ .DlButton-focus div.DlButton-Label {
+ display: block;
+ border: 1px dotted black;
+ margin: -1px -2px;
+ padding: 0 1px; }
+
+.DlButton-active {
+ border-color: #6e6e99 #9b9bb8 #9b9bb8 #6e6e99;
+ background-color: #80b9ff; }
+ .DlButton-active .DlButton-inner {
+ padding: 3px 3px 1px 5px;
+ border-color: #b9b9cd #d7d7e3 #d7d7e3 #b9b9cd; }
+
+.DlButton-1 {
+ border-color: #6e6e99 #9b9bb8 #9b9bb8 #6e6e99;
+ background-color: #b9b9cd; }
+
+.DlButton-1 .DlButton-inner {
+ border-color: #b9b9cd white white #b9b9cd; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%; }
+
+.DlButton-empty .DlButton-inner {
+ padding: 2px; }
+
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px; }
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner {
+ border-color: #c8c8d8;
+ opacity: 0.6;
+ filter: alpha(opacity=60); }
+
+.DlButton-disabled, .DlWidget-disabled .DlButton {
+ border-color: #e6e6ed #9b9bb8 #9b9bb8 #e6e6ed; }
+
+div.DlButton-Label {
+ display: inline; }
+
+/* Checkbox */
+.DlWidget-disabled.DlCheckbox-0 {
+ color: #88888f;
+ background-image: url("img/new-checkradio/check-normal-insensitive.png"); }
+
+.DlWidget-disabled.DlCheckbox-1 {
+ color: #88888f;
+ background-image: url("img/new-checkradio/check-mark-insensitive.png"); }
+
+.DlCheckbox {
+ padding: 2px 5px 2px 20px;
+ -moz-border-radius: 3px;
+ background-position: 4px 50%;
+ background-repeat: no-repeat; }
+
+.DlCheckbox-0 {
+ background-image: url("img/new-checkradio/check-normal.png"); }
+
+.DlCheckbox-1 {
+ background-image: url("img/new-checkradio/check-mark.png"); }
+
+.DlCheckbox-hover {
+ background-color: #e6e6ed; }
+
+.DlCheckbox-hover.DlCheckbox-0 {
+ background-image: url("img/new-checkradio/check-normal-prelight.png"); }
+
+.DlCheckbox-hover.DlCheckbox-1 {
+ background-image: url("img/new-checkradio/check-mark-prelight.png"); }
+
+.DlCheckbox-active {
+ background-color: #80b9ff;
+ background-image: url("img/new-checkradio/check-mark-active.png") !important; }
+
+.DlCheckbox-empty {
+ height: 15px;
+ padding-left: 15px;
+ width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label {
+ display: block;
+ border: 1px dotted black;
+ margin: -1px -2px;
+ padding: 0 1px; }
+
+/* RadioButton */
+.DlWidget-disabled.DlRadioButton-0 {
+ color: #88888f;
+ background-image: url("img/new-checkradio/opt-normal-insensitive.png"); }
+
+.DlWidget-disabled.DlRadioButton-1 {
+ color: #88888f;
+ background-image: url("img/new-checkradio/opt-mark-insensitive.png"); }
+
+.DlRadioButton {
+ padding: 2px 5px 2px 20px;
+ -moz-border-radius: 3px;
+ background-position: 4px 50%;
+ background-repeat: no-repeat; }
+
+.DlRadioButton-0 {
+ background-image: url("img/new-checkradio/opt-normal.png"); }
+
+.DlRadioButton-1 {
+ background-image: url("img/new-checkradio/opt-mark.png"); }
+
+.DlRadioButton-hover {
+ background-color: #e6e6ed; }
+
+.DlRadioButton-hover.DlRadioButton-0 {
+ background-image: url("img/new-checkradio/opt-normal-prelight.png"); }
+
+.DlRadioButton-hover.DlRadioButton-1 {
+ background-image: url("img/new-checkradio/opt-mark-prelight.png"); }
+
+.DlRadioButton-active {
+ background-color: #80b9ff;
+ background-image: url("img/new-checkradio/opt-mark-active.png") !important; }
+
+.DlRadioButton-empty {
+ height: 15px;
+ padding-left: 15px;
+ width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label {
+ display: block;
+ border: 1px dotted black;
+ margin: -1px -2px;
+ padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton, .DlPopupMenu .DlCheckbox {
+ -moz-border-radius: 0; }
+
+/* Entry */
+.DlEntry {
+ border: 1px solid #9b9bb8; }
+ .DlEntry .DlEntry-cell {
+ border: 1px solid white;
+ background-color: #e6e6ed; }
+ .DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: white;
+ color: #000;
+ padding: 1px 2px 2px 2px !important;
+ /* font-family: "Bitstream Vera Sans Mono",monospace; height: 1.3em; */
+ resize: none; }
+ .DlEntry input::-moz-selection, .DlEntry textarea::-moz-selection {
+ background-color: #80b9ff !important;
+ color: black !important; }
+
+.DlEntry-Focus {
+ border-color: #6e6e99 #58587c #58587c #6e6e99;
+ outline: 1px solid #e8a850;
+ -moz-outline-radius: 2px;
+ -webkit-outline-radius: 2px; }
+ .DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea {
+ background-color: #fff8dd; }
+
+.DlEntry-ValidationError {
+ border-color: #ff2600; }
+ .DlEntry-ValidationError .DlEntry-cell {
+ border-color: #ff2600; }
+ .DlEntry-ValidationError .DlEntry-cell, .DlEntry-ValidationError input, .DlEntry-ValidationError textarea {
+ background-color: #ffd4cc; }
+
+.DlEntry-Readonly .DlEntry-cell {
+ border-color: #e6e6ed; }
+.DlEntry-Readonly .DlEntry-cell, .DlEntry-Readonly input, .DlEntry-Readonly textarea {
+ background-color: #d7d7e3; }
+
+.DlEntry-emptyText {
+ display: none;
+ position: absolute;
+ left: 3px;
+ top: 1px;
+ color: #88888f;
+ font-style: italic;
+ cursor: text; }
+
+.DlEntry-empty .DlEntry-emptyText {
+ display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #9b9bb8;
+ padding-left: 4px;
+ padding-right: 4px; }
+
+.DlEntry-Focus .DlEntry-dropDownBtn {
+ border-color: #6e6e99; }
+
+.DlEntry-dropDownBtn-hover {
+ background-color: #e6e6ed; }
+
+.DlEntry-dropDownBtn-active {
+ background-color: #80b9ff; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none; }
+
+div.DlEntry-invalidIcon:hover {
+ opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block; }
+
+/* CompletionEntry */
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat; }
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right; }
+
+/* ComboBox */
+.DlComboBox-dropDownBtn {
+ background: #c8c8d8 url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #9b9bb8; }
+
+.DlEntry-Focus .DlComboBox-dropDownBtn {
+ border-color: #6e6e99; }
+
+.DlComboBox-dropDownBtn-hover {
+ background-color: #e6e6ed; }
+
+.DlComboBox-dropDownBtn-active {
+ background-color: #80b9ff; }
+
+/* Spinner */
+.DlSpinner {
+ background-color: yellow;
+ width: 1em; }
+
+.DlSpinner .DlSpinner-Button {
+ height: 50%; }
+
+.DlSpinner input {
+ text-align: right; }
+
+.DlSpinner .DlSpinner-Button .DlButton-inner {
+ width: 5px; }
+
+.DlSpinner .DlSpinner-Button .DlButton-inner div {
+ min-height: 0; }
+
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner {
+ height: 2px;
+ background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner {
+ height: 2px;
+ background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+/* ProgressBar */
+.DlProgressBar {
+ position: relative;
+ border: 1px solid #98c;
+ background: #f0e6ff; }
+
+.DlProgressBar-label {
+ text-align: center;
+ position: relative;
+ padding: 2px 0; }
+
+.DlProgressBar-fill {
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 50%;
+ height: 100%;
+ background-color: #c0b6ff; }
+
+/* ButtonMenu */
+.DlButtonMenu .MenuArrow .DlButton-inner {
+ padding-left: 0;
+ padding-right: 0; }
+
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px;
+ overflow: visible;
+ background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%; }
+
+.DlButtonMenu .LabelPart {
+ border-right: none; }
+
+.DlButtonMenu .LabelPart .DlButton-inner {
+ border-right: none; }
+
+/* ButtonColorPicker */
+.DlButtonColorPicker table {
+ border-collapse: collapse; }
+
+.DlButtonColorPicker .DlButton-inner .ColorPart {
+ border: 1px solid;
+ border-color: #6e6e99 #9b9bb8 #9b9bb8 #6e6e99;
+ width: 10px;
+ height: 10px;
+ overflow: hidden;
+ min-height: 0;
+ margin-top: 1px; }
+
+.DlButtonColorPicker .Label {
+ padding-left: 5px; }
+
+.DlButtonColorPicker .EmptyLabel {
+ width: 1px;
+ overflow: hidden;
+ height: 1em; }
+
+/* Calendar */
+.DlCalendar {
+ background-color: white; }
+
+.DlCalendar-disabled {
+ background-color: #d7d7e3; }
+
+table.DlCalendar {
+ border-collapse: separate;
+ border-spacing: 0;
+ font-size: 11px;
+ font-family: tahoma,verdana,sans-serif;
+ border: 1px solid #9b9bb8; }
+
+.DlCalendar {
+ /* weekends */ }
+ .DlCalendar tr.DlCalendar-Navigation td {
+ text-align: center;
+ border-bottom: 1px solid #9b9bb8;
+ background-color: #c8c8d8;
+ padding: 2px 0; }
+ .DlCalendar tr.DlCalendar-Navigation td.PrevMonth, .DlCalendar tr.DlCalendar-Navigation td.PrevYear {
+ border-right: 1px solid #9b9bb8;
+ font-weight: bold; }
+ .DlCalendar tr.DlCalendar-Navigation td.NextMonth, .DlCalendar tr.DlCalendar-Navigation td.NextYear {
+ border-left: 1px solid #9b9bb8;
+ font-weight: bold; }
+ .DlCalendar tr.DlCalendar-Navigation td.NextMonth {
+ background-image: url("img/arrows/nav-right.gif");
+ background-repeat: no-repeat;
+ background-position: 50% 50%; }
+ .DlCalendar tr.DlCalendar-Navigation td.PrevMonth {
+ background-image: url("img/arrows/nav-left.gif");
+ background-repeat: no-repeat;
+ background-position: 50% 50%; }
+ .DlCalendar tr.DlCalendar-Navigation td.NextYear {
+ background-image: url("img/arrows/nav-right-x2.gif");
+ background-repeat: no-repeat;
+ background-position: 50% 50%; }
+ .DlCalendar tr.DlCalendar-Navigation td.PrevYear {
+ background-image: url("img/arrows/nav-left-x2.gif");
+ background-repeat: no-repeat;
+ background-position: 50% 50%; }
+ .DlCalendar tr.DlCalendar-Navigation td.hover {
+ background-color: #e6e6ed;
+ color: black; }
+ .DlCalendar tr.DlCalendar-Navigation td.rolling {
+ background-color: #80b9ff; }
+ .DlCalendar tr.DlCalendar-DayNames {
+ /* td.Today { font-weight: bold; } */ }
+ .DlCalendar tr.DlCalendar-DayNames td {
+ width: 20px;
+ text-align: right;
+ padding-right: 3px;
+ border-bottom: 1px solid #9b9bb8;
+ background-color: #d7d7e3; }
+ .DlCalendar tr.DlCalendar-DayNames td.WeekNumber {
+ border-right-color: #9b9bb8; }
+ .DlCalendar tr.DlCalendar-DayNames td.hover {
+ background-color: #e6e6ed;
+ color: black; }
+ .DlCalendar tr.DlCalendar-DayNames td.WeekEnd {
+ color: #cc6622; }
+ .DlCalendar tr.Dates td {
+ text-align: right;
+ padding: 2px 3px 2px 2px; }
+ .DlCalendar tr.Dates td.OtherMonth {
+ color: #4d4d4d; }
+ .DlCalendar tr.Dates td.Today {
+ color: blue; }
+ .DlCalendar tr.Dates td.DlCalendar-infoDay {
+ font-weight: bold;
+ background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+ .DlCalendar tr.Dates td.Selected {
+ border: 1px solid #9b9bb8;
+ background-color: #80b9ff;
+ padding: 1px 2px 1px 1px; }
+ .DlCalendar tr.Dates td.hover {
+ border: 1px solid #b9b9cd;
+ padding: 1px 2px 1px 1px;
+ background-color: #e6e6ed !important; }
+ .DlCalendar td.WeekNumber {
+ border-right: 1px solid #9b9bb8;
+ color: #4d4d4d;
+ background-color: #c8c8d8; }
+ .DlCalendar tr.Selected td {
+ border-bottom: 1px solid #b9b9cd;
+ border-top: 1px solid #b9b9cd;
+ padding-top: 1px;
+ padding-bottom: 1px; }
+ .DlCalendar td.WeekEnd {
+ color: #cc6622; }
+ .DlCalendar td.OtherMonth.WeekEnd {
+ color: #e79e6d; }
+
+/* ResizeBar */
+.DlResizeBar {
+ font-size: 1px;
+ line-height: 1px; }
+
+.DlResizeBar-Horizontal {
+ height: 5px;
+ cursor: s-resize;
+ background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+
+.DlResizeBar-Vertical {
+ width: 5px;
+ cursor: e-resize;
+ background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+
+.DlResizeBar-DraggingLine {
+ position: absolute;
+ /* background-image: url("img/resizebg.gif"); */
+ background-color: #e8a850;
+ opacity: 0.6;
+ filter: alpha(opacity=60);
+ z-index: 10000; }
+
+/* UploadEntry */
+.DlUploadEntry {
+ height: 22px; }
+
+.DlUploadEntry iframe {
+ background: transparent;
+ width: 80px;
+ height: 22px;
+ display: block; }
+
+/* CONTAINERS */
+.DlContainer {
+ position: relative; }
+
+/* WARNING: this is probably NOT GOOD!
+ but it happens to fix some atrocious bugs in IE
+ (randomly disappearing elements on hover).
+ XXX: make sure it doesn't break anything!
+ */
+.DlContainer-Hidden {
+ position: absolute;
+ left: -30000px;
+ top: -30000px;
+ visibility: hidden; }
+
+.DlLayout {
+ position: relative; }
+
+.DlLayout-positioned {
+ position: absolute; }
+
+.DlGridLayout-table {
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%; }
+
+.DlGridLayout-tr-minHeight td {
+ height: 2px; }
+
+.DlGridLayout-td-minWidth {
+ width: 2px;
+ white-space: nowrap; }
+
+.DlGridLayout-td-minHeight {
+ height: 2px; }
+
+/*
+ .DlGridLayout-table { background-color: #f00; }
+ .DlGridLayout-table td { background-color: #fff; }
+/* ^^^ DEBUG */
+.DlDesktop {
+ position: fixed;
+ left: 0;
+ top: 0;
+ overflow: hidden; }
+
+.DlFieldset {
+ border: 2px groove #e6e6ed;
+ margin-top: 1em;
+ -moz-border-top-colors: #9b9bb8 #e6e6ed;
+ -moz-border-bottom-colors: #e6e6ed #9b9bb8;
+ -moz-border-left-colors: #9b9bb8 #e6e6ed;
+ -moz-border-right-colors: #e6e6ed #9b9bb8; }
+
+.DlFieldset-label {
+ position: relative;
+ top: -0.75em;
+ left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #c8c8d8;
+ padding: 1px 7px; }
+
+.DlFieldset-content {
+ padding: 10px 10px 10px 10px;
+ margin-top: -1em; }
+
+.DlPopup {
+ position: fixed;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px; }
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ /* -- IE is unbelievable */
+ z-index: 10; }
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px;
+ overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat; }
+
+.DlPopup-scrollUp {
+ border-bottom: 1px solid #b9b9cd; }
+
+.DlPopup-scrollDown {
+ border-top: 1px solid #b9b9cd; }
+
+.DlPopup-scrollUp {
+ background-image: url("img/arrows/scroll-up.gif"); }
+
+.DlPopup-scrollUp-hover {
+ background-image: url("img/arrows/scroll-up-hover.gif");
+ background-color: #e6e6ed; }
+
+.DlPopup-scrollUp-disabled {
+ background-image: url("img/arrows/scroll-up-disabled.gif"); }
+
+.DlPopup-scrollDown {
+ background-image: url("img/arrows/scroll-down.gif"); }
+
+.DlPopup-scrollDown-hover {
+ background-image: url("img/arrows/scroll-down-hover.gif");
+ background-color: #e6e6ed; }
+
+.DlPopup-scrollDown-disabled {
+ background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup {
+ border: 1px solid #b9b9cd;
+ background-color: white; }
+
+.DlCompletionPopup .DlMenuItem .div2 {
+ font-size: 90%;
+ padding: 1px 5px; }
+
+.DlCompletionPopup .DlVMenu {
+ border: none; }
+
+.DlTooltip {
+ background-color: #fffee0;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #333210; }
+
+.DlTooltip-noShadow {
+ border: 1px solid #000; }
+
+.DlDialogPopup {
+ background-color: white;
+ border: 1px solid #b9b9cd; }
+
+.DlPopupMenu {
+ background-color: white;
+ border: 1px solid #b9b9cd; }
+
+.DlPopupMenu-noShadow {
+ border: 1px solid #b9b9cd; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #9b9bb8 #6e6e99 #6e6e99 #9b9bb8; }
+
+.DlCalendar-borderless {
+ border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: white; }
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #9b9bb8 #6e6e99 #6e6e99 #9b9bb8; }
+
+.DlVMenu {
+ margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px; }
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px;
+ margin-right: 2px;
+ border-left: 1px solid #ccc;
+ background-color: #fff; }
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #ccc;
+ border-bottom: 1px solid #fff;
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px; }
+
+.DlMenuItem {
+ /* background: transparent; background-color: none; /* XXX: do we need this? */ }
+
+.DlMenuItem .div2 {
+ padding: 2px 5px; }
+
+.DlMenuItem-popped {
+ background-color: #80b9ff;
+ color: black; }
+
+.DlMenuItem-hover {
+ background-color: #80b9ff;
+ color: black; }
+
+.DlMenuItem-active {
+ background-color: #222222;
+ color: white; }
+
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%; }
+
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%; }
+
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important; }
+
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled {
+ opacity: 0.6;
+ filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover {
+ background-color: #80b9ff;
+ color: black; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active {
+ background-color: #222222;
+ color: white; }
+
+/*
+.DlPopupMenu .DlCheckbox-hover,
+.DlPopupMenu .DlRadioButton-hover { background-color: #76c; color: #fff; }
+
+.DlPopupMenu .DlCheckbox-active,
+.DlPopupMenu .DlRadioButton-active { background-color: #cbf; color: #000; }
+*/
+/* Notebook */
+/* .DlNotebook { background-color: $mainBgL1; } */
+/* Tabs */
+.DlTabs .TabBar {
+ z-index: 10;
+ position: relative; }
+
+.DlTabs .TabBar .DlButton {
+ border-color: #6e6e99; }
+
+.DlTabs .TabBar .DlButton-1 {
+ background-color: #d7d7e3; }
+
+.DlTabs .TabBar .DlButton-1 .DlButton-inner {
+ padding-top: 3px;
+ padding-bottom: 3px;
+ border-color: #b9b9cd; }
+
+.DocTabBar {
+ width: 100%; }
+
+.DocTabBar td {
+ width: 33.3333%; }
+
+.DlTabs-top .TabBar {
+ top: 1px; }
+
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner {
+ border-bottom: none; }
+
+.DlTabs-bottom .TabBar {
+ top: -1px; }
+
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner {
+ border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook {
+ background-color: #d7d7e3; }
+
+.DlTabs .TabContent {
+ border: 1px solid #6e6e99; }
+
+.DlTabs .TabContent .TabContent-inner {
+ padding: 5px; }
+
+.DlTabs .TabContent-inner {
+ position: relative;
+ overflow: hidden;
+ border: 1px solid #b9b9cd; }
+
+.DlTabs-top .TabContent .TabContent-inner {
+ border-top: none; }
+
+.DlTabs-bottom .TabContent .TabContent-inner {
+ border-bottom: none; }
+
+/* MacBar */
+.DlMacHBar, .DlMacVBar {
+ background-color: #b9b9cd;
+ border: 1px solid #6e6e99;
+ padding: 2px; }
+
+.DlMacBarIcon {
+ display: inline; }
+
+.DlMacBarIcon img {
+ vertical-align: middle;
+ padding: 5px; }
+
+.DlMacBarIcon-1 img {
+ border: 1px solid #769;
+ -moz-border-radius: 15px;
+ padding: 4px;
+ background-color: #edf; }
+
+.DlMacBarIcon-active {
+ opacity: 0.6;
+ /* filter: alpha(opacity=60); /* IE sucks. */ }
+
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #98c;
+ background-color: #edf; }
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #98c;
+ background-color: #edf; }
+
+/* Hbox */
+table.DlHbox {
+ border-collapse: separate; }
+
+.DlHbox td.cell {
+ padding: 0; }
+
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px dotted #6e6e99;
+ background-color: #e6e6ed;
+ /* margin-left: 3px; margin-right: 2px; */ }
+
+.DlHbox div.wide-separator, div.Dl-Vertical-Separator.wide-separator {
+ margin-left: 4px;
+ margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px; }
+
+table.DlHbox-hasFiller {
+ width: 100%; }
+
+.DlHbox-filler {
+ width: 100%; }
+
+/* Vbox */
+table.DlVbox {
+ border-collapse: separate; }
+
+.DlVbox td.cell {
+ padding: 0; }
+
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px dotted #6e6e99;
+ background-color: #e6e6ed;
+ /* margin-top: 3px; margin-bottom: 2px; */ }
+
+.DlVbox div.wide-separator, div.Dl-Horizontal-Separator.wide-separator {
+ margin-top: 5px;
+ margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px; }
+
+/* ButtonBox */
+table.DlButtonBox {
+ width: 100%; }
+
+table.DlButtonBox .DlButtonBox-spacer {
+ width: 100%; }
+
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #9b9bb8;
+ background-color: #e6e6ed;
+ margin-left: 3px;
+ margin-right: 2px; }
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator {
+ border-color: #b9b9cd;
+ background-color: #e6e6ed; }
+
+/* Select */
+.DlRadioSelect .LabelPart {
+ text-align: left; }
+
+.DlSelect-menu .DlRadioButton {
+ padding-right: 18px; }
+
+.DlSelect-menu .DlRadioButton-0 {
+ background-image: none; }
+
+.DlSelect-menu .DlRadioButton-1 {
+ background-image: url("img/mark.gif");
+ background-color: #c8c8d8;
+ color: #000; }
+
+.DlSelect-menu .DlRadioButton-active {
+ background-image: url("img/mark-2.gif") !important; }
+
+/* Toolbar (no special widget) */
+/* BEGIN: CRAPPY CODE, PLEASE REVISIT */
+.DlToolbar {
+ border: 1px solid;
+ border-color: #9b9bb8 #6e6e99 #6e6e99 #9b9bb8;
+ background-color: #c8c8d8;
+ padding: 1px; }
+ .DlToolbar .DlButton {
+ border: none;
+ background-color: transparent; }
+ .DlToolbar .DlButton-inner {
+ border: none;
+ padding: 3px; }
+ .DlToolbar .DlButton-hover {
+ border: 1px solid;
+ border-color: white #9b9bb8 #9b9bb8 white;
+ background-color: #e6e6ed; }
+ .DlToolbar .DlButton-hover .DlButton-inner {
+ padding: 2px; }
+ .DlToolbar .DlButton-1 {
+ border: 1px solid;
+ border-color: #b9b9cd white white #b9b9cd;
+ background-color: #80b9ff; }
+ .DlToolbar .DlButton-1 .DlButton-inner {
+ padding: 2px; }
+ .DlToolbar .DlButton-active {
+ border: 1px solid;
+ border-color: #6e6e99 #9b9bb8 #9b9bb8 #6e6e99;
+ background-color: #80b9ff; }
+ .DlToolbar .DlButton-active .DlButton-inner {
+ padding: 2px; }
+ .DlToolbar .DlButton-disabled {
+ opacity: 0.7;
+ filter: alpha(opacity=70); }
+ .DlToolbar .DlButtonMenu * {
+ border: none; }
+ .DlToolbar .DlButtonMenu .DlButton-inner {
+ border: 1px solid;
+ border-color: white #9b9bb8 #9b9bb8 white;
+ padding: 2px; }
+ .DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner {
+ padding-left: 0;
+ padding-right: 0; }
+ .DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner {
+ border-color: #6e6e99 #9b9bb8 #9b9bb8 #6e6e99; }
+ .DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner {
+ border-color: #6e6e99 #9b9bb8 #9b9bb8 #6e6e99; }
+ .DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner {
+ padding-left: 1px !important;
+ padding-right: 1px !important;
+ background-position: 1px 50%; }
+ .DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner {
+ padding-left: 1px !important;
+ padding-right: 1px !important;
+ background-position: 1px 50%; }
+ .DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner {
+ padding-left: 1px !important;
+ padding-right: 1px !important;
+ background-position: 1px 50%; }
+ .DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner {
+ padding-left: 0 !important;
+ padding-right: 0 !important; }
+ .DlToolbar .DlLabel {
+ background: inherit; }
+ .DlToolbar div.DlHbox-separator {
+ border-left-color: #9b9bb8;
+ background-color: #e6e6ed; }
+
+/*
+.DlToolbar .DlButtonMenu .DlButton-hover .DlButton-inner { border-color: #659; }
+.DlToolbar .DlButtonMenu .LabelPart.DlButton-hover .DlButton-inner { padding-right: 3px; border-right: none; }
+*/
+.DlToolbar-Light {
+ background: #d7d7e3; }
+
+/* END: CRAPPY CODE */
+/* Table */
+.DlTable-RowSeparator td {
+ height: 7px; }
+
+.DlTable-RowSeparator td div {
+ line-height: 1px;
+ font-size: 1px;
+ height: 1px;
+ overflow: hidden;
+ border-top: 1px solid #9b9bb8;
+ background-color: #e6e6ed;
+ margin-top: 3px;
+ margin-bottom: 2px; }
+
+/* Tree */
+.DlTree-separator {
+ margin-top: 3px;
+ margin-bottom: 4px;
+ border-top: 1px dotted #9b9bb8;
+ line-height: 1px;
+ font-size: 1px;
+ overflow: hidden; }
+
+.DlTree-IconWidth {
+ width: 19px !important; }
+
+.DlTreeItem .DlTreeItem-Expander {
+ width: 19px; }
+
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%; }
+
+.DlTreeItem .DlTreeItem-Label {
+ padding-left: 3px;
+ padding-top: 1px;
+ padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label {
+ padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel {
+ padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton {
+ padding: 0 2px;
+ background-image: none !important;
+ cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover {
+ background: none;
+ color: #1a81ff;
+ text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 {
+ background-color: #80b9ff;
+ color: black; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label {
+ padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel {
+ padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox {
+ padding: 0 2px;
+ background-image: none !important;
+ cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover {
+ background: none;
+ color: #1a81ff;
+ text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 {
+ background-color: #80b9ff;
+ color: black; }
+
+/* .DlTreeItem-Table { table-layout: fixed; border-collapse: collapse; } */
+.DlTreeItem-Table td {
+ vertical-align: middle;
+ height: 16px; }
+
+/* BEGIN: tree lines, don't touch this or else. */
+.DlTree-withLines .DlTreeItem {
+ background-image: url("img/tree/lines-v.gif");
+ background-repeat: repeat-y;
+ background-position: 9px 50%; }
+
+/* .DlTree-withLines .DlTreeItem-div { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; } */
+.DlTree-withLines .DlTreeItem-Last {
+ background-image: none; }
+
+/* .DlTree-withLines .DlTreeItem-Last .DlTreeItem-div { background-image: none; } */
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander {
+ background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+
+.DlTreeItem-hasSubtree .DlTreeItem-Expander {
+ background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander {
+ background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+/* END: tree lines */
+.DlTreeItem-Subtree {
+ padding-left: 19px; }
+
+.DlTreeItem-Arrow-Expanded {
+ background: transparent url("img/tree/minus.gif") no-repeat 50% 40%;
+ width: 19px;
+ height: 100%; }
+
+.DlTreeItem-Arrow-Expanded:hover {
+ background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%;
+ width: 19px;
+ height: 100%; }
+
+.DlTreeItem-Arrow-Collapsed {
+ background: transparent url("img/tree/plus.gif") no-repeat 50% 40%;
+ width: 19px;
+ height: 100%; }
+
+.DlTreeItem-Arrow-Collapsed:hover {
+ background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%;
+ width: 19px;
+ height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon {
+ opacity: 0.6;
+ filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div {
+ background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div {
+ background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div {
+ background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table {
+ border-top: 1px solid #9b9bb8; }
+
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table {
+ border-bottom: 1px solid #9b9bb8; }
+
+.DlTreeItem-div-focus {
+ outline: 1px solid #e8a850;
+ -moz-outline-radius: 2px;
+ -webkit-outline-radius: 2px; }
+
+/* ColorPicker */
+.DlColorPickerHSV {
+ border: 1px solid #000;
+ background-color: #e4dcec; }
+
+.DlColorPickerHSV td {
+ width: 8px;
+ height: 10px;
+ padding: 1px; }
+
+.DlColorPickerHSV td.DlColorPickerHSV-Sep {
+ background-color: #000;
+ width: 1px;
+ padding: 0; }
+
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible;
+ vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0;
+ width: 15px;
+ padding: 0; }
+
+.DlColorPickerHSV td.hover1 {
+ padding: 0;
+ border: 1px solid #fff !important; }
+
+.DlColorPickerHSV td.hover2 {
+ padding: 0;
+ border: 1px solid #000 !important; }
+
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar {
+ height: 1px;
+ left: 0px;
+ font-size: 1px;
+ line-height: 1px;
+ left: -2px;
+ margin-right: -3px;
+ background-color: #000;
+ overflow: hidden;
+ position: relative; }
+
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 {
+ background-color: #fff; }
+
+/* RteFrame */
+.DlRteFrame {
+ border: 1px solid;
+ border-color: #9b9bb8; }
+
+/* .DlRteFrame-focus { border-color: #659; outline: 1px solid #98b; -moz-outline-radius: 2px; } */
+.DlRteFrame iframe {
+ border: 1px solid;
+ border-color: #6e6e99 #9b9bb8 #9b9bb8 #6e6e99; }
+
+/* Grid */
+.DlDataGrid {
+ position: relative;
+ background-color: white;
+ border: 1px solid #6e6e99; }
+
+.DlDataGrid.DlWidget-disabled {
+ background-color: #e6e6ed; }
+
+.DlDataGrid-rowTable {
+ table-layout: fixed;
+ width: 10px;
+ border-collapse: collapse;
+ border-spacing: 0; }
+
+.DlDataGrid-rowTable td {
+ overflow: hidden;
+ white-space: nowrap;
+ border-right: 1px solid #e0e0e0; }
+
+.DlDataGrid-Headers {
+ overflow: hidden;
+ background-color: #c8c8d8;
+ position: relative;
+ width: 5px; }
+
+.DlDataGrid-Body {
+ overflow: auto; }
+
+.DlDataGrid-cellData {
+ overflow: hidden;
+ white-space: nowrap; }
+
+.DlDataGrid-Body td {
+ padding: 2px 0;
+ text-indent: 5px;
+ /* the "LOL" way to add horizontal padding. :-p */ }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #f0f0f4;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none; }
+
+.DlDataGrid-resizeHandle {
+ width: 7px;
+ position: absolute;
+ top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #f00;
+ opacity: 0.01;
+ filter: alpha(opacity=1); }
+
+.DlDataGrid-align-left {
+ text-align: left; }
+
+.DlDataGrid-align-center {
+ text-align: center; }
+
+.DlDataGrid-align-right {
+ text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected {
+ background-color: #ccc; }
+
+.DlDataGrid .DlDataGridRow-selected table td {
+ color: #000; }
+
+.DlDataGrid-focus {
+ outline: 1px solid #e8a850;
+ -moz-outline-radius: 2px;
+ -webkit-outline-radius: 2px; }
+
+.DlDataGrid-focus .DlDataGridRow-selected {
+ background-color: #80b9ff; }
+
+.DlDataGrid-focus .DlDataGridRow-selected table td {
+ color: black; }
+
+.DlDataGrid-align-right .DlButton-inner {
+ background-position: 0 50%; }
+
+.DlDataGridHeadLabel {
+ border-width: 0 1px 1px 0; }
+
+.DlDataGridHeadLabel .DlButton-inner {
+ border: none;
+ padding-top: 3px;
+ padding-bottom: 3px; }
+
+.DlDataGridHeadLabel-hover {
+ background-color: #e6e6ed; }
+
+.DlDataGridHeadLabel-active {
+ background-color: #80b9ff; }
+
+.DlDataGridHeadLabel-active .DlButton-inner {
+ padding-top: 4px;
+ padding-bottom: 2px; }
+
+.DlDataGridHeadLabel-resizing {
+ background-color: #80b9ff; }
+
+.DlDataGridHeadLabel-empty .DlButton-inner {
+ padding-left: 0;
+ padding-right: 0; }
+
+.DlDataGridHeadLabel-empty .DlButton-withIcon {
+ background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up {
+ border-bottom: 2px solid #000; }
+
+.DlDataGridHeadLabel-sort-down {
+ border-bottom: 2px solid #000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif");
+ background-repeat: no-repeat;
+ background-position: 100% 50%;
+ padding-bottom: 2px; }
+
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif");
+ background-repeat: no-repeat;
+ background-position: 100% 50%;
+ padding-bottom: 2px; }
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner {
+ padding-bottom: 1px; }
+
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner {
+ padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: fixed;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px;
+ height: 11px;
+ margin-left: -5px;
+ z-index: 10000; }
+
+/* IconListView */
+.DlIconListView {
+ background-color: #d8c8f8;
+ border: 1px solid #bae; }
+
+.DlIconListItem {
+ border-collapse: collapse; }
+
+.DlIconListItem-labelCell {
+ text-align: center; }
+
+.DlIconListItem-labelDiv {
+ overflow: hidden;
+ white-space: normal;
+ font-size: 90%; }
+
+.DlIconListItem-iconCell {
+ background-position: 50% 50%;
+ background-repeat: no-repeat; }
+
+/* .DlIconListItem-hover .DlIconListItem-iconCell { opacity: 0.7; filter: alpha(opacity=70); } */
+.DlIconListItem {
+ cursor: pointer;
+ float: left; }
+
+.DlIconListItem-hover {
+ background-color: #dcf; }
+
+.DlIconListItem-hover .DlIconListItem-labelCell {
+ color: #00f;
+ text-decoration: underline; }
+
+.DlIconListItem-1 {
+ background-color: #b8b0c0; }
+
+.DlDialog-Active .DlIconListItem-1 {
+ background-color: #76c; }
+
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell {
+ color: #fff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell {
+ text-decoration: underline; }
+
+/* Dialog */
+.DlWM {
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 0;
+ height: 0;
+ overflow: visible;
+ z-index: 300; }
+
+/* .DlWM-container { */
+/* position: relative; */
+/* width: 0; height: 0; */
+/* overflow: visible; */
+/* } */
+.DlWM-modalStopper {
+ z-index: 800;
+ cursor: not-allowed;
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ /* background: url("img/modalbg.gif"); */
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444;
+ display: none; }
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 0 0 4px 4px;
+ -webkit-border-radius: 0 0 4px 4px; }
+
+.DlDialog .DlDialog-noShadows .DlWM-modalStopper,
+.DlDialog-Maximized .DlWM-modalStopper {
+ -moz-border-radius: 0;
+ -webkit-border-radius: 0; }
+
+.DlWM-hasModals {
+ width: 100%;
+ height: 100%; }
+
+.DlWM-hasModals .DlWM-modalStopper {
+ display: block; }
+
+.DlDialog {
+ position: absolute; }
+
+.DlDialog-Rel {
+ padding: 0; }
+
+.DlDialog-Content {
+ background-color: #d7d7e3;
+ position: relative; }
+
+/* .DlDialog>.DlDialog-Rel { position: relative; } /* HACK-IE6 */
+.Shadow {
+ position: absolute;
+ font-size: 1px;
+ line-height: 1px; }
+
+.DlDialog-Rel .Shadow {
+ z-index: 10; }
+
+.DlDialog-WAIT {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+ /* right: 0; bottom: 0; */
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0;
+ width: 10px;
+ height: 10px;
+ z-index: 350; }
+
+/* OPACITY for inactive dialogs */
+/*
+.DlDialog { opacity: 0.8; }
+.DlDialog-Active { opacity: 1; }
+*/
+.DlDialog-Rel .Shadow-T {
+ left: 18px;
+ right: 15px;
+ top: -14px;
+ background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0;
+ height: 14px; }
+.DlDialog-Rel .Shadow-B {
+ left: 18px;
+ right: 15px;
+ background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0;
+ bottom: -16px;
+ height: 16px; }
+.DlDialog-Rel .Shadow-TL {
+ left: -14px;
+ width: 32px;
+ top: -13px;
+ background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0;
+ height: 23px; }
+.DlDialog-Rel .Shadow-BR {
+ width: 31px;
+ right: -16px;
+ background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0;
+ bottom: -15px;
+ height: 21px; }
+.DlDialog-Rel .Shadow-R {
+ width: 16px;
+ right: -16px;
+ top: 10px;
+ background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0;
+ bottom: 6px; }
+.DlDialog-Rel .Shadow-TR {
+ width: 31px;
+ right: -16px;
+ top: -13px;
+ background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0;
+ height: 23px; }
+.DlDialog-Rel .Shadow-BL {
+ left: -14px;
+ width: 32px;
+ background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0;
+ bottom: -15px;
+ height: 21px; }
+.DlDialog-Rel .Shadow-L {
+ left: -14px;
+ width: 14px;
+ top: 10px;
+ background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0;
+ bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T {
+ left: 18px;
+ right: 15px;
+ top: -14px;
+ background: url("img/shadows/dlg-active/T.png") repeat-x 0 0;
+ height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B {
+ left: 18px;
+ right: 15px;
+ background: url("img/shadows/dlg-active/B.png") repeat-x 0 0;
+ bottom: -16px;
+ height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL {
+ left: -14px;
+ width: 32px;
+ top: -13px;
+ background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0;
+ height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR {
+ width: 31px;
+ right: -16px;
+ background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0;
+ bottom: -15px;
+ height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R {
+ width: 16px;
+ right: -16px;
+ top: 10px;
+ background: url("img/shadows/dlg-active/R.png") repeat-y 0 0;
+ bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR {
+ width: 31px;
+ right: -16px;
+ top: -13px;
+ background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0;
+ height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL {
+ left: -14px;
+ width: 32px;
+ background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0;
+ bottom: -15px;
+ height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L {
+ left: -14px;
+ width: 14px;
+ top: 10px;
+ background: url("img/shadows/dlg-active/L.png") repeat-y 0 0;
+ bottom: 6px; }
+
+/* that's for the crappin' IE6: */
+.DlDialog-noShadows {
+ border: 2px solid #879; }
+
+.DlDialog-Active .DlDialog-noShadows {
+ border-color: #000; }
+
+/*
+.DlDialog-Rel .Shadow-...
+.DlDialog-Active .DlDialog-Rel .Shadow-...
+.DlDialog-Dragging .DlDialog-Rel .Shadow-...
+*/
+.DlDialog-Title {
+ opacity: 0.9;
+ filter: alpha(opacity=90);
+ overflow: hidden;
+ white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif;
+ letter-spacing: -1px;
+ background: #4d7bb3 url("img/titlebg.png") repeat-x 0 50%;
+ color: #333;
+ padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e; }
+
+.DlDialog-Title div {
+ padding-top: 3px;
+ padding-bottom: 3px; }
+
+.DlDialog-Active .DlDialog-Title {
+ background-color: #0073ff;
+ color: #fff;
+ border-color: #fff;
+ opacity: 1;
+ filter: none;
+ text-shadow: 1px 1px 3px #000; }
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%; }
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+ /* filter: alpha(opacity=60); /* IE hides them completely, ignoring the overflow: visible spec. */ }
+
+.DlDialog-Active .DlDialog-WindowButtons {
+ opacity: 1;
+ filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png"); }
+
+.DlDialog-QuitBtn {
+ background-position: 0 0; }
+
+.DlDialog-QuitBtn-hover {
+ background-position: -27px 0; }
+
+.DlDialog-QuitBtn-active {
+ background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn {
+ background-position: 0 -16px; }
+
+.DlDialog-MaximizeBtn-hover {
+ background-position: -27px -16px; }
+
+.DlDialog-MaximizeBtn-active {
+ background-position: -54px -16px; }
+
+.DlDialog-MaximizeBtn-1 {
+ background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn {
+ background-position: 0 -32px; }
+
+.DlDialog-MinimizeBtn-hover {
+ background-position: -27px -32px; }
+
+.DlDialog-MinimizeBtn-active {
+ background-position: -54px -32px; }
+
+.DlDialog-MinimizeBtn-1 {
+ background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title {
+ background-color: #000;
+ color: #3d4; }
+
+.DlDialog-Dragging .DlDialog-Rel {
+ border-color: #000; }
+
+/* .DlDialog-Dragging .DlDialog-Content { opacity: 0.6; } */
+/* .DlDialog-Dragging .DlDialog-Content * { display: none; } /* Good speed-up in Linux! */
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #9b9bb8; }
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ outline: 1px solid #fff;
+ -moz-outline: 1px solid #fff;
+ -webkit-outline: 1px solid #fff;
+ -opera-outline: 1px solid #fff;
+ border: 0; }
+
+.DlDialog-noShadows > .ResizeHandle {
+ margin-left: -10px;
+ margin-top: -10px; }
+
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #fff;
+ color: #000;
+ /* padding: 0px 2px; */
+ border-bottom: 1px solid #888; }
+
+.DlDialog .DlDialog .DlDialog-Title div {
+ padding-top: 1px;
+ padding-bottom: 1px; }
+
+.DlDialog .DlDialog-Active .DlDialog-Title {
+ background-color: #5e5868;
+ color: #fff;
+ border-color: #fff; }
+
+.DlDialog .DlDialog-Dragging .DlDialog-Title {
+ background-color: #000;
+ color: #3d4; }
+
+/* maximized dialogs are not resizable */
+.DlDialog-Maximized > table > tbody > tr > td > .DlDialog-Rel > .Shadow {
+ display: none; }
+
+.DlDialog-Maximized > table > tbody > tr > td > .DlDialog-Rel > .ResizeHandle {
+ display: none; }
+
+.DlDialog-Maximized > table > tbody > tr > td > .DlDialog-Rel > .DlDialog-Title {
+ border-width: 0; }
+
+.DlLiteTree {
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ user-select: none; }
+ .DlLiteTree .hidden {
+ display: none; }
+ .DlLiteTree ul {
+ margin: 0;
+ padding: 0;
+ display: block; }
+ .DlLiteTree ul li {
+ display: block; }
+ .DlLiteTree ul li .item-label {
+ padding: 1px 0;
+ white-space: nowrap; }
+ .DlLiteTree ul li .expander {
+ background-position: 0 50%;
+ background-repeat: no-repeat;
+ padding-left: 15px;
+ margin-right: 1px; }
+ .DlLiteTree ul li .item-label:hover {
+ color: black;
+ background-color: #e6e6ed; }
+ .DlLiteTree ul li .item-label.selected {
+ background-color: #ccc;
+ color: #000; }
+ .DlLiteTree ul .item-label.collapsed > .expander {
+ background-image: url("img/tree/plus.png");
+ background-position: 3px 50%;
+ cursor: pointer; }
+ .DlLiteTree ul .item-label.collapsed > .expander:hover {
+ background-color: #e8a850; }
+ .DlLiteTree ul .item-label.expanded > .expander {
+ background-image: url("img/tree/minus.png");
+ background-position: 3px 50%;
+ cursor: pointer; }
+ .DlLiteTree ul .item-label.expanded > .expander:hover {
+ background-color: #e8a850; }
+ .DlLiteTree ul span.dim {
+ color: #6e6e99; }
+ .DlLiteTree ul ul .expander {
+ margin-left: 16px; }
+ .DlLiteTree ul ul ul .expander {
+ margin-left: 32px; }
+ .DlLiteTree ul ul ul ul .expander {
+ margin-left: 48px; }
+ .DlLiteTree ul ul ul ul ul .expander {
+ margin-left: 64px; }
+ .DlLiteTree ul ul ul ul ul ul .expander {
+ margin-left: 80px; }
+ .DlLiteTree ul ul ul ul ul ul ul .expander {
+ margin-left: 96px; }
+ .DlLiteTree ul ul ul ul ul ul ul ul .expander {
+ margin-left: 112px; }
+ .DlLiteTree ul ul ul ul ul ul ul ul ul .expander {
+ margin-left: 128px; }
+ .DlLiteTree ul ul ul ul ul ul ul ul ul ul .expander {
+ margin-left: 144px; }
+ .DlLiteTree ul ul ul ul ul ul ul ul ul ul ul .expander {
+ margin-left: 160px; }
+
+.DlLiteTree-focus {
+ border-color: #6e6e99 #58587c #58587c #6e6e99;
+ outline: 1px solid #e8a850;
+ -moz-outline-radius: 2px;
+ -webkit-outline-radius: 2px; }
+ .DlLiteTree-focus ul li .item-label.selected {
+ background-color: #80b9ff;
+ color: black; }
+
+/* ICONS */
+.IconCalendar {
+ background-image: url("img/icons/calendar.png");
+ background-position: 1px 50%; }
+
+.IconColors {
+ background-image: url("img/icons/colors.png");
+ background-position: 1px 50%; }
+
+.IconChardev {
+ background-image: url("img/icons/gnome-fs-chardev.png");
+ background-position: 1px 50%; }
+
+.IconDynarch {
+ background-image: url("img/icons/dynarch-small.png");
+ background-position: 1px 50%; }
+
+/* MISC */
+/* Hint for the browser that it's allowed to break line at this span;
+ideally it should be invisible. The UTF8 character doesn't work in
+all browsers :(( */
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden; }
+
+.SmallerButtons .DlButton-inner {
+ padding: 1px 3px; }
+
+.SmallerButtons .DlButton-active .DlButton-inner {
+ padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar {
+ border: 1px solid;
+ border-color: #6e6e99 #9b9bb8 #9b9bb8 #6e6e99;
+ padding: 1px 4px;
+ background-color: #c8c8d8; }
+
+.Dl-ResizeRect {
+ z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: fixed;
+ top: 0;
+ left: 0;
+ border: 1px dashed #000;
+ /* background: url("img/modalbg.gif"); */
+ background: #fff;
+ opacity: 0.4;
+ filter: alpha(opacity=40);
+ /* background-color: #000; opacity: 0.5; filter: alpha(opacity=50); */
+ border: 1px dashed #f00; }
+
+.Dl-ResizeRect {
+ color: red; }
+
+.Dl-ResizeRect .Title {
+ font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000;
+ /* background: url("img/resizebg.gif"); */
+ /* background: #000; */ }
+
+.DlAlign-left {
+ text-align: left; }
+
+.DlAlign-right {
+ text-align: right; }
+
+.DlAlign-center {
+ text-align: center; }
+
+.Dl-3D-Border-Outside {
+ border: 1px solid;
+@incude outset-border1; }
+
+.Dl-3D-Border-Inside {
+ border: 1px solid;
+ border-color: white #9b9bb8 #9b9bb8 white; }
+
+.Dl-3D-Border-Dark {
+ border: 1px solid #9b9bb8; }
+
+/* BUGS */
+/* Gecko bugs are marked with class "Gecko-bug" *and* "Gecko-bug-######" (bug number) */
+.Gecko-Bug-226933 {
+ position: relative;
+ overflow: auto; }
+
+.undefined {
+ border: 5px solid red; }
+
+/* this sucks */
+/* thin shadows */
+.ThinShadows .Shadow-T {
+ left: 10px;
+ right: 9px;
+ top: -7px;
+ background: url("img/thin-shadows/T.png") repeat-x 0 0;
+ height: 7px; }
+
+.ThinShadows .Shadow-B {
+ left: 10px;
+ right: 9px;
+ background: url("img/thin-shadows/B.png") repeat-x 0 0;
+ bottom: -11px;
+ height: 11px; }
+
+.ThinShadows .Shadow-TL {
+ left: -7px;
+ width: 17px;
+ top: -7px;
+ background: url("img/thin-shadows/TL.png") no-repeat 0 0;
+ height: 20px; }
+
+.ThinShadows .Shadow-BR {
+ width: 20px;
+ right: -11px;
+ background: url("img/thin-shadows/BR.png") no-repeat 0 0;
+ bottom: -11px;
+ height: 20px; }
+
+.ThinShadows .Shadow-R {
+ width: 11px;
+ right: -11px;
+ top: 13px;
+ background: url("img/thin-shadows/R.png") repeat-y 0 0;
+ bottom: 9px; }
+
+.ThinShadows .Shadow-TR {
+ width: 20px;
+ right: -11px;
+ top: -7px;
+ background: url("img/thin-shadows/TR.png") no-repeat 0 0;
+ height: 20px; }
+
+.ThinShadows .Shadow-BL {
+ left: -7px;
+ width: 17px;
+ background: url("img/thin-shadows/BL.png") no-repeat 0 0;
+ bottom: -11px;
+ height: 20px; }
+
+.ThinShadows .Shadow-L {
+ left: -7px;
+ width: 7px;
+ top: 13px;
+ background: url("img/thin-shadows/L.png") repeat-y 0 0;
+ bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T {
+ left: 8px;
+ right: 6px;
+ top: -6px;
+ background: url("img/thin-shadows1/T.png") repeat-x 0 0;
+ height: 6px; }
+
+.ThinRoundShadows .Shadow-B {
+ left: 8px;
+ right: 6px;
+ background: url("img/thin-shadows1/B.png") repeat-x 0 0;
+ bottom: -10px;
+ height: 10px; }
+
+.ThinRoundShadows .Shadow-TL {
+ left: -6px;
+ width: 14px;
+ top: -6px;
+ background: url("img/thin-shadows1/TL.png") no-repeat 0 0;
+ height: 15px; }
+
+.ThinRoundShadows .Shadow-BR {
+ width: 16px;
+ right: -10px;
+ background: url("img/thin-shadows1/BR.png") no-repeat 0 0;
+ bottom: -10px;
+ height: 16px; }
+
+.ThinRoundShadows .Shadow-R {
+ width: 10px;
+ right: -10px;
+ top: 9px;
+ background: url("img/thin-shadows1/R.png") repeat-y 0 0;
+ bottom: 6px; }
+
+.ThinRoundShadows .Shadow-TR {
+ width: 16px;
+ right: -10px;
+ top: -6px;
+ background: url("img/thin-shadows1/TR.png") no-repeat 0 0;
+ height: 15px; }
+
+.ThinRoundShadows .Shadow-BL {
+ left: -6px;
+ width: 14px;
+ background: url("img/thin-shadows1/BL.png") no-repeat 0 0;
+ bottom: -10px;
+ height: 16px; }
+
+.ThinRoundShadows .Shadow-L {
+ left: -6px;
+ width: 6px;
+ top: 9px;
+ background: url("img/thin-shadows1/L.png") repeat-y 0 0;
+ bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/default.scss.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/default.scss.svn-base
new file mode 100644
index 0000000..b050a9a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/default.scss.svn-base
@@ -0,0 +1,1312 @@
+/* Part of DynarchLIB
+ Copyright (c) Dynarch.com 2005-2009. All rights reserved.
+ See http://www.dynarchlib.com/licensing for details. */
+
+@import "basedefs.scss";
+
+html, body { margin: 0; padding: 0; height: 100%; }
+
+body { z-index: 0; background-color: #fff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none; /* XXX: why didn't we have this before? */
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+/* Generic */
+
+.DlWidget {
+ @include base-font;
+ table, input, select, button, textarea {
+ @include base-font;
+ }
+}
+
+.DlWidget {
+ cursor: default;
+ color: $mainFg;
+ zoom: 1; /* force hasLayout in IE */
+}
+
+.DlWidget-3D {
+ background-color: $mainBg;
+ color: $mainFg;
+}
+
+/* .DlWidget-disabled, .DlWidget-disabled * { color: #768 !important; } */
+/* .DlWidget-dragging, .DlWidget-dragging * { color: #768 !important; } */
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+/* Base button class */
+
+.DlAbstractButton { white-space: nowrap; }
+
+/* Button */
+
+.DlButton {
+ border: 1px solid;
+ @include outset-border1;
+ background-color: $mainBg;
+ text-align: center;
+ .DlButton-inner {
+ border: 1px solid;
+ @include outset-border2;
+ padding: 2px 4px;
+ div {
+ min-height: 16px; // XXX: for 16x16 icons; I'm not happy with this solution.
+ }
+ }
+}
+
+.DlButton-hover {
+ border-color: $mainBgD3 $mainBgD4 $mainBgD4 $mainBgD3;
+ background-color: $hoverBg;
+}
+
+.DlButton-focus {
+ @include focus-border1;
+ @include focus-outline;
+ div.DlButton-Label {
+ display: block;
+ border: 1px dotted black;
+ margin: -1px -2px;
+ padding: 0 1px;
+ }
+}
+
+.DlButton-active {
+ @include pressed-border1;
+ background-color: $activeBg;
+ .DlButton-inner {
+ padding: 3px 3px 1px 5px;
+ @include pressed-border2;
+ }
+}
+.DlButton-1 { @include inset-border1; background-color: $mainBgD1; }
+.DlButton-1 .DlButton-inner { @include inset-border2; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: $mainBg; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: $mainBgL2 $mainBgD2 $mainBgD2 $mainBgL2; }
+
+div.DlButton-Label { display: inline; }
+
+/* Checkbox */
+
+.DlWidget-disabled.DlCheckbox-0 { color: $disabledColor; background-image: url("img/new-checkradio/check-normal-insensitive.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: $disabledColor; background-image: url("img/new-checkradio/check-mark-insensitive.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; background-position: 4px 50%; background-repeat: no-repeat; }
+.DlCheckbox-0 { background-image: url("img/new-checkradio/check-normal.png"); }
+.DlCheckbox-1 { background-image: url("img/new-checkradio/check-mark.png"); }
+.DlCheckbox-hover { background-color: $hoverBg; }
+.DlCheckbox-hover.DlCheckbox-0 { background-image: url("img/new-checkradio/check-normal-prelight.png"); }
+.DlCheckbox-hover.DlCheckbox-1 { background-image: url("img/new-checkradio/check-mark-prelight.png"); }
+.DlCheckbox-active { background-color: $activeBg; background-image: url("img/new-checkradio/check-mark-active.png") !important; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+/* RadioButton */
+
+.DlWidget-disabled.DlRadioButton-0 { color: $disabledColor; background-image: url("img/new-checkradio/opt-normal-insensitive.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: $disabledColor; background-image: url("img/new-checkradio/opt-mark-insensitive.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; background-position: 4px 50%; background-repeat: no-repeat; }
+.DlRadioButton-0 { background-image: url("img/new-checkradio/opt-normal.png"); }
+.DlRadioButton-1 { background-image: url("img/new-checkradio/opt-mark.png"); }
+.DlRadioButton-hover { background-color: $hoverBg; }
+.DlRadioButton-hover.DlRadioButton-0 { background-image: url("img/new-checkradio/opt-normal-prelight.png"); }
+.DlRadioButton-hover.DlRadioButton-1 { background-image: url("img/new-checkradio/opt-mark-prelight.png"); }
+.DlRadioButton-active { background-color: $activeBg; background-image: url("img/new-checkradio/opt-mark-active.png") !important; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu {
+ .DlRadioButton, .DlCheckbox {
+ -moz-border-radius: 0;
+ }
+}
+
+/* Entry */
+
+.DlEntry {
+ border: 1px solid $mainBgD2;
+ .DlEntry-cell {
+ border: 1px solid $mainBgL3;
+ background-color: $mainBgL2;
+ }
+ input, textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: $mainBgL3;
+ color: #000;
+ padding: 1px 2px 2px 2px !important;
+/* font-family: "Bitstream Vera Sans Mono",monospace; height: 1.3em; */
+ resize: none;
+ }
+ input::-moz-selection, textarea::-moz-selection {
+ background-color: $selectionBg !important; color: $selectionFg !important;
+ }
+}
+.DlEntry-Focus {
+ @include focus-border1;
+ @include focus-outline;
+ .DlEntry-cell, input, textarea {
+ background-color: $focusBg;
+ }
+}
+
+.DlEntry-ValidationError {
+ border-color: $errorBg;
+ .DlEntry-cell { border-color: $errorBg; }
+ .DlEntry-cell, input, textarea { background-color: $errorBgL3; }
+}
+
+.DlEntry-Readonly {
+ .DlEntry-cell {
+ border-color: $mainBgL2;
+ }
+ .DlEntry-cell, input, textarea {
+ background-color: $readOnlyBg;
+ }
+}
+.DlEntry-emptyText {
+ display: none;
+ position: absolute;
+ left: 3px;
+ top: 1px;
+ color: $disabledColor;
+ font-style: italic;
+ cursor: text;
+}
+.DlEntry-empty .DlEntry-emptyText {
+ display: block;
+}
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid $mainBgD2;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-Focus .DlEntry-dropDownBtn { border-color: $mainBgD3; }
+
+.DlEntry-dropDownBtn-hover { background-color: $hoverBg; }
+.DlEntry-dropDownBtn-active { background-color: $activeBg; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+/* CompletionEntry */
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+/* ComboBox */
+
+.DlComboBox-dropDownBtn {
+ background: $mainBg url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid $mainBgD2;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: $mainBgD3; }
+
+.DlComboBox-dropDownBtn-hover { background-color: $hoverBg; }
+.DlComboBox-dropDownBtn-active { background-color: $activeBg; }
+
+/* Spinner */
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+/* ProgressBar */
+
+.DlProgressBar { position: relative; border: 1px solid #98c; background: #f0e6ff; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #c0b6ff; }
+
+/* ButtonMenu */
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+/* ButtonColorPicker */
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; @include inset-border1;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+/* Calendar */
+
+.DlCalendar {
+ background-color: $mainBgL3;
+}
+.DlCalendar-disabled { background-color: $mainBgL1; }
+table.DlCalendar {
+ border-collapse: separate;
+ border-spacing: 0;
+ font-size: 11px;
+ font-family: tahoma,verdana,sans-serif;
+ border: 1px solid $mainBgD2;
+}
+.DlCalendar {
+ $weekendBg: #c62;
+ $todayFg: blue;
+ tr.DlCalendar-Navigation {
+ td { text-align: center; border-bottom: 1px solid $mainBgD2; background-color: $mainBg; padding: 2px 0; }
+ td.PrevMonth, td.PrevYear { border-right: 1px solid $mainBgD2; font-weight: bold; }
+ td.NextMonth, td.NextYear { border-left: 1px solid $mainBgD2; font-weight: bold; }
+ td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+ td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+ td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+ td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+ td.hover { background-color: $hoverBg; color: $hoverColor; }
+ td.rolling { background-color: $activeBg; }
+ }
+ tr.DlCalendar-DayNames {
+ td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid $mainBgD2; background-color: $mainBgL1; }
+ /* td.Today { font-weight: bold; } */
+ td.WeekNumber { border-right-color: $mainBgD2; }
+ td.hover { background-color: $hoverBg; color: $hoverColor; }
+ td.WeekEnd { color: $weekendBg; }
+ }
+ tr.Dates {
+ td { text-align: right; padding: 2px 3px 2px 2px; }
+ td.OtherMonth { color: lighten($mainFg, 30%); }
+ td.Today { color: $todayFg; }
+ td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+ td.Selected { border: 1px solid $mainBgD2; background-color: $selectionBg; padding: 1px 2px 1px 1px; }
+ td.hover { border: 1px solid $mainBgD1; padding: 1px 2px 1px 1px; background-color: $hoverBg !important; }
+ }
+ td.WeekNumber { border-right: 1px solid $mainBgD2; color: lighten($mainFg, 30%); background-color: $mainBg; }
+ tr.Selected td { border-bottom: 1px solid $mainBgD1; border-top: 1px solid $mainBgD1; padding-top: 1px; padding-bottom: 1px; }
+
+ /* weekends */
+ td.WeekEnd { color: $weekendBg; }
+ td.OtherMonth.WeekEnd { color: lighten($weekendBg, 20%); }
+}
+
+/* ResizeBar */
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+/* background-image: url("img/resizebg.gif"); */
+ background-color: $focusBorder; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+/* UploadEntry */
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+/* CONTAINERS */
+
+.DlContainer { position: relative; } /* WARNING: this is probably NOT GOOD!
+ but it happens to fix some atrocious bugs in IE
+ (randomly disappearing elements on hover).
+ XXX: make sure it doesn't break anything!
+ */
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+// XXX: WHAT's this?
+// .DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #a9d; }
+// .DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #a9d; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+/*
+ .DlGridLayout-table { background-color: #f00; }
+ .DlGridLayout-table td { background-color: #fff; }
+/* ^^^ DEBUG */
+
+
+.DlDesktop { position: fixed; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove $mainBgL2; margin-top: 1em;
+ -moz-border-top-colors: $mainBgD2 $mainBgL2;
+ -moz-border-bottom-colors: $mainBgL2 $mainBgD2;
+ -moz-border-left-colors: $mainBgD2 $mainBgL2;
+ -moz-border-right-colors: $mainBgL2 $mainBgD2;
+}
+.DlFieldset-label {
+ position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: $mainBg;
+ padding: 1px 7px;
+}
+.DlFieldset-content {
+ padding: 10px 10px 10px 10px; margin-top: -1em;
+}
+
+.DlPopup {
+ position: fixed;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative; /* -- IE is unbelievable */
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid $mainBgD1; }
+.DlPopup-scrollDown { border-top: 1px solid $mainBgD1; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: $hoverBg; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: $hoverBg; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid $mainBgD1; background-color: $mainBgL3; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #fffee0;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #333210;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000; }
+
+.DlDialogPopup {
+ background-color: $mainBgL3;
+ border: 1px solid $mainBgD1;
+}
+
+.DlPopupMenu {
+ background-color: $mainBgL3;
+ border: 1px solid $mainBgD1;
+}
+.DlPopupMenu-noShadow { border: 1px solid $mainBgD1; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ @include outset-border1;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: $mainBgL3;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ @include outset-border1;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #ccc;
+ background-color: #fff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #ccc;
+ border-bottom: 1px solid #fff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { /* background: transparent; background-color: none; /* XXX: do we need this? */ }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: $activeBg; color: $activeColor; }
+.DlMenuItem-hover { background-color: $activeBg; color: $activeColor; }
+.DlMenuItem-active { background-color: $activeBg2; color: $activeColor2; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: $activeBg; color: $activeColor; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: $activeBg2; color: $activeColor2; }
+
+/*
+.DlPopupMenu .DlCheckbox-hover,
+.DlPopupMenu .DlRadioButton-hover { background-color: #76c; color: #fff; }
+
+.DlPopupMenu .DlCheckbox-active,
+.DlPopupMenu .DlRadioButton-active { background-color: #cbf; color: #000; }
+*/
+
+/* Notebook */
+
+/* .DlNotebook { background-color: $mainBgL1; } */
+
+/* Tabs */
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: $mainBgD3; }
+.DlTabs .TabBar .DlButton-1 { background-color: $mainBgL1; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: $mainBgD1; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: $mainBgL1; }
+.DlTabs .TabContent { border: 1px solid $mainBgD3; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid $mainBgD1; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+/* MacBar */
+
+.DlMacHBar, .DlMacVBar {
+ background-color: $mainBgD1;
+ border: 1px solid $mainBgD3;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #769; -moz-border-radius: 15px; padding: 4px; background-color: #edf; }
+.DlMacBarIcon-active { opacity: 0.6; /* filter: alpha(opacity=60); /* IE sucks. */ }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #98c;
+ background-color: #edf;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #98c;
+ background-color: #edf;
+}
+
+/* Hbox */
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px dotted $mainBgD3;
+ background-color: $mainBgL2;
+/* margin-left: 3px; margin-right: 2px; */
+}
+
+.DlHbox div.wide-separator, div.Dl-Vertical-Separator.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+/* Vbox */
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px dotted $mainBgD3;
+ background-color: $mainBgL2;
+/* margin-top: 3px; margin-bottom: 2px; */
+}
+
+.DlVbox div.wide-separator, div.Dl-Horizontal-Separator.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+/* ButtonBox */
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid $mainBgD2;
+ background-color: $mainBgL2;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: $mainBgD1; background-color: $mainBgL2; }
+
+/* Select */
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: $mainBg; color: #000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif") !important; }
+
+/* Toolbar (no special widget) */
+
+/* BEGIN: CRAPPY CODE, PLEASE REVISIT */
+
+.DlToolbar {
+ border: 1px solid;
+ @include outset-border1;
+ background-color: $mainBg;
+ padding: 1px;
+
+ .DlButton { border: none; background-color: transparent; }
+ .DlButton-inner { border: none; padding: 3px; }
+ .DlButton-hover { border: 1px solid; @include outset-border2; background-color: $hoverBg; }
+ .DlButton-hover .DlButton-inner { padding: 2px; }
+ .DlButton-1 { border: 1px solid; @include inset-border2; background-color: $activeBg; }
+ .DlButton-1 .DlButton-inner { padding: 2px; }
+ .DlButton-active { border: 1px solid; @include inset-border1; background-color: $activeBg; }
+ .DlButton-active .DlButton-inner { padding: 2px; }
+ .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+ .DlButtonMenu * { border: none; }
+ .DlButtonMenu .DlButton-inner { border: 1px solid; @include outset-border2; padding: 2px; }
+ .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+ .DlButtonMenu .DlButton-active .DlButton-inner { @include inset-border1; }
+ .DlButtonMenu .DlButton-1 .DlButton-inner { @include inset-border1; }
+
+ .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+ .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+ .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+ .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+ .DlLabel { background: inherit; }
+
+ div.DlHbox-separator {
+ border-left-color: $mainBgD2;
+ background-color: $mainBgL2;
+ }
+}
+
+/*
+.DlToolbar .DlButtonMenu .DlButton-hover .DlButton-inner { border-color: #659; }
+.DlToolbar .DlButtonMenu .LabelPart.DlButton-hover .DlButton-inner { padding-right: 3px; border-right: none; }
+*/
+
+.DlToolbar-Light { background: $mainBgL1; }
+
+/* END: CRAPPY CODE */
+
+/* Table */
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid $mainBgD2;
+ background-color: $mainBgL2;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+/* Tree */
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted $mainBgD2;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio {
+ .DlTreeItem-Label { padding-left: 0; }
+ .DlTreeItem-Table {
+ .DlLabel { padding: 0 2px; }
+ .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+ .DlRadioButton-hover { background: none; color: $linkHoverFg; text-decoration: underline; }
+ .DlRadioButton-1 { background-color: $activeBg; color: $activeColor; }
+ }
+}
+
+.DlTreeItem-withCheck {
+ .DlTreeItem-Label { padding-left: 0; }
+ .DlTreeItem-Table {
+ .DlLabel { padding: 0 2px; }
+ .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+ .DlCheckbox-hover { background: none; color: $linkHoverFg; text-decoration: underline; }
+ .DlCheckbox-1 { background-color: $activeBg; color: $activeColor; }
+ }
+}
+
+/* .DlTreeItem-Table { table-layout: fixed; border-collapse: collapse; } */
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+/* BEGIN: tree lines, don't touch this or else. */
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+/* .DlTree-withLines .DlTreeItem-div { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; } */
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+/* .DlTree-withLines .DlTreeItem-Last .DlTreeItem-div { background-image: none; } */
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+/* END: tree lines */
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid $mainBgD2; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid $mainBgD2; }
+
+.DlTreeItem-div-focus { @include focus-outline; }
+
+/* ColorPicker */
+
+.DlColorPickerHSV { border: 1px solid #000; background-color: #e4dcec; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #fff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #fff; }
+
+/* RteFrame */
+
+.DlRteFrame { border: 1px solid; border-color: $mainBgD2; }
+/* .DlRteFrame-focus { border-color: #659; outline: 1px solid #98b; -moz-outline-radius: 2px; } */
+.DlRteFrame iframe { border: 1px solid; @include inset-border1; }
+
+/* Grid */
+
+.DlDataGrid { position: relative; background-color: $mainBgL3; border: 1px solid $mainBgD3; }
+.DlDataGrid.DlWidget-disabled { background-color: $mainBgL2; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: $mainBg; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; /* the "LOL" way to add horizontal padding. :-p */}
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid darken($mainBgL3, 5%);
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #f00; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #ccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000; }
+.DlDataGrid-focus { @include focus-outline; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: $selectionBg; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: $selectionFg; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: $hoverBg; }
+.DlDataGridHeadLabel-active { background-color: $activeBg; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: $activeBg; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: fixed;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+/* IconListView */
+// <XXX>: do we still keep this widget?
+.DlIconListView { background-color: #d8c8f8; border: 1px solid #bae; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+/* .DlIconListItem-hover .DlIconListItem-iconCell { opacity: 0.7; filter: alpha(opacity=70); } */
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #dcf; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #00f; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b8b0c0; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #76c; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #fff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+// </XXX>
+
+/* Dialog */
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+/* .DlWM-container { */
+/* position: relative; */
+/* width: 0; height: 0; */
+/* overflow: visible; */
+/* } */
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+/* background: url("img/modalbg.gif"); */
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 0 0 4px 4px;
+ -webkit-border-radius: 0 0 4px 4px;
+}
+
+.DlDialog .DlDialog-noShadows .DlWM-modalStopper,
+.DlDialog-Maximized .DlWM-modalStopper {
+ -moz-border-radius: 0;
+ -webkit-border-radius: 0;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: $dialogBg; position: relative; }
+/* .DlDialog>.DlDialog-Rel { position: relative; } /* HACK-IE6 */
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+/* right: 0; bottom: 0; */
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+/* OPACITY for inactive dialogs */
+/*
+.DlDialog { opacity: 0.8; }
+.DlDialog-Active { opacity: 1; }
+*/
+
+.DlDialog-Rel {
+ .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+ .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+ .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+ .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+ .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+ .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+ .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+ .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+}
+
+.DlDialog-Active .DlDialog-Rel {
+ .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+ .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+ .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+ .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+ .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+ .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+ .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+ .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+}
+
+/* that's for the crappin' IE6: */
+.DlDialog-noShadows { border: 2px solid #879; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000; }
+
+/*
+.DlDialog-Rel .Shadow-...
+.DlDialog-Active .DlDialog-Rel .Shadow-...
+.DlDialog-Dragging .DlDialog-Rel .Shadow-...
+*/
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: desaturate(darken($activeBg, 25%), 60%) url("img/titlebg.png") repeat-x 0 50%; color: #333; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: darken($activeBg, 25%); color: #fff; border-color: #fff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6; /* filter: alpha(opacity=60); /* IE hides them completely, ignoring the overflow: visible spec. */
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000; color: #3d4; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000; }
+
+/* .DlDialog-Dragging .DlDialog-Content { opacity: 0.6; } */
+/* .DlDialog-Dragging .DlDialog-Content * { display: none; } /* Good speed-up in Linux! */
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid $mainBgD2;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ outline: 1px solid #fff;
+ -moz-outline: 1px solid #fff;
+ -webkit-outline: 1px solid #fff;
+ -opera-outline: 1px solid #fff;
+ border: 0;
+}
+.DlDialog-noShadows>.ResizeHandle { margin-left: -10px; margin-top: -10px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #fff; color: #000; /* padding: 0px 2px; */
+ border-bottom: 1px solid #888;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #5e5868; color: #fff; border-color: #fff; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000; color: #3d4; }
+
+/* maximized dialogs are not resizable */
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+.DlLiteTree {
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ user-select: none;
+ .hidden { display: none }
+ ul {
+ margin: 0; padding: 0; display: block;
+ li {
+ display: block;
+ .item-label { padding: 1px 0; white-space: nowrap; }
+ .expander {
+ background-position: 0 50%;
+ background-repeat: no-repeat;
+ padding-left: 15px;
+ margin-right: 1px;
+ }
+ .item-label:hover {
+ color: $hoverColor;
+ background-color: $hoverBg;
+ }
+ .item-label.selected {
+ background-color: #ccc;
+ color: #000;
+ }
+ }
+ .item-label.collapsed>.expander {
+ background-image: url("img/tree/plus.png");
+ background-position: 3px 50%;
+ cursor: pointer;
+ &:hover {
+ background-color: $focusBorder;
+ }
+ }
+ .item-label.expanded>.expander {
+ background-image: url("img/tree/minus.png");
+ background-position: 3px 50%;
+ cursor: pointer;
+ &:hover {
+ background-color: $focusBorder;
+ }
+ }
+ span.dim { color: $mainBgD3 }
+ ul {
+ .expander { margin-left: 16px }
+ ul {
+ .expander { margin-left: 32px }
+ ul {
+ .expander { margin-left: 48px }
+ ul {
+ .expander { margin-left: 64px }
+ ul {
+ .expander { margin-left: 80px }
+ ul {
+ .expander { margin-left: 96px }
+ ul {
+ .expander { margin-left: 112px }
+ ul {
+ .expander { margin-left: 128px }
+ ul {
+ .expander { margin-left: 144px }
+ ul {
+ .expander { margin-left: 160px }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+.DlLiteTree-focus {
+ @include focus-border1;
+ @include focus-outline;
+ ul {
+ li {
+ .item-label.selected {
+ background-color: $selectionBg;
+ color: $selectionFg;
+ }
+ }
+ }
+}
+
+/* ICONS */
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+/* MISC */
+
+/* Hint for the browser that it's allowed to break line at this span;
+ideally it should be invisible. The UTF8 character doesn't work in
+all browsers :(( */
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; @include inset-border1; padding: 1px 4px; background-color: $mainBg; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: fixed; top: 0; left: 0; border: 1px dashed #000;
+/* background: url("img/modalbg.gif"); */
+ background: #fff; opacity: 0.4; filter: alpha(opacity=40);
+/* background-color: #000; opacity: 0.5; filter: alpha(opacity=50); */
+ border: 1px dashed #f00;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000;
+/* background: url("img/resizebg.gif"); */
+ /* background: #000; */
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; @incude outset-border1 }
+.Dl-3D-Border-Inside { border: 1px solid; @include outset-border2 }
+.Dl-3D-Border-Dark { border: 1px solid $mainBgD2; }
+
+/* BUGS */
+/* Gecko bugs are marked with class "Gecko-bug" *and* "Gecko-bug-######" (bug number) */
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; } /* this sucks */
+
+/* thin shadows */
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/dlconsole.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/dlconsole.css.svn-base
new file mode 100644
index 0000000..8457b0b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/dlconsole.css.svn-base
@@ -0,0 +1,16 @@
+html, body { margin: 0; padding: 0; background-color: #ffee99; color: #000; }
+
+body, table { font: 13px tahoma,verdana,sans-serif; }
+
+.msg { margin: 0.5em; }
+
+.sep {
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+ height: 1px;
+ margin: 6px 0;
+ background-color: #f00;
+}
+
+.current { background-color: #fe0; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/uploadentry.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/uploadentry.css.svn-base
new file mode 100644
index 0000000..9322203
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/.svn/text-base/uploadentry.css.svn-base
@@ -0,0 +1,21 @@
+body { background-color: transparent; margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+form, input { font: 12px Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif; height: 22px; width: 80px; }
+form { margin: 0; padding: 0; }
+
+.upload {
+ display: block;
+ background: url("img/btn-choose-file.gif") no-repeat 0 50%;
+ overflow: hidden;
+ cursor: pointer;
+ width: 80px;
+ height: 22px;
+ position: relative;
+}
+.upload input {
+ opacity: 0; filter: alpha(opacity=0); -moz-opacity: 0;
+ position: absolute;
+ cursor: pointer;
+ height: 100%;
+ width: auto;
+}
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/basedefs.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/basedefs.css
new file mode 100644
index 0000000..2529334
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/basedefs.css
@@ -0,0 +1,3 @@
+/* Part of DynarchLIB
+ Copyright (c) Dynarch.com 2005-2009. All rights reserved.
+ See http://www.dynarchlib.com/licensing for details. */
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/basedefs.scss b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/basedefs.scss
new file mode 100644
index 0000000..ba5d8c2
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/basedefs.scss
@@ -0,0 +1,66 @@
+/* Part of DynarchLIB
+ Copyright (c) Dynarch.com 2005-2009. All rights reserved.
+ See http://www.dynarchlib.com/licensing for details. */
+
+// BEGIN: Main colors (SASS)
+$mainFg: #000;
+$mainBg: #c8c8d8;
+$focusBorder: #e8a850;
+$focusBg: #fff8dd;
+$disabledColor: #88888f;
+$selectionBg: #80b9ff;
+$selectionFg: #000;
+$errorBg: #ff2600;
+$errorBgL2: lighten($errorBg, 30%);
+$errorBgL3: lighten($errorBg, 40%);
+$errorFg: #fff;
+$mainBgL1: lighten($mainBg, 5%);
+$mainBgL2: lighten($mainBg, 10%);
+$mainBgL3: lighten($mainBg, 20%);
+$mainBgD1: darken($mainBg, 5%);
+$mainBgD2: darken($mainBg, 15%);
+$mainBgD3: darken($mainBg, 30%);
+$mainBgD4: darken($mainBg, 40%);
+$readOnlyBg: $mainBgL1;
+$hoverBg: $mainBgL2;
+$hoverColor: $mainFg;
+$activeBg: $selectionBg;
+$activeColor: #000;
+$activeBg2: #222;
+$activeColor2: #fff;
+$dialogBg: $mainBgL1;
+$linkHoverFg: darken($selectionBg, 20%);
+$importantFg: #dd2200;
+// END: main colors
+
+// BEGIN: defs
+@mixin base-font {
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif;
+}
+@mixin outset-border1 {
+ border-color: $mainBgD2 $mainBgD3 $mainBgD3 $mainBgD2;
+}
+@mixin outset-border2 {
+ border-color: $mainBgL3 $mainBgD2 $mainBgD2 $mainBgL3;
+}
+@mixin inset-border1 {
+ border-color: $mainBgD3 $mainBgD2 $mainBgD2 $mainBgD3;
+}
+@mixin inset-border2 {
+ border-color: $mainBgD1 $mainBgL3 $mainBgL3 $mainBgD1;
+}
+@mixin pressed-border1 {
+ border-color: $mainBgD3 $mainBgD2 $mainBgD2 $mainBgD3;
+}
+@mixin pressed-border2 {
+ border-color: $mainBgD1 $mainBgL1 $mainBgL1 $mainBgD1;
+}
+@mixin focus-border1 {
+ border-color: $mainBgD3 $mainBgD4 $mainBgD4 $mainBgD3;
+}
+@mixin focus-outline {
+ outline: 1px solid $focusBorder;
+ -moz-outline-radius: 2px;
+ -webkit-outline-radius: 2px;
+}
+// END: defs
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/default.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/default.css
new file mode 100644
index 0000000..d0e2121
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/default.css
@@ -0,0 +1,2103 @@
+/* Part of DynarchLIB
+ Copyright (c) Dynarch.com 2005-2009. All rights reserved.
+ See http://www.dynarchlib.com/licensing for details. */
+/* Part of DynarchLIB
+ Copyright (c) Dynarch.com 2005-2009. All rights reserved.
+ See http://www.dynarchlib.com/licensing for details. */
+html, body {
+ margin: 0;
+ padding: 0;
+ height: 100%; }
+
+body {
+ z-index: 0;
+ background-color: #fff; }
+
+form {
+ padding: 0;
+ margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important; }
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important; }
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000; }
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none;
+ /* XXX: why didn't we have this before? */ }
+
+.DYNARCH-FAKE-FOCUS {
+ z-index: -10000;
+ position: absolute;
+ left: -2000px;
+ top: 0; }
+
+.CURSOR-DRAGGING {
+ cursor: move !important; }
+
+.CURSOR-RESIZE-E {
+ cursor: e-resize !important; }
+
+.CURSOR-RESIZE-W {
+ cursor: w-resize !important; }
+
+.CURSOR-RESIZE-S {
+ cursor: s-resize !important; }
+
+.CURSOR-RESIZE-N {
+ cursor: n-resize !important; }
+
+.CURSOR-FORBIDDEN {
+ cursor: not-allowed !important; }
+
+.CURSOR-NO-DROP {
+ cursor: no-drop !important; }
+
+.CURSOR-DROP {
+ cursor: pointer !important; }
+
+.CURSOR-RESIZE-COL {
+ cursor: col-resize !important; }
+
+/* Generic */
+.DlWidget {
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif; }
+ .DlWidget table, .DlWidget input, .DlWidget select, .DlWidget button, .DlWidget textarea {
+ font: 12px "Lucida Grande",Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif; }
+
+.DlWidget {
+ cursor: default;
+ color: black;
+ zoom: 1;
+ /* force hasLayout in IE */ }
+
+.DlWidget-3D {
+ background-color: #c8c8d8;
+ color: black; }
+
+/* .DlWidget-disabled, .DlWidget-disabled * { color: #768 !important; } */
+/* .DlWidget-dragging, .DlWidget-dragging * { color: #768 !important; } */
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000; }
+
+/* Base button class */
+.DlAbstractButton {
+ white-space: nowrap; }
+
+/* Button */
+.DlButton {
+ border: 1px solid;
+ border-color: #9b9bb8 #6e6e99 #6e6e99 #9b9bb8;
+ background-color: #c8c8d8;
+ text-align: center; }
+ .DlButton .DlButton-inner {
+ border: 1px solid;
+ border-color: white #9b9bb8 #9b9bb8 white;
+ padding: 2px 4px; }
+ .DlButton .DlButton-inner div {
+ min-height: 16px; }
+
+.DlButton-hover {
+ border-color: #6e6e99 #58587c #58587c #6e6e99;
+ background-color: #e6e6ed; }
+
+.DlButton-focus {
+ border-color: #6e6e99 #58587c #58587c #6e6e99;
+ outline: 1px solid #e8a850;
+ -moz-outline-radius: 2px;
+ -webkit-outline-radius: 2px; }
+ .DlButton-focus div.DlButton-Label {
+ display: block;
+ border: 1px dotted black;
+ margin: -1px -2px;
+ padding: 0 1px; }
+
+.DlButton-active {
+ border-color: #6e6e99 #9b9bb8 #9b9bb8 #6e6e99;
+ background-color: #80b9ff; }
+ .DlButton-active .DlButton-inner {
+ padding: 3px 3px 1px 5px;
+ border-color: #b9b9cd #d7d7e3 #d7d7e3 #b9b9cd; }
+
+.DlButton-1 {
+ border-color: #6e6e99 #9b9bb8 #9b9bb8 #6e6e99;
+ background-color: #b9b9cd; }
+
+.DlButton-1 .DlButton-inner {
+ border-color: #b9b9cd white white #b9b9cd; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%; }
+
+.DlButton-empty .DlButton-inner {
+ padding: 2px; }
+
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px; }
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner {
+ border-color: #c8c8d8;
+ opacity: 0.6;
+ filter: alpha(opacity=60); }
+
+.DlButton-disabled, .DlWidget-disabled .DlButton {
+ border-color: #e6e6ed #9b9bb8 #9b9bb8 #e6e6ed; }
+
+div.DlButton-Label {
+ display: inline; }
+
+/* Checkbox */
+.DlWidget-disabled.DlCheckbox-0 {
+ color: #88888f;
+ background-image: url("img/new-checkradio/check-normal-insensitive.png"); }
+
+.DlWidget-disabled.DlCheckbox-1 {
+ color: #88888f;
+ background-image: url("img/new-checkradio/check-mark-insensitive.png"); }
+
+.DlCheckbox {
+ padding: 2px 5px 2px 20px;
+ -moz-border-radius: 3px;
+ background-position: 4px 50%;
+ background-repeat: no-repeat; }
+
+.DlCheckbox-0 {
+ background-image: url("img/new-checkradio/check-normal.png"); }
+
+.DlCheckbox-1 {
+ background-image: url("img/new-checkradio/check-mark.png"); }
+
+.DlCheckbox-hover {
+ background-color: #e6e6ed; }
+
+.DlCheckbox-hover.DlCheckbox-0 {
+ background-image: url("img/new-checkradio/check-normal-prelight.png"); }
+
+.DlCheckbox-hover.DlCheckbox-1 {
+ background-image: url("img/new-checkradio/check-mark-prelight.png"); }
+
+.DlCheckbox-active {
+ background-color: #80b9ff;
+ background-image: url("img/new-checkradio/check-mark-active.png") !important; }
+
+.DlCheckbox-empty {
+ height: 15px;
+ padding-left: 15px;
+ width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label {
+ display: block;
+ border: 1px dotted black;
+ margin: -1px -2px;
+ padding: 0 1px; }
+
+/* RadioButton */
+.DlWidget-disabled.DlRadioButton-0 {
+ color: #88888f;
+ background-image: url("img/new-checkradio/opt-normal-insensitive.png"); }
+
+.DlWidget-disabled.DlRadioButton-1 {
+ color: #88888f;
+ background-image: url("img/new-checkradio/opt-mark-insensitive.png"); }
+
+.DlRadioButton {
+ padding: 2px 5px 2px 20px;
+ -moz-border-radius: 3px;
+ background-position: 4px 50%;
+ background-repeat: no-repeat; }
+
+.DlRadioButton-0 {
+ background-image: url("img/new-checkradio/opt-normal.png"); }
+
+.DlRadioButton-1 {
+ background-image: url("img/new-checkradio/opt-mark.png"); }
+
+.DlRadioButton-hover {
+ background-color: #e6e6ed; }
+
+.DlRadioButton-hover.DlRadioButton-0 {
+ background-image: url("img/new-checkradio/opt-normal-prelight.png"); }
+
+.DlRadioButton-hover.DlRadioButton-1 {
+ background-image: url("img/new-checkradio/opt-mark-prelight.png"); }
+
+.DlRadioButton-active {
+ background-color: #80b9ff;
+ background-image: url("img/new-checkradio/opt-mark-active.png") !important; }
+
+.DlRadioButton-empty {
+ height: 15px;
+ padding-left: 15px;
+ width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label {
+ display: block;
+ border: 1px dotted black;
+ margin: -1px -2px;
+ padding: 0 1px; }
+
+.DlPopupMenu .DlRadioButton, .DlPopupMenu .DlCheckbox {
+ -moz-border-radius: 0; }
+
+/* Entry */
+.DlEntry {
+ border: 1px solid #9b9bb8; }
+ .DlEntry .DlEntry-cell {
+ border: 1px solid white;
+ background-color: #e6e6ed; }
+ .DlEntry input, .DlEntry textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: white;
+ color: #000;
+ padding: 1px 2px 2px 2px !important;
+ /* font-family: "Bitstream Vera Sans Mono",monospace; height: 1.3em; */
+ resize: none; }
+ .DlEntry input::-moz-selection, .DlEntry textarea::-moz-selection {
+ background-color: #80b9ff !important;
+ color: black !important; }
+
+.DlEntry-Focus {
+ border-color: #6e6e99 #58587c #58587c #6e6e99;
+ outline: 1px solid #e8a850;
+ -moz-outline-radius: 2px;
+ -webkit-outline-radius: 2px; }
+ .DlEntry-Focus .DlEntry-cell, .DlEntry-Focus input, .DlEntry-Focus textarea {
+ background-color: #fff8dd; }
+
+.DlEntry-ValidationError {
+ border-color: #ff2600; }
+ .DlEntry-ValidationError .DlEntry-cell {
+ border-color: #ff2600; }
+ .DlEntry-ValidationError .DlEntry-cell, .DlEntry-ValidationError input, .DlEntry-ValidationError textarea {
+ background-color: #ffd4cc; }
+
+.DlEntry-Readonly .DlEntry-cell {
+ border-color: #e6e6ed; }
+.DlEntry-Readonly .DlEntry-cell, .DlEntry-Readonly input, .DlEntry-Readonly textarea {
+ background-color: #d7d7e3; }
+
+.DlEntry-emptyText {
+ display: none;
+ position: absolute;
+ left: 3px;
+ top: 1px;
+ color: #88888f;
+ font-style: italic;
+ cursor: text; }
+
+.DlEntry-empty .DlEntry-emptyText {
+ display: block; }
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid #9b9bb8;
+ padding-left: 4px;
+ padding-right: 4px; }
+
+.DlEntry-Focus .DlEntry-dropDownBtn {
+ border-color: #6e6e99; }
+
+.DlEntry-dropDownBtn-hover {
+ background-color: #e6e6ed; }
+
+.DlEntry-dropDownBtn-active {
+ background-color: #80b9ff; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none; }
+
+div.DlEntry-invalidIcon:hover {
+ opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block; }
+
+/* CompletionEntry */
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat; }
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right; }
+
+/* ComboBox */
+.DlComboBox-dropDownBtn {
+ background: #c8c8d8 url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid #9b9bb8; }
+
+.DlEntry-Focus .DlComboBox-dropDownBtn {
+ border-color: #6e6e99; }
+
+.DlComboBox-dropDownBtn-hover {
+ background-color: #e6e6ed; }
+
+.DlComboBox-dropDownBtn-active {
+ background-color: #80b9ff; }
+
+/* Spinner */
+.DlSpinner {
+ background-color: yellow;
+ width: 1em; }
+
+.DlSpinner .DlSpinner-Button {
+ height: 50%; }
+
+.DlSpinner input {
+ text-align: right; }
+
+.DlSpinner .DlSpinner-Button .DlButton-inner {
+ width: 5px; }
+
+.DlSpinner .DlSpinner-Button .DlButton-inner div {
+ min-height: 0; }
+
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner {
+ height: 2px;
+ background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner {
+ height: 2px;
+ background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+/* ProgressBar */
+.DlProgressBar {
+ position: relative;
+ border: 1px solid #98c;
+ background: #f0e6ff; }
+
+.DlProgressBar-label {
+ text-align: center;
+ position: relative;
+ padding: 2px 0; }
+
+.DlProgressBar-fill {
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 50%;
+ height: 100%;
+ background-color: #c0b6ff; }
+
+/* ButtonMenu */
+.DlButtonMenu .MenuArrow .DlButton-inner {
+ padding-left: 0;
+ padding-right: 0; }
+
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px;
+ overflow: visible;
+ background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%; }
+
+.DlButtonMenu .LabelPart {
+ border-right: none; }
+
+.DlButtonMenu .LabelPart .DlButton-inner {
+ border-right: none; }
+
+/* ButtonColorPicker */
+.DlButtonColorPicker table {
+ border-collapse: collapse; }
+
+.DlButtonColorPicker .DlButton-inner .ColorPart {
+ border: 1px solid;
+ border-color: #6e6e99 #9b9bb8 #9b9bb8 #6e6e99;
+ width: 10px;
+ height: 10px;
+ overflow: hidden;
+ min-height: 0;
+ margin-top: 1px; }
+
+.DlButtonColorPicker .Label {
+ padding-left: 5px; }
+
+.DlButtonColorPicker .EmptyLabel {
+ width: 1px;
+ overflow: hidden;
+ height: 1em; }
+
+/* Calendar */
+.DlCalendar {
+ background-color: white; }
+
+.DlCalendar-disabled {
+ background-color: #d7d7e3; }
+
+table.DlCalendar {
+ border-collapse: separate;
+ border-spacing: 0;
+ font-size: 11px;
+ font-family: tahoma,verdana,sans-serif;
+ border: 1px solid #9b9bb8; }
+
+.DlCalendar {
+ /* weekends */ }
+ .DlCalendar tr.DlCalendar-Navigation td {
+ text-align: center;
+ border-bottom: 1px solid #9b9bb8;
+ background-color: #c8c8d8;
+ padding: 2px 0; }
+ .DlCalendar tr.DlCalendar-Navigation td.PrevMonth, .DlCalendar tr.DlCalendar-Navigation td.PrevYear {
+ border-right: 1px solid #9b9bb8;
+ font-weight: bold; }
+ .DlCalendar tr.DlCalendar-Navigation td.NextMonth, .DlCalendar tr.DlCalendar-Navigation td.NextYear {
+ border-left: 1px solid #9b9bb8;
+ font-weight: bold; }
+ .DlCalendar tr.DlCalendar-Navigation td.NextMonth {
+ background-image: url("img/arrows/nav-right.gif");
+ background-repeat: no-repeat;
+ background-position: 50% 50%; }
+ .DlCalendar tr.DlCalendar-Navigation td.PrevMonth {
+ background-image: url("img/arrows/nav-left.gif");
+ background-repeat: no-repeat;
+ background-position: 50% 50%; }
+ .DlCalendar tr.DlCalendar-Navigation td.NextYear {
+ background-image: url("img/arrows/nav-right-x2.gif");
+ background-repeat: no-repeat;
+ background-position: 50% 50%; }
+ .DlCalendar tr.DlCalendar-Navigation td.PrevYear {
+ background-image: url("img/arrows/nav-left-x2.gif");
+ background-repeat: no-repeat;
+ background-position: 50% 50%; }
+ .DlCalendar tr.DlCalendar-Navigation td.hover {
+ background-color: #e6e6ed;
+ color: black; }
+ .DlCalendar tr.DlCalendar-Navigation td.rolling {
+ background-color: #80b9ff; }
+ .DlCalendar tr.DlCalendar-DayNames {
+ /* td.Today { font-weight: bold; } */ }
+ .DlCalendar tr.DlCalendar-DayNames td {
+ width: 20px;
+ text-align: right;
+ padding-right: 3px;
+ border-bottom: 1px solid #9b9bb8;
+ background-color: #d7d7e3; }
+ .DlCalendar tr.DlCalendar-DayNames td.WeekNumber {
+ border-right-color: #9b9bb8; }
+ .DlCalendar tr.DlCalendar-DayNames td.hover {
+ background-color: #e6e6ed;
+ color: black; }
+ .DlCalendar tr.DlCalendar-DayNames td.WeekEnd {
+ color: #cc6622; }
+ .DlCalendar tr.Dates td {
+ text-align: right;
+ padding: 2px 3px 2px 2px; }
+ .DlCalendar tr.Dates td.OtherMonth {
+ color: #4d4d4d; }
+ .DlCalendar tr.Dates td.Today {
+ color: blue; }
+ .DlCalendar tr.Dates td.DlCalendar-infoDay {
+ font-weight: bold;
+ background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+ .DlCalendar tr.Dates td.Selected {
+ border: 1px solid #9b9bb8;
+ background-color: #80b9ff;
+ padding: 1px 2px 1px 1px; }
+ .DlCalendar tr.Dates td.hover {
+ border: 1px solid #b9b9cd;
+ padding: 1px 2px 1px 1px;
+ background-color: #e6e6ed !important; }
+ .DlCalendar td.WeekNumber {
+ border-right: 1px solid #9b9bb8;
+ color: #4d4d4d;
+ background-color: #c8c8d8; }
+ .DlCalendar tr.Selected td {
+ border-bottom: 1px solid #b9b9cd;
+ border-top: 1px solid #b9b9cd;
+ padding-top: 1px;
+ padding-bottom: 1px; }
+ .DlCalendar td.WeekEnd {
+ color: #cc6622; }
+ .DlCalendar td.OtherMonth.WeekEnd {
+ color: #e79e6d; }
+
+/* ResizeBar */
+.DlResizeBar {
+ font-size: 1px;
+ line-height: 1px; }
+
+.DlResizeBar-Horizontal {
+ height: 5px;
+ cursor: s-resize;
+ background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+
+.DlResizeBar-Vertical {
+ width: 5px;
+ cursor: e-resize;
+ background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+
+.DlResizeBar-DraggingLine {
+ position: absolute;
+ /* background-image: url("img/resizebg.gif"); */
+ background-color: #e8a850;
+ opacity: 0.6;
+ filter: alpha(opacity=60);
+ z-index: 10000; }
+
+/* UploadEntry */
+.DlUploadEntry {
+ height: 22px; }
+
+.DlUploadEntry iframe {
+ background: transparent;
+ width: 80px;
+ height: 22px;
+ display: block; }
+
+/* CONTAINERS */
+.DlContainer {
+ position: relative; }
+
+/* WARNING: this is probably NOT GOOD!
+ but it happens to fix some atrocious bugs in IE
+ (randomly disappearing elements on hover).
+ XXX: make sure it doesn't break anything!
+ */
+.DlContainer-Hidden {
+ position: absolute;
+ left: -30000px;
+ top: -30000px;
+ visibility: hidden; }
+
+.DlLayout {
+ position: relative; }
+
+.DlLayout-positioned {
+ position: absolute; }
+
+.DlGridLayout-table {
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%; }
+
+.DlGridLayout-tr-minHeight td {
+ height: 2px; }
+
+.DlGridLayout-td-minWidth {
+ width: 2px;
+ white-space: nowrap; }
+
+.DlGridLayout-td-minHeight {
+ height: 2px; }
+
+/*
+ .DlGridLayout-table { background-color: #f00; }
+ .DlGridLayout-table td { background-color: #fff; }
+/* ^^^ DEBUG */
+.DlDesktop {
+ position: fixed;
+ left: 0;
+ top: 0;
+ overflow: hidden; }
+
+.DlFieldset {
+ border: 2px groove #e6e6ed;
+ margin-top: 1em;
+ -moz-border-top-colors: #9b9bb8 #e6e6ed;
+ -moz-border-bottom-colors: #e6e6ed #9b9bb8;
+ -moz-border-left-colors: #9b9bb8 #e6e6ed;
+ -moz-border-right-colors: #e6e6ed #9b9bb8; }
+
+.DlFieldset-label {
+ position: relative;
+ top: -0.75em;
+ left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: #c8c8d8;
+ padding: 1px 7px; }
+
+.DlFieldset-content {
+ padding: 10px 10px 10px 10px;
+ margin-top: -1em; }
+
+.DlPopup {
+ position: fixed;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px; }
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative;
+ /* -- IE is unbelievable */
+ z-index: 10; }
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px;
+ overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat; }
+
+.DlPopup-scrollUp {
+ border-bottom: 1px solid #b9b9cd; }
+
+.DlPopup-scrollDown {
+ border-top: 1px solid #b9b9cd; }
+
+.DlPopup-scrollUp {
+ background-image: url("img/arrows/scroll-up.gif"); }
+
+.DlPopup-scrollUp-hover {
+ background-image: url("img/arrows/scroll-up-hover.gif");
+ background-color: #e6e6ed; }
+
+.DlPopup-scrollUp-disabled {
+ background-image: url("img/arrows/scroll-up-disabled.gif"); }
+
+.DlPopup-scrollDown {
+ background-image: url("img/arrows/scroll-down.gif"); }
+
+.DlPopup-scrollDown-hover {
+ background-image: url("img/arrows/scroll-down-hover.gif");
+ background-color: #e6e6ed; }
+
+.DlPopup-scrollDown-disabled {
+ background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup {
+ border: 1px solid #b9b9cd;
+ background-color: white; }
+
+.DlCompletionPopup .DlMenuItem .div2 {
+ font-size: 90%;
+ padding: 1px 5px; }
+
+.DlCompletionPopup .DlVMenu {
+ border: none; }
+
+.DlTooltip {
+ background-color: #fffee0;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #333210; }
+
+.DlTooltip-noShadow {
+ border: 1px solid #000; }
+
+.DlDialogPopup {
+ background-color: white;
+ border: 1px solid #b9b9cd; }
+
+.DlPopupMenu {
+ background-color: white;
+ border: 1px solid #b9b9cd; }
+
+.DlPopupMenu-noShadow {
+ border: 1px solid #b9b9cd; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ border-color: #9b9bb8 #6e6e99 #6e6e99 #9b9bb8; }
+
+.DlCalendar-borderless {
+ border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: white; }
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ border-color: #9b9bb8 #6e6e99 #6e6e99 #9b9bb8; }
+
+.DlVMenu {
+ margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px; }
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px;
+ margin-right: 2px;
+ border-left: 1px solid #ccc;
+ background-color: #fff; }
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #ccc;
+ border-bottom: 1px solid #fff;
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px; }
+
+.DlMenuItem {
+ /* background: transparent; background-color: none; /* XXX: do we need this? */ }
+
+.DlMenuItem .div2 {
+ padding: 2px 5px; }
+
+.DlMenuItem-popped {
+ background-color: #80b9ff;
+ color: black; }
+
+.DlMenuItem-hover {
+ background-color: #80b9ff;
+ color: black; }
+
+.DlMenuItem-active {
+ background-color: #222222;
+ color: white; }
+
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%; }
+
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%; }
+
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important; }
+
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled {
+ opacity: 0.6;
+ filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover {
+ background-color: #80b9ff;
+ color: black; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active {
+ background-color: #222222;
+ color: white; }
+
+/*
+.DlPopupMenu .DlCheckbox-hover,
+.DlPopupMenu .DlRadioButton-hover { background-color: #76c; color: #fff; }
+
+.DlPopupMenu .DlCheckbox-active,
+.DlPopupMenu .DlRadioButton-active { background-color: #cbf; color: #000; }
+*/
+/* Notebook */
+/* .DlNotebook { background-color: $mainBgL1; } */
+/* Tabs */
+.DlTabs .TabBar {
+ z-index: 10;
+ position: relative; }
+
+.DlTabs .TabBar .DlButton {
+ border-color: #6e6e99; }
+
+.DlTabs .TabBar .DlButton-1 {
+ background-color: #d7d7e3; }
+
+.DlTabs .TabBar .DlButton-1 .DlButton-inner {
+ padding-top: 3px;
+ padding-bottom: 3px;
+ border-color: #b9b9cd; }
+
+.DocTabBar {
+ width: 100%; }
+
+.DocTabBar td {
+ width: 33.3333%; }
+
+.DlTabs-top .TabBar {
+ top: 1px; }
+
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner {
+ border-bottom: none; }
+
+.DlTabs-bottom .TabBar {
+ top: -1px; }
+
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner {
+ border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook {
+ background-color: #d7d7e3; }
+
+.DlTabs .TabContent {
+ border: 1px solid #6e6e99; }
+
+.DlTabs .TabContent .TabContent-inner {
+ padding: 5px; }
+
+.DlTabs .TabContent-inner {
+ position: relative;
+ overflow: hidden;
+ border: 1px solid #b9b9cd; }
+
+.DlTabs-top .TabContent .TabContent-inner {
+ border-top: none; }
+
+.DlTabs-bottom .TabContent .TabContent-inner {
+ border-bottom: none; }
+
+/* MacBar */
+.DlMacHBar, .DlMacVBar {
+ background-color: #b9b9cd;
+ border: 1px solid #6e6e99;
+ padding: 2px; }
+
+.DlMacBarIcon {
+ display: inline; }
+
+.DlMacBarIcon img {
+ vertical-align: middle;
+ padding: 5px; }
+
+.DlMacBarIcon-1 img {
+ border: 1px solid #769;
+ -moz-border-radius: 15px;
+ padding: 4px;
+ background-color: #edf; }
+
+.DlMacBarIcon-active {
+ opacity: 0.6;
+ /* filter: alpha(opacity=60); /* IE sucks. */ }
+
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #98c;
+ background-color: #edf; }
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #98c;
+ background-color: #edf; }
+
+/* Hbox */
+table.DlHbox {
+ border-collapse: separate; }
+
+/* .DlHbox td.cell { */
+/* padding: 0; } */
+
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px dotted #6e6e99;
+ background-color: #e6e6ed;
+ /* margin-left: 3px; margin-right: 2px; */ }
+
+.DlHbox div.wide-separator, div.Dl-Vertical-Separator.wide-separator {
+ margin-left: 4px;
+ margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px; }
+
+table.DlHbox-hasFiller {
+ width: 100%; }
+
+.DlHbox-filler {
+ width: 100%; }
+
+/* Vbox */
+table.DlVbox {
+ border-collapse: separate; }
+
+.DlVbox td.cell {
+ padding: 0; }
+
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px dotted #6e6e99;
+ background-color: #e6e6ed;
+ /* margin-top: 3px; margin-bottom: 2px; */ }
+
+.DlVbox div.wide-separator, div.Dl-Horizontal-Separator.wide-separator {
+ margin-top: 5px;
+ margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px; }
+
+/* ButtonBox */
+table.DlButtonBox {
+ width: 100%; }
+
+table.DlButtonBox .DlButtonBox-spacer {
+ width: 100%; }
+
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #9b9bb8;
+ background-color: #e6e6ed;
+ margin-left: 3px;
+ margin-right: 2px; }
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator {
+ border-color: #b9b9cd;
+ background-color: #e6e6ed; }
+
+/* Select */
+.DlRadioSelect .LabelPart {
+ text-align: left; }
+
+.DlSelect-menu .DlRadioButton {
+ padding-right: 18px; }
+
+.DlSelect-menu .DlRadioButton-0 {
+ background-image: none; }
+
+.DlSelect-menu .DlRadioButton-1 {
+ background-image: url("img/mark.gif");
+ background-color: #c8c8d8;
+ color: #000; }
+
+.DlSelect-menu .DlRadioButton-active {
+ background-image: url("img/mark-2.gif") !important; }
+
+/* Toolbar (no special widget) */
+/* BEGIN: CRAPPY CODE, PLEASE REVISIT */
+.DlToolbar {
+ border: 1px solid;
+ border-color: #9b9bb8 #6e6e99 #6e6e99 #9b9bb8;
+ background-color: #c8c8d8;
+ padding: 1px; }
+ .DlToolbar .DlButton {
+ border: none;
+ background-color: transparent; }
+ .DlToolbar .DlButton-inner {
+ border: none;
+ padding: 3px; }
+ .DlToolbar .DlButton-hover {
+ border: 1px solid;
+ border-color: white #9b9bb8 #9b9bb8 white;
+ background-color: #e6e6ed; }
+ .DlToolbar .DlButton-hover .DlButton-inner {
+ padding: 2px; }
+ .DlToolbar .DlButton-1 {
+ border: 1px solid;
+ border-color: #b9b9cd white white #b9b9cd;
+ background-color: #80b9ff; }
+ .DlToolbar .DlButton-1 .DlButton-inner {
+ padding: 2px; }
+ .DlToolbar .DlButton-active {
+ border: 1px solid;
+ border-color: #6e6e99 #9b9bb8 #9b9bb8 #6e6e99;
+ background-color: #80b9ff; }
+ .DlToolbar .DlButton-active .DlButton-inner {
+ padding: 2px; }
+ .DlToolbar .DlButton-disabled {
+ opacity: 0.7;
+ filter: alpha(opacity=70); }
+ .DlToolbar .DlButtonMenu * {
+ border: none; }
+ .DlToolbar .DlButtonMenu .DlButton-inner {
+ border: 1px solid;
+ border-color: white #9b9bb8 #9b9bb8 white;
+ padding: 2px; }
+ .DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner {
+ padding-left: 0;
+ padding-right: 0; }
+ .DlToolbar .DlButtonMenu .DlButton-active .DlButton-inner {
+ border-color: #6e6e99 #9b9bb8 #9b9bb8 #6e6e99; }
+ .DlToolbar .DlButtonMenu .DlButton-1 .DlButton-inner {
+ border-color: #6e6e99 #9b9bb8 #9b9bb8 #6e6e99; }
+ .DlToolbar .DlButtonMenu .DlButton-hover .MenuArrow-inner {
+ padding-left: 1px !important;
+ padding-right: 1px !important;
+ background-position: 1px 50%; }
+ .DlToolbar .DlButtonMenu .DlButton-active .MenuArrow-inner {
+ padding-left: 1px !important;
+ padding-right: 1px !important;
+ background-position: 1px 50%; }
+ .DlToolbar .DlButtonMenu .DlButton-1 .MenuArrow-inner {
+ padding-left: 1px !important;
+ padding-right: 1px !important;
+ background-position: 1px 50%; }
+ .DlToolbar .DlButtonMenu .MenuArrow .DlButton-inner {
+ padding-left: 0 !important;
+ padding-right: 0 !important; }
+ .DlToolbar .DlLabel {
+ background: inherit; }
+ .DlToolbar div.DlHbox-separator {
+ border-left-color: #9b9bb8;
+ background-color: #e6e6ed; }
+
+/*
+.DlToolbar .DlButtonMenu .DlButton-hover .DlButton-inner { border-color: #659; }
+.DlToolbar .DlButtonMenu .LabelPart.DlButton-hover .DlButton-inner { padding-right: 3px; border-right: none; }
+*/
+.DlToolbar-Light {
+ background: #d7d7e3; }
+
+/* END: CRAPPY CODE */
+/* Table */
+.DlTable-RowSeparator td {
+ height: 7px; }
+
+.DlTable-RowSeparator td div {
+ line-height: 1px;
+ font-size: 1px;
+ height: 1px;
+ overflow: hidden;
+ border-top: 1px solid #9b9bb8;
+ background-color: #e6e6ed;
+ margin-top: 3px;
+ margin-bottom: 2px; }
+
+/* Tree */
+.DlTree-separator {
+ margin-top: 3px;
+ margin-bottom: 4px;
+ border-top: 1px dotted #9b9bb8;
+ line-height: 1px;
+ font-size: 1px;
+ overflow: hidden; }
+
+.DlTree-IconWidth {
+ width: 19px !important; }
+
+.DlTreeItem .DlTreeItem-Expander {
+ width: 19px; }
+
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%; }
+
+.DlTreeItem .DlTreeItem-Label {
+ padding-left: 3px;
+ padding-top: 1px;
+ padding-bottom: 1px; }
+
+.DlTreeItem-withRadio .DlTreeItem-Label {
+ padding-left: 0; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlLabel {
+ padding: 0 2px; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton {
+ padding: 0 2px;
+ background-image: none !important;
+ cursor: pointer; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-hover {
+ background: none;
+ color: #1a81ff;
+ text-decoration: underline; }
+.DlTreeItem-withRadio .DlTreeItem-Table .DlRadioButton-1 {
+ background-color: #80b9ff;
+ color: black; }
+
+.DlTreeItem-withCheck .DlTreeItem-Label {
+ padding-left: 0; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlLabel {
+ padding: 0 2px; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox {
+ padding: 0 2px;
+ background-image: none !important;
+ cursor: pointer; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-hover {
+ background: none;
+ color: #1a81ff;
+ text-decoration: underline; }
+.DlTreeItem-withCheck .DlTreeItem-Table .DlCheckbox-1 {
+ background-color: #80b9ff;
+ color: black; }
+
+/* .DlTreeItem-Table { table-layout: fixed; border-collapse: collapse; } */
+.DlTreeItem-Table td {
+ vertical-align: middle;
+ height: 16px; }
+
+/* BEGIN: tree lines, don't touch this or else. */
+.DlTree-withLines .DlTreeItem {
+ background-image: url("img/tree/lines-v.gif");
+ background-repeat: repeat-y;
+ background-position: 9px 50%; }
+
+/* .DlTree-withLines .DlTreeItem-div { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; } */
+.DlTree-withLines .DlTreeItem-Last {
+ background-image: none; }
+
+/* .DlTree-withLines .DlTreeItem-Last .DlTreeItem-div { background-image: none; } */
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander {
+ background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+
+.DlTreeItem-hasSubtree .DlTreeItem-Expander {
+ background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander {
+ background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+
+/* END: tree lines */
+.DlTreeItem-Subtree {
+ padding-left: 19px; }
+
+.DlTreeItem-Arrow-Expanded {
+ background: transparent url("img/tree/minus.gif") no-repeat 50% 40%;
+ width: 19px;
+ height: 100%; }
+
+.DlTreeItem-Arrow-Expanded:hover {
+ background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%;
+ width: 19px;
+ height: 100%; }
+
+.DlTreeItem-Arrow-Collapsed {
+ background: transparent url("img/tree/plus.gif") no-repeat 50% 40%;
+ width: 19px;
+ height: 100%; }
+
+.DlTreeItem-Arrow-Collapsed:hover {
+ background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%;
+ width: 19px;
+ height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon {
+ opacity: 0.6;
+ filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div {
+ background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div {
+ background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div {
+ background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table {
+ border-top: 1px solid #9b9bb8; }
+
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table {
+ border-bottom: 1px solid #9b9bb8; }
+
+.DlTreeItem-div-focus {
+ outline: 1px solid #e8a850;
+ -moz-outline-radius: 2px;
+ -webkit-outline-radius: 2px; }
+
+/* ColorPicker */
+.DlColorPickerHSV {
+ border: 1px solid #000;
+ background-color: #e4dcec; }
+
+.DlColorPickerHSV td {
+ width: 8px;
+ height: 10px;
+ padding: 1px; }
+
+.DlColorPickerHSV td.DlColorPickerHSV-Sep {
+ background-color: #000;
+ width: 1px;
+ padding: 0; }
+
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible;
+ vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0;
+ width: 15px;
+ padding: 0; }
+
+.DlColorPickerHSV td.hover1 {
+ padding: 0;
+ border: 1px solid #fff !important; }
+
+.DlColorPickerHSV td.hover2 {
+ padding: 0;
+ border: 1px solid #000 !important; }
+
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar {
+ height: 1px;
+ left: 0px;
+ font-size: 1px;
+ line-height: 1px;
+ left: -2px;
+ margin-right: -3px;
+ background-color: #000;
+ overflow: hidden;
+ position: relative; }
+
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 {
+ background-color: #fff; }
+
+/* RteFrame */
+.DlRteFrame {
+ border: 1px solid;
+ border-color: #9b9bb8; }
+
+/* .DlRteFrame-focus { border-color: #659; outline: 1px solid #98b; -moz-outline-radius: 2px; } */
+.DlRteFrame iframe {
+ border: 1px solid;
+ border-color: #6e6e99 #9b9bb8 #9b9bb8 #6e6e99; }
+
+/* Grid */
+.DlDataGrid {
+ position: relative;
+ background-color: white;
+ border: 1px solid #6e6e99; }
+
+.DlDataGrid.DlWidget-disabled {
+ background-color: #e6e6ed; }
+
+.DlDataGrid-rowTable {
+ table-layout: fixed;
+ width: 10px;
+ border-collapse: collapse;
+ border-spacing: 0; }
+
+.DlDataGrid-rowTable td {
+ overflow: hidden;
+ white-space: nowrap;
+ border-right: 1px solid #e0e0e0; }
+
+.DlDataGrid-Headers {
+ overflow: hidden;
+ background-color: #c8c8d8;
+ position: relative;
+ width: 5px; }
+
+.DlDataGrid-Body {
+ overflow: auto; }
+
+.DlDataGrid-cellData {
+ overflow: hidden;
+ white-space: nowrap; }
+
+.DlDataGrid-Body td {
+ padding: 2px 0;
+ text-indent: 5px;
+ /* the "LOL" way to add horizontal padding. :-p */ }
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid #f0f0f4;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none; }
+
+.DlDataGrid-resizeHandle {
+ width: 7px;
+ position: absolute;
+ top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #f00;
+ opacity: 0.01;
+ filter: alpha(opacity=1); }
+
+.DlDataGrid-align-left {
+ text-align: left; }
+
+.DlDataGrid-align-center {
+ text-align: center; }
+
+.DlDataGrid-align-right {
+ text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected {
+ background-color: #ccc; }
+
+.DlDataGrid .DlDataGridRow-selected table td {
+ color: #000; }
+
+.DlDataGrid-focus {
+ outline: 1px solid #e8a850;
+ -moz-outline-radius: 2px;
+ -webkit-outline-radius: 2px; }
+
+.DlDataGrid-focus .DlDataGridRow-selected {
+ background-color: #80b9ff; }
+
+.DlDataGrid-focus .DlDataGridRow-selected table td {
+ color: black; }
+
+.DlDataGrid-align-right .DlButton-inner {
+ background-position: 0 50%; }
+
+.DlDataGridHeadLabel {
+ border-width: 0 1px 1px 0; }
+
+.DlDataGridHeadLabel .DlButton-inner {
+ border: none;
+ padding-top: 3px;
+ padding-bottom: 3px; }
+
+.DlDataGridHeadLabel-hover {
+ background-color: #e6e6ed; }
+
+.DlDataGridHeadLabel-active {
+ background-color: #80b9ff; }
+
+.DlDataGridHeadLabel-active .DlButton-inner {
+ padding-top: 4px;
+ padding-bottom: 2px; }
+
+.DlDataGridHeadLabel-resizing {
+ background-color: #80b9ff; }
+
+.DlDataGridHeadLabel-empty .DlButton-inner {
+ padding-left: 0;
+ padding-right: 0; }
+
+.DlDataGridHeadLabel-empty .DlButton-withIcon {
+ background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up {
+ border-bottom: 2px solid #000; }
+
+.DlDataGridHeadLabel-sort-down {
+ border-bottom: 2px solid #000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif");
+ background-repeat: no-repeat;
+ background-position: 100% 50%;
+ padding-bottom: 2px; }
+
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif");
+ background-repeat: no-repeat;
+ background-position: 100% 50%;
+ padding-bottom: 2px; }
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner {
+ padding-bottom: 1px; }
+
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner {
+ padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: fixed;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px;
+ height: 11px;
+ margin-left: -5px;
+ z-index: 10000; }
+
+/* IconListView */
+.DlIconListView {
+ background-color: #d8c8f8;
+ border: 1px solid #bae; }
+
+.DlIconListItem {
+ border-collapse: collapse; }
+
+.DlIconListItem-labelCell {
+ text-align: center; }
+
+.DlIconListItem-labelDiv {
+ overflow: hidden;
+ white-space: normal;
+ font-size: 90%; }
+
+.DlIconListItem-iconCell {
+ background-position: 50% 50%;
+ background-repeat: no-repeat; }
+
+/* .DlIconListItem-hover .DlIconListItem-iconCell { opacity: 0.7; filter: alpha(opacity=70); } */
+.DlIconListItem {
+ cursor: pointer;
+ float: left; }
+
+.DlIconListItem-hover {
+ background-color: #dcf; }
+
+.DlIconListItem-hover .DlIconListItem-labelCell {
+ color: #00f;
+ text-decoration: underline; }
+
+.DlIconListItem-1 {
+ background-color: #b8b0c0; }
+
+.DlDialog-Active .DlIconListItem-1 {
+ background-color: #76c; }
+
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell {
+ color: #fff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell {
+ text-decoration: underline; }
+
+/* Dialog */
+.DlWM {
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 0;
+ height: 0;
+ overflow: visible;
+ z-index: 300; }
+
+/* .DlWM-container { */
+/* position: relative; */
+/* width: 0; height: 0; */
+/* overflow: visible; */
+/* } */
+.DlWM-modalStopper {
+ z-index: 800;
+ cursor: not-allowed;
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ /* background: url("img/modalbg.gif"); */
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444;
+ display: none; }
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 0 0 4px 4px;
+ -webkit-border-radius: 0 0 4px 4px; }
+
+.DlDialog .DlDialog-noShadows .DlWM-modalStopper,
+.DlDialog-Maximized .DlWM-modalStopper {
+ -moz-border-radius: 0;
+ -webkit-border-radius: 0; }
+
+.DlWM-hasModals {
+ width: 100%;
+ height: 100%; }
+
+.DlWM-hasModals .DlWM-modalStopper {
+ display: block; }
+
+.DlDialog {
+ position: absolute; }
+
+.DlDialog-Rel {
+ padding: 0; }
+
+.DlDialog-Content {
+ background-color: #d7d7e3;
+ position: relative; }
+
+/* .DlDialog>.DlDialog-Rel { position: relative; } /* HACK-IE6 */
+.Shadow {
+ position: absolute;
+ font-size: 1px;
+ line-height: 1px; }
+
+.DlDialog-Rel .Shadow {
+ z-index: 10; }
+
+.DlDialog-WAIT {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+ /* right: 0; bottom: 0; */
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0;
+ width: 10px;
+ height: 10px;
+ z-index: 350; }
+
+/* OPACITY for inactive dialogs */
+/*
+.DlDialog { opacity: 0.8; }
+.DlDialog-Active { opacity: 1; }
+*/
+.DlDialog-Rel .Shadow-T {
+ left: 18px;
+ right: 15px;
+ top: -14px;
+ background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0;
+ height: 14px; }
+.DlDialog-Rel .Shadow-B {
+ left: 18px;
+ right: 15px;
+ background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0;
+ bottom: -16px;
+ height: 16px; }
+.DlDialog-Rel .Shadow-TL {
+ left: -14px;
+ width: 32px;
+ top: -13px;
+ background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0;
+ height: 23px; }
+.DlDialog-Rel .Shadow-BR {
+ width: 31px;
+ right: -16px;
+ background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0;
+ bottom: -15px;
+ height: 21px; }
+.DlDialog-Rel .Shadow-R {
+ width: 16px;
+ right: -16px;
+ top: 10px;
+ background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0;
+ bottom: 6px; }
+.DlDialog-Rel .Shadow-TR {
+ width: 31px;
+ right: -16px;
+ top: -13px;
+ background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0;
+ height: 23px; }
+.DlDialog-Rel .Shadow-BL {
+ left: -14px;
+ width: 32px;
+ background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0;
+ bottom: -15px;
+ height: 21px; }
+.DlDialog-Rel .Shadow-L {
+ left: -14px;
+ width: 14px;
+ top: 10px;
+ background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0;
+ bottom: 6px; }
+
+.DlDialog-Active .DlDialog-Rel .Shadow-T {
+ left: 18px;
+ right: 15px;
+ top: -14px;
+ background: url("img/shadows/dlg-active/T.png") repeat-x 0 0;
+ height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B {
+ left: 18px;
+ right: 15px;
+ background: url("img/shadows/dlg-active/B.png") repeat-x 0 0;
+ bottom: -16px;
+ height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL {
+ left: -14px;
+ width: 32px;
+ top: -13px;
+ background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0;
+ height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR {
+ width: 31px;
+ right: -16px;
+ background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0;
+ bottom: -15px;
+ height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R {
+ width: 16px;
+ right: -16px;
+ top: 10px;
+ background: url("img/shadows/dlg-active/R.png") repeat-y 0 0;
+ bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR {
+ width: 31px;
+ right: -16px;
+ top: -13px;
+ background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0;
+ height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL {
+ left: -14px;
+ width: 32px;
+ background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0;
+ bottom: -15px;
+ height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L {
+ left: -14px;
+ width: 14px;
+ top: 10px;
+ background: url("img/shadows/dlg-active/L.png") repeat-y 0 0;
+ bottom: 6px; }
+
+/* that's for the crappin' IE6: */
+.DlDialog-noShadows {
+ border: 2px solid #879; }
+
+.DlDialog-Active .DlDialog-noShadows {
+ border-color: #000; }
+
+/*
+.DlDialog-Rel .Shadow-...
+.DlDialog-Active .DlDialog-Rel .Shadow-...
+.DlDialog-Dragging .DlDialog-Rel .Shadow-...
+*/
+.DlDialog-Title {
+ opacity: 0.9;
+ filter: alpha(opacity=90);
+ overflow: hidden;
+ white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif;
+ letter-spacing: -1px;
+ background: #4d7bb3 url("img/titlebg.png") repeat-x 0 50%;
+ color: #333;
+ padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e; }
+
+.DlDialog-Title div {
+ padding-top: 3px;
+ padding-bottom: 3px; }
+
+.DlDialog-Active .DlDialog-Title {
+ background-color: #0073ff;
+ color: #fff;
+ border-color: #fff;
+ opacity: 1;
+ filter: none;
+ text-shadow: 1px 1px 3px #000; }
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%; }
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6;
+ /* filter: alpha(opacity=60); /* IE hides them completely, ignoring the overflow: visible spec. */ }
+
+.DlDialog-Active .DlDialog-WindowButtons {
+ opacity: 1;
+ filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png"); }
+
+.DlDialog-QuitBtn {
+ background-position: 0 0; }
+
+.DlDialog-QuitBtn-hover {
+ background-position: -27px 0; }
+
+.DlDialog-QuitBtn-active {
+ background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn {
+ background-position: 0 -16px; }
+
+.DlDialog-MaximizeBtn-hover {
+ background-position: -27px -16px; }
+
+.DlDialog-MaximizeBtn-active {
+ background-position: -54px -16px; }
+
+.DlDialog-MaximizeBtn-1 {
+ background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn {
+ background-position: 0 -32px; }
+
+.DlDialog-MinimizeBtn-hover {
+ background-position: -27px -32px; }
+
+.DlDialog-MinimizeBtn-active {
+ background-position: -54px -32px; }
+
+.DlDialog-MinimizeBtn-1 {
+ background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title {
+ background-color: #000;
+ color: #3d4; }
+
+.DlDialog-Dragging .DlDialog-Rel {
+ border-color: #000; }
+
+/* .DlDialog-Dragging .DlDialog-Content { opacity: 0.6; } */
+/* .DlDialog-Dragging .DlDialog-Content * { display: none; } /* Good speed-up in Linux! */
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid #9b9bb8; }
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ outline: 1px solid #fff;
+ -moz-outline: 1px solid #fff;
+ -webkit-outline: 1px solid #fff;
+ -opera-outline: 1px solid #fff;
+ border: 0; }
+
+.DlDialog-noShadows > .ResizeHandle {
+ margin-left: -10px;
+ margin-top: -10px; }
+
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #fff;
+ color: #000;
+ /* padding: 0px 2px; */
+ border-bottom: 1px solid #888; }
+
+.DlDialog .DlDialog .DlDialog-Title div {
+ padding-top: 1px;
+ padding-bottom: 1px; }
+
+.DlDialog .DlDialog-Active .DlDialog-Title {
+ background-color: #5e5868;
+ color: #fff;
+ border-color: #fff; }
+
+.DlDialog .DlDialog-Dragging .DlDialog-Title {
+ background-color: #000;
+ color: #3d4; }
+
+/* maximized dialogs are not resizable */
+.DlDialog-Maximized > table > tbody > tr > td > .DlDialog-Rel > .Shadow {
+ display: none; }
+
+.DlDialog-Maximized > table > tbody > tr > td > .DlDialog-Rel > .ResizeHandle {
+ display: none; }
+
+.DlDialog-Maximized > table > tbody > tr > td > .DlDialog-Rel > .DlDialog-Title {
+ border-width: 0; }
+
+.DlLiteTree {
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ user-select: none; }
+ .DlLiteTree .hidden {
+ display: none; }
+ .DlLiteTree ul {
+ margin: 0;
+ padding: 0;
+ display: block; }
+ .DlLiteTree ul li {
+ display: block; }
+ .DlLiteTree ul li .item-label {
+ padding: 1px 0;
+ white-space: nowrap; }
+ .DlLiteTree ul li .expander {
+ background-position: 0 50%;
+ background-repeat: no-repeat;
+ padding-left: 15px;
+ margin-right: 1px; }
+ .DlLiteTree ul li .item-label:hover {
+ color: black;
+ background-color: #e6e6ed; }
+ .DlLiteTree ul li .item-label.selected {
+ background-color: #ccc;
+ color: #000; }
+ .DlLiteTree ul .item-label.collapsed > .expander {
+ background-image: url("img/tree/plus.png");
+ background-position: 3px 50%;
+ cursor: pointer; }
+ .DlLiteTree ul .item-label.collapsed > .expander:hover {
+ background-color: #e8a850; }
+ .DlLiteTree ul .item-label.expanded > .expander {
+ background-image: url("img/tree/minus.png");
+ background-position: 3px 50%;
+ cursor: pointer; }
+ .DlLiteTree ul .item-label.expanded > .expander:hover {
+ background-color: #e8a850; }
+ .DlLiteTree ul span.dim {
+ color: #6e6e99; }
+ .DlLiteTree ul ul .expander {
+ margin-left: 16px; }
+ .DlLiteTree ul ul ul .expander {
+ margin-left: 32px; }
+ .DlLiteTree ul ul ul ul .expander {
+ margin-left: 48px; }
+ .DlLiteTree ul ul ul ul ul .expander {
+ margin-left: 64px; }
+ .DlLiteTree ul ul ul ul ul ul .expander {
+ margin-left: 80px; }
+ .DlLiteTree ul ul ul ul ul ul ul .expander {
+ margin-left: 96px; }
+ .DlLiteTree ul ul ul ul ul ul ul ul .expander {
+ margin-left: 112px; }
+ .DlLiteTree ul ul ul ul ul ul ul ul ul .expander {
+ margin-left: 128px; }
+ .DlLiteTree ul ul ul ul ul ul ul ul ul ul .expander {
+ margin-left: 144px; }
+ .DlLiteTree ul ul ul ul ul ul ul ul ul ul ul .expander {
+ margin-left: 160px; }
+
+.DlLiteTree-focus {
+ border-color: #6e6e99 #58587c #58587c #6e6e99;
+ outline: 1px solid #e8a850;
+ -moz-outline-radius: 2px;
+ -webkit-outline-radius: 2px; }
+ .DlLiteTree-focus ul li .item-label.selected {
+ background-color: #80b9ff;
+ color: black; }
+
+/* ICONS */
+.IconCalendar {
+ background-image: url("img/icons/calendar.png");
+ background-position: 1px 50%; }
+
+.IconColors {
+ background-image: url("img/icons/colors.png");
+ background-position: 1px 50%; }
+
+.IconChardev {
+ background-image: url("img/icons/gnome-fs-chardev.png");
+ background-position: 1px 50%; }
+
+.IconDynarch {
+ background-image: url("img/icons/dynarch-small.png");
+ background-position: 1px 50%; }
+
+/* MISC */
+/* Hint for the browser that it's allowed to break line at this span;
+ideally it should be invisible. The UTF8 character doesn't work in
+all browsers :(( */
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden; }
+
+.SmallerButtons .DlButton-inner {
+ padding: 1px 3px; }
+
+.SmallerButtons .DlButton-active .DlButton-inner {
+ padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar {
+ border: 1px solid;
+ border-color: #6e6e99 #9b9bb8 #9b9bb8 #6e6e99;
+ padding: 1px 4px;
+ background-color: #c8c8d8; }
+
+.Dl-ResizeRect {
+ z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: fixed;
+ top: 0;
+ left: 0;
+ border: 1px dashed #000;
+ /* background: url("img/modalbg.gif"); */
+ background: #fff;
+ opacity: 0.4;
+ filter: alpha(opacity=40);
+ /* background-color: #000; opacity: 0.5; filter: alpha(opacity=50); */
+ border: 1px dashed #f00; }
+
+.Dl-ResizeRect {
+ color: red; }
+
+.Dl-ResizeRect .Title {
+ font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000;
+ /* background: url("img/resizebg.gif"); */
+ /* background: #000; */ }
+
+.DlAlign-left {
+ text-align: left; }
+
+.DlAlign-right {
+ text-align: right; }
+
+.DlAlign-center {
+ text-align: center; }
+
+.Dl-3D-Border-Outside {
+ border: 1px solid;
+@incude outset-border1; }
+
+.Dl-3D-Border-Inside {
+ border: 1px solid;
+ border-color: white #9b9bb8 #9b9bb8 white; }
+
+.Dl-3D-Border-Dark {
+ border: 1px solid #9b9bb8; }
+
+/* BUGS */
+/* Gecko bugs are marked with class "Gecko-bug" *and* "Gecko-bug-######" (bug number) */
+.Gecko-Bug-226933 {
+ position: relative;
+ overflow: auto; }
+
+.undefined {
+ border: 5px solid red; }
+
+/* this sucks */
+/* thin shadows */
+.ThinShadows .Shadow-T {
+ left: 10px;
+ right: 9px;
+ top: -7px;
+ background: url("img/thin-shadows/T.png") repeat-x 0 0;
+ height: 7px; }
+
+.ThinShadows .Shadow-B {
+ left: 10px;
+ right: 9px;
+ background: url("img/thin-shadows/B.png") repeat-x 0 0;
+ bottom: -11px;
+ height: 11px; }
+
+.ThinShadows .Shadow-TL {
+ left: -7px;
+ width: 17px;
+ top: -7px;
+ background: url("img/thin-shadows/TL.png") no-repeat 0 0;
+ height: 20px; }
+
+.ThinShadows .Shadow-BR {
+ width: 20px;
+ right: -11px;
+ background: url("img/thin-shadows/BR.png") no-repeat 0 0;
+ bottom: -11px;
+ height: 20px; }
+
+.ThinShadows .Shadow-R {
+ width: 11px;
+ right: -11px;
+ top: 13px;
+ background: url("img/thin-shadows/R.png") repeat-y 0 0;
+ bottom: 9px; }
+
+.ThinShadows .Shadow-TR {
+ width: 20px;
+ right: -11px;
+ top: -7px;
+ background: url("img/thin-shadows/TR.png") no-repeat 0 0;
+ height: 20px; }
+
+.ThinShadows .Shadow-BL {
+ left: -7px;
+ width: 17px;
+ background: url("img/thin-shadows/BL.png") no-repeat 0 0;
+ bottom: -11px;
+ height: 20px; }
+
+.ThinShadows .Shadow-L {
+ left: -7px;
+ width: 7px;
+ top: 13px;
+ background: url("img/thin-shadows/L.png") repeat-y 0 0;
+ bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T {
+ left: 8px;
+ right: 6px;
+ top: -6px;
+ background: url("img/thin-shadows1/T.png") repeat-x 0 0;
+ height: 6px; }
+
+.ThinRoundShadows .Shadow-B {
+ left: 8px;
+ right: 6px;
+ background: url("img/thin-shadows1/B.png") repeat-x 0 0;
+ bottom: -10px;
+ height: 10px; }
+
+.ThinRoundShadows .Shadow-TL {
+ left: -6px;
+ width: 14px;
+ top: -6px;
+ background: url("img/thin-shadows1/TL.png") no-repeat 0 0;
+ height: 15px; }
+
+.ThinRoundShadows .Shadow-BR {
+ width: 16px;
+ right: -10px;
+ background: url("img/thin-shadows1/BR.png") no-repeat 0 0;
+ bottom: -10px;
+ height: 16px; }
+
+.ThinRoundShadows .Shadow-R {
+ width: 10px;
+ right: -10px;
+ top: 9px;
+ background: url("img/thin-shadows1/R.png") repeat-y 0 0;
+ bottom: 6px; }
+
+.ThinRoundShadows .Shadow-TR {
+ width: 16px;
+ right: -10px;
+ top: -6px;
+ background: url("img/thin-shadows1/TR.png") no-repeat 0 0;
+ height: 15px; }
+
+.ThinRoundShadows .Shadow-BL {
+ left: -6px;
+ width: 14px;
+ background: url("img/thin-shadows1/BL.png") no-repeat 0 0;
+ bottom: -10px;
+ height: 16px; }
+
+.ThinRoundShadows .Shadow-L {
+ left: -6px;
+ width: 6px;
+ top: 9px;
+ background: url("img/thin-shadows1/L.png") repeat-y 0 0;
+ bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/default.scss b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/default.scss
new file mode 100644
index 0000000..b050a9a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/default.scss
@@ -0,0 +1,1312 @@
+/* Part of DynarchLIB
+ Copyright (c) Dynarch.com 2005-2009. All rights reserved.
+ See http://www.dynarchlib.com/licensing for details. */
+
+@import "basedefs.scss";
+
+html, body { margin: 0; padding: 0; height: 100%; }
+
+body { z-index: 0; background-color: #fff; }
+form { padding: 0; margin: 0; }
+
+.DYNARCH-GET-PADDING-AND-BORDER {
+ overflow: hidden !important;
+ font-size: 1px !important;
+ line-height: 1px !important;
+ width: 1px !important;
+ height: 1px !important;
+}
+
+.DYNARCH-GET-ABSOLUTE-POSITION {
+ position: absolute !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.DYNARCH-EVENT-STOPPER {
+ position: absolute !important;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 30000;
+}
+
+.DYNARCH-GARBAGE-COLLECTOR {
+ position: absolute;
+ z-index: -10000;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ left: -32000px;
+ top: -32000px;
+ display: none; /* XXX: why didn't we have this before? */
+}
+
+.DYNARCH-FAKE-FOCUS { z-index: -10000; position: absolute; left: -2000px; top: 0; }
+
+.CURSOR-DRAGGING { cursor: move !important; }
+.CURSOR-RESIZE-E { cursor: e-resize !important; }
+.CURSOR-RESIZE-W { cursor: w-resize !important; }
+.CURSOR-RESIZE-S { cursor: s-resize !important; }
+.CURSOR-RESIZE-N { cursor: n-resize !important; }
+.CURSOR-FORBIDDEN { cursor: not-allowed !important; }
+.CURSOR-NO-DROP { cursor: no-drop !important; }
+.CURSOR-DROP { cursor: pointer !important; }
+.CURSOR-RESIZE-COL { cursor: col-resize !important; }
+
+/* Generic */
+
+.DlWidget {
+ @include base-font;
+ table, input, select, button, textarea {
+ @include base-font;
+ }
+}
+
+.DlWidget {
+ cursor: default;
+ color: $mainFg;
+ zoom: 1; /* force hasLayout in IE */
+}
+
+.DlWidget-3D {
+ background-color: $mainBg;
+ color: $mainFg;
+}
+
+/* .DlWidget-disabled, .DlWidget-disabled * { color: #768 !important; } */
+/* .DlWidget-dragging, .DlWidget-dragging * { color: #768 !important; } */
+
+.DlWidget-dragged-clone {
+ position: absolute !important;
+ z-index: 10000;
+}
+
+/* Base button class */
+
+.DlAbstractButton { white-space: nowrap; }
+
+/* Button */
+
+.DlButton {
+ border: 1px solid;
+ @include outset-border1;
+ background-color: $mainBg;
+ text-align: center;
+ .DlButton-inner {
+ border: 1px solid;
+ @include outset-border2;
+ padding: 2px 4px;
+ div {
+ min-height: 16px; // XXX: for 16x16 icons; I'm not happy with this solution.
+ }
+ }
+}
+
+.DlButton-hover {
+ border-color: $mainBgD3 $mainBgD4 $mainBgD4 $mainBgD3;
+ background-color: $hoverBg;
+}
+
+.DlButton-focus {
+ @include focus-border1;
+ @include focus-outline;
+ div.DlButton-Label {
+ display: block;
+ border: 1px dotted black;
+ margin: -1px -2px;
+ padding: 0 1px;
+ }
+}
+
+.DlButton-active {
+ @include pressed-border1;
+ background-color: $activeBg;
+ .DlButton-inner {
+ padding: 3px 3px 1px 5px;
+ @include pressed-border2;
+ }
+}
+.DlButton-1 { @include inset-border1; background-color: $mainBgD1; }
+.DlButton-1 .DlButton-inner { @include inset-border2; }
+
+.DlAbstractButton-withIcon, .DlButton-withIcon {
+ padding-left: 22px;
+ background-repeat: no-repeat !important;
+ background-position: 0 50%;
+}
+
+.DlButton-empty .DlButton-inner { padding: 2px; }
+.DlButton-empty .DlButton-withIcon {
+ padding: 0;
+ width: 16px;
+ height: 16px;
+}
+
+.DlButton-disabled .DlButton-inner,
+.DlWidget-disabled .DlButton .DlButton-inner { border-color: $mainBg; opacity: 0.6; filter: alpha(opacity=60); }
+.DlButton-disabled, .DlWidget-disabled .DlButton { border-color: $mainBgL2 $mainBgD2 $mainBgD2 $mainBgL2; }
+
+div.DlButton-Label { display: inline; }
+
+/* Checkbox */
+
+.DlWidget-disabled.DlCheckbox-0 { color: $disabledColor; background-image: url("img/new-checkradio/check-normal-insensitive.png"); }
+.DlWidget-disabled.DlCheckbox-1 { color: $disabledColor; background-image: url("img/new-checkradio/check-mark-insensitive.png"); }
+
+.DlCheckbox { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; background-position: 4px 50%; background-repeat: no-repeat; }
+.DlCheckbox-0 { background-image: url("img/new-checkradio/check-normal.png"); }
+.DlCheckbox-1 { background-image: url("img/new-checkradio/check-mark.png"); }
+.DlCheckbox-hover { background-color: $hoverBg; }
+.DlCheckbox-hover.DlCheckbox-0 { background-image: url("img/new-checkradio/check-normal-prelight.png"); }
+.DlCheckbox-hover.DlCheckbox-1 { background-image: url("img/new-checkradio/check-mark-prelight.png"); }
+.DlCheckbox-active { background-color: $activeBg; background-image: url("img/new-checkradio/check-mark-active.png") !important; }
+.DlCheckbox-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlCheckbox-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+/* RadioButton */
+
+.DlWidget-disabled.DlRadioButton-0 { color: $disabledColor; background-image: url("img/new-checkradio/opt-normal-insensitive.png"); }
+.DlWidget-disabled.DlRadioButton-1 { color: $disabledColor; background-image: url("img/new-checkradio/opt-mark-insensitive.png"); }
+
+.DlRadioButton { padding: 2px 5px 2px 20px; -moz-border-radius: 3px; background-position: 4px 50%; background-repeat: no-repeat; }
+.DlRadioButton-0 { background-image: url("img/new-checkradio/opt-normal.png"); }
+.DlRadioButton-1 { background-image: url("img/new-checkradio/opt-mark.png"); }
+.DlRadioButton-hover { background-color: $hoverBg; }
+.DlRadioButton-hover.DlRadioButton-0 { background-image: url("img/new-checkradio/opt-normal-prelight.png"); }
+.DlRadioButton-hover.DlRadioButton-1 { background-image: url("img/new-checkradio/opt-mark-prelight.png"); }
+.DlRadioButton-active { background-color: $activeBg; background-image: url("img/new-checkradio/opt-mark-active.png") !important; }
+.DlRadioButton-empty { height: 15px; padding-left: 15px; width: 1px; }
+
+.DlRadioButton-focus div.DlButton-Label { display: block; border: 1px dotted black; margin: -1px -2px; padding: 0 1px; }
+
+.DlPopupMenu {
+ .DlRadioButton, .DlCheckbox {
+ -moz-border-radius: 0;
+ }
+}
+
+/* Entry */
+
+.DlEntry {
+ border: 1px solid $mainBgD2;
+ .DlEntry-cell {
+ border: 1px solid $mainBgL3;
+ background-color: $mainBgL2;
+ }
+ input, textarea {
+ margin: 0;
+ border: none !important;
+ border-width: 0px !important;
+ background: $mainBgL3;
+ color: #000;
+ padding: 1px 2px 2px 2px !important;
+/* font-family: "Bitstream Vera Sans Mono",monospace; height: 1.3em; */
+ resize: none;
+ }
+ input::-moz-selection, textarea::-moz-selection {
+ background-color: $selectionBg !important; color: $selectionFg !important;
+ }
+}
+.DlEntry-Focus {
+ @include focus-border1;
+ @include focus-outline;
+ .DlEntry-cell, input, textarea {
+ background-color: $focusBg;
+ }
+}
+
+.DlEntry-ValidationError {
+ border-color: $errorBg;
+ .DlEntry-cell { border-color: $errorBg; }
+ .DlEntry-cell, input, textarea { background-color: $errorBgL3; }
+}
+
+.DlEntry-Readonly {
+ .DlEntry-cell {
+ border-color: $mainBgL2;
+ }
+ .DlEntry-cell, input, textarea {
+ background-color: $readOnlyBg;
+ }
+}
+.DlEntry-emptyText {
+ display: none;
+ position: absolute;
+ left: 3px;
+ top: 1px;
+ color: $disabledColor;
+ font-style: italic;
+ cursor: text;
+}
+.DlEntry-empty .DlEntry-emptyText {
+ display: block;
+}
+
+.DlEntry-dropDownBtn {
+ line-height: 20px;
+ border-left: 1px solid $mainBgD2;
+ padding-left: 4px; padding-right: 4px;
+}
+
+.DlEntry-Focus .DlEntry-dropDownBtn { border-color: $mainBgD3; }
+
+.DlEntry-dropDownBtn-hover { background-color: $hoverBg; }
+.DlEntry-dropDownBtn-active { background-color: $activeBg; }
+
+.DlEntry-invalidIcon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ right: 1px;
+ top: 50%;
+ margin-top: -8px;
+ background-image: url("img/entry-warning.png");
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ opacity: 0.6;
+ display: none;
+}
+
+div.DlEntry-invalidIcon:hover { opacity: 1; }
+
+.DlEntry-ValidationError .DlEntry-invalidIcon {
+ display: block;
+}
+
+/* CompletionEntry */
+
+.DlCompletionEntry-busy input {
+ background-image: url("img/busy1.gif");
+ background-position: 100% 50%;
+ background-repeat: no-repeat;
+}
+
+.DlCompletionEntry-rightAligned input {
+ background-position: 0 50%;
+ text-align: right;
+}
+
+/* ComboBox */
+
+.DlComboBox-dropDownBtn {
+ background: $mainBg url("img/arrows/dropdown.png") no-repeat 50% 50%;
+ width: 11px;
+ height: 20px;
+ border-left: 1px solid $mainBgD2;
+}
+
+.DlEntry-Focus .DlComboBox-dropDownBtn { border-color: $mainBgD3; }
+
+.DlComboBox-dropDownBtn-hover { background-color: $hoverBg; }
+.DlComboBox-dropDownBtn-active { background-color: $activeBg; }
+
+/* Spinner */
+
+.DlSpinner { background-color: yellow; width: 1em; }
+.DlSpinner .DlSpinner-Button { height: 50%; }
+.DlSpinner input { text-align: right; }
+.DlSpinner .DlSpinner-Button .DlButton-inner { width: 5px; }
+.DlSpinner .DlSpinner-Button .DlButton-inner div { min-height: 0; }
+.DlSpinner .DlSpinner-Button-Up .DlButton-inner { height: 2px; background: url("img/spinner-up.gif") no-repeat 50% 50%; }
+.DlSpinner .DlSpinner-Button-Down .DlButton-inner { height: 2px; background: url("img/spinner-down.gif") no-repeat 50% 50%; }
+
+/* ProgressBar */
+
+.DlProgressBar { position: relative; border: 1px solid #98c; background: #f0e6ff; }
+.DlProgressBar-label { text-align: center; position: relative; padding: 2px 0; }
+.DlProgressBar-fill { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background-color: #c0b6ff; }
+
+/* ButtonMenu */
+
+.DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlButtonMenu .MenuArrow-inner {
+ padding: 0 1px;
+ border-left: none;
+ width: 7px; overflow: visible; background-image: url("img/menu/darrow-small.gif");
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+}
+.DlButtonMenu .LabelPart { border-right: none; }
+.DlButtonMenu .LabelPart .DlButton-inner { border-right: none; }
+
+/* ButtonColorPicker */
+
+.DlButtonColorPicker table { border-collapse: collapse; }
+.DlButtonColorPicker .DlButton-inner .ColorPart { border: 1px solid; @include inset-border1;
+ width: 10px; height: 10px; overflow: hidden; min-height: 0; margin-top: 1px; }
+.DlButtonColorPicker .Label { padding-left: 5px; }
+.DlButtonColorPicker .EmptyLabel { width: 1px; overflow: hidden; height: 1em; }
+
+/* Calendar */
+
+.DlCalendar {
+ background-color: $mainBgL3;
+}
+.DlCalendar-disabled { background-color: $mainBgL1; }
+table.DlCalendar {
+ border-collapse: separate;
+ border-spacing: 0;
+ font-size: 11px;
+ font-family: tahoma,verdana,sans-serif;
+ border: 1px solid $mainBgD2;
+}
+.DlCalendar {
+ $weekendBg: #c62;
+ $todayFg: blue;
+ tr.DlCalendar-Navigation {
+ td { text-align: center; border-bottom: 1px solid $mainBgD2; background-color: $mainBg; padding: 2px 0; }
+ td.PrevMonth, td.PrevYear { border-right: 1px solid $mainBgD2; font-weight: bold; }
+ td.NextMonth, td.NextYear { border-left: 1px solid $mainBgD2; font-weight: bold; }
+ td.NextMonth { background-image: url("img/arrows/nav-right.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+ td.PrevMonth { background-image: url("img/arrows/nav-left.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+ td.NextYear { background-image: url("img/arrows/nav-right-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+ td.PrevYear { background-image: url("img/arrows/nav-left-x2.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
+ td.hover { background-color: $hoverBg; color: $hoverColor; }
+ td.rolling { background-color: $activeBg; }
+ }
+ tr.DlCalendar-DayNames {
+ td { width: 20px; text-align: right; padding-right: 3px; border-bottom: 1px solid $mainBgD2; background-color: $mainBgL1; }
+ /* td.Today { font-weight: bold; } */
+ td.WeekNumber { border-right-color: $mainBgD2; }
+ td.hover { background-color: $hoverBg; color: $hoverColor; }
+ td.WeekEnd { color: $weekendBg; }
+ }
+ tr.Dates {
+ td { text-align: right; padding: 2px 3px 2px 2px; }
+ td.OtherMonth { color: lighten($mainFg, 30%); }
+ td.Today { color: $todayFg; }
+ td.DlCalendar-infoDay { font-weight: bold; background: url("img/tmpcal.gif") no-repeat 100% 100%; }
+ td.Selected { border: 1px solid $mainBgD2; background-color: $selectionBg; padding: 1px 2px 1px 1px; }
+ td.hover { border: 1px solid $mainBgD1; padding: 1px 2px 1px 1px; background-color: $hoverBg !important; }
+ }
+ td.WeekNumber { border-right: 1px solid $mainBgD2; color: lighten($mainFg, 30%); background-color: $mainBg; }
+ tr.Selected td { border-bottom: 1px solid $mainBgD1; border-top: 1px solid $mainBgD1; padding-top: 1px; padding-bottom: 1px; }
+
+ /* weekends */
+ td.WeekEnd { color: $weekendBg; }
+ td.OtherMonth.WeekEnd { color: lighten($weekendBg, 20%); }
+}
+
+/* ResizeBar */
+
+.DlResizeBar { font-size: 1px; line-height: 1px; }
+.DlResizeBar-Horizontal {
+ height: 5px; cursor: s-resize; background: url("img/resizebar-horiz2.png") no-repeat 50% 50%; }
+.DlResizeBar-Vertical { width: 5px; cursor: e-resize; background: url("img/resizebar-vert2.png") no-repeat 50% 50%; }
+.DlResizeBar-DraggingLine {
+ position: absolute;
+/* background-image: url("img/resizebg.gif"); */
+ background-color: $focusBorder; opacity: 0.6; filter: alpha(opacity=60);
+ z-index: 10000;
+}
+
+/* UploadEntry */
+
+.DlUploadEntry { height: 22px; }
+.DlUploadEntry iframe { background: transparent; width: 80px; height: 22px; display: block; }
+
+/* CONTAINERS */
+
+.DlContainer { position: relative; } /* WARNING: this is probably NOT GOOD!
+ but it happens to fix some atrocious bugs in IE
+ (randomly disappearing elements on hover).
+ XXX: make sure it doesn't break anything!
+ */
+
+.DlContainer-Hidden { position: absolute; left: -30000px; top: -30000px; visibility: hidden; }
+
+// XXX: WHAT's this?
+// .DlContainer-pad-sep-left { padding: 5px; border-left: 1px solid #a9d; }
+// .DlContainer-pad-sep-right { padding: 5px; border-right: 1px solid #a9d; }
+
+.DlLayout { position: relative; }
+.DlLayout-positioned { position: absolute; }
+
+.DlGridLayout-table { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
+.DlGridLayout-tr-minHeight td { height: 2px; }
+.DlGridLayout-td-minWidth { width: 2px; white-space: nowrap; }
+.DlGridLayout-td-minHeight { height: 2px; }
+
+/*
+ .DlGridLayout-table { background-color: #f00; }
+ .DlGridLayout-table td { background-color: #fff; }
+/* ^^^ DEBUG */
+
+
+.DlDesktop { position: fixed; left: 0; top: 0; overflow: hidden; }
+
+.DlFieldset { border: 2px groove $mainBgL2; margin-top: 1em;
+ -moz-border-top-colors: $mainBgD2 $mainBgL2;
+ -moz-border-bottom-colors: $mainBgL2 $mainBgD2;
+ -moz-border-left-colors: $mainBgD2 $mainBgL2;
+ -moz-border-right-colors: $mainBgL2 $mainBgD2;
+}
+.DlFieldset-label {
+ position: relative; top: -0.75em; left: 5px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ font-weight: bold;
+ background-color: $mainBg;
+ padding: 1px 7px;
+}
+.DlFieldset-content {
+ padding: 10px 10px 10px 10px; margin-top: -1em;
+}
+
+.DlPopup {
+ position: fixed;
+ z-index: 100;
+ left: -30000px;
+ top: -30000px;
+}
+
+.DlPopup-scrollArea {
+ overflow: hidden;
+ position: relative; /* -- IE is unbelievable */
+ z-index: 10;
+}
+
+.DlPopup-scrollUp, .DlPopup-scrollDown {
+ height: 10px; overflow: hidden;
+ background-position: 50% 1px;
+ background-repeat: no-repeat;
+}
+
+.DlPopup-scrollUp { border-bottom: 1px solid $mainBgD1; }
+.DlPopup-scrollDown { border-top: 1px solid $mainBgD1; }
+
+.DlPopup-scrollUp { background-image: url("img/arrows/scroll-up.gif"); }
+.DlPopup-scrollUp-hover { background-image: url("img/arrows/scroll-up-hover.gif"); background-color: $hoverBg; }
+.DlPopup-scrollUp-disabled { background-image: url("img/arrows/scroll-up-disabled.gif"); }
+.DlPopup-scrollDown { background-image: url("img/arrows/scroll-down.gif"); }
+.DlPopup-scrollDown-hover { background-image: url("img/arrows/scroll-down-hover.gif"); background-color: $hoverBg; }
+.DlPopup-scrollDown-disabled { background-image: url("img/arrows/scroll-down-disabled.gif"); }
+
+.DlCompletionPopup { border: 1px solid $mainBgD1; background-color: $mainBgL3; }
+.DlCompletionPopup .DlMenuItem .div2 { font-size: 90%; padding: 1px 5px; }
+.DlCompletionPopup .DlVMenu { border: none; }
+
+.DlTooltip {
+ background-color: #fffee0;
+ font-family: arial,helvetica,sans-serif;
+ padding: 4px 7px;
+ color: #333210;
+}
+
+.DlTooltip-noShadow { border: 1px solid #000; }
+
+.DlDialogPopup {
+ background-color: $mainBgL3;
+ border: 1px solid $mainBgD1;
+}
+
+.DlPopupMenu {
+ background-color: $mainBgL3;
+ border: 1px solid $mainBgD1;
+}
+.DlPopupMenu-noShadow { border: 1px solid $mainBgD1; }
+
+.DlPopupMenu .DlCalendar {
+ border: 1px solid;
+ @include outset-border1;
+}
+.DlCalendar-borderless { border-width: 0 !important; }
+
+.DlVMenu, .DlHMenu {
+ border-collapse: collapse;
+ background-color: $mainBgL3;
+}
+
+.DlVMenu-noShadow, .DlHMenu-noShadow {
+ border: 1px solid;
+ @include outset-border1;
+}
+
+.DlVMenu { margin: 4px 0; }
+
+.DlHMenu {
+ margin: 0 2px;
+}
+
+.DlHMenu div.DlHMenu-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ margin-left: 3px; margin-right: 2px;
+ border-left: 1px solid #ccc;
+ background-color: #fff;
+}
+
+div.DlVMenu-separator {
+ margin: 4px 0 3px 0;
+ background-color: #ccc;
+ border-bottom: 1px solid #fff;
+
+ height: 1px;
+ overflow: hidden;
+ font-size: 1px;
+ line-height: 1px;
+}
+
+.DlMenuItem { /* background: transparent; background-color: none; /* XXX: do we need this? */ }
+.DlMenuItem .div2 { padding: 2px 5px; }
+.DlMenuItem-popped { background-color: $activeBg; color: $activeColor; }
+.DlMenuItem-hover { background-color: $activeBg; color: $activeColor; }
+.DlMenuItem-active { background-color: $activeBg2; color: $activeColor2; }
+.DlMenuItem .DlMenuItem-withIcon {
+ padding-left: 26px;
+ background-repeat: no-repeat;
+ background-position: 5px 50%;
+}
+.DlVMenu .DlMenuItem .DlMenuItem-withPopup {
+ margin-right: 3px;
+ padding-right: 12px;
+ background-image: url("img/menu/rarrow.gif");
+ background-repeat: no-repeat !important;
+ background-position: 100% 50%;
+}
+.DlVMenu .DlMenuItem-hover .DlMenuItem-withPopup {
+ background-image: url("img/menu/rarrow-hover.gif") !important;
+}
+.DlWidget-disabled .DlMenuItem, .DlMenuItem-disabled { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlVMenu .DlCheckbox-hover,
+.DlHMenu .DlCheckbox-hover,
+.DlVMenu .DlRadioButton-hover,
+.DlHMenu .DlRadioButton-hover { background-color: $activeBg; color: $activeColor; }
+
+.DlVMenu .DlCheckbox-active,
+.DlHMenu .DlCheckbox-active,
+.DlVMenu .DlRadioButton-active,
+.DlHMenu .DlRadioButton-active { background-color: $activeBg2; color: $activeColor2; }
+
+/*
+.DlPopupMenu .DlCheckbox-hover,
+.DlPopupMenu .DlRadioButton-hover { background-color: #76c; color: #fff; }
+
+.DlPopupMenu .DlCheckbox-active,
+.DlPopupMenu .DlRadioButton-active { background-color: #cbf; color: #000; }
+*/
+
+/* Notebook */
+
+/* .DlNotebook { background-color: $mainBgL1; } */
+
+/* Tabs */
+
+.DlTabs .TabBar { z-index: 10; position: relative; }
+.DlTabs .TabBar .DlButton { border-color: $mainBgD3; }
+.DlTabs .TabBar .DlButton-1 { background-color: $mainBgL1; }
+.DlTabs .TabBar .DlButton-1 .DlButton-inner { padding-top: 3px; padding-bottom: 3px; border-color: $mainBgD1; }
+
+.DocTabBar { width: 100%; }
+.DocTabBar td { width: 33.3333%; }
+
+.DlTabs-top .TabBar { top: 1px; }
+.DlTabs-top .TabBar .DlButton-1, .DlTabs-top .TabBar .DlButton-1 .DlButton-inner { border-bottom: none; }
+
+.DlTabs-bottom .TabBar { top: -1px; }
+.DlTabs-bottom .TabBar .DlButton-1, .DlTabs-bottom .TabBar .DlButton-1 .DlButton-inner { border-top: none; }
+
+.DlTabs .TabContent, .DlTabs .TabContent .DlNotebook { background-color: $mainBgL1; }
+.DlTabs .TabContent { border: 1px solid $mainBgD3; }
+.DlTabs .TabContent .TabContent-inner { padding: 5px; }
+.DlTabs .TabContent-inner { position: relative; overflow: hidden; border: 1px solid $mainBgD1; }
+
+.DlTabs-top .TabContent .TabContent-inner { border-top: none; }
+.DlTabs-bottom .TabContent .TabContent-inner { border-bottom: none; }
+
+/* MacBar */
+
+.DlMacHBar, .DlMacVBar {
+ background-color: $mainBgD1;
+ border: 1px solid $mainBgD3;
+ padding: 2px;
+}
+.DlMacBarIcon { display: inline; }
+.DlMacBarIcon img { vertical-align: middle; padding: 5px; }
+.DlMacBarIcon-1 img { border: 1px solid #769; -moz-border-radius: 15px; padding: 4px; background-color: #edf; }
+.DlMacBarIcon-active { opacity: 0.6; /* filter: alpha(opacity=60); /* IE sucks. */ }
+.DlMacHBar div.DlMacHBar-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid #98c;
+ background-color: #edf;
+}
+
+.DlMacVBar div.DlMacVBar-separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px solid #98c;
+ background-color: #edf;
+}
+
+/* Hbox */
+
+table.DlHbox { border-collapse: separate; }
+.DlHbox td.cell { padding: 0; }
+.DlHbox div.DlHbox-separator, div.Dl-Vertical-Separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px dotted $mainBgD3;
+ background-color: $mainBgL2;
+/* margin-left: 3px; margin-right: 2px; */
+}
+
+.DlHbox div.wide-separator, div.Dl-Vertical-Separator.wide-separator { margin-left: 4px; margin-right: 4px; }
+
+.DlHbox div.DlHbox-spacer {
+ overflow: hidden;
+ width: 4px;
+}
+
+table.DlHbox-hasFiller { width: 100%; }
+.DlHbox-filler { width: 100%; }
+
+/* Vbox */
+
+table.DlVbox { border-collapse: separate; }
+.DlVbox td.cell { padding: 0; }
+.DlVbox div.DlVbox-separator, div.Dl-Horizontal-Separator {
+ overflow: hidden;
+ height: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ border-top: 1px dotted $mainBgD3;
+ background-color: $mainBgL2;
+/* margin-top: 3px; margin-bottom: 2px; */
+}
+
+.DlVbox div.wide-separator, div.Dl-Horizontal-Separator.wide-separator { margin-top: 5px; margin-bottom: 4px; }
+
+.DlVbox div.DlVbox-spacer {
+ overflow: hidden;
+ height: 4px;
+ line-height: 1px;
+ font-size: 1px;
+}
+
+/* ButtonBox */
+
+table.DlButtonBox { width: 100%; }
+table.DlButtonBox .DlButtonBox-spacer { width: 100%; }
+.DlButtonBox div.DlButtonBox-separator {
+ overflow: hidden;
+ height: 16px;
+ width: 1px;
+ border-left: 1px solid $mainBgD2;
+ background-color: $mainBgL2;
+ margin-left: 3px; margin-right: 2px;
+}
+
+.DlWidget-disabled div.DlVbox-separator, .DlWidget-disabled div.DlHbox-separator { border-color: $mainBgD1; background-color: $mainBgL2; }
+
+/* Select */
+
+.DlRadioSelect .LabelPart { text-align: left; }
+
+.DlSelect-menu .DlRadioButton { padding-right: 18px; }
+.DlSelect-menu .DlRadioButton-0 { background-image: none; }
+.DlSelect-menu .DlRadioButton-1 { background-image: url("img/mark.gif"); background-color: $mainBg; color: #000; }
+.DlSelect-menu .DlRadioButton-active { background-image: url("img/mark-2.gif") !important; }
+
+/* Toolbar (no special widget) */
+
+/* BEGIN: CRAPPY CODE, PLEASE REVISIT */
+
+.DlToolbar {
+ border: 1px solid;
+ @include outset-border1;
+ background-color: $mainBg;
+ padding: 1px;
+
+ .DlButton { border: none; background-color: transparent; }
+ .DlButton-inner { border: none; padding: 3px; }
+ .DlButton-hover { border: 1px solid; @include outset-border2; background-color: $hoverBg; }
+ .DlButton-hover .DlButton-inner { padding: 2px; }
+ .DlButton-1 { border: 1px solid; @include inset-border2; background-color: $activeBg; }
+ .DlButton-1 .DlButton-inner { padding: 2px; }
+ .DlButton-active { border: 1px solid; @include inset-border1; background-color: $activeBg; }
+ .DlButton-active .DlButton-inner { padding: 2px; }
+ .DlButton-disabled { opacity: 0.7; filter: alpha(opacity=70); }
+
+ .DlButtonMenu * { border: none; }
+ .DlButtonMenu .DlButton-inner { border: 1px solid; @include outset-border2; padding: 2px; }
+ .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0; padding-right: 0; }
+ .DlButtonMenu .DlButton-active .DlButton-inner { @include inset-border1; }
+ .DlButtonMenu .DlButton-1 .DlButton-inner { @include inset-border1; }
+
+ .DlButtonMenu .DlButton-hover .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+ .DlButtonMenu .DlButton-active .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+ .DlButtonMenu .DlButton-1 .MenuArrow-inner { padding-left: 1px !important; padding-right: 1px !important; background-position: 1px 50%; }
+ .DlButtonMenu .MenuArrow .DlButton-inner { padding-left: 0 !important; padding-right: 0 !important; }
+
+ .DlLabel { background: inherit; }
+
+ div.DlHbox-separator {
+ border-left-color: $mainBgD2;
+ background-color: $mainBgL2;
+ }
+}
+
+/*
+.DlToolbar .DlButtonMenu .DlButton-hover .DlButton-inner { border-color: #659; }
+.DlToolbar .DlButtonMenu .LabelPart.DlButton-hover .DlButton-inner { padding-right: 3px; border-right: none; }
+*/
+
+.DlToolbar-Light { background: $mainBgL1; }
+
+/* END: CRAPPY CODE */
+
+/* Table */
+
+.DlTable-RowSeparator td { height: 7px; }
+.DlTable-RowSeparator td div { line-height: 1px; font-size: 1px; height: 1px; overflow: hidden;
+ border-top: 1px solid $mainBgD2;
+ background-color: $mainBgL2;
+ margin-top: 3px; margin-bottom: 2px;
+}
+
+/* Tree */
+
+.DlTree-separator {
+ margin-top: 3px; margin-bottom: 4px;
+ border-top: 1px dotted $mainBgD2;
+ line-height: 1px; font-size: 1px; overflow: hidden;
+}
+.DlTree-IconWidth { width: 19px !important; }
+.DlTreeItem .DlTreeItem-Expander { width: 19px; }
+.DlTreeItem .DlTreeItem-Icon {
+ width: 19px;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.DlTreeItem .DlTreeItem-Label { padding-left: 3px; padding-top: 1px; padding-bottom: 1px; }
+
+.DlTreeItem-withRadio {
+ .DlTreeItem-Label { padding-left: 0; }
+ .DlTreeItem-Table {
+ .DlLabel { padding: 0 2px; }
+ .DlRadioButton { padding: 0 2px; background-image: none !important; cursor: pointer; }
+ .DlRadioButton-hover { background: none; color: $linkHoverFg; text-decoration: underline; }
+ .DlRadioButton-1 { background-color: $activeBg; color: $activeColor; }
+ }
+}
+
+.DlTreeItem-withCheck {
+ .DlTreeItem-Label { padding-left: 0; }
+ .DlTreeItem-Table {
+ .DlLabel { padding: 0 2px; }
+ .DlCheckbox { padding: 0 2px; background-image: none !important; cursor: pointer; }
+ .DlCheckbox-hover { background: none; color: $linkHoverFg; text-decoration: underline; }
+ .DlCheckbox-1 { background-color: $activeBg; color: $activeColor; }
+ }
+}
+
+/* .DlTreeItem-Table { table-layout: fixed; border-collapse: collapse; } */
+.DlTreeItem-Table td { vertical-align: middle; height: 16px; }
+
+/* BEGIN: tree lines, don't touch this or else. */
+.DlTree-withLines .DlTreeItem { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; }
+/* .DlTree-withLines .DlTreeItem-div { background-image: url("img/tree/lines-v.gif"); background-repeat: repeat-y; background-position: 9px 50%; } */
+
+.DlTree-withLines .DlTreeItem-Last { background-image: none; }
+/* .DlTree-withLines .DlTreeItem-Last .DlTreeItem-div { background-image: none; } */
+
+.DlTree-withLines .DlTreeItem .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTreeItem-hasSubtree .DlTreeItem-Expander { background: transparent url("img/tree/lines-c.gif") no-repeat 50% 50%; }
+.DlTree-withLines table.DlTreeItem-Last .DlTreeItem-Expander { background: transparent url("img/tree/lines-b.gif") no-repeat 50% 50%; }
+/* END: tree lines */
+
+.DlTreeItem-Subtree { padding-left: 19px; }
+.DlTreeItem-Arrow-Expanded { background: transparent url("img/tree/minus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Expanded:hover { background: transparent url("img/tree/minus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed { background: transparent url("img/tree/plus.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+.DlTreeItem-Arrow-Collapsed:hover { background: transparent url("img/tree/plus-hover.gif") no-repeat 50% 40%; width: 19px; height: 100%; }
+
+.DlWidget-disabled .DlTreeItem-Arrow-Expanded,
+.DlWidget-disabled .DlTreeItem-Arrow-Collapsed,
+.DlWidget-disabled .DlTreeItem-Icon { opacity: 0.6; filter: alpha(opacity=60); }
+
+.DlTreeItem-dropTarget > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-upper.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div .DlTreeItem-Expander div { background: url("img/tree-drop-here-lower.gif") no-repeat 50% 50%; }
+.DlTreeItem-dropTarget-upper > .DlTreeItem-div > table { border-top: 1px solid $mainBgD2; }
+.DlTreeItem-dropTarget-lower > .DlTreeItem-div > table { border-bottom: 1px solid $mainBgD2; }
+
+.DlTreeItem-div-focus { @include focus-outline; }
+
+/* ColorPicker */
+
+.DlColorPickerHSV { border: 1px solid #000; background-color: #e4dcec; }
+.DlColorPickerHSV td { width: 8px; height: 10px; padding: 1px; }
+.DlColorPickerHSV td.DlColorPickerHSV-Sep { background-color: #000; width: 1px; padding: 0; }
+.DlColorPickerHSV td.DlColorPickerHSV-HSV {
+ overflow: visible; vertical-align: top;
+ background: url("img/color/hue.png") repeat-x 0 0; width: 15px; padding: 0; }
+.DlColorPickerHSV td.hover1 { padding: 0; border: 1px solid #fff !important; }
+.DlColorPickerHSV td.hover2 { padding: 0; border: 1px solid #000 !important; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar { height: 1px; left: 0px;
+ font-size: 1px; line-height: 1px; left: -2px; margin-right: -3px;
+ background-color: #000; overflow: hidden; position: relative; }
+.DlColorPickerHSV .DlColorPickerHSV-HSV-bar2 { background-color: #fff; }
+
+/* RteFrame */
+
+.DlRteFrame { border: 1px solid; border-color: $mainBgD2; }
+/* .DlRteFrame-focus { border-color: #659; outline: 1px solid #98b; -moz-outline-radius: 2px; } */
+.DlRteFrame iframe { border: 1px solid; @include inset-border1; }
+
+/* Grid */
+
+.DlDataGrid { position: relative; background-color: $mainBgL3; border: 1px solid $mainBgD3; }
+.DlDataGrid.DlWidget-disabled { background-color: $mainBgL2; }
+.DlDataGrid-rowTable { table-layout: fixed; width: 10px; border-collapse: collapse; border-spacing: 0; }
+.DlDataGrid-rowTable td { overflow: hidden; white-space: nowrap; border-right: 1px solid #e0e0e0; }
+.DlDataGrid-Headers { overflow: hidden; background-color: $mainBg; position: relative; width: 5px; }
+.DlDataGrid-Body { overflow: auto; }
+.DlDataGrid-cellData { overflow: hidden; white-space: nowrap; }
+.DlDataGrid-Body td { padding: 2px 0; text-indent: 5px; /* the "LOL" way to add horizontal padding. :-p */}
+
+.DlDataGrid-Body .DlDataGrid-rowTable {
+ border-bottom: 1px solid darken($mainBgL3, 5%);
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+}
+
+.DlDataGrid-resizeHandle {
+ width: 7px; position: absolute; top: 0;
+ margin-left: -4px;
+ cursor: e-resize;
+ z-index: 30000;
+ height: 100%;
+ background-color: #f00; opacity: 0.01; filter: alpha(opacity=1);
+}
+
+.DlDataGrid-align-left { text-align: left; }
+.DlDataGrid-align-center { text-align: center; }
+.DlDataGrid-align-right { text-align: right; }
+
+.DlDataGrid .DlDataGridRow-selected { background-color: #ccc; }
+.DlDataGrid .DlDataGridRow-selected table td { color: #000; }
+.DlDataGrid-focus { @include focus-outline; }
+.DlDataGrid-focus .DlDataGridRow-selected { background-color: $selectionBg; }
+.DlDataGrid-focus .DlDataGridRow-selected table td { color: $selectionFg; }
+
+.DlDataGrid-align-right .DlButton-inner { background-position: 0 50%; }
+
+.DlDataGridHeadLabel { border-width: 0 1px 1px 0; }
+.DlDataGridHeadLabel .DlButton-inner { border: none; padding-top: 3px; padding-bottom: 3px; }
+.DlDataGridHeadLabel-hover { background-color: $hoverBg; }
+.DlDataGridHeadLabel-active { background-color: $activeBg; }
+.DlDataGridHeadLabel-active .DlButton-inner { padding-top: 4px; padding-bottom: 2px; }
+.DlDataGridHeadLabel-resizing { background-color: $activeBg; }
+.DlDataGridHeadLabel-empty .DlButton-inner { padding-left: 0; padding-right: 0; }
+.DlDataGridHeadLabel-empty .DlButton-withIcon { background-position: 50% 50%; }
+
+.DlDataGridHeadLabel-sort-up { border-bottom: 2px solid #000; }
+.DlDataGridHeadLabel-sort-down { border-bottom: 2px solid #000; }
+
+.DlDataGridHeadLabel-sort-up .DlButton-inner {
+ background-image: url("img/arrows/sort-ascending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+.DlDataGridHeadLabel-sort-down .DlButton-inner {
+ background-image: url("img/arrows/sort-descending.gif"); background-repeat: no-repeat; background-position: 100% 50%;
+ padding-bottom: 2px;
+}
+
+.DlDataGridHeadLabel-sort-up.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+.DlDataGridHeadLabel-sort-down.DlDataGridHeadLabel-active .DlButton-inner { padding-bottom: 1px; }
+
+.DlDataGrid-drop-col {
+ position: fixed;
+ background: url("img/grid-drop-col.gif") no-repeat 0 0;
+ width: 11px; height: 11px;
+ margin-left: -5px;
+ z-index: 10000;
+}
+
+/* IconListView */
+// <XXX>: do we still keep this widget?
+.DlIconListView { background-color: #d8c8f8; border: 1px solid #bae; }
+.DlIconListItem { border-collapse: collapse; }
+.DlIconListItem-labelCell { text-align: center; }
+.DlIconListItem-labelDiv { overflow: hidden; white-space: normal; font-size: 90%; }
+.DlIconListItem-iconCell { background-position: 50% 50%; background-repeat: no-repeat; }
+
+/* .DlIconListItem-hover .DlIconListItem-iconCell { opacity: 0.7; filter: alpha(opacity=70); } */
+.DlIconListItem { cursor: pointer; float: left; }
+.DlIconListItem-hover { background-color: #dcf; }
+.DlIconListItem-hover .DlIconListItem-labelCell { color: #00f; text-decoration: underline; }
+.DlIconListItem-1 { background-color: #b8b0c0; }
+.DlDialog-Active .DlIconListItem-1 { background-color: #76c; }
+.DlDialog-Active .DlIconListItem-1 .DlIconListItem-labelCell { color: #fff; }
+
+.DlIconListItem-focus .DlIconListItem-labelCell { text-decoration: underline; }
+// </XXX>
+
+/* Dialog */
+
+.DlWM {
+ position: absolute;
+ left: 0; top: 0;
+ width: 0; height: 0;
+ overflow: visible;
+ z-index: 300;
+}
+
+/* .DlWM-container { */
+/* position: relative; */
+/* width: 0; height: 0; */
+/* overflow: visible; */
+/* } */
+
+.DlWM-modalStopper {
+ z-index: 800; cursor: not-allowed;
+ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
+/* background: url("img/modalbg.gif"); */
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ background-color: #444;
+ display: none;
+}
+
+.DlDialog .DlWM-modalStopper {
+ -moz-border-radius: 0 0 4px 4px;
+ -webkit-border-radius: 0 0 4px 4px;
+}
+
+.DlDialog .DlDialog-noShadows .DlWM-modalStopper,
+.DlDialog-Maximized .DlWM-modalStopper {
+ -moz-border-radius: 0;
+ -webkit-border-radius: 0;
+}
+
+.DlWM-hasModals { width: 100%; height: 100%; }
+.DlWM-hasModals .DlWM-modalStopper { display: block; }
+
+.DlDialog { position: absolute; }
+.DlDialog-Rel { padding: 0; }
+.DlDialog-Content { background-color: $dialogBg; position: relative; }
+/* .DlDialog>.DlDialog-Rel { position: relative; } /* HACK-IE6 */
+.Shadow { position: absolute; font-size: 1px; line-height: 1px; }
+.DlDialog-Rel .Shadow { z-index: 10; }
+
+.DlDialog-WAIT { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;
+ background-image: url("img/modalbg.gif"); }
+
+.DlDialog-Rel .ResizeHandle {
+ cursor: se-resize;
+ position: absolute;
+/* right: 0; bottom: 0; */
+ left: 100%;
+ top: 100%;
+ margin-left: -11px;
+ margin-top: -11px;
+ padding: 5px;
+ background: url("img/resize.gif") no-repeat 0 0; width: 10px; height: 10px; z-index: 350;
+}
+
+/* OPACITY for inactive dialogs */
+/*
+.DlDialog { opacity: 0.8; }
+.DlDialog-Active { opacity: 1; }
+*/
+
+.DlDialog-Rel {
+ .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-inactive/T.png") repeat-x 0 0; height: 14px; }
+ .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-inactive/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+ .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-inactive/TL.png") no-repeat 0 0; height: 23px; }
+ .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-inactive/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+ .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-inactive/R.png") repeat-y 0 0; bottom: 6px; }
+ .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-inactive/TR.png") no-repeat 0 0; height: 23px; }
+ .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-inactive/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+ .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-inactive/L.png") repeat-y 0 0; bottom: 6px; }
+}
+
+.DlDialog-Active .DlDialog-Rel {
+ .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("img/shadows/dlg-active/T.png") repeat-x 0 0; height: 14px; }
+ .Shadow-B { left: 18px; right: 15px; background: url("img/shadows/dlg-active/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+ .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("img/shadows/dlg-active/TL.png") no-repeat 0 0; height: 23px; }
+ .Shadow-BR { width: 31px; right: -16px; background: url("img/shadows/dlg-active/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+ .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("img/shadows/dlg-active/R.png") repeat-y 0 0; bottom: 6px; }
+ .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("img/shadows/dlg-active/TR.png") no-repeat 0 0; height: 23px; }
+ .Shadow-BL { left: -14px; width: 32px; background: url("img/shadows/dlg-active/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+ .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("img/shadows/dlg-active/L.png") repeat-y 0 0; bottom: 6px; }
+}
+
+/* that's for the crappin' IE6: */
+.DlDialog-noShadows { border: 2px solid #879; }
+.DlDialog-Active .DlDialog-noShadows { border-color: #000; }
+
+/*
+.DlDialog-Rel .Shadow-...
+.DlDialog-Active .DlDialog-Rel .Shadow-...
+.DlDialog-Dragging .DlDialog-Rel .Shadow-...
+*/
+
+.DlDialog-Title {
+ opacity: 0.9; filter: alpha(opacity=90);
+ overflow: hidden; white-space: nowrap;
+ font: bold 100% "Lucida Grande",verdana,tahoma,sans-serif; letter-spacing: -1px;
+ background: desaturate(darken($activeBg, 25%), 60%) url("img/titlebg.png") repeat-x 0 50%; color: #333; padding: 0 10px;
+ border-bottom: 2px solid #9e9e9e;
+}
+.DlDialog-Title div { padding-top: 3px; padding-bottom: 3px; }
+.DlDialog-Active .DlDialog-Title { background-color: darken($activeBg, 25%); color: #fff; border-color: #fff;
+ opacity: 1; filter: none;
+ text-shadow: 1px 1px 3px #000;
+}
+
+.DlDialog-Title-withIcon {
+ padding-left: 21px;
+ background-repeat: no-repeat;
+ background-position: 0 50%;
+}
+
+.DlDialog-WindowButtons {
+ height: 0;
+ overflow: visible;
+ position: absolute;
+ right: 11px;
+ top: 0;
+ z-index: 10;
+ opacity: 0.6; /* filter: alpha(opacity=60); /* IE hides them completely, ignoring the overflow: visible spec. */
+}
+
+.DlDialog-Active .DlDialog-WindowButtons { opacity: 1; filter: none; }
+
+.DlDialog-WindowButtons div {
+ float: right;
+ width: 27px;
+ height: 16px;
+ background-repeat: no-repeat;
+ margin-right: -1px;
+ background-image: url("img/dialog/buttons.png");
+}
+
+.DlDialog-QuitBtn { background-position: 0 0; }
+.DlDialog-QuitBtn-hover { background-position: -27px 0; }
+.DlDialog-QuitBtn-active { background-position: -54px 0; }
+
+.DlDialog-MaximizeBtn { background-position: 0 -16px; }
+.DlDialog-MaximizeBtn-hover { background-position: -27px -16px; }
+.DlDialog-MaximizeBtn-active { background-position: -54px -16px; }
+.DlDialog-MaximizeBtn-1 { background-position: -54px -16px; }
+
+.DlDialog-MinimizeBtn { background-position: 0 -32px; }
+.DlDialog-MinimizeBtn-hover { background-position: -27px -32px; }
+.DlDialog-MinimizeBtn-active { background-position: -54px -32px; }
+.DlDialog-MinimizeBtn-1 { background-position: -54px -32px; }
+
+.DlDialog-Dragging .DlDialog-Title { background-color: #000; color: #3d4; }
+.DlDialog-Dragging .DlDialog-Rel { border-color: #000; }
+
+/* .DlDialog-Dragging .DlDialog-Content { opacity: 0.6; } */
+/* .DlDialog-Dragging .DlDialog-Content * { display: none; } /* Good speed-up in Linux! */
+
+.DlDialog .DlHMenu {
+ border: none;
+ border-bottom: 1px solid $mainBgD2;
+}
+
+
+.DlDialog .DlDialog .DlDialog-Rel {
+ outline: 1px solid #fff;
+ -moz-outline: 1px solid #fff;
+ -webkit-outline: 1px solid #fff;
+ -opera-outline: 1px solid #fff;
+ border: 0;
+}
+.DlDialog-noShadows>.ResizeHandle { margin-left: -10px; margin-top: -10px; }
+.DlDialog .DlDialog .DlDialog-Title {
+ background-color: #fff; color: #000; /* padding: 0px 2px; */
+ border-bottom: 1px solid #888;
+}
+.DlDialog .DlDialog .DlDialog-Title div { padding-top: 1px; padding-bottom: 1px; }
+.DlDialog .DlDialog-Active .DlDialog-Title { background-color: #5e5868; color: #fff; border-color: #fff; }
+.DlDialog .DlDialog-Dragging .DlDialog-Title { background-color: #000; color: #3d4; }
+
+/* maximized dialogs are not resizable */
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.Shadow { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.ResizeHandle { display: none; }
+.DlDialog-Maximized>table>tbody>tr>td>.DlDialog-Rel>.DlDialog-Title { border-width: 0; }
+
+.DlLiteTree {
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ user-select: none;
+ .hidden { display: none }
+ ul {
+ margin: 0; padding: 0; display: block;
+ li {
+ display: block;
+ .item-label { padding: 1px 0; white-space: nowrap; }
+ .expander {
+ background-position: 0 50%;
+ background-repeat: no-repeat;
+ padding-left: 15px;
+ margin-right: 1px;
+ }
+ .item-label:hover {
+ color: $hoverColor;
+ background-color: $hoverBg;
+ }
+ .item-label.selected {
+ background-color: #ccc;
+ color: #000;
+ }
+ }
+ .item-label.collapsed>.expander {
+ background-image: url("img/tree/plus.png");
+ background-position: 3px 50%;
+ cursor: pointer;
+ &:hover {
+ background-color: $focusBorder;
+ }
+ }
+ .item-label.expanded>.expander {
+ background-image: url("img/tree/minus.png");
+ background-position: 3px 50%;
+ cursor: pointer;
+ &:hover {
+ background-color: $focusBorder;
+ }
+ }
+ span.dim { color: $mainBgD3 }
+ ul {
+ .expander { margin-left: 16px }
+ ul {
+ .expander { margin-left: 32px }
+ ul {
+ .expander { margin-left: 48px }
+ ul {
+ .expander { margin-left: 64px }
+ ul {
+ .expander { margin-left: 80px }
+ ul {
+ .expander { margin-left: 96px }
+ ul {
+ .expander { margin-left: 112px }
+ ul {
+ .expander { margin-left: 128px }
+ ul {
+ .expander { margin-left: 144px }
+ ul {
+ .expander { margin-left: 160px }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+.DlLiteTree-focus {
+ @include focus-border1;
+ @include focus-outline;
+ ul {
+ li {
+ .item-label.selected {
+ background-color: $selectionBg;
+ color: $selectionFg;
+ }
+ }
+ }
+}
+
+/* ICONS */
+.IconCalendar { background-image: url("img/icons/calendar.png"); background-position: 1px 50%; }
+.IconColors { background-image: url("img/icons/colors.png"); background-position: 1px 50%; }
+.IconChardev { background-image: url("img/icons/gnome-fs-chardev.png"); background-position: 1px 50%; }
+.IconDynarch { background-image: url("img/icons/dynarch-small.png"); background-position: 1px 50%; }
+
+
+
+
+
+/* MISC */
+
+/* Hint for the browser that it's allowed to break line at this span;
+ideally it should be invisible. The UTF8 character doesn't work in
+all browsers :(( */
+span.BreakPoint {
+ width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+}
+
+.SmallerButtons .DlButton-inner { padding: 1px 3px; }
+.SmallerButtons .DlButton-active .DlButton-inner { padding: 2px 2px 0px 4px; }
+
+.Dl-StatusBar { border: 1px solid; @include inset-border1; padding: 1px 4px; background-color: $mainBg; }
+
+.Dl-ResizeRect { z-index: 5000;
+ font: 13px tahoma,"Trebuchet MS",Tahoma,Verdana,sans-serif;
+ position: fixed; top: 0; left: 0; border: 1px dashed #000;
+/* background: url("img/modalbg.gif"); */
+ background: #fff; opacity: 0.4; filter: alpha(opacity=40);
+/* background-color: #000; opacity: 0.5; filter: alpha(opacity=50); */
+ border: 1px dashed #f00;
+}
+
+.Dl-ResizeRect { color: red; }
+.Dl-ResizeRect .Title { font-weight: bold; }
+
+.Dl-ResizeRect-moving {
+ border-color: #000;
+/* background: url("img/resizebg.gif"); */
+ /* background: #000; */
+}
+
+.DlAlign-left { text-align: left; }
+.DlAlign-right { text-align: right; }
+.DlAlign-center { text-align: center; }
+
+.Dl-3D-Border-Outside { border: 1px solid; @incude outset-border1 }
+.Dl-3D-Border-Inside { border: 1px solid; @include outset-border2 }
+.Dl-3D-Border-Dark { border: 1px solid $mainBgD2; }
+
+/* BUGS */
+/* Gecko bugs are marked with class "Gecko-bug" *and* "Gecko-bug-######" (bug number) */
+
+.Gecko-Bug-226933 { position: relative; overflow: auto; }
+
+.undefined { border: 5px solid red; } /* this sucks */
+
+/* thin shadows */
+
+.ThinShadows .Shadow-T { left: 10px; right: 9px; top: -7px; background: url("img/thin-shadows/T.png") repeat-x 0 0; height: 7px; }
+.ThinShadows .Shadow-B { left: 10px; right: 9px; background: url("img/thin-shadows/B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+.ThinShadows .Shadow-TL { left: -7px; width: 17px; top: -7px; background: url("img/thin-shadows/TL.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BR { width: 20px; right: -11px; background: url("img/thin-shadows/BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-R { width: 11px; right: -11px; top: 13px; background: url("img/thin-shadows/R.png") repeat-y 0 0; bottom: 9px; }
+.ThinShadows .Shadow-TR { width: 20px; right: -11px; top: -7px; background: url("img/thin-shadows/TR.png") no-repeat 0 0; height: 20px; }
+.ThinShadows .Shadow-BL { left: -7px; width: 17px; background: url("img/thin-shadows/BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+.ThinShadows .Shadow-L { left: -7px; width: 7px; top: 13px; background: url("img/thin-shadows/L.png") repeat-y 0 0; bottom: 9px; }
+
+.ThinRoundShadows .Shadow-T { left: 8px; right: 6px; top: -6px; background: url("img/thin-shadows1/T.png") repeat-x 0 0; height: 6px; }
+.ThinRoundShadows .Shadow-B { left: 8px; right: 6px; background: url("img/thin-shadows1/B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+.ThinRoundShadows .Shadow-TL { left: -6px; width: 14px; top: -6px; background: url("img/thin-shadows1/TL.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BR { width: 16px; right: -10px; background: url("img/thin-shadows1/BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-R { width: 10px; right: -10px; top: 9px; background: url("img/thin-shadows1/R.png") repeat-y 0 0; bottom: 6px; }
+.ThinRoundShadows .Shadow-TR { width: 16px; right: -10px; top: -6px; background: url("img/thin-shadows1/TR.png") no-repeat 0 0; height: 15px; }
+.ThinRoundShadows .Shadow-BL { left: -6px; width: 14px; background: url("img/thin-shadows1/BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+.ThinRoundShadows .Shadow-L { left: -6px; width: 6px; top: 9px; background: url("img/thin-shadows1/L.png") repeat-y 0 0; bottom: 6px; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/dlconsole.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/dlconsole.css
new file mode 100644
index 0000000..8457b0b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/dlconsole.css
@@ -0,0 +1,16 @@
+html, body { margin: 0; padding: 0; background-color: #ffee99; color: #000; }
+
+body, table { font: 13px tahoma,verdana,sans-serif; }
+
+.msg { margin: 0.5em; }
+
+.sep {
+ font-size: 1px;
+ line-height: 1px;
+ overflow: hidden;
+ height: 1px;
+ margin: 6px 0;
+ background-color: #f00;
+}
+
+.current { background-color: #fe0; }
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/all-wcprops
new file mode 100644
index 0000000..f3df1e1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/all-wcprops
@@ -0,0 +1,227 @@
+K 25
+svn:wc:ra_dav:version-url
+V 51
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img
+END
+tree-drop-here-upper.gif
+K 25
+svn:wc:ra_dav:version-url
+V 76
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/tree-drop-here-upper.gif
+END
+radiobutton-1-disabled.png
+K 25
+svn:wc:ra_dav:version-url
+V 78
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/radiobutton-1-disabled.png
+END
+resizebar-horiz.gif
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/resizebar-horiz.gif
+END
+entry-warning.png
+K 25
+svn:wc:ra_dav:version-url
+V 69
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/entry-warning.png
+END
+spinner-down.gif
+K 25
+svn:wc:ra_dav:version-url
+V 68
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/spinner-down.gif
+END
+mark-2.gif
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/mark-2.gif
+END
+mark.gif
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/mark.gif
+END
+btn-choose-file.png
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/btn-choose-file.png
+END
+grid-drop-col.gif
+K 25
+svn:wc:ra_dav:version-url
+V 69
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/grid-drop-col.gif
+END
+resizebar-vert.gif
+K 25
+svn:wc:ra_dav:version-url
+V 70
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/resizebar-vert.gif
+END
+resizebar-vert2.png
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/resizebar-vert2.png
+END
+modalbg.gif
+K 25
+svn:wc:ra_dav:version-url
+V 63
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/modalbg.gif
+END
+checkbox-0-disabled.png
+K 25
+svn:wc:ra_dav:version-url
+V 75
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/checkbox-0-disabled.png
+END
+tree-drop-here-lower.gif
+K 25
+svn:wc:ra_dav:version-url
+V 76
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/tree-drop-here-lower.gif
+END
+radiobutton-0-disabled.png
+K 25
+svn:wc:ra_dav:version-url
+V 78
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/radiobutton-0-disabled.png
+END
+btn-choose-file.gif
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/btn-choose-file.gif
+END
+spinner-up.png
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/spinner-up.png
+END
+resizebar-horiz2.png
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/resizebar-horiz2.png
+END
+resize.png
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/resize.png
+END
+tmpcal.gif
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/tmpcal.gif
+END
+tree-drop-here.gif
+K 25
+svn:wc:ra_dav:version-url
+V 70
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/tree-drop-here.gif
+END
+resizebar-vert1.gif
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/resizebar-vert1.gif
+END
+resizebar-vert2.gif
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/resizebar-vert2.gif
+END
+spinner-up.gif
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/spinner-up.gif
+END
+resizebar-horiz1.gif
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/resizebar-horiz1.gif
+END
+resize.gif
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/resize.gif
+END
+spinner-down.png
+K 25
+svn:wc:ra_dav:version-url
+V 68
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/spinner-down.png
+END
+checkbox-0.png
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/checkbox-0.png
+END
+checkbox-1.png
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/checkbox-1.png
+END
+busy1.gif
+K 25
+svn:wc:ra_dav:version-url
+V 61
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/busy1.gif
+END
+checkbox-2.png
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/checkbox-2.png
+END
+radiobutton-0.png
+K 25
+svn:wc:ra_dav:version-url
+V 69
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/radiobutton-0.png
+END
+radiobutton-1.png
+K 25
+svn:wc:ra_dav:version-url
+V 69
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/radiobutton-1.png
+END
+radiobutton-2.png
+K 25
+svn:wc:ra_dav:version-url
+V 69
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/radiobutton-2.png
+END
+checkbox-1-disabled.png
+K 25
+svn:wc:ra_dav:version-url
+V 75
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/checkbox-1-disabled.png
+END
+titlebg.png
+K 25
+svn:wc:ra_dav:version-url
+V 63
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/titlebg.png
+END
+resizebg.gif
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/resizebg.gif
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/entries
new file mode 100644
index 0000000..951235c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/entries
@@ -0,0 +1,1319 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/new-theme/img
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+tree-drop-here-upper.gif
+file
+
+
+
+
+2012-01-23T13:07:10.277353Z
+80282f4d4bbd0620982b6a0386276b29
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+74
+
+radiobutton-1-disabled.png
+file
+
+
+
+
+2012-01-23T13:07:10.277353Z
+86a0e7a91ec1932c65474e9a9ee192a4
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+404
+
+new-checkradio
+dir
+
+resizebar-horiz.gif
+file
+
+
+
+
+2012-01-23T13:07:10.277353Z
+54029b7fb9a9ad100f60bc03761c47e1
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+111
+
+spinner-down.gif
+file
+
+
+
+
+2012-01-23T13:07:10.281353Z
+4c37feea78e1070a7c4013ed7b2df453
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+821
+
+entry-warning.png
+file
+
+
+
+
+2012-01-23T13:07:10.281353Z
+242638a1e079516b153b16964080bcb0
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+787
+
+thin-shadows1
+dir
+
+mark-2.gif
+file
+
+
+
+
+2012-01-23T13:07:10.281353Z
+0a93af63dc4afcb8fd7b0b991cb8fdc6
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+848
+
+mark.gif
+file
+
+
+
+
+2012-01-23T13:07:10.281353Z
+e55cb114c5f3a6db8eb4d88f98e76e4a
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+848
+
+tree
+dir
+
+btn-choose-file.png
+file
+
+
+
+
+2012-01-23T13:07:10.281353Z
+a2c7e9a79c65a0cc5657be76c5621b16
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1340
+
+menu
+dir
+
+grid-drop-col.gif
+file
+
+
+
+
+2012-01-23T13:07:10.281353Z
+a894171ceff7d1b465398c1fa092a8af
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+65
+
+resizebar-vert.gif
+file
+
+
+
+
+2012-01-23T13:07:10.281353Z
+95c6d7889fd0308ec3aef3168dcfab49
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+108
+
+shadows
+dir
+
+modalbg.gif
+file
+
+
+
+
+2012-01-23T13:07:10.281353Z
+917081427a4fe697293572123f4ec658
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+187
+
+resizebar-vert2.png
+file
+
+
+
+
+2012-01-23T13:07:10.281353Z
+9c8221f8403895b374fd4961435b46dc
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+173
+
+checkbox-0-disabled.png
+file
+
+
+
+
+2012-01-23T13:07:10.281353Z
+bc4083221cd6c6243d319d7c4889d806
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+197
+
+tree-drop-here-lower.gif
+file
+
+
+
+
+2012-01-23T13:07:10.281353Z
+cc05a057fb09c8207e8858185bf92fbb
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+75
+
+arrows
+dir
+
+color
+dir
+
+radiobutton-0-disabled.png
+file
+
+
+
+
+2012-01-23T13:07:10.281353Z
+6c13a8b5539464086dd4f96c930137d3
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+334
+
+boxes
+dir
+
+btn-choose-file.gif
+file
+
+
+
+
+2012-01-23T13:07:10.281353Z
+ba92dcda3ab47835d4f955c2f127c63e
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+969
+
+spinner-up.png
+file
+
+
+
+
+2012-01-23T13:07:10.281353Z
+fb6455c58ff03c1c61fd62761b0e94ad
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+183
+
+resizebar-horiz2.png
+file
+
+
+
+
+2012-01-23T13:07:10.285353Z
+f911dd8bd92b64c5e1f9627029bc275b
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+172
+
+resize.png
+file
+
+
+
+
+2012-01-23T13:07:10.281353Z
+ef07fe8ae54900e560f943f4c296b803
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+228
+
+tmpcal.gif
+file
+
+
+
+
+2012-01-23T13:07:10.281353Z
+0c2e181f507315ea1d1025bd49f6b696
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+64
+
+tree-drop-here.gif
+file
+
+
+
+
+2012-01-23T13:07:10.285353Z
+19cf0aca44189942a0f6bf3f43a98ead
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+74
+
+resizebar-vert1.gif
+file
+
+
+
+
+2012-01-23T13:07:10.285353Z
+93d529b4040ae3bb8213dc098684072d
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+77
+
+resizebar-vert2.gif
+file
+
+
+
+
+2012-01-23T13:07:10.285353Z
+39e0d097a8a2f17ee34c6ce252761880
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+70
+
+dialog
+dir
+
+resizebar-horiz1.gif
+file
+
+
+
+
+2012-01-23T13:07:10.285353Z
+afb19a456060a3300518fc5022316772
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+78
+
+spinner-up.gif
+file
+
+
+
+
+2012-01-23T13:07:10.285353Z
+8c91f506558cf5caead1608831ea311f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+821
+
+resize.gif
+file
+
+
+
+
+2012-01-23T13:07:10.285353Z
+56c65c106072e19d6466aae369d330aa
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+67
+
+checkbox-0.png
+file
+
+
+
+
+2012-01-23T13:07:10.285353Z
+9e61f7d806c611df3f5a84738395047d
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+161
+
+spinner-down.png
+file
+
+
+
+
+2012-01-23T13:07:10.285353Z
+d8bc512d86948b1da1a74805d2826343
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+178
+
+busy1.gif
+file
+
+
+
+
+2012-01-23T13:07:10.285353Z
+2d169d9c5508f1c31cae5b418aa85d0b
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+82
+
+checkbox-1.png
+file
+
+
+
+
+2012-01-23T13:07:10.285353Z
+8eca744dc298cc05e4599626a5426631
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+186
+
+thin-shadows
+dir
+
+checkbox-2.png
+file
+
+
+
+
+2012-01-23T13:07:10.285353Z
+07789f9736ca93dc081d4d1e98741f64
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+217
+
+radiobutton-0.png
+file
+
+
+
+
+2012-01-23T13:07:10.285353Z
+619e38ea8ca10ff1b9b633d8f8c2a0f2
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+284
+
+icons
+dir
+
+radiobutton-1.png
+file
+
+
+
+
+2012-01-23T13:07:10.285353Z
+0a84d1d24bedba871ab2bc667379656b
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+290
+
+radiobutton-2.png
+file
+
+
+
+
+2012-01-23T13:07:10.285353Z
+3ec053a414925343b567403db8c2c2d8
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+431
+
+checkbox-1-disabled.png
+file
+
+
+
+
+2012-01-23T13:07:10.289353Z
+f56c97b381960cc990129a5da24701d7
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+221
+
+titlebg.png
+file
+
+
+
+
+2012-01-23T13:07:10.289353Z
+61334e561debb2c6136c0cfbd39870bb
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+264
+
+resizebg.gif
+file
+
+
+
+
+2012-01-23T13:07:10.289353Z
+1a76503b9348771ea279ba6c627da8cf
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+187
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/btn-choose-file.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/btn-choose-file.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/btn-choose-file.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/btn-choose-file.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/btn-choose-file.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/btn-choose-file.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/busy1.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/busy1.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/busy1.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-0-disabled.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-0-disabled.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-0-disabled.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-0.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-0.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-0.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-1-disabled.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-1-disabled.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-1-disabled.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-1.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-1.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-1.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-2.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-2.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/checkbox-2.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/entry-warning.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/entry-warning.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/entry-warning.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/grid-drop-col.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/grid-drop-col.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/grid-drop-col.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/mark-2.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/mark-2.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/mark-2.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/mark.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/mark.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/mark.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/modalbg.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/modalbg.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/modalbg.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-0-disabled.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-0-disabled.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-0-disabled.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-0.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-0.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-0.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-1-disabled.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-1-disabled.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-1-disabled.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-1.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-1.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-1.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-2.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-2.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/radiobutton-2.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resize.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resize.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resize.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resize.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resize.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resize.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-horiz.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-horiz.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-horiz.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-horiz1.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-horiz1.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-horiz1.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-horiz2.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-horiz2.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-horiz2.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-vert.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-vert.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-vert.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-vert1.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-vert1.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-vert1.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-vert2.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-vert2.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-vert2.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-vert2.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-vert2.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebar-vert2.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebg.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebg.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/resizebg.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/spinner-down.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/spinner-down.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/spinner-down.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/spinner-down.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/spinner-down.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/spinner-down.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/spinner-up.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/spinner-up.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/spinner-up.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/spinner-up.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/spinner-up.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/spinner-up.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/titlebg.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/titlebg.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/titlebg.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/tmpcal.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/tmpcal.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/tmpcal.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/tree-drop-here-lower.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/tree-drop-here-lower.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/tree-drop-here-lower.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/tree-drop-here-upper.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/tree-drop-here-upper.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/tree-drop-here-upper.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/tree-drop-here.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/tree-drop-here.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/prop-base/tree-drop-here.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/btn-choose-file.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/btn-choose-file.gif.svn-base
new file mode 100644
index 0000000..192eb35
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/btn-choose-file.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/btn-choose-file.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/btn-choose-file.png.svn-base
new file mode 100644
index 0000000..9a31a04
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/btn-choose-file.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/busy1.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/busy1.gif.svn-base
new file mode 100644
index 0000000..a7f0e40
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/busy1.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-0-disabled.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-0-disabled.png.svn-base
new file mode 100644
index 0000000..94b5654
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-0-disabled.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-0.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-0.png.svn-base
new file mode 100644
index 0000000..aef29fa
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-0.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-1-disabled.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-1-disabled.png.svn-base
new file mode 100644
index 0000000..23bc4ca
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-1-disabled.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-1.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-1.png.svn-base
new file mode 100644
index 0000000..3522129
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-1.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-2.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-2.png.svn-base
new file mode 100644
index 0000000..0b7def7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/checkbox-2.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/entry-warning.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/entry-warning.png.svn-base
new file mode 100644
index 0000000..fe60da1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/entry-warning.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/grid-drop-col.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/grid-drop-col.gif.svn-base
new file mode 100644
index 0000000..5626c54
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/grid-drop-col.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/mark-2.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/mark-2.gif.svn-base
new file mode 100644
index 0000000..3692652
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/mark-2.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/mark.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/mark.gif.svn-base
new file mode 100644
index 0000000..2faf63d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/mark.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/modalbg.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/modalbg.gif.svn-base
new file mode 100644
index 0000000..a5fa38e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/modalbg.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-0-disabled.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-0-disabled.png.svn-base
new file mode 100644
index 0000000..5d1000c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-0-disabled.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-0.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-0.png.svn-base
new file mode 100644
index 0000000..2fd8d7a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-0.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-1-disabled.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-1-disabled.png.svn-base
new file mode 100644
index 0000000..fbda731
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-1-disabled.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-1.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-1.png.svn-base
new file mode 100644
index 0000000..0920878
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-1.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-2.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-2.png.svn-base
new file mode 100644
index 0000000..ee74c10
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/radiobutton-2.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resize.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resize.gif.svn-base
new file mode 100644
index 0000000..d7cbec9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resize.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resize.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resize.png.svn-base
new file mode 100644
index 0000000..9ae71c4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resize.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-horiz.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-horiz.gif.svn-base
new file mode 100644
index 0000000..32740f1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-horiz.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-horiz1.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-horiz1.gif.svn-base
new file mode 100644
index 0000000..4e3efc1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-horiz1.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-horiz2.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-horiz2.png.svn-base
new file mode 100644
index 0000000..ffc6d5b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-horiz2.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-vert.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-vert.gif.svn-base
new file mode 100644
index 0000000..7acb067
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-vert.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-vert1.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-vert1.gif.svn-base
new file mode 100644
index 0000000..91f1919
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-vert1.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-vert2.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-vert2.gif.svn-base
new file mode 100644
index 0000000..dfa09d8
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-vert2.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-vert2.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-vert2.png.svn-base
new file mode 100644
index 0000000..a906c7f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebar-vert2.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebg.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebg.gif.svn-base
new file mode 100644
index 0000000..290d9ad
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/resizebg.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/spinner-down.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/spinner-down.gif.svn-base
new file mode 100644
index 0000000..0b2f0d7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/spinner-down.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/spinner-down.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/spinner-down.png.svn-base
new file mode 100644
index 0000000..b9bbfdb
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/spinner-down.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/spinner-up.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/spinner-up.gif.svn-base
new file mode 100644
index 0000000..0d68940
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/spinner-up.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/spinner-up.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/spinner-up.png.svn-base
new file mode 100644
index 0000000..e56a9dc
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/spinner-up.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/titlebg.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/titlebg.png.svn-base
new file mode 100644
index 0000000..7663f97
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/titlebg.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/tmpcal.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/tmpcal.gif.svn-base
new file mode 100644
index 0000000..1c1934a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/tmpcal.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/tree-drop-here-lower.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/tree-drop-here-lower.gif.svn-base
new file mode 100644
index 0000000..4058111
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/tree-drop-here-lower.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/tree-drop-here-upper.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/tree-drop-here-upper.gif.svn-base
new file mode 100644
index 0000000..326cf6a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/tree-drop-here-upper.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/tree-drop-here.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/tree-drop-here.gif.svn-base
new file mode 100644
index 0000000..56f2706
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/.svn/text-base/tree-drop-here.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/all-wcprops
new file mode 100644
index 0000000..f186b33
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/all-wcprops
@@ -0,0 +1,83 @@
+K 25
+svn:wc:ra_dav:version-url
+V 58
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/arrows
+END
+dropdown.png
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/arrows/dropdown.png
+END
+nav-left.gif
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/arrows/nav-left.gif
+END
+nav-right.gif
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/arrows/nav-right.gif
+END
+scroll-up.gif
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/arrows/scroll-up.gif
+END
+sort-ascending.gif
+K 25
+svn:wc:ra_dav:version-url
+V 77
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/arrows/sort-ascending.gif
+END
+scroll-up-hover.gif
+K 25
+svn:wc:ra_dav:version-url
+V 78
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/arrows/scroll-up-hover.gif
+END
+nav-left-x2.gif
+K 25
+svn:wc:ra_dav:version-url
+V 74
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/arrows/nav-left-x2.gif
+END
+scroll-down.gif
+K 25
+svn:wc:ra_dav:version-url
+V 74
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/arrows/scroll-down.gif
+END
+scroll-down-hover.gif
+K 25
+svn:wc:ra_dav:version-url
+V 80
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/arrows/scroll-down-hover.gif
+END
+scroll-up-disabled.gif
+K 25
+svn:wc:ra_dav:version-url
+V 81
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/arrows/scroll-up-disabled.gif
+END
+nav-right-x2.gif
+K 25
+svn:wc:ra_dav:version-url
+V 75
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/arrows/nav-right-x2.gif
+END
+scroll-down-disabled.gif
+K 25
+svn:wc:ra_dav:version-url
+V 83
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/arrows/scroll-down-disabled.gif
+END
+sort-descending.gif
+K 25
+svn:wc:ra_dav:version-url
+V 78
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/arrows/sort-descending.gif
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/entries
new file mode 100644
index 0000000..171584a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/entries
@@ -0,0 +1,470 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/new-theme/img/arrows
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+dropdown.png
+file
+
+
+
+
+2012-01-23T13:07:10.213352Z
+944460b2671497c2a16cacd7ba945f86
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+180
+
+nav-left.gif
+file
+
+
+
+
+2012-01-23T13:07:10.213352Z
+c6e3ed0c0b69b22e2e76038adbc8177a
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+66
+
+nav-right.gif
+file
+
+
+
+
+2012-01-23T13:07:10.213352Z
+b9bc88e4614c2516f8aba9cf83a0bc22
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+64
+
+scroll-up.gif
+file
+
+
+
+
+2012-01-23T13:07:10.213352Z
+64d7b2f2f8bfc734e30376c29cfbad09
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+57
+
+sort-ascending.gif
+file
+
+
+
+
+2012-01-23T13:07:10.213352Z
+d21ce7aa9dcc7b8ddee7bb8127317f31
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+67
+
+scroll-up-hover.gif
+file
+
+
+
+
+2012-01-23T13:07:10.213352Z
+dcfb08611d413a42dd58c602495de356
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+57
+
+nav-left-x2.gif
+file
+
+
+
+
+2012-01-23T13:07:10.213352Z
+b27f14b7ae2bfbb13e7a9b5abaf2d2d6
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+76
+
+scroll-down.gif
+file
+
+
+
+
+2012-01-23T13:07:10.213352Z
+932f7966704e079fdc81c3d7dd382e70
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+58
+
+scroll-down-hover.gif
+file
+
+
+
+
+2012-01-23T13:07:10.213352Z
+b1e698c80fd3d7aaf4183d3c990d9a47
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+58
+
+scroll-up-disabled.gif
+file
+
+
+
+
+2012-01-23T13:07:10.213352Z
+67d88aa0b0eb6f5d5cd40bbaafe2d915
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+57
+
+nav-right-x2.gif
+file
+
+
+
+
+2012-01-23T13:07:10.217352Z
+328ab630fa2f4ba5c90121fd528c6a50
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+75
+
+scroll-down-disabled.gif
+file
+
+
+
+
+2012-01-23T13:07:10.217352Z
+bfdee5038ef49e2ec04bc97a5f2914b4
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+58
+
+sort-descending.gif
+file
+
+
+
+
+2012-01-23T13:07:10.217352Z
+81a1d5184e8513868a9c7d9fe95f0d77
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+64
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/dropdown.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/dropdown.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/dropdown.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/nav-left-x2.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/nav-left-x2.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/nav-left-x2.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/nav-left.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/nav-left.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/nav-left.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/nav-right-x2.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/nav-right-x2.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/nav-right-x2.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/nav-right.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/nav-right.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/nav-right.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-down-disabled.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-down-disabled.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-down-disabled.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-down-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-down-hover.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-down-hover.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-down.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-down.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-down.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-up-disabled.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-up-disabled.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-up-disabled.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-up-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-up-hover.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-up-hover.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-up.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-up.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/scroll-up.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/sort-ascending.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/sort-ascending.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/sort-ascending.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/sort-descending.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/sort-descending.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/prop-base/sort-descending.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/dropdown.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/dropdown.png.svn-base
new file mode 100644
index 0000000..0ab3c2a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/dropdown.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/nav-left-x2.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/nav-left-x2.gif.svn-base
new file mode 100644
index 0000000..e842777
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/nav-left-x2.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/nav-left.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/nav-left.gif.svn-base
new file mode 100644
index 0000000..927325b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/nav-left.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/nav-right-x2.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/nav-right-x2.gif.svn-base
new file mode 100644
index 0000000..4b2e7e0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/nav-right-x2.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/nav-right.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/nav-right.gif.svn-base
new file mode 100644
index 0000000..f6a903e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/nav-right.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-down-disabled.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-down-disabled.gif.svn-base
new file mode 100644
index 0000000..7d24bb4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-down-disabled.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-down-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-down-hover.gif.svn-base
new file mode 100644
index 0000000..8ad97f6
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-down-hover.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-down.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-down.gif.svn-base
new file mode 100644
index 0000000..08d8c58
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-down.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-up-disabled.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-up-disabled.gif.svn-base
new file mode 100644
index 0000000..3b5b1a0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-up-disabled.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-up-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-up-hover.gif.svn-base
new file mode 100644
index 0000000..6b1a249
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-up-hover.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-up.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-up.gif.svn-base
new file mode 100644
index 0000000..3c61e6b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/scroll-up.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/sort-ascending.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/sort-ascending.gif.svn-base
new file mode 100644
index 0000000..b6570b1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/sort-ascending.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/sort-descending.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/sort-descending.gif.svn-base
new file mode 100644
index 0000000..86ad20a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/.svn/text-base/sort-descending.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/dropdown.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/dropdown.png
new file mode 100644
index 0000000..0ab3c2a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/dropdown.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/nav-left-x2.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/nav-left-x2.gif
new file mode 100644
index 0000000..e842777
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/nav-left-x2.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/nav-left.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/nav-left.gif
new file mode 100644
index 0000000..927325b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/nav-left.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/nav-right-x2.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/nav-right-x2.gif
new file mode 100644
index 0000000..4b2e7e0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/nav-right-x2.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/nav-right.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/nav-right.gif
new file mode 100644
index 0000000..f6a903e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/nav-right.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-down-disabled.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-down-disabled.gif
new file mode 100644
index 0000000..7d24bb4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-down-disabled.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-down-hover.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-down-hover.gif
new file mode 100644
index 0000000..8ad97f6
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-down-hover.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-down.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-down.gif
new file mode 100644
index 0000000..08d8c58
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-down.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-up-disabled.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-up-disabled.gif
new file mode 100644
index 0000000..3b5b1a0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-up-disabled.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-up-hover.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-up-hover.gif
new file mode 100644
index 0000000..6b1a249
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-up-hover.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-up.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-up.gif
new file mode 100644
index 0000000..3c61e6b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/scroll-up.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/sort-ascending.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/sort-ascending.gif
new file mode 100644
index 0000000..b6570b1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/sort-ascending.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/sort-descending.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/sort-descending.gif
new file mode 100644
index 0000000..86ad20a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/arrows/sort-descending.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/all-wcprops
new file mode 100644
index 0000000..805394e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/all-wcprops
@@ -0,0 +1,41 @@
+K 25
+svn:wc:ra_dav:version-url
+V 57
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/boxes
+END
+shadow-dim.png
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/boxes/shadow-dim.png
+END
+shadow-vb-dim.png
+K 25
+svn:wc:ra_dav:version-url
+V 75
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/boxes/shadow-vb-dim.png
+END
+s1.png
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/boxes/s1.png
+END
+shadow.png
+K 25
+svn:wc:ra_dav:version-url
+V 68
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/boxes/shadow.png
+END
+s1-dim.png
+K 25
+svn:wc:ra_dav:version-url
+V 68
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/boxes/s1-dim.png
+END
+shadow-vb.png
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/boxes/shadow-vb.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/entries
new file mode 100644
index 0000000..4a8bee6
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/entries
@@ -0,0 +1,232 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/new-theme/img/boxes
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+shadow-dim.png
+file
+
+
+
+
+2012-01-23T13:07:10.229353Z
+b66d22f5a2f00a29427ced33a9ec2feb
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1891
+
+shadow-vb-dim.png
+file
+
+
+
+
+2012-01-23T13:07:10.229353Z
+b0c759706a98100ce381e5db87867dcc
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+316
+
+s1.png
+file
+
+
+
+
+2012-01-23T13:07:10.229353Z
+5d89eb961bf3db8ad66491657c90c25f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+7546
+
+shadow.png
+file
+
+
+
+
+2012-01-23T13:07:10.229353Z
+0201cbb99da66a3358f0638bbe3a166e
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+2178
+
+s1-dim.png
+file
+
+
+
+
+2012-01-23T13:07:10.229353Z
+26da7a48f53e7acf5b2942fe8a08af34
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+7506
+
+shadow-vb.png
+file
+
+
+
+
+2012-01-23T13:07:10.229353Z
+9d70573b9dd03cc458a67c9d93cefab9
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+340
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/s1-dim.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/s1-dim.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/s1-dim.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/s1.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/s1.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/s1.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/shadow-dim.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/shadow-dim.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/shadow-dim.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/shadow-vb-dim.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/shadow-vb-dim.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/shadow-vb-dim.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/shadow-vb.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/shadow-vb.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/shadow-vb.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/shadow.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/shadow.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/prop-base/shadow.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/s1-dim.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/s1-dim.png.svn-base
new file mode 100644
index 0000000..c3ea5d9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/s1-dim.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/s1.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/s1.png.svn-base
new file mode 100644
index 0000000..861b7b9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/s1.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/shadow-dim.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/shadow-dim.png.svn-base
new file mode 100644
index 0000000..0a9ee04
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/shadow-dim.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/shadow-vb-dim.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/shadow-vb-dim.png.svn-base
new file mode 100644
index 0000000..97aa7f9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/shadow-vb-dim.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/shadow-vb.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/shadow-vb.png.svn-base
new file mode 100644
index 0000000..51fbe08
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/shadow-vb.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/shadow.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/shadow.png.svn-base
new file mode 100644
index 0000000..7e8239a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/.svn/text-base/shadow.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/s1-dim.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/s1-dim.png
new file mode 100644
index 0000000..c3ea5d9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/s1-dim.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/s1.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/s1.png
new file mode 100644
index 0000000..861b7b9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/s1.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/shadow-dim.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/shadow-dim.png
new file mode 100644
index 0000000..0a9ee04
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/shadow-dim.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/shadow-vb-dim.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/shadow-vb-dim.png
new file mode 100644
index 0000000..97aa7f9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/shadow-vb-dim.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/shadow-vb.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/shadow-vb.png
new file mode 100644
index 0000000..51fbe08
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/shadow-vb.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/shadow.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/shadow.png
new file mode 100644
index 0000000..7e8239a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/boxes/shadow.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/btn-choose-file.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/btn-choose-file.gif
new file mode 100644
index 0000000..192eb35
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/btn-choose-file.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/btn-choose-file.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/btn-choose-file.png
new file mode 100644
index 0000000..9a31a04
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/btn-choose-file.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/busy1.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/busy1.gif
new file mode 100644
index 0000000..a7f0e40
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/busy1.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-0-disabled.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-0-disabled.png
new file mode 100644
index 0000000..94b5654
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-0-disabled.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-0.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-0.png
new file mode 100644
index 0000000..aef29fa
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-0.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-1-disabled.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-1-disabled.png
new file mode 100644
index 0000000..23bc4ca
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-1-disabled.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-1.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-1.png
new file mode 100644
index 0000000..3522129
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-1.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-2.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-2.png
new file mode 100644
index 0000000..0b7def7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/checkbox-2.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/.svn/all-wcprops
new file mode 100644
index 0000000..ab0a1de
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/.svn/all-wcprops
@@ -0,0 +1,11 @@
+K 25
+svn:wc:ra_dav:version-url
+V 57
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/color
+END
+hue.png
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/color/hue.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/.svn/entries
new file mode 100644
index 0000000..d9a3f28
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/.svn/entries
@@ -0,0 +1,62 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/new-theme/img/color
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+hue.png
+file
+
+
+
+
+2012-01-23T13:07:10.221352Z
+fb3527cd31a3bdb358250d1557fbbe26
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+338
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/.svn/prop-base/hue.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/.svn/prop-base/hue.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/.svn/prop-base/hue.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/.svn/text-base/hue.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/.svn/text-base/hue.png.svn-base
new file mode 100644
index 0000000..cf0d7ce
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/.svn/text-base/hue.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/hue.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/hue.png
new file mode 100644
index 0000000..cf0d7ce
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/color/hue.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/all-wcprops
new file mode 100644
index 0000000..e62661b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/all-wcprops
@@ -0,0 +1,71 @@
+K 25
+svn:wc:ra_dav:version-url
+V 58
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/dialog
+END
+quit-btn-active.png
+K 25
+svn:wc:ra_dav:version-url
+V 78
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/dialog/quit-btn-active.png
+END
+maximize-btn-active.png
+K 25
+svn:wc:ra_dav:version-url
+V 82
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/dialog/maximize-btn-active.png
+END
+buttons.png
+K 25
+svn:wc:ra_dav:version-url
+V 70
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/dialog/buttons.png
+END
+minimize-btn.png
+K 25
+svn:wc:ra_dav:version-url
+V 75
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/dialog/minimize-btn.png
+END
+minimize-btn-hover.png
+K 25
+svn:wc:ra_dav:version-url
+V 81
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/dialog/minimize-btn-hover.png
+END
+quit-btn.png
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/dialog/quit-btn.png
+END
+maximize-btn.png
+K 25
+svn:wc:ra_dav:version-url
+V 75
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/dialog/maximize-btn.png
+END
+quit-btn-hover.png
+K 25
+svn:wc:ra_dav:version-url
+V 77
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/dialog/quit-btn-hover.png
+END
+maximize-btn-hover.png
+K 25
+svn:wc:ra_dav:version-url
+V 81
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/dialog/maximize-btn-hover.png
+END
+montage
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/dialog/montage
+END
+minimize-btn-active.png
+K 25
+svn:wc:ra_dav:version-url
+V 82
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/dialog/minimize-btn-active.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/entries
new file mode 100644
index 0000000..c13cc28
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/entries
@@ -0,0 +1,402 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/new-theme/img/dialog
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+quit-btn-active.png
+file
+
+
+
+
+2012-01-23T13:07:10.249353Z
+2a7c2282ac75616bc74ead3d2f0bd7de
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+893
+
+maximize-btn-active.png
+file
+
+
+
+
+2012-01-23T13:07:10.249353Z
+1f349964fc3fd1a97941e39ff962cf12
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+562
+
+buttons.png
+file
+
+
+
+
+2012-01-23T13:07:10.249353Z
+538a4b79b16cdc9e89f586efd28e7a54
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4917
+
+minimize-btn.png
+file
+
+
+
+
+2012-01-23T13:07:10.249353Z
+04052fb5ef1a080154b08f9f8086a7df
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+613
+
+minimize-btn-hover.png
+file
+
+
+
+
+2012-01-23T13:07:10.249353Z
+e518a453a9eb24a2eb7e66668f50bab5
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+609
+
+quit-btn.png
+file
+
+
+
+
+2012-01-23T13:07:10.249353Z
+584e5c7054b8f799c50f7aaeede5b4ce
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+949
+
+maximize-btn.png
+file
+
+
+
+
+2012-01-23T13:07:10.249353Z
+03cfad09ae02ac4c80eb0c35df1919ba
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+611
+
+quit-btn-hover.png
+file
+
+
+
+
+2012-01-23T13:07:10.249353Z
+21b5e0c6930aaad87182a5339321198f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+943
+
+maximize-btn-hover.png
+file
+
+
+
+
+2012-01-23T13:07:10.249353Z
+0818a9c8f49ff46f858b18ad81af0ebe
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+645
+
+montage
+file
+
+
+
+
+2012-01-23T13:07:10.249353Z
+5540f30d17a4f81fb20ac0f59adbe6f1
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+244
+
+minimize-btn-active.png
+file
+
+
+
+
+2012-01-23T13:07:10.249353Z
+32ac34bf7a21d12e9b686692e21679b7
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+512
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/buttons.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/buttons.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/buttons.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/maximize-btn-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/maximize-btn-active.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/maximize-btn-active.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/maximize-btn-hover.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/maximize-btn-hover.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/maximize-btn-hover.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/maximize-btn.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/maximize-btn.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/maximize-btn.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/minimize-btn-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/minimize-btn-active.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/minimize-btn-active.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/minimize-btn-hover.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/minimize-btn-hover.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/minimize-btn-hover.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/minimize-btn.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/minimize-btn.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/minimize-btn.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/quit-btn-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/quit-btn-active.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/quit-btn-active.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/quit-btn-hover.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/quit-btn-hover.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/quit-btn-hover.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/quit-btn.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/quit-btn.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/prop-base/quit-btn.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/buttons.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/buttons.png.svn-base
new file mode 100644
index 0000000..1e8b14a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/buttons.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/maximize-btn-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/maximize-btn-active.png.svn-base
new file mode 100644
index 0000000..b632d07
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/maximize-btn-active.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/maximize-btn-hover.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/maximize-btn-hover.png.svn-base
new file mode 100644
index 0000000..c3c37dc
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/maximize-btn-hover.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/maximize-btn.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/maximize-btn.png.svn-base
new file mode 100644
index 0000000..1b4aa86
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/maximize-btn.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/minimize-btn-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/minimize-btn-active.png.svn-base
new file mode 100644
index 0000000..38b072e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/minimize-btn-active.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/minimize-btn-hover.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/minimize-btn-hover.png.svn-base
new file mode 100644
index 0000000..2037c0d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/minimize-btn-hover.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/minimize-btn.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/minimize-btn.png.svn-base
new file mode 100644
index 0000000..56afb0a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/minimize-btn.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/montage.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/montage.svn-base
new file mode 100644
index 0000000..04ae16b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/montage.svn-base
@@ -0,0 +1 @@
+montage -adjoin -background transparent -geometry 27x16 quit-btn.png quit-btn-hover.png quit-btn-active.png maximize-btn.png maximize-btn-hover.png maximize-btn-active.png minimize-btn.png minimize-btn-hover.png minimize-btn-active.png tmp.png
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/quit-btn-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/quit-btn-active.png.svn-base
new file mode 100644
index 0000000..860defd
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/quit-btn-active.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/quit-btn-hover.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/quit-btn-hover.png.svn-base
new file mode 100644
index 0000000..83bb6a0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/quit-btn-hover.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/quit-btn.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/quit-btn.png.svn-base
new file mode 100644
index 0000000..e6e20cc
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/.svn/text-base/quit-btn.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/buttons.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/buttons.png
new file mode 100644
index 0000000..1e8b14a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/buttons.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/maximize-btn-active.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/maximize-btn-active.png
new file mode 100644
index 0000000..b632d07
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/maximize-btn-active.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/maximize-btn-hover.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/maximize-btn-hover.png
new file mode 100644
index 0000000..c3c37dc
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/maximize-btn-hover.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/maximize-btn.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/maximize-btn.png
new file mode 100644
index 0000000..1b4aa86
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/maximize-btn.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/minimize-btn-active.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/minimize-btn-active.png
new file mode 100644
index 0000000..38b072e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/minimize-btn-active.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/minimize-btn-hover.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/minimize-btn-hover.png
new file mode 100644
index 0000000..2037c0d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/minimize-btn-hover.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/minimize-btn.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/minimize-btn.png
new file mode 100644
index 0000000..56afb0a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/minimize-btn.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/montage b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/montage
new file mode 100644
index 0000000..04ae16b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/montage
@@ -0,0 +1 @@
+montage -adjoin -background transparent -geometry 27x16 quit-btn.png quit-btn-hover.png quit-btn-active.png maximize-btn.png maximize-btn-hover.png maximize-btn-active.png minimize-btn.png minimize-btn-hover.png minimize-btn-active.png tmp.png
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/quit-btn-active.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/quit-btn-active.png
new file mode 100644
index 0000000..860defd
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/quit-btn-active.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/quit-btn-hover.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/quit-btn-hover.png
new file mode 100644
index 0000000..83bb6a0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/quit-btn-hover.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/quit-btn.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/quit-btn.png
new file mode 100644
index 0000000..e6e20cc
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/dialog/quit-btn.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/entry-warning.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/entry-warning.png
new file mode 100644
index 0000000..fe60da1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/entry-warning.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/grid-drop-col.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/grid-drop-col.gif
new file mode 100644
index 0000000..5626c54
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/grid-drop-col.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/all-wcprops
new file mode 100644
index 0000000..6c13919
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/all-wcprops
@@ -0,0 +1,29 @@
+K 25
+svn:wc:ra_dav:version-url
+V 57
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/icons
+END
+dynarch-small.png
+K 25
+svn:wc:ra_dav:version-url
+V 75
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/icons/dynarch-small.png
+END
+colors.png
+K 25
+svn:wc:ra_dav:version-url
+V 68
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/icons/colors.png
+END
+gnome-fs-chardev.png
+K 25
+svn:wc:ra_dav:version-url
+V 78
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/icons/gnome-fs-chardev.png
+END
+calendar.png
+K 25
+svn:wc:ra_dav:version-url
+V 70
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/icons/calendar.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/entries
new file mode 100644
index 0000000..a2a3896
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/entries
@@ -0,0 +1,164 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/new-theme/img/icons
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+dynarch-small.png
+file
+
+
+
+
+2012-01-23T13:07:10.273353Z
+5852f382fbee30bae261103828131a89
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+348
+
+colors.png
+file
+
+
+
+
+2012-01-23T13:07:10.273353Z
+488ece1b89da36b136857b05c0314083
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+290
+
+gnome-fs-chardev.png
+file
+
+
+
+
+2012-01-23T13:07:10.273353Z
+6a806210312568e13c22917b9958fc7d
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+777
+
+calendar.png
+file
+
+
+
+
+2012-01-23T13:07:10.273353Z
+39fc42939724eeed99fc0f9554e2a6d7
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+871
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/prop-base/calendar.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/prop-base/calendar.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/prop-base/calendar.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/prop-base/colors.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/prop-base/colors.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/prop-base/colors.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/prop-base/dynarch-small.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/prop-base/dynarch-small.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/prop-base/dynarch-small.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/prop-base/gnome-fs-chardev.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/prop-base/gnome-fs-chardev.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/prop-base/gnome-fs-chardev.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/text-base/calendar.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/text-base/calendar.png.svn-base
new file mode 100644
index 0000000..fbf29f5
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/text-base/calendar.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/text-base/colors.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/text-base/colors.png.svn-base
new file mode 100644
index 0000000..374b09e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/text-base/colors.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/text-base/dynarch-small.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/text-base/dynarch-small.png.svn-base
new file mode 100644
index 0000000..a9a8cb1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/text-base/dynarch-small.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/text-base/gnome-fs-chardev.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/text-base/gnome-fs-chardev.png.svn-base
new file mode 100644
index 0000000..261b24d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/.svn/text-base/gnome-fs-chardev.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/calendar.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/calendar.png
new file mode 100644
index 0000000..fbf29f5
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/calendar.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/colors.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/colors.png
new file mode 100644
index 0000000..374b09e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/colors.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/dynarch-small.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/dynarch-small.png
new file mode 100644
index 0000000..a9a8cb1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/dynarch-small.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/gnome-fs-chardev.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/gnome-fs-chardev.png
new file mode 100644
index 0000000..261b24d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/icons/gnome-fs-chardev.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/mark-2.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/mark-2.gif
new file mode 100644
index 0000000..3692652
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/mark-2.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/mark.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/mark.gif
new file mode 100644
index 0000000..2faf63d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/mark.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/all-wcprops
new file mode 100644
index 0000000..c3150ed
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/all-wcprops
@@ -0,0 +1,29 @@
+K 25
+svn:wc:ra_dav:version-url
+V 56
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/menu
+END
+rarrow.gif
+K 25
+svn:wc:ra_dav:version-url
+V 67
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/menu/rarrow.gif
+END
+rarrow-hover.gif
+K 25
+svn:wc:ra_dav:version-url
+V 73
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/menu/rarrow-hover.gif
+END
+darrow.gif
+K 25
+svn:wc:ra_dav:version-url
+V 67
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/menu/darrow.gif
+END
+darrow-small.gif
+K 25
+svn:wc:ra_dav:version-url
+V 73
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/menu/darrow-small.gif
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/entries
new file mode 100644
index 0000000..7a729cf
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/entries
@@ -0,0 +1,164 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/new-theme/img/menu
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+rarrow.gif
+file
+
+
+
+
+2012-01-23T13:07:10.149352Z
+2dac040c1b40dee77b2f5aa6188f0de1
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+85
+
+rarrow-hover.gif
+file
+
+
+
+
+2012-01-23T13:07:10.149352Z
+08217a7db7472206a0755b3c77d22735
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+85
+
+darrow.gif
+file
+
+
+
+
+2012-01-23T13:07:10.153352Z
+11b046043208ea20babb404aadfeff57
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+82
+
+darrow-small.gif
+file
+
+
+
+
+2012-01-23T13:07:10.153352Z
+9a628f5031c0285592718de427f9d3eb
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+49
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/prop-base/darrow-small.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/prop-base/darrow-small.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/prop-base/darrow-small.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/prop-base/darrow.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/prop-base/darrow.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/prop-base/darrow.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/prop-base/rarrow-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/prop-base/rarrow-hover.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/prop-base/rarrow-hover.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/prop-base/rarrow.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/prop-base/rarrow.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/prop-base/rarrow.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/text-base/darrow-small.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/text-base/darrow-small.gif.svn-base
new file mode 100644
index 0000000..0d55289
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/text-base/darrow-small.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/text-base/darrow.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/text-base/darrow.gif.svn-base
new file mode 100644
index 0000000..d601ef4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/text-base/darrow.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/text-base/rarrow-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/text-base/rarrow-hover.gif.svn-base
new file mode 100644
index 0000000..a627e45
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/text-base/rarrow-hover.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/text-base/rarrow.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/text-base/rarrow.gif.svn-base
new file mode 100644
index 0000000..0716499
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/.svn/text-base/rarrow.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/darrow-small.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/darrow-small.gif
new file mode 100644
index 0000000..0d55289
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/darrow-small.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/darrow.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/darrow.gif
new file mode 100644
index 0000000..d601ef4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/darrow.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/rarrow-hover.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/rarrow-hover.gif
new file mode 100644
index 0000000..a627e45
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/rarrow-hover.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/rarrow.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/rarrow.gif
new file mode 100644
index 0000000..0716499
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/menu/rarrow.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/modalbg.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/modalbg.gif
new file mode 100644
index 0000000..a5fa38e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/modalbg.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/all-wcprops
new file mode 100644
index 0000000..c64bb0f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/all-wcprops
@@ -0,0 +1,155 @@
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio
+END
+opt-line-active.png
+K 25
+svn:wc:ra_dav:version-url
+V 86
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/opt-line-active.png
+END
+check-line-insensitive.png
+K 25
+svn:wc:ra_dav:version-url
+V 93
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/check-line-insensitive.png
+END
+check-normal-insensitive.png
+K 25
+svn:wc:ra_dav:version-url
+V 95
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/check-normal-insensitive.png
+END
+opt-normal-active.png
+K 25
+svn:wc:ra_dav:version-url
+V 88
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/opt-normal-active.png
+END
+check-line.png
+K 25
+svn:wc:ra_dav:version-url
+V 81
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/check-line.png
+END
+opt-line-prelight.png
+K 25
+svn:wc:ra_dav:version-url
+V 88
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/opt-line-prelight.png
+END
+check-normal.png
+K 25
+svn:wc:ra_dav:version-url
+V 83
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/check-normal.png
+END
+check-mark-insensitive.png
+K 25
+svn:wc:ra_dav:version-url
+V 93
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/check-mark-insensitive.png
+END
+opt-mark-active.png
+K 25
+svn:wc:ra_dav:version-url
+V 86
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/opt-mark-active.png
+END
+opt-normal-prelight.png
+K 25
+svn:wc:ra_dav:version-url
+V 90
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/opt-normal-prelight.png
+END
+check-mark.png
+K 25
+svn:wc:ra_dav:version-url
+V 81
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/check-mark.png
+END
+opt-mark-prelight.png
+K 25
+svn:wc:ra_dav:version-url
+V 88
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/opt-mark-prelight.png
+END
+check-line-active.png
+K 25
+svn:wc:ra_dav:version-url
+V 88
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/check-line-active.png
+END
+check-normal-active.png
+K 25
+svn:wc:ra_dav:version-url
+V 90
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/check-normal-active.png
+END
+checkfocus.png
+K 25
+svn:wc:ra_dav:version-url
+V 81
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/checkfocus.png
+END
+check-mark-active.png
+K 25
+svn:wc:ra_dav:version-url
+V 88
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/check-mark-active.png
+END
+check-line-prelight.png
+K 25
+svn:wc:ra_dav:version-url
+V 90
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/check-line-prelight.png
+END
+check-normal-prelight.png
+K 25
+svn:wc:ra_dav:version-url
+V 92
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/check-normal-prelight.png
+END
+check-mark-prelight.png
+K 25
+svn:wc:ra_dav:version-url
+V 90
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/check-mark-prelight.png
+END
+opt-line-insensitive.png
+K 25
+svn:wc:ra_dav:version-url
+V 91
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/opt-line-insensitive.png
+END
+opt-normal-insensitive.png
+K 25
+svn:wc:ra_dav:version-url
+V 93
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/opt-normal-insensitive.png
+END
+opt-line.png
+K 25
+svn:wc:ra_dav:version-url
+V 79
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/opt-line.png
+END
+opt-mark-insensitive.png
+K 25
+svn:wc:ra_dav:version-url
+V 91
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/opt-mark-insensitive.png
+END
+opt-normal.png
+K 25
+svn:wc:ra_dav:version-url
+V 81
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/opt-normal.png
+END
+opt-mark.png
+K 25
+svn:wc:ra_dav:version-url
+V 79
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/new-checkradio/opt-mark.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/entries
new file mode 100644
index 0000000..cc33bb2
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/entries
@@ -0,0 +1,878 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/new-theme/img/new-checkradio
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+opt-line-active.png
+file
+
+
+
+
+2012-01-23T13:07:10.109352Z
+4cbdd9d667d3ef1797d8fe2597cdd303
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+661
+
+check-line-insensitive.png
+file
+
+
+
+
+2012-01-23T13:07:10.109352Z
+7340f1df7d2503982995e4d17cb296f7
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+358
+
+check-normal-insensitive.png
+file
+
+
+
+
+2012-01-23T13:07:10.109352Z
+e16bf03b40b771099ee5d63f47d98714
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+330
+
+opt-normal-active.png
+file
+
+
+
+
+2012-01-23T13:07:10.109352Z
+d8c247fb84e09d24e1363bae0ed5b7ef
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+730
+
+check-line.png
+file
+
+
+
+
+2012-01-23T13:07:10.109352Z
+76933aea0bec9b4e5231ab3321704920
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+374
+
+opt-line-prelight.png
+file
+
+
+
+
+2012-01-23T13:07:10.113352Z
+d8b75c7462842eb0d051bf793dc63c15
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+675
+
+check-normal.png
+file
+
+
+
+
+2012-01-23T13:07:10.113352Z
+6b7a2928973dfb3e0123aabff7cef8ce
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+323
+
+check-mark-insensitive.png
+file
+
+
+
+
+2012-01-23T13:07:10.109352Z
+51463005de20c5b9271bb61cdd1c3999
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+479
+
+opt-mark-active.png
+file
+
+
+
+
+2012-01-23T13:07:10.109352Z
+d8c247fb84e09d24e1363bae0ed5b7ef
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+730
+
+opt-normal-prelight.png
+file
+
+
+
+
+2012-01-23T13:07:10.113352Z
+8c41edddba6faddfa7c7794679fea029
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+642
+
+check-mark.png
+file
+
+
+
+
+2012-01-23T13:07:10.113352Z
+b0c6beda7b0a6e0ff7e9250180392805
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+558
+
+opt-mark-prelight.png
+file
+
+
+
+
+2012-01-23T13:07:10.113352Z
+0fbeb176ffad97b8063203240566117e
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+732
+
+check-line-active.png
+file
+
+
+
+
+2012-01-23T13:07:10.113352Z
+74a2f862da3d4af84acec584701bf901
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+412
+
+check-normal-active.png
+file
+
+
+
+
+2012-01-23T13:07:10.113352Z
+7e64a1225f3e568ee9400c3f844491b3
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+499
+
+checkfocus.png
+file
+
+
+
+
+2012-01-23T13:07:10.113352Z
+f37790cd2cff1ddf3214d8446eb90246
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+702
+
+check-mark-active.png
+file
+
+
+
+
+2012-01-23T13:07:10.113352Z
+f01df6617301493679e9c405861fa884
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+499
+
+check-line-prelight.png
+file
+
+
+
+
+2012-01-23T13:07:10.113352Z
+5ccc190a58f3e32750fa806c4da2df47
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+420
+
+check-normal-prelight.png
+file
+
+
+
+
+2012-01-23T13:07:10.113352Z
+b3f3b68cedb0481fb224dce8d185d048
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+354
+
+check-mark-prelight.png
+file
+
+
+
+
+2012-01-23T13:07:10.113352Z
+8d06e3ab04c0291da47ef318234e48e2
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+519
+
+opt-line-insensitive.png
+file
+
+
+
+
+2012-01-23T13:07:10.113352Z
+1db0232ef7685859aa3c227e9e99670f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+633
+
+opt-normal-insensitive.png
+file
+
+
+
+
+2012-01-23T13:07:10.113352Z
+a4551060ccae4c104c89f015b0114c87
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+595
+
+opt-line.png
+file
+
+
+
+
+2012-01-23T13:07:10.113352Z
+a5e58a4ee79c0f555dcea5756bbcdff2
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+655
+
+opt-mark-insensitive.png
+file
+
+
+
+
+2012-01-23T13:07:10.117352Z
+adca5d3f6f5c6ad984741435ce9f0193
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+695
+
+opt-normal.png
+file
+
+
+
+
+2012-01-23T13:07:10.117352Z
+4375f6d0f6f6734d2b917b276878fe58
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+619
+
+opt-mark.png
+file
+
+
+
+
+2012-01-23T13:07:10.117352Z
+430a611f5faf6f973cbef84943adddd7
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+738
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-line-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-line-active.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-line-active.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-line-insensitive.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-line-insensitive.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-line-insensitive.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-line-prelight.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-line-prelight.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-line-prelight.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-line.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-line.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-line.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-mark-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-mark-active.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-mark-active.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-mark-insensitive.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-mark-insensitive.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-mark-insensitive.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-mark-prelight.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-mark-prelight.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-mark-prelight.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-mark.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-mark.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-mark.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-normal-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-normal-active.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-normal-active.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-normal-insensitive.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-normal-insensitive.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-normal-insensitive.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-normal-prelight.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-normal-prelight.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-normal-prelight.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-normal.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-normal.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/check-normal.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/checkfocus.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/checkfocus.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/checkfocus.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-line-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-line-active.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-line-active.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-line-insensitive.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-line-insensitive.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-line-insensitive.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-line-prelight.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-line-prelight.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-line-prelight.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-line.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-line.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-line.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-mark-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-mark-active.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-mark-active.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-mark-insensitive.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-mark-insensitive.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-mark-insensitive.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-mark-prelight.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-mark-prelight.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-mark-prelight.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-mark.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-mark.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-mark.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-normal-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-normal-active.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-normal-active.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-normal-insensitive.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-normal-insensitive.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-normal-insensitive.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-normal-prelight.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-normal-prelight.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-normal-prelight.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-normal.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-normal.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/prop-base/opt-normal.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-line-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-line-active.png.svn-base
new file mode 100644
index 0000000..2f7c973
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-line-active.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-line-insensitive.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-line-insensitive.png.svn-base
new file mode 100644
index 0000000..e8bcb44
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-line-insensitive.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-line-prelight.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-line-prelight.png.svn-base
new file mode 100644
index 0000000..e558139
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-line-prelight.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-line.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-line.png.svn-base
new file mode 100644
index 0000000..316ca19
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-line.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-mark-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-mark-active.png.svn-base
new file mode 100644
index 0000000..361d956
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-mark-active.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-mark-insensitive.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-mark-insensitive.png.svn-base
new file mode 100644
index 0000000..b0010fb
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-mark-insensitive.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-mark-prelight.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-mark-prelight.png.svn-base
new file mode 100644
index 0000000..4e6bbc9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-mark-prelight.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-mark.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-mark.png.svn-base
new file mode 100644
index 0000000..a9f4426
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-mark.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-normal-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-normal-active.png.svn-base
new file mode 100644
index 0000000..1aacd59
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-normal-active.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-normal-insensitive.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-normal-insensitive.png.svn-base
new file mode 100644
index 0000000..c9ae10a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-normal-insensitive.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-normal-prelight.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-normal-prelight.png.svn-base
new file mode 100644
index 0000000..817680b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-normal-prelight.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-normal.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-normal.png.svn-base
new file mode 100644
index 0000000..c3838b1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/check-normal.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/checkfocus.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/checkfocus.png.svn-base
new file mode 100644
index 0000000..5d2389d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/checkfocus.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-line-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-line-active.png.svn-base
new file mode 100644
index 0000000..2ab6fe1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-line-active.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-line-insensitive.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-line-insensitive.png.svn-base
new file mode 100644
index 0000000..0a975ac
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-line-insensitive.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-line-prelight.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-line-prelight.png.svn-base
new file mode 100644
index 0000000..fd41b0e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-line-prelight.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-line.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-line.png.svn-base
new file mode 100644
index 0000000..91fdd29
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-line.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-mark-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-mark-active.png.svn-base
new file mode 100644
index 0000000..c04d501
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-mark-active.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-mark-insensitive.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-mark-insensitive.png.svn-base
new file mode 100644
index 0000000..528ae63
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-mark-insensitive.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-mark-prelight.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-mark-prelight.png.svn-base
new file mode 100644
index 0000000..4905b52
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-mark-prelight.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-mark.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-mark.png.svn-base
new file mode 100644
index 0000000..716f625
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-mark.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-normal-active.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-normal-active.png.svn-base
new file mode 100644
index 0000000..c04d501
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-normal-active.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-normal-insensitive.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-normal-insensitive.png.svn-base
new file mode 100644
index 0000000..1a5b36c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-normal-insensitive.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-normal-prelight.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-normal-prelight.png.svn-base
new file mode 100644
index 0000000..3459851
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-normal-prelight.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-normal.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-normal.png.svn-base
new file mode 100644
index 0000000..f4acb75
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/.svn/text-base/opt-normal.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-line-active.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-line-active.png
new file mode 100644
index 0000000..2f7c973
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-line-active.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-line-insensitive.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-line-insensitive.png
new file mode 100644
index 0000000..e8bcb44
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-line-insensitive.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-line-prelight.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-line-prelight.png
new file mode 100644
index 0000000..e558139
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-line-prelight.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-line.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-line.png
new file mode 100644
index 0000000..316ca19
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-line.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-mark-active.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-mark-active.png
new file mode 100644
index 0000000..361d956
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-mark-active.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-mark-insensitive.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-mark-insensitive.png
new file mode 100644
index 0000000..b0010fb
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-mark-insensitive.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-mark-prelight.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-mark-prelight.png
new file mode 100644
index 0000000..4e6bbc9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-mark-prelight.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-mark.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-mark.png
new file mode 100644
index 0000000..a9f4426
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-mark.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-normal-active.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-normal-active.png
new file mode 100644
index 0000000..1aacd59
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-normal-active.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-normal-insensitive.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-normal-insensitive.png
new file mode 100644
index 0000000..c9ae10a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-normal-insensitive.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-normal-prelight.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-normal-prelight.png
new file mode 100644
index 0000000..817680b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-normal-prelight.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-normal.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-normal.png
new file mode 100644
index 0000000..c3838b1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/check-normal.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/checkfocus.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/checkfocus.png
new file mode 100644
index 0000000..5d2389d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/checkfocus.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-line-active.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-line-active.png
new file mode 100644
index 0000000..2ab6fe1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-line-active.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-line-insensitive.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-line-insensitive.png
new file mode 100644
index 0000000..0a975ac
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-line-insensitive.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-line-prelight.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-line-prelight.png
new file mode 100644
index 0000000..fd41b0e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-line-prelight.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-line.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-line.png
new file mode 100644
index 0000000..91fdd29
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-line.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-mark-active.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-mark-active.png
new file mode 100644
index 0000000..c04d501
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-mark-active.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-mark-insensitive.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-mark-insensitive.png
new file mode 100644
index 0000000..528ae63
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-mark-insensitive.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-mark-prelight.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-mark-prelight.png
new file mode 100644
index 0000000..4905b52
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-mark-prelight.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-mark.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-mark.png
new file mode 100644
index 0000000..716f625
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-mark.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-normal-active.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-normal-active.png
new file mode 100644
index 0000000..c04d501
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-normal-active.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-normal-insensitive.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-normal-insensitive.png
new file mode 100644
index 0000000..1a5b36c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-normal-insensitive.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-normal-prelight.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-normal-prelight.png
new file mode 100644
index 0000000..3459851
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-normal-prelight.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-normal.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-normal.png
new file mode 100644
index 0000000..f4acb75
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/new-checkradio/opt-normal.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-0-disabled.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-0-disabled.png
new file mode 100644
index 0000000..5d1000c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-0-disabled.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-0.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-0.png
new file mode 100644
index 0000000..2fd8d7a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-0.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-1-disabled.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-1-disabled.png
new file mode 100644
index 0000000..fbda731
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-1-disabled.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-1.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-1.png
new file mode 100644
index 0000000..0920878
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-1.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-2.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-2.png
new file mode 100644
index 0000000..ee74c10
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/radiobutton-2.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resize.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resize.gif
new file mode 100644
index 0000000..d7cbec9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resize.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resize.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resize.png
new file mode 100644
index 0000000..9ae71c4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resize.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-horiz.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-horiz.gif
new file mode 100644
index 0000000..32740f1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-horiz.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-horiz1.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-horiz1.gif
new file mode 100644
index 0000000..4e3efc1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-horiz1.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-horiz2.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-horiz2.png
new file mode 100644
index 0000000..ffc6d5b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-horiz2.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-vert.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-vert.gif
new file mode 100644
index 0000000..7acb067
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-vert.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-vert1.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-vert1.gif
new file mode 100644
index 0000000..91f1919
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-vert1.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-vert2.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-vert2.gif
new file mode 100644
index 0000000..dfa09d8
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-vert2.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-vert2.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-vert2.png
new file mode 100644
index 0000000..a906c7f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebar-vert2.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebg.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebg.gif
new file mode 100644
index 0000000..290d9ad
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/resizebg.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/.svn/all-wcprops
new file mode 100644
index 0000000..1ab6461
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/.svn/all-wcprops
@@ -0,0 +1,5 @@
+K 25
+svn:wc:ra_dav:version-url
+V 59
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/.svn/entries
new file mode 100644
index 0000000..cdf248d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/.svn/entries
@@ -0,0 +1,37 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/new-theme/img/shadows
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+dlg-active
+dir
+
+dlg-dragging
+dir
+
+dlg-inactive
+dir
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/all-wcprops
new file mode 100644
index 0000000..4c44375
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/all-wcprops
@@ -0,0 +1,59 @@
+K 25
+svn:wc:ra_dav:version-url
+V 70
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-active
+END
+shadows.css
+K 25
+svn:wc:ra_dav:version-url
+V 82
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-active/shadows.css
+END
+BL.png
+K 25
+svn:wc:ra_dav:version-url
+V 77
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-active/BL.png
+END
+TL.png
+K 25
+svn:wc:ra_dav:version-url
+V 77
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-active/TL.png
+END
+B.png
+K 25
+svn:wc:ra_dav:version-url
+V 76
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-active/B.png
+END
+R.png
+K 25
+svn:wc:ra_dav:version-url
+V 76
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-active/R.png
+END
+BR.png
+K 25
+svn:wc:ra_dav:version-url
+V 77
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-active/BR.png
+END
+T.png
+K 25
+svn:wc:ra_dav:version-url
+V 76
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-active/T.png
+END
+TR.png
+K 25
+svn:wc:ra_dav:version-url
+V 77
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-active/TR.png
+END
+L.png
+K 25
+svn:wc:ra_dav:version-url
+V 76
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-active/L.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/entries
new file mode 100644
index 0000000..6d024bc
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/entries
@@ -0,0 +1,334 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/new-theme/img/shadows/dlg-active
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+shadows.css
+file
+
+
+
+
+2012-01-23T13:07:10.169352Z
+30a3d0c3e2c2d9373191497cc19173ce
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+9335
+
+BL.png
+file
+
+
+
+
+2012-01-23T13:07:10.169352Z
+d7b4c9fbc374252370f2ffeb492c69fa
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+705
+
+TL.png
+file
+
+
+
+
+2012-01-23T13:07:10.169352Z
+12325ab1cffd6c15ae07036899aa92e6
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+811
+
+B.png
+file
+
+
+
+
+2012-01-23T13:07:10.169352Z
+e89d25a1680c005d694f00b65fe79b6a
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+133
+
+R.png
+file
+
+
+
+
+2012-01-23T13:07:10.169352Z
+78e9af3d5fb700ea01fd0b769f3d0199
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+153
+
+BR.png
+file
+
+
+
+
+2012-01-23T13:07:10.169352Z
+b29273e1a455943b7c05357a25209295
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+499
+
+T.png
+file
+
+
+
+
+2012-01-23T13:07:10.169352Z
+8d008d109d8cbdcd4cf28f9291436f44
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+128
+
+TR.png
+file
+
+
+
+
+2012-01-23T13:07:10.169352Z
+93a8380319e35ad31fa3fb0a2b27b71f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1206
+
+L.png
+file
+
+
+
+
+2012-01-23T13:07:10.169352Z
+419ab5c45c49911575bda9e45038feaa
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+134
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/B.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/B.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/BL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/BL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/BR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/BR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/L.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/L.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/R.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/R.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/T.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/T.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/TL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/TL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/TR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/prop-base/TR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/B.png.svn-base
new file mode 100644
index 0000000..1c3f15b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/B.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/BL.png.svn-base
new file mode 100644
index 0000000..68a7f40
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/BL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/BR.png.svn-base
new file mode 100644
index 0000000..54ba67f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/BR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/L.png.svn-base
new file mode 100644
index 0000000..5c5e96c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/L.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/R.png.svn-base
new file mode 100644
index 0000000..e0bdf32
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/R.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/T.png.svn-base
new file mode 100644
index 0000000..1bec723
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/T.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/TL.png.svn-base
new file mode 100644
index 0000000..a56ca5c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/TL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/TR.png.svn-base
new file mode 100644
index 0000000..efe6980
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/TR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/shadows.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/shadows.css.svn-base
new file mode 100644
index 0000000..8bd9a36
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/.svn/text-base/shadows.css.svn-base
@@ -0,0 +1,222 @@
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url('$DIR/T.png') repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url('$DIR/B.png') repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url('$DIR/TL.png') no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url('$DIR/BR.png') no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url('$DIR/R.png') repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url('$DIR/TR.png') no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url('$DIR/BL.png') no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url('$DIR/L.png') repeat-y 0 0; bottom: 6px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '18px',
+ 'right' => '15px',
+ 'top' => '-14px',
+ 'background' => 'url(\'$DIR/T.png\') repeat-x 0 0',
+ 'height' => '14px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 14,
+ 'x' => 16
+ },
+ 'diff' => 10,
+ 'sel' => [
+ 32,
+ 0,
+ 300,
+ 24
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '18px',
+ 'right' => '15px',
+ 'background' => 'url(\'$DIR/B.png\') repeat-x 0 0',
+ 'bottom' => '-16px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 32,
+ 244,
+ 300,
+ 22
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '32px',
+ 'top' => '-13px',
+ 'background' => 'url(\'$DIR/TL.png\') no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 32,
+ 24
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-16px',
+ 'background' => 'url(\'$DIR/BR.png\') no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 244,
+ 31,
+ 22
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '16px',
+ 'right' => '-16px',
+ 'top' => '10px',
+ 'background' => 'url(\'$DIR/R.png\') repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 31
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 15,
+ 'sel' => [
+ 332,
+ 24,
+ 31,
+ 220
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-16px',
+ 'top' => '-13px',
+ 'background' => 'url(\'$DIR/TR.png\') no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 0,
+ 31,
+ 24
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '32px',
+ 'background' => 'url(\'$DIR/BL.png\') no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 244,
+ 32,
+ 22
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '14px',
+ 'top' => '10px',
+ 'background' => 'url(\'$DIR/L.png\') repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 32
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 14
+ },
+ 'diff' => 18,
+ 'sel' => [
+ 0,
+ 24,
+ 32,
+ 220
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/B.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/B.png
new file mode 100644
index 0000000..1c3f15b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/B.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/BL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/BL.png
new file mode 100644
index 0000000..68a7f40
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/BL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/BR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/BR.png
new file mode 100644
index 0000000..54ba67f
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/BR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/L.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/L.png
new file mode 100644
index 0000000..5c5e96c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/L.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/R.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/R.png
new file mode 100644
index 0000000..e0bdf32
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/R.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/T.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/T.png
new file mode 100644
index 0000000..1bec723
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/T.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/TL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/TL.png
new file mode 100644
index 0000000..a56ca5c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/TL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/TR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/TR.png
new file mode 100644
index 0000000..efe6980
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/TR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/shadows.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/shadows.css
new file mode 100644
index 0000000..8bd9a36
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-active/shadows.css
@@ -0,0 +1,222 @@
+.DlDialog-Active .DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url('$DIR/T.png') repeat-x 0 0; height: 14px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url('$DIR/B.png') repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url('$DIR/TL.png') no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url('$DIR/BR.png') no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url('$DIR/R.png') repeat-y 0 0; bottom: 6px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url('$DIR/TR.png') no-repeat 0 0; height: 23px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url('$DIR/BL.png') no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Active .DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url('$DIR/L.png') repeat-y 0 0; bottom: 6px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '18px',
+ 'right' => '15px',
+ 'top' => '-14px',
+ 'background' => 'url(\'$DIR/T.png\') repeat-x 0 0',
+ 'height' => '14px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 14,
+ 'x' => 16
+ },
+ 'diff' => 10,
+ 'sel' => [
+ 32,
+ 0,
+ 300,
+ 24
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '18px',
+ 'right' => '15px',
+ 'background' => 'url(\'$DIR/B.png\') repeat-x 0 0',
+ 'bottom' => '-16px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 32,
+ 244,
+ 300,
+ 22
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '32px',
+ 'top' => '-13px',
+ 'background' => 'url(\'$DIR/TL.png\') no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 32,
+ 24
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-16px',
+ 'background' => 'url(\'$DIR/BR.png\') no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 244,
+ 31,
+ 22
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '16px',
+ 'right' => '-16px',
+ 'top' => '10px',
+ 'background' => 'url(\'$DIR/R.png\') repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 31
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 15,
+ 'sel' => [
+ 332,
+ 24,
+ 31,
+ 220
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-16px',
+ 'top' => '-13px',
+ 'background' => 'url(\'$DIR/TR.png\') no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 0,
+ 31,
+ 24
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '32px',
+ 'background' => 'url(\'$DIR/BL.png\') no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 244,
+ 32,
+ 22
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '14px',
+ 'top' => '10px',
+ 'background' => 'url(\'$DIR/L.png\') repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 32
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 14
+ },
+ 'diff' => 18,
+ 'sel' => [
+ 0,
+ 24,
+ 32,
+ 220
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/all-wcprops
new file mode 100644
index 0000000..bf6c0af
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/all-wcprops
@@ -0,0 +1,59 @@
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-dragging
+END
+shadows.css
+K 25
+svn:wc:ra_dav:version-url
+V 84
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-dragging/shadows.css
+END
+BL.png
+K 25
+svn:wc:ra_dav:version-url
+V 79
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-dragging/BL.png
+END
+TL.png
+K 25
+svn:wc:ra_dav:version-url
+V 79
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-dragging/TL.png
+END
+B.png
+K 25
+svn:wc:ra_dav:version-url
+V 78
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-dragging/B.png
+END
+R.png
+K 25
+svn:wc:ra_dav:version-url
+V 78
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-dragging/R.png
+END
+BR.png
+K 25
+svn:wc:ra_dav:version-url
+V 79
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-dragging/BR.png
+END
+T.png
+K 25
+svn:wc:ra_dav:version-url
+V 78
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-dragging/T.png
+END
+TR.png
+K 25
+svn:wc:ra_dav:version-url
+V 79
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-dragging/TR.png
+END
+L.png
+K 25
+svn:wc:ra_dav:version-url
+V 78
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-dragging/L.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/entries
new file mode 100644
index 0000000..f757ed8
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/entries
@@ -0,0 +1,334 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/new-theme/img/shadows/dlg-dragging
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+shadows.css
+file
+
+
+
+
+2012-01-23T13:07:10.181352Z
+6c1d87642f978b37a65aa239df7baea4
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+9335
+
+BL.png
+file
+
+
+
+
+2012-01-23T13:07:10.181352Z
+2dd8057bded6298ee31344a8d4169835
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+783
+
+TL.png
+file
+
+
+
+
+2012-01-23T13:07:10.181352Z
+e6b6f7b65d35eb084c8eb707bfe9fc55
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+768
+
+B.png
+file
+
+
+
+
+2012-01-23T13:07:10.181352Z
+9cd0457752dea35367bf67cd6ec16299
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+133
+
+R.png
+file
+
+
+
+
+2012-01-23T13:07:10.181352Z
+bc8687412ff7bfb816cacd141cda9993
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+172
+
+BR.png
+file
+
+
+
+
+2012-01-23T13:07:10.181352Z
+282f3d703191ac0e35943819abf4c13f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+789
+
+T.png
+file
+
+
+
+
+2012-01-23T13:07:10.181352Z
+50b4a0742a76756c8e6bf156d3615694
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+168
+
+TR.png
+file
+
+
+
+
+2012-01-23T13:07:10.181352Z
+c5b23a7a38c28ab8f188984415f1c6b2
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1133
+
+L.png
+file
+
+
+
+
+2012-01-23T13:07:10.181352Z
+34d3ade4f3282a69c00d210b1ceca4aa
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+168
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/B.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/B.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/BL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/BL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/BR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/BR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/L.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/L.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/R.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/R.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/T.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/T.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/TL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/TL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/TR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/prop-base/TR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/B.png.svn-base
new file mode 100644
index 0000000..596843a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/B.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/BL.png.svn-base
new file mode 100644
index 0000000..ea6a7fd
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/BL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/BR.png.svn-base
new file mode 100644
index 0000000..1d6e915
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/BR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/L.png.svn-base
new file mode 100644
index 0000000..63001c5
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/L.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/R.png.svn-base
new file mode 100644
index 0000000..79c8b94
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/R.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/T.png.svn-base
new file mode 100644
index 0000000..43e9c11
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/T.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/TL.png.svn-base
new file mode 100644
index 0000000..e1ac419
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/TL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/TR.png.svn-base
new file mode 100644
index 0000000..1645666
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/TR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/shadows.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/shadows.css.svn-base
new file mode 100644
index 0000000..a07a252
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/.svn/text-base/shadows.css.svn-base
@@ -0,0 +1,222 @@
+.DlDialog-Dragging .DlDialog-Rel .Shadow-T { left: 17px; right: 14px; top: -14px; background: url("$DIR/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-B { left: 17px; right: 14px; background: url("$DIR/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-TL { left: -15px; width: 32px; top: -13px; background: url("$DIR/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-BR { width: 31px; right: -17px; background: url("$DIR/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-R { width: 17px; right: -17px; top: 10px; background: url("$DIR/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-TR { width: 31px; right: -17px; top: -13px; background: url("$DIR/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-BL { left: -15px; width: 32px; background: url("$DIR/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-L { left: -15px; width: 15px; top: 10px; background: url("$DIR/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '17px',
+ 'right' => '14px',
+ 'top' => '-14px',
+ 'background' => 'url("$DIR/T.png") repeat-x 0 0',
+ 'height' => '14px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 14,
+ 'x' => 16
+ },
+ 'diff' => 10,
+ 'sel' => [
+ 32,
+ 0,
+ 300,
+ 24
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '17px',
+ 'right' => '14px',
+ 'background' => 'url("$DIR/B.png") repeat-x 0 0',
+ 'bottom' => '-16px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 32,
+ 244,
+ 300,
+ 22
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-15px',
+ 'width' => '32px',
+ 'top' => '-13px',
+ 'background' => 'url("$DIR/TL.png") no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 32,
+ 24
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-17px',
+ 'background' => 'url("$DIR/BR.png") no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 244,
+ 31,
+ 22
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '17px',
+ 'right' => '-17px',
+ 'top' => '10px',
+ 'background' => 'url("$DIR/R.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 31
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 17
+ },
+ 'diff' => 14,
+ 'sel' => [
+ 332,
+ 24,
+ 31,
+ 220
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-17px',
+ 'top' => '-13px',
+ 'background' => 'url("$DIR/TR.png") no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 0,
+ 31,
+ 24
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-15px',
+ 'width' => '32px',
+ 'background' => 'url("$DIR/BL.png") no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 244,
+ 32,
+ 22
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-15px',
+ 'width' => '15px',
+ 'top' => '10px',
+ 'background' => 'url("$DIR/L.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 32
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 15
+ },
+ 'diff' => 17,
+ 'sel' => [
+ 0,
+ 24,
+ 32,
+ 220
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/B.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/B.png
new file mode 100644
index 0000000..596843a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/B.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/BL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/BL.png
new file mode 100644
index 0000000..ea6a7fd
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/BL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/BR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/BR.png
new file mode 100644
index 0000000..1d6e915
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/BR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/L.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/L.png
new file mode 100644
index 0000000..63001c5
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/L.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/R.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/R.png
new file mode 100644
index 0000000..79c8b94
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/R.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/T.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/T.png
new file mode 100644
index 0000000..43e9c11
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/T.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/TL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/TL.png
new file mode 100644
index 0000000..e1ac419
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/TL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/TR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/TR.png
new file mode 100644
index 0000000..1645666
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/TR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/shadows.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/shadows.css
new file mode 100644
index 0000000..a07a252
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-dragging/shadows.css
@@ -0,0 +1,222 @@
+.DlDialog-Dragging .DlDialog-Rel .Shadow-T { left: 17px; right: 14px; top: -14px; background: url("$DIR/T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-B { left: 17px; right: 14px; background: url("$DIR/B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-TL { left: -15px; width: 32px; top: -13px; background: url("$DIR/TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-BR { width: 31px; right: -17px; background: url("$DIR/BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-R { width: 17px; right: -17px; top: 10px; background: url("$DIR/R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-TR { width: 31px; right: -17px; top: -13px; background: url("$DIR/TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-BL { left: -15px; width: 32px; background: url("$DIR/BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Dragging .DlDialog-Rel .Shadow-L { left: -15px; width: 15px; top: 10px; background: url("$DIR/L.png") repeat-y 0 0; bottom: 6px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '17px',
+ 'right' => '14px',
+ 'top' => '-14px',
+ 'background' => 'url("$DIR/T.png") repeat-x 0 0',
+ 'height' => '14px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 14,
+ 'x' => 16
+ },
+ 'diff' => 10,
+ 'sel' => [
+ 32,
+ 0,
+ 300,
+ 24
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '17px',
+ 'right' => '14px',
+ 'background' => 'url("$DIR/B.png") repeat-x 0 0',
+ 'bottom' => '-16px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 32,
+ 244,
+ 300,
+ 22
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-15px',
+ 'width' => '32px',
+ 'top' => '-13px',
+ 'background' => 'url("$DIR/TL.png") no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 32,
+ 24
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-17px',
+ 'background' => 'url("$DIR/BR.png") no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 244,
+ 31,
+ 22
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '17px',
+ 'right' => '-17px',
+ 'top' => '10px',
+ 'background' => 'url("$DIR/R.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 31
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 17
+ },
+ 'diff' => 14,
+ 'sel' => [
+ 332,
+ 24,
+ 31,
+ 220
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-17px',
+ 'top' => '-13px',
+ 'background' => 'url("$DIR/TR.png") no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 0,
+ 31,
+ 24
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-15px',
+ 'width' => '32px',
+ 'background' => 'url("$DIR/BL.png") no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 244,
+ 32,
+ 22
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-15px',
+ 'width' => '15px',
+ 'top' => '10px',
+ 'background' => 'url("$DIR/L.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 32
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 15
+ },
+ 'diff' => 17,
+ 'sel' => [
+ 0,
+ 24,
+ 32,
+ 220
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/all-wcprops
new file mode 100644
index 0000000..4c419d7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/all-wcprops
@@ -0,0 +1,59 @@
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-inactive
+END
+shadows.css
+K 25
+svn:wc:ra_dav:version-url
+V 84
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-inactive/shadows.css
+END
+BL.png
+K 25
+svn:wc:ra_dav:version-url
+V 79
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-inactive/BL.png
+END
+TL.png
+K 25
+svn:wc:ra_dav:version-url
+V 79
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-inactive/TL.png
+END
+B.png
+K 25
+svn:wc:ra_dav:version-url
+V 78
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-inactive/B.png
+END
+R.png
+K 25
+svn:wc:ra_dav:version-url
+V 78
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-inactive/R.png
+END
+BR.png
+K 25
+svn:wc:ra_dav:version-url
+V 79
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-inactive/BR.png
+END
+T.png
+K 25
+svn:wc:ra_dav:version-url
+V 78
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-inactive/T.png
+END
+TR.png
+K 25
+svn:wc:ra_dav:version-url
+V 79
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-inactive/TR.png
+END
+L.png
+K 25
+svn:wc:ra_dav:version-url
+V 78
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/shadows/dlg-inactive/L.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/entries
new file mode 100644
index 0000000..6f88c6a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/entries
@@ -0,0 +1,334 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/new-theme/img/shadows/dlg-inactive
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+shadows.css
+file
+
+
+
+
+2012-01-23T13:07:10.193352Z
+50f52e0108862fd748ff77bdeab2d50e
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+9103
+
+BL.png
+file
+
+
+
+
+2012-01-23T13:07:10.193352Z
+9e12396a70952a780fd494d2f6bc357e
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+855
+
+TL.png
+file
+
+
+
+
+2012-01-23T13:07:10.193352Z
+1acc680e2643a08ad16f93b407cec797
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+371
+
+B.png
+file
+
+
+
+
+2012-01-23T13:07:10.193352Z
+6cd5c1841d88d0b64543186e22c3482a
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+140
+
+R.png
+file
+
+
+
+
+2012-01-23T13:07:10.193352Z
+4fdbc82f8e2048306fd83f9150758cf2
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+136
+
+BR.png
+file
+
+
+
+
+2012-01-23T13:07:10.193352Z
+78693f785b374f54c191e8208331efe7
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+549
+
+T.png
+file
+
+
+
+
+2012-01-23T13:07:10.197352Z
+d30425a00fd890dc2ee73b5eeb36080f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+125
+
+TR.png
+file
+
+
+
+
+2012-01-23T13:07:10.197352Z
+6c07dcd6e96cccf9bb246606736dcbd3
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+725
+
+L.png
+file
+
+
+
+
+2012-01-23T13:07:10.197352Z
+dc4c064dd9bfb0adb1ab22e5e23073e2
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+124
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/B.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/B.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/BL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/BL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/BR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/BR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/L.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/L.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/R.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/R.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/T.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/T.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/TL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/TL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/TR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/prop-base/TR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/B.png.svn-base
new file mode 100644
index 0000000..5502d6d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/B.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/BL.png.svn-base
new file mode 100644
index 0000000..348ef90
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/BL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/BR.png.svn-base
new file mode 100644
index 0000000..4747aed
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/BR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/L.png.svn-base
new file mode 100644
index 0000000..7e3c491
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/L.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/R.png.svn-base
new file mode 100644
index 0000000..35d621c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/R.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/T.png.svn-base
new file mode 100644
index 0000000..bd2949e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/T.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/TL.png.svn-base
new file mode 100644
index 0000000..abf1dcd
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/TL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/TR.png.svn-base
new file mode 100644
index 0000000..9ddeb8e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/TR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/shadows.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/shadows.css.svn-base
new file mode 100644
index 0000000..afed16b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/.svn/text-base/shadows.css.svn-base
@@ -0,0 +1,222 @@
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("L.png") repeat-y 0 0; bottom: 6px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '18px',
+ 'right' => '15px',
+ 'top' => '-14px',
+ 'background' => 'url("T.png") repeat-x 0 0',
+ 'height' => '14px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 14,
+ 'x' => 16
+ },
+ 'diff' => 10,
+ 'sel' => [
+ 32,
+ 0,
+ 300,
+ 24
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '18px',
+ 'right' => '15px',
+ 'background' => 'url("B.png") repeat-x 0 0',
+ 'bottom' => '-16px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 32,
+ 244,
+ 300,
+ 22
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '32px',
+ 'top' => '-13px',
+ 'background' => 'url("TL.png") no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 32,
+ 24
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-16px',
+ 'background' => 'url("BR.png") no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 244,
+ 31,
+ 22
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '16px',
+ 'right' => '-16px',
+ 'top' => '10px',
+ 'background' => 'url("R.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 31
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 15,
+ 'sel' => [
+ 332,
+ 24,
+ 31,
+ 220
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-16px',
+ 'top' => '-13px',
+ 'background' => 'url("TR.png") no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 0,
+ 31,
+ 24
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '32px',
+ 'background' => 'url("BL.png") no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 244,
+ 32,
+ 22
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '14px',
+ 'top' => '10px',
+ 'background' => 'url("L.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 32
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 14
+ },
+ 'diff' => 18,
+ 'sel' => [
+ 0,
+ 24,
+ 32,
+ 220
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/B.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/B.png
new file mode 100644
index 0000000..5502d6d
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/B.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/BL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/BL.png
new file mode 100644
index 0000000..348ef90
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/BL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/BR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/BR.png
new file mode 100644
index 0000000..4747aed
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/BR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/L.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/L.png
new file mode 100644
index 0000000..7e3c491
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/L.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/R.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/R.png
new file mode 100644
index 0000000..35d621c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/R.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/T.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/T.png
new file mode 100644
index 0000000..bd2949e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/T.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/TL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/TL.png
new file mode 100644
index 0000000..abf1dcd
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/TL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/TR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/TR.png
new file mode 100644
index 0000000..9ddeb8e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/TR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/shadows.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/shadows.css
new file mode 100644
index 0000000..afed16b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/shadows/dlg-inactive/shadows.css
@@ -0,0 +1,222 @@
+.DlDialog-Rel .Shadow-T { left: 18px; right: 15px; top: -14px; background: url("T.png") repeat-x 0 0; height: 14px; }
+.DlDialog-Rel .Shadow-B { left: 18px; right: 15px; background: url("B.png") repeat-x 0 0; bottom: -16px; height: 16px; }
+.DlDialog-Rel .Shadow-TL { left: -14px; width: 32px; top: -13px; background: url("TL.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BR { width: 31px; right: -16px; background: url("BR.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-R { width: 16px; right: -16px; top: 10px; background: url("R.png") repeat-y 0 0; bottom: 6px; }
+.DlDialog-Rel .Shadow-TR { width: 31px; right: -16px; top: -13px; background: url("TR.png") no-repeat 0 0; height: 23px; }
+.DlDialog-Rel .Shadow-BL { left: -14px; width: 32px; background: url("BL.png") no-repeat 0 0; bottom: -15px; height: 21px; }
+.DlDialog-Rel .Shadow-L { left: -14px; width: 14px; top: 10px; background: url("L.png") repeat-y 0 0; bottom: 6px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '18px',
+ 'right' => '15px',
+ 'top' => '-14px',
+ 'background' => 'url("T.png") repeat-x 0 0',
+ 'height' => '14px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 14,
+ 'x' => 16
+ },
+ 'diff' => 10,
+ 'sel' => [
+ 32,
+ 0,
+ 300,
+ 24
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '18px',
+ 'right' => '15px',
+ 'background' => 'url("B.png") repeat-x 0 0',
+ 'bottom' => '-16px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 300
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 32,
+ 244,
+ 300,
+ 22
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '32px',
+ 'top' => '-13px',
+ 'background' => 'url("TL.png") no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 32,
+ 24
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-16px',
+ 'background' => 'url("BR.png") no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 244,
+ 31,
+ 22
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '16px',
+ 'right' => '-16px',
+ 'top' => '10px',
+ 'background' => 'url("R.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 31
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'diff' => 15,
+ 'sel' => [
+ 332,
+ 24,
+ 31,
+ 220
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '31px',
+ 'right' => '-16px',
+ 'top' => '-13px',
+ 'background' => 'url("TR.png") no-repeat 0 0',
+ 'height' => '23px'
+ },
+ 'origsize' => {
+ 'y' => 24,
+ 'x' => 31
+ },
+ 'finalsize' => {
+ 'y' => 23,
+ 'x' => 31
+ },
+ 'sel' => [
+ 332,
+ 0,
+ 31,
+ 24
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '32px',
+ 'background' => 'url("BL.png") no-repeat 0 0',
+ 'bottom' => '-15px',
+ 'height' => '21px'
+ },
+ 'origsize' => {
+ 'y' => 22,
+ 'x' => 32
+ },
+ 'finalsize' => {
+ 'y' => 21,
+ 'x' => 32
+ },
+ 'sel' => [
+ 0,
+ 244,
+ 32,
+ 22
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-14px',
+ 'width' => '14px',
+ 'top' => '10px',
+ 'background' => 'url("L.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 220,
+ 'x' => 32
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 14
+ },
+ 'diff' => 18,
+ 'sel' => [
+ 0,
+ 24,
+ 32,
+ 220
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/spinner-down.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/spinner-down.gif
new file mode 100644
index 0000000..0b2f0d7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/spinner-down.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/spinner-down.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/spinner-down.png
new file mode 100644
index 0000000..b9bbfdb
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/spinner-down.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/spinner-up.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/spinner-up.gif
new file mode 100644
index 0000000..0d68940
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/spinner-up.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/spinner-up.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/spinner-up.png
new file mode 100644
index 0000000..e56a9dc
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/spinner-up.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/all-wcprops
new file mode 100644
index 0000000..9b56b01
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/all-wcprops
@@ -0,0 +1,59 @@
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows
+END
+shadows.css
+K 25
+svn:wc:ra_dav:version-url
+V 76
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows/shadows.css
+END
+BL.png
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows/BL.png
+END
+TL.png
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows/TL.png
+END
+B.png
+K 25
+svn:wc:ra_dav:version-url
+V 70
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows/B.png
+END
+R.png
+K 25
+svn:wc:ra_dav:version-url
+V 70
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows/R.png
+END
+BR.png
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows/BR.png
+END
+T.png
+K 25
+svn:wc:ra_dav:version-url
+V 70
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows/T.png
+END
+TR.png
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows/TR.png
+END
+L.png
+K 25
+svn:wc:ra_dav:version-url
+V 70
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows/L.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/entries
new file mode 100644
index 0000000..571b63e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/entries
@@ -0,0 +1,334 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/new-theme/img/thin-shadows
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+shadows.css
+file
+
+
+
+
+2012-01-23T13:07:10.265353Z
+cb19ac7ddae338f5f0a5b59ab3eb4641
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+8904
+
+BL.png
+file
+
+
+
+
+2012-01-23T13:07:10.265353Z
+fd5f4d4eaed58d138ceb242f100fd915
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+495
+
+TL.png
+file
+
+
+
+
+2012-01-23T13:07:10.265353Z
+813a29b5d3d5b06e1fe6205c4a6e476a
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+483
+
+B.png
+file
+
+
+
+
+2012-01-23T13:07:10.265353Z
+f62c23e0fe84763d22b9bb7d584575d4
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+128
+
+R.png
+file
+
+
+
+
+2012-01-23T13:07:10.265353Z
+082e21b579a0e9233119ed43eff72aa3
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+115
+
+BR.png
+file
+
+
+
+
+2012-01-23T13:07:10.265353Z
+496d4bf0f1c7fc7f4b66ca85c323fdad
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+478
+
+T.png
+file
+
+
+
+
+2012-01-23T13:07:10.265353Z
+b82e85bcfd6bd56e61c1f00983b9c500
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+107
+
+TR.png
+file
+
+
+
+
+2012-01-23T13:07:10.265353Z
+4deafa7e379a33a3d528bc9ad923847e
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+615
+
+L.png
+file
+
+
+
+
+2012-01-23T13:07:10.265353Z
+abf470683cb6cff389130980435d7415
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+110
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/B.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/B.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/BL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/BL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/BR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/BR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/L.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/L.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/R.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/R.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/T.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/T.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/TL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/TL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/TR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/prop-base/TR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/B.png.svn-base
new file mode 100644
index 0000000..291e3cb
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/B.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/BL.png.svn-base
new file mode 100644
index 0000000..84ec7d7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/BL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/BR.png.svn-base
new file mode 100644
index 0000000..867d082
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/BR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/L.png.svn-base
new file mode 100644
index 0000000..8898fef
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/L.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/R.png.svn-base
new file mode 100644
index 0000000..4316fd3
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/R.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/T.png.svn-base
new file mode 100644
index 0000000..89ca924
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/T.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/TL.png.svn-base
new file mode 100644
index 0000000..39ce4b4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/TL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/TR.png.svn-base
new file mode 100644
index 0000000..d2d27d9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/TR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/shadows.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/shadows.css.svn-base
new file mode 100644
index 0000000..0225e23
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/.svn/text-base/shadows.css.svn-base
@@ -0,0 +1,222 @@
+T { left: 10px; right: 9px; top: -7px; background: url("T.png") repeat-x 0 0; height: 7px; }
+B { left: 10px; right: 9px; background: url("B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+TL { left: -7px; width: 17px; top: -7px; background: url("TL.png") no-repeat 0 0; height: 20px; }
+BR { width: 20px; right: -11px; background: url("BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+R { width: 11px; right: -11px; top: 13px; background: url("R.png") repeat-y 0 0; bottom: 9px; }
+TR { width: 20px; right: -11px; top: -7px; background: url("TR.png") no-repeat 0 0; height: 20px; }
+BL { left: -7px; width: 17px; background: url("BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+L { left: -7px; width: 7px; top: 13px; background: url("L.png") repeat-y 0 0; bottom: 9px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '10px',
+ 'right' => '9px',
+ 'top' => '-7px',
+ 'background' => 'url("T.png") repeat-x 0 0',
+ 'height' => '7px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 280
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 7,
+ 'x' => 16
+ },
+ 'diff' => 13,
+ 'sel' => [
+ 17,
+ 0,
+ 280,
+ 20
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '10px',
+ 'right' => '9px',
+ 'background' => 'url("B.png") repeat-x 0 0',
+ 'bottom' => '-11px',
+ 'height' => '11px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 280
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 11,
+ 'x' => 16
+ },
+ 'diff' => 9,
+ 'sel' => [
+ 17,
+ 206,
+ 280,
+ 20
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-7px',
+ 'width' => '17px',
+ 'top' => '-7px',
+ 'background' => 'url("TL.png") no-repeat 0 0',
+ 'height' => '20px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 17
+ },
+ 'finalsize' => {
+ 'y' => 20,
+ 'x' => 17
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 17,
+ 20
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '20px',
+ 'right' => '-11px',
+ 'background' => 'url("BR.png") no-repeat 0 0',
+ 'bottom' => '-11px',
+ 'height' => '20px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 20
+ },
+ 'finalsize' => {
+ 'y' => 20,
+ 'x' => 20
+ },
+ 'sel' => [
+ 297,
+ 206,
+ 20,
+ 20
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '11px',
+ 'right' => '-11px',
+ 'top' => '13px',
+ 'background' => 'url("R.png") repeat-y 0 0',
+ 'bottom' => '9px'
+ },
+ 'origsize' => {
+ 'y' => 186,
+ 'x' => 20
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 11
+ },
+ 'diff' => 9,
+ 'sel' => [
+ 297,
+ 20,
+ 20,
+ 186
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '20px',
+ 'right' => '-11px',
+ 'top' => '-7px',
+ 'background' => 'url("TR.png") no-repeat 0 0',
+ 'height' => '20px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 20
+ },
+ 'finalsize' => {
+ 'y' => 20,
+ 'x' => 20
+ },
+ 'sel' => [
+ 297,
+ 0,
+ 20,
+ 20
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-7px',
+ 'width' => '17px',
+ 'background' => 'url("BL.png") no-repeat 0 0',
+ 'bottom' => '-11px',
+ 'height' => '20px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 17
+ },
+ 'finalsize' => {
+ 'y' => 20,
+ 'x' => 17
+ },
+ 'sel' => [
+ 0,
+ 206,
+ 17,
+ 20
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-7px',
+ 'width' => '7px',
+ 'top' => '13px',
+ 'background' => 'url("L.png") repeat-y 0 0',
+ 'bottom' => '9px'
+ },
+ 'origsize' => {
+ 'y' => 186,
+ 'x' => 17
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 7
+ },
+ 'diff' => 10,
+ 'sel' => [
+ 0,
+ 20,
+ 17,
+ 186
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/B.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/B.png
new file mode 100644
index 0000000..291e3cb
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/B.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/BL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/BL.png
new file mode 100644
index 0000000..84ec7d7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/BL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/BR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/BR.png
new file mode 100644
index 0000000..867d082
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/BR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/L.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/L.png
new file mode 100644
index 0000000..8898fef
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/L.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/R.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/R.png
new file mode 100644
index 0000000..4316fd3
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/R.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/T.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/T.png
new file mode 100644
index 0000000..89ca924
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/T.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/TL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/TL.png
new file mode 100644
index 0000000..39ce4b4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/TL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/TR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/TR.png
new file mode 100644
index 0000000..d2d27d9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/TR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/shadows.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/shadows.css
new file mode 100644
index 0000000..0225e23
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows/shadows.css
@@ -0,0 +1,222 @@
+T { left: 10px; right: 9px; top: -7px; background: url("T.png") repeat-x 0 0; height: 7px; }
+B { left: 10px; right: 9px; background: url("B.png") repeat-x 0 0; bottom: -11px; height: 11px; }
+TL { left: -7px; width: 17px; top: -7px; background: url("TL.png") no-repeat 0 0; height: 20px; }
+BR { width: 20px; right: -11px; background: url("BR.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+R { width: 11px; right: -11px; top: 13px; background: url("R.png") repeat-y 0 0; bottom: 9px; }
+TR { width: 20px; right: -11px; top: -7px; background: url("TR.png") no-repeat 0 0; height: 20px; }
+BL { left: -7px; width: 17px; background: url("BL.png") no-repeat 0 0; bottom: -11px; height: 20px; }
+L { left: -7px; width: 7px; top: 13px; background: url("L.png") repeat-y 0 0; bottom: 9px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '10px',
+ 'right' => '9px',
+ 'top' => '-7px',
+ 'background' => 'url("T.png") repeat-x 0 0',
+ 'height' => '7px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 280
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 7,
+ 'x' => 16
+ },
+ 'diff' => 13,
+ 'sel' => [
+ 17,
+ 0,
+ 280,
+ 20
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '10px',
+ 'right' => '9px',
+ 'background' => 'url("B.png") repeat-x 0 0',
+ 'bottom' => '-11px',
+ 'height' => '11px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 280
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 11,
+ 'x' => 16
+ },
+ 'diff' => 9,
+ 'sel' => [
+ 17,
+ 206,
+ 280,
+ 20
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-7px',
+ 'width' => '17px',
+ 'top' => '-7px',
+ 'background' => 'url("TL.png") no-repeat 0 0',
+ 'height' => '20px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 17
+ },
+ 'finalsize' => {
+ 'y' => 20,
+ 'x' => 17
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 17,
+ 20
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '20px',
+ 'right' => '-11px',
+ 'background' => 'url("BR.png") no-repeat 0 0',
+ 'bottom' => '-11px',
+ 'height' => '20px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 20
+ },
+ 'finalsize' => {
+ 'y' => 20,
+ 'x' => 20
+ },
+ 'sel' => [
+ 297,
+ 206,
+ 20,
+ 20
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '11px',
+ 'right' => '-11px',
+ 'top' => '13px',
+ 'background' => 'url("R.png") repeat-y 0 0',
+ 'bottom' => '9px'
+ },
+ 'origsize' => {
+ 'y' => 186,
+ 'x' => 20
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 11
+ },
+ 'diff' => 9,
+ 'sel' => [
+ 297,
+ 20,
+ 20,
+ 186
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '20px',
+ 'right' => '-11px',
+ 'top' => '-7px',
+ 'background' => 'url("TR.png") no-repeat 0 0',
+ 'height' => '20px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 20
+ },
+ 'finalsize' => {
+ 'y' => 20,
+ 'x' => 20
+ },
+ 'sel' => [
+ 297,
+ 0,
+ 20,
+ 20
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-7px',
+ 'width' => '17px',
+ 'background' => 'url("BL.png") no-repeat 0 0',
+ 'bottom' => '-11px',
+ 'height' => '20px'
+ },
+ 'origsize' => {
+ 'y' => 20,
+ 'x' => 17
+ },
+ 'finalsize' => {
+ 'y' => 20,
+ 'x' => 17
+ },
+ 'sel' => [
+ 0,
+ 206,
+ 17,
+ 20
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-7px',
+ 'width' => '7px',
+ 'top' => '13px',
+ 'background' => 'url("L.png") repeat-y 0 0',
+ 'bottom' => '9px'
+ },
+ 'origsize' => {
+ 'y' => 186,
+ 'x' => 17
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 7
+ },
+ 'diff' => 10,
+ 'sel' => [
+ 0,
+ 20,
+ 17,
+ 186
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/all-wcprops
new file mode 100644
index 0000000..11162fe
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/all-wcprops
@@ -0,0 +1,59 @@
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows1
+END
+shadows.css
+K 25
+svn:wc:ra_dav:version-url
+V 77
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows1/shadows.css
+END
+BL.png
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows1/BL.png
+END
+TL.png
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows1/TL.png
+END
+B.png
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows1/B.png
+END
+R.png
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows1/R.png
+END
+BR.png
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows1/BR.png
+END
+T.png
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows1/T.png
+END
+TR.png
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows1/TR.png
+END
+L.png
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/thin-shadows1/L.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/entries
new file mode 100644
index 0000000..2f65063
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/entries
@@ -0,0 +1,334 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/new-theme/img/thin-shadows1
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+shadows.css
+file
+
+
+
+
+2012-01-23T13:07:10.129352Z
+a50d99df9d3e45f0512f6d864daf5649
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+8894
+
+BL.png
+file
+
+
+
+
+2012-01-23T13:07:10.129352Z
+a4231b4d5a11178c0fba525dda25fb6f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+711
+
+TL.png
+file
+
+
+
+
+2012-01-23T13:07:10.129352Z
+1f4f140397be1dbb145bcae5734f095b
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+680
+
+B.png
+file
+
+
+
+
+2012-01-23T13:07:10.129352Z
+954551509f3645c48aec570853450e4f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+224
+
+R.png
+file
+
+
+
+
+2012-01-23T13:07:10.129352Z
+f8750edbf62646cd98249455ad62253e
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+200
+
+BR.png
+file
+
+
+
+
+2012-01-23T13:07:10.129352Z
+8ab8a2c588326651130716977c60984b
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+716
+
+T.png
+file
+
+
+
+
+2012-01-23T13:07:10.129352Z
+7194f46d57b08c530d381e802a3ef76d
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+190
+
+TR.png
+file
+
+
+
+
+2012-01-23T13:07:10.129352Z
+76737faec786c0632029652f98a7450d
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+633
+
+L.png
+file
+
+
+
+
+2012-01-23T13:07:10.129352Z
+23fc7ee04e3dcb4f26fb87d736340c50
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+178
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/B.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/B.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/BL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/BL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/BR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/BR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/L.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/L.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/R.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/R.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/T.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/T.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/TL.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/TL.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/TR.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/prop-base/TR.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/B.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/B.png.svn-base
new file mode 100644
index 0000000..969ee2b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/B.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/BL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/BL.png.svn-base
new file mode 100644
index 0000000..71516b9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/BL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/BR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/BR.png.svn-base
new file mode 100644
index 0000000..23841ee
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/BR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/L.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/L.png.svn-base
new file mode 100644
index 0000000..c133f80
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/L.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/R.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/R.png.svn-base
new file mode 100644
index 0000000..a8a835c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/R.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/T.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/T.png.svn-base
new file mode 100644
index 0000000..89f828c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/T.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/TL.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/TL.png.svn-base
new file mode 100644
index 0000000..15971a5
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/TL.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/TR.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/TR.png.svn-base
new file mode 100644
index 0000000..55cd077
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/TR.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/shadows.css.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/shadows.css.svn-base
new file mode 100644
index 0000000..28c222a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/.svn/text-base/shadows.css.svn-base
@@ -0,0 +1,222 @@
+T { left: 8px; right: 6px; top: -6px; background: url("T.png") repeat-x 0 0; height: 6px; }
+B { left: 8px; right: 6px; background: url("B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+TL { left: -6px; width: 14px; top: -6px; background: url("TL.png") no-repeat 0 0; height: 15px; }
+BR { width: 16px; right: -10px; background: url("BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+R { width: 10px; right: -10px; top: 9px; background: url("R.png") repeat-y 0 0; bottom: 6px; }
+TR { width: 16px; right: -10px; top: -6px; background: url("TR.png") no-repeat 0 0; height: 15px; }
+BL { left: -6px; width: 14px; background: url("BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+L { left: -6px; width: 6px; top: 9px; background: url("L.png") repeat-y 0 0; bottom: 6px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '8px',
+ 'right' => '6px',
+ 'top' => '-6px',
+ 'background' => 'url("T.png") repeat-x 0 0',
+ 'height' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 15,
+ 'x' => 283
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 6,
+ 'x' => 16
+ },
+ 'diff' => 9,
+ 'sel' => [
+ 14,
+ 0,
+ 283,
+ 15
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '8px',
+ 'right' => '6px',
+ 'background' => 'url("B.png") repeat-x 0 0',
+ 'bottom' => '-10px',
+ 'height' => '10px'
+ },
+ 'origsize' => {
+ 'y' => 16,
+ 'x' => 283
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 10,
+ 'x' => 16
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 14,
+ 203,
+ 283,
+ 16
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-6px',
+ 'width' => '14px',
+ 'top' => '-6px',
+ 'background' => 'url("TL.png") no-repeat 0 0',
+ 'height' => '15px'
+ },
+ 'origsize' => {
+ 'y' => 15,
+ 'x' => 14
+ },
+ 'finalsize' => {
+ 'y' => 15,
+ 'x' => 14
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 14,
+ 15
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '16px',
+ 'right' => '-10px',
+ 'background' => 'url("BR.png") no-repeat 0 0',
+ 'bottom' => '-10px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'sel' => [
+ 297,
+ 203,
+ 16,
+ 16
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '10px',
+ 'right' => '-10px',
+ 'top' => '9px',
+ 'background' => 'url("R.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 188,
+ 'x' => 16
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 10
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 297,
+ 15,
+ 16,
+ 188
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '16px',
+ 'right' => '-10px',
+ 'top' => '-6px',
+ 'background' => 'url("TR.png") no-repeat 0 0',
+ 'height' => '15px'
+ },
+ 'origsize' => {
+ 'y' => 15,
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 15,
+ 'x' => 16
+ },
+ 'sel' => [
+ 297,
+ 0,
+ 16,
+ 15
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-6px',
+ 'width' => '14px',
+ 'background' => 'url("BL.png") no-repeat 0 0',
+ 'bottom' => '-10px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 16,
+ 'x' => 14
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 14
+ },
+ 'sel' => [
+ 0,
+ 203,
+ 14,
+ 16
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-6px',
+ 'width' => '6px',
+ 'top' => '9px',
+ 'background' => 'url("L.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 188,
+ 'x' => 14
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 6
+ },
+ 'diff' => 8,
+ 'sel' => [
+ 0,
+ 15,
+ 14,
+ 188
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/B.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/B.png
new file mode 100644
index 0000000..969ee2b
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/B.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/BL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/BL.png
new file mode 100644
index 0000000..71516b9
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/BL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/BR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/BR.png
new file mode 100644
index 0000000..23841ee
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/BR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/L.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/L.png
new file mode 100644
index 0000000..c133f80
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/L.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/R.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/R.png
new file mode 100644
index 0000000..a8a835c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/R.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/T.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/T.png
new file mode 100644
index 0000000..89f828c
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/T.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/TL.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/TL.png
new file mode 100644
index 0000000..15971a5
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/TL.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/TR.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/TR.png
new file mode 100644
index 0000000..55cd077
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/TR.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/shadows.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/shadows.css
new file mode 100644
index 0000000..28c222a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/thin-shadows1/shadows.css
@@ -0,0 +1,222 @@
+T { left: 8px; right: 6px; top: -6px; background: url("T.png") repeat-x 0 0; height: 6px; }
+B { left: 8px; right: 6px; background: url("B.png") repeat-x 0 0; bottom: -10px; height: 10px; }
+TL { left: -6px; width: 14px; top: -6px; background: url("TL.png") no-repeat 0 0; height: 15px; }
+BR { width: 16px; right: -10px; background: url("BR.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+R { width: 10px; right: -10px; top: 9px; background: url("R.png") repeat-y 0 0; bottom: 6px; }
+TR { width: 16px; right: -10px; top: -6px; background: url("TR.png") no-repeat 0 0; height: 15px; }
+BL { left: -6px; width: 14px; background: url("BL.png") no-repeat 0 0; bottom: -10px; height: 16px; }
+L { left: -6px; width: 6px; top: 9px; background: url("L.png") repeat-y 0 0; bottom: 6px; }
+
+
+/*
+$VAR1 = {
+ 'T' => {
+ 'css' => {
+ 'left' => '8px',
+ 'right' => '6px',
+ 'top' => '-6px',
+ 'background' => 'url("T.png") repeat-x 0 0',
+ 'height' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 15,
+ 'x' => 283
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 6,
+ 'x' => 16
+ },
+ 'diff' => 9,
+ 'sel' => [
+ 14,
+ 0,
+ 283,
+ 15
+ ],
+ 'name' => 'T.png'
+ },
+ 'B' => {
+ 'css' => {
+ 'left' => '8px',
+ 'right' => '6px',
+ 'background' => 'url("B.png") repeat-x 0 0',
+ 'bottom' => '-10px',
+ 'height' => '10px'
+ },
+ 'origsize' => {
+ 'y' => 16,
+ 'x' => 283
+ },
+ 'cut' => {
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 10,
+ 'x' => 16
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 14,
+ 203,
+ 283,
+ 16
+ ],
+ 'name' => 'B.png'
+ },
+ 'TL' => {
+ 'css' => {
+ 'left' => '-6px',
+ 'width' => '14px',
+ 'top' => '-6px',
+ 'background' => 'url("TL.png") no-repeat 0 0',
+ 'height' => '15px'
+ },
+ 'origsize' => {
+ 'y' => 15,
+ 'x' => 14
+ },
+ 'finalsize' => {
+ 'y' => 15,
+ 'x' => 14
+ },
+ 'sel' => [
+ 0,
+ 0,
+ 14,
+ 15
+ ],
+ 'name' => 'TL.png'
+ },
+ 'BR' => {
+ 'css' => {
+ 'width' => '16px',
+ 'right' => '-10px',
+ 'background' => 'url("BR.png") no-repeat 0 0',
+ 'bottom' => '-10px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 16
+ },
+ 'sel' => [
+ 297,
+ 203,
+ 16,
+ 16
+ ],
+ 'name' => 'BR.png'
+ },
+ 'R' => {
+ 'css' => {
+ 'width' => '10px',
+ 'right' => '-10px',
+ 'top' => '9px',
+ 'background' => 'url("R.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 188,
+ 'x' => 16
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 10
+ },
+ 'diff' => 6,
+ 'sel' => [
+ 297,
+ 15,
+ 16,
+ 188
+ ],
+ 'name' => 'R.png'
+ },
+ 'TR' => {
+ 'css' => {
+ 'width' => '16px',
+ 'right' => '-10px',
+ 'top' => '-6px',
+ 'background' => 'url("TR.png") no-repeat 0 0',
+ 'height' => '15px'
+ },
+ 'origsize' => {
+ 'y' => 15,
+ 'x' => 16
+ },
+ 'finalsize' => {
+ 'y' => 15,
+ 'x' => 16
+ },
+ 'sel' => [
+ 297,
+ 0,
+ 16,
+ 15
+ ],
+ 'name' => 'TR.png'
+ },
+ 'BL' => {
+ 'css' => {
+ 'left' => '-6px',
+ 'width' => '14px',
+ 'background' => 'url("BL.png") no-repeat 0 0',
+ 'bottom' => '-10px',
+ 'height' => '16px'
+ },
+ 'origsize' => {
+ 'y' => 16,
+ 'x' => 14
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 14
+ },
+ 'sel' => [
+ 0,
+ 203,
+ 14,
+ 16
+ ],
+ 'name' => 'BL.png'
+ },
+ 'L' => {
+ 'css' => {
+ 'left' => '-6px',
+ 'width' => '6px',
+ 'top' => '9px',
+ 'background' => 'url("L.png") repeat-y 0 0',
+ 'bottom' => '6px'
+ },
+ 'origsize' => {
+ 'y' => 188,
+ 'x' => 14
+ },
+ 'cut' => {
+ 'y' => 16
+ },
+ 'finalsize' => {
+ 'y' => 16,
+ 'x' => 6
+ },
+ 'diff' => 8,
+ 'sel' => [
+ 0,
+ 15,
+ 14,
+ 188
+ ],
+ 'name' => 'L.png'
+ }
+ };
+*/
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/titlebg.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/titlebg.png
new file mode 100644
index 0000000..7663f97
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/titlebg.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tmpcal.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tmpcal.gif
new file mode 100644
index 0000000..1c1934a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tmpcal.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree-drop-here-lower.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree-drop-here-lower.gif
new file mode 100644
index 0000000..4058111
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree-drop-here-lower.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree-drop-here-upper.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree-drop-here-upper.gif
new file mode 100644
index 0000000..326cf6a
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree-drop-here-upper.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree-drop-here.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree-drop-here.gif
new file mode 100644
index 0000000..56f2706
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree-drop-here.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/all-wcprops
new file mode 100644
index 0000000..80e6993
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/all-wcprops
@@ -0,0 +1,71 @@
+K 25
+svn:wc:ra_dav:version-url
+V 56
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/tree
+END
+minus.gif
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/tree/minus.gif
+END
+minus-hover.gif
+K 25
+svn:wc:ra_dav:version-url
+V 72
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/tree/minus-hover.gif
+END
+lines-v.gif
+K 25
+svn:wc:ra_dav:version-url
+V 68
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/tree/lines-v.gif
+END
+lines-tcb.gif
+K 25
+svn:wc:ra_dav:version-url
+V 70
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/tree/lines-tcb.gif
+END
+plus.png
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/tree/plus.png
+END
+plus.gif
+K 25
+svn:wc:ra_dav:version-url
+V 65
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/tree/plus.gif
+END
+plus-hover.gif
+K 25
+svn:wc:ra_dav:version-url
+V 71
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/tree/plus-hover.gif
+END
+dot.gif
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/tree/dot.gif
+END
+lines-b.gif
+K 25
+svn:wc:ra_dav:version-url
+V 68
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/tree/lines-b.gif
+END
+lines-c.gif
+K 25
+svn:wc:ra_dav:version-url
+V 68
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/tree/lines-c.gif
+END
+minus.png
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/new-theme/img/tree/minus.png
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/entries
new file mode 100644
index 0000000..16db582
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/entries
@@ -0,0 +1,402 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/new-theme/img/tree
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+minus.gif
+file
+
+
+
+
+2012-01-23T13:07:10.141352Z
+40e656941ad6ded68c61b2a5eb253c0a
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+68
+
+minus-hover.gif
+file
+
+
+
+
+2012-01-23T13:07:10.141352Z
+c108b5d553b8dec84c89daa3066f477f
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+67
+
+lines-v.gif
+file
+
+
+
+
+2012-01-23T13:07:10.141352Z
+3da87ea87c47d4942921567733974047
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+54
+
+lines-tcb.gif
+file
+
+
+
+
+2012-01-23T13:07:10.141352Z
+f122532ab6dc9ee33fd4d875e8a6231d
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+308
+
+plus.png
+file
+
+
+
+
+2012-01-23T13:07:10.145352Z
+497064c7e46be5529fe871514ca0a20b
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+291
+
+plus.gif
+file
+
+
+
+
+2012-01-23T13:07:10.145352Z
+acfe885afb9f6d85bb70cf784a2b11be
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+67
+
+plus-hover.gif
+file
+
+
+
+
+2012-01-23T13:07:10.145352Z
+4315001e267a9fd97d62d10f5ede24c9
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+64
+
+dot.gif
+file
+
+
+
+
+2012-01-23T13:07:10.145352Z
+00ca4a7ec04a069e87d4bbc2546e7af9
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+85
+
+lines-b.gif
+file
+
+
+
+
+2012-01-23T13:07:10.145352Z
+8a6b9cef640509fb2d97f609cc303544
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+257
+
+lines-c.gif
+file
+
+
+
+
+2012-01-23T13:07:10.145352Z
+042c3ff6284ee4f20ce00aa4617b0634
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+67
+
+minus.png
+file
+
+
+
+
+2012-01-23T13:07:10.145352Z
+3617d098d8a07379cff7eba997e7a8d4
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+260
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/dot.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/dot.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/dot.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/lines-b.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/lines-b.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/lines-b.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/lines-c.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/lines-c.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/lines-c.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/lines-tcb.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/lines-tcb.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/lines-tcb.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/lines-v.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/lines-v.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/lines-v.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/minus-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/minus-hover.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/minus-hover.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/minus.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/minus.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/minus.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/minus.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/minus.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/minus.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/plus-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/plus-hover.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/plus-hover.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/plus.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/plus.gif.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/plus.gif.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/plus.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/plus.png.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/prop-base/plus.png.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/dot.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/dot.gif.svn-base
new file mode 100644
index 0000000..f54ca7e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/dot.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/lines-b.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/lines-b.gif.svn-base
new file mode 100644
index 0000000..47298b0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/lines-b.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/lines-c.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/lines-c.gif.svn-base
new file mode 100644
index 0000000..93a31fc
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/lines-c.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/lines-tcb.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/lines-tcb.gif.svn-base
new file mode 100644
index 0000000..4e72ceb
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/lines-tcb.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/lines-v.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/lines-v.gif.svn-base
new file mode 100644
index 0000000..c51c866
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/lines-v.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/minus-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/minus-hover.gif.svn-base
new file mode 100644
index 0000000..7ed3baa
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/minus-hover.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/minus.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/minus.gif.svn-base
new file mode 100644
index 0000000..e4c46a0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/minus.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/minus.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/minus.png.svn-base
new file mode 100644
index 0000000..25cc1a7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/minus.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/plus-hover.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/plus-hover.gif.svn-base
new file mode 100644
index 0000000..48237a1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/plus-hover.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/plus.gif.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/plus.gif.svn-base
new file mode 100644
index 0000000..fcc4597
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/plus.gif.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/plus.png.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/plus.png.svn-base
new file mode 100644
index 0000000..20923a4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/.svn/text-base/plus.png.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/dot.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/dot.gif
new file mode 100644
index 0000000..f54ca7e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/dot.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/lines-b.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/lines-b.gif
new file mode 100644
index 0000000..47298b0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/lines-b.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/lines-c.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/lines-c.gif
new file mode 100644
index 0000000..93a31fc
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/lines-c.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/lines-tcb.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/lines-tcb.gif
new file mode 100644
index 0000000..4e72ceb
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/lines-tcb.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/lines-v.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/lines-v.gif
new file mode 100644
index 0000000..c51c866
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/lines-v.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/minus-hover.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/minus-hover.gif
new file mode 100644
index 0000000..7ed3baa
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/minus-hover.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/minus.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/minus.gif
new file mode 100644
index 0000000..e4c46a0
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/minus.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/minus.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/minus.png
new file mode 100644
index 0000000..25cc1a7
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/minus.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/plus-hover.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/plus-hover.gif
new file mode 100644
index 0000000..48237a1
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/plus-hover.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/plus.gif b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/plus.gif
new file mode 100644
index 0000000..fcc4597
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/plus.gif
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/plus.png b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/plus.png
new file mode 100644
index 0000000..20923a4
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/img/tree/plus.png
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/uploadentry.css b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/uploadentry.css
new file mode 100644
index 0000000..9322203
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/new-theme/uploadentry.css
@@ -0,0 +1,21 @@
+body { background-color: transparent; margin: 0; padding: 0; overflow: hidden; height: 100%; }
+
+form, input { font: 12px Tahoma,"Lucida Sans","Trebuchet MS",Tahoma,Verdana,sans-serif; height: 22px; width: 80px; }
+form { margin: 0; padding: 0; }
+
+.upload {
+ display: block;
+ background: url("img/btn-choose-file.gif") no-repeat 0 50%;
+ overflow: hidden;
+ cursor: pointer;
+ width: 80px;
+ height: 22px;
+ position: relative;
+}
+.upload input {
+ opacity: 0; filter: alpha(opacity=0); -moz-opacity: 0;
+ position: absolute;
+ cursor: pointer;
+ height: 100%;
+ width: auto;
+}
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/.svn/all-wcprops b/gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/.svn/all-wcprops
new file mode 100644
index 0000000..f029800
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/.svn/all-wcprops
@@ -0,0 +1,11 @@
+K 25
+svn:wc:ra_dav:version-url
+V 41
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/swf
+END
+flash.swf
+K 25
+svn:wc:ra_dav:version-url
+V 51
+/svn/labcode/!svn/ver/2/Ymacs/test/dl/swf/flash.swf
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/.svn/entries b/gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/.svn/entries
new file mode 100644
index 0000000..a01a002
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/.svn/entries
@@ -0,0 +1,62 @@
+10
+
+dir
+60
+https://svn.gnowledge.org/svn/labcode/Ymacs/test/dl/swf
+https://svn.gnowledge.org/svn/labcode
+
+
+
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+15bf0492-30b5-4620-9f24-ebed40bad4e9
+
+flash.swf
+file
+
+
+
+
+2012-01-23T13:07:09.421349Z
+5f30a049ec7267d819d1df594edf7caa
+2011-04-12T10:49:38.890806Z
+2
+sndt2011
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+2117
+
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/.svn/prop-base/flash.swf.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/.svn/prop-base/flash.swf.svn-base
new file mode 100644
index 0000000..5e9587e
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/.svn/prop-base/flash.swf.svn-base
@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/.svn/text-base/flash.swf.svn-base b/gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/.svn/text-base/flash.swf.svn-base
new file mode 100644
index 0000000..f617072
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/.svn/text-base/flash.swf.svn-base
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/flash.swf b/gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/flash.swf
new file mode 100644
index 0000000..f617072
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/dl/swf/flash.swf
Binary files differ
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/gnow-test.js b/gstudio/static/gstudio/js/Gnowmacs/test/gnow-test.js
new file mode 100644
index 0000000..674d6ec
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/gnow-test.js
@@ -0,0 +1,822 @@
+// This file is part of Ymacs for GNOWSYS: Gnowledge Networking
+// and Organizing System.
+
+// Ymacs is free software; you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation; either version 3 of
+// the License, or (at your option) any later version.
+
+// Ymacs is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU Affero General Public
+// License along with Ymacs (agpl.txt); if not, write to the
+// Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+// Boston, MA 02110-1301 USA59 Temple Place, Suite 330,
+
+// Author Divya <divyas15@gmail.com>
+
+var desktop = new DlDesktop({});
+var tableg = 0;
+var row, col;
+var str_sym;
+var options1, position, char_at_pos, index1, pt,pt1,pt2;
+var formats;
+formats = ["Save","HTML", "PDF", "LaTeX", "DocBook", "XOXO"];
+var al;
+var str1;
+var al1,al2;
+var gImage;
+var gOptions;
+function print(obj) {
+ var a = [], i;
+ for (i in obj) {
+ var val = obj[i];
+ if (val instanceof Function)
+ val = val.toString();
+ else
+ val = DlJSON.encode(val);
+ a.push(DlJSON.encode(i) + " : " + val);
+ }
+ return a.map(function(line){
+ return line.replace(/^/mg, function(s) {
+ return " ";
+ });
+ }).join("\n");
+};
+
+var info = ( "Existing keybindings:\n\n" +
+ print(Ymacs_Keymap_Emacs().constructor.KEYS)
+ + "\n\nHave fun!\n" );
+
+
+try {
+ var org = new Ymacs_Buffer({ name: test });
+
+ org.cmd("org_mode");
+
+ var keys = new Ymacs_Buffer({ name: "keybindings.txt" });
+ keys.setCode(info);
+
+ var layout = new DlLayout({ parent: desktop });
+
+ var empty = new Ymacs_Buffer({ name: "empty" });
+ var ymacs = window.ymacs = new Ymacs({ buffers: [ org, keys ] });
+ ymacs.setColorTheme([ "dark", "y" ]);
+
+ try {
+ ymacs.getActiveBuffer().cmd("eval_file", ".ymacs");
+ } catch(ex) {}
+
+ var menu = new DlHMenu({});
+ menu.setStyle({ marginLeft: 0, marginRight: 0 });
+
+
+ var item = new DlMenuItem({ parent: menu, label: "Menu".makeLabel() });
+
+
+ /* -------------- Org Export --------------*/
+
+ //formats = ["HTML", "PDF", "LaTeX", "DocBook", "XOXO"];
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+ formats.foreach(function(format){
+ var item = new DlMenuItem({ label: format, parent: submenu });
+ item.addEventListener("onSelect", function(){
+
+ try{
+
+ var is_Firefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
+ if (is_Firefox)
+ netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
+
+ var xhr = new XMLHttpRequest();
+ var url = "http://127.0.0.1:9292/";
+
+ xhr.open("POST", url, true);
+
+ xhr.onreadystatechange=function() {
+ if (xhr.readyState==4) {
+ alert(xhr.status);
+
+ }
+ }
+ xhr.setRequestHeader("Content-type", "text/plain");
+
+ if(format=="HTML" && gImage==1) // checking if insertImage() is called
+ {
+ //ymacs.getActiveBuffer().cmd("delete_region_or_line",str1);
+ al = "#+ATTR_HTML: align="+"\"left\""+"\n";
+ al1 = al;
+ ymacs.getActiveBuffer().cmd("insert",al1);
+ //if(al2!=null)
+ //ymacs.getActiveBuffer().cmd("delete_region_or_line",al2);
+ }
+ else if(format=="PDF" && gImage==1)
+ {
+ //ymacs.getActiveBuffer().cmd("delete_region_or_line",str1);
+ al = "#+ATTR_LaTeX:placement = {r}"+"\n";
+ al2 = al;
+ ymacs.getActiveBuffer().cmd("insert",al2);
+ //if(al1!=null)
+ //ymacs.getActiveBuffer().cmd("delete_region_or_line",al1);
+ }
+ xhr.send("gnow-select: "+format+"\n"+ymacs.getActiveBuffer().getCode());
+
+
+
+
+//alert("gnow-select: "+format+"\n"+ymacs.getActiveBuffer().getCode());
+//alert(format+"\n"+ymacs.getActiveBuffer().getCode());
+
+}
+ catch(e){
+ alert("Some Error");
+ alert(e);}
+ });
+ });
+
+
+ menu.addFiller();
+
+ var item = new DlMenuItem({ parent: menu, label: "Toggle line numbers".makeLabel() });
+ item.addEventListener("onSelect", function() {
+ ymacs.getActiveBuffer().cmd("toggle_line_numbers");
+ });
+
+ /*------[ Wrap ]--------
+ flag is a variable to store the current status of wrap.wrap itself switches On n Off depending on previous status.
+ so it is necessary to keep record of previous status*/
+
+ var item = new DlMenuItem({ parent: menu, label: "Wrap".makeLabel() });
+ var flag = "False" ;
+ item.addEventListener("onSelect", function() {
+ if(flag == "False")
+ {
+ flag = "True";
+ alert("Wrapping is ON");
+ ymacs.getActiveBuffer().cmd("wrap_text");
+ }
+ else
+ {
+ flag = "False";
+ alert("Wrapping is OFF");
+ ymacs.getActiveBuffer().cmd("wrap_text");
+ }
+
+ });
+
+ /*------[ save ]--------*/
+
+ var item = new DlMenuItem({ parent: menu, label: "Save".makeLabel() });
+ item.addEventListener("onSelect", function() {
+ /var fso = new DOMParser("Scripting.FileSystemObject");
+ varFileObject = fso.OpenTextFile("/home/supriya/Desktop/test1.txt", 2, true,0);
+ varFileObject.write("hello");
+ varFileObject.close();
+ alert ("hi");
+ });
+
+
+
+ /* -----[ insert - just a try] ----- */
+
+ var item = new DlMenuItem({ parent: menu, label: "Insert".makeLabel() });
+ var item1 = new DlMenuItem({ parent: submenu, label: "TOC" });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+ var subToc = new DlVMenu({});
+ item = new DlMenuItem({ parent: submenu, label: "Default from ymacs.css" });
+ item.addEventListener("onSelect", function(){
+ ymacs.getActiveFrame().setStyle({ fontFamily: "" });
+ });
+
+ submenu.addSeparator();
+item1 = new DlMenuItem({ parent: submenu, label: "Table Of Content" });
+item1.addEventListener("onSelect", function()
+ {
+ options1 = "#+OPTIONS:" + " "+ "H:3 num:t toc:t \\n:nil @:t ::t |:t ^:t -:t f:t *:t <:t" +"\n";
+ insertOPTIONS();
+
+ });
+ var files = [
+ "Table",
+ "Insert Column",
+ "Insert Row",
+ "Insert hline",
+ "Images",
+ ]
+ item1.setMenu(subToc);
+
+
+
+
+ files.foreach(function(i){
+ item = new DlMenuItem({ parent: submenu, label: "<span style='font-size:" + i + "'>" + i + "</span>" });
+ item.addEventListener("onSelect", function(){
+
+ // alert("You selected " +i);
+
+ switch(i)
+ {
+ case "Table": insertTable();
+ break;
+ case "Insert Column": if(tableg == 1) // if insertTable() is called previously then call insertColumn()
+ { insertColumn();
+ }
+ else
+ { alert("First create a table");
+ }
+ break;
+ case "Insert Row": if(tableg == 1) // if insertTable() is called previously then call insertRow()
+ { insertRow();
+ }
+ else
+ { alert("First create a table");
+ }
+ break;
+ case "Insert hline": if(tableg == 1)// if insertTable() is called previously then call insertHline()
+ { insertHline();
+ }
+ else
+ { alert("First create a table");
+ }
+ break;
+
+ case "Images": insertImage1();
+ break;
+ default:
+ alert("code to be executed if n is different from case 1 and 2");
+ }
+ });
+ });
+
+
+ var files2 = [
+ "OPTIONS"
+
+
+ ].foreach(function(font){
+ item = new DlMenuItem({ parent: subToc, label: "<span style='font-family:" + font + "'>" + font + "</span>" });
+ var test_flag = "False" ;
+ item.addEventListener("onSelect", function(){
+
+ // var pt2 = ymacs.getActiveBuffer().cmd("point");
+ // alert(pt2);
+
+ if(test_flag == "False" && gOptions == 1)
+ {
+ test_flag = "True";
+ alert("OPTIONS is ON");
+ ymacs.getActiveBuffer().cmd("goto_char",pt1);
+ alert(pt1);
+ ymacs.getActiveBuffer().cmd("end_of_line");
+ ymacs.getActiveBuffer().cmd("insert","\n");
+ pt2 = ymacs.getActiveBuffer().cmd("point");
+ alert(pt2);
+ options1 = "#+OPTIONS:" + " "+ "H:3 num:t toc:t \\n:nil @:t ::t |:t ^:t -:t f:t *:t <:t"+"\n";
+ ymacs.getActiveBuffer().cmd("insert",options1);
+ //ymacs.getActiveBuffer().cmd("insert","\n");
+
+ }
+ else if(gOptions!=1){
+
+ alert("Insert TOC first");
+
+
+
+ }
+
+ else
+ {
+
+ // ymacs.getActiveBuffer().cmd("beginning_of_buffer");
+
+ test_flag = "False";
+ alert("OPTIONS is OFF");
+
+
+ // if(gOptions == 1)
+
+
+ ymacs.getActiveBuffer().cmd("goto_char",pt2);
+ alert(pt2);
+
+ // ymacs.getActiveBuffer().cmd("forward_line");
+
+ // var pt1 = ymacs.getActiveBuffer().cmd("point");
+ // alert("pt1",pt1);
+ // ymacs.getActiveBuffer().cmd("goto_char",pt1);
+
+ ymacs.getActiveBuffer().cmd("delete_line");
+ options1 = "#+OPTIONS:" + " "+ "H:3 num:nil toc:nil \\n:nil @:t ::t |:t ^:t -:t f:t *:t <:t" +"\n";
+ ymacs.getActiveBuffer().cmd("insert",options1);
+
+
+
+ }
+
+
+
+
+
+
+
+
+ });
+ });
+
+ function insertOPTIONS()
+ {
+ gOptions = 1;
+ var a1 = "#+AUTHOR:" + " " + "\n";
+ var t1 = "#+TITLE:" + " " + "\n";
+ var currentDate = new Date();
+ var month = currentDate.getMonth() + 1;
+ var day = currentDate.getDate();
+ var year = currentDate.getFullYear();
+ var weekday=new Array(7);
+ weekday[0]="Sunday";
+ weekday[1]="Monday";
+ weekday[2]="Tuesday";
+ weekday[3]="Wednesday";
+ weekday[4]="Thursday";
+ weekday[5]="Friday";
+ weekday[6]="Saturday";
+ var d1 = weekday[currentDate.getDay()];
+ var fullDate = "#+DATE:" + " " + year + " " + month + " " + day + " " + d1 + "\n";
+ var language1 = "#+LANGUAGE:" + " " + "en" + "\n";
+ var emailId = "#+EMAIL:" + " " + "\n";
+ var desc = "#+DESCRIPTION:" + " "+"\n";
+ var keywords ="#+KEYWORDS:" + " "+"\n";
+ var options2 = "#+OPTIONS:" + " "+ "TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc"+"\n";
+ var info = "#+INFOJS_OPT:" + " " + "view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js" + "\n";
+ var export_select_tag = "#+EXPORT_" + " SELECT_" + "TAGS:" + " " + "export " +"\n";
+ var export_exclude_tag = "#+EXPORT_" + " EXCLUDE_" + "TAGS:" + " " + "noexport" + "\n";
+ var link_up = "#+LINK_UP:" + " " + "\n";
+ var link_home = "#+LINK_HOME:" + " " + "\n";
+ ymacs.getActiveBuffer().cmd("insert",t1);
+ ymacs.getActiveBuffer().cmd("insert",a1);
+ ymacs.getActiveBuffer().cmd("insert",emailId);
+ ymacs.getActiveBuffer().cmd("insert",fullDate);
+ ymacs.getActiveBuffer().cmd("insert",keywords);
+ ymacs.getActiveBuffer().cmd("insert",language1);
+ //pt = ymacs.getActiveBuffer().cmd("point");
+ //alert(pt);
+ //ymacs.getActiveBuffer().cmd("insert",options1);
+ // ymacs.getActiveBuffer().cmd("insert","\n");
+
+ ymacs.getActiveBuffer().cmd("insert",options2);
+
+ ymacs.getActiveBuffer().cmd("insert","\n");
+ pt1 = ymacs.getActiveBuffer().cmd("point");
+ // alert(pt1);
+ ymacs.getActiveBuffer().cmd("insert",info);
+ ymacs.getActiveBuffer().cmd("insert",export_select_tag);
+ ymacs.getActiveBuffer().cmd("insert",export_exclude_tag);
+ ymacs.getActiveBuffer().cmd("insert",link_up);
+ ymacs.getActiveBuffer().cmd("insert",link_home);
+ //ymacs.getActiveBuffer().cmd("goto_char",pt);
+ }
+
+
+
+
+// This function creates a table with the user specified no. of rows & columns.
+ function insertTable()
+ {
+ row = prompt("Enter no. of rows",1);
+ col = prompt("Enter no. of cols",1);
+ tableg = 1;
+ for(k=0;k<=col;k++)
+ {
+ ymacs.getActiveBuffer().cmd("org_table_create");
+ }
+ ymacs.getActiveBuffer().cmd("insert","\n"); ymacs.getActiveBuffer().cmd("insert","|");
+ ymacs.getActiveBuffer().cmd("insert","---");
+ for(k=0;k<(col-1);k++)
+ {
+
+ ymacs.getActiveBuffer().cmd("insert","@");
+ ymacs.getActiveBuffer().cmd("insert","---");
+ }
+ ymacs.getActiveBuffer().cmd("insert","|");
+ ymacs.getActiveBuffer().cmd("insert","\n");
+ for(m=1;m<row;m++)
+ {
+
+ for(j=0;j<=col;j++)
+ {
+
+ ymacs.getActiveBuffer().cmd("org_table_create");
+ }
+ //alert(row);
+ ymacs.getActiveBuffer().cmd("insert","\n");
+ }
+ }
+
+ // This function creates a column for the table.
+
+ function insertColumn()
+
+ {
+
+ ymacs.getActiveBuffer().cmd("backward_paragraph");
+ ymacs.getActiveBuffer().cmd("forward_line");
+ ymacs.getActiveBuffer().cmd("end_of_line");
+
+
+ ymacs.getActiveBuffer().cmd("insert","|");
+
+ ymacs.getActiveBuffer().cmd("forward_line");
+ ymacs.getActiveBuffer().cmd("backward_char");ymacs.getActiveBuffer().cmd("insert","@");
+ ymacs.getActiveBuffer().cmd("delete_char");
+
+ ymacs.getActiveBuffer().cmd("insert","---");
+ ymacs.getActiveBuffer().cmd("insert","|"); ymacs.getActiveBuffer().cmd("forward_line");
+ for(k=1;k<row;k++){
+ ymacs.getActiveBuffer().cmd("insert","|");
+ ymacs.getActiveBuffer().cmd("forward_line");
+
+ } col = parseInt(col)+1;
+
+
+ }
+
+ // This function creates a row for the table.
+
+ function insertRow()
+
+ {
+ for(j=0;j<=col;j++)
+ {
+
+ ymacs.getActiveBuffer().cmd("org_table_create");
+ } ymacs.getActiveBuffer().cmd("insert","");
+ ymacs.getActiveBuffer().cmd("newline");
+
+ row = parseInt(row)+1;
+
+ }
+
+ // This function creates a Horizontal Line for the table.
+
+ function insertHline()
+ {
+ ymacs.getActiveBuffer().cmd("end_of_line");
+ ymacs.getActiveBuffer().cmd("insert","\n");
+
+ ymacs.getActiveBuffer().cmd("insert","|");
+ ymacs.getActiveBuffer().cmd("insert","---");
+ for(k=0;k<(col-1);k++)
+ {
+
+ ymacs.getActiveBuffer().cmd("insert","@");
+ ymacs.getActiveBuffer().cmd("insert","---");
+ }
+ ymacs.getActiveBuffer().cmd("insert","|");
+
+
+ }
+
+ function insertImage()
+ {
+
+
+ //gImage = 1;
+ //ymacs.getActiveBuffer().cmd("end_of_buffer");
+ //var img1 = prompt("Enter url for image","/home/sndt/Music/img2.jpeg");
+ //mywindow = window.open("fileupload2.html", "", "location=0,status=0,scrollbars=0, width=300,height=150");
+ mywindow = window.open("one.html", "", "location=0,status=0,scrollbars=0, width=300,height=150");
+ mywindow.moveTo(400, 400);
+
+ //document.write("<INPUT TYPE=file + >");
+
+ //document.write("hi");
+
+ //window.open(img1);
+ //var al;
+ //var str1;
+ //var img2 = img1;
+ //var str3 = img1.indexOf(".");
+ //var str4 = img1.lastIndexOf("/");
+ //var str2 = img1.slice(str4+1,str3);
+ //var str1 = "[[" + img1 + "]" + "["+ str2 +"]]";
+ //var al = "#+ATTR_HTML: align="+"\"left\""+"\n";
+ //str1 = "[[" + img1 + "]]";
+ //var str = img1.lastIndexOf("]");
+ //var a = str-1;
+ //var c = img1.length;
+ //var b = img1.slice(str4+1,c);
+ //var d = "/home/sndt/imgtry/" + b;
+ //var newPath = "[[" + d + "]]";
+ //ymacs.getActiveBuffer().cmd("insert",newPath);
+ //ymacs.getActiveBuffer().cmd("insert",str1);
+
+ }
+
+function insertImage1()
+ {
+
+ // alert(img0);
+ gImage = 1;
+ ymacs.getActiveBuffer().cmd("end_of_buffer");
+ var img1 = prompt("Enter url for image","/home/sndt/Music/img2.jpeg");
+ //mywindow = window.open("fileupload1.html", "", "location=0,status=0,scrollbars=0, width=300,height=150");
+ // mywindow.moveTo(400, 400);
+
+ //document.write("<INPUT TYPE=file + >");
+
+ //document.write("hi");
+
+ //window.open(img1);
+ //var al;
+ //var str1;
+ // var img1 = img0;
+ var img2 = img1;
+ var str3 = img1.indexOf(".");
+ var str4 = img1.lastIndexOf("/");
+ var str2 = img1.slice(str4+1,str3);
+ //var str1 = "[[" + img1 + "]" + "["+ str2 +"]]";
+ //var al = "#+ATTR_HTML: align="+"\"left\""+"\n";
+ str1 = "[[" + img1 + "]]";
+ var str = img1.lastIndexOf("]");
+ var a = str-1;
+ var c = img1.length;
+ var b = img1.slice(str4+1,c);
+ var d = "/home/sndt/imgtry/" + b;
+ var newPath = "[[" + d + "]]";
+ //ymacs.getActiveBuffer().cmd("insert",newPath);
+ ymacs.getActiveBuffer().cmd("insert",str1);
+ ymacs.getActiveBuffer().cmd("backward_line");
+ }
+
+
+
+
+ /* -----[ color theme ]----- */
+
+ var item = new DlMenuItem({ parent: menu, label: "Color theme".makeLabel() });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+
+ [
+ "dark|y|Dark background (default)",
+ "dark|billw|>Billw",
+ "dark|charcoal-black|>Charcoal black",
+ "dark|clarity-and-beauty|>Clarity and beauty",
+ "dark|classic|>Classic",
+ "dark|gnome2|>Gnome 2",
+ "dark|calm-forest|>Calm forest",
+ "dark|linh-dang-dark|>Linh Dang Dark",
+ "dark|blue-mood|>Blue mood",
+ "dark|zenburn|>Zenburn",
+ "dark|standard-dark|>Emacs standard (dark)",
+ null,
+ "light|y|Light background (default)",
+ "light|andreas|>Andreas",
+ "light|bharadwaj|>Bharadwaj",
+ "light|gtk-ide|>GTK IDE",
+ "light|high-contrast|>High contrast",
+ "light|scintilla|>Scintilla",
+ "light|standard-xemacs|>Standard XEmacs",
+ "light|vim-colors|>Vim colors",
+ "light|standard|>Emacs standard (light)"
+ ].foreach(function(theme){
+ if (theme == null) {
+ submenu.addSeparator();
+ } else {
+ theme = theme.split(/\s*\|\s*/);
+ var label = theme.pop();
+ label = label.replace(/^>\s*/, "&nbsp;".x(4));
+ var item = new DlMenuItem({ parent: submenu, label: label });
+ item.addEventListener("onSelect", ymacs.setColorTheme.$(ymacs, theme));
+ }
+ });
+ /*-------Insert-------
+
+ var item = new DlMenuItem({ parent: menu, label: "Insert".makeLabel() });
+ var item1 = new DlMenuItem({ parent: submenu, label: "TOC" });
+ var submenu = new DlVMenu({});
+
+ var subToc = new DlVMenu({});
+ item.setMenu(submenu);
+ item = new DlMenuItem({ parent: submenu, label: "Default file" });
+ submenu.addSeparator();
+ item1 = new DlMenuItem({ parent: submenu, label: "Table Of Content" });
+ item.addEventListener("onSelect", function(){
+
+ });
+
+ var files1 = [
+ "Image",
+ "Text",
+ "Table"
+
+
+
+ ]
+
+
+
+ item1.setMenu(subToc);
+ files1.foreach(function(font){
+ item = new DlMenuItem({ parent: submenu, label: "<span style='font-family:" + font + "'>" + font + "</span>" });
+ item.addEventListener("onSelect", function(){
+
+
+ if(font == "Image")
+ {
+ var imgPath = prompt("Enter the location:", "/home/snehal1/pics/ ");
+ window.open(imgPath);
+
+ }
+
+ });
+ });
+
+ var files2 = [
+ "Title",
+ "Author",
+ "Email",
+ "Description",
+ "Language"
+
+
+
+
+ ].foreach(function(font){
+ item = new DlMenuItem({ parent: subToc, label: "<span style='font-family:" + font + "'>" + font + "</span>" });
+ item.addEventListener("onSelect", function(){
+ var name1 = prompt("Enter data","");
+
+ });
+ });
+ */
+
+
+
+
+ /* -----[ Symbol Insert ]----- */
+
+ /* var item = new DlMenuItem({ parent: menu, label: "Symbol Insert".makeLabel() });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+
+ submenu.addSeparator();
+
+ [
+ "&alpha;",
+ "&beta;",
+ "&#947;",
+ "&#948;",
+ "&#949;",
+ "&#952;",
+ "&#955;",
+ "&#956;",
+ "&#960;",
+ "&#961;",
+ "&#963;",
+ "&#934;",
+ "&#931;"
+
+ ].foreach(function(i){
+ item = new DlMenuItem({ parent: submenu, label: "<span style='font-family:" + i + "'>" + i + "</span>" });
+ item.addEventListener("onSelect", function(){
+ // ymacs.getActiveBuffer().cmd("insert",i);
+ alert(i);
+ var greek_sym1 = [945,946,947,948,949,952,955,956,960,961,963,934,931];
+ var greek_sym2 = ["&alpha;","&beta;","&#947;","&#948;","&#949;","&#952;","&#955;","&#956;","&#960;","&#961;","&#963;","&#934;","&#931;"];
+ //var str_sym;
+
+ for(j=0;j<=13;j++)
+ {
+ for(k=0;k<=13;k++)
+ {
+ if(greek_sym2[j]==i && j==k)
+ {
+ str_sym = String.fromCharCode(greek_sym1[k]);
+ }
+
+ }
+
+
+ }
+ ymacs.getActiveBuffer().cmd("insert",str_sym);
+
+
+ });
+ });
+*/
+ /* -----[ font ]----- */
+
+ var item = new DlMenuItem({ parent: menu, label: "Font family".makeLabel() });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+
+ item = new DlMenuItem({ parent: submenu, label: "Default from ymacs.css" });
+ item.addEventListener("onSelect", function(){
+ ymacs.getActiveFrame().setStyle({ fontFamily: "" });
+ });
+
+ submenu.addSeparator();
+
+ [
+ "Lucida Sans Typewriter",
+ "Andale Mono",
+ "Courier New",
+ "Arial",
+ "Verdana",
+ "Tahoma",
+ "Georgia",
+ "Times New Roman"
+
+ ].foreach(function(font){
+ item = new DlMenuItem({ parent: submenu, label: "<span style='font-family:" + font + "'>" + font + "</span>" });
+ item.addEventListener("onSelect", function(){
+ ymacs.getActiveFrame().setStyle({ fontFamily: font });
+ });
+ });
+
+ // ymacs.getActiveFrame().setStyle({ fontFamily: "Arial", fontSize: "18px" });
+
+/* -----[ gnowsys-mode ]----- */
+
+ /* var item = new DlMenuItem({ parent: menu, label: "gnowsys-mode".makeLabel() });
+
+ item.addEventListener("onSelect", function(){
+ // window.open("/home/sndt/Downloads/jknair-MozGnowser-42c5530/gnowm
+
+oz@gnowledge.org/chrome/gnowmoz/content/gnowmoz.html");
+
+ var org1 = new Ymacs_Buffer({ name: "gnowsysmode.org" });
+ org1.setCode("hi");
+ ymacs.getActiveBuffer().cmd("switch_to_buffer",org1);
+ // org1.cmd("org_mode");
+ ymacs.getActiveBuffer().cmd("load_file");
+ //window.open("http://sandboxatlas.gnowledge.org/gnowql");
+ //window.open("/home/sndt/Downloads/jknair-MozGnowser-42c5530/gnowmoz@gnowledge.org/chrome/gnowmoz/content/gnowmoz.html");
+ //window.open("two.html","_blank","width=650,height=650");
+
+ }); */
+ /* -----[ font size ]----- */
+
+ var item = new DlMenuItem({ parent: menu, label: "Font size".makeLabel() });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+
+ item = new DlMenuItem({ parent: submenu, label: "Default from ymacs.css" });
+ item.addEventListener("onSelect", function(){
+ ymacs.getActiveFrame().setStyle({ fontSize: "" });
+ });
+
+ submenu.addSeparator();
+
+ [
+ "11px",
+ "12px",
+ "14px",
+ "16px",
+ "18px",
+ "20px",
+ "22px",
+ "24px"
+
+ ].foreach(function(font){
+ item = new DlMenuItem({ parent: submenu, label: "<span style='font-size:" + font + "'>" + font + "</span>" });
+ item.addEventListener("onSelect", function(){
+ ymacs.getActiveFrame().setStyle({ fontSize: font });
+ });
+ });
+
+ layout.packWidget(menu, { pos: "top" });
+ layout.packWidget(ymacs, { pos: "bottom", fill: "*" });
+
+ layout.setSize({x:800, y:500});
+
+} catch(ex) {
+ console.log(ex);
+}
+
+DynarchDomUtils.trash($("x-loading"));
+
+if (!is_gecko && !is_khtml) (function(){
+
+ var dlg = new DlDialog({
+ title : "Information",
+ modal : true,
+ quitBtn : "destroy"
+ });
+
+ var vbox = new DlVbox({ parent: dlg, borderSpacing: 5 });
+ var tmp = new DlWidget({ parent: vbox });
+ tmp.getElement().appendChild($("browser-warning"));
+ var ok = new DlButton({ parent: vbox, focusable: true, label: "OK, let's see it" });
+ ok.addEventListener("onClick", dlg.destroy.$(dlg));
+ dlg._focusedWidget = ok;
+
+ dlg.show(true);
+
+})();
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/index.html b/gstudio/static/gstudio/js/Gnowmacs/test/index.html
new file mode 100644
index 0000000..84c1905
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/index.html
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+ <head>
+ <title>Gnowmacs -- An Emacs-like editor for the Web</title>
+ <link rel="stylesheet" type="text/css" href="dl/new-theme/default.css" />
+ <link rel="stylesheet" type="text/css" href="../src/css/ymacs.css" />
+ <link rel="stylesheet" type="text/css" href="test.css" />
+ </head>
+ <body>
+ <center style="margin-top: 10em" id="x-loading">
+ <h1><tt>.oO[ loading ]Oo.</tt></h1>
+ </center>
+ <script>
+ window.Dynarch_Base_Url = "./dl";
+ window.YMACS_SRC_PATH = "../src/js/";
+ </script>
+ <script src="dl/js/thelib.js"></script>
+ <!-- <script src="http://www.jstoolkit.com.d:8090/src/js/all-scripts.jsx?crunch=0;path=http://www.jstoolkit.com.d:8090/src/js"></script> -->
+ <script src="../src/js/ymacs.js"></script>
+ <script src="../src/js/ymacs-keyboard.js"></script>
+ <script src="../src/js/ymacs-regexp.js"></script>
+ <script src="../src/js/ymacs-frame.js"></script>
+ <script src="../src/js/ymacs-textprop.js"></script>
+ <script src="../src/js/ymacs-exception.js"></script>
+ <script src="../src/js/ymacs-interactive.js"></script>
+ <script src="../src/js/ymacs-buffer.js"></script>
+ <script src="../src/js/ymacs-marker.js"></script>
+ <script src="../src/js/ymacs-commands.js"></script>
+ <script src="../src/js/ymacs-commands-utils.js"></script>
+ <script src="../src/js/ymacs-keymap.js"></script>
+ <script src="../src/js/ymacs-keymap-emacs.js"></script>
+ <script src="../src/js/ymacs-keymap-isearch.js"></script>
+ <script src="../src/js/ymacs-minibuffer.js"></script>
+ <script src="../src/js/ymacs-tokenizer.js"></script>
+ <script src="../src/js/ymacs-mode-paren-match.js"></script>
+ <script src="../src/js/ymacs-mode-lisp.js"></script>
+ <script src="../src/js/ymacs-mode-js.js"></script>
+ <script src="../src/js/ymacs-mode-xml.js"></script>
+ <script src="../src/js/ymacs-mode-css.js"></script>
+ <script src="../src/js/ymacs-mode-markdown.js"></script>
+
+ <div style="display: none">
+ <div id="browser-warning" style="padding: 1em; width: 20em;">
+ <b>Note that Ymacs is only tested with Firefox for now.</b><br /><br />
+ This is mentioned on the <a href="http://www.ymacs.org/"
+ target="_blank">project page</a>,
+ but I just thought I'd say it again.
+ </div>
+ </div>
+ <script src="test.js"></script>
+ </body>
+</html>
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/test.css b/gstudio/static/gstudio/js/Gnowmacs/test/test.css
new file mode 100644
index 0000000..5189764
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/test.css
@@ -0,0 +1,4 @@
+html, body {
+ background-color: #997;
+ overflow: hidden;
+}
diff --git a/gstudio/static/gstudio/js/Gnowmacs/test/test.js b/gstudio/static/gstudio/js/Gnowmacs/test/test.js
new file mode 100644
index 0000000..be58f83
--- /dev/null
+++ b/gstudio/static/gstudio/js/Gnowmacs/test/test.js
@@ -0,0 +1,352 @@
+/*
+
+ Note that this file is just an example. It should not be treated as
+ part of Ymacs itself. Ymacs is just an editing platform and as such
+ it has no menus, no toolbar etc. These can be easily added using
+ other DynarchLIB widgets, as this file demonstrates.
+
+ If a collection of useful menus/toolbars will emerge, a new compound
+ widget will be defined.
+
+*/
+
+var desktop = new DlDesktop({});
+desktop.fullScreen();
+
+function print(obj) {
+ var a = [], i;
+ for (i in obj) {
+ var val = obj[i];
+ if (val instanceof Function)
+ val = val.toString();
+ else
+ val = DlJSON.encode(val);
+ a.push(DlJSON.encode(i) + " : " + val);
+ }
+ return a.map(function(line){
+ return line.replace(/^/mg, function(s) {
+ return " ";
+ });
+ }).join("\n");
+};
+
+var info = ( "Existing keybindings:\n\n" +
+ print(Ymacs_Keymap_Emacs().constructor.KEYS)
+ + "\n\nHave fun!\n" );
+
+var lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam sagittis posuere dui, id facilisis metus blandit nec. Ut pulvinar felis vitae lacus mattis fermentum semper risus aliquet. Sed nec dolor quis odio condimentum pellentesque. Donec non vehicula massa. Nulla a rutrum nulla. Morbi dapibus pharetra ligula, ac pharetra purus scelerisque sit amet. Nulla non velit ut urna gravida rutrum non vitae leo. Duis gravida, lacus eget laoreet semper, magna sem scelerisque dolor, a sagittis lacus justo nec lectus. Vivamus lacus massa, mattis ut rutrum ac, consectetur vel ipsum. Suspendisse potenti. Fusce convallis lorem vel dui tristique non viverra mi feugiat. Vivamus mollis rutrum porta. Nunc non purus ut sapien pretium tristique aliquam sit amet eros. Vivamus vel rutrum lacus.\n\
+\n\
+Nullam vitae tellus enim, id suscipit nisl. Mauris elementum scelerisque lacus ac pellentesque. Donec rutrum tellus vel leo lacinia semper. Nulla porta, elit non vulputate pulvinar, eros lacus euismod libero, ut laoreet erat lacus a est. Nam quis mi nec nisl aliquam tempor eget vel massa. Sed justo ante, ornare ut tristique a, laoreet ac justo. Proin gravida cursus mauris a porttitor. Aliquam elit justo, euismod suscipit pharetra ut, placerat et dolor. Donec pulvinar elit nec ligula gravida scelerisque. Aenean rutrum tempus dui at volutpat. Maecenas a justo quis libero vehicula fermentum sit amet in augue. In ante nulla, fermentum at rutrum id, tincidunt ut massa. Vivamus quis justo ut quam tempor ultricies ultricies vitae tellus. Pellentesque lorem elit, convallis ut congue at, porta non nisi. Curabitur lectus tortor, elementum venenatis faucibus ut, vulputate vehicula dui. Fusce in dui id est lobortis venenatis eu ut dolor. Quisque vel diam diam. Nulla porttitor adipiscing nisi eget cursus. .\n\n".x(10);
+
+try {
+ var dlg = new DlDialog({ title: "Ymacs", resizable: true });
+ var javascript = new Ymacs_Buffer({ name: "test.js" });
+
+ javascript.setCode("\
+/* Note that there are a few buffers already loaded.\n\
+ You can switch through them using C-TAB or C-S-TAB.\n\
+ You can also split frames using C-x 2 or C-x 3, or\n\
+ revert to a single frame (the active one) with C-x 1.\n\
+ */\n\
+\n\
+function () {\n\
+ alert(\"moo\");\n\
+ while (/[/]/.test(str)) {\n\
+ // an unescaped slash can appear in a character set in regexps\n\
+ }\n\
+\n\
+/**\n\
+* press TAB on these lines to fix indentation,\n\
+* or move the caret to the first “{” character and press C-M-q\n\
+*/\n\
+ return function(){\n\
+ alert(this.foo);\n\
+}.$(this);\n\
+}\n\
+\n\
+// select the following few lines and try M-x eval_region\n\
+// then try \"C-x w\" to count the words in this buffer\n\
+//\n\
+// Note that once defined, it's not easy to change a keymap...\n\
+// I should figure out how to fix this.\n\
+DEFINE_SINGLETON(\"My_Keymap\", Ymacs_Keymap, function(D){\n\
+ D.KEYS = {\n\
+ \"C-x w\": function() {\n\
+ this.cmd(\"save_excursion\", function(){\n\
+ this.cmd(\"beginning_of_buffer\");\n\
+ var count = 0;\n\
+ while (!this.cmd(\"eob_p\")) {\n\
+ this.cmd(\"forward_word\");\n\
+ ++count;\n\
+ }\n\
+ alert(count + \" words in this buffer\");\n\
+ });\n\
+ }\n\
+ };\n\
+});\n\
+this.pushKeymap(My_Keymap());\n\
+");
+
+ var xml = new Ymacs_Buffer({ name: "index.html" });
+ xml.setCode("\
+<html>\n\
+ <head>\n\
+ <title>Ymacs -- Open Source Source Code Editor. :-p</title>\n\
+ </head>\n\
+ <body style=\"margin: 1em auto; width: 80%\"\n\
+ id=\"foo\">\n\
+ <h1 class=\"PageTitle\">Cool, isn't it?</h1>\n\
+ </body>\n\
+</html>\
+");
+
+ var txt = new Ymacs_Buffer({ name: "lorem.txt" });
+ txt.setCode(lorem);
+
+ javascript.cmd("javascript_dl_mode");
+ javascript.setq("indent_level", 4);
+ xml.cmd("xml_mode");
+
+ var lisp = new Ymacs_Buffer({ name: "test.lisp" });
+ lisp.setCode(";; Some basic Common-Lisp highlighting and indentation\n\
+;; Parens are auto-inserted\n\
+;; And you can close all remaining parens with C-c ] or C-c C-]\n\
+\n\
+(defun foo ())\n");
+ lisp.cmd("lisp_mode");
+
+ var markdown = new Ymacs_Buffer({ name: "markdown.txt" });
+ markdown.setCode("\
+# Markdown sytnax\n\
+\n\
+For now there is only basic syntax highlighting, but note\n\
+that paragraph filling commands (M-q, M-S-q) are good enough\n\
+to make editing Markdown a snap. For example, add a > character\n\
+at the start of this paragraph, then press M-q. It will \"quote\"\n\
+all the text in the paragraph. Press M-S-q to clear the prefix.\n\
+\n\
+Type \"1. \" at the start of the paragraph, then press M-q and it\n\
+will format a list item. If you press M-ENTER within it it will start\n\
+the next list item. Generally, M-ENTER starts a paragraph \"similar\"\n\
+to the current one.\n\
+");
+ markdown.cmd("markdown_mode");
+
+ var keys = new Ymacs_Buffer({ name: "keybindings.txt" });
+ keys.setCode(info);
+
+ var layout = new DlLayout({ parent: dlg });
+
+ var empty = new Ymacs_Buffer({ name: "empty" });
+ var ymacs = window.ymacs = new Ymacs({ buffers: [ javascript, xml, lisp, markdown, txt, keys ] });
+ ymacs.setColorTheme([ "dark", "y" ]);
+
+ try {
+ ymacs.getActiveBuffer().cmd("eval_file", ".ymacs");
+ } catch(ex) {}
+
+ var menu = new DlHMenu({});
+ menu.setStyle({ marginLeft: 0, marginRight: 0 });
+
+ var item = new DlMenuItem({ parent: menu, label: "Load its own code!".makeLabel() });
+
+ var files = [
+ "ymacs.js",
+ "ymacs-keyboard.js",
+ "ymacs-regexp.js",
+ "ymacs-frame.js",
+ "ymacs-textprop.js",
+ "ymacs-exception.js",
+ "ymacs-interactive.js",
+ "ymacs-buffer.js",
+ "ymacs-marker.js",
+ "ymacs-commands.js",
+ "ymacs-commands-utils.js",
+ "ymacs-keymap.js",
+ "ymacs-keymap-emacs.js",
+ "ymacs-keymap-isearch.js",
+ "ymacs-minibuffer.js",
+ "ymacs-tokenizer.js",
+ "ymacs-mode-paren-match.js",
+ "ymacs-mode-lisp.js",
+ "ymacs-mode-js.js",
+ "ymacs-mode-xml.js",
+ "ymacs-mode-css.js",
+ "ymacs-mode-markdown.js"
+ ];
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+ files.foreach(function(file){
+ var item = new DlMenuItem({ label: file, parent: submenu });
+ item.addEventListener("onSelect", function(){
+ var request = new DlRPC({ url: YMACS_SRC_PATH + file + "?killCache=" + new Date().getTime() });
+ request.call({
+ callback: function(data){
+ var code = data.text;
+ var buf = ymacs.getBuffer(file) || ymacs.createBuffer({ name: file });
+ buf.setCode(code);
+ buf.cmd("javascript_dl_mode", true);
+ ymacs.switchToBuffer(buf);
+ }
+ });
+ });
+ });
+
+ var item = new DlMenuItem({ parent: menu, label: "Set indentation level".makeLabel() });
+ item.addEventListener("onSelect", function() {
+ var buf = ymacs.getActiveBuffer(), newIndent;
+ newIndent = prompt("Indentation level for the current buffer: ", buf.getq("indent_level"));
+ if (newIndent != null)
+ newIndent = parseInt(newIndent, 10);
+ if (newIndent != null && !isNaN(newIndent)) {
+ buf.setq("indent_level", newIndent);
+ buf.signalInfo("Done setting indentation level to " + newIndent);
+ }
+ });
+
+ menu.addFiller();
+
+ var item = new DlMenuItem({ parent: menu, label: "Toggle line numbers".makeLabel() });
+ item.addEventListener("onSelect", function() {
+ ymacs.getActiveBuffer().cmd("toggle_line_numbers");
+ });
+
+ /* -----[ color theme ]----- */
+
+ var item = new DlMenuItem({ parent: menu, label: "Color theme".makeLabel() });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+
+ [
+ "dark|y|Dark background (default)",
+ "dark|mishoo|>Mishoo's Emacs theme",
+ "dark|billw|>Billw",
+ "dark|charcoal-black|>Charcoal black",
+ "dark|clarity-and-beauty|>Clarity and beauty",
+ "dark|classic|>Classic",
+ "dark|gnome2|>Gnome 2",
+ "dark|calm-forest|>Calm forest",
+ "dark|linh-dang-dark|>Linh Dang Dark",
+ "dark|blue-mood|>Blue mood",
+ "dark|zenburn|>Zenburn",
+ "dark|standard-dark|>Emacs standard (dark)",
+ null,
+ "light|y|Light background (default)",
+ "light|andreas|>Andreas",
+ "light|bharadwaj|>Bharadwaj",
+ "light|gtk-ide|>GTK IDE",
+ "light|high-contrast|>High contrast",
+ "light|scintilla|>Scintilla",
+ "light|standard-xemacs|>Standard XEmacs",
+ "light|vim-colors|>Vim colors",
+ "light|standard|>Emacs standard (light)"
+ ].foreach(function(theme){
+ if (theme == null) {
+ submenu.addSeparator();
+ } else {
+ theme = theme.split(/\s*\|\s*/);
+ var label = theme.pop();
+ label = label.replace(/^>\s*/, "&nbsp;".x(4));
+ var item = new DlMenuItem({ parent: submenu, label: label });
+ item.addEventListener("onSelect", ymacs.setColorTheme.$(ymacs, theme));
+ }
+ });
+
+ /* -----[ font ]----- */
+
+ var item = new DlMenuItem({ parent: menu, label: "Font family".makeLabel() });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+
+ item = new DlMenuItem({ parent: submenu, label: "Default from ymacs.css" });
+ item.addEventListener("onSelect", function(){
+ ymacs.getActiveFrame().setStyle({ fontFamily: "" });
+ });
+
+ submenu.addSeparator();
+
+ [
+ "Lucida Sans Typewriter",
+ "Andale Mono",
+ "Courier New",
+ "Arial",
+ "Verdana",
+ "Tahoma",
+ "Georgia",
+ "Times New Roman"
+
+ ].foreach(function(font){
+ item = new DlMenuItem({ parent: submenu, label: "<span style='font-family:" + font + "'>" + font + "</span>" });
+ item.addEventListener("onSelect", function(){
+ ymacs.getActiveFrame().setStyle({ fontFamily: font });
+ });
+ });
+
+ // ymacs.getActiveFrame().setStyle({ fontFamily: "Arial", fontSize: "18px" });
+
+ /* -----[ font size ]----- */
+
+ var item = new DlMenuItem({ parent: menu, label: "Font size".makeLabel() });
+ var submenu = new DlVMenu({});
+ item.setMenu(submenu);
+
+ item = new DlMenuItem({ parent: submenu, label: "Default from ymacs.css" });
+ item.addEventListener("onSelect", function(){
+ ymacs.getActiveFrame().setStyle({ fontSize: "" });
+ });
+
+ submenu.addSeparator();
+
+ [
+ "11px",
+ "12px",
+ "14px",
+ "16px",
+ "18px",
+ "20px",
+ "22px",
+ "24px"
+
+ ].foreach(function(font){
+ item = new DlMenuItem({ parent: submenu, label: "<span style='font-size:" + font + "'>" + font + "</span>" });
+ item.addEventListener("onSelect", function(){
+ ymacs.getActiveFrame().setStyle({ fontSize: font });
+ });
+ });
+
+ layout.packWidget(menu, { pos: "top" });
+ layout.packWidget(ymacs, { pos: "bottom", fill: "*" });
+
+ dlg._focusedWidget = ymacs;
+ dlg.setSize({ x: 800, y: 600 });
+
+ // show two frames initially
+ // ymacs.getActiveFrame().hsplit();
+
+ dlg.show(true);
+ dlg.maximize(true);
+
+} catch(ex) {
+ console.log(ex);
+}
+
+DynarchDomUtils.trash($("x-loading"));
+
+if (!is_gecko && !is_khtml) (function(){
+
+ var dlg = new DlDialog({
+ title : "Information",
+ modal : true,
+ quitBtn : "destroy"
+ });
+
+ var vbox = new DlVbox({ parent: dlg, borderSpacing: 5 });
+ var tmp = new DlWidget({ parent: vbox });
+ tmp.getElement().appendChild($("browser-warning"));
+ var ok = new DlButton({ parent: vbox, focusable: true, label: "OK, let's see it" });
+ ok.addEventListener("onClick", dlg.destroy.$(dlg));
+ dlg._focusedWidget = ok;
+
+ dlg.show(true);
+
+})();