	CategoryID = new Array("PrivateID");

	function DisplayStatus() {
		for (var i = 0; i < CategoryID.length; i++) {
			CookieReply = GetCookie(CategoryID[i]);
			if (CookieReply != "view") {
				Display(CategoryID[i]);
			}
		}
	}

	function Display(FrameID) {
		if (document.all.item(FrameID).style.display == "") {
			document.all.item(FrameID).style.display = "none";
			SetCookie(FrameID, "");
		} else {
			document.all.item(FrameID).style.display = "";
			SetCookie(FrameID, "view");
		}
	}

	function SetCookie(CookieName, CookieValue) {
		document.cookie = CookieName + "=" + CookieValue + "; Expires=Thu, 31-Dec-2099 23:59:59 GMT; path=/hbr; domain=labs.ceek.jp";
	}

	function GetCookie(CookieName) {
		CookieValue = "";
		n = 0;
		m = "";
		n = document.cookie.indexOf(CookieName+"=");
		if (n != -1) {
			n = n + CookieName.length + 1;
			m = document.cookie.indexOf(";", n);
			if (m == -1) { m = document.cookie.length; }
			if ((CookieValue = document.cookie.substring(n,m)) == "") { }
		}
		return CookieValue;
	}
