function PutCalendar(travel) {
	var shadow = document.getElementById('shadow-box');
	var hint	 = document.getElementById('sandy-box');
	shadow.style.display	= "block";
	hint.style.display	= "block";
	var req;
	if (window.XMLHttpRequest) req = new XMLHttpRequest();
	else if(window.ActiveXObject) {
		try {
			req = new ActiveXObject('Msxml2.XMLHTTP');
		}
		catch (e){}

		try {
			req = new ActiveXObject('Microsoft.XMLHTTP');
		}
	catch (e){}
	}
	if (req) {
		req.onreadystatechange = function() {
			if (req.readyState == 4 && req.status == 200){
				if (req.responseText=='')
				{
				}
				else {
					hint.innerHTML = req.responseText;
				}
			}
		}
		req.open("POST", "/travel/"+travel+"/calendar/ajax/" , true);
		req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
		req.send();
	} 
	else alert("Технология AJAX не поддерживается браузером");
	}

function CloseCalendar() {
		var shadow = document.getElementById('shadow-box');
		var hint	 = document.getElementById('sandy-box');
		shadow.style.display	= "none";
		hint.style.display	= "none";
	}
