// Written by: Conrad Matiuk, INDUS Corporation, October 16, 2001

// Modified November 6, 2001 to include functions to expand/collapse ordpubs.htm links sections

// Modified October 6, 2003 for NRMRL's use in Assistance Funding Opportunities


// Function to expand/contract selected links if browser is is IE5+ or NS6+

function eXpand(objectID) {

	if (is_eXpandable) {	/* >>old code line<< if (isAll || isID) { */

		domStyle = findDOM(objectID,1);

		if (domStyle.display =='block')  

			domStyle.display='none';

		else 

			domStyle.display='block';

		}


return;

}



// Function to hide all links using id if browser is IE5+ or NS6+

function displayifNS()

{

  if (is_eXpandable)

	{document.write('<style> #wswrdir, #dw, #oct, #ioct, #mt, #uwm, #uwmdir, #wwf, #irr {display: none;}</style>');return;}

  else if (is_Not_eXpandable)

	{return;}

  else

	{return;}

}



// Function to display link instructions if browser is IE5+ or NS6+

function displayifIE()

{

  if (is_eXpandable)

	{document.write('[ Click on a topic heading to access additional link listing. ]');return;}

  else if (is_Not_eXpandable)

	{return;}

  else

	{return;}

}


