(function($){
  
  var BeliefSection = function(options, elem) {
    
    var $this = $(elem);
    
    
    // ----------------------------------------------------------------
    
    function _init() {
      debug.log("BeliefSection :: initialized");
			
			$this.addClass('section-belief');
			
			// init styled element plugins			
			$this.find('.section-title').sectionTitle();
			$this.find('.box-link').boxLink();
			$this.find('.block-text').blockText();
			
			$this.find('.regular-content').css('padding-top', '75px');
			
			// Make the buttons work.
			$('#belief-phygital-link').bind('click', _onPhygitalLinkClick);
			
    }; // _init()
    
		function _onPhygitalLinkClick(e) {
			e.preventDefault();
			$.address.value("about");
		}

    // ----------------------------------------------------------------
    
    _init();
    
    return {
      activate: function() {
				//_activate();
			},
			
			deactivate: function() {
				//_deactivate();
			}
    };
    
  };
  
  // ==================================================================
  
  $.fn.beliefSection = function(options) {
    
    var pluginName = "BeliefSection";
    
    options = $.extend({}, $.fn.beliefSection.defaults, options);
    
    return this.each(function(){
      
      var $this = $(this);
      
      if($this.data(pluginName)) {
        return;
      }
      
      // No JavaScript plugin instance exists, so add it as data attribute.
      var pluginInstance = new BeliefSection(options, this);
      $this.data(pluginName, pluginInstance);
      $this.data('sectionController', pluginInstance);
    });
    
  };
  
  // ==================================================================
  
  $.fn.beliefSection.defaults = {
    
  };
  
})(jQuery);
