<!--

var rand, str1, str2, str3, str4, quot, preverse, verse, ref, version;
str1 = "<p><div align=\"justify\"><span class=\"rvpssg\">";
str2 = "</span><br></div><div align=right><span class=\"rvref\">(";
str3 = ", ";
str4 = ")</span><br></div>";
str5 = "<div align=center><span class=rvbotline><a href=http://www.1way2god.net/randomverse.html class=rvrv target=_blank>RandomVerse</a> from <a href=http://www.1way2god.net class=rv1w2g target=_blank>1way2God.net</a></span></div>";
quot = "&quot;";
rand = Math.round(Math.random()*28);

switch(rand) {


  case 0 : 
    preverse = "";
    verse    = "This is how God showed his love among us: He sent his one and only Son into the world that we might live through him.";
    ref      = "1 John 4:9";
    version  = "<span title=\" The New International Version \">NIV</span>";
    break;
  case 1 : 
    preverse = "";
    verse    = "But because of his great love for us, God, who is rich in mercy, made us alive with Christ even when we were dead in transgressions - it is by grace you have been saved.";
    ref      = "Ephesians 2:4-5";
    version  = "<span title=\" The New International Version \">NIV</span>";
    break;
  case 2 : 
    preverse = "";
    verse    = "But because of his great love for us, God, who is rich in mercy, made us alive with Christ even when we were dead in transgressions - it is by grace you have been saved.";
    ref      = "Ephesians 2:4-5";
    version  = "<span title=\" The New International Version \">NIV</span>";
    break;
  case 3 : 
    preverse = "";
    verse    = "...the Son of Man came to seek and to save the lost.";
    ref      = "Luke 19:10";
    version  = "<span title=\" The English Standard Version \">ESV</span>";
    break;
  case 4 : 
    preverse = "";
    verse    = "This is how God showed his love among us: He sent his one and only Son into the world that we might live through him.";
    ref      = "1 John 4:9";
    version  = "<span title=\" The New International Version \">NIV</span>";
    break;
  case 5 : 
    preverse = "";
    verse    = "...the Son of Man came to seek and to save the lost.";
    ref      = "Luke 19:10";
    version  = "<span title=\" The English Standard Version \">ESV</span>";
    break;
  case 6 : 
    preverse = "";
    verse    = "...the Son of Man came to seek and to save the lost.";
    ref      = "Luke 19:10";
    version  = "<span title=\" The English Standard Version \">ESV</span>";
    break;
  case 7 : 
    preverse = "";
    verse    = "But because of his great love for us, God, who is rich in mercy, made us alive with Christ even when we were dead in transgressions - it is by grace you have been saved.";
    ref      = "Ephesians 2:4-5";
    version  = "<span title=\" The New International Version \">NIV</span>";
    break;
  case 8 : 
    preverse = "Jesus said, ";
    verse    = "I am the way, and the truth, and the life. No one comes to the Father except through me.";
    ref      = "John 14:6";
    version  = "<span title=\" The English Standard Version \">ESV</span>";
    break;
  case 9 : 
    preverse = "Jesus said, ";
    verse    = "If you abide in my word, you are truly my disciples, and you will know the truth, and the truth will set you free.";
    ref      = "John 8:31-32";
    version  = "<span title=\" The English Standard Version \">ESV</span>";
    break;
  case 10 : 
    preverse = "";
    verse    = "I do not set aside the grace of God, for if righteousness could be gained through the law, Christ died for nothing!";
    ref      = "Galatians 2:21";
    version  = "<span title=\" The New International Version \">NIV</span>";
    break;
  case 11 : 
    preverse = "";
    verse    = "God gave us eternal life; the life is in his Son. So, whoever has the Son, has life; whoever rejects the Son, rejects life.";
    ref      = "1 John 5:11b-12";
    version  = "<span title=\" The Message \">MSG</span>";
    break;
  case 12 : 
    preverse = "";
    verse    = "For by grace you have been saved through faith. And this is not your own doing; it is the gift of God, not a result of works, so that no one may boast.";
    ref      = "Ephesians 2:8-9";
    version  = "<span title=\" The English Standard Version \">ESV</span>";
    break;
  case 13 : 
    preverse = "Jesus prayed, ";
    verse    = "...This is eternal life, that they may know You, the only true God, and Jesus Christ whom You have sent.";
    ref      = "John 17:3";
    version  = "<span title=\" The New American Standard Bible \">NASB</span>";
    break;
  case 14 : 
    preverse = "";
    verse    = "For God so loved the world, that he gave his only Son, that whoever believes in him should not perish but have eternal life. For God did not send his Son into the world to condemn the world, but in order that the world might be saved through him.";
    ref      = "John 3:16-17";
    version  = "<span title=\" The English Standard Version \">ESV</span>";
    break;
  case 15 : 
    preverse = "";
    verse    = "But because of his great love for us, God, who is rich in mercy, made us alive with Christ even when we were dead in transgressions - it is by grace you have been saved.";
    ref      = "Ephesians 2:4-5";
    version  = "<span title=\" The New International Version \">NIV</span>";
    break;
  case 16 : 
    preverse = "";
    verse    = "For by grace you have been saved through faith. And this is not your own doing; it is the gift of God, not a result of works, so that no one may boast.";
    ref      = "Ephesians 2:8-9";
    version  = "<span title=\" The English Standard Version \">ESV</span>";
    break;
  case 17 : 
    preverse = "";
    verse    = "...but God shows his love for us in that while we were still sinners, Christ died for us.";
    ref      = "Romans 5:8";
    version  = "<span title=\" The English Standard Version \">ESV</span>";
    break;
  case 18 : 
    preverse = "";
    verse    = "For God so loved the world, that he gave his only Son, that whoever believes in him should not perish but have eternal life. For God did not send his Son into the world to condemn the world, but in order that the world might be saved through him.";
    ref      = "John 3:16-17";
    version  = "<span title=\" The English Standard Version \">ESV</span>";
    break;
  case 19 : 
    preverse = "";
    verse    = "For by grace you have been saved through faith. And this is not your own doing; it is the gift of God, not a result of works, so that no one may boast.";
    ref      = "Ephesians 2:8-9";
    version  = "<span title=\" The English Standard Version \">ESV</span>";
    break;
    default :
        preverse = "";
        verse = "For I am sure that neither death nor life, nor angels nor rulers, nor things present nor things to come, nor powers, nor height nor depth, nor anything else in all creation, will be able to separate us from the love of God in Christ Jesus our Lord.";
        ref = "Romans 8:38-39";
        version = "ESV";
        break;
}
document.write(str1 + preverse + quot + verse + quot + str2 + ref + str3 + version + str4+str5);

//-->



