"+searchResults[i].TITLE+"

CATEGORY
"+searchResults[i].CLASSNAME+"
AD NUMBER
"+searchResults[i].ADNUMBER+"
"+searchResults[i].ADBODY+"
 
"); }); $('.adMorebtn').each(function(i){ $(this).click(function(){ $('.adInfo').eq(i).slideToggle(); }); }); var items = $("li.announcement-item"); for(var i = 0; i < items.length; i+=10) { items.slice(i, i+10).wrapAll("
"); } $(".hp-events").each(function(i){ if(i < $(".hp-events").length-1){ $("").insertAfter(this); } /*else { var site = "plc-nylj"; if(site.toUpperCase()==="DBR" || site.toUpperCase()==="PLC-DBR") { site = $(".atex-class").val(); } else if(site.toUpperCase()==="NYLJ") { site = "NYL"; } else if(site.toUpperCase()==="NJLJ") { site = "NJP"; } else if(site.toUpperCase()==="DRO") { site = "FDR"; } var startDate =""; var endDate =""; var theQuery ="atex-paper:NYL"; if(theQuery===null || theQuery ===undefined) { theQuery = ""; } if(startDate===null || startDate ===undefined) { startDate = ""; } if(endDate===null || endDate ===undefined) { endDate = ""; } var type = "public-notices"; var start = "11"; var end = "20"; if(count>9) { $("").insertAfter(this); } }*/ if(i>0){ $(this).hide(); } }); $("button.loadnextfifo").each(function(i){ if(i>0 || $('.hp-events').length == 1 || i == $('.hp-events').length){ $(this).hide(); } }); });