// get quotes

var quotes = new Array(
'"Rejoice in the Lord always. I will say it again: Rejoice!"\n\n   - Philippians 4 : 4',
'"Do not be anxious about anything, but in everything, by prayer and petition, with thanksgiving, present your requests to God."\n   - Philippians 4 : 6',
'"And the peace of God, which transcends all understanding, will guard your hearts and minds in Christ Jesus."\n   - Philippians 4 : 7',
'"Never be lacking in zeal, but keep your spiritual fervour, serving the Lord."\n\n   - Romans 13 : 11',
'"Therefore, I urge you, brothers, in view of God\'s mercy, to offer your bodies as living sacrifices, holy and pleasing to God - this is your spiritual act of worship."\n   - Romans 12 : 1',
'"Do not conform any longer to the pattern of this world, but be transformed by the renewing of your mind."\n\n   - Romans 12 : 2',
'"Now faith is being sure of what we hope for and certain of what we do not see."\n\n   - Hebrews 11 : 1',
'"And we know that in all things God works for the good of those who love him, who have been called according to his purpose."\n   - Romans 8 : 28',
'"For I am convinced that neither death nor life, neither height nor depth, nor anything else in all creation, will be able to separate us from the love of God that is in Christ Jesus our Lord."   - Romans 8 : 38',
'"Consider it pure joy, my brothers, whenever you face trials of many kinds, because you know that the testing of your faith develops perseverance."\n   - James 1 : 2,3',
'"Perseverance must finish its work so that you may be mature and complete, not lacking anything."\n\n   - James 1 : 4',
'"If any of you lacks wisdom, he should ask God, who gives generously to all without finding fault, and it will be given to him."\n   - James 1 : 5',
'"Whatever your hand finds to do, do it with all your might, for in the grave, where you are going, there is neither working nor planning nor knowledge nor wisdom."    - Ecclesiastes 9 : 10',
'"When time are good, be happy; but when times are bad, consider: God has made the one as well as the other. Therefore, a man cannot discover anything about his future."   - Ecclesiastes 8 : 14',
'"For God so loved the world that he gave his only begotten Son, that whoever believes in him shall not perish but have eternal life."\n   - John 3 : 16'
);

var quotenum = rand(0,quotes.length);

function rand(start, end)
{
 var range = end-start;
 var out = parseInt(parseFloat(Math.random()*range+start));
 if (out==end) out--;
 return (out);
}


function getQuote() {

   window.document.ahsbanner3.SetVariable("quotebox", quotes[quotenum]);

}
