﻿/// <reference name="MicrosoftAjax.js"/>

Type.registerNamespace("MXA.Website.Kaldenbroeck");

MXA.Website.Kaldenbroeck.ContactView = function (element) {
    MXA.Website.Kaldenbroeck.ContactView.initializeBase(this, [element]);
    this.addCssClass('ContactView');
}

MXA.Website.Kaldenbroeck.ContactView.prototype =
{

    initialize: function () {
        MXA.Website.Kaldenbroeck.ContactView.callBaseMethod(this, 'initialize');

    },

    dispose: function () {
        MXA.Website.Kaldenbroeck.ContactView.callBaseMethod(this, 'dispose');
    },

    _loadTemplates: function () {
        this._loadTemplate('Contact', MXA.Website.Kaldenbroeck.ContactTemplate);
    },


    databind: function () {
        this._categories.clear();
        var v = this._showView('Contact');
        v._showContactForm();
        this._categories.activateIndex(0);
    },

    setSize: function () {

    }
}



MXA.Website.Kaldenbroeck.ContactView.registerClass('MXA.Website.Kaldenbroeck.ContactView', MXA.Website.Kaldenbroeck.ArticleView);
