<!--// Begin Pull Down Menu
function urlSelector(form){
var selectedUrl = form.site.options[form.site.selectedIndex].value
window.location.href = selectedUrl
}
// End Pull Down Menu -->

<!--// Begin Breadcrumb

var dList = new Array();
var nList = new Array();

// Begin custom directory titles
// Root directories
dList[0] = 'bfg';
nList[0] = 'Budwood Foundation Grove';
dList[1] = 'expo';
nList[1] = 'Citrus Expo';
dList[2] = 'news';
nList[2] = 'Newsletter';
dList[3] = 'projects';
nList[3] = 'Projects';
dList[4] = 'citrus';
nList[4] = 'Citrus Horticulture';

// End custom directory titles

function breadcrumbs(sClass, sDelimiter)
{
    if(!sDelimiter) sDelimiter = '|';
    var sURL = (location.pathname.indexOf('?') != -1) ? location.pathname.substring(0, location.pathname.indexOf('?')) : location.pathname;
        sURL = (location.pathname.charAt(0) == '/') ? location.pathname.substring(1) : location.pathname;
    var aURL = sURL.split('/');
    if(aURL)
    {
      var sOutput = '<a href="/index.htm">Home</a> ' + sDelimiter + ' ';
      var sPath = '/';
      for(var i = 0; i < aURL.length; i++)
      {
        if(aURL[i].indexOf('.htm')!=-1 || aURL[i].indexOf('.asp')!=-1)continue;      
        sPath += aURL[i] + '/';
        for(var s = 0; s < dList.length; s++)if(aURL[i]==dList[s])aURL[i]=nList[s];       
// Added 'index.htm' to sOutput to clean up unwanted tiers (/'s) when previous tier points to current page        
        sOutput += '<a href="' + sPath + 'index.htm' + '"';        
        //if(sClass) sOutput += ' class="' + sClass +'"';
// Made conditional to fix double // bug that occurs when paths to directories don't end with '/'       
          if(sOutput.indexOf('//') == -1){
          sOutput += '>' + aURL[i] + '</a>';
          sOutput += ' ' + sDelimiter + ' ';
          }
        }
// See if there is enough room to write the page title or just Current Page
    if(document.title.length <= 30) {
       sOutput += document.title
    }else{
      sOutput += 'Current Page'
     }
document.write(sOutput)
    }
}
// End Breadcrumb -->