function NavigationTreeMenu_expandTree(page, whichID)
{
	var date = new Date();
	self.location = page + "?NavigationTreeMenu_ElementID=" +whichID + "&time=" + date.getTime();
}

/**
*本段js用来刷新后台中部页面为ProductCategoryBehalf.html，
*并且同时在此之后刷新中部ProductCategoryBehalf.html中的tree帧为ProductCategoryBehalfTree.html?clearCache=true
*用来删除树的缓存
*/
var NavigationTreeMenu_mytimeout;	
function NavigationTreeMenu_RefreshCategroyBehalf()
{	
	parent.CenterNavigation.location = 'ProductCategoryBehalf.html';								
	
	//DELETE BY WLQ 2004-2-9
	//该操作是为了解决ProductCategoryBehalfTree.html页面中的分类树展开状态缓存的问题，
	//原分类树展开状态一直保留在缓存中，使用该方法将能够在点击左侧导航树时清空缓存。
	//但该操作引入新问题：
	//一、如何在点击左侧导航树1000毫秒后，ProductCategoryBehalfTree.html还未显示将报parent.CenterNavigation.tree对象找不到的JS错误
	//二、点击左侧导航树，ProductCategoryBehalfTree.html页面总是请求两次
	//考虑利弊暂时删除该操作
	//NavigationTreeMenu_mytimeout = window.setTimeout("NavigationTreeMenu_stopLogOutTime()", 1000);								
}
	
function NavigationTreeMenu_stopLogOutTime()
{		
	window.clearTimeout(NavigationTreeMenu_mytimeout);				
	parent.CenterNavigation.tree.location = "ProductCategoryBehalfTree.html?clearCache=true";		
}

function NavigationTreeMenu_open()
{		
	window.open('BBSForumList.html');		
}
//end 
