function PDMShow( Node, name ) {
	var pdm = document.getElementById( "PDMenu_" + name );
	if( !pdm ) return;
	
	clearInterval( pdm.TimeInterval );

	with( pdm.style ) {
		if( Node ) {
			top = ( Node.parentNode.offsetTop + Node.clientHeight - 4 ) + "px";
			left = ( Node.offsetLeft ) + "px";
			height = "";
			width = "";
			visibility="visible";
		}
		border = "outset 1px #FFFFFF";
		zIndex=300;
		opacity = 1;
		filter= "alpha(opacity=100)";
	}
}

function PDMHide( name ) {
	var pdm = document.getElementById( "PDMenu_" + name );
	if( !pdm ) return;

	with( pdm.style ) {
		zIndex--;
	}
	
	pdm.TimeInterval = setInterval( "doPDMHide( '" + name + "' )", 50 );
}

function doPDMHide( name ) {
	var pdm = document.getElementById( "PDMenu_" + name );
	if( !pdm ) return;

	with( pdm.style ) {
		if( opacity >= 0 ) {
			opacity -= 0.1;
			filter= "alpha(opacity= " + ( opacity * 100 ) + " )";
			return;
		}
		top = "0px";
		left = "0px";
		height = "0px";
		width = "0px";
		border = "0";
		visibility="hidden";
	}
	
	clearInterval( pdm.TimeInterval );
	pdm.TimeInterval = null;
}

