function ShowToolTips(id)
{
	document.getElementById(id).className = "CalendarToolTipShowed";
}

function HideToolTips(id)
{
	document.getElementById(id).className = "CalendarToolTipHided";
}

function ShowDate(selYear, selMonth, selDay)
{
    document.getElementById("CalendarLoad").className = "CalendarLoadShowed";
    BLite.Request.send({
	  url: "core/Calendar.Create.php",
	  method: "POST",
	  data: {
		year: selYear,
		month: selMonth,
		day: selDay,
		sa: 1
	  },
	  success: function(req)
	  {
		document.getElementById("Calendar").innerHTML = req.responseText;
		document.getElementById("CalendarLoad").className = "CalendarLoadHidden";
	  },
	  failure: function(req)
	  {
		document.getElementById("Calendar").innerHTML = "Chyba.";
		document.getElementById("CalendarLoad").className = "CalendarLoadHidden";
	  },
	  context: this
	});
}
