function logout(){
	if(confirm('确定要登出吗?')){
		$.ajax({
			url: "/common/logout.jsp",
			global: false,
			type: "POST",
			data: "",
			dataType: "text",
			async:false,
			success: function(msg){
				if(msg == 1){
					alert('登出成功');
					location.href = '/index.jsp';
				}
			}
		})
	}
}
