	function showLayer(id, display) {
		d = document.getElementById(id);
		d.style.display = display;
	}
	
	function hiddenLayer(id) {
		d = document.getElementById(id);
		d.style.display = 'none';
	}

	function toggleWhatWeCanHelp() {
		if ( WWCH == true ) {
			WWCH = false;
			if ( WWCHTimer ) {
				clearTimeout(WWCHTimer);
			}
			hiddenLayer("whatWeCanHelpComboButton");
		} else {
			WWCH = true;
			showLayer("whatWeCanHelpComboButton","block");
			WWCHTimer = setTimeout("hiddenLayer('whatWeCanHelpComboButton'); WWCH = false; clearTimeout(WWCHTimer);",3000);
		}
	}	
	
	WWCH = false;
	WWCHTimer = false;

	function toggleLinks() {
		if ( Links == true ) {
			Links = false;
			if ( LinksTimer ) {
				clearTimeout(LinksTimer);
			}
			hiddenLayer("whatLinksComboButton");
		} else {
			Links = true;
			showLayer("whatLinksComboButton","block");
			LinksTimer = setTimeout("hiddenLayer('whatLinksComboButton'); Links = false; clearTimeout(LinksTimer);",3000);
		}
	}	

	Links = false;
	Linksimer = false;

/*  */
	function toggleFundsLayers (currentcontentBlock, newBlockNo) {
	var 
		currentcontentBlock_eval;

		currentcontentBlock_eval = eval(currentcontentBlock);

		document.getElementById(currentcontentBlock_eval).style.display = 'none';
		document.getElementById(newBlockNo).style.display = 'block';

		 eval( currentcontentBlock + '=' + 'newBlockNo' );
	}


	function toggleTableTab() {
		var
			i,msg;
/*
		msg = arguments.length + '\n\n';
		for (i=0;i<arguments.length;i++) {
			msg += arguments[i] + '\n';
		}
		alert(msg);
*/
		if (arguments.length>1)
		{
			document.getElementById(arguments[0]).style.display='block';
			document.getElementById('Tab' + arguments[0]).className='active';
			for (i=1;i<arguments.length;i++) {
				document.getElementById(arguments[i]).style.display='none';
				document.getElementById('Tab' + arguments[i]).className='';
			}	
		}
	}
