//
//	handy.js
//


function dgAlert( s)
{
	alert(s)
}


//
//	Make the containing document the top level dcoument.
//	I.e break out of any "parent" frames.
//
function dgBreakOutOfFrame()
{
	if (top.location != location)
	{
		top.location.href = document.location.href;
	}
}

//	
//
//	Set enclosing frameset
//	Used in child frames to avoid the child frame to display without 
//	an enclosing frameset.
//	
function dgUseFrameset( fs)
{
	//dgAlert(f);
	if (top == self) 
		self.location.href = fs;
}
