function PopupElement(cel, el, timeout)
{
	timeout = timeout || 500;
	if (typeof el != 'Object') el = document.getElementById(el);
	if (!el) return;
	el.style.display = 'block';
	
	if (!el.onmouseover) 
	{
		cel.onmouseover = el.onmouseover=function()
		{
			if (el.tmout) window.clearTimeout(el.tmout);
			el.style.display = 'block'
		};
	}
	
	if (!el.onmouseout) 
	{
		cel.onmouseout = el.onmouseout=function()
		{
			if (el.tmout) window.clearTimeout(el.tmout);
			el.tmout = window.setTimeout(function(){el.style.display = 'none'}, timeout);
		};
	}
	
}
