
var counter = 0;
var mode = 1; // Mode 1 is single id Check mode 2 is Directory Check
var linkText = new Array();
var linkLinks = new Array();
var linkCheck = new Array(); // Used for mode 1;
var dirCheck = '';// Used for Mode 2;
var winUrl = new String(window.location);
var htmlCode1 = '<span class="arrow">></span>&nbsp<span class="navOn">'; // Opening tag to encase text when it is not linked;
var htmlCode2 = '</span><br>'; // Ending tag to encase text when it is not linked;
var separator = '  '; // Separator , can be any html, character, etc. Can even be an image;


//To add a link to nav bar, copy and paste between these spaces
var exempt = '';
//Begin Copy   ---------------------
counter++; // Counter Used to keep track of your links
linkText[counter] = 'home';
linkLinks[counter] = '<span class="arrow">&nbsp</span>&nbsp&nbsp<a href="/index.shtml" class="navLinks"><font color="#ffffff">' // If you are using for multiple directories, use only absolute links
linkCheck[counter] = 'home';
//End Copy -------------------------
//Begin Copy   ---------------------
counter++; // Counter Used to keep track of your links
linkText[counter] = 'services';
linkLinks[counter] = '<span class="arrow">&nbsp</span>&nbsp&nbsp<a href="http://www.boer.org/services.shtml" class="navLinks"><font color="#ffffff">' // If you are using for multiple directories, use only absolute links
linkCheck[counter] = 'services';
//End Copy -------------------------
//Begin Copy -------------------------
counter++; // Counter Used to keep track of your links
linkText[counter] = 'bio';
linkLinks[counter] = '<span class="arrow">&nbsp</span>&nbsp&nbsp<a href="/bio.shtml" class="navLinks"><font color="#ffffff">' // If you are using for multiple directories, use only absolute links
linkCheck[counter] = 'bio';
//End Copy -------------------------
//Begin Copy   ---------------------
counter++; // Counter Used to keep track of your links
linkText[counter] = 'books';
linkLinks[counter] = '<span class="arrow">&nbsp</span>&nbsp&nbsp<a href="/books.shtml" class="navLinks"><font color="#ffffff">' // If you are using for multiple directories, use only absolute links
linkCheck[counter] = 'books'
//End Copy -------------------------
//Begin Copy   ---------------------
counter++; // Counter Used to keep track of your links
linkText[counter] = 'papers';
linkLinks[counter] = '<span class="arrow">&nbsp&nbsp</span>&nbsp<a href="/papers.shtml" class="navLinks"><font color="#ffffff">' // If you are using for multiple directories, use only absolute links
linkCheck[counter] = 'papers';
//End Copy -------------------------
//Begin Copy   ---------------------
counter++; // Counter Used to keep track of your links
linkText[counter] = 'contact us';
linkLinks[counter] = '<span class="arrow">&nbsp</span>&nbsp&nbsp<a href="mailto:fpboer@boer.org" class="navLinks"><font color="#ffffff">' // If you are using for multiple directories, use only absolute links
linkCheck[counter] = 'contact us';
//End Copy -------------------------


// Paste All Link additions above this line! ! ! ! ! ! !
// Do NOT MODIFY ANYTHING BELOW THIS LINE ! ! ! ! ! ! ! !
// ---------------------------------------------------------

var temp;
for(count = 1; count <=counter; count++)
{ // Start of For Loop

if(mode ==1) {
   if(winUrl.indexOf(linkCheck[count])== -1) {
    temp = linkLinks[count] + linkText[count] + "</font></a><br>";
  } else {
    temp = htmlCode1 + linkText[count] + htmlCode2;
  }
} else {
  if(winUrl.indexOf(dirCheck) == -1) {
    temp = linkLinks[count] + linkText[count] + "</font></a><br>";
  } else {
    temp = htmlCode1 + linkText[count] + htmlCode2;
  }


}

  document.write(temp);
 if(count != counter) 
  document.write(separator);


} // End of For Loop

