
var dList = new Array();
var nList = new Array();

// dir staging to This is a test

dList[0] = 'serverconnectivity';
nList[0] = 'HP 9000 and HP Integrity server connectivity';
dList[1] = 'storagesnf2';
nList[1] = 'Mass storage connectivity';
 

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.toLowerCase().split('/');
    if(aURL)
    {
  var sOutput = '<a href="/products1/serverconnectivity/index.html" class="udrlinesmall">HP Integrity and HP 9000 server connectivity</a>' ;
// 	 var sOutput = '';
      var sPath = '/products1/serverconnectivity/';
      for(var i = 2; i < aURL.length-1; i++)
	        {
        if(aURL[i].toUpperCase().indexOf('.HTML')!=-1)continue;
        if(aURL[i].toUpperCase().indexOf('.HTM')!=-1)continue;
        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);
    }
}
