var LanguageType = {
    chinese : "zh-cn",
    english : "en-us"
}

/// <summary>
/// 系统级的属性或配置变量使用$_ 作为前缀
/// </summary>
function Config() {
//	this.$__language = "zh-cn";
	this.$__layerOpenMode = LayerOpenMode.normal;
	this.$__language = LanguageType.chinese;
	this.$__layerStartOpacity = "0.05";
	this.$__layerEndOpacity = "0.92";
	this.$__msgSendType = "get";
	this.$__initTimeout = "5000";
	this.$__msgClassName = "sys__msg";
	this.$__serverPath = "/sapi/";
	this.$__resourcePath = "/resource/";
	this.$__uploadPath = "/upload/";
	this.$__server = "http://localhost/SideTicket.Web";
	this.$__formatLength = 10;
}

Config.prototype = {
    
    
    c_l : function(type){
        if(this.$__language == LanguageType.chinese){
           this.$__language = LanguageType.english;
        }
        else
           this.$__language = LanguageType.chinese;
//        this.$__language = type;
        sys.language.check();
    }
              
}
