intitemsPerPage=Math.min((authenticated)?(snippetFetchStrategy.isAllowedToFetchOnline()?100:1000):(snippetFetchStrategy.isAllowedToFetchOnline()?10:100),post.getInt("maximumRecords",post.getInt("count",10)));// SRU syntax with old property as alternative
if(authenticated&&(newcount=post.getInt("count",0))>0)sb.setConfig(SwitchboardConstants.DEFAULT_SEARCHITEMS,newcount);// set new default maximumRecords if search with "more options"