finity;
		var curIconMode = 'mode_icon_text';
		var aceMode = Cookies.get('ace-mode');
		if (typeof(aceMode) === 'undefined') {
			aceMode = 'text';
		}
		var treeMode = Cookies.get('tree-mode');
		if (typeof(treeMode) === 'undefined') {
			treeMode = 'list';
		}
		if (version === '2') {
		    treeMode = 'path'
		}
		//var autoFormat = Cookies.get('auto-format');
		//if(typeof(autoFormat) === 'undefined') {
			//autoFormat = 'false';
		//}

		// get separator
		$.ajax({
			type: 'GET',
			timeout: timeout,
