
				}
			});
		}

		function selDir(item) {
			if (item.value === 'true') {
				$('#cvalue').textbox('disable','none');
			}else {
				$('#cvalue').textbox('enable','none');
			}
		}

		function alertMessage(msg) {
			$.messager.show({
				title:'Message',
				msg:msg,
				showType:'slide',
				timeout:1000,
				style:{
					right:'',
					bottom:''
				}
			});
		}

		function getId() {
			return idCount++;
		}

		function changeMode(mode) {
			aceMode = mode;
			Cookies.set('ace-mode', aceMode, {expires: