function pickVerse() {
  // Change verses to whatever you like.  First line is an equality (=),
  // the second is concatenation (+=, or like 'x = x + y' in BASIC).
  // If you're using a modern bible, include the translation
  // version, like '(NIV)', '(NKJV)', etc.
  // You may also substitute poetry, sales specials, jokes, etc.

    var aVerse = new Array();

    aVerse[1] = "<i>For God so loved the world that He gave His only-";
    aVerse[1] += "begotten Son, that whoever believes in Him should not perish ";
    aVerse[1] += "but have everlasting life.</i><br>&mdash;John 3:16 (MKJV).";

    aVerse[2] = "<i>...God is love, and he who abides in love abides in God, ";
    aVerse[2] += "and God in him.</i><br>&mdash;1 John 4:16 (MKJV).";

    aVerse[3] = "<i>These things I command you, that you love one another.</i>";
    aVerse[3] += "<br>&mdash;John 15:17 (MKJV).";

    aVerse[4] = "<i>And to love Him with all the heart, and with all the ";
    aVerse[4] += "understanding, and with all the soul, and with all the ";
    aVerse[4] += "strength, and to love the neighbor as himself, is more ";
    aVerse[4] += "than all the burnt offerings and sacrifices.</i>";
    aVerse[4] += "<br>&mdash;Mark 12:33 (MKJV).";

    aVerse[5] = "<i>Jehovah has appeared to me from afar, saying, Yea, ";
    aVerse[5] += "I have loved you with an everlasting love; therefore ";
    aVerse[5] += "with loving-kindness I have drawn you.</i><br>&mdash;Jeremiah 31:3. (MKJV)";

    aVerse[6] = "<i>But God commends His love toward us in that while ";
    aVerse[6] += "we were yet sinners Christ died for us.</i><br>&mdash;Romans 5:8 (MKJV).";

    aVerse[7] = "<i>Because He has set His love on Me, therefore I will ";
    aVerse[7] += "deliver him; I will set Him on high, because He has ";
    aVerse[7] += "known My name.</i><br>&mdash;Psalm 91:14 (MKJV).";


    aVerse[8] = "<i>But the fruit of the Spirit is: love, joy, peace, ";
    aVerse[8] += "long-suffering, kindness, goodness, faith, ";
    aVerse[8] += "meekness, self-control; against such things there is no law.</i>";
    aVerse[8] += "<br>&mdash;Galatians 5:22-23 (MKJV).";

    var mVerse;
    // true for random, false for rotating Sun-Sat selection (1-7)

      mVerse = true; 

    var z = 0;
    var tmpVerse = "";
    var tmpTime = new Date();

    if (mVerse == true){
      // random verse
      
      var seed = 0;
      seed = tmpTime.getSeconds();
      seed %= 8;               // modulus (remainder) of 0 to 59 div by 8 (array size)
      seed = Math.floor(seed); // integer function
    
      z = Math.random(seed);   //random returns decimal between 0 and .999999
      z *= 8;                  // change for array size!!!
      z += 1; 
      z = Math.floor(z);        // integer function

    } else {
    // 7-day rotating
    // array elements 8+ ignored :-(
    // minimum array size and population 7-always

      z = tmpTime.getDay() + 1;

    }
    
	document.write(aVerse[z]);
}    

pickVerse();
