var currentId = "none";
var timer;

function show(id)
{
	if(currentId != "none")
		nodelay_hide(currentId);
	document.getElementById(id).style.visibility = "visible";
}
function stay(id)
{
	clearTimeout(timer);
	show(id);
}
function nodelay_hide(id)
{
	document.getElementById(id).style.visibility = "hidden";
}
function hide(id)
{
	currentId = id;
	timer = setTimeout("hide_dropdown()", 400);
}
function hide_dropdown()
{
	document.getElementById(currentId).style.visibility = "hidden";
}
function open_popup(link, title)
{
	window.open(link, title, 'toolbar=0, menubar=0, resizable=0, dependent=0, status=0, width=250, height=200, left=25, top=25');
}

function popup()
{
	return true;
}