rem:   var targetURI = window.content.location.href; var targetURIIndex = targetURI.indexOf("AlisTargetURI="); if (targetURIIndex >= 0) { targetURI = targetURI.substring(targetURIIndex + 14); } service += "&AlisTargetURI=" + targetURI;  window.content.location.href = service; } 
add:   var targetURI = window.content.location.href; var targetURIIndex = targetURI.indexOf("AlisTargetURI="); if (targetURIIndex >= 0) targetURI = targetURI.substring(targetURIIndex + 14); service += "&AlisTargetURI=" + targetURI; window.content.location.href = service; } 
context:   function Translate(src, dest, engine)  {	var service = "http://levis.alis.com:8080";	service += "?AlisSourceLang=" + src;	service += "&AlisTargetLang=" + dest;	service += "&AlisMTEngine=" + engine;	// if we're already viewing a translated page, the just get the	// last argument (which we expect to always be "AlisMTEngine")	var targetURI = window.content.location.href;	var targetURIIndex = targetURI.indexOf("AlisTargetURI=");	if (targetURIIndex >= 0)	{		targetURI = targetURI.substring(targetURIIndex + 14);	}	service += "&AlisTargetURI=" + targetURI;	window.content.location.href = service;  }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d46106418588bec5ed4354933e11d332b81439bb/navigator.js/buggy/suite/browser/navigator.js