");
document.write("Search results for: " + keyword + "");
// draw cells for search results
for (var q=1; q<=links.length; q++) {
if (links[q].Desc.toLowerCase().indexOf(keyword) != -1) {
document.write(" |
");
document.write("" + links[q].Name + "");
document.write(" | ");
document.write(links[q].Desc + ".");
linkedyet = 1;
continue;
}
if (links[q].Name.toLowerCase().indexOf(keyword) != -1) {
document.write(" |
" + links[q].Name + " | ");
document.write( links[q].Desc + ".");
linkedyet = 1;
continue;
}
}
// if there were no links found for the search phrase
if (q > (links.length)) {
if (linkedyet < 1) {
document.write("Your search turned up no results for " + keyword + ". Please try another search or read searching help.");
}
}
document.write(" | ! ? | |