
function MakeInvisible(Element){	Element.oldDisplay = Element.style.display;
	Element.style.display="none";
//	Element.oldVisibility = Element.style.visibility;
//	Element.style.visibility="hidden";
	}function MakeVisible(Element){	if (Element.oldDisplay != null)
		Element.style.display=Element.oldDisplay;
	Element.oldDisplay = null;
//	if (Element.oldVisibility != null)
//		Element.style.visibility=Element.oldVisibility;
//	Element.oldVisibility = null;
}function SelfDestruct(Element){	if (Element.parentNode)	{		Element.parentNode.removeChild(Element);	}}function setOpacity(Element,value){    Element.style.opacity = value/10;
    Element.style.filter = 'alpha(opacity=' + value*10 + ')';
//	if (parseInt(value) <= 0)
//		MakeInvisible(Element);
//	else
//		MakeVisible(Element);
//	if (value <= 0)
//	{
//		MakeInvisible(Element);
		//Element.style.filter = '';
//	}
//	if (value > 0)
//		MakeVisible(Element);
//
	if (value >= 10)
		Element.style.filter = '';
}function getOpacity(Element){	return Element.style.opacity*10}
