var sub = new YAHOO.widget.TextNode({label:rootAct.item[i].title, id:ITEM_PREFIX + rootAct.item[i].id}, attach, true); sub.href="#this"; sub.target="_self"; sub.labelElId=ITEM_PREFIX + rootAct.item[i].id; 
 var id=rootAct.item[i].id; if (rootAct.item[i].isvisible==true && typeof(mlaunch.mNavState.mChoice[id])=="object") { var sub = new YAHOO.widget.TextNode({label:rootAct.item[i].title, id:ITEM_PREFIX + rootAct.item[i].id}, attach, true); sub.href="#this"; sub.target="_self"; sub.labelElId=ITEM_PREFIX + rootAct.item[i].id; } 
	function build(rootAct,attach){		if (rootAct.item) {			for (var i=0;i<rootAct.item.length;i++) {				var sub = new YAHOO.widget.TextNode({label:rootAct.item[i].title, id:ITEM_PREFIX + rootAct.item[i].id}, attach, true);				sub.href="#this";				sub.target="_self";				sub.labelElId=ITEM_PREFIX + rootAct.item[i].id;				//further childs				if(rootAct.item[i].item) {					build(rootAct.item[i],sub);				}			}		}		}
6251	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6251/f1b6b28be921a5c3b0313038e20450847eb7cced/main.js/buggy/Modules/Scorm2004/scripts/main.js