function Page2(id) {
	this.id = id;

	Page2.prototype.enter = function() {
		$(this.id).style.visibility = "visible";
		var anchors = document.getElementsByTagName("A");
		for (var i = 0; i < anchors.length; i++) {
			var a = anchors[i];
			if (a.getAttribute("hint") != null) {
				a.onmouseover = delegate(this, Hint2.show, a.getAttribute("hint"));
				a.onmouseout = delegate(this,  Hint2.hide, null);
				a.onmousemove = delegate(this,  Hint2.update, null);
			}
		}
	};

	Page2.prototype.leave = function() {
		$(this.id).style.visibility = "hidden";
	};

}
