<%@page import="com.edeal.frontline.navigation.FlRequest"%> <%@page import="org.apache.commons.lang.StringUtils"%><%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %><% FlRequest flRequest = new FlRequest(request); Boolean actHasCTILic = (Boolean)flRequest.getAttribute("actHasCTILic"); Boolean isDoCTIWindow = (Boolean)flRequest.getAttribute("isDoCTIWindow"); if (actHasCTILic == null) { actHasCTILic = false; } if (isDoCTIWindow == null) { isDoCTIWindow = false; } %> var arg0 = '<%= StringUtils.defaultIfEmpty(flRequest.getParameter("arg0"), "") %>'; var arg1 = '<%= StringUtils.defaultIfEmpty(flRequest.getParameter("arg1"), "") %>'; <% if (actHasCTILic) { %> try { <% if (isDoCTIWindow) { %> var winCTI = window.open('', 'CTI'); if (winCTI != null) { winCTI.doTransferCTI(arg0, arg1); } <% } else {%> doTransferCTI(arg0, arg1); <% } %> } catch (error) { } <% } %>