<!--// 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
dList[0] = 'animal_sci';
nList[0] = 'Animal Science';
dList[1] = 'beefcattle';
nList[1] = 'Beef Cattle';
dList[2] = 'grazing';
nList[2] = 'Grazing';
dList[3] = 'carcass';
nList[3] = 'Carcass';
dList[4] = 'facilities';
nList[4] = 'Facilities'
dList[5] = 'exhibitor';
nList[5] = 'Exhibitor';
dList[6] = 'livestock';
nList[6] = 'Livestock';
dList[7] = 'forage';
nList[7] = 'Forage';
dList[8] = 'genetic';
nList[8] = 'Genetic';
dList[9] = 'health';
nList[9] = 'Health';
dList[10] = 'heifer';
nList[10] = 'Heifer';
dList[11] = 'meatgoat';
nList[11] = 'Meat Goats';
dList[12] = 'nutrition';
nList[12] = 'Nutrition';
dList[13] = 'range';
nList[13] = 'Range';
dList[14] = 'reproduction';
nList[14] = 'Reproduction';
dList[15] = 'research';
nList[15] = 'Research';
dList[16] = 'fertilizer';
nList[16] = 'Fertilizer';
dList[17] = 'goats';
nList[17] = 'Goats';
dList[18] = 'smutgrass';
nList[18] = 'Smutgrass';
dList[17] = 'swfbf';
nList[17] = 'SWFBF';


// 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 <= 38) {
       sOutput += document.title
    }else{
      sOutput += 'Current Page'
      }
document.write(sOutput)
    }
}
// End Breadcrumb -->