

// This function toggles the DISPLAY style for an element between BLOCK and NONE.  It's used for the MORE TOPICS dropdown in the global left nav.
function dropblock(subid)
{
	if (document.layers)
	{
		current = (document.layers[subid].display == 'none') ? 'block' : 'none';
		document.layers[subid].display = current;
	}
	else if (document.all)
	{
		current = (document.all[subid].style.display == 'none') ? 'block' : 'none';
		document.all[subid].style.display = current;
	}
	else if (document.getElementById)
	{
		vista = (document.getElementById(subid).style.display == 'none') ? 'block' : 'none';
		document.getElementById(subid).style.display = vista;
	}
}


// display the unordered list child of div.button_drop_hold
function displayArchiveDrop (obj) {
    for (i=0; i<obj.parentNode.childNodes.length; i++) {
        node = obj.parentNode.childNodes[i];
        //alert(node.tagName);
        if (node.tagName=="UL") {
            if (node.style.display=="block") {
                node.style.display="none";
            } else {
                node.style.display="block";
            }
        }
    }
}


