if (item.submenu != null) { for (var x = 0; x < item.submenu.items.length; x++) { if (!item.submenu.items[x].selected) { return false; } } } return true; 
if (item.submenu != null) { for (var x = 0; x < item.submenu.items.length; x++) { if (!item.submenu.items[x].selected) { return false; } } } return true; 
function isAllChildrenSelected(item){   if (item.submenu != null)   {     for (var x = 0; x < item.submenu.items.length; x++)	 {	    if (!item.submenu.items[x].selected)		{		   return false;		}	 }   }   return true;}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/3703c3c05f398a63e55992f7687ef65273b26d6a/regress-111557.js/clean/js/tests/js1_5/Regress/regress-111557.js