hideMessage = function(aObj, aHide)
{
	if (aHide)
		if ((aObj = CbOS.get.Obj(aObj.getAttribute("messageId"))))
			aObj.innerHTML=""
	else
		window.setTimeout('hideMessage("' + (aObj.id || (aObj.id = CbOS.get.PK()))+'", true)', 5000)
}

bgImage = function(aObj, aLight)
{
	if (!aObj.getAttribute("disabled"))
	{
		var v = (document.defaultView && document.defaultView.getComputedStyle(aObj,"").getPropertyValue("background-image")) || aObj.style.backgroundImage || (aObj.currentStyle && aObj.currentStyle.backgroundImage);
		if (v) aObj.style.backgroundImage = aLight ? v.replace(/.gif/i, "_lt.gif") : v.replace(/_lt.gif/i, ".gif");
	}
}

