usecaseWindow.focus(); 
org.apache.lenya.editors.openUsecaseWindow = function(usecase, windowName) {  var currentBaseURL;  var usecaseWindow;  switch (usecase) {    case org.apache.lenya.editors.USECASE_INSERTLINK:    case org.apache.lenya.editors.USECASE_INSERTASSET:    case org.apache.lenya.editors.USECASE_INSERTIMAGE:      currentBaseURL = window.location.href.replace(/\?.*$/,"");      usecaseWindow = window.open(        currentBaseURL + "?lenya.usecase=editors." + usecase,        windowName,        org.apache.lenya.editors.usecaseWindowOptions      );      break;    default:      alert("openUsecaseWindow: Unknown usecase '" + usecase + "'. This is likely a programming error.");  }  return usecaseWindow;}
791	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/791/2c3039cc13787d0582fab9e92740e9ae17d89b96/org.apache.lenya.editors.js/buggy/src/modules/editors/resources/javascript/org.apache.lenya.editors.js