function showtip(d,typ,tip)
{
	a=document.getElementById(d);
	X0=findPosX(a);Y0=findPosY(a);

	obj=document.getElementById('okienko');
	
	obj.style.left=X0 + "px";
	obj.style.top=Y0 + "px";
	obj.style.display='block';
	
	obj.innerHTML=tip;
	obj.className='bc'+typ;
}
function hidetip()
{
	obj=document.getElementById('okienko');
	obj.style.display='none';
	obj.style.left='0';
	obj.style.top='0';
}	
