



function initBook() {
	var allObj = document.getElementById("listbox").getElementsByTagName("li");
	for (var i=0; i<allObj.length; i++) {
		allObj[i].id = "n"+i
		allObj[i].onmouseover = function() {
			this.style.cursor = "pointer";
		};
		allObj[i].onmouseout = function() {
			this.style.cursor = "auto";
		};
		allObj[i].onmouseup = function() {
			nid = this.id
			var id = setTimeout('expCl(nid)', 100);
		};
	}
};

function initfaq() {
	var allObj = document.getElementById("faq").getElementsByTagName("li");
	for (var i=0; i<allObj.length; i++) {
		allObj[i].id = "n"+i
		allObj[i].onmouseover = function() {
			this.style.cursor = "pointer";
		};
		allObj[i].onmouseout = function() {
			
			this.style.cursor = "auto";
		};
		allObj[i].onmouseup = function() {
			nid = this.id
			var id = setTimeout('expCl(nid)', 100);
		};
	}
};

function expCl(id) {
	var d = document.getElementById(id)
	if (d.className == "block") {
		d.className=d.className.replace(new RegExp("( ?|^)block\\b"), "");
	} else {
		d.className = "block"
	}

};
