// JavaScript Document


function ShowDelivPopup(owner, popupId)
{
	var x = document.getElementById(popupId);
	if ( x )
	{
		owner.style.color = 'red';
		x.style.visibility = 'visible';
/*		var oTop = 0;
		if ( owner.style.top != undefined )
		{
			oTop = owner.style.top;
			var oHeight = 0;
			if ( owner.clientHeight != undefined )
				oHeight = owner.clientHeight;
			x.style.top = oTop + oHeight;
		}
		x.style.left = owner.style.left;
*/	}
	else
		alert('Unable to locate floating panel.  Please check to make sure javascript is enabled for this page.');
}
function HideDelivPopup()
{
	var x = document.getElementById('DelivPopup1');
	if ( x )
		x.style.visibility = 'hidden';
	var x = document.getElementById('DelivPopup2');
	if ( x )
		x.style.visibility = 'hidden';
	var x = document.getElementById('DelivPopup3');
	if ( x )
		x.style.visibility = 'hidden';
	var x = document.getElementById('DelivPopup4');
	if ( x )
		x.style.visibility = 'hidden';
	var x = document.getElementById('DelivPopup5');
	if ( x )
		x.style.visibility = 'hidden';
}


