function setNavigatorTabId(tabId){
	if (tabId == null) return;
	
	// 设置导航栏
	var navTab = new Ext.TabPanel({
		renderTo : 'navigator',
		width : '960px',
		listeners : {
			'beforetabchange' : function(thisPanel, newTab, currentTab) {
				if (currentTab == null)  return true;
				if (newTab.title == '首页') {
					top.document.location.href = basePath + 'index.jsp';
				}
				if (newTab.title == '个人空间') {
					top.document.location.href = basePath + 'granted/personalSpace/index.do';
				}
				if (newTab.title == '资源中心') {
					top.document.location.href = basePath + 'granted/rscCenter/index.jsp';
				}
			}
		},
		items : [{
			id : 'firstPage',
			title : '首页',
			html : new Ext.Panel({})
		}, {
			id : 'personalSpace',
			title : '个人空间',
			html : new Ext.Panel({})
		}, {
			id : 'rscCenter', 
			title : '资源中心',
			html : new Ext.Panel({})
		}]
	});

	navTab.setActiveTab(tabId);
}