var flowHelper = cocoon.getComponent("org.apache.lenya.cms.cocoon.flow.FlowHelper"); var contextPath = flowHelper.getRequest(cocoon).getContextPath(); cocoon.releaseComponent(flowHelper); cocoon.redirectTo(contextPath + targetUrl, true); 
var flowHelper; var objectModel; var inputModuleSelector; var proxyModule; var proxyUrl;  flowHelper = cocoon.getComponent("org.apache.lenya.cms.cocoon.flow.FlowHelper"); try { objectModel = flowHelper.getObjectModel(cocoon); } finally { cocoon.releaseComponent(flowHelper); }  inputModuleSelector = cocoon.getComponent(org.apache.cocoon.components.modules.input.InputModule.ROLE + "Selector"); try { proxyModule = inputModuleSelector.select("proxy"); try { proxyUrl = proxyModule.getAttribute(targetUrl, null, objectModel); } finally { cocoon.releaseComponent(proxyModule); } } finally { cocoon.releaseComponent(inputModuleSelector); }  log("debug", "Redirecting to {proxy:" + targetUrl + "} = " + proxyUrl + ".");  cocoon.redirectTo(proxyUrl, true); 
function redirect(targetUrl) {    var flowHelper = cocoon.getComponent("org.apache.lenya.cms.cocoon.flow.FlowHelper");    var contextPath = flowHelper.getRequest(cocoon).getContextPath();    cocoon.releaseComponent(flowHelper);    cocoon.redirectTo(contextPath + targetUrl, true);}
791	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/791/fe4ad1c311bcb649dab8af6c3b7da9626a0e9b37/usecases.js/buggy/src/modules-core/usecase/usecases.js