rem: var child = node.childNodes[i]; 
add: for ( var i = 0; i < node.childNodes.length; ++i ) { var child = node.childNodes[i]; 
context: function ezcst_foldUnfold( node, bUpdateCookie, bInitFoldUnfoldLabels, bForceFold, bForceUnfold ){    for ( var i = 0; i < node.childNodes.length; ++i )    {        var child = node.childNodes[i];        if ( child["tagName"] && child.tagName.toLowerCase() == "ul" )        {            var node_id     = bUpdateCookie ? node.getAttribute( "id" ) : null;            var link_node   = ezjslib_getHTMLChildNodeByTag( node, "a" );            if( bInitFoldUnfoldLabels == true)                ezcst_createUnfoldedLabel( link_node );            ezcst_changeState( node_id, child, link_node, bForceFold, bForceUnfold );            break;        }        else if ( bInitFoldUnfoldLabels && child["tagName"] && child.tagName.toLowerCase() == "span" )        {            ezcst_createEmptyLabel( child );        }    }}
meta: 2541	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2541/be060f9c684949c5c7dacd87b97edfa8443e5fa1/contentstructuremenu.js/buggy/design/standard/javascript/contentstructuremenu/contentstructuremenu.js