var config = new function (){
	this.open_path = "/app/";
	//this.api_url = "http://api/";
	this.api_url = "http://88.198.65.109/api/";	

	this.TMain = new function(){
		this.CAT_TOP = "cat_top";
		this.TOP = "app_top";
	}
	this.TApp = new function(){
		this.EMBEDED = "app_block";
		this.NAME ="app_name";
		this.DESCRIPTION = "app_description";
		this.MENU = "app_menu";
		this.VOTE = "app_vote";
	}
	this.TMyApp = new function (){
		this.BLOCK = "apps_block";	
		this.HEADER = "header_block";
	}
	this.TGlobal = new function(){
		this.BALANCE = "balance";	
		this.FAPPS = "fapps";
	}
	this.TAppConfig = new function(){
		this.BLOCK = "app_config";
		this.ERROR = "app_config_error";	
		this.BALANCE = "app_balance";
		this.SUB = 'sub_app_balance';
		this.ADD = 'add_app_balance';
	}
	this.TSearch = new function (){
		this.BLOCK = "search_block";
		this.CATALOG_BLOCK = "catalog_block";
		this.CATALOG = "s_type";
		this.ORDER = "order_block";
		this.TEXT = "stext_block";
		this.FIND = "findout";
	}
	this.TEdit = new function (){
		this.LINK = "link";
		this.FORM = "app_form";
		this.EDIT_BLOCK = "app_edit";
		this.PAYMENTS_BLOCK = "app_pay";
		this.BIG_IMG = "big_src";
		this.SMALL_IMG = "small_src";
		this.NAME = "app_name";
		this.DESC = "app_desc";
		this.TYPE = "app_type";
		this.STATE = "app_state";
		this.ID = "app_id";
		this.SCLIENT = "app_sclient";
		this.SSERVER = "app_sserver";
		this.SWF_UPLOAD = "swf_upload";
		this.IMG_UPLOAD = "img_upload";
	}
	this.domain = "track";
	this.uid = -1;
	this.auth_key = "";
	this.soc_id = 2;
	
	this.my_apps = "/app/view";
	this.app = "/app/view";
	this.app_all = "/app/";
	this.search = "/app/search";
	this.edit = "/app/edit";
	this.add = "/app/add";
}
