81 lines
2.6 KiB
HTML
81 lines
2.6 KiB
HTML
<HTML><HEAD>
|
|
<script src="../../js/basepath.js" type="text/javascript"></script>
|
|
<script src="./js/nav.js" type="text/javascript"></script>
|
|
<script src="./js/MainHeader.js" type="text/javascript"></script>
|
|
<script src="./study/isbe/isbe.js" type="text/javascript"></script>
|
|
<script type="text/javascript">
|
|
var string;
|
|
Title = new String(window.location);
|
|
Title = unescape(Title);
|
|
Title = Title.split("?")[1];
|
|
if(Title) {
|
|
tLength = Title.split("&").length;
|
|
for(tItem=0;tItem<tLength;tItem++) {
|
|
tempItem = Title.split("&")[tItem].split("=");
|
|
switch(tempItem[0]) {
|
|
case "string":
|
|
string = tempItem[1];
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
if(!string) string = 'Jesus';
|
|
</script>
|
|
|
|
<DIV CLASS="head">
|
|
International Standard Bible Encyclopaedia
|
|
</DIV>
|
|
<DIV CLASS="subhead">
|
|
<A id="toc"></A>Search Results for "<script type="text/javascript">document.write(string.replace(/\+/g, " "));</script>"
|
|
</DIV>
|
|
<DIV CLASS="main-just">
|
|
<DIV CLASS="pad30">
|
|
<script type="text/javascript">
|
|
var item;
|
|
var hitCount = 0;
|
|
var resultsList = "";
|
|
var searchString = new RegExp();
|
|
var strings = new Array();
|
|
strings = string.split("+");
|
|
words = strings.length;
|
|
hits = new Array();
|
|
for(word in strings) {
|
|
searchString = searchString.compile(strings[word], 'i');
|
|
for(item in isbe)
|
|
if(item.search(searchString) >= 0) {
|
|
toc = isbe[item].split('`')[0];
|
|
if (!hits[item+'^'+toc]) hits[item+'^'+toc] = 0;
|
|
hits[item+'^'+toc]++;
|
|
}
|
|
}
|
|
for (toc in hits) {
|
|
something = new String(toc);
|
|
item = something.split('^')[0];
|
|
toc = something.split('^')[1];
|
|
if (hits[item+'^'+toc] == words ) {
|
|
hitCount++;
|
|
isbeFile = parseInt((toc-1)/100, 10)+'00';
|
|
toGoTOC = toc;
|
|
toGoIsbeFile = isbeFile;
|
|
resultsList += '<li><a href="./study/isbe/'+isbeFile+'.html?toc='+toc+'">'+item+'</a></li>';
|
|
}
|
|
}
|
|
|
|
// basePath get determined by ../../js/basepath.js which is included above.
|
|
|
|
if(hitCount == 1) document.location.replace(basePath + '/study/isbe/' + toGoIsbeFile + '.html?toc=' + toGoTOC);
|
|
if(resultsList == "") {
|
|
document.write('<br>We\'re sorry, but that word was not found.');
|
|
} else {
|
|
document.write('Select a result from the list to view that entry.<ul class="blue1">'+resultsList);
|
|
}
|
|
</script>
|
|
</ul>
|
|
</DIV>
|
|
</DIV>
|
|
<DIV CLASS="return">
|
|
<A HREF="./study/isbe/index.html">Return to ISBE Table of Contents</A>
|
|
</DIV>
|
|
<script src="./js/MainFooter.js" type="text/javascript"></script>
|