function replacetext(value)
{
  var txt = "";
  switch(value)  {
    case 1:
	txt ="<p><span>For</span> God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.<br><span id='book'>&mdash; John 3:16</span></p>";
	break;
    case 2:
	txt= "<p><span>If</span> thou shalt confess with thy mouth the Lord Jesus, and shalt believe in thine heart that God hath raised him from the dead, thou shalt be saved.<br><span id='book'>&mdash; Romans 10:9</span></p>";
	break;
    case 3:
	txt = "<p><span>Believe</span> on the Lord Jesus Christ, and thou shalt be saved, and thy house.<br><span id='book'>&mdash; Acts 16:31</span></p>";
	break;
    case 4:
	txt = "<p><span>For</span> He saith, I have heard thee in a time accepted, and in the day of salvation have I succoured thee: behold, now is the accepted time; behold, now is the day of salvation.<br><span id='book'>&mdash; 2 Corinth 6:2</span></p>";
	break;
    case 5:
	txt= "<p><span>If</span> we confess our sins, he is faithful and just to forgive us our sins, and to cleanse us from all unrighteousness.<br><span id='book'>&mdash; 1 John 1:9</span></p>";
	break;
    case 6:
	txt= "<p><span>Verily</span> verily, I say unto you, he that heareth my word, and believeth on Him that sent me, hath everlasting life, and shall not come into condemnation; but is passed from death unto life.<br><span id='book'>&mdash; John 5:24</span></p>";
	break;
    case 7:
	txt ="<p><span>But</span> they that wait upon the LORD shall renew their strength; they shall mount up with wings as eagles; they shall run, and not be weary; and they shall walk, and not faint.<br><span id='book'>&mdash; Isaiah 40:31</span></p>";
	break;
    case 8:
	txt= "<p><span>Fear</span> thou not; for I am with thee: be not dismayed; for I am thy God: I will strengthen thee; yea, I will help thee; yea, I will uphold thee with the right hand of my righteousness.<br><span id='book'>&mdash; Isaiah 41:10</span></p>";
	break;
    case 9:
	txt= "<p><span>When</span> thou passest through the waters, I will be with thee; and through the rivers, they shall not overflow thee: when thou walkest through the fire, thou shalt not be burned; neither shall the flame kindle upon thee.<br><span id='book'>&mdash; Isaiah 43:2</span></p>";
	break;
    case 10:
	txt = "<p><span>No</span> weapon that is formed against thee shall prosper; and every tongue that shall rise against thee in judgment thou shalt condemn. This is the heritage of the servants of the LORD, and their righteousness is of me, saith the LORD.<br><span id='book'>&mdash; Isaiah 54:17</span></p>";
	break;
    case 11:
	txt= "<p><span>As</span> for me, this is my covenant with them, saith the LORD; My spirit that is upon thee, and my words which I have put in thy mouth, shall not depart out of thy mouth, nor out of the mouth of thy seed, nor out of the mouth of thy seed's seed, saith the LORD, from henceforth and for ever.<br><span id='book'>&mdash; Isaiah 59:21</span></p>";
	break;
    case 12:
	txt= "<p><span>Arise,</span> shine; for thy light is come, and the glory of the LORD is risen upon thee.<br><span id='book'>&mdash; Isaiah 60:1</span></p>";
	break;
    case 13:
    	txt= "<p><span>For</span> the Lord GOD will help me; therefore shall I not be confounded: therefore have I set my face like a flint, and I know that I shall not be ashamed.<br><span id='book'>&mdash; Isaiah 50:7</span></p>";
	break;
    case 14:
    	txt= "<p><span>And</span> he said unto them, Go ye into all the world, and preach the gospel to every creature.  He that believeth and is baptized shall be saved.<br><span id='book'>&mdash; Mark 16:15-16</span></p>";
	break;
    case 15:
    	txt= "<p><span>The</span> thief cometh not, but for to steal, and to kill, and to destroy: I am come that they might have life, and that they might have it more abundantly.<br><span id='book'>&mdash; John 10:10</span></p>";
	break;
    case 16:
	txt= "<p><span>But</span> it shall come to pass, that at evening time it shall be light.<br><span id='book'>&mdash; Zechariah 14:7</span></p>";
	break;
    case 17:
	txt = "<p><span>Call</span> unto me, and I will answer thee, and show thee great and mighty things, which thou knowest not.<br><span id='book'>&mdash; Jeremiah 33:3</span></p>";
	break;
    case 18:
	txt = "<p><span>I</span> will build My Church and the gates of hell shall not prevail against it!<br><span id='book'>&mdash; Matthew 16:18</span></p>";
	break;
    case 19:
	txt= "<p><span>He</span> that believeth on me, as the scripture hath said, out of his belly shall flow rivers of living water.<br><span id='book'>&mdash; John 7:38</span></p>";
	break;
    case 20:
	txt= "<p><span>Fear</span> thou not; for I am with thee: be not dismayed; for I am thy God: I will strengthen thee; yea, I will help thee; yea, I will uphold thee with the right hand of my righteousness.<br><span id='book'>&mdash; Isaiah 41:10</span></p>";
	break;
    case 21:
	txt= "<p><span>In</span> that day will I raise up the tabernacle of David that is fallen, and close up the breaches thereof; and I will raise up his ruins, and I will build it as in the days of old.<br><span id='book'>&mdash; Amos 9:11</span></p>";
	break;
    case 22:
    	txt= "<p><span>If</span> thou wilt diligently hearken to the voice of the LORD thy God, and wilt do that which is right in his sight, and wilt give ear to his commandments, and keep all his statutes, I will put none of these diseases upon thee, which I have brought upon the Egyptians: for I am the LORD that healeth thee.<br><span id='book'>&mdash; Exodus 15:26</span></p>";
	break;
    case 23:
    	txt= "<p><span>I</span> will instruct thee and teach thee in the way which thou shalt go: I will guide thee with mine eye.<br><span id='book'>&mdash; Psalms 32:8</span></p>";
	break;
    case 24:
    	txt= "<p><span>Trust</span> in the LORD with all thine heart; and lean not unto thine own understanding. In all thy ways acknowledge him, and he shall direct thy paths.<br><span id='book'>&mdash; Proverbs 3:5-6</span></p>";
	break;
    case 25:
    	txt= "<p><span>Ask</span>, and it shall be given you; seek, and ye shall find; knock, and it shall be opened unto you: For every one that asketh receiveth; and he that seeketh findeth; and to him that knocketh it shall be opened.<br><span id='book'>&mdash; Matthew 7:7-8</span></p>";
	break;
    case 26:
    	txt= "<p><span>He</span> hath shewed thee, O man, what is good; and what doth the LORD require of thee, but to do justly, and to love mercy, and to walk humbly with thy God?<br><span id='book'>&mdash; Micah 6:8</span></p>";
	break;

  }

  if (document.getElementById) {
     document.getElementById('verse').innerHTML = txt;
  }  else if (document.all)  {
    document.all.verse.innerHTML = txt;
  }  else if (document.layers) {
     document.layers['verse'].document.open();
     document.layers['verse'].document.write('txt');
     document.layers['verse'].document.close();
  }
}

   var count=1, delay = 10000, interval_id;
   interval_id = setInterval("replacetext(count++);if (count==15) count=1",delay);