function hmc_on( imgid ) {
	if ( document.getElementById( "mnf" + imgid ) != null ) {
		document.getElementById( "mnf" + imgid ).src = "images/site/menu_"+imgid+"-on.gif";
	}
}

function hmc_off( imgid ) {
	if ( document.getElementById( "mnf" + imgid ) != null ) {
		document.getElementById("mnf"+imgid).src = "images/site/menu_"+imgid+"-off.gif";
	}
}

function bmn_on( imgid ) {
	if ( document.getElementById(imgid) != null ) {
		document.getElementById(imgid).className = "bal-menu-button2";
	}
}

function bmn_off( imgid ) {
	if ( document.getElementById(imgid) != null ) {
		document.getElementById(imgid).className = "bal-menu-button";
	}
}

function treeopen(diszid,which) {
	for (i=1;i<=which;i++)	{
		if ( document.getElementById( diszid + '-' + i + "" ) != null ) {
			if (document.getElementById(diszid + '-' + i + "").className == "mn-sub") {
				document.getElementById(diszid + '-' + i + "").className = "mn-sub2";
			} else {
				document.getElementById(diszid + '-' + i + "").className = "mn-sub";
			}
		}
	}
}
