
function tsCallback1242351820769(items){
  var A=[];
  
  for(var item in items) {
    
    var snippet = "";
    
     if (items[item].snippet) {
       snippet = "<span style=\"font-size: 11px;padding-top: 5px;\">" + items[item].snippet + "... <a style=\"display:inline;font-weight:bold;font-size:11px;white-space:nowrap;color:#06c;\" href=\"" + items[item].url + "\">more &raquo;</a></span>" 
     }
    
    // not sure why this is needed, but was getting a lot of undefineds
    if (items[item].url) { 
      A.push("<li style=\" padding-bottom: 12px;margin-bottom: 12px;border-bottom: 1px dotted #bcbcbc;\"><a style=\"font-weight: bold;color:#06c;\" href=\"" + items[item].url + "\">" + items[item].title + "</a>" +
        "<span style=\"font-size: 11px;padding-top:5px;\">By <a style=\"display:inline;font-weight:bold;font-size:11px;color:#06c;\" href=\"" + items[item].url + "\">" + items[item].user + "</a></span>" + 
        snippet + "</li>");
    }
  }

  if (A.length > 0)  {
    document.getElementById("ts_list1242351820769").innerHTML=A.join("");
  }
  else {
    document.getElementById("ts_list1242351820769").innerHTML= "<div style=\"margin-top:20px\"><b>No results found.</b></div>";
  }
}
