// JavaScript Document
//daquiri
var presentStyle;
function toggleStyleDaquiris(whichLayer)
{
	if (document.getElementById)
	{
		// this is the way the standards work
		if (presentStyle != null)
		{
			var lastOne = document.getElementById(presentStyle).style;
			lastOne.backgroundPosition = "0px 0px";
		}
		var style2 = document.getElementById(whichLayer).style;
		style2.backgroundPosition = "0px -40px";
		presentStyle = whichLayer;
	}
}

var currentExpanded;
function toggleLayer(whichLayer)
{
	if (document.getElementById)
	{
		// this is the way the standards work
		if (currentExpanded != null)
		{
			var lastOne = document.getElementById(currentExpanded).style;
			lastOne.display = "";
		}
		var style2 = document.getElementById(whichLayer).style;
		style2.display = style2.display? "":"inline";
		currentExpanded = whichLayer;		
	}
}

var currentDecoration;
function toggleTextDecoration(whichLayer)
{
	if (document.getElementById)
	{
		// this is the way the standards work
		if (currentDecoration != null)
		{
			var lastOne = document.getElementById(currentDecoration).style;
			lastOne.textDecoration = "";
		}
		var style2 = document.getElementById(whichLayer).style;
		style2.textDecoration = style2.textDecoration? "":"underline";

		
		currentDecoration = whichLayer;		
	}
}

// Decoration
var currentDecoration2;

function toggleStyleDecoration(whichLayer)
{
	if (document.getElementById)
	{
		// this is the way the standards work
		if (currentDecoration2 != null)
		{
			var lastOne = document.getElementById(currentDecoration2).style;
			lastOne.textDecoration = "";
		}
		var style2 = document.getElementById(whichLayer).style;
		style2.textDecoration = style2.textDecoration? "":"underline";
		
		
		
		
		currentDecoration2 = whichLayer;		
	}
}




<!-- div show/hide
var currentExpanded;

function toggleLayer(whichLayer)
{
	if (document.getElementById)
	{
		// this is the way the standards work
		if (currentExpanded != null)
		{
			var lastOne = document.getElementById(currentExpanded).style;
			lastOne.display = "";
		}
		var style2 = document.getElementById(whichLayer).style;
		style2.display = style2.display? "":"inline";
		currentExpanded = whichLayer;		
	}
}