

function showNavigationSectionIcons(){
	
	return;
	
	//Show the icon
	topNavigationSection.showIcon();
		
	//Update the navigation section with the desired setting
	setNavigationStyle(topNavigationSection.setting);
}



function setNavigationStyle(desiredSetting){
	
	return;
	
	//Change the current value
	topNavigationSection.setting = desiredSetting;
	
	if(desiredSetting == 'single')
	{
		document.getElementById('singleWindowText').firstChild.nodeValue = 'Currently using Single-Window Mode';
		document.getElementById('multipleWindowText').firstChild.nodeValue = 'Change to Multi-Window Mode';
	}else{
		document.getElementById('singleWindowText').firstChild.nodeValue = 'Change to Single-Window Mode';
		document.getElementById('multipleWindowText').firstChild.nodeValue = 'Currently using Multi-Window Mode';	
	}
	
	//Change the icon to the correct current value
	try
	{
		var newIconLocation = topNavigationSection.iconFileLocation.substring(0, topNavigationSection.iconFileLocation.lastIndexOf('_')) + '_' + topNavigationSection.setting + topNavigationSection.iconFileLocation.substring(topNavigationSection.iconFileLocation.indexOf('.'), topNavigationSection.iconFileLocation.length);
		topNavigationSection.icon.src = newIconLocation
		topNavigationSection.iconFileLocation = newIconLocation;
	}catch(e)
	{}
}



function showIcon(){
	
	return;
	
	if(window.top.document.location.href.indexOf('/admin') > -1 || window.top.document.location.search.indexOf('toMultipleWindow') > -1)
	{
		return;
	}
	
	//Verify the references
	if(this.icon == undefined || this.layer == undefined || this.selectionLayer == undefined){return;}
	
	//Set the values for the objects
	this.icon.src = this.iconFileLocation;	
	this.icon.onmouseover = handleNavigationSelectionEntrance;
	this.icon.onclick = handleNavigationSelectionEntrance;
		
	this.selectionLayer.onmouseout = handleNavigationSelectionExit;	
		
	//Assign a class to the layer and image
	this.layer.className = this.layerName + navStyleExtension;
	this.icon.className = this.layerName + '_icon' + navStyleExtension;
	this.selectionLayer.className = this.layerName + '_selection' + navStyleExtension;
		
	if(this.icon.style.display != 'block'){this.icon.style.display = 'block';}
	if(this.layer.style.display != 'block'){this.layer.style.display = 'block';}
}


function hideIcon(){
	
	return;
	
	//Hide the layer if it doesn't exist
	if(document.all[this.layerName] != undefined){
		this.icon.style.display = 'none';
		this.layer.style.display = 'none';
		this.selectionLayer.style.display = 'none';}
}



function handleNavigationSelectionEntrance(e){
	
	return;
					
	topNavigationSection.selectionLayer.style.display = 'block';
	
	//Hide all visible subNavMenus
	for(var i = 0; i < subMenus.length; i++){
		document.getElementById(subMenus[i].name).style.display = "none";}
}


function handleNavigationSelectionExit(e){
	
	return;
	
	if(isIE)
	{
		var windowEvent = window.event;
		var layerStyle = topNavigationSection.selectionLayer.currentStyle;
	}else{
		var windowEvent = e;
		var layerStyle = topNavigationSection.selectionLayer;
	}
			
	if(topNavigationSection.selectionLayer.style.display == 'block')
	{
		if(windowEvent.type == 'mouseout')
		{							
			if(isIE){
				if(parseInt(layerStyle.top) < windowEvent.clientY &&
					(parseInt(layerStyle.top) + parseInt(topNavigationSection.selectionLayer.clientHeight)) > windowEvent.clientY &&
					parseInt(layerStyle.left) < windowEvent.clientX &&
					(parseInt(layerStyle.left) + parseInt(layerStyle.width)) > windowEvent.clientX)
				{
					return;
				}	
			}else{
				if(parseInt(layerStyle.offsetTop) < windowEvent.clientY &&
					(parseInt(layerStyle.offsetTop) + parseInt(layerStyle.offsetHeight)) > windowEvent.clientY &&
					parseInt(layerStyle.offsetLeft) < windowEvent.clientX &&
					(parseInt(layerStyle.offsetLeft) + parseInt(layerStyle.offsetWidth)) > windowEvent.clientX)
				{
					return;
				}	
			}
					
		}
		
		topNavigationSection.selectionLayer.style.display = 'none';
	}
}




function addSelectionHighlight(rowItem, textItem)
{
	document.getElementById(rowItem).className = 'containerHighlight';
	document.getElementById(textItem).className = 'siteNavigationSelectionTextHightlight';
}

function removeSelectionHighlight(rowItem, textItem)
{
	document.getElementById(rowItem).className = 'container';
	document.getElementById(textItem).className = 'siteNavigationSelectionText';
}

















/*


function toggleSetting(desiredSetting)
{	
	navDisabled = false;	
		
	//Leave if they selected what they had before
	if(topNavigationSection.setting == desiredSetting){return;}
	
	//If we are going from multi window to single window, check if we have references to windows
	if(desiredSetting == 'single')
	{
		var closeAllWindowsButRoot;
		
		//Search the window page mappings for window references
		for(var i = 0; i < windowPageMappings.length; i++)
		{
			//If the window page mapping has a window reference and it isn't the root window, then process its window for closing
			if(windowPageMappings[i].windowRef != undefined && !windowPageMappings[i].isRoot && !windowPageMappings[i].windowRef.closed)
			{
				if(closeAllWindowsButRoot == undefined)
				{					
					closeAllWindowsButRoot = confirm('\t   SWITCHING FROM MULTIPLE WINDOWS TO A SINGLE WINDOW\n' +
						'--------------------------------------------------------------------------------------------------------------\n' + 
						'--------------------------------------------------------------------------------------------------------------\n\n' + 
						'\tYou are currently using single window mode for browing the Discover\n' +
						'\tGuide Map web site. The all links for the site will open in this window.\n\n' +
						'\tYou can close all other Discover Guide Map windows by selecting "OK"\n' +
						'\tbelow. IF YOU DO NOT WANT TO CLOSE ALL OTHER BROWSER\n' +
						'\tWINDOWS, please select "CANCEL".\n\n' + 						
						'--------------------------------------------------------------------------------------------------------------\n' + 
						'--------------------------------------------------------------------------------------------------------------');
				
				
					i = -1;				
				}else if(closeAllWindowsButRoot)
				{
					windowPageMappings[i].windowRef.close();
					windowPageMappings[i].windowRef = undefined;				
				}else{
					//Tell the window that it is the root window and is in single window mode
					windowPageMappings[i].windowRef.header.rootWindow = windowPageMappings[i].windowRef.header;
					
					for(var j = 0; j < windowPageMappings[i].windowRef.header.windowPageMappings.length; j++)
					{
						windowPageMappings[i].windowRef.header.windowPageMappings[j].windowRef = undefined;
					}
					
					windowPageMappings[i].windowRef.header.topNavigationSection.toggleSetting('single');
				}
			}
		}	
	}
	
	//Tell each opened window we have a reference for that it is the root window and is in single window mode
	for(var i = 0; i < windowPageMappings.length; i++)
	{
		windowPageMappings[i].windowRef = undefined;		
	}
	
	//Update the navigation section with the desired setting
	setNavigationStyle(desiredSetting);	
}



*/
