function login_pulldowns()
	{
	if (self == parent) return;
	if (!parent.headerframe) return;
	if (!parent.headerframe.document) return;
	if (!parent.headerframe.document.body) return;
	parent.headerframe.page_loaded = true;
	}

function logout_pulldowns()
	{
	if (self == parent) return;
	if (!parent.headerframe) return;
	if (!parent.headerframe.document) return;
	if (!parent.headerframe.document.body) return;
	parent.headerframe.page_loaded = false;
	}

function hide_pulldown(id) 
	{
	if (document.getElementById)
		{
		thisPulldown = document.getElementById(id);
		thisPulldown.style.display = "none";
		thisPulldown.style.top = -500;
		}
	}

function hide_all_pulldowns()
	{
	if (document.getElementsByTagName)
		{
		var allDivs = document.getElementsByTagName("DIV");
		for (i=0; i<allDivs.length; i++)
			{
			if (allDivs[i].className == "pulldown") hide_pulldown(allDivs[i].id);
			}
		}
	}

function show_pulldown (id,posLeft)
	{
	if (document.getElementById)
		{
		hide_all_pulldowns();
		pulldown_over();
		thisPulldown = document.getElementById(id);
		var pageScroll = self.pageYOffset;
		if (typeof pageScroll == "undefined") pageScroll = document.body.scrollTop;
		if (typeof pageScroll == "undefined") return;
		thisPulldown.style.top = pageScroll;
		thisPulldown.style.left = posLeft;
		thisPulldown.style.display = "inline";
		}
	}

function pulldown_over()
	{
	if(hidePulldown)
		{
		clearTimeout(hidePulldown);
		hidePulldown=false;
		}
	}

function pulldown_out()
	{
	hidePulldown = setTimeout(hide_all_pulldowns,1000);
	}

var hidePulldown = false;



