
var dList = new Array();
var nList = new Array();

// dir staging to This is a test
dList[0] = 'affinity';
nList[0] = 'affinity';
dList[1] = 'announcement';
nList[1] = 'announce';
dList[2] = 'apx';
nList[2] = 'advanced printing';
dList[3] = 'atom';
nList[3] = 'atom';
dList[4] = 'cluster';
nList[4] = 'TruCluster Server';
dList[5] = 'cma';
nList[5] = 'insight management';
dList[6] = 'collect';
nList[6] = 'collect';
dList[7] = 'com';
nList[7] = 'com';
dList[8] = 'compaq_c';
nList[8] = 'C';
dList[9] = 'cplus';
nList[9] = 'C++';
dList[10] = 'data-access';
nList[10] = 'data access';
dList[11] = 'dce';
nList[11] = 'DCE';
dList[12] = 'dcpi';
nList[12] = 'DCPI';
dList[13] = 'developerstoolkit';
nList[13] = 'developers toolkit';
dList[14] = 'enterprisetoolkit';
nList[14] = 'enterprise toolkit';
dList[15] = 'fuse';
nList[15] = 'fuse';
dList[16] = 'globus';
nList[16] = 'Globus';
dList[17] = 'internet';
nList[17] = 'internet';
dList[18] = 'ladebug';
nList[18] = 'ladebug';
dList[19] = 'linux';
nList[19] = 'Linux';
dList[20] = 'manage';
nList[20] = 'manage';
dList[21] = 'noncommercial-unix';
nList[21] = 'noncommercial';
dList[22] = 'oracle9irac';
nList[22] = 'Oracle9i RAC solutions';
dList[23] = 'performance-manager';
nList[23] = 'performance manager';
dList[24] = 'portingassistant';
nList[24] = 'porting assistant';
dList[25] = 'printing';
nList[25] = 'printing';
dList[26] = 'spike';
nList[26] = 'spike';
dList[27] = 'sys_check';
nList[27] = 'sys_check';
dList[28] = 'taf';
nList[28] = 'UNIX advisory forum';
dList[29] = 'transition';
nList[29] = 'transition';
dList[30] = 'unix';
nList[30] = 'operating system';
dList[31] = 'upc';
nList[31] = 'upc';
dList[32] = 'visualthreads';
nList[32] = 'visual threads';
dList[33] = 'wbem';
nList[33] = 'WBEM';
dList[34] = 'cgi-bin';
nList[34] = '';
dList[35] = 'bin';
nList[35] = '';
dList[36] = 'isv';
nList[36] = 'ISV Update';
dList[37] = 'hpux11i';
nList[37] = 'HP-UX 11i';

function breadcrumbs(sClass, sDelimiter)
{
	sClass= 'udrlinesmall';
    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="/" class="udrlinesmall">Tru64 UNIX</a> ' ;
//	 var sOutput = '';
      var sPath = '/';
      for(var i = 0; i < aURL.length-1; i++)
	        {
  //      if(aURL[i].indexOf('alphaserver')!=-1)continue;
 // 		if(aURL[i].indexOf('workstations')!=-1) {
//		nList[4] = 'AlphaStation DS10';
//		nList[6] = 'AlphaStation DS20E';
//		nList[8] = 'AlphaStation DS25';
//		nList[9] = 'AlphaStation ES40';
//		nList[11] = 'AlphaStation ES47';
//		}
  
        if(aURL[i].indexOf('.HTML')!=-1)continue;
        if(aURL[i].indexOf('.HTM')!=-1)continue;
        if(aURL[i].indexOf('.html')!=-1)continue;
        if(aURL[i].indexOf('.htm')!=-1)continue;
		if(aURL[i].indexOf('cgi-bin')!=-1) sOutput = sOutput;


        sOutput += ' ' + sDelimiter + ' ';
        sPath += aURL[i] + '/';
        for(var s = 0; s < dList.length; s++)if(aURL[i]==dList[s])aURL[i]=nList[s];        
        sOutput += '<a href="' + sPath + '"';
        if(sClass) sOutput += ' class="' + sClass +'"';
        sOutput += '>' + aURL[i] + '</a>';
      }
	if( sOutput.substring(sOutput.length-1, sOutput.length-1) == '>')
		{
	      var sWrite = sOutput.substring(0,sOutput.length-1)
		}
		else
		{
	      var sWrite = sOutput.substring(0,sOutput.length)
		}
      document.write(sWrite);
    }
}
