<%
var title = "";
try {
var title = item.title;
if (title.indexOf("|") != -1) {
title = title.substring(0, title.indexOf("|"));
}
if (title.indexOf("-") != -1) {
title = title.substring(0, title.indexOf("-"));
}
}catch (e) {
}
%>
<%=title%>
<%
var snippet = "";
if (item.snippet.indexOf("<") == -1 && item.snippet.indexOf(">")==-1) {
snippet=item.snippet;
}
%>
<%=snippet%>