function toggle(id)
{
	//positionBottom is absolute
	var e = document.getElementById(id);

	if(e.style.display == "block")
	{
		e.style.display = "none";
		e.style.zIndex = "-100";
	}
	else 
	{
		e.style.display = "block";
		e.style.zIndex = "5000";
	}
}

	
		function managementResetPassword(id, name)
		{
			if(confirm("Reset password for user:\n\t"+id+" | "+name))
			{
				new Ajax.Updater('', "/protected/sections/management/resetuser.php?payroll="+id, {method:'post'});
			}	
		}



