

function validate(chk){
  if (chk.checked == 1)
		fnDisplay('workingagreements');
  else
		fnHide('workingagreements');
}



	var idDiv;
	
	function fnHide(id)
	{
		idDiv=document.getElementById(id);
		idDiv.style.display="none";
	}

	function fnDisplay(id)
	{
		idDiv=document.getElementById(id);
		idDiv.style.display="block";
	}




		function init() {
			//==========================================================================================
			// if supported, initialize TransMenus
			//==========================================================================================
			// Check isSupported() so that menus aren't accidentally sent to non-supporting browsers.
			// This is better than server-side checking because it will also catch browsers which would
			// normally support the menus but have javascript disabled.
			//
			// If supported, call initialize() and then hook whatever image rollover code you need to do
			// to the .onactivate and .ondeactivate events for each menu.
			//==========================================================================================
			if (TransMenu.isSupported()) {
				TransMenu.initialize();

			}
		}







	function showSub(id)
	{

		for (x in mainLinks)
		{
			if ( mainLinks[x][0] == id )
			{
				mainLinks[x][1] = true;
			}
		
		}

		idDiv=document.getElementById(id);
		idDiv.className="over";
	}
	
	function hideSub(id)
	{

		for (x in mainLinks)
		{
			if ( mainLinks[x][0] == id )
			{
				
				if ( mainLinks[x][1] == false )
				{
					idDiv=document.getElementById(id);
					idDiv.className="out";
			
				}
				
			}
		
		}

	}
	
	function hideDelay(id)
	{
		
		for (x in mainLinks)
		{
			if ( mainLinks[x][0] == id )
			{
				mainLinks[x][1] = false;
			}
		
		}
				
		setTimeout("hideSub('" + id + "')", 1000);
	}
