Try this:
```
function getSearchResults(doc, url) {
	var items = {}, found = false, results,
		resultsList = doc.getElementById('searchContent');
	if(resultsList) {
		//search results
		//check if we're searching books/journals or their contents
		var titleSearch = url.indexOf('searchTitles=false') == -1; //default is to search titles
		results = resultsList.getElementsByClassName('contentItem');
		for(var i=0; i<results.length; i++) {
			//if we're searching titles, we can only handle books
			if(titleSearch && !results[i].classList.contains('book')) continue;
			
			var title = results[i].getElementsByClassName('itemTitle')[0];
			if(!title || !(title = title.firstElementChild) || !title.href) continue;
			
			found = true;
			items[title.href] = ZU.trimInternal(title.textContent);
		}
		
		return found ? items : false;
	}
	
	//toc http://www.degruyter.com/view/j/for.2011.9.issue-4/issue-files/for.2011.9.issue-4.xml
	results = ZU.xpath(doc, '//div[@class="listSection"]//div[@class="contentItem"]/h3/a');
	for(var i=0; i<results.length; i++) {
		items[results[i].href] = ZU.trimInternal(results[i].textContent);
		found = true;
	}
	return found ? items : false;
}
```