rem: targetPath = parent.frames[thisMenu.items[i].target].location.protocol + '  if(targetPath.lastIndexOf(thisMenu.items[i].url) != -1 && (targetPath.lastIndexOf(thisMenu.items[i].url) + thisMenu.items[i].url.length) == targetPath.length) { 
add: targetPath = parent.frames[thisMenu.items[i].target].location.protocol + '  if(targetPath.lastIndexOf(thisMenu.items[i].url) != -1 && (targetPath.lastIndexOf(thisMenu.items[i].url) + thisMenu.items[i].url.length) == targetPath.length) { 
context: function MTMTrackExpand(thisMenu) {  var i, targetPath;  var foundNumber = false;  for(i = 0; i < thisMenu.items.length; i++) {    if(thisMenu.items[i].url != "" && MTMTrackTarget(thisMenu.items[i].target)) {	  targetPath = parent.frames[thisMenu.items[i].target].location.protocol + '//' + parent.frames[thisMenu.items[i].target].location.host + parent.frames[thisMenu.items[i].target].location.pathname;		  if(targetPath.lastIndexOf(thisMenu.items[i].url) != -1 && (targetPath.lastIndexOf(thisMenu.items[i].url) + thisMenu.items[i].url.length) == targetPath.length) {        return(thisMenu.items[i].number);      }    }    if(thisMenu.items[i].submenu) {      foundNumber = MTMTrackExpand(thisMenu.items[i].submenu);      if(foundNumber) {        if(!thisMenu.items[i].expanded) {          thisMenu.items[i].expanded = true;          if(!MTMClickedItem) { MTMClickedItem = thisMenu.items[i].number; }          MTMExpansion = true;        }        return(foundNumber);      }    }  }return(foundNumber);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/3703c3c05f398a63e55992f7687ef65273b26d6a/regress-111557.js/clean/js/tests/js1_5/Regress/regress-111557.js