text: (function($) {
      "use strict";
  
      window.qodef = {};
      qodef.modules = {};
  
      qodef.scroll = 0;
      qodef.window = $(window);
      qodef.document = $(document);
      qodef.windowWidth = $(window).width();
      qodef.windowHeight = $(window).height();
      qodef.body = $('body');
      qodef.html = $('html, body');
      qodef.htmlEl = $('html');
      qodef.menuDropdownHeightSet = false;
      qodef.defaultHeaderStyle = '';
      qodef.minVideoWidth = 1500;
      qodef.videoWidthOriginal = 1280;
      qodef.videoHeightOriginal = 720;
      qodef.videoRatio = 1280/720;
  
      //set boxed layout width variable for various calculations
  
      switch(true){
          case qodef.body.hasClass('qodef-grid-1300'):
              qodef.boxedLayoutWidth = 1350;
              break;
          case qodef.body.hasClass('qodef-grid-1200'):
              qodef.boxedLayoutWidth = 1250;
              break;
          case qodef.body.hasClass('qodef-grid-1000'):
              qodef.boxedLayoutWidth = 1050;
              break;
          case qodef.body.hasClass('qodef-grid-800'):
              qodef.boxedLayoutWidth = 850;
              break;
          default :
              qodef.boxedLayoutWidth = 1150;
              break;
      }
      
      $(document).ready(function(){
  
          qodef.scroll = $(window).scrollTop();
  
          //set global variable for header style which we will use in various functions
          if(qodef.body.hasClass('qodef-dark-header')){ qodef.defaultHeaderStyle = 'qodef-dark-header';}
          if(qodef.body.hasClass('qodef-light-header')){ qodef.defaultHeaderStyle = 'qodef-light-header';}
  
      });
  
  
      $(window).resize(function() {
          qodef.windowWidth = $(window).width();
          qodef.windowHeight = $(window).height();
      });
  
  
      $(window).scroll(function(){
          qodef.scroll = $(window).scrollTop();
      });
  
  
  
  })(jQuery);