function jourscroll(oldnew,jourcat,stamp) {
  var oldnew = oldnew;
  var jourcat = jourcat;
  var stamp = stamp;
  param = oldnew + '*' + jourcat + '*' + stamp;
  var url = "xmlgetjournalscroll.php?param=";
    http.open("GET", url + escape(param), true);
    http.onreadystatechange = handleHttpResponseJourScroll;
    http.send(null);
}


function handleHttpResponseJourScroll() {
  if (http.readyState == 4) {
    var results = http.responseText.split("*@r5^*@$Scv*");
    var show = results[0];
    var message = results[1];
    var jourcatid = results[2];
    if (show == 1)
      {
        var jourscroll = 'jourscroll' + jourcatid;
        var jourcont = document.getElementById(jourscroll);
        jourcont.innerHTML = message;
      }
   }
}

function JumpDate(catid) {
  var catid = catid;
  var daycat = 'day' + catid;
  var monthcat = 'month' + catid;
  var yearcat = 'year' + catid;
  var searchday = document.getElementById(daycat).value;
  var searchyear = document.getElementById(yearcat).value;
  var searchmonth = document.getElementById(monthcat).value;
  var param = searchday + '*' + searchmonth + '*' + searchyear + '*' + catid;
  var url = "xmlgetjumpdate.php?param=";
    http.open("GET", url + escape(param), true);
    http.onreadystatechange = handleHttpResponseJumpDate;
    http.send(null);
}


function handleHttpResponseJumpDate() {
  if (http.readyState == 4) {
    var results = http.responseText.split("*@r5^*@$Scv*");
    var show = results[0];
    var message = results[1];
    var jourcatid = results[2];
    if (show == 1)
      {
        var jourscroll = 'jourscroll' + jourcatid;
        var jourcont = document.getElementById(jourscroll);
        jourcont.innerHTML = message;
      }
   }
}

