// Baha'i Prayer of the Day
var bp = new Array();
// January - JavaScript months begin with zero
bp[0] = new Array();
bp[0][1] = ["2 Sharaf/Honor","","All praise, O my God...","praise_sm","praise1"];
bp[0][2] = ["3 Sharaf/Honor","","O Thou Whose face is the object of my adoration...","aid_sm","aid1"];
bp[0][3] = ["4 Sharaf/Honor","","Glory to Thee, O my God!...","women2_sm","women4"];
bp[0][4] = ["5 Sharaf/Honor","","Create in me a pure heart...","spiritual2a_sm","spiritual2"];
bp[0][5] = ["6 Sharaf/Honor","","Suffer me, O my God, to draw nigh unto Thee...","detach5_sm","detach1"];
bp[0][6] = ["7 Sharaf/Honor","","O my God, my Master, the Goal of my desire!...","evening_sm","evening1"];
bp[0][7] = ["8 Sharaf/Honor","","Glory be unto Thee, O Lord my God!...","families1_sm","families1"];
bp[0][8] = ["9 Sharaf/Honor","","Glory be to Thee, O King of eternity...","firmness_sm","firmness1"];
bp[0][9] = ["10 Sharaf/Honor","","Glorified art Thou, O Lord my God!...","forgive_sm","forgiveness1"];
bp[0][10] = ["11 Sharaf/Honor","","O God my God!...","healing_sm","healing1"];
bp[0][11] = ["12 Sharaf/Honor","","My God, Whom I worship and adore!...","mankind_sm","mankind1"];
bp[0][12] = ["13 Sharaf/Honor","","O my God and my Master!...","morning_sm","morning1"];
bp[0][13] = ["14 Sharaf/Honor","","Glory be to Thee, O my God!...","joy_sm","joy6"];
bp[0][14] = ["15 Sharaf/Honor","","O Lord, my God!...","children_sm","child0"];
bp[0][15] = ["16 Sharaf/Honor","","O God, my God!...","house_sm","mothertemple1"];
bp[0][16] = ["17 Sharaf/Honor","","Praised be Thou, O Lord my God!...","praise5_sm","praise5"];
bp[0][17] = ["18 Sharaf/Honor","","O my God! This is Thy servant...","depart1_sm","depart1"];
bp[0][18] = ["19 Sharaf/Honor","","O God! Dispel all those elements...","meetings8_sm","meetings8"];
bp[0][19] = ["1 Sult\341n/Sovereignty","","Glory be to Thee...","women16_sm","women8"];
bp[0][20] = ["2 Sult\341n/Sovereignty","","Praise be to Thee, O Lord my God!...","protection1_sm","protection1"];
bp[0][21] = ["3 Sult\341n/Sovereignty","","I magnify Thy Name, O my God...","steadfast9_sm","steadfast9"];
bp[0][22] = ["4 Sult\341n/Sovereignty","","O Thou kind Lord!...","youth2_sm","youth1"];
bp[0][23] = ["5 Sult\341n/Sovereignty","","O my God! O my God!...","unity2_sm","unity1"];
bp[0][24] = ["6 Sult\341n/Sovereignty","","O God, my God! This is Thy radiant servant...","spiritual9_sm","spiritual14"];
bp[0][25] = ["7 Sult\341n/Sovereignty","","Glory to Thee, O my God!...","tests2a_sm","tests2"];
bp[0][26] = ["8 Sult\341n/Sovereignty","","He is the King, the All-Knowing, the Wise!...","ahmad_sm","ahmad"];
bp[0][27] = ["9 Sult\341n/Sovereignty","","O Thou incomparable God!...","teaching2_sm","teachingplan1"];
bp[0][28] = ["10 Sult\341n/Sovereignty","","Magnified be Thy name, O God...","sacrifice2_sm","sacrifice1"];
bp[0][29] = ["11 Sult\341n/Sovereignty","","I bear witness, O my God,...","obligatory_sm","obligshort"];
bp[0][30] = ["12 Sult\341n/Sovereignty","","Magnified be Thy name, O my God...","teaching1_sm","teaching1"];
bp[0][31] = ["13 Sult\341n/Sovereignty","","Praise be to Thee, O Lord my God!...","trials1_sm","trials1"];

// February
bp[1] = new Array();
bp[1][1] = ["14 Sult\341n/Sovereignty","","He is the Gracious, the All-Bountiful!...","spiritual3_sm","spiritual3"];
bp[1][2] = ["15 Sult\341n/Sovereignty","","Glorified art Thou, O my God!...","detach4_sm","detach2"];
bp[1][3] = ["16 Sult\341n/Sovereignty","","I am he, O my Lord, that hath set his face towards Thee...","forgive2_sm","forgiveness2"];
bp[1][4] = ["17 Sult\341n/Sovereignty","","Lauded be Thy name, O my God!...","prison_sm","prison1"];
bp[1][5] = ["18 Sult\341n/Sovereignty","","O God! Rear this little babe...","children14_sm","child3"];
bp[1][6] = ["19 Sult\341n/Sovereignty","","Glorified art Thou, O Lord my God!...","meetings_sm","meetings1"];
bp[1][7] = ["1 Mulk/Dominion","","Glory be unto Thee, O Lord of the world...","teaching3a_sm","teaching3"];
bp[1][8] = ["2 Mulk/Dominion","","In the Name of God, the Most High!...","praise2_sm","praise2"];
bp[1][9] = ["3 Mulk/Dominion","","Thy name is my healing, O my God...","healing2_sm","healing2"];
bp[1][10] = ["4 Mulk/Dominion","","Praise be to Thee, O Lord my God!...","teaching2a_sm","teaching2"];
bp[1][11] = ["5 Mulk/Dominion","","Verily I am Thy servant, O my God...","joy7_sm","joy7"];
bp[1][12] = ["6 Mulk/Dominion","","He is God!...","martyrs1_sm","martyrs"];
bp[1][13] = ["7 Mulk/Dominion","","O Lord my God! Assist Thy loved ones...","steadfast7_sm","steadfast7"];
bp[1][14] = ["8 Mulk/Dominion","","O God, my God, my Beloved...","joy9_sm","joy9"];
bp[1][15] = ["9 Mulk/Dominion","","He is the Healer, the Sufficer, the Helper...","healing6_sm","healing6"];
bp[1][16] = ["10 Mulk/Dominion","","Praised be Thou, O Lord my God!...","protection2_sm","protection2"];
bp[1][17] = ["11 Mulk/Dominion","","O Lord! Make these children excellent plants...","children4_sm","child6"];
bp[1][18] = ["12 Mulk/Dominion","","O  God! Refresh and gladden my spirit...","spiritual10a_sm","spiritual10"];
bp[1][19] = ["13 Mulk/Dominion","","O Thou the Lord of the visible and the invisible...","joy1_sm","joy1"];
bp[1][20] = ["14 Mulk/Dominion","","O Thou compassionate Lord...","mankind2_sm","mankind2"];
bp[1][21] = ["15 Mulk/Dominion","","O Thou Kind Lord!...","depart9_sm","depart9"];
bp[1][22] = ["16 Mulk/Dominion","","Glorified be Thy name, O Lord my God!...","steadfast1_sm","steadfast1"];
bp[1][23] = ["17 Mulk/Dominion","","O Thou Whose face is the object of the adoration...","women_sm","women5"];
bp[1][24] = ["18 Mulk/Dominion","","Magnified be Thy name, O Lord my God!...","trials2a_sm","trials2"];
bp[1][25] = ["19 Mulk/Dominion","","Glorified be Thy name, O Lord my God!...","prison2_sm","prison2"];
bp[1][26] = ["1 Ayy\341m-i-H\341","Intercalary Days","My God, my Fire and my Light!...","intercalary_sm","intercalary"];
bp[1][27] = ["2 Ayy\341m-i-H\341","Intercalary Days","O Thou kind Lord! These lovely children...","children3_sm","child5"];
bp[1][28] = ["3 Ayy\341m-i-H\341","Intercalary Days","Magnified art Thou, O Lord my God!...","women22_sm","women7"];
bp[1][29] = ["4 Ayy\341m-i-H\341","Intercalary Days","Lauded be Thy Name, O Lord my God!...","spiritual5a_sm","spiritual5"];

// March
bp[2] = new Array();
bp[2][1] = ["4 Ayyam-i-H\341","Intercalary Days","My God, my Adored One, my King, my Desire!...","aid2_sm","aid2"];
bp[2][2] = ["1 'Al\341/Loftiness","","This is, O my God, the first...","fast_sm","fast5"];
bp[2][3] = ["2 'Al\341/Loftiness","","In the name of Him Who hath been promised...","fast6_sm","fast6"];
bp[2][4] = ["3 'Al\341/Loftiness","","I beseech Thee, O my God, by Thy mighty Sign...","fast1_sm","fast1"];
bp[2][5] = ["4 'Al\341/Loftiness","","Praise be to Thee, O Lord my God!...","fast2_sm","fast2"];
bp[2][6] = ["5 'Al\341/Loftiness","","Praise and glory be to Thee, O Lord my God!...","youth6_sm","youth4"];
bp[2][7] = ["6 'Al\341/Loftiness","","Glory be to Thee, O Lord my God!...","fast4_sm","fast4"];
bp[2][8] = ["7 'Al\341/Loftiness","","Praised be Thou, O God, my God!...","fast9_sm","fast9"];
bp[2][9] = ["8 'Al\341/Loftiness","","O my God and my Master!...","fast8_sm","fast8"];
bp[2][10] = ["9 'Al\341/Loftiness","","Exalted art Thou, O Lord my God!...","fast10_sm","fast10"];
bp[2][11] = ["10 'Al\341/Loftiness","","Is there any Remover of difficulties save God?...","assist3_sm","assist3"];
bp[2][12] = ["11 'Al\341/Loftiness","","In the name of Him Who hath been promised...","fast6_sm","fast6"];
bp[2][13] = ["12 'Al\341/Loftiness","","I beseech Thee, O my God, by Thy mighty Sign...","fast1_sm","fast1"];
bp[2][14] = ["13 'Al\341/Loftiness","","Praise be to Thee, O Lord my God!...","fast2_sm","fast2"];
bp[2][15] = ["14 'Al\341/Loftiness","","These are, O my God, the days...","fast3_sm","fast3"];
bp[2][16] = ["15 'Al\341/Loftiness","","Glory be to Thee, O Lord my God!...","fast4_sm","fast4"];
bp[2][17] = ["16 'Al\341/Loftiness","","Praised be Thou, O God, my God!...","fast9_sm","fast9"];
bp[2][18] = ["17 'Al\341/Loftiness","","O my God and my Master!...","fast8_sm","fast8"];
bp[2][19] = ["18 'Al\341/Loftiness","","Exalted art Thou, O Lord my God!...","fast10_sm","fast10"];
bp[2][20] = ["19 'Al\341/Loftiness","","Praise be unto Thee, O Lord my God!...","fast7_sm","fast7"];
bp[2][21] = ["1 Bah\341/Splendor","Naw R\372z","Praised be Thou, O my God...","nawruz_sm","nawruz"];
bp[2][22] = ["2 Bah\341/Splendor","","Glory be to Thee, O Lord my God!...","triumph9_sm","triumph9"];
bp[2][23] = ["3 Bah\341/Splendor","","O God, my God!  These are Thy feeble servants...","spiritual15_sm","spiritual15"];
bp[2][24] = ["4 Bah\341/Splendor","","Lauded be Thy name, O my God!...","detach_sm","detach3"];
bp[2][25] = ["5 Bah\341/Splendor","","Glory to Thee, O my God!...","springtime_sm","spring2"];
bp[2][26] = ["6 Bah\341/Splendor","","Strengthen my hand, O my God...","obligatory2_sm","obligmedium"];
bp[2][27] = ["7 Bah\341/Splendor","","Thou seest me, O my Lord...","forgive3_sm","forgiveness3"];
bp[2][28] = ["8 Bah\341/Splendor","","I have wakened in Thy shelter, O my God...","morning2_sm","morning2"];
bp[2][29] = ["9 Bah\341/Splendor","","Lauded be Thy name, O Lord my God!...","protection3_sm","protection3"];
bp[2][30] = ["10 Bah\341/Splendor","","Glorified art Thou, O Lord my God!...","tests3a_sm","tests3"];
bp[2][31] = ["11 Bah\341/Splendor","","In the Name of God, the Most Ancient, the Most Great...","fire_sm","fire"];

// April
bp[3] = new Array();
bp[3][1] = ["12 Bah\341/Splendor","","O my God, the God of bounty and mercy!...","spiritual6a_sm","spiritual6"];
bp[3][2] = ["13 Bah\341/Splendor","","I know not, O my God, what the Fire is which Thou didst kindle...","detach6_sm","detach5"];
bp[3][3] = ["14 Bah\341/Splendor","","How can I choose to sleep, O God, my God...","evening2_sm","evening2"];
bp[3][4] = ["15 Bah\341/Splendor","","He is the Mighty, the Pardoner, the Compassionate!...","firmness2_sm","firmness2"];
bp[3][5] = ["16 Bah\341/Splendor","","Glorified art Thou, O Lord my God!...","women18_sm","women3"];
bp[3][6] = ["17 Bah\341/Splendor","","Glorified be Thou, O my God!...","sacrifice2a_sm","sacrifice2"];
bp[3][7] = ["18 Bah\341/Splendor","","He is God! O God, my God!...","children5_sm","child11"];
bp[3][8] = ["19 Bah\341/Splendor","","O Thou merciful God!...","meetings2_sm","meetings2"];
bp[3][9] = ["1 Jal\341l/Glory","","He is God!...","triumph7a_sm","triumph7"];
bp[3][10] = ["2 Jal\341l/Glory","","Magnified, O Lord my God, be Thy Name...","springtime2_sm","spring1"];
bp[3][11] = ["3 Jal\341l/Glory","","O God our Lord! Protect us through Thy grace...","forgive6_sm","forgiveness6"];
bp[3][12] = ["4 Jal\341l/Glory","","Glory be to Thee, O Lord my God!...","healing3_sm","healing3"];
bp[3][13] = ["5 Jal\341l/Glory","","O Lord, my God and my Haven in my distress!...","assist7_sm","assist7"];
bp[3][14] = ["6 Jal\341l/Glory","","He is God!...","spiritual16_sm","spiritual16"];
bp[3][15] = ["7 Jal\341l/Glory","","Glory be to Thee, O Lord my God!...","depart2a_sm","depart2"];
bp[3][16] = ["8 Jal\341l/Glory","","O Peerless Lord! Be Thou a shelter...","children8_sm","child9"];
bp[3][17] = ["9 Jal\341l/Glory","","All praise be unto God Who was Ever-Existent...","joy5_sm","joy5"];
bp[3][18] = ["10 Jal\341l/Glory","","Say: God sufficeth all things above all things...","detach10_sm","assist4"];
bp[3][19] = ["11 Jal\341l/Glory","","O God and the God of all Names...","service_sm","service1"];
bp[3][20] = ["12 Jal\341l/Glory","","O Thou kind Lord!...","youth3_sm","youth2"];
bp[3][21] = ["13 Jal\341l/Glory","First day of Ridv\341n","Unto Thee be praise, O Lord my God!...","paradise1_sm","paradise1"];
bp[3][22] = ["14 Jal\341l/Glory","","In the Name of God, the Lord of overpowering majesty...","protection7_sm","protection7"];
bp[3][23] = ["15 Jal\341l/Glory","","Praised be Thou, O Lord my God!...","manifestation8_sm","manifestation6"];
bp[3][24] = ["16 Jal\341l/Glory","","Light and glory, greeting and praise...","hands_sm","hands1"];
bp[3][25] = ["17 Jal\341l/Glory","","O God, Who art the Author...","teaching4a_sm","teaching4"];
bp[3][26] = ["18 Jal\341l/Glory","","I give praise to Thee, O my God...","service2_sm","service2"];
bp[3][27] = ["19 Jal\341l/Glory","","O Thou kind Lord!  These are Thy servants...","meetings3_sm","meetings3"];
bp[3][28] = ["1 Jam\341l/Beauty","","O my Lord!  Make Thy beauty to be my food...","spiritual4a_sm","spiritual4"];
bp[3][29] = ["2 Jam\341l/Beauty","Ninth day of Ridv\341n","Glorified art Thou, O Lord my God!...","paradise3_sm","paradise3"];
bp[3][30] = ["3 Jam\341l/Beauty","","Lauded be Thy Name, O Lord our God!...","aid6_sm","aid3"];

// May
bp[4] = new Array();
bp[4][1] = ["4 Jam\341l/Beauty","","He is the prayer-hearing, prayer-answering God!...","spiritual7a_sm","spiritual7"];
bp[4][2] = ["5 Jam\341l/Beauty","Twelfth day of Ridv\341n","Glory be unto Thee, O Lord my God!...","paradise_sm","paradise4"];
bp[4][3] = ["6 Jam\341l/Beauty","","In His Name, the Exalted, the All-Highest...","protection11_sm","protection11"];
bp[4][4] = ["7 Jam\341l/Beauty","","O Thou Lord of the Kingdom!...","assembly2_sm","assembly2"];
bp[4][5] = ["8 Jam\341l/Beauty","","O God, my God! Praise be unto Thee...","triumph6a_sm","triumph6"];
bp[4][6] = ["9 Jam\341l/Beauty","","O God, my God! Thou seest me enraptured...","spiritual7_sm","teachingplan2"];
bp[4][7] = ["10 Jam\341l/Beauty","","Lauded be Thy name, O Thou Who beholdest...","prison3_sm","prison3"];
bp[4][8] = ["11 Jam\341l/Beauty","","O Thou kind Lord! We are servants...","aid3_sm","aid6"];
bp[4][9] = ["12 Jam\341l/Beauty","","O Lord! Thou art the Remover of every anguish...","assist6_sm","assist6"];
bp[4][10] = ["13 Jam\341l/Beauty","","O God, guide me, protect me...","children6_sm","child7"];
bp[4][11] = ["14 Jam\341l/Beauty","","O God! O God! From the unseen kingdom...","assembly3_sm","assembly3"];
bp[4][12] = ["15 Jam\341l/Beauty","","Magnified be Thy Name, O Lord my God!...","praise3_sm","praise3"];
bp[4][13] = ["16 Jam\341l/Beauty","","O God, my God! Fill up for me...","detach11_sm","detach10"];
bp[4][14] = ["17 Jam\341l/Beauty","","Praise be to Thee, O Lord my God!...","protection1_sm","protection1"];
bp[4][15] = ["18 Jam\341l/Beauty","","O my Lord! O my Lord!...","marriage4_sm","marriage4"];
bp[4][16] = ["19 Jam\341l/Beauty","","O my God! O my God!...","meetings4_sm","meetings4"];
bp[4][17] = ["1 'Azamat/Grandeur","","Make firm our steps, O Lord...","firmness3_sm","firmness3"];
bp[4][18] = ["2 'Azamat/Grandeur","","O Thou Provider! Thou hast breathed...","spiritual17_sm","spiritual17"];
bp[4][19] = ["3 'Azamat/Grandeur","","Praise be unto Thee, O my God!...","detach7_sm","detach6"];
bp[4][20] = ["4 'Azamat/Grandeur","","I have risen this morning by Thy grace...","morning3_sm","morning3"];
bp[4][21] = ["5 'Azamat/Grandeur","","O Thou, at Whose dreadful majesty...","women21_sm","women6"];
bp[4][22] = ["6 'Azamat/Grandeur","","O Thou kind Lord!...","youth4_sm","youth3"];
bp[4][23] = ["7 'Azamat/Grandeur","Declaration of the B\341b","The praise which hath dawned...","visitation_sm","visitation"];
bp[4][24] = ["8 'Azamat/Grandeur","","Lauded be Thy name, O my God!...","trials3a_sm","trials3"];
bp[4][25] = ["9 'Azamat/Grandeur","","Thou beholdest, O my God...","prison4_sm","prison4"];
bp[4][26] = ["10 'Azamat/Grandeur","","O Thou forgiving Lord!...","depart6a_sm","depart6"];
bp[4][27] = ["11 'Azamat/Grandeur","","O God, my God! Thou art my Hope...","detach12_sm","detach9"];
bp[4][28] = ["12 'Azamat/Grandeur","","O God! O God! This is a broken-winged bird...","westernstates_sm","teachingplan8"];
bp[4][29] = ["13 'Azamat/Grandeur","Ascension of Bah\341'u'll\341h","The praise which hath dawned...","visitation_sm","visitation"];
bp[4][30] = ["14 'Azamat/Grandeur","","Dispel my grief by Thy bounty...","assist1_sm","assist1"];
bp[4][31] = ["15 'Azamat/Grandeur","","O Lord! In this Most Great Dispensation...","families3_sm","families3"];

// June
bp[5] = new Array();
bp[5][1] = ["16 'Azamat/Grandeur","","Glorified art Thou, O Lord my God!...","peace4_sm","spiritual8"];
bp[5][2] = ["17 'Azamat/Grandeur","","I beg Thee to forgive me, O my Lord...","forgive8_sm","forgiveness8"];
bp[5][3] = ["18 'Azamat/Grandeur","","Thy unity is inscrutable...","manifestation_sm","manifestation1"];
bp[5][4] = ["19 'Azamat/Grandeur","","O Thou forgiving God!...","meetings5_sm","meetings5"];
bp[5][5] = ["1 N\372r/Light","","O my God! O my God!...","children9_sm","child12"];
bp[5][6] = ["2 N\372r/Light","","O my God! There is no one...","joy8_sm","joy8"];
bp[5][7] = ["3 N\372r/Light","","O Thou Whose nearness is my wish...","steadfast2a_sm","steadfast2"];
bp[5][8] = ["4 N\372r/Light","","Glory be to Thee, O God!...","protection6_sm","protection6"];
bp[5][9] = ["5 N\372r/Light","","Say: Magnified be Thy Name...","teaching8_sm","teaching8"];
bp[5][10] = ["6 N\372r/Light","","Thou seest, O my God...","women17_sm","women10"];
bp[5][11] = ["7 N\372r/Light","","O my Lord! I have drawn nigh...","evening3_sm","evening4"];
bp[5][12] = ["8 N\372r/Light","","O my Lord! O my Lord!...","children7_sm","child8"];
bp[5][13] = ["9 N\372r/Light","","O my God, my Lord and my Master!...","aid7_sm","aid4"];
bp[5][14] = ["10 N\372r/Light","","Thou knowest, O God...","teaching9_sm","teaching9"];
bp[5][15] = ["11 N\372r/Light","","O Thou Whose tests are a healing medicine...","tests1_sm","tests1"];
bp[5][16] = ["12 N\372r/Light","","Faded now is all...","paradise2_sm","paradise2"];
bp[5][17] = ["13 N\372r/Light","","From the sweet-scented streams...","spiritual4_sm","spiritual1"];
bp[5][18] = ["14 N\372r/Light","","Thou seest, O my God...","triumph8a_sm","triumph8"];
bp[5][19] = ["15 N\372r/Light","","Unto Thee be praise...","trials5_sm","trials5"];
bp[5][20] = ["16 N\372r/Light","","O God my God!...","healing_sm","healing1"];
bp[5][21] = ["17 N\372r/Light","","In the Name of God, the Most High!...","praise2_sm","praise2"];
bp[5][22] = ["18 N\372r/Light","","Magnified be Thy name...","sacrifice2_sm","sacrifice1"];
bp[5][23] = ["19 N\372r/Light","","O Divine Providence!...","meetings6_sm","meetings6"];
bp[5][24] = ["1 Rahmat/Mercy","","Lauded be Thy name...","forgive5_sm","forgiveness5"];
bp[5][25] = ["2 Rahmat/Mercy","","In the Name of Thy Lord...","detach8_sm","detach7"];
bp[5][26] = ["3 Rahmat/Mercy","","Lauded be Thy name...","manifestation4_sm","manifestation2"];
bp[5][27] = ["4 Rahmat/Mercy","","All praise be to Thee...","trials4a_sm","trials4"];
bp[5][28] = ["5 Rahmat/Mercy","","Lauded be Thy name...","prison5_sm","prison5"];
bp[5][29] = ["6 Rahmat/Mercy","","He is God, exalted is He...","depart3a_sm","depart3"];
bp[5][30] = ["7 Rahmat/Mercy","","O Thou most glorious Lord!...","children11_sm","child14"];

// July
bp[6] = new Array();
bp[6][1] = ["8 Rahmat/Mercy","","Praise be to Thee, O my God!...","canada_sm","teachingplan9"];
bp[6][2] = ["9 Rahmat/Mercy","","Glory be unto Thee, O my God!...","marriage3_sm","marriage3"];
bp[6][3] = ["10 Rahmat/Mercy","","Glorified art Thou, O Lord my God!...","peace4_sm","spiritual8"];
bp[6][4] = ["11 Rahmat/Mercy","","O Thou kind Lord!...","america_sm","america"];
bp[6][5] = ["12 Rahmat/Mercy","","I give praise to Thee, O my God...","morning4_sm","morning4"];
bp[6][6] = ["13 Rahmat/Mercy","","O Lord!  Make this youth radiant...","youth5_sm","child10"];
bp[6][7] = ["14 Rahmat/Mercy","","Glorified art Thou, O Lord my God!...","praise4_sm","praise4"];
bp[6][8] = ["15 Rahmat/Mercy","","O Lord! Enable all the peoples...","triumph5a_sm","triumph5"];
bp[6][9] = ["16 Rahmat/Mercy","Martyrdom of the B\341b","The praise which hath dawned...","visitation_sm","visitation"];
bp[6][10] = ["17 Rahmat/Mercy","","O Lord, I have turned my face...","evening4_sm","evening3"];
bp[6][11] = ["18 Rahmat/Mercy","","Praised be Thou, O Lord my God!...","healing4_sm","healing4"];
bp[6][12] = ["19 Rahmat/Mercy","","O Thou loving Provider!...","meetings7_sm","meetings7"];
bp[6][13] = ["1 Kalim\341t/Words","","O my God, aid Thou Thy servant...","teaching5_sm","teaching5"];
bp[6][14] = ["2 Kalim\341t/Words","","O Thou Who art the Lord...","obligatory3_sm","obliglong"];
bp[6][15] = ["3 Kalim\341t/Words","","Make firm our steps...","firmness3_sm","firmness3"];
bp[6][16] = ["4 Kalim\341t/Words","","O God! The trials Thou sendest...","women23_sm","women1"];
bp[6][17] = ["5 Kalim\341t/Words","","Lauded and glorified art Thou...","joy4_sm","joy4"];
bp[6][18] = ["6 Kalim\341t/Words","","O God! O God! Thou seest...","spiritual5_sm","teachingplan3"];
bp[6][19] = ["7 Kalim\341t/Words","","Create in me a pure heart...","spiritual2a_sm","spiritual2"];
bp[6][20] = ["8 Kalim\341t/Words","","He is the King, the All-Knowing...","ahmad_sm","ahmad"];
bp[6][21] = ["9 Kalim\341t/Words","","Magnified be Thy name...","manifestation5_sm","manifestation3"];
bp[6][22] = ["10 Kalim\341t/Words","","O my Lord, my Defender...","peace2a_sm","peace2"];
bp[6][23] = ["11 Kalim\341t/Words","","O God, my God!...","steadfast3_sm","steadfast3"];
bp[6][24] = ["12 Kalim\341t/Words","","Lauded and glorified art Thou...","assist2a_sm","assist2"];
bp[6][25] = ["13 Kalim\341t/Words","","O God, my God!...","protection8_sm","protection8"];
bp[6][26] = ["14 Kalim\341t/Words","","O Thou kind Lord!...","youth2_sm","youth1"];
bp[6][27] = ["15 Kalim\341t/Words","","Glory be to Thee...","firmness_sm","firmness1"];
bp[6][28] = ["16 Kalim\341t/Words","","O Lord! I am a child...","children10_sm","child13"];
bp[6][29] = ["17 Kalim\341t/Words","","O Lord! Unto Thee I repair...","detach9_sm","detach8"];
bp[6][30] = ["18 Kalim\341t/Words","","Praise be to Thee, O Lord my God!...","sacrifice3_sm","sacrifice3"];
bp[6][31] = ["19 Kalim\341t/Words","","O God! Dispel all those elements...","meetings8_sm","meetings8"];

// August
bp[7] = new Array();
bp[7][1] = ["1 Kamal/Perfection","","He is the Compassionate...","assist8_sm","assist8"];
bp[7][2] = ["2 Kamal/Perfection","","Vouchsafe unto me, O my God...","spiritual9a_sm","spiritual9"];
bp[7][3] = ["3 Kamal/Perfection","","Glorified art Thou, O Lord my God!...","steadfast4_sm","steadfast4"];
bp[7][4] = ["4 Kamal/Perfection","","O my God! O my God!...","unity1_sm","unity2"];
bp[7][5] = ["5 Kamal/Perfection","","O Lord! Render victorious...","triumph4a_sm","triumph4"];
bp[7][6] = ["6 Kamal/Perfection","","Praised be Thou, O Lord my God!...","prison6_sm","prison6"];
bp[7][7] = ["7 Kamal/Perfection","","O my God and my Master!...","morning_sm","morning1"];
bp[7][8] = ["8 Kamal/Perfection","","O my Lord! Thou knowest...","protection9_sm","protection9"];
bp[7][9] = ["9 Kamal/Perfection","","Glory to Thee, O my God!...","women2_sm","women4"];
bp[7][10] = ["10 Kamal/Perfection","","O my Lord and my Hope!...","firmness5_sm","firmness5"];
bp[7][11] = ["11 Kamal/Perfection","","O Thou Whose face is the object of my adoration...","aid_sm","aid1"];
bp[7][12] = ["12 Kamal/Perfection","","O God, my God!...","protection4_sm","protection4"];
bp[7][13] = ["13 Kamal/Perfection","","O Thou kind Lord!...","mankind4a_sm","mankind4"];
bp[7][14] = ["14 Kamal/Perfection","","Praised be Thou, O Lord my God!...","manifestation6_sm","manifestation4"];
bp[7][15] = ["15 Kamal/Perfection","","O Lord, O Thou Whose mercy...","depart8_sm","depart8"];
bp[7][16] = ["16 Kamal/Perfection","","He is the Gracious, the Well-Beloved!...","mariner_sm","mariner"];
bp[7][17] = ["17 Kamal/Perfection","","Thou art He, O my God...","healing7_sm","healing7"];
bp[7][18] = ["18 Kamal/Perfection","","O God, my God!...","peace3_sm","teachingplan4"];
bp[7][19] = ["19 Kamal/Perfection","","Glorified art Thou, O Lord my God!","meetings_sm","meetings1"];
bp[7][20] = ["1 Asm\341/Names","","Lauded be Thy name, O my God!...","trials3a_sm","trials3"];
bp[7][21] = ["2 Asm\341/Names","","O God, my God!...","teaching6_sm","teaching6"];
bp[7][22] = ["3 Asm\341/Names","","Unto Thee be praise...","trials5_sm","trials5"];
bp[7][23] = ["4 Asm\341/Names","","All-praise be to Thee, O Lord, my God!...","joy2_sm","joy2"];
bp[7][24] = ["5 Asm\341/Names","","Magnified art Thou, O Lord my God!...","women22_sm","women7"];
bp[7][25] = ["6 Asm\341/Names","","Praised be Thou, O Lord my God!...","protection2_sm","protection2"];
bp[7][26] = ["7 Asm\341/Names","","O Thou peerless Lord!...","children13_sm","child2"];
bp[7][27] = ["8 Asm\341/Names","","Thou beholdest, O my God...","prison7_sm","prison7"];
bp[7][28] = ["9 Asm\341/Names","","Praised be Thou, O Lord my God!...","praise5_sm","praise5"];
bp[7][29] = ["10 Asm\341/Names","","Praise be to Thee, O Lord...","steadfast5_sm","steadfast5"];
bp[7][30] = ["11 Asm\341/Names","","He is the Bestower, the Bounteous!...","marriage_sm","marriage1"];
bp[7][31] = ["12 Asm\341/Names","","Verily I am Thy servant...","joy7_sm","joy7"];

// September
bp[8] = new Array();
bp[8][1] = ["13 Asm\341/Names","","O God! Refresh and gladden my spirit...","spiritual10a_sm","spiritual10"];
bp[8][2] = ["14 Asm\341/Names","","Thy name is my healing, O my God","healing2_sm","healing2"];
bp[8][3] = ["15 Asm\341/Names","","O my God! O my God!...","unity2_sm","unity1"];
bp[8][4] = ["16 Asm\341/Names","","Lauded be Thy name, O my God!...","manifestation2_sm","manifestation5"];
bp[8][5] = ["17 Asm\341/Names","","Is there any Remover of difficulties save God?...","assist3_sm","assist3"];
bp[8][6] = ["18 Asm\341/Names","","O Thou kind Lord!...","mankind3_sm","mankind3"];
bp[8][7] = ["19 Asm\341/Names","","Glorified art Thou, O my compassionate Lord!...","huquq2_sm","huquq2"];
bp[8][8] = ["1 'Izzat/Might","","I adjure Thee by Thy might...","assist5_sm","assist5"];
bp[8][9] = ["2 'Izzat/Might","","O Thou the Lord of the visible...","joy1_sm","joy1"];
bp[8][10] = ["3 'Izzat/Might","","My Lord! My Lord!...","women28_sm","families5"];
bp[8][11] = ["4 'Izzat/Might","","Bless Thou, O King of Kings...","newyork_sm","newyork"];
bp[8][12] = ["5 'Izzat/Might","","How can I praise Thee, O Lord...","prison12_sm","prison12"];
bp[8][13] = ["6 'Izzat/Might","","Create in me a pure heart...","spiritual2a_sm","spiritual2"];
bp[8][14] = ["7 'Izzat/Might","","Lauded be Thy Name, O Lord my God!...","spiritual5a_sm","spiritual5"];
bp[8][15] = ["8 'Izzat/Might","","He is God!...","marriage2_sm","marriage2"];
bp[8][16] = ["9 'Izzat/Might","","Thou knowest, O God...","teaching9_sm","teaching9"];
bp[8][17] = ["10 'Izzat/Might","","O Lord! Provide for the speedy growth...","triumph3a_sm","triumph3"];
bp[8][18] = ["11 'Izzat/Might","","O God! Educate these children...","children2_sm","child4"];
bp[8][19] = ["12 'Izzat/Might","","O Thou kind Lord!...","northeasternstates_sm","teachingplan5"];
bp[8][20] = ["13 'Izzat/Might","","O Lord! Make these children excellent plants...","children4_sm","child6"];
bp[8][21] = ["14 'Izzat/Might","","Unto Thee be praise, O Lord my God!...","paradise1_sm","paradise1"];
bp[8][22] = ["15 'Izzat/Might","","O my God, my Master, the Goal of my desire!...","evening_sm","evening1"];
bp[8][23] = ["16 'Izzat/Might","","O Thou kind and loving Providence!...","protection10_sm","protection10"];
bp[8][24] = ["17 'Izzat/Might","","In the Name of God, the Most Ancient...","fire_sm","fire"];
bp[8][25] = ["18 'Izzat/Might","","O my God! O my God!...","depart5c_sm","depart5"];
bp[8][26] = ["19 'Izzat/Might","","O Thou kind Lord!...","meetings3_sm","meetings3"];
bp[8][27] = ["1 Mashiyyat/Will","","Praised and glorified art Thou, O God!...","steadfast6_sm","steadfast6"];
bp[8][28] = ["2 Mashiyyat/Will","","Thou knowest full well, O my God...","tests4a_sm","tests4"];
bp[8][29] = ["3 Mashiyyat/Will","","How numerous the souls raised to life...","sacrifice4_sm","sacrifice4"];
bp[8][30] = ["4 Mashiyyat/Will","","Glorified art Thou, O Lord my God!...","forgive4_sm","forgiveness4"];

// October
bp[9] = new Array();
bp[9][1] = ["5 Mashiyyat/Will","","Lord! Pitiful are we, grant us Thy favor...","aid5_sm","aid5"];
bp[9][2] = ["6 Mashiyyat/Will","","From the sweet-scented streams...","spiritual4_sm","spiritual1"];
bp[9][3] = ["7 Mashiyyat/Will","","I beg Thy forgiveness, O my God...","families2_sm","families2"];
bp[9][4] = ["8 Mashiyyat/Will","","O compassionate God!...","firmness4_sm","firmness4"];
bp[9][5] = ["9 Mashiyyat/Will","","Praised be Thou, O Lord my God!...","women15_sm","women9"];
bp[9][6] = ["10 Mashiyyat/Will","","Glorified art Thou, O Lord my God!...","prison8_sm","prison8"];
bp[9][7] = ["11 Mashiyyat/Will","","O God, guide me, protect me...","children6_sm","child7"];
bp[9][8] = ["12 Mashiyyat/Will","","Lauded be Thy name, O Lord my God!...","manifestation3_sm","manifestation7"];
bp[9][9] = ["13 Mashiyyat/Will","","Glorified art Thou, O Lord my God!...","trials6_sm","trials6"];
bp[9][10] = ["14 Mashiyyat/Will","","I have wakened in Thy shelter...","morning2_sm","morning2"];
bp[9][11] = ["15 Mashiyyat/Will","","Glorified art Thou, O Lord my God!...","tests3a_sm","tests3"];
bp[9][12] = ["16 Mashiyyat/Will","","Lauded be Thy name, O Lord my God!...","protection3_sm","protection3"];
bp[9][13] = ["17 Mashiyyat/Will","","O holy Lord!...","forgive11_sm","forgiveness11"];
bp[9][14] = ["18 Mashiyyat/Will","","Glory be unto Thee, O Lord...","triumph2a_sm","triumph2"];
bp[9][15] = ["19 Mashiyyat/Will","","O my God! O my God!...","meetings4_sm","meetings4"];
bp[9][16] = ["1 'Ilm/Knowledge","","Thou seest me, O my God...","teaching7_sm","teaching7"];
bp[9][17] = ["2 'Ilm/Knowledge","","O Lord, I have turned my face...","evening4_sm","evening3"];
bp[9][18] = ["3 'Ilm/Knowledge","","O Thou Provider!...","spiritual17_sm","spiritual17"];
bp[9][19] = ["4 'Ilm/Knowledge","","O God, O Thou Who hast cast Thy splendor...","mankind4_sm","mankind5"];
bp[9][20] = ["5 'Ilm/Knowledge","Birth of the B\341b","The praise which hath dawned...","visitation_sm","visitation"];
bp[9][21] = ["6 'Ilm/Knowledge","","O Lord my God! Assist Thy loved ones...","steadfast7_sm","steadfast7"];
bp[9][22] = ["7 'Ilm/Knowledge","","O Thou kind Lord!...","youth3_sm","youth3"];
bp[9][23] = ["8 'Ilm/Knowledge","","O my Lord! Make Thy beauty to be my food...","spiritual4a_sm","spiritual4"];
bp[9][24] = ["9 'Ilm/Knowledge","","O my Lord, my Beloved, my Desire!...","women26_sm","assist9"];
bp[9][25] = ["10 'Ilm/Knowledge","","Glory be unto Thee, O God...","forgive9_sm","forgiveness9"];
bp[9][26] = ["11 'Ilm/Knowledge","","Glorified art Thou, O Lord my God!...","paradise3_sm","paradise3"];
bp[9][27] = ["12 'Ilm/Knowledge","","He is God!...","spiritual16_sm","spiritual16"];
bp[9][28] = ["13 'Ilm/Knowledge","","O my God! O my God!...","southernstates_sm","teachingplan6"];
bp[9][29] = ["14 'Ilm/Knowledge","","O God! Rear this little babe...","children14_sm","child3"];
bp[9][30] = ["15 'Ilm/Knowledge","","O God, Who art the Author...","teaching4a_sm","teaching4"];
bp[9][31] = ["16 'Ilm/Knowledge","","O my God! O Thou forgiver of sins...","depart4a_sm","depart4"];

// November
bp[10] = new Array();
bp[10][1] = ["17 'Ilm/Knowledge","","I have risen this morning by Thy grace...","morning3_sm","morning3"];
bp[10][2] = ["18 'Ilm/Knowledge","","O my Lord!  O my Lord!...","spiritual12_sm","spiritual12"];
bp[10][3] = ["19 'Ilm/Knowledge","","Magnified art Thou, O Lord...","huquq_sm","huquq1"];
bp[10][4] = ["1 Qudrat/Power","","He is the Mighty, the Pardoner...","firmness2_sm","firmness2"];
bp[10][5] = ["2 Qudrat/Power","","O my God, O my Lord, O my Master!...","joy3_sm","joy3"];
bp[10][6] = ["3 Qudrat/Power","","O God, my God!...","protection4_sm","protection4"];
bp[10][7] = ["4 Qudrat/Power","","I give praise to Thee, O my God...","morning4_sm","morning4"];
bp[10][8] = ["5 Qudrat/Power","","O Lord, my God!...","centralstates_sm","teachingplan7"];
bp[10][9] = ["6 Qudrat/Power","","Praised be Thou, O my God!...","prison9_sm","prison9"];
bp[10][10] = ["7 Qudrat/Power","","Glory be to Thee, O Lord my God!...","healing5_sm","healing5"];
bp[10][11] = ["8 Qudrat/Power","","O God, my God!...","canada2_sm","teachingplan10"];
bp[10][12] = ["9 Qudrat/Power","Birth of Bah\341'u'll\341h","The praise which hath dawned...","visitation_sm","visitation"];
bp[10][13] = ["10 Qudrat/Power","","O God, my God!...","detach11_sm","detach10"];
bp[10][14] = ["11 Qudrat/Power","","I am aware, O Lord...","forgive12_sm","forgiveness12"];
bp[10][15] = ["12 Qudrat/Power","","O Lord! Thou art the Remover...","assist6_sm","assist6"];
bp[10][16] = ["13 Qudrat/Power","","O Thou kind Lord!...","aid3_sm","aid6"];
bp[10][17] = ["14 Qudrat/Power","","Glory be unto Thee, O Lord!...","sacrifice5_sm","sacrifice5"];
bp[10][18] = ["15 Qudrat/Power","","O Lord! Unto Thee I repair for refuge...","detach9_sm","detach8"];
bp[10][19] = ["16 Qudrat/Power","","O God, my God!...","spiritual7_sm","teachingplan2"];
bp[10][20] = ["17 Qudrat/Power","","Send down Thy blessings, O my God...","manifestation7_sm","manifestation8"];
bp[10][21] = ["18 Qudrat/Power","","O my Lord, my Defender, my Help in Peril!...","peace2a_sm","peace2"];
bp[10][22] = ["19 Qudrat/Power","","O Divine Providence!...","meetings6_sm","meetings6"];
bp[10][23] = ["1 Qawl/Speech","","O Lord, my God and my Haven...","assist7_sm","assist7"];
bp[10][24] = ["2 Qawl/Speech","","O my God! O my God!...","children9_sm","child12"];
bp[10][25] = ["3 Qawl/Speech","","He is God!...","grace_sm","grace1"];
bp[10][26] = ["4 Qawl/Speech","Day of the Covenant","Make firm our steps...","firmness3_sm","firmness3"];
bp[10][27] = ["5 Qawl/Speech","","Remove not, O Lord...","aid4_sm","aid7"];
bp[10][28] = ["6 Qawl/Speech","Ascension of 'Abdu'l-Bah\341","He is the All-Glorious!...","abdulbaha_sm","abdulbaha"];
bp[10][29] = ["7 Qawl/Speech","","O Thou, my God...","steadfast8_sm","steadfast8"];
bp[10][30] = ["8 Qawl/Speech","","I adjure Thee by Thy might...","assist5_sm","assist5"];

// December
bp[11] = new Array();
bp[11][1] = ["9 Qawl/Speech","","O my God! O my God!...","spiritual13_sm","spiritual13"];
bp[11][2] = ["10 Qawl/Speech","","O God, my God!...","families4_sm","families4"];
bp[11][3] = ["11 Qawl/Speech","","O Thou forgiving Lord!...","forgive10_sm","forgiveness10"];
bp[11][4] = ["12 Qawl/Speech","","Lauded be Thy name, O Lord my God!...","triumph1a_sm","triumph1"];
bp[11][5] = ["13 Qawl/Speech","","O God! O God!...","westernstates_sm","teachingplan8"];
bp[11][6] = ["14 Qawl/Speech","","O Thou forgiving Lord!","forgive10_sm","forgiveness10"];
bp[11][7] = ["15 Qawl/Speech","","O God, my God!...","trials7_sm","trials7"];
bp[11][8] = ["16 Qawl/Speech","","He is the Gracious, the Well-Beloved!...","mariner_sm","mariner"];
bp[11][9] = ["17 Qawl/Speech","","Unto Thee be praise, O Lord my God!...","prison10_sm","prison10"];
bp[11][10] = ["18 Qawl/Speech","","In His Name, the Exalted...","protection11_sm","protection11"];
bp[11][11] = ["19 Qawl/Speech","","O Thou loving Provider!...","meetings7_sm","meetings7"];
bp[11][12] = ["1 Mas\341'il/Questions","","Praise be unto Thee, O Lord...","forgive7_sm","forgiveness7"];
bp[11][13] = ["2 Mas\341'il/Questions","","Suffer me not, O God, my God...","triumph10_sm","triumph10"];
bp[11][14] = ["3 Mas\341'il/Questions","","Thou seest, O my Lord...","prison11_sm","prison11"];
bp[11][15] = ["4 Mas\341'il/Questions","","O my God, the God of bounty and mercy!...","spiritual6a_sm","spiritual6"];
bp[11][16] = ["5 Mas\341'il/Questions","","O my God, aid Thou Thy servant...","teaching5_sm","teaching5"];
bp[11][17] = ["6 Mas\341'il/Questions","","O Lord! I am a child...","children10_sm","child13"];
bp[11][18] = ["7 Mas\341'il/Questions","","O my Lord and my Hope!...","firmness5_sm","firmness5"];
bp[11][19] = ["8 Mas\341'il/Questions","","O Divine Providence!...","sacrifice6_sm","sacrifice6"];
bp[11][20] = ["9 Mas\341'il/Questions","","O Thou kind Lord!...","youth4_sm","youth3"];
bp[11][21] = ["10 Mas\341'il/Questions","","Many a chilled heart, O my God...","detach2_sm","detach4"];
bp[11][22] = ["11 Mas\341'il/Questions","","Ordain for me, O my Lord...","protection5_sm","protection5"];
bp[11][23] = ["12 Mas\341'il/Questions","","Magnified be Thy name...","women25_sm","women11"];
bp[11][24] = ["13 Mas\341'il/Questions","","Praised be Thou, O Lord my God!...","children12_sm","child1"];
bp[11][25] = ["14 Mas\341'il/Questions","","He is God!...","grace2_sm","grace2"];
bp[11][26] = ["15 Mas\341'il/Questions","","Magnified be Thy name...","women27_sm","women2"];
bp[11][27] = ["16 Mas\341'il/Questions","","O Thou Provider!...","spiritual17_sm","spiritual17"];
bp[11][28] = ["17 Mas\341'il/Questions","","O God, my God!...","teaching6_sm","teaching6"];
bp[11][29] = ["18 Mas\341'il/Questions","","O my God!...","joy8_sm","joy8"];
bp[11][30] = ["19 Mas\341'il/Questions","","O God, my God!...","fund_sm","fund1"];
bp[11][31] = ["1 Sharaf/Honor","","O Divine Providence!...","healing8_sm","healing8"];

function showPrayerOfTheDay() {
  var today = new Date();
  var mo = today.getMonth();
  var day = today.getDate();
  var year = today.getFullYear();
  var linkprefix = "http://www.bahaiprayers.org/";
  var linksuffix = ".htm";
  var imgprefix = "images/";
  var imgsuffix = ".jpg";
  
  // leap year computation for intercalary days
  var isLeap = new Date(year,1,29).getDate() == 29;

  // compute year in Badi calendar
  var badiyear;
  if (mo < 2) {badiyear = year - 1844;}
  else if (mo > 2) {badiyear = year - 1843;}
  else {
    if (day < 21) {badiyear = year - 1844;}
    else {badiyear = year - 1843;}
  }
	
  // assemble date string
  var badidate = bp[mo][day][0] + " " + badiyear + " B.E.";
  if (bp[mo][day][1] > "") {badidate += ", " + bp[mo][day][1];}

  // special March 1st date handling for leap years
  if (isLeap && mo == 2 && day == 1) {
    badidate = "5 Ayy\341m-i-H\341, Intercalary Days";
  }

  // replace page values
  var bpdate = document.getElementById("prdate"); // date
  if (bpdate) {bpdate.firstChild.nodeValue = badidate;}

  var prlink = document.getElementById("prlink"); // image link
  if (prlink) {prlink.href = linkprefix + bp[mo][day][4] + linksuffix;}

  var prpix = document.getElementById("prpix"); // image
  if (prpix) {prpix.src = linkprefix + imgprefix + bp[mo][day][3] + imgsuffix;}
  
  var prtitle = document.getElementById("prtitle"); // text link
  if (prtitle) {
    prtitle.href = linkprefix + bp[mo][day][4] + linksuffix;
    prtitle.firstChild.nodeValue = bp[mo][day][2];
  }
}