define( ['views/BaseView',
	'text!templates/pages/flamingos.html'],
    function(BaseView, template) {
        //ItemView provides some default rendering logic
        return BaseView.extend( {
            template: template,

            // View Event Handlers
            events: {

            },
            
			initialize: function(){
				BaseView.prototype.initialize.call(this);
				//console.log('IndexView.initialize();');
		    },
		
			onShow: function(){
				BaseView.prototype.onShow.call(this);
				//console.log('IndexView.onShow();');
				//console.log(this.model);
				// Called on the view instance when the view has been rendered and displayed.
		    },
		
			onDomRefresh: function(){
				BaseView.prototype.onDomRefresh.call(this);
				//console.log('IndexView.onDomRefresh();');
				// Called on the view instance when the view has been rendered and displayed.
		    },
		
		    onBeforeClose: function(){
		    	BaseView.prototype.onBeforeClose.call(this);
		    	//console.log('IndexView.onBeforeClose();');
				// If this method returns false, the view will not be closed.
		    },
		    
		    onClose: function(){
		    	BaseView.prototype.onClose.call(this);
		    	//console.log('IndexView.onClose();');
		    }
        });
    });