/* library.js
 *
 * This file includes variables functions that can be usefull when working with the JSA website.
 *
 *
 */
 
 
 /* You may pass in any valid id that exists in includes/top_nav_bar.php */
 function SetMenuFocus(tabname)
 {
	var elm = document.getElementById(tabname);
	elm.className = "active";
	
	return true;
 }

function SetSubMenuFocus(subname)
{
	var elm = document.getElementById(MenuIds[subname]);
	elm.innerHTML = "<strong>" + subname + "</strong>";
	
	return true;
}
 
 function init()
 {
	 SetMenuFocus(MasterTab);
	 SetSubMenuFocus(SubTab);
 }