// BEGIN function to show all abstracts
function showAbstracts() {
	if (domData.isOther) { return; }
	var obj = theObjs["content-option-menu"];
	if (obj != null){
	obj.objReplaceHTML("<div id=\"option-menu-off\"><a href=\"javascript:hideAbstracts()\;\" class=\"hide\"><img src=\"/oso/public/all_images/arrow_up.gif\" width=\"9\" height=\"5\" alt=\"\" title=\"\" \/> hide abstracts<\/a><\/div>");
		for (var i = 0; i < chapters.length; i++) {
			obj = theObjs[chapters[i].lookup];
			var code = chapters[i].closed + chapters[i].expanded;
			obj.objReplaceHTML(code);
		}
	}
} // END showAbstracts()

// BEGIN function to hide all abstracts
function hideAbstracts() {
	if (domData.isOther) { return; }
	var obj = theObjs["content-option-menu"];
	if (obj != null){
	obj.objReplaceHTML("<div id=\"option-menu-on\"><a href=\"javascript:showAbstracts()\;\" class=\"hide\"><img src=\"/oso/public/all_images/arrow_down.gif\" width=\"9\" height=\"5\" alt=\"\" title=\"\" \/> show abstracts<\/a><\/div>");
		for (var i = 0; i < chapters.length; i++) {
			obj = theObjs[chapters[i].lookup];
			obj.objReplaceHTML(chapters[i].closed);
		}
	}
} // END hideAbstracts()

// BEGIN function to show abstracts and keywords
function showAbstractsToc() {
	if (domData.isOther) { return; }
	var obj = theObjs["content-option-menu"];
	if (obj != null){
	obj.objReplaceHTML("<div id=\"option-menu-off\"><a href=\"javascript:hideAbstractsToc()\;\" class=\"hide\"><img src=\"/oso/public/all_images/arrow_up.gif\" width=\"9\" height=\"5\" alt=\"\" title=\"\" \/> hide abstracts and keywords<\/a><\/div>");
		for (var i = 0; i < chapters.length; i++) {
			obj = theObjs[chapters[i].lookup];
			var code = chapters[i].closed + chapters[i].expanded;
			obj.objReplaceHTML(code);
		}
	}
} // END showAbstractsToc()

// BEGIN function to hide abstracts and keywords
function hideAbstractsToc() {
	if (domData.isOther) { return; }
	var obj = theObjs["content-option-menu"];
	if (obj != null){
	obj.objReplaceHTML("<div id=\"option-menu-on\"><a href=\"javascript:showAbstractsToc()\;\" class=\"hide\"><img src=\"/oso/public/all_images/arrow_down.gif\" width=\"9\" height=\"5\" alt=\"\" title=\"\" \/> show abstracts and keywords<\/a><\/div>");
		for (var i = 0; i < chapters.length; i++) {
			obj = theObjs[chapters[i].lookup];
			obj.objReplaceHTML(chapters[i].closed);
		}
	}
} // END hideAbstractsToc()
