var SiteInfo = Class.create({
    initialize: function() {
        this.lang = 'en';
        this.pageFileName = '';
        this.currentFundCode = '';
        this.currentFundType = '';
        this.fundSearchMode = '';
        this.indexSearchMode = '';
        this.query = '';    
    },

    setLang: function(v) {
        this.lang = v;
    },
    
    setPageFileName: function(v) {
        this.pageFileName = v;
    },
    
    setCurrentFundCode: function(v) {
        this.currentFundCode = v;
    },

    setCurrentFundType: function(v) {
        this.currentFundType = v;
    },

    setFundSearchMode: function(v) {
        this.fundSearchMode = v;
    },

    setIndexSearchMode: function(v) {
        this.indexSearchMode = v;
    },
    
    setQuery: function(v) {
        this.query = v;
    }

});

var siteInfo = new SiteInfo();
