function Index()
{
    this.init = function()
    {
        this.loadIndex();
    }

    this.loadIndex = function()
    {
        if ($('index').innerHTML.length) return;

        loadingOn('index', 'Loading index..');

        httpLoadAsync(getActionUrl('loadIndex'),
            function(responseText) {
                $('index').innerHTML = responseText;
            }
        );
    }
}
var Index = new Index();