

function popIn(divId, yoff, xoff)
{
	var targetId = divId;
	var targetElement = document.getElementById(targetId);
	targetElement.style.visibility = "visible";

	if(xoff != null)
	{
		targetElement.style.marginLeft = xoff;
	}
	if(yoff != null)
	{
		targetElement.style.marginTop = yoff;
	}
}

function popOut(divId, yoff, xoff)
{
	var targetId = divId;
	var targetElement = document.getElementById(targetId);
	targetElement.style.visibility = "hidden";

	if(xoff != null)
	{
		targetElement.style.marginLeft = xoff;
	}
	if(yoff != null)
	{
		targetElement.style.marginTop = yoff;
	}
	
	window.location.href = unescape(window.location.pathname);
}












/*

				// Return Data To Assigned Function
				var returnedHtml = xmlHttp.responseText;
				returnObject.innerHTML = returnedHtml;
				
				// Hide Object After X Seconds
				if(hideObject != false)
				{
					window.closingObject = returnObject;
					setTimeout("window.closingObject.style.visibility = 'hidden'; window.closingObject = null;", hideObject*1000);
				}
				
*/