// JavaScript Document
function hideall(toggleId) {
	var oSec = document.getElementById("s" + toggleId); 
	var oKid = oSec.firstChild;
	while (oKid)
		{
			if(oKid.nodeType == 1){
				if(oKid.id.charAt(0) == "a"){
					oKid.className = "hide";
				}
			}
			oKid = oKid.nextSibling;
		}
}
function showall(toggleId) {
	var oSec = document.getElementById("s" + toggleId); 
	var oKid = oSec.firstChild;
	var x;
	while (oKid)
		{
			if(oKid.nodeType == 1){
				if(oKid.id.charAt(0) == "a"){
					oKid.className = "a";
				}
			}
			oKid = oKid.nextSibling;
		}
}
function toggle(toggleId, e)
{
	if (!e) {
		e = window.event;
	}
	if (!document.getElementById) {
		return false;
	}
	var body = document.getElementById(toggleId);
	if (!body) {
		return false;
	}	
	if (body.className == 'hide') {
		body.className = 'a';
		// body_bul.style.display = 'block';
	} else {
		body.className = 'hide';
		// body_bul.style.display = 'none';
	}
	if (e) {
		// Stop the event from propagating, which
		// would cause the regular HREF link to
		// be followed, ruining our hard work.
		e.cancelBubble = true;
		if (e.stopPropagation) {
			e.stopPropagation();
		}
	}
}
