// Function toggles visibility of product information content
// the first parameter is the div object that was clicked
function toggle(title)
	{
	var content;
	// Test if whitespace is treated as a text node or not
	// and then set content to be the object that holds the content
	// for the product info category
	if(title.parentNode.childNodes.length == 2)
		{
		content = title.parentNode.childNodes[1];
		}
	else
		{
		content = title.parentNode.childNodes[3];
		}
	
	// Test if content is currently displayed.
	// If it is, hide it, otherwise show it.
	// Also, adjust the image of the title background to provide correct
	// visual cue to the user.
	if(content.style.display)
		{
		title.style.backgroundImage = "url(http://design.c-sgroup.com/images/tech_center/bar_open.gif)";
		$(content).hide();
		}
	else
		{
		title.style.backgroundImage ="url(http://design.c-sgroup.com/images/tech_center/bar_closed.gif)";
		$(content).show();
		}
	
	}
	
