function Ajaxprev(docid) {
  rowprefix = "rowprefix_" + docid;
  AjaxValSet();
  doList(document.getElementById(rowprefix).title,docid); 
  return;
}
function doList(title,docid) {
  var strTemp = title;
  if(document.getElementById){document.getElementById("ajaxSearch_output").style.width = "500px"; //500px;
    document.getElementById("ajaxSearch_output").style.marginLeft = "150px";  //5px 0 15px 150px;
    document.getElementById("ajaxSearch_output").style.backgroundColor = "#ffffff"; //#ffffff;
    document.getElementById("searchClose").style.marginLeft = "100px";}  //100px; 770px
  listIDs = docid;
  document.getElementById("ajaxSearch_input").value= title;
  document.getElementById("ajaxSearch_submit").click();
  return true;
}

function AjaxValSet(){
  config = 'image';
  as_version = '1.8.0';
  debug = 0;
  as_language = 'japanese-utf8';
  opacity = 1;
  advSearch = 'oneword';
  whereSearch = 'content,tv';
  order = 'publishedon,pagetitle';
  rank = 'pagetitle:100,extract';
  minChars = 3;
  ajaxMax = 6;
  showMoreResults = 1;
  moreResultsPage = 0;
  extract = '99:content';
  extractLength = 200;
  extractEllips = '...';
  extractSeparator = '<br />';
  formatDate = 'd/m/y : H:i:s';
  liveSearch = 0;
  docgrp = '';
  //listIDs = '97';
  idType = 'documents';
  depth = 10;
  highlightResult = 1;
  hideMenu = 2;
  hideLink = 1;
  as_filter = '';
  tplAjaxResult = '';
  tplAjaxResults = '';
  stripInput = 'defaultStripInput';
  stripOutput = 'saveImage';
  breadcrumbs = '0';
  tvPhx = '0';
}

