var	crossob;
var bShow = false;

function showMenu(ctl, ct2) {
	DocumentRegisterEvents()
	hideMenu();
	crossob=document.getElementById(ct2).style;
	hideMenu();
	if (crossob.visibility =="hidden") {
		crossob.visibility = "visible";			

		bShow = true;
	}
}

function hideMenu() {
	if (crossob) crossob.visibility="hidden";
}

function DocumentRegisterEvents()
{
  document.onmouseover = function hideCalender_Trap2()
  {
	  if (!bShow)
	  {
      hideMenu();
	  }
	  bShow = false;
  }
}