Quickref = {
	shownBox: null,
	
	toggle: function(item) {
		item = $(item);
		connector = $(item.id + "Connector");
		
		if (this.shownBox && this.shownBox != item) {
			this.shownBox.hide();
			$(this.shownBox.id + "Connector").hide();
		}
		if (item.style.display == "none") {
			this.popup(item);
			connector.show();
			this.shownBox = item;
		}	else {
			this.popout(item);
			connector.hide();
			this.shownBox = null;
		}
		return false;
	},
	
	popup: function(item) {
		new Effect.Appear($(item), { to: .92, duration: .25 });
	},
	
	popout: function(item) {
		new Effect.Fade($(item), { duration: .25 });
	}
};
