var ROOT = '/'; var DEBUG = '1'; var cGUI = function() { this.init = function(){ $.plugin('hotkeys', { files: [ROOT + 'libs/js/jquery/hotkeys.0.7.8.pack.js'], selectors: ['body'], cache: (DEBUG == true)?false:true }); $.plugin('hotkeys', function(){ $(document).bind('keydown', 'ctrl+l', function(){ PAGE.block(); window.location.replace(ROOT + 'cms/'); }); }); }; }; var HTMLinfo = { 'lang':'', 'page_name':'', 'template':'' }; var log = function(txt) { if (typeof console == 'undefined') {} else { console.log(txt); }; }; var thisMovie = function(movieName) { if (navigator.appName.indexOf("Microsoft") != -1) { return window[movieName]; } else { return document[movieName]; }; }; var GUI = new cGUI(); $(function(){ GUI.init(); });