function show(object) {
	if (document.getElementById) {
		document.getElementById(object).style.display = 'block';
	}
	else if (document.layers && document.layers[object]) {
		document.layers[object].display = 'block';
	}
	else if (document.all) {
		document.all[object].style.display = 'block';
	}
}

function hide(object) {
	if (document.getElementById) {
		document.getElementById(object).style.display = 'none';
	}
	else if (document.layers && document.layers[object]) {
		document.layers[object].display = 'none';
	}
	else if (document.all) {
		document.all[object].style.display = 'none';
	}
}

function date_interval_apply()
{
	//var yearfrom = document.getElementById("yearfrom").value;
	//var monthfrom = document.getElementById("monthfrom").value;
	//var dayfrom = document.getElementById("dayfrom").value;

	//var yeartill = document.getElementById("yeartill").value;
	//var monthtill = document.getElementById("monthtill").value;
	//var daytill = document.getElementById("daytill").value;
	
	//var url = "http://uainter.net/rentservice/index.php?t=reservation&yearfrom=" + yearfrom + "&monthfrom=" + monthfrom + "&dayfrom=" + dayfrom + "&yeartill=" + yeartill + "&monthtill=" + monthtill + "&daytill=" + daytill + "";
	//alert(url);
	document.ReservationPeriod.method = "POST";
	document.ReservationPeriod.action = document.location;
	document.ReservationPeriod.submit();      
      
      //window.location = "http://uainter.net/rentservice/index.php?t=reservation&year=" + y + "&month=" + month + "&day=" + d + "";
}

