// TRZ Photo Verse script © 2010, 2011 TeamRhinoZone.com
// ----

urltest = document.location.hostname;
urltest2 = document.location.pathname;

if ((urltest != 'www.rhinoprints.com' & urltest != 'www.rhinoprints.net') || (urltest2 == '/mem_verse_popup.html'))
 {
   targettxt = " target='_blank'";
 }
else
 {
   targettxt = "";
 }

if ((urltest != 'www.teamrhinozone.com' & urltest != 'www.rhinoprints.net') || (urltest2 == '/mem_verse_popup.html'))
 {
   targettxt2 = " target='_blank'";
 }
else
 {
   targettxt2 = "";
 }

GetDailyVerse();

GetRandomColor();
//rndver = 76; // TEST

// select random photo:
  var imgnbr = 0;
  var imgnbr = Math.round(TotNbrPhotos * Math.random());

  searchstring = "/" + imgnbr + "/";
  var ans = DoNotUsePhotos.search(searchstring);

if(ans != -1 || imgnbr == 0)
 {
   var repimgnbr = Math.round(RepPicsNbr * Math.random());
   if (repimgnbr == 0)
    {
     rpn_photo = "<a href='http://www.teamrhinozone.com' target='" + targettxt2 + "'><img src='http://www.teamrhinozone.com/images/tr_gadget_img.gif' border=0 title='Go to TeamRhinoZone'></a>";
    }
   else
    {
     rpn_photo = "<a href='http://www.rhinoprints.net/photography/photo_finder.html?p=" + RepPicsArray[repimgnbr] + "' target='" + targettxt + "'><img src='http://www.rhinoprints.net/photography/images/gallery/" + RepPicsArray[repimgnbr] + ".jpg' border=0 title='View larger image at RhinoPrints Photo Galleries.'></a>";
    }
 }
else
 {
   rpn_photo = "<a href='http://www.rhinoprints.net/photography/photo_finder.html?p=" + imgnbr + "' target='" + targettxt + "'><img src='http://www.rhinoprints.net/photography/images/gallery/" + imgnbr + ".jpg' border=0 title='View larger image at RhinoPrints Photo Galleries.'></a>";
 }

if (rndver >= 153 & rndver <= 164) // Is. 53 verses
 {
   rpn_photo = "<a href='http://www.rhinoprints.net/photography/photo.html?8=17' target='" + targettxt + "'><img src='http://www.rhinoprints.net/photography/images/gallery/misc/17.jpg' border=0 title='View larger version of this photo at the RhinoPrints Photo Galleries - send on free eCard'></a>";
   clrval = '#000000';
   bgColorDark = '#000000';
 }

// image, color, and verses for Good Friday - April 22, 2011
if (ardate[myweekday] == 22 && armonth[mymonth] == 'April ' && year == 2011)
 {
   rpn_photo = "<a href='http://www.rhinoprints.net/photography/photo.html?8=17' target='" + targettxt + "'><img src='http://www.rhinoprints.net/photography/images/gallery/misc/17.jpg' border=0 title='View larger version of this photo at the RhinoPrints Photo Galleries - send on free eCard'></a>";
   clrval = '#000000';
   bgColorDark = '#000000';
   SpecRndNbr = Math.round(16 * Math.random());
   SpevVerseString = "36|32|70|75|4|64|154|155|156|157|158|159|160|161|162|163|164";
   SpecVerArray = SpevVerseString.split('|');
   rndver = SpecVerArray[SpecRndNbr];
 }

document.write("<center><table border='0' cellpadding='4' width=300 cellspacing='0' bgcolor='" + clrval + "'>");
document.write("<tr><td height=283 valign=top><center>");
document.write("<img src='http://www.teamrhinozone.com/images/mem_vs_border.gif'><font size=1><br></font><img src='http://www.teamrhinozone.com/images/blank.gif' height=3 width=1><font size=1><br></font>");

photo_string = "<font size=1><br></font><img src='http://www.teamrhinozone.com/images/blank.gif' height=3 width=1><font size=1><br></font><table width=250 height=150 border=0 cellpadding=0 cellspacing=0><tr><td><center>" + rpn_photo + "</center></td></tr></table><img src='http://www.teamrhinozone.com/images/blank.gif' height=3 width=1><font size=1><br></font>";

if (user_version == "RV")
 {
  VerseString = memrv[rndver];
 }
else if (user_version == "NAS")
 {
  VerseString = memnas[rndver];
 }
else if (user_version == "KJV")
 {
  VerseString = memkjv[rndver];
 }
else if (user_version == "NLT")
 {
  VerseString = memnlt[rndver];
 }
else if (user_version == "NIV")
 {
  VerseString = memniv[rndver];
 }
else
 {
  VerseString = user_version;
 }

if (VerseString.length >= 200)
 {
  VerseFontSize = 1;
 }
else
 {
  VerseFontSize = 2;
 }

DevoLink = "<img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'><a href='javascript:ShowVerseBox(7," + rndver + ");'><img src='http://www.teamrhinozone.com/images/quote_icon.gif' border=0  width=8 height=8 title='Show Devo Thought'></a>";

// show TRZ comic strip link for verse:
 if (memVsComStr[rndver] != null & memVsComStr[rndver] != '')
  {
   CSimgLink = "&nbsp;<a href='http://www.rhinoprints.net/teamrhino/trz_comics.html?c=" + memVsComStr[rndver] + "' target='_blank'><img src='http://www.teamrhinozone.com/images/cs_icon.gif' title='View a TRZ comic strip using this verse' border='0' width=20 height=9></a>";
  }
 else
  {
   CSimgLink = "";
  }

popuptxt = "";
popupimg = "<img src = 'http://www.teamrhinozone.com/images/popup_icon.gif' border=0 title='Open Verse/Photo Gadget in pop-up window' width=8 height=8>";

if (user_version == "RV")
 {
  newVerPhoLnk = "<a href='javascript:location.reload(true)'><img src='http://www.teamrhinozone.com/images/reset_icon2.gif' border=0 width=7 height=8 title='Nuevo Verso/Foto'></a>";
  AllVslnk = "<img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'><a href='http://www.teamrhinozone.com/verses.html' target='_blank'><img src='http://www.teamrhinozone.com/images/all_icon.gif' width=13 height=8 border=0 title='Ver Todos los versículos bíblicos de memoria TRZ y los recursos aquí'></a>";
  DevoLink = "<img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'><a href='javascript:ShowVerseBox(8," + rndver + ");'><img src='http://www.teamrhinozone.com/images/quote_icon.gif' border=0  width=8 height=8 title='Mostrar pensamiento devocional'></a>";
  parimglnk = "<a href='http://www.rhinoprints.net/teamrhino/mem_verses_parallel.html?ver=" + rndver + "' target='_blank'><img src='http://www.teamrhinozone.com/images/parallel_icon2.gif' border=0  width=15 height=9 title='Abrir una ventana con este verso en NIV, KJV, NASB, NLT, and RV juntos'></a>" + DevoLink + AllVslnk;
 }
else
 {
  AllVslnk = "<img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'><a href='http://www.teamrhinozone.com/verses.html' target='_blank'><img src='http://www.teamrhinozone.com/images/all_icon.gif' border=0 width=13 height=8 title='See ALL TRZ Bible Memory Verses and resources here'></a>";
  newVerPhoLnk = "<a href='javascript:location.reload(true)' title='Change random verse and photo.'><img src='http://www.teamrhinozone.com/images/reset_icon2.gif' border=0 width=7 height=8></a>";
  parimglnk = "<a href='http://www.rhinoprints.net/teamrhino/mem_verses_parallel.html?ver=" + rndver + "' target='_blank'><img src='http://www.teamrhinozone.com/images/parallel_icon2.gif' border=0  width=15 height=9 title='Open printer friendly page showing this verse in NIV 1984 and 2011, KJV, NLT, NASB, and Spanish RV together'></a>" + DevoLink + AllVslnk;
 }

if (user_version == "NIV hint")
 {
  gethint(rndver);
  if (urltest2 != '/mem_verse_popup.html')
   {
    popuptxt = " <a href='javascript:openPopUp(1)'>" + popupimg + "</a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'>";
   }
  document.write(popuptxt + "<font face='Arial' color=white size='2'><b>TRZ Random NIV Bible Memory Verse</b>");
  document.write(photo_string);
  FlCrdLink = "<img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'><a href='javascript:openFlashCard(1," + rndver + ");'><img src='http://www.teamrhinozone.com/images/flashcard_icon.gif' border=0 title='Pop-Up Flash Card for this verse' width=8 height=8></a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'><a href='http://www.teamrhinozone.com/bible_study_topics.html?Verse=" + rndver + "#seltop' target='_blank'><img src='http://www.teamrhinozone.com/images/study_icon2.gif' width=8 height=9 border=0 title='Go to Bible Study topics for this verse'></a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'>";
  document.write("<table border=1 bgcolor='" + bgColorDark + "' bordercolor=#ff6600 width=298 cellpadding=2 cellspacing=0><tr><td><center><i><font  face='Arial' color='yellow' size='1'>" + hinttext + "</font>");
  document.write("<br><font face='Arial' color=white></i><font size=1>" + memref[rndver] + "<font size=1> (Show <a href='javascript:showNIV(" + rndver + ");'><font color=white>NIV</font></a> <a href='javascript:NIVcopyright();'><img src='http://www.teamrhinozone.com/images/copyright.gif' border=0 width=7 height=7></a>)</font>&nbsp;&nbsp;<font size=1>" + newVerPhoLnk + FlCrdLink + parimglnk + CSimgLink + "<br></font></font></center></td></tr></table></center></td></tr>");
 }
else if (user_version == "KJV hint")
 {
  gethint(rndver);
  if (urltest2 != '/mem_verse_popup.html')
   {
    popuptxt = " <a href='javascript:openPopUp(2)'>" + popupimg + "</a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'>";
   }
  document.write(popuptxt + "<font face='Arial' color=white size='2'><b>TRZ Random KJV Bible Memory Verse</b>");
  document.write(photo_string);
  FlCrdLink = "<img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'><a href='javascript:openFlashCard(2," + rndver + ");'><img src='http://www.teamrhinozone.com/images/flashcard_icon.gif' border=0 title='Pop-Up Flash Card for this verse' width=8 height=8></a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'><a href='http://www.teamrhinozone.com/bible_study_topics.html?Verse=" + rndver + "#seltop' target='_blank'><img src='http://www.teamrhinozone.com/images/study_icon2.gif' width=8 height=9 border=0 title='Go to Bible Study topics for this verse'></a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'>";
  document.write("<table border=1 bgcolor='" + bgColorDark + "' bordercolor=#ff6600 width=298 cellpadding=2 cellspacing=0><tr><td><center><i><font  face='Arial' color='yellow' size='1'>" + hinttext + "</font>");
  document.write("<br><font face='Arial' color=white></i><font size=1>" + memref[rndver] + "<font size=1> (Show <a href='javascript:showKJV(" + rndver + ");'><font color=white>KJV</font></a>)</font>&nbsp;&nbsp;<font size=1>" + newVerPhoLnk + parimglnk + CSimgLink + "<br></font></font></center></td></tr></table></center></td></tr>");
 }
else if (user_version == "NAS hint")
 {
  gethint(rndver);
  if (urltest2 != '/mem_verse_popup.html')
   {
    popuptxt = " <a href='javascript:openPopUp(3)'>" + popupimg + "</a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'>";
   }
  document.write(popuptxt + "<font face='Arial' color=white size='2'><b>TRZ Random NASB Bible Memory Verse</b>");
  document.write(photo_string);
  FlCrdLink = "<img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'><a href='javascript:openFlashCard(3," + rndver + ");'><img src='http://www.teamrhinozone.com/images/flashcard_icon.gif' border=0 title='Pop-Up Flash Card for this verse' width=8 height=8></a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'><a href='http://www.teamrhinozone.com/bible_study_topics.html?Verse=" + rndver + "#seltop' target='_blank'><img src='http://www.teamrhinozone.com/images/study_icon2.gif' width=8 height=9 border=0 title='Go to Bible Study topics for this verse'></a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'>";
  document.write("<table border=1 bgcolor='" + bgColorDark + "' bordercolor=#ff6600 width=298 cellpadding=2 cellspacing=0><tr><td><center><i><font  face='Arial' color='yellow' size='1'>" + hinttext + "</font>");
  document.write("<br><font face='Arial' color=white></i><font size=1>" + memref[rndver] + "<font size=1> (Show <a href='javascript:showNAS(" + rndver + ");'><font color=white>NASB</font></a> <a href='javascript:NASBcopyright();'><img src='http://www.teamrhinozone.com/images/copyright.gif' border=0 width=7 height=7></a>)</font>&nbsp;&nbsp;<font size=1>" + newVerPhoLnk + FlCrdLink + parimglnk + CSimgLink + "<br></font></font></center></td></tr></table></center></td></tr>");
 }
else if (user_version == "NLT hint")
 {
  gethint(rndver);
  if (urltest2 != '/mem_verse_popup.html')
   {
    popuptxt = " <a href='javascript:openPopUp(5)'>" + popupimg + "</a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'>";
   }
  document.write(popuptxt + "<font face='Arial' color=white size='2'><b>TRZ Random NLT Bible Memory Verse</b>");
  document.write(photo_string);
  FlCrdLink = "<img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'><a href='javascript:openFlashCard(4," + rndver + ");'><img src='http://www.teamrhinozone.com/images/flashcard_icon.gif' border=0 title='Pop-Up Flash Card for this verse' width=8 height=8></a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'><a href='http://www.teamrhinozone.com/bible_study_topics.html?Verse=" + rndver + "#seltop' target='_blank'><img src='http://www.teamrhinozone.com/images/study_icon2.gif' width=8 height=9 border=0 title='Go to Bible Study topics for this verse'></a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'>";
  document.write("<table border=1 bgcolor='" + bgColorDark + "' bordercolor=#ff6600 width=298 cellpadding=2 cellspacing=0><tr><td><center><i><font  face='Arial' color='yellow' size='1'>" + hinttext + "</font>");
  document.write("<br><font face='Arial' color=white></i><font size=1>" + memref[rndver] + "<font size=1> (Show <a href='javascript:showNLT(" + rndver + ");'><font color=white>NLT</font></a> <a href='javascript:NLTcopyright();'><img src='http://www.teamrhinozone.com/images/copyright.gif' border=0 width=7 height=7></a>)</font>&nbsp;&nbsp;<font size=1>" + newVerPhoLnk + FlCrdLink + parimglnk + CSimgLink + "<br></font></font></center></td></tr></table></center></td></tr>");
 }
else if (user_version == "KJV")
 {
  if (urltest2 != '/mem_verse_popup.html')
   {
    popuptxt = " <a href='javascript:openPopUp(2)'>" + popupimg + "</a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'>";
   }
  document.write(popuptxt + "<font face='Arial' color=white size='2'><b>TRZ Random KJV Bible Memory Verse</b>");
  document.write(photo_string);
  FlCrdLink = "<img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'><a href='javascript:openFlashCard(2," + rndver + ");'><img src='http://www.teamrhinozone.com/images/flashcard_icon.gif' border=0 title='Pop-Up Flash Card for this verse' width=8 height=8></a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'><a href='http://www.teamrhinozone.com/bible_study_topics.html?Verse=" + rndver + "#seltop' target='_blank'><img src='http://www.teamrhinozone.com/images/study_icon2.gif' width=8 height=9 border=0 title='Go to Bible Study topics for this verse'></a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'>";
  document.write("<table border=1 bgcolor='" + bgColorDark + "' bordercolor=#ff6600 width=298 cellpadding=2 cellspacing=0><tr><td><center><i><font  face='Arial' color='yellow' size='" + VerseFontSize + "'>" + memkjv[rndver] + "</font>");
  document.write("<br><font face='Arial' color=white></i><font size=1>" + memref[rndver] + "<font size=1> (KJV) </font>&nbsp;&nbsp;<font size=1><a href='javascript:location.reload(true)' title='Change random verse and photo.'><img src='http://www.teamrhinozone.com/images/reset_icon2.gif' border=0 width=7 height=8></a>" + FlCrdLink + parimglnk + CSimgLink + "<br></font></font></center></td></tr></table></center></td></tr>");
 }
else if (user_version == "NAS")
 {
  if (urltest2 != '/mem_verse_popup.html')
   {
    popuptxt = " <a href='javascript:openPopUp(3)'>" + popupimg + "</a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'>";
   }
  document.write(popuptxt + "<font face='Arial' color=white size='2'><b>TRZ Random NASB Bible Memory Verse</b>");
  document.write(photo_string);
  FlCrdLink = "<img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'><a href='javascript:openFlashCard(3," + rndver + ");'><img src='http://www.teamrhinozone.com/images/flashcard_icon.gif' border=0 title='Pop-Up Flash Card for this verse' width=8 height=8></a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'><a href='http://www.teamrhinozone.com/bible_study_topics.html?Verse=" + rndver + "#seltop' target='_blank'><img src='http://www.teamrhinozone.com/images/study_icon2.gif' width=8 height=9 border=0 title='Go to Bible Study topics for this verse'></a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'>";
  document.write("<table border=1 bgcolor='" + bgColorDark + "' bordercolor=#ff6600 width=298 cellpadding=2 cellspacing=0><tr><td><center><i><font  face='Arial' color='yellow' size='" + VerseFontSize + "'>" + memnas[rndver] + "</font>");
  document.write("<br><font face='Arial' color=white></i><font size=1>" + memref[rndver] + "<font size=1> (NASB <a href='javascript:NASBcopyright();'><img src='http://www.teamrhinozone.com/images/copyright.gif' border=0 width=7 height=7></a>) </font>&nbsp;&nbsp;<font size=1>" + newVerPhoLnk + FlCrdLink + parimglnk + CSimgLink + "<br></font></font></center></td></tr></table></center></td></tr>");
 }
else if (user_version == "NLT")
 {
  if (urltest2 != '/mem_verse_popup.html')
   {
    popuptxt = " <a href='javascript:openPopUp(5)'>" + popupimg + "</a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'>";
   }
  document.write(popuptxt + "<font face='Arial' color=white size='2'><b>TRZ Random NLT Bible Memory Verse</b>");
  document.write(photo_string);
  FlCrdLink = "<img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'><a href='javascript:openFlashCard(4," + rndver + ");'><img src='http://www.teamrhinozone.com/images/flashcard_icon.gif' border=0 title='Pop-Up Flash Card for this verse' width=8 height=8></a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'><a href='http://www.teamrhinozone.com/bible_study_topics.html?Verse=" + rndver + "#seltop' target='_blank'><img src='http://www.teamrhinozone.com/images/study_icon2.gif' width=8 height=9 border=0 title='Go to Bible Study topics for this verse'></a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'>";
  document.write("<table border=1 bgcolor='" + bgColorDark + "' bordercolor=#ff6600 width=298 cellpadding=2 cellspacing=0><tr><td><center><i><font  face='Arial' color='yellow' size='" + VerseFontSize + "'>" + memnlt[rndver] + "</font>");
  document.write("<br><font face='Arial' color=white></i><font size=1>" + memref[rndver] + "<font size=1> (NLT <a href='javascript:NLTcopyright();'><img src='http://www.teamrhinozone.com/images/copyright.gif' border=0 width=7 height=7></a>) </font>&nbsp;&nbsp;<font size=1>" + newVerPhoLnk + FlCrdLink + parimglnk + CSimgLink + "<br></font></font></center></td></tr></table></center></td></tr>");
 }
else if (user_version == "RV")
 {
  if (urltest2 != '/mem_verse_popup.html')
   {
    popuptxt = " <a href='javascript:openPopUp(4)'>" + popupimg + "</a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'>";
   }
  document.write(popuptxt + "<font face='Arial' color=white size='2'><b>TRZ RV Versículo Para Memorizar</b>");
  document.write(photo_string);
  FlCrdLink = "<img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'><a href='javascript:openFlashCard(5," + rndver + ");'><img src='http://www.teamrhinozone.com/images/flashcard_icon.gif' border=0 title='Pop-Up Flash Card for this verse' width=8 height=8></a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'><a href='http://www.teamrhinozone.com/bible_study_topics.html?Verse=" + rndver + "#seltop' target='_blank'><img src='http://www.teamrhinozone.com/images/study_icon2.gif' width=8 height=9 border=0 title='Go to Bible Study topics for this verse'></a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'>";
  document.write("<table border=1 bgcolor='" + bgColorDark + "' bordercolor=#ff6600 width=298 cellpadding=2 cellspacing=0><tr><td><center><i><font  face='Arial' color='yellow' size='" + VerseFontSize + "'>" + memrv[rndver] + "</font>");
  document.write("<br><font face='Arial' color=white></i><font size=1>" + memrefRV[rndver] + "<font size=1> (RV <a href='javascript:RVcopyright();'><img src='http://www.teamrhinozone.com/images/copyright.gif' border=0 width=7 height=7></a>) </font>&nbsp;&nbsp;<font size=1>" + newVerPhoLnk + FlCrdLink + parimglnk + CSimgLink + "<br></font></font></center></td></tr></table></center></td></tr>");
 }
else // NIV
 {
  if (urltest2 != '/mem_verse_popup.html')
   {
    popuptxt = " <a href='javascript:openPopUp(1)'>" + popupimg + "</a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'>";
   }
  document.write(popuptxt + "<font face='Arial' color=white size='2'><b>TRZ Random NIV Bible Memory Verse</b>");
  document.write(photo_string);
  FlCrdLink = "<img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'><a href='javascript:openFlashCard(1," + rndver + ");'><img src='http://www.teamrhinozone.com/images/flashcard_icon.gif' border=0 title='Pop-Up Flash Card for this verse' width=8 height=8></a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='2'><a href='http://www.teamrhinozone.com/bible_study_topics.html?Verse=" + rndver + "#seltop' target='_blank'><img src='http://www.teamrhinozone.com/images/study_icon2.gif' width=8 height=9 border=0 title='Go to Bible Study topics for this verse'></a><img src='http://www.teamrhinozone.com/images/blank.gif' height='1' width='3'>";
  document.write("<table border=1 bgcolor='" + bgColorDark + "' bordercolor=#ff6600 width=298 cellpadding=2 cellspacing=0><tr><td><center><i><font  face='Arial' color='yellow' size='" + VerseFontSize + "'>" + memniv[rndver] + "</font>");
  document.write("<br><font face='Arial' color=white></i><font size=1>" + memref[rndver] + "<font size=1> (NIV <a href='javascript:NIVcopyright();'><img src='http://www.teamrhinozone.com/images/copyright.gif' border=0 width=7 height=7></a>) </font>&nbsp;&nbsp;<font size=1>" + newVerPhoLnk + FlCrdLink + parimglnk + CSimgLink + "<br></font></font></center></td></tr></table></center></td></tr>");
 }

document.write("<tr><td height=12 valign=bottom><center>");
document.write("<SPAN id=RndLnkArea2> </span>");
document.write("<font face='Arial' color=white></font><img src='http://www.teamrhinozone.com/images/blank.gif' height=2 width=1><font size=1><br></font><img src='http://www.teamrhinozone.com/images/mem_vs_border.gif'><font size=1><br></font></center></td></tr></table></center>");

RndLnkAreaText = "";

GetRandomLink();

RndLnkArea2.innerHTML = RndLnkAreaText;


