<!--// 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 Popup
function newWindow(url, name) {
window.open(url, 'name', 'resizable,width=600,height=420,left=5,top=5')
}
// End Pop up -->

<!--// Begin Breadcrumb

var dList = new Array();
var nList = new Array();

// Begin custom directory titles
// Root directories
dList[0] = 'veghort';
nList[0] = 'Veg. Horticulture';
dList[1] = 'sar';
nList[1] = 'SAR';
dList[2] = 'trans';
nList[2] = 'Transplants';
dList[3] = 'genpubs';
nList[3] = 'General';
dList[4] = 'news';
nList[4] = 'Newsletters';
dList[5] = 'sta_rpts';
nList[5] = 'Reports';
dList[6] = 'vegtran';
nList[6] = 'Transplants';
dList[7] = 'workshop';
nList[7] = 'Workshops';
dList[8] = 'canta';
nList[8] = 'Cantaloupe';
dList[9] = 'final';
nList[9] = 'Final';
dList[10] = 'pepper';
nList[10] = 'Peppers';
dList[11] = 'tomato';
nList[11] = 'Tomatoes';
dList[12] = 'pubs';
nList[12] = 'Publications';
dList[13] = 'trials';
nList[13] = 'Trials';
dList[14] = 'tylcv';
nList[14] = 'TYLCV';
dList[15] = 'organic';
nList[15] = 'Organic';
dList[16] = 'conventional';
nList[16] = 'Conventional';

// 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 -->