var height  = 20;
var popover = 0;
function ResizePopOver() 
{ 
	document.getElementById('PopOver').style.height = height + "px";
	if(height<150)
	{
  	height = height + 10;
  	setTimeout('ResizePopOver()',10);
	}
} 

function ShowPopOver()
{
	if(popover==1)
	{
	}
	else
	{
  	height  = 2;
	}
	statusint  = 1;
	popover = 1;
	ResizePopOver();
}

function CheckPopOver()
{
	statusint = 0;
  setTimeout('HidePopOver()',500);
}

function HidePopOver()
{
	if(statusint==1)
	{
   	popover = 1;
	}
	else
	{
  	popover = 0;
	}
}

function InitPopOver()
{
	if(popover==1)
	{
		document.getElementById('PopOver').style.visibility = "visible";
	}
	else
	{
		document.getElementById('PopOver').style.visibility = "hidden";
	}
}
