<% if(coveoFieldValue("_templatename")!=null && coveoFieldValue("_templatename")!="" && (coveoFieldValue("_templatename").indexOf("Webinar")>=0)) { %>
<% } %>
<% if(coveoFieldValue("_templatename")!=null && coveoFieldValue("_templatename")!="" && (coveoFieldValue("_templatename").indexOf("Asset")>=0)) { %>
<% } %>
<% if((raw.sysfiletype) != null && (raw.sysfiletype) === "txt") { %>
<% } %>
<% if(coveoFieldValue("_templatename")!=null && coveoFieldValue("_templatename")!="" && (coveoFieldValue("_templatename").indexOf("Page")>=0)){ %>
<% } %>
<% var isupcomingwebinar = checkWebinarstartdate(coveoFieldValue("Event StartDate"))
if(isupcomingwebinar){
if(coveoFieldValue("RegisterLink")){%>
<%= coveoFieldValue("doctitle") ? highlight(coveoFieldValue("doctitle"), titleHighlights) : replaceHyphen(coveoFieldValue("_name")) %>
<%= raw.chemicalskldocumenttype %>
<%=coveoFieldValue("Event Description")%>
<%} else{%>
<%= coveoFieldValue("doctitle") ? highlight(coveoFieldValue("doctitle"), titleHighlights) : replaceHyphen(coveoFieldValue("_name")) %>
<%= raw.chemicalskldocumenttype %>
<%=coveoFieldValue("Event Description")%>
<%}} else{
if(coveoFieldValue("Event Website")){%>
<%= coveoFieldValue("doctitle") ? highlight(coveoFieldValue("doctitle"), titleHighlights) : replaceHyphen(coveoFieldValue("_name")) %>
<%= raw.chemicalskldocumenttype %>
<%=coveoFieldValue("Event Description")%>
<%} else{%>
<%= coveoFieldValue("doctitle") ? highlight(coveoFieldValue("doctitle"), titleHighlights) : replaceHyphen(coveoFieldValue("_name")) %>
<%= raw.chemicalskldocumenttype %>
<%=coveoFieldValue("Event Description")%>
<%}} %>
<%= coveoFieldValue("doctitle") ? highlight(coveoFieldValue("doctitle"), titleHighlights) : raw.clickableuri%>
<%=raw.dpsentitytranslation%>
<%=raw.dpsregion%>
<%= raw.chemicalskldocumenttype[0].split("-")[0] %>
<%= coveoFieldValue("doctitle")!=null ? coveoFieldValue("doctitle"): coveoFieldValue("_name").replace(/-/g," ") %>
<%= raw.chemicalskldocumenttype %>
<%=coveoFieldValue("opengraphdescription")%>