function viewCalendar(){
  var $params = "years=" + $('current_years').value;
  new Ajax.Request( 'calendar2.php',
		      {
                        method: 'post',
                        onComplete: getResponse,
                        postBody: $params
		      });
    function getResponse(req){
      $('calendar').innerHTML = req.responseText;
    }
}

function moveCalendar( _years ){
  var $params = "years=" + _years;
  new Ajax.Request( 'calendar2.php',
		      {
                        method: 'post',
                        onComplete: getResponse,
                        postBody: $params
		      });
    function getResponse(req){
      $('calendar').innerHTML = req.responseText;
    }
}