<!--// 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] = 'liv';
nList[0] = 'LIV (ARCHIVE)';
dList[1] = 'groups';
nList[1] = 'Groups';
dList[2] = 'comm';
nList[2] = 'Communications';
dList[3] = 'team';
nList[3] = 'Team';
dList[4] = 'cultural';
nList[4] = 'Cultural';
dList[5] = 'cover';
nList[5] = 'Covercrops';
dList[6] = 'irrigate';
nList[6] = 'Irrigation';
dList[7] = 'drip';
nList[7] = 'Drip';
dList[8] = 'pests';
nList[8] = 'Pests';
dList[9] = 'progress';
nList[9] = 'Progress';
dList[10] = 'physio';
nList[10] = 'Physiological';
dList[11] = 'seed';
nList[11] = 'Seeds';
dList[12] = 'tensio';
nList[12] = 'Tensiometer';
dList[13] = 'trial';
nList[13] = 'Trials';
dList[14] = 'economic';
nList[14] = 'Economic';
dList[15] = 'ipm';
nList[15] = 'IPM';
dList[16] = 'ento';
nList[16] = 'Entomology';
dList[17] = 'path';
nList[17] = 'Pathology';
dList[18] = 'weed_con';
nList[18] = 'Weed Control';
dList[19] = 'needs';
nList[19] = 'Area Needs';

// 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 -->