$(document).ready(function() {
	$("#termsApresyan").autocomplete('/search-apresyan.php', {
    delay:40,
    minChars:2,
    matchSubset:1,
    autoFill:false,
    matchContains:0,
    cacheLength:10,
    selectFirst:true,
    formatItem:liFormat2Apresyan,
    maxItemsToShow:30,
    max:30,
    scroll:1,
    scrollHeight : 300
  }).result(function(event, item) {

    if(item[1] > 0) location.href = "/dictionary-english-russian-Apresyan-term-"+item[1]+".htm";
 // alert("result: "+item[0]+' - '+item[1]+' - '+item[2]);	
});
function liFormat2Apresyan (row, i, num) {
  var result = "<b><a href=\"/dictionary-english-russian-Apresyan-term-"+row[1]+".htm\" >" + row[0] + "</a></b>";
  if(row[1] == null) result = "<b>Ничего не найдено.</b>"
//  var result = row[1];
//  alert("row: "+row[0]+' - '+row[1]+' - '+row[2]);
  return result;
};
 
 });




$(document).ready(function() {
	$("#termsMueller").autocomplete('/search-mueller.php', {
    delay:40,
    minChars:2,
    matchSubset:1,
    autoFill:false,
    matchContains:0,
    cacheLength:10,
    selectFirst:true,
    formatItem:liFormat2Mueller,
    maxItemsToShow:30,
    max:30,
    scroll:1,
    scrollHeight : 300
  }).result(function(event, item) {

    if(item[1] > 0) location.href = "/dictionary-english-russian-Mueller-term-"+item[1]+".htm";
 // alert("result: "+item[0]+' - '+item[1]+' - '+item[2]);	
});
function liFormat2Mueller (row, i, num) {
  var result = "<b><a href=\"/dictionary-english-russian-Mueller-term-"+row[1]+".htm\" >" + row[0] + "</a></b>";
  if(row[1] == null) result = "<b>Ничего не найдено.</b>"
//  var result = row[1];
//  alert("row: "+row[0]+' - '+row[1]+' - '+row[2]);
  return result;
};
  
 });




$(document).ready(function() {
	$("#termsSmirnitsky").autocomplete('/search-smirnitsky.php', {
    delay:40,
    minChars:2,
    matchSubset:1,
    autoFill:false,
    matchContains:0,
    cacheLength:10,
    selectFirst:true,
    formatItem:liFormat2Smirnitsky,
    maxItemsToShow:30,
    max:30,
    scroll:1,
    scrollHeight : 300
  }).result(function(event, item) {

    if(item[1] > 0) location.href = "/dictionary-russian-english-Smirnitsky-term-"+item[1]+".htm";
 // alert("result: "+item[0]+' - '+item[1]+' - '+item[2]);	
});
function liFormat2Smirnitsky (row, i, num) {
  var result = "<b><a href=\"/dictionary-russian-english-Smirnitsky-term-"+row[1]+".htm\" >" + row[0] + "</a></b>";
  if(row[1] == null) result = "<b>Ничего не найдено.</b>"
//  var result = row[1];
//  alert("row: "+row[0]+' - '+row[1]+' - '+row[2]);
  return result;
};
 
 });





$(document).ready(function() {
	$("#termsuniversalruen").autocomplete('/search-universalruen.php', {
    delay:40,
    minChars:2,
    matchSubset:1,
    autoFill:false,
    matchContains:0,
    cacheLength:10,
    selectFirst:true,
    formatItem:liFormat2universalruen,
    maxItemsToShow:30,
    max:30,
    scroll:1,
    scrollHeight : 300
  }).result(function(event, item) {

    if(item[1] > 0) location.href = "/dictionary-russian-english-universal-term-"+item[1]+".htm";
 // alert("result: "+item[0]+' - '+item[1]+' - '+item[2]);	
});
function liFormat2universalruen (row, i, num) {
  var result = "<b><a href=\"/dictionary-russian-english-universal-term-"+row[1]+".htm\" >" + row[0] + "</a></b>";
  if(row[1] == null) result = "<b>Ничего не найдено.</b>"
//  var result = row[1];
//  alert("row: "+row[0]+' - '+row[1]+' - '+row[2]);
  return result;
};
  
 });





$(document).ready(function() {
	$("#termsDal").autocomplete('/all-russian/search-dal.php', {
    delay:40,
    minChars:2,
    matchSubset:1,
    autoFill:false,
    matchContains:0,
    cacheLength:10,
    selectFirst:true,
    formatItem:liFormat2Dal,
    maxItemsToShow:30,
    max:30,
    scroll:1,
    scrollHeight : 300
  }).result(function(event, item) {

    if(item[1] > 0) location.href = "/all-russian/russian-dictionary-Dal-term-"+item[1]+".htm";
 // alert("result: "+item[0]+' - '+item[1]+' - '+item[2]);	
});

function liFormat2Dal (row, i, num) {
  var result = "<b><a href=\"/all-russian/russian-dictionary-Dal-term-"+row[1]+".htm\" >" + row[0] + "</a></b>";
  if(row[1] == null) result = "<b>Ничего не найдено.</b>"
//  var result = row[1];
//  alert("row: "+row[0]+' - '+row[1]+' - '+row[2]);
  return result;
};
  
 });





$(document).ready(function() {
	$("#termsEfremova").autocomplete('/all-russian/search-efremova.php', {
    delay:40,
    minChars:2,
    matchSubset:1,
    autoFill:false,
    matchContains:0,
    cacheLength:10,
    selectFirst:true,
    formatItem:liFormat2Efremova,
    maxItemsToShow:30,
    max:30,
    scroll:1,
    scrollHeight : 300
  }).result(function(event, item) {

    if(item[1] > 0) location.href = "/all-russian/russian-dictionary-Efremova-term-"+item[1]+".htm";
 // alert("result: "+item[0]+' - '+item[1]+' - '+item[2]);	
});

function liFormat2Efremova (row, i, num) {
  var result = "<b><a href=\"/all-russian/russian-dictionary-Efremova-term-"+row[1]+".htm\" >" + row[0] + "</a></b>";
  if(row[1] == null) result = "<b>Ничего не найдено.</b>"
//  var result = row[1];
//  alert("row: "+row[0]+' - '+row[1]+' - '+row[2]);
  return result;
};

  
 });







$(document).ready(function() {
	$("#termsOzhegov").autocomplete('/all-russian/search-ozhegov.php', {
    delay:40,
    minChars:2,
    matchSubset:1,
    autoFill:false,
    matchContains:0,
    cacheLength:10,
    selectFirst:true,
    formatItem:liFormat2Ozhegov,
    maxItemsToShow:30,
    max:30,
    scroll:1,
    scrollHeight : 300
  }).result(function(event, item) {

    if(item[1] > 0) location.href = "/all-russian/russian-dictionary-Ozhegov-term-"+item[1]+".htm";
 // alert("result: "+item[0]+' - '+item[1]+' - '+item[2]);	
});
function liFormat2Ozhegov (row, i, num) {
  var result = "<b><a href=\"/all-russian/russian-dictionary-Ozhegov-term-"+row[1]+".htm\" >" + row[0] + "</a></b>";
  if(row[1] == null) result = "<b>Ничего не найдено.</b>"
//  var result = row[1];
//  alert("row: "+row[0]+' - '+row[1]+' - '+row[2]);
  return result;
};
  
 });







$(document).ready(function() {
	$("#termsUshakov").autocomplete('/all-russian/search-ushakov.php', {
    delay:40,
    minChars:2,
    matchSubset:1,
    autoFill:false,
    matchContains:0,
    cacheLength:10,
    selectFirst:true,
    formatItem:liFormat2Ushakov,
    maxItemsToShow:30,
    max:30,
    scroll:1,
    scrollHeight : 300
  }).result(function(event, item) {

    if(item[1] > 0) location.href = "/all-russian/russian-dictionary-Ushakov-term-"+item[1]+".htm";
 // alert("result: "+item[0]+' - '+item[1]+' - '+item[2]);	
});

function liFormat2Ushakov (row, i, num) {
  var result = "<b><a href=\"/all-russian/russian-dictionary-Ushakov-term-"+row[1]+".htm\" >" + row[0] + "</a></b>";
  if(row[1] == null) result = "<b>Ничего не найдено.</b>"
//  var result = row[1];
//  alert("row: "+row[0]+' - '+row[1]+' - '+row[2]);
  return result;
};

  

 });






$(document).ready(function() {
	$("#termsVasmer").autocomplete('/all-russian/search-vasmer.php', {
    delay:40,
    minChars:2,
    matchSubset:1,
    autoFill:false,
    matchContains:0,
    cacheLength:10,
    selectFirst:true,
    formatItem:liFormat2Vasmer,
    maxItemsToShow:30,
    max:30,
    scroll:1,
    scrollHeight : 300
  }).result(function(event, item) {

    if(item[1] > 0) location.href = "/all-russian/russian-dictionary-Vasmer-term-"+item[1]+".htm";
 // alert("result: "+item[0]+' - '+item[1]+' - '+item[2]);	
});

function liFormat2Vasmer (row, i, num) {
  var result = "<b><a href=\"/all-russian/russian-dictionary-Vasmer-term-"+row[1]+".htm\" >" + row[0] + "</a></b>";
  if(row[1] == null) result = "<b>Ничего не найдено.</b>"
//  var result = row[1];
//  alert("row: "+row[0]+' - '+row[1]+' - '+row[2]);
  return result;
};


 });








$(document).ready(function() {
	$("#termsSynonyms").autocomplete('/all-russian/search-synonyms.php', {
    delay:40,
    minChars:2,
    matchSubset:1,
    autoFill:false,
    matchContains:0,
    cacheLength:10,
    selectFirst:true,
    formatItem:liFormat2Synonyms,
    maxItemsToShow:30,
    max:30,
    scroll:1,
    scrollHeight : 300
  }).result(function(event, item) {

    if(item[1] > 0) location.href = "/all-russian/russian-dictionary-synonyms-term-"+item[1]+".htm";
 // alert("result: "+item[0]+' - '+item[1]+' - '+item[2]);	
});

function liFormat2Synonyms (row, i, num) {
  var result = "<b><a href=\"/all-russian/russian-dictionary-synonyms-term-"+row[1]+".htm\" >" + row[0] + "</a></b>";
  if(row[1] == null) result = "<b>Ничего не найдено.</b>"
//  var result = row[1];
//  alert("row: "+row[0]+' - '+row[1]+' - '+row[2]);
  return result;
};


 });







$(document).ready(function() {
	$("#termspolytechnicalenru").autocomplete('/search-polytechnicalenru.php', {
    delay:40,
    minChars:2,
    matchSubset:1,
    autoFill:false,
    matchContains:0,
    cacheLength:10,
    selectFirst:true,
    formatItem:liFormat2polytechnicalenru,
    maxItemsToShow:30,
    max:30,
    scroll:1,
    scrollHeight : 300
  }).result(function(event, item) {
    if(item[1] > 0) location.href = "/dictionary-english-russian-polytechnicalenru-term-"+item[1]+".htm";
 // alert("result: "+item[0]+' - '+item[1]+' - '+item[2]);	
});
function liFormat2polytechnicalenru (row, i, num) {
  var result = "<b><a href=\"/dictionary-english-russian-polytechnicalenru-term-"+row[1]+".htm\" >" + row[0] + "</a></b>";
  if(row[1] == null) result = "<b>Ничего не найдено.</b>"
//  var result = row[1];
//  alert("row: "+row[0]+' - '+row[1]+' - '+row[2]);
  return result;
};

});





$(document).ready(function() {
	$("#termspolytechnicalruen").autocomplete('/search-polytechnicalruen.php', {
    delay:40,
    minChars:2,
    matchSubset:1,
    autoFill:false,
    matchContains:0,
    cacheLength:10,
    selectFirst:true,
    formatItem:liFormat2polytechnicalruen,
    maxItemsToShow:30,
    max:30,
    scroll:1,
    scrollHeight : 300
  }).result(function(event, item) {
    if(item[1] > 0) location.href = "/dictionary-russian-english-polytechnicalruen-term-"+item[1]+".htm";
 // alert("result: "+item[0]+' - '+item[1]+' - '+item[2]);	
});
function liFormat2polytechnicalruen (row, i, num) {
  var result = "<b><a href=\"/dictionary-russian-english-polytechnicalruen-term-"+row[1]+".htm\" >" + row[0] + "</a></b>";
  if(row[1] == null) result = "<b>Ничего не найдено.</b>"
//  var result = row[1];
//  alert("row: "+row[0]+' - '+row[1]+' - '+row[2]);
  return result;
};

});



