//******************************************************************** // Control file for the 'Strong's Concordance' files located in './c/'. // // Conc.js performs macro substituion on the concordance and writes // out the result to the document. Everything else is handled by the // concordance page. Each page in the ./c/ dir contains an array named // HTMLString[] where each entry is a verse the the specific book/chapter file. //******************************************************************** var Book,Chapter,Verse; Title = new String(window.location); Title = unescape(Title); Title = Title.split("?")[1] if(Title) { Title = Title.split('#')[0]; tLength = Title.split("&").length; for(tItem=0;tItemLexicon / Concordance for ' + Book + ' ' + Chapter + ':' + Verse + '' + '

'; // opening table for the conc table which contains the words and Strong's info for new testament concs HGE_String = '

' + '' + ' ' + '
' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' '; // opening div for the entire page just before the top of the upper scroll for old testament concs HBB_String = '
' + '
Lexicon / Concordance for ' + Book + ' ' + Chapter + ':' + Verse + '
' + '

'; // opening table for the conc table which contains the words and Strong's info for old testament concs HBE_String = '

' + '
EnglishStrong\'sGreek (Root form)Tense
(Click on any item below for Concordance) (Click)
' + ' ' + '
' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' '; // The row of padding images for multi-line scrolls HBG_String = "
'; // Second cell in the row. This cell contains the Strong's number. PB_String = ''; // This is a row with only an English word and no other info. PE_String = ''; // Bottom scroll openers for greek or hebrew WB_String = '
EnglishStrong\'sGreek (Root form)Tense
(Click on any item below for Concordance) (Click)
['; // Third cell in the row. This cell contains the Greek or Hebrew word. DE_String = '';
QB_String = '
   

'; SB_String = '

'; // Bottom scroll closer SE_String = '

'; // I got lost when I created these, they aren't even used at the moment DB_String = '(with Strongs #)/g, ""); HTMLString[Verse] = HTMLString[Verse].replace(/HBB/g, HBB_String); HTMLString[Verse] = HTMLString[Verse].replace(/HBE/g, HBE_String); HTMLString[Verse] = HTMLString[Verse].replace(/HGB/g, HGB_String); HTMLString[Verse] = HTMLString[Verse].replace(/HGE/g, HGE_String); HTMLString[Verse] = HTMLString[Verse].replace(/HBG/g, HBG_String); HTMLString[Verse] = HTMLString[Verse].replace(/BGS/g, BGS_String); HTMLString[Verse] = HTMLString[Verse].replace(/WB/g, WB_String); HTMLString[Verse] = HTMLString[Verse].replace(/SB/g, SB_String); HTMLString[Verse] = HTMLString[Verse].replace(/SE/g, SE_String); HTMLString[Verse] = HTMLString[Verse].replace(/TB/g, TB_String); HTMLString[Verse] = HTMLString[Verse].replace(/TE/g, TE_String); HTMLString[Verse] = HTMLString[Verse].replace(/PE/g, PE_String); //Do no match JESUS ie: Mat 1:21. Put the '[' back after matching it. //JE_String = '\')">['; HTMLString[Verse] = HTMLString[Verse].replace(/JE\[/g, JE_String); HTMLString[Verse] = HTMLString[Verse].replace(/TN/g, TN_String); HTMLString[Verse] = HTMLString[Verse].replace(/VE/g, VE_String); HTMLString[Verse] = HTMLString[Verse].replace(/DE/g, DE_String); HTMLString[Verse] = HTMLString[Verse].replace(/¡/g, BG_String); HTMLString[Verse] = HTMLString[Verse].replace(/RB/g, RB_String); HTMLString[Verse] = HTMLString[Verse].replace(/KB/g, KB_String); HTMLString[Verse] = HTMLString[Verse].replace(/KE/g, KE_String); HTMLString[Verse] = HTMLString[Verse].replace(/DB/g, DB_String); HTMLString[Verse] = HTMLString[Verse].replace(/CB/g, CB_String); HTMLString[Verse] = HTMLString[Verse].replace(/PB/g, PB_String); HTMLString[Verse] = HTMLString[Verse].replace(/HB/g, HB_String); HTMLString[Verse] = HTMLString[Verse].replace(/FB/g, FB_String); HTMLString[Verse] = HTMLString[Verse].replace(/QB/g, QB_String); HTMLString[Verse] = HTMLString[Verse].replace(/YB/g, YB_String); HTMLString[Verse] = HTMLString[Verse].replace(/align=absmiddle src=\.\/bg\/h([^s])/g, 'src=./bg/h$1'); HTMLString[Verse] = HTMLString[Verse].replace(/align=absmiddle src=\.\/bg\/g([^s])/g, 'src=./bg/g$1'); HTMLString[Verse] = HTMLString[Verse].replace(/align=absmiddle src=\.\/bg\/([^gh])/g, 'src=./bg/$1'); HTMLString[Verse] = HTMLString[Verse].replace(/align=absmiddle src=\.\/bg\/(hs[^0-9])/g, 'src=./bg/$1'); HTMLString[Verse] = HTMLString[Verse].replace(/align=absmiddle src=\.\/bg\/(gs[^0-9])/g, 'src=./bg/$1'); // Once the substitutions are done, show it to the customers // Everything else is covered in the c/.../*.html conc files document.write(HTMLString[Verse]);