old_contents: /*
  Mediaquery breakpoint event
  Small lib that fires events when you enter / leave a CSS mediaquery. by Carlos Cabo (@putuko) 01 / 21015
  https://github.com/carloscabo/MQBE
  
  */
  
  var MQBE = {
  
    data: {
      mq_supported: false,
      previous_state: null,
      current_state: null
    },
  
    init: function() {
      if (this.detect_mq_support()) {
        var state = this.get_current_state();
        this.data.current_state = state;
        this.check_state();
        this.start_listener();
      }
    },
  
    // Start listening window resizes
    start_listener: function() {
      $( window ).resize(function() {
        MQBE.check_state();
      });
    },
  
    // If state changed sets the data vars and tries to launch the callback (if exists)
    check_state: function () {
      var state = this.get_current_state();
      if ( state !== this.current_state) {
        this.previous_state = this.current_state;
        this.current_state = state;
        if (typeof MQBE['onleave_'+this.previous_state] !== 'undefined') {
          MQBE['onleave_'+this.previous_state]();
        }
        if (typeof MQBE['onenter_'+this.current_state] !== 'undefined') {
          MQBE['onenter_'+this.current_state]();
        }
      }
    },
  
    get_current_state: function () {
      var state = window.getComputedStyle(document.body,':after').getPropertyValue('content');
      state = state.replace( /"/g,''); // Firefox bugfix
      return state;
    },
  
    // Has the browser mediaqueries support?
    detect_mq_support: function() {
      if (typeof this.data.mq_support === 'undefined') {
        if( typeof window.matchMedia !== 'undefined' || typeof window.msMatchMedia !== 'undefined') {
          this.data.mq_support = true;
        }
        return this.data.mq_support;
      }
    }
  
  }; //MQBE
  
  /*MQBE.onenter_tablet = function() {
    console.log('Enter mediaquery: '+this.data.current_state);
  };
  
  MQBE.onleave_tablet = function() {
    console.log('Leave mediaquery: '+this.data.current_state);
  };*/
  
  // Party begins!
  /*$(document).ready(function() {
    // La magia aquí!
    MQBE.init();
  });*/
  
new_contents: /*
  Mediaquery breakpoint event
  Small lib that fires events when you enter / leave a CSS mediaquery. by Carlos Cabo (@putuko) 01 / 21015
  https://github.com/carloscabo/MQBE
  
  */
  
  var MQBE = {
  
    data: {
      mq_supported: false,
      previous_state: null,
      current_state: null
    },
  
    init: function() {
      if (this.detect_mq_support()) {
        var state = this.get_current_state();
        this.data.current_state = state;
        this.check_state();
        this.start_listener();
      }
    },
  
    // Start listening window resizes
    start_listener: function() {
      $( window ).resize(function() {
        MQBE.check_state();
      });
    },
  
    // If state changed sets the data vars and tries to launch the callback (if exists)
    check_state: function () {
      var state = this.get_current_state();
      if ( state !== this.data.current_state) {
        this.data.previous_state = this.data.current_state;
        this.data.current_state = state;
        if (typeof MQBE['onleave_'+this.data.previous_state] !== 'undefined') {
          MQBE['onleave_'+this.data.previous_state]();
        }
        if (typeof MQBE['onenter_'+this.data.current_state] !== 'undefined') {
          MQBE['onenter_'+this.data.current_state]();
        }
      }
    },
  
    get_current_state: function () {
      var state = window.getComputedStyle(document.body,':after').getPropertyValue('content');
      state = state.replace( /"/g,''); // Firefox bugfix
      return state;
    },
  
    // Has the browser mediaqueries support?
    detect_mq_support: function() {
      if (typeof this.data.mq_support === 'undefined') {
        if( typeof window.matchMedia !== 'undefined' || typeof window.msMatchMedia !== 'undefined') {
          this.data.mq_support = true;
        }
        return this.data.mq_support;
      }
    }
  
  }; //MQBE
  
  /*MQBE.onenter_tablet = function() {
    console.log('Enter mediaquery: '+this.data.current_state);
  };
  
  MQBE.onleave_tablet = function() {
    console.log('Leave mediaquery: '+this.data.current_state);
  };*/
  
  // Party begins!
  /*$(document).ready(function() {
    // La magia aquí!
    MQBE.init();
  });*/
  
subject: Fix data current and previous state