function tsCallback1250803595697(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) { 
      str = "<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>";
      
      if (items[item].rating) {
      rating = 50;
      try { rating = Math.round((items[item].rating / 5.0) * 100); } catch (e){}
      str += "<div style=\"width: 68px;height: 12px; margin-top: 5px; margin-bottom: 5px;background: url('http://www.teachstreet.com/images/widget/widget_stars_off.gif') left top no-repeat\"><div style=\"width: " + rating + "%; height: 12px;background: url('http://www.teachstreet.com/images/widget/widget_stars_on.gif') left top no-repeat\"></div></div>";
      }
      
      str += snippet + "</li>";
      A.push(str);
    }
  }

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

