/*****************************************************************

Lunar ritual lookup for Pagan Book of Hours project.

Joshua Tenpenny - josh@cauldronfarm.com             2003-04-04

*****************************************************************/

lunar_text = new Array(13);
lunar_file = new Array(13);
for (i=0; i<=13; i++) {
  lunar_text[i] = new Array();
  lunar_file[i] = new Array();
  // dummy initialization
  for (j=1; j<=30; j++) {
    lunar_text[i][j] = "";
    lunar_file[i][j] = "";
  }
}

function getLunarTitle(m,d) { 
  if (lunar_text[m][d]=="") return "Not Yet Written"
  else return lunar_text[m][d]
}

function getLunarFile(m,d) { 
  if (lunar_file[m][d]=="") return "rituals/temp.html"
  else return ("rituals/" + lunar_file[m][d]);
}

function displayMonthLunar(m) {
  for (i=1; i<lunar_text[m].length; i++) {
    document.write(lunmonth(m) + " " + i + ": ");
    if (getLunarFile(m,i) == "temp.html") 
      document.write(getLunarTitle(m,i) + "<br>\n");
    else
      document.write("<a href=\"" + getLunarFile(m,i) + "\">" + getLunarTitle(m,i) 
        + "</a><br>\n");
  }
}

function lunmonth(n) {
    if (n==1) return "Beth"
    if (n==2) return "Luis"
    if (n==3) return "Nion"
    if (n==4) return "Fearn"
    if (n==5) return "Saille"
    if (n==6) return "Huath"
    if (n==7) return "Duir"
    if (n==8) return "Tinne"
    if (n==9) return "Coll"
    if (n==10) return "Muin"
    if (n==11) return "Gort"
    if (n==12) return "Ngetal"
    if (n==13) return "Ruis"
    if (n==0) return "Day out of Time"
    return "[ERROR]"
}

for (i=1; i<=30; i++) {
  lunar_text[0][i] = "Day Out of Time";
  lunar_file[0][i] = "dayout.html";
}

// Beth/Poseideion II
lunar_text[1][1] = "Day of the Birch Tree"; lunar_file[1][1] = "rowan.html";
lunar_text[1][2] = "Beth Invocation"; lunar_file[1][2] = "beth_inv.html";
lunar_text[1][3] = "Beth Invocation"; lunar_file[1][3] = "beth_inv.html";
lunar_text[1][4] = "Beth Invocation"; lunar_file[1][4] = "beth_inv.html";
lunar_text[1][5] = "Day of Danu"; lunar_file[1][5] = "danu.html";
lunar_text[1][6] = "Beth Invocation"; lunar_file[1][6] = "beth_inv.html";
lunar_text[1][7] = "Beth Invocation"; lunar_file[1][7] = "beth_inv.html";
lunar_text[1][8] = "Beth Invocation"; lunar_file[1][8] = "beth_inv.html";
lunar_text[1][9] = "Winter Waxing Moon"; lunar_file[1][9] = "winter_waxing.html";
lunar_text[1][10] = "Beth Invocation"; lunar_file[1][10] = "beth_inv.html";
lunar_text[1][11] = "Beth Invocation"; lunar_file[1][11] = "beth_inv.html";
lunar_text[1][12] = "Beth Invocation"; lunar_file[1][12] = "beth_inv.html";
lunar_text[1][13] = "Beth Invocation"; lunar_file[1][13] = "beth_inv.html";
lunar_text[1][14] = "Day of the Silver Fir"; lunar_file[1][14] = "silver_fir.html";
lunar_text[1][15] = "Country Dionysia Day 1: Phallikon"; lunar_file[1][15] = "phallikon.html";
lunar_text[1][16] = "Country Dionysia Day 2: Askolia"; lunar_file[1][16] = "askolia.html";
lunar_text[1][17] = "Beth Invocation"; lunar_file[1][17] = "beth_inv.html";
lunar_text[1][18] = "Beth Invocation"; lunar_file[1][18] = "beth_inv.html";
lunar_text[1][19] = "Beth Invocation"; lunar_file[1][19] = "beth_inv.html";
lunar_text[1][20] = "Winter Waning Moon"; lunar_file[1][20] = "winter_waning.html";
lunar_text[1][21] = "Day of the Leprous White Lady"; lunar_file[1][21] = "leprous_white_lady.html";
lunar_text[1][22] = "Beth Invocation"; lunar_file[1][22] = "beth_inv.html";
lunar_text[1][23] = "Beth Invocation"; lunar_file[1][23] = "beth_inv.html";
lunar_text[1][24] = "Beth Invocation"; lunar_file[1][24] = "beth_inv.html";
lunar_text[1][25] = "Beth Invocation"; lunar_file[1][25] = "beth_inv.html";
lunar_text[1][26] = "Haloa"; lunar_file[1][26] = "haloa.html";
lunar_text[1][27] = "Beth Invocation"; lunar_file[1][27] = "beth_inv.html";
lunar_text[1][28] = "Beth Invocation"; lunar_file[1][28] = "beth_inv.html";
lunar_text[1][29] = "Dark Moon Night"; lunar_file[1][29] = "darkmoon.html";
lunar_text[1][30] = "Dark Moon Night"; lunar_file[1][30] = "darkmoon.html";

// Luis/Gamelion
lunar_text[2][1] = "Day of the Rowan Tree"; lunar_file[2][1] = "rowan.html";
lunar_text[2][2] = "Luis Invocation"; lunar_file[2][2] = "luis_inv.html";
lunar_text[2][3] = "Luis Invocation"; lunar_file[2][3] = "luis_inv.html";
lunar_text[2][4] = "Luis Invocation"; lunar_file[2][4] = "luis_inv.html";
lunar_text[2][5] = "Sarasvati's Day"; lunar_file[2][5] = "sarasvati.html";
lunar_text[2][6] = "Luis Invocation"; lunar_file[2][6] = "luis_inv.html";
lunar_text[2][7] = "Hearth Blessing"; lunar_file[2][7] = "hearth_blessing.html";
lunar_text[2][8] = "Luis Invocation"; lunar_file[2][8] = "luis_inv.html";
lunar_text[2][9] = "Luis Invocation"; lunar_file[2][9] = "luis_inv.html";
lunar_text[2][10] = "Luis Invocation"; lunar_file[2][10] = "luis_inv.html";
lunar_text[2][11] = "Luis Invocation"; lunar_file[2][11] = "luis_inv.html";
lunar_text[2][12] = "Lenaia Day 1"; lunar_file[2][12] = "lenaia1.html";
lunar_text[2][13] = "Lenaia Day 2"; lunar_file[2][13] = "lenaia2.html";
lunar_text[2][14] = "Lenaia Day 3"; lunar_file[2][14] = "lenaia3.html";
lunar_text[2][15] = "Lenaia Day 4"; lunar_file[2][15] = "lenaia4.html";
lunar_text[2][16] = "Day of the Sugar Maple"; lunar_file[2][16] = "sugar_maple.html";
lunar_text[2][17] = "Luis Invocation"; lunar_file[2][17] = "luis_inv.html";
lunar_text[2][18] = "Luis Invocation"; lunar_file[2][18] = "luis_inv.html";
lunar_text[2][19] = "Luis Invocation"; lunar_file[2][19] = "luis_inv.html";
lunar_text[2][20] = "Warding Night"; lunar_file[2][20] = "warding.html";
lunar_text[2][21] = "Luis Invocation"; lunar_file[2][21] = "luis_inv.html";
lunar_text[2][22] = "Luis Invocation"; lunar_file[2][22] = "luis_inv.html";
lunar_text[2][23] = "Day of Boann"; lunar_file[2][23] = "boann.html";
lunar_text[2][24] = "Luis Invocation"; lunar_file[2][24] = "luis_inv.html";
lunar_text[2][25] = "Luis Invocation"; lunar_file[2][25] = "luis_inv.html";
lunar_text[2][26] = "Gamelia"; lunar_file[2][26] = "gamelia.html";
lunar_text[2][27] = "Luis Invocation"; lunar_file[2][27] = "luis_inv.html";
lunar_text[2][28] = "Luis Invocation"; lunar_file[2][28] = "luis_inv.html";
lunar_text[2][29] = "Dark Moon Night"; lunar_file[2][29] = "darkmoon.html";
lunar_text[2][30] = "Dark Moon Night"; lunar_file[2][30] = "darkmoon.html";



// Nion/Anthesterion
lunar_text[3][1] = "Day of the Ash Tree"; lunar_file[3][1] = "ash.html";
lunar_text[3][2] = "Nion Invocation"; lunar_file[3][2] = "nion_inv.html";
lunar_text[3][3] = "Day of Llyr"; lunar_file[3][3] = "llyr.html";
lunar_text[3][4] = "Nion Invocation"; lunar_file[3][4] = "nion_inv.html";
lunar_text[3][5] = "Nion Invocation"; lunar_file[3][5] = "nion_inv.html";
lunar_text[3][6] = "Rhea's Day - Greater Mystery"; lunar_file[3][6] = "rhea.html";
lunar_text[3][7] = "Nion Invocation"; lunar_file[3][7] = "nion_inv.html";
lunar_text[3][8] = "Nion Invocation"; lunar_file[3][8] = "nion_inv.html";
lunar_text[3][9] = "Nion Invocation"; lunar_file[3][9] = "nion_inv.html";
lunar_text[3][10] = "Nion Invocation"; lunar_file[3][10] = "nion_inv.html";
lunar_text[3][11] = "Anthesteria Day 1: Pithogia"; lunar_file[3][11] = "anthesteria1.html";
lunar_text[3][12] = "Anthesteria Day 2: Khoes"; lunar_file[3][12] = "anthesteria2.html";
lunar_text[3][13] = "Anthesteria Day 3: Khutroi"; lunar_file[3][13] = "anthesteria3.html";
lunar_text[3][14] = "Day of the Gorse"; lunar_file[3][14] = "gorse.html";
lunar_text[3][15] = "Full Moon Night"; lunar_file[3][15] = "fullmoon.html";
lunar_text[3][16] = "Day of Anna Perenna"; lunar_file[3][16] = "anna_perenna.html";
lunar_text[3][17] = "Nion Invocation"; lunar_file[3][17] = "nion_inv.html";
lunar_text[3][18] = "Nion Invocation"; lunar_file[3][18] = "nion_inv.html";
lunar_text[3][19] = "Nion Invocation"; lunar_file[3][19] = "nion_inv.html";
lunar_text[3][20] = "Nion Invocation"; lunar_file[3][20] = "nion_inv.html";
lunar_text[3][21] = "Nion Invocation"; lunar_file[3][21] = "nion_inv.html";
lunar_text[3][22] = "Nion Invocation"; lunar_file[3][22] = "nion_inv.html";
lunar_text[3][23] = "Diasia - Ua Zit's Day"; lunar_file[3][23] = "diasia.html";
lunar_text[3][24] = "Nion Invocation"; lunar_file[3][24] = "nion_inv.html";
lunar_text[3][25] = "Nion Invocation"; lunar_file[3][25] = "nion_inv.html";
lunar_text[3][26] = "Nion Invocation"; lunar_file[3][26] = "nion_inv.html";
lunar_text[3][27] = "Nion Invocation"; lunar_file[3][27] = "nion_inv.html";
lunar_text[3][28] = "Nion Invocation"; lunar_file[3][28] = "nion_inv.html";
lunar_text[3][29] = "Dark Moon Night"; lunar_file[3][29] = "darkmoon.html";
lunar_text[3][30] = "Dark Moon Night"; lunar_file[3][30] = "darkmoon.html";


// Fearn/Elaphebolion
lunar_text[4][1] = "Day of the Alder Tree"; lunar_file[4][1] = "alder.html";
lunar_text[4][2] = "Fearn Invocation"; lunar_file[4][2] = "fearn_inv.html";
lunar_text[4][3] = "Day of Bran"; lunar_file[4][3] = "bran.html";
lunar_text[4][4] = "Fearn Invocation"; lunar_file[4][4] = "fearn_inv.html";
lunar_text[4][5] = "Fearn Invocation"; lunar_file[4][5] = "fearn_inv.html";
lunar_text[4][6] = "Elaphebolia: Artemis's Day"; lunar_file[4][6] = "elaphebolia.html";
lunar_text[4][7] = "Fearn Invocation"; lunar_file[4][7] = "fearn_inv.html";
lunar_text[4][8] = "Fearn Invocation"; lunar_file[4][8] = "fearn_inv.html";
lunar_text[4][9] = "Dionysia Polis Day 1"; lunar_file[4][9] = "dionysia_polis1.html";
lunar_text[4][10] = "Dionysia Polis Day 2"; lunar_file[4][10] = "dionysia_polis2.html";
lunar_text[4][11] = "Dionysia Polis Day 3"; lunar_file[4][11] = "dionysia_polis3.html";
lunar_text[4][12] = "Dionysia Polis Day 4"; lunar_file[4][12] = "dionysia_polis4.html";
lunar_text[4][13] = "Dionysia Polis Day 5"; lunar_file[4][13] = "dionysia_polis5.html";
lunar_text[4][14] = "Day of the Elm Tree"; lunar_file[4][14] = "elm.html";
lunar_text[4][15] = "Full Moon Night"; lunar_file[4][15] = "fullmoon.html";
lunar_text[4][16] = "Fearn Invocation"; lunar_file[4][16] = "fearn_inv.html";
lunar_text[4][17] = "Fearn Invocation"; lunar_file[4][17] = "fearn_inv.html";
lunar_text[4][18] = "Fearn Invocation"; lunar_file[4][18] = "fearn_inv.html";
lunar_text[4][19] = "Fearn Invocation"; lunar_file[4][19] = "fearn_inv.html";
lunar_text[4][20] = "Day of Nuada of the Silver Hand"; lunar_file[4][20] = "nuada.html";
lunar_text[4][21] = "Fearn Invocation"; lunar_file[4][21] = "fearn_inv.html";
lunar_text[4][22] = "Fearn Invocation"; lunar_file[4][22] = "fearn_inv.html";
lunar_text[4][23] = "Fearn Invocation"; lunar_file[4][23] = "fearn_inv.html";
lunar_text[4][24] = "Fearn Invocation"; lunar_file[4][24] = "fearn_inv.html";
lunar_text[4][25] = "Fearn Invocation"; lunar_file[4][25] = "fearn_inv.html";
lunar_text[4][26] = "Day of Prometheus"; lunar_file[4][26] = "prometheus.html";
lunar_text[4][27] = "Fearn Invocation"; lunar_file[4][27] = "fearn_inv.html";
lunar_text[4][28] = "Fearn Invocation"; lunar_file[4][28] = "fearn_inv.html";
lunar_text[4][29] = "Dark Moon Night"; lunar_file[4][29] = "darkmoon.html";
lunar_text[4][30] = "Dark Moon Night"; lunar_file[4][30] = "darkmoon.html";

// Saille/Mounukhion
lunar_text[5][1] = "Day of the Willow Tree"; lunar_file[5][1] = "willow.html";
lunar_text[5][2] = "Saille Invocation"; lunar_file[5][2] = "saille_inv.html";
lunar_text[5][3] = "Day of Olwen"; lunar_file[5][3] = "olwen.html";
lunar_text[5][4] = "Saille Invocation"; lunar_file[5][4] = "saille_inv.html";
lunar_text[5][5] = "Lemuria Day 1"; lunar_file[5][5] = "lemuria.html";
lunar_text[5][6] = "Saille Invocation"; lunar_file[5][6] = "saille_inv.html";
lunar_text[5][7] = "Lemuria Day 2"; lunar_file[5][7] = "lemuria.html";
lunar_text[5][8] = "Agni's Day"; lunar_file[5][8] = "agni.html";
lunar_text[5][9] = "Lemuria Day 3"; lunar_file[5][9] = "lemuria.html";
lunar_text[5][10] = "Saille Invocation"; lunar_file[5][10] = "saille_inv.html";
lunar_text[5][11] = "Saille Invocation"; lunar_file[5][11] = "saille_inv.html";
lunar_text[5][12] = "Saille Invocation"; lunar_file[5][12] = "saille_inv.html";
lunar_text[5][13] = "Saille Invocation"; lunar_file[5][13] = "saille_inv.html";
lunar_text[5][14] = "Day of Diana Melissa"; lunar_file[5][14] = "diana_melissa.html";
lunar_text[5][15] = "Day of the Honeysuckle Plant"; lunar_file[5][15] = "honeysuckle.html";
lunar_text[5][16] = "Mounukhia: Artemis Moon Goddess"; lunar_file[5][16] = "mounukhia.html";
lunar_text[5][17] = "Arktoi: Day of the Bear"; lunar_file[5][17] = "arktoi.html";
lunar_text[5][18] = "Saille Invocation"; lunar_file[5][18] = "saille_inv.html";
lunar_text[5][19] = "Saille Invocation"; lunar_file[5][19] = "saille_inv.html";
lunar_text[5][20] = "Saille Invocation"; lunar_file[5][20] = "saille_inv.html";
lunar_text[5][21] = "Aphrodite Urania's Night"; lunar_file[5][21] = "aphrodite_urania.html";
lunar_text[5][22] = "Saille Invocation"; lunar_file[5][22] = "saille_inv.html";
lunar_text[5][23] = "Saille Invocation"; lunar_file[5][23] = "saille_inv.html";
lunar_text[5][24] = "Saille Invocation"; lunar_file[5][24] = "saille_inv.html";
lunar_text[5][25] = "Eros's Day"; lunar_file[5][25] = "eros.html";
lunar_text[5][26] = "Saille Invocation"; lunar_file[5][26] = "saille_inv.html";
lunar_text[5][27] = "Saille Invocation"; lunar_file[5][27] = "saille_inv.html";
lunar_text[5][28] = "Saille Invocation"; lunar_file[5][28] = "saille_inv.html";
lunar_text[5][29] = "Dark Moon Night"; lunar_file[5][29] = "darkmoon.html";
lunar_text[5][30] = "Dark Moon Night"; lunar_file[5][30] = "darkmoon.html";

// Huath/Thargelion
lunar_text[6][1] = "Day of the Hawthorn Tree"; lunar_file[6][1] = "hawthorn.html";
lunar_text[6][2] = "Huath Invocation"; lunar_file[6][2] = "huath_inv.html";
lunar_text[6][3] = "Huath Invocation"; lunar_file[6][3] = "huath_inv.html";
lunar_text[6][4] = "Day of Arianrhod"; lunar_file[6][4] = "arianrhod.html";
lunar_text[6][5] = "Huath Invocation"; lunar_file[6][5] = "huath_inv.html";
lunar_text[6][6] = "Huath Invocation"; lunar_file[6][6] = "huath_inv.html";
lunar_text[6][7] = "Thargelia Day 1 : Pharmakos"; lunar_file[6][7] = "thargelia1.html";
lunar_text[6][8] = "Thargelia Day 2 : Festival of the First Fruits"; lunar_file[6][8] = "thargelia2.html";
lunar_text[6][9] = "Thargelia Day 3: Eireisione"; lunar_file[6][9] = "thargelia3.html";
lunar_text[6][10] = "Huath Invocation"; lunar_file[6][10] = "huath_inv.html";
lunar_text[6][11] = "Huath Invocation"; lunar_file[6][11] = "huath_inv.html";
lunar_text[6][12] = "Huath Invocation"; lunar_file[6][12] = "huath_inv.html";
lunar_text[6][13] = "Huath Invocation"; lunar_file[6][13] = "huath_inv.html";
lunar_text[6][14] = "Feast of Pan"; lunar_file[6][14] = "pan.html";
lunar_text[6][15] = "Hermes's Day"; lunar_file[6][15] = "hermes.html";
lunar_text[6][16] = "Maia's Day"; lunar_file[6][16] = "maia.html";
lunar_text[6][17] = "Day of the Guelder Rose"; lunar_file[6][17] = "guelder_rose.html";
lunar_text[6][18] = "Huath Invocation"; lunar_file[6][18] = "huath_inv.html";
lunar_text[6][19] = "Kallynteria - Spring Cleaning"; lunar_file[6][19] = "kallynteria.html";
lunar_text[6][20] = "Day of Diancecht"; lunar_file[6][20] = "diancecht.html";
lunar_text[6][21] = "Huath Invocation"; lunar_file[6][21] = "huath_inv.html";
lunar_text[6][22] = "Huath Invocation"; lunar_file[6][22] = "huath_inv.html";
lunar_text[6][23] = "Huath Invocation"; lunar_file[6][23] = "huath_inv.html";
lunar_text[6][24] = "Huath Invocation"; lunar_file[6][24] = "huath_inv.html";
lunar_text[6][25] = "Plynteria - Altar Cleansing Festival"; lunar_file[6][25] = "plynteria.html";
lunar_text[6][26] = "Huath Invocation"; lunar_file[6][26] = "huath_inv.html";
lunar_text[6][27] = "Huath Invocation"; lunar_file[6][27] = "huath_inv.html";
lunar_text[6][28] = "Huath Invocation"; lunar_file[6][28] = "huath_inv.html";
lunar_text[6][29] = "Dark Moon Night"; lunar_file[6][29] = "darkmoon.html";
lunar_text[6][30] = "Dark Moon Night"; lunar_file[6][30] = "darkmoon.html";

//Duir/Skirophorion

lunar_text[7][1] = "Day of the Oak Tree"; lunar_file[7][1] = "oak.html";
lunar_text[7][2] = "Duir Invocation"; lunar_file[7][2] = "duir_inv.html";
lunar_text[7][3] = "Arrephoria"; lunar_file[7][3] = "arrephoria.html";
lunar_text[7][4] = "Duir Invocation"; lunar_file[7][4] = "duir_inv.html";
lunar_text[7][5] = "Duir Invocation"; lunar_file[7][5] = "duir_inv.html";
lunar_text[7][6] = "Duir Invocation"; lunar_file[7][6] = "duir_inv.html";
lunar_text[7][7] = "Day of the Dagda"; lunar_file[7][7] = "dagda.html";
lunar_text[7][8] = "Duir Invocation"; lunar_file[7][8] = "duir_inv.html";
lunar_text[7][9] = "Summer Waxing Moon"; lunar_file[7][9] = "summer_waxing_moon.html";
lunar_text[7][10] = "Duir Invocation"; lunar_file[7][10] = "duir_inv.html";
lunar_text[7][11] = "Duir Invocation"; lunar_file[7][11] = "duir_inv.html";
lunar_text[7][12] = "Skirophoria"; lunar_file[7][12] = "skirophoria.html";
lunar_text[7][13] = "Duir Invocation"; lunar_file[7][13] = "duir_inv.html";
lunar_text[7][14] = "Duir Invocation"; lunar_file[7][14] = "duir_inv.html";
lunar_text[7][15] = "Day of the Heather"; lunar_file[7][15] = "heather.html";
lunar_text[7][16] = "Selene's Day"; lunar_file[7][16] = "selene.html";
lunar_text[7][17] = "Duir Invocation"; lunar_file[7][17] = "duir_inv.html";
lunar_text[7][18] = "Duir Invocation"; lunar_file[7][18] = "duir_inv.html";
lunar_text[7][19] = "Day of the Warrior of the Open Hand"; lunar_file[7][19] = "warrior_open_hand.html"
lunar_text[7][20] = "Duir Invocation"; lunar_file[7][20] = "duir_inv.html";
lunar_text[7][21] = "Duir Invocation"; lunar_file[7][21] = "duir_inv.html";
lunar_text[7][22] = "Day of Thunder"; lunar_file[7][22] = "thunder.html";
lunar_text[7][23] = "Duir Invocation"; lunar_file[7][23] = "duir_inv.html";
lunar_text[7][24] = "Duir Invocation"; lunar_file[7][24] = "duir_inv.html";
lunar_text[7][25] = "Summer Waning Moon"; lunar_file[7][25] = "summer_waning_moon.html";
lunar_text[7][26] = "Duir Invocation"; lunar_file[7][26] = "duir_inv.html";
lunar_text[7][27] = "Duir Invocation"; lunar_file[7][27] = "duir_inv.html";
lunar_text[7][28] = "Duir Invocation"; lunar_file[7][28] = "duir_inv.html";
lunar_text[7][29] = "Dark Moon Night"; lunar_file[7][29] = "darkmoon.html";
lunar_text[7][30] = "Dark Moon Night"; lunar_file[7][30] = "darkmoon.html";

// Tinne/Hekatombaion

lunar_text[8][1] = "Day of the Holly Tree"; lunar_file[8][1] = "holly.html";
lunar_text[8][2] = "Tinne Invocation"; lunar_file[8][2] = "tinne_inv.html";
lunar_text[8][3] = "Parvati's Day"; lunar_file[8][3] = "parvati.html";
lunar_text[8][4] = "Aphrodisia"; lunar_file[8][4] = "aphrodisia.html";
lunar_text[8][5] = "Tinne Invocation"; lunar_file[8][5] = "tinne_inv.html";
lunar_text[8][6] = "Tinne Invocation"; lunar_file[8][6] = "tinne_inv.html";
lunar_text[8][7] = "Tinne Invocation"; lunar_file[8][7] = "tinne_inv.html";
lunar_text[8][8] = "Cuchulain's Day"; lunar_file[8][8] = "cuchulain.html";
lunar_text[8][9] = "Tinne Invocation"; lunar_file[8][9] = "tinne_inv.html"; 
lunar_text[8][10] = "Tinne Invocation"; lunar_file[8][10] = "tinne_inv.html";
lunar_text[8][11] = "Tinne Invocation"; lunar_file[8][11] = "tinne_inv.html";
lunar_text[8][12] = "Kronia"; lunar_file[8][12] = "kronia.html";
lunar_text[8][13] = "Tinne Invocation"; lunar_file[8][13] = "tinne_inv.html";
lunar_text[8][14] = "Day of the Spindle Tree"; lunar_file[8][14] = "spindle.html";
lunar_text[8][15] = "Full Moon Night"; lunar_file[8][15] = "fullmoon.html";
lunar_text[8][16] = "Tinne Invocation"; lunar_file[8][16] = "tinne_inv.html";
lunar_text[8][17] = "Tinne Invocation"; lunar_file[8][17] = "tinne_inv.html";
lunar_text[8][18] = "Arthur's Day"; lunar_file[8][18] = "arthur.html";
lunar_text[8][19] = "Tinne Invocation"; lunar_file[8][19] = "tinne_inv.html";
lunar_text[8][20] = "Tinne Invocation"; lunar_file[8][20] = "tinne_inv.html";
lunar_text[8][21] = "Gwydion's Day"; lunar_file[8][21] = "gwydion.html";
lunar_text[8][22] = "Day of Math"; lunar_file[8][22] = "math.html";
lunar_text[8][23] = "Day of Llew Llaw Gyffes"; lunar_file[8][23] = "llew.html";
lunar_text[8][24] = "Tinne Invocation"; lunar_file[8][24] = "tinne_inv.html";
lunar_text[8][25] = "Tinne Invocation"; lunar_file[8][25] = "tinne_inv.html";
lunar_text[8][26] = "Day of the Hero"; lunar_file[8][26] = "hero.html";
lunar_text[8][27] = "Tinne Invocation"; lunar_file[8][27] = "tinne_inv.html";
lunar_text[8][28] = "Tinne Invocation"; lunar_file[8][28] = "tinne_inv.html";
lunar_text[8][29] = "Dark Moon Night"; lunar_file[8][29] = "darkmoon.html";
lunar_text[8][30] = "Dark Moon Night"; lunar_file[8][30] = "darkmoon.html";

// Coll/Metageitnon

lunar_text[9][1] = "Day of the Hazel Tree"; lunar_file[9][1] = "hazel.html";
lunar_text[9][2] = "Pannukhis"; lunar_file[9][2] = "pannukhis.html";
lunar_text[9][3] = "Panathenaea Day 1: Athena’s Day"; lunar_file[9][3] = "panathenaea1.html";
lunar_text[9][4] = "Panathenaea Day 2: Races"; lunar_file[9][4] = "panathenaea2.html";
lunar_text[9][5] = "Panathenaea Day 3: Poetry"; lunar_file[9][5] = "panathenaea3.html";
lunar_text[9][6] = "Ganesha's Day"; lunar_file[9][6] = "ganesha.html";
lunar_text[9][7] = "Coll Invocation"; lunar_file[9][7] = "coll_inv.html";
lunar_text[9][8] = "Coll Invocation"; lunar_file[9][8] = "coll_inv.html";
lunar_text[9][9] = "Taliesin's Day"; lunar_file[9][9] = "taliesin.html";
lunar_text[9][10] = "Coll Invocation"; lunar_file[9][10] = "coll_inv.html";
lunar_text[9][11] = "Coll Invocation"; lunar_file[9][11] = "coll_inv.html";
lunar_text[9][12] = "Coll Invocation"; lunar_file[9][12] = "coll_inv.html";
lunar_text[9][13] = "Coll Invocation"; lunar_file[9][13] = "coll_inv.html";
lunar_text[9][14] = "Coll Invocation"; lunar_file[9][14] = "coll_inv.html";
lunar_text[9][15] = "Full Moon Night"; lunar_file[9][15] = "fullmoon.html";
lunar_text[9][16] = "Day of the Apple Tree"; lunar_file[9][16] = "apple.html";
lunar_text[9][17] = "Pomona's Day"; lunar_file[9][17] = "pomona.html";
lunar_text[9][18] = "Coll Invocation"; lunar_file[9][18] = "coll_inv.html";
lunar_text[9][19] = "Coll Invocation"; lunar_file[9][19] = "coll_inv.html";
lunar_text[9][20] = "Nemetona's Day"; lunar_file[9][20] = "nemetona.html";
lunar_text[9][21] = "Coll Invocation"; lunar_file[9][21] = "coll_inv.html";
lunar_text[9][22] = "Coll Invocation"; lunar_file[9][22] = "coll_inv.html";
lunar_text[9][23] = "Coll Invocation"; lunar_file[9][23] = "coll_inv.html";
lunar_text[9][24] = "Rhiannon's Day"; lunar_file[9][24] = "rhiannon.html";
lunar_text[9][25] = "Coll Invocation"; lunar_file[9][25] = "coll_inv.html";
lunar_text[9][26] = "Coll Invocation"; lunar_file[9][26] = "coll_inv.html";
lunar_text[9][27] = "Coll Invocation"; lunar_file[9][27] = "coll_inv.html";
lunar_text[9][28] = "Coll Invocation"; lunar_file[9][28] = "coll_inv.html";
lunar_text[9][29] = "Dark Moon Night"; lunar_file[9][29] = "darkmoon.html";
lunar_text[9][30] = "Dark Moon Night"; lunar_file[9][30] = "darkmoon.html";

// Muin / Boedromion

lunar_text[10][1] = "Day of the Vine"; lunar_file[10][1] = "vine.html";
lunar_text[10][2] = "Muin Invocation"; lunar_file[10][2] = "muin_inv.html";
lunar_text[10][3] = "Muin Invocation"; lunar_file[10][3] = "muin_inv.html";
lunar_text[10][4] = "Muin Invocation"; lunar_file[10][4] = "muin_inv.html";
lunar_text[10][5] = "Genesia"; lunar_file[10][5] = "genesia.html";
lunar_text[10][6] = "Day of Kharisteria"; lunar_file[10][6] = "kharisteria.html";
lunar_text[10][7] = "Boedromia"; lunar_file[10][7] = "boedromia.html";
lunar_text[10][8] = "Muin Invocation"; lunar_file[10][8] = "muin_inv.html";
lunar_text[10][9] = "Muin Invocation"; lunar_file[10][9] = "muin_inv.html";
lunar_text[10][10] = "Day of the Three Brothers of the Forge"; lunar_file[10][10] = "three_brothers.html";
lunar_text[10][11] = "Muin Invocation"; lunar_file[10][11] = "muin_inv.html";
lunar_text[10][12] = "Muin Invocation"; lunar_file[10][12] = "muin_inv.html";
lunar_text[10][13] = "Day of the Aspen"; lunar_file[10][13] = "aspen.html";
lunar_text[10][14] = "Hades's Day"; lunar_file[10][14] = "hades.html";
lunar_text[10][15] = "Greater Mysteries Day 1"; lunar_file[10][15] = "greatermystery1.html";
lunar_text[10][16] = "Greater Mysteries Day 2"; lunar_file[10][16] = "greatermystery2.html";
lunar_text[10][17] = "Greater Mysteries Day 3"; lunar_file[10][17] = "greatermystery3.html";
lunar_text[10][18] = "Greater Mysteries Day 4"; lunar_file[10][18] = "greatermystery4.html";
lunar_text[10][19] = "Greater Mysteries Day 5"; lunar_file[10][19] = "greatermystery5.html";
lunar_text[10][20] = "Greater Mysteries Day 6"; lunar_file[10][20] = "greatermystery6.html";
lunar_text[10][21] = "Greater Mysteries Day 7"; lunar_file[10][21] = "greatermystery7.html";
lunar_text[10][22] = "Muin Invocation"; lunar_file[10][22] = "muin_inv.html";
lunar_text[10][23] = "Muin Invocation"; lunar_file[10][23] = "muin_inv.html";
lunar_text[10][24] = "Muin Invocation"; lunar_file[10][24] = "muin_inv.html";
lunar_text[10][25] = "Diwali, Kali's Day"; lunar_file[10][25] = "diwali.html";
lunar_text[10][26] = "Lakshmi's Day"; lunar_file[10][26] = "lakshmi.html";
lunar_text[10][27] = "Muin Invocation"; lunar_file[10][27] = "muin_inv.html";
lunar_text[10][28] = "Muin Invocation"; lunar_file[10][28] = "muin_inv.html";
lunar_text[10][29] = "Dark Moon Night"; lunar_file[10][29] = "darkmoon.html";
lunar_text[10][30] = "Dark Moon Night"; lunar_file[10][30] = "darkmoon.html";

// Gort (Ivy) / Puanepsion

lunar_text[11][1] = "Day of the Ivy"; lunar_file[11][1] = "ivy.html";
lunar_text[11][2] = "Gort Invocation"; lunar_file[11][2] = "gort_inv.html";
lunar_text[11][3] = "Gort Invocation"; lunar_file[11][3] = "gort_inv.html";
lunar_text[11][4] = "Gort Invocation"; lunar_file[11][4] = "gort_inv.html";
lunar_text[11][5] = "Naga Panchami Festival"; lunar_file[11][5] = "naga_panchami.html";
lunar_text[11][6] = "Oskophoria: Ariadne's Day"; lunar_file[11][6] = "oskophoria.html";
lunar_text[11][7] = "Puanepsia"; lunar_file[11][7] = "puanepsia.html";
lunar_text[11][8] = "Theseia"; lunar_file[11][8] = "theseia.html";
lunar_text[11][9] = "Stenia Day 1"; lunar_file[11][9] = "stenia1.html";
lunar_text[11][10] = "Stenia Day 2"; lunar_file[11][10] = "stenia2.html";
lunar_text[11][11] = "Thesmophoria Day 1: Anodos"; lunar_file[11][11] = "anodos.html";
lunar_text[11][12] = "Thesmophoria Day 2: Nesteia"; lunar_file[11][12] = "nesteia.html";
lunar_text[11][13] = "Thesmophoria Day 3: Kallingeneia"; lunar_file[11][13] = "kallingeneia.html";
lunar_text[11][14] = "Durga's Day"; lunar_file[11][14] = "durga.html";
lunar_text[11][15] = "Gort Invocation"; lunar_file[11][15] = "gort_inv.html";
lunar_text[11][16] = "Day of the Blackthorn Tree"; lunar_file[11][16] = "blackthorn.html";
lunar_text[11][17] = "Gort Invocation"; lunar_file[11][17] = "gort_inv.html";
lunar_text[11][18] = "Gort Invocation"; lunar_file[11][18] = "gort_inv.html";
lunar_text[11][19] = "Gort Invocation"; lunar_file[11][19] = "gort_inv.html";
lunar_text[11][20] = "Gort Invocation"; lunar_file[11][20] = "gort_inv.html";
lunar_text[11][21] = "Gort Invocation"; lunar_file[11][21] = "gort_inv.html";
lunar_text[11][22] = "Apaturia Day 1: Dorpia"; lunar_file[11][22] = "dorpia.html";
lunar_text[11][23] = "Apaturia Day 2: Anarrhusis"; lunar_file[11][23] = "anarrhusis.html";
lunar_text[11][24] = "Apaturia Day 3: Koureotis"; lunar_file[11][24] = "koureotis.html";
lunar_text[11][25] = "Gort Invocation"; lunar_file[11][25] = "gort_inv.html";
lunar_text[11][26] = "Gort Invocation"; lunar_file[11][26] = "gort_inv.html";
lunar_text[11][27] = "Khalkeia"; lunar_file[11][27] = "khalkeia.html";
lunar_text[11][28] = "Gort Invocation"; lunar_file[11][28] = "gort_inv.html";
lunar_text[11][29] = "Dark Moon Night"; lunar_file[11][29] = "darkmoon.html";
lunar_text[11][30] = "Dark Moon Night"; lunar_file[11][30] = "darkmoon.html";


// Ngetal/Maimakterion

lunar_text[12][1] = "Day of the Reeds"; lunar_file[12][1] = "reed.html";
lunar_text[12][2] = "Reed Month"; lunar_file[12][2] = "ngetal_inv.html";
lunar_text[12][3] = "Reed Month"; lunar_file[12][3] = "ngetal_inv.html";
lunar_text[12][4] = "Night of Wild Winds"; lunar_file[12][4] = "wild_winds.html";
lunar_text[12][5] = "Reed Month"; lunar_file[12][5] = "ngetal_inv.html";
lunar_text[12][6] = "Reed Month"; lunar_file[12][6] = "ngetal_inv.html";
lunar_text[12][7] = "Herculaneum"; lunar_file[12][7] = "herculaneum.html";
lunar_text[12][8] = "Reed Month"; lunar_file[12][8] = "ngetal_inv.html";
lunar_text[12][9] = "Reed Month"; lunar_file[12][9] = "ngetal_inv.html";
lunar_text[12][10] = "Reed Month"; lunar_file[12][10] = "ngetal_inv.html";
lunar_text[12][11] = "Day of the Morrigan"; lunar_file[12][11] = "morrigan.html";
lunar_text[12][12] = "Reed Month"; lunar_file[12][12] = "ngetal_inv.html";
lunar_text[12][13] = "Reed Month"; lunar_file[12][13] = "ngetal_inv.html";
lunar_text[12][14] = "Pompaia - Celebration of Zeus"; lunar_file[12][14] = "pompaia.html";
lunar_text[12][15] = "Day of the Yew  Tree"; lunar_file[12][15] = "yew.html";
lunar_text[12][16] = "Full Moon Night"; lunar_file[12][16] = "fullmoon.html";
lunar_text[12][17] = "Reed Month"; lunar_file[12][17] = "ngetal_inv.html";
lunar_text[12][18] = "Reed Month"; lunar_file[12][18] = "ngetal_inv.html";
lunar_text[12][19] = "Scathach's Day"; lunar_file[12][19] = "scathach.html";
lunar_text[12][20] = "Reed Month"; lunar_file[12][20] = "ngetal_inv.html";
lunar_text[12][21] = "Reed Month"; lunar_file[12][21] = "ngetal_inv.html";
lunar_text[12][22] = "Reed Month"; lunar_file[12][22] = "ngetal_inv.html";
lunar_text[12][23] = "Reed Month"; lunar_file[12][23] = "ngetal_inv.html";
lunar_text[12][24] = "Maimakteria"; lunar_file[12][24] = "maimakteria.html";
lunar_text[12][25] = "Reed Month"; lunar_file[12][25] = "ngetal_inv.html";
lunar_text[12][26] = "Reed Month"; lunar_file[12][26] = "ngetal_inv.html";
lunar_text[12][27] = "Hecate's Day"; lunar_file[12][27] = "hecate.html";
lunar_text[12][28] = "Reed Month"; lunar_file[12][28] = "ngetal_inv.html";
lunar_text[12][29] = "Dark Moon Night"; lunar_file[12][29] = "darkmoon.html";
lunar_text[12][30] = "Dark Moon Night"; lunar_file[12][30] = "darkmoon.html";


// Ruis/Poseideion

lunar_text[13][1] = "Day of the Elder Tree"; lunar_file[13][1] = "elder.html";
lunar_text[13][2] = "Elder Tree Month"; lunar_file[13][2] = "ruis_inv.html";
lunar_text[13][3] = "Pandora's Day"; lunar_file[13][3] = "pandora.html";
lunar_text[13][4] = "Elder Tree Month"; lunar_file[13][4] = "ruis_inv.html";
lunar_text[13][5] = "Plerosia"; lunar_file[13][5] = "plerosia.html";
lunar_text[13][6] = "Elder Tree Month"; lunar_file[13][6] = "ruis_inv.html";
lunar_text[13][7] = "Cerridwen's Day"; lunar_file[13][7] = "cerridwen.html";
lunar_text[13][8] = "Elder Tree Month"; lunar_file[13][8] = "ruis_inv.html";
lunar_text[13][9] = "Day of Arawn"; lunar_file[13][9] = "arawn.html";
lunar_text[13][10] = "Day of the Underworld I"; lunar_file[13][10] = "underworld1.html";
lunar_text[13][11] = "Day of the Underworld II"; lunar_file[13][11] = "underworld2.html";
lunar_text[13][12] = "Day of the Underworld III"; lunar_file[13][12] = "underworld3.html";
lunar_text[13][13] = "Day of the Underworld IV"; lunar_file[13][13] = "underworld4.html";
lunar_text[13][14] = "Day of the Underworld V"; lunar_file[13][14] = "underworld5.html";
lunar_text[13][15] = "Day of the Pine Tree"; lunar_file[13][15] = "pine.html";
lunar_text[13][16] = "Elder Tree Month"; lunar_file[13][16] = "ruis_inv.html";
lunar_text[13][17] = "Elder Tree Month"; lunar_file[13][17] = "ruis_inv.html";
lunar_text[13][18] = "Elder Tree Month"; lunar_file[13][18] = "ruis_inv.html";
lunar_text[13][19] = "Day of Dark Magic I: Sorrow"; lunar_file[13][19] = "darkmagic1.html";
lunar_text[13][20] = "Elder Tree Month"; lunar_file[13][20] = "ruis_inv.html";
lunar_text[13][21] = "Elder Tree Month"; lunar_file[13][21] = "ruis_inv.html";
lunar_text[13][22] = "Elder Tree Month"; lunar_file[13][22] = "ruis_inv.html";
lunar_text[13][23] = "Day of Dark Magic II: Turning of Anger"; lunar_file[13][23] = "darkmagic2.html";
lunar_text[13][24] = "Elder Tree Month"; lunar_file[13][24] = "ruis_inv.html";
lunar_text[13][25] = "Elder Tree Month"; lunar_file[13][25] = "ruis_inv.html";
lunar_text[13][26] = "Elder Tree Month"; lunar_file[13][26] = "ruis_inv.html";
lunar_text[13][27] = "Day of Dark Magic III: Death Transformation"; lunar_file[13][27] = "darkmagic3.html";
lunar_text[13][28] = "Day of Dark Magic IV: Sun Calling"; lunar_file[13][28] = "darkmagic4.html";
lunar_text[13][29] = "Dark Moon Night"; lunar_file[13][29] = "darkmoon.html";
lunar_text[13][30] = "Dark Moon Night"; lunar_file[13][30] = "darkmoon.html";



// REPLACE  	\([0-9]+\) \(.*\) \*
// WITH 	lunar_text[11][\1] = "\2"; lunar_file[11][\1] = "gort_inv.html";
