	//一级节点单击查询MSDS的时候的判断
	function show(con){
	    if(!isEnter) {
			alert("请先登录");
			window.frames["iframe1"].fo();
		}else{
			window.open(con.href);
		}
	    return false;
		
	}
	//返回当前登录状态
	function getIsEnter(){
		return isEnter;
	}
	//Enter.jsp 登陆后续修改事件
	function pageReload(){
		isEnter=true;  //已登录
		if(isEnter){
			if(isUpload){ //如果是新闻动态页面则显示上传文件操作链接
				var UploadControl="<a href='website/huagonghydt/fileUpLoad.jsp?height=200&width=500' title=\"上传文件\" class='thickbox'><font style=\"text-decoration:underline;font-weight:bold\">我要上传</font></a>";
				$("#UploadControlDiv").html(UploadControl);
				tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox
				imgLoader = new Image();// preload image
				imgLoader.src = tb_pathToImage;
			}
		}
	}
