﻿/// <reference path="ext-all-debug.js" />

PortfolioView = function() {

}

PortfolioView.prototype = {
    init: function() {
        this.slideCorp();
    },

    slideClients: function() {
        var el = Ext.get('sgp');
        el.slideIn('t', { duration: 1, useDisplay: true });
    },

    slideCorp: function() {
        var el = Ext.get('corp');
        el.slideIn('t', { duration: 1, useDisplay: true, callback: this.slideClients });
    }
}

Ext.onReady(function() {
    var pv = new PortfolioView();
    pv.init();
});
