function BreadCrumbs(){

      /*****
      Dynamic Javascript Breadcrumb Navigation by Adam DuVander
      http://duvinci.com/projects/javascript/crumbs/
      
      Released under Creative Commons License:
      http://creativecommons.org/licenses/by/2.5/
			
			05/18/2007, jstrimpe@soe.ucsd.edu - modified by Jason Strimpel for the CCSD web site. For any
			help with this file send mail to dehelp@soe.ucsd.edu.
			
			To add a new "user friendly " directory name use the following syntax:
			objurl['actual_directory_name'] = 'Name You Want to Appear in Bread Crumb Trail';
			If a name is not provided then the actual directory name will be used with first
			letter capitalized. So for the example above the following strinf would print if
			a name was not defined: "Actual_directory_name". Please define all new names below
			with the existing names.
			
			
      *****/
      var crumbsep = " &raquo; ";
      var precrumb = "";
      var postcrumb = "";
      var sectionsep = "/";
      var rootpath = "/"; // Use "/" for root of domain.
      var rootname = "Home";	
      
      var ucfirst = 1; // if set to 1, makes "directory" default to "Directory"
      
      var objurl = new Object;
      // about us
      objurl['about'] = 'About Us';			
			objurl['about_news'] = 'News';
			// faculty
      objurl['faculty'] = 'Faculty';
			// seminars
      objurl['seminars'] = 'Seminars';
			objurl['seminars_archives'] = 'Archives';
			objurl['seminars_gallery'] = 'Photo Gallery';
      // courses
			objurl['courses'] = 'Courses';
			objurl['courses_grad'] = 'Graduate';
			objurl['courses_undergrad'] = 'Undergraduate';
      objurl['spnosors'] = 'Spnosors';

      
      // Grab the page's url and break it up into directory pieces
      var pageurl = (new String(document.location));
      
      // 05/18/2007 jstrimpe - check to see if location is the index page of the last directory in the tree
			// new file extensions for index pages may be added by using the following sytax: ||pageurl.match(".asp")
      var link_last_crumb = 0;
      if ((pageurl.match(".shtml")||pageurl.match(".html")||pageurl.match(".php")||pageurl.match(".pl")) && !pageurl.match("index."))
      {
        link_last_crumb = 1;
      } else{
        link_last_crumb = 0;
      }
      
      var protocol = pageurl.substring(0, pageurl.indexOf("//") + 2);
      pageurl = pageurl.replace(protocol, ""); // remove protocol from pageurl
      var rooturl = pageurl.substring(0, pageurl.indexOf(rootpath) + rootpath.length); // find rooturl
      if (rooturl.charAt(rooturl.length - 1) == "/") //remove trailing slash
      {
        rooturl = rooturl.substring(0, rooturl.length - 1);
      }
      pageurl = pageurl.replace(rooturl, ""); // remove rooturl fro pageurl
      if (pageurl.charAt(0) == '/') // remove beginning slash
      {
        pageurl = pageurl.substring(1, pageurl.length);
      }
      
      var page_ar = pageurl.split(sectionsep);
      var currenturl = protocol + rooturl;
      var allbread = precrumb + "<a href=\"" + currenturl + "\">" + rootname + "</a>" + postcrumb; // start with root
      // 05/18/2007 jstrimpe - get the numeric value for the last loop item
      var last_crumb = page_ar.length-2;
      
      for (i=0; i < page_ar.length-1; i++)
      {
        var displayname = "";
        currenturl += "/" + page_ar[i];
        if (objurl[page_ar[i]])
        {
          displayname = objurl[page_ar[i]];
        }
        else
        {
          if (ucfirst == 1)
          {
            displayname = page_ar[i].charAt(0).toUpperCase() + page_ar[i].substring(1);
          }
          else
          {
            displayname = page_ar[i];
          }
        }
          // 05/18/2007 jstrimpe - if location is the index page of the last directory in the tree do not link it.
          if (i!=last_crumb){
            allbread += crumbsep + precrumb + "<a href=\"" + currenturl + "\">" + displayname + "</a>" + postcrumb;
          }else{
            if(link_last_crumb==1){
              allbread += crumbsep + precrumb + "<a href=\"" + currenturl + "\">" + displayname + "</a>" + postcrumb;
            } else{
              allbread += crumbsep + precrumb +  displayname + postcrumb;
            }
          }
      }
      document.write(allbread);  

}
