	function makeArray(len) {
	    for (var i = 0; i < len; i++) this[i] = null;
	this.length = len;
	}

	// This is where the array of text/images/sounds is created.

items = new makeArray(30);
	items[0] = "<em>Prayer of Preparation</em><br>Fill our worship with grace, Lord Jesus Christ,<br>that every thought, word, and deed may be acceptable to you,<br>our Rock and our Redeemer. Amen.<br>(based on Psalm 19:14) (p.46)";
	items[1] = "<em>Call to Worship</em><br>It is good to praise the LORD and make music to your name, O Most High,<br>to proclaim your love in the morning and your faithfulness at night.<br> (Psalm 92:1-2, NIV) (p.51)";
	items[2] = "<em>Words of Welcome</em><br>Welcome to worship today!<br>We are all here because of God's hospitality.<br>We share the privilege of extending that hospitality to each other. (p.60)";
	items[3] = "<em>Words of Welcome</em><br>If you are spiritually weary and in search of rest,<br>if you are mourning and you long for comfort,<br>if you are struggling and you desire victory,<br>if you recognize that you are a sinner and need a Savior,<br>God welcomes you here in the name of Christ. (p.60)";
	items[4] = "<em>Opening Prayer</em><br>O gracious and holy God,<br>give us diligence to seek you,<br>wisdom to perceive you,<br>and patience to wait for you. (p.68)";
	items[5] = "<em>Call to Confession</em><br>The psalmist models a transparent faith with these words:<br>Search me, O God, and know my heart;<br>test me and know my thoughts.<br>See if there is any wicked way in me,<br>and lead me in the way everlasting.<br>We express our longing for God's leading<br>by our own transparent confession. <br>(based on Psalm 139:23-24) (p.83)";			
	items[6] = "<em>Call to Confession</em><br>Seeing that we have a great High Priest<br>who has entered the inmost heaven, Jesus the Son of God,<br>let us therefore approach the throne of grace with fullest confidence,<br>that we may receive mercy for our failures<br>and grace to help in the hour of need.<br>(based on Hebrews 4:14,16) (p.84)";
	items[7] = "<em>Prayer of Confession</em><br>O God of shalom,<br>we have built up walls to protect ourselves from our enemies,<br>but those walls also shut us off from receiving your love.<br>Break down those walls. (p.94)";
	items[8] = "<em>Prayer of Confession</em><br>Wondrous God,<br>who sets suns and moons above us,<br>mountains and valleys beneath us,<br>and friends and strangers among us:<br>how often have we tried to hide from your presence,<br>how seldom have we looked for your creating face and your fashioning hand!<br>Lord, have mercy upon us. (p.94)";
	items[9] = "<em>Prayer of Confession</em><br>We confess that we have frequently relaxed our faith.<br>We have allowed ourselves to become cynical,<br>and our cynicism has boiled over<br>with slander, criticism, prayerlessness, and pessimism. (p.105)";
	items[10] = "<em>Lament</em><br>Why did I come forth from the womb<br>to see toil and sorrow,<br>and spend my days in shame?<br> (Jeremiah 20:7-10,18) (p.113)";
	items[11] = "<em>Lament</em><br>Why, Lord, must broken vows cut like a knife?<br>How can one wedded body break in pieces?<br>We all have failed at being pure and faithful;<br>only by grace we keep our solemn vows.<br>We plead: Repair the brokenness we share. (p.114)";
	items[12] = "<em>Assurance</em><br>I will cleanse them from all the guilt of their sin against me,<br>and I will forgive all the guilt of their sin and rebellion against me.<br>(Jeremiah 33:8) (p.118)";
	items[13] = "<em>Assurance</em><br>I will sprinkle clean water upon you,<br>and you shall be clean from all your uncleannesses,<br>and from all your idols I will cleanse you.<br>(Ezekiel 36:25-26) (p.118)";
	items[14] = "<em>Assurance</em><br>God the Creator brings you new life,<br>forgives and redeems you.<br>Take hold of this forgiveness,<br>and live your life in the Spirit of Jesus.<br>Amen. (p.122)";
	items[15] = "<em>Prayer for Illumination</em><br>Prepare our hearts, O God,<br>to hear your Word<br>and obey your will.<br>Through Jesus Christ, our Lord.<br>Amen. (p.141)";
	items[16] = "<em>Prayer for Illumination</em><br>Lord God,<br>you have declared that your kingdom is among us.<br>Open our eyes to see it,<br>our ears to hear it,<br>our hearts to hold it,<br>our hands to serve it.<br>This we pray in Jesus' name. <br>Amen. (p.143)";
	items[17] = "<em>Declaration of Faith</em><br>God will renew the world through Jesus,<br>who will put all unrighteousness out,<br>purify the works of human hands,<br>and perfect their fellowship in divine love. (p.172)";
	items[18] = "<em>Prayer for Justice</em><br>O Lord, open our eyes, that we may see the needs of others.<br>Open our ears, that we may hear their cries.<br>Open our hearts, that they need not be without help.<br>Let us not be afraid to defend the weak<br>because of the anger of the strong. (p.221)";
	items[19] = "<em>Prayer for Healing</em><br>We name before you<br>those for whom light has been turned to darkness<br>by the death of a loved one,<br>the breaking of a friendship,<br>or the fading of hope. (p.224)";
	items[20] = "<em>Prayer of Lament</em><br>Why, Lord, must evil seem to get its way?<br>We do confess our sin is deeply shameful;<br>but now the wicked openly are scornful--<br>they mock your name and laugh at our dismay (p.231)";
	items[21] = "<em>Prayer of Lament</em><br>God of life,<br>God of comfort:<br>alone,<br>afraid,<br>in fear,<br>in loss,<br>we cry out:<br>'Why, O Lord, why?' (p.232)";
	items[22] = "<em>Call to Offering</em><br>Let us be faithful stewards<br>of our time, our talents, and our money.<br>so that our treasure is in heaven<br>and our giving pleases God. (p.239)";
	items[23] = "<em>Prayer for Offering</em><br>All that is in the heavens<br>and in the earth is yours,<br>and you rule over all.<br>Therefore, Lord, receive these offerings,<br>our tangible expressions of love and gratitude (p.241)";
	items[24] = "<em>Remembrance of Baptism</em><br>Baptism is a sign of God's faithful covenant promises,<br>under which we live as a congregation each day.<br>Let us remember now our baptism and be thankful (p.290)";
	items[25] = "<em>Call to the Lord's Supper</em><br>From east and west, from north and south,<br>people will come and take their places<br>at the banquet in the kingdom of God.<br> (based on Luke 13:29) (p.315)";
	items[26] = "<em>Closing Prayer</em><br>Grant us, Lord God,<br>the vision of your kingdom,<br>forgiveness and new life,<br>and the stirring of your Spirit,<br>so that we may share your vision,<br>proclaim your love,<br>and change this world<br>in the name of Christ. Amen. (p.358)";
	items[27] = "<em>Closing Prayer</em><br>Grant, O Lord,<br>that what has been said with our lips we may believe in our hearts,<br>and that what we believe in our hearts we may practice in our lives,<br>through Jesus Christ, our Lord. Amen. (p.357)";
	items[28] = "<em>Blessing</em><br>The grace of Christ attend you,<br>the love of God surround you,<br>the Holy Spirit keep you<br>now and forevermore. (p.365)";
	items[29] = "<em>Blessing</em><br>May the love of the Father enfold us,<br>the wisdom of the Son enlighten us,<br>the fire of the Spirit kindle us;<br>and may the blessing of the Lord God<br>come down upon us and remain with us always. (p.363)";
	
	// The random number generator.

	function rand(n) {
	seed = (0x015a4e35 * seed) % 0x7fffffff;
	return (seed >> 16) % n;
	}
        
	var now = new Date()
	var seed = now.getTime() % 0xffffffff

	
	// Where you place this is where the random object will be displayed.

	document.write(items[rand(items.length)])	