rem: var port_number = url.substring(s0, s1) if (port_number = "40001") { 
add: var port_number = url.substring(s0, s1); if (port_number == "40001") { 
context: function getApplicationURL2(){  var url = window.location.href;  // remove the cgi request from the end of the string  var index = url.indexOf("?");  if (index >= 0)  {    url = url.substring(0, index);  }  index = url.lastIndexOf("temporary");  url = url.substring(0, index);  // add the cgi request  var s0 = (url.lastIndexOf(":")+1);  var s1 = url.lastIndexOf("/");  var port_number = url.substring(s0, s1)  if (port_number = "40001") {    url += "urn:xdaq-application:lid=27/moduleWeb?module=SiStripAnalyser&";  } else if (port_number = "1972") {    url += "urn:xdaq-application:lid=15/Request?";  }  return url;}
meta: 2973	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2973/94db5a416a95a17f11e11cc177a84b4de8841217/.WebLib.js/buggy/DQM/SiStripMonitorClient/test/.WebLib.js