<!-- Psalm of the Day provided by Christian Webmaster Resources.com ©Copyright 2009 ChristianWebmasterResources.com All rights reserved. ->

var todays_obj=new Date()
var todays_date=todays_obj.getDate()

var psalm=new Array()

psalm[0] = 'Yea, though I walk through the valley of the shadow of death, I will fear no evil; For You are with me; Your rod and Your staff, they comfort me. (Psalm 23:4)'
psalm[1] ='The LORD is my light and my salvation; Whom shall I fear? The LORD is the strength of my life; Of whom shall I be afraid? (Psalm 27:1)'
psalm[2] ='Behold, the eye of the LORD is on those who fear Him, On those who hope in His mercy, (Psalm 33:18)'
psalm[3] ='The angel of the LORD encamps all around those who fear Him, And delivers them. (Psalm 34:7)'
psalm[4] ='Oh, fear the LORD, you His saints! There is no want to those who fear Him. (Psalm 34:9)'
psalm[5] = 'God is our refuge and strength, A very present help in trouble. Therefore we will not fear, Even though the earth be removed, And though the mountains be carried into the midst of the sea; Though its waters roar and be troubled, Though the mountains shake with its swelling.  Selah (Psalm 46:1-3)'
psalm[6] ='In God (I will praise His word), In God I have put my trust; I will not fear. What can flesh do to me? (Psalm 56:4)'
psalm[7]='For as the heavens are high above the earth, So great is His mercy toward those who fear Him; As far as the east is from the west, So far has He removed our transgressions from us. (Psalm 103:11-12)'
psalm[8] ='As a father pities his children, So the LORD pities those who fear Him. (Psalm 103:13)'
psalm[9] ='The fear of the LORD is the beginning of wisdom; A good understanding have all those who do His commandments. His praise endures forever. (Psalm 111:10)'
psalm[10]='Praise the LORD! Blessed is the man who fears the LORD, Who delights greatly in His commandments. (Psalm 112:1)'
psalm[11] ='You who fear the LORD, trust in the LORD; He is their help and their shield. (Psalm 115:11)'
psalm[12] ='Blessed is every one who fears the LORD, Who walks in His ways. (Psalm 128:1)'
psalm[13]='I will praise You, for I am fearfully and wonderfully made; Marvelous are Your works, And that my soul knows very well. (Psalm 139:14)'
psalm[14]='He will fulfill the desire of those who fear Him; He also will hear their cry and save them. (Psalm 145:19)'
psalm[15] ='The LORD takes pleasure in those who fear Him, In those who hope in His mercy. (Psalm 147:11)'
psalm[16]='And those who know Your name will put their trust in You; For You, LORD, have not forsaken those who seek You. (Psalm 9:10)'
psalm[17]='The LORD is my rock and my fortress and my deliverer; My God, my strength, in whom I will trust; My shield and the horn of my salvation, my stronghold. (Psalm 18:2)'
psalm[18]='As for God, His way is perfect; The word of the LORD is proven; He is a shield to all who trust in Him. (Psalm 18:30)'
psalm[19]='Some trust in chariots, and some in horses; But we will remember the name of the LORD our God. (Psalm 20:7)'
psalm[20]='The LORD is my strength and my shield; My heart trusted in Him, and I am helped; Therefore my heart greatly rejoices, And with my song I will praise Him. (Psalm 28:7)'
psalm[21]='Many sorrows shall be to the wicked; But he who trusts in the LORD, mercy shall surround him. (Psalm 32:10)'
psalm[22]='Oh, taste and see that the LORD is good; Blessed is the man who trusts in Him! (Psalm 34:8)'
psalm[23]='The LORD redeems the soul of His servants, And none of those who trust in Him shall be condemned. (Psalm 34:22)'
psalm[24]='Commit your way to the LORD, Trust also in Him, And He shall bring it to pass. (Psalm 37:5)'
psalm[25]='And the LORD shall help them and deliver them; He shall deliver them from the wicked, And save them, Because they trust in Him. (Psalm 37:40)'
psalm[26]='Blessed is that man who makes the LORD his trust, And does not respect the proud, nor such as turn aside to lies. (Psalm 40:4)'
psalm[27]='In God I have put my trust; I will not be afraid. What can man do to me? (Psalm 56:11)'
psalm[28]='Trust in Him at all times, you people; Pour out your heart before Him; God is a refuge for us.  Selah (Psalm 62:8)'
psalm[29]='You who fear the LORD, trust in the LORD;He is their help and their shield. (Psalm 115:11)'
psalm[30]='It is better to trust in the LORD Than to put confidence in man. (Psalm 118:8)'


//Last psalm
lastpsalm = 30

var whichpsalm=todays_date-1

//whichpsalm=Math.floor(Math.random()*(psalm.length))

if (whichpsalm > lastpsalm) {
			whichpsalm=lastpsalm
}

title='Psalm of the Day'

powered = "Powered by <a href=http://www.ChristianWebmasterResources.com/>Christian Webmaster Resources.com</a>"

add = "<a TARGET=_blank href=http://www.ChristianWebmasterResources.com/scripts/add_psalm_of_the_day.html>Add to your website from Christian Webmaster Resources.com</a>"

document.write('<div align=center><b>' + title + '</b></font></div>' + '<div align=justify>' + psalm [whichpsalm] + '</div><br><div align=center>' + add +  '</div>')
