function toggleBox( boxID, id, otherBoxID, otherID )
{
	var box = document.getElementById( boxID );
	var me = document.getElementById( id );
	if ( arguments.length == 4 )
	{
		var otherBox = document.getElementById( otherBoxID );
		if( otherBox.style.display != "none" )
			toggleTipBox( otherBoxID, otherID, boxID, id );
	}
	if ( box.style.display != "none" )
		{ 
			box.style.display = "none";
			me.style.color = "#808080";
		}
	else
	{ 
		box.style.display = "block";
		me.style.color = "#FFF";
	}
	
}

function toggleTipBox( boxID, id, otherBoxID, otherID )
{
	var box = document.getElementById( boxID );
	var me = document.getElementById( id );
	if ( arguments.length == 4 )
	{
		var otherBox = document.getElementById( otherBoxID );
		if( otherBox.style.display != "none" )
			toggleBox( otherBoxID, otherID, boxID, id );
	}
	if ( box.style.display != "none" )
		{ 
			box.style.display = "none";
			me.style.color = "#fff";
		}
	else
	{ 
		box.style.display = "block";
		me.style.color = "#000";
	}
	
}


function searchFocus( target )
{
	target.style.backgroundImage = "";
}
