/////////////////////////////////////////////////////////////////////////////
// Function : NavegacionInferiorLasPalmas
// Comments : 
/////////////////////////////////////////////////////////////////////////////

function NavegacionInferiorLasPalmas(strTextColor, strFocusColor, strHoverColor, strSeparator, strClassName, strShowHome)
{
	this.m_TextColor  = '';
	this.m_HoverColor = '';
	this.m_FocusColor = '';
	this.m_Separator  = '|';
	this.m_ClassName  = 'NavegacionInferiorLasPalmas';
	
	this.m_ShowHome   = false;
	this.m_NavPath    = g_navNode_Path;
			
	NavegacionInferiorLasPalmas.prototype.Display = NavegacionInferiorLasPalmas_Display;
		
	if (strTextColor != '')
		this.m_TextColor = strTextColor;
		
	if (strHoverColor != '')
		this.m_HoverColor = strHoverColor;

	if (strFocusColor != '')
		this.m_FocusColor = strFocusColor;

	if (strSeparator != '')
		this.m_Separator = strSeparator;

	if (strClassName != '')
		this.m_ClassName = strClassName;

	if (strShowHome == 'true')
		this.m_ShowHome = true;
}

function NavegacionInferiorLasPalmas_Display (node)	
{
	var node_hijo;
		
	var ds = new Array();
	var di = 0;
	var count = 0;

	var href = '';
	var label = '';
	
	ds[di++] = '<span class="copy">';
	
	for ( ; count < node.m_subNodes.length; count++)
	{
		
		label = node.m_subNodes[count].m_label;
		node_hijo=node.m_subNodes[count];
		href = node_hijo.m_subNodes[0].m_href;
						
		ds[di++] = '<a href="' + href + '"';
		ds[di++] = ' class="txtpie"';
		
		ds[di++] = '>';
		ds[di++] = label;
		ds[di++] = '</a>';

		if (count < node.m_subNodes.length - 1)
		{
			ds[di++] = '&nbsp;';
			ds[di++] = this.m_Separator;
			ds[di++] = '&nbsp;';
		}
		else
		{
			ds[di++] = '&nbsp;';
		}
	} 

	ds[di++] = '</span>';
	
	document.write(ds.join(''));
}
