
var item = new Array();

/* Here is where all the magic happens.  
    Just enter as many additional pages that
    that you want to search, then fill in the
    additional listings for each page.
*/

// "Page Name","path","Page Title","Many,Key,Words","Descriptive Comments"
c=0; item[c]=new Array("web/CustomerDisplay.html","","Market leading customer pole and tabletop displays","display,customer display,pole,tabletop,displays","Logic Controls Customer Displays");
c++; item[c]=new Array("web/prodPD3.htm","","Customer pole display - PD3000 series","pd3,pd3000,display,customer display,pole,displays","Market leading pole display with parallel reliability and functionality");
c++; item[c]=new Array("web/PD6.html","","Customer pole display - PD6000 series","pd6,pd6000,display,customer display,pole,displays","pole display with large 11.25mm high characters for extra visibility");
c++; item[c]=new Array("web/LD9.html","","Customer pole display - LD9000 series","ld9.ld9000,display,customer display,pole,pole display","Stylish pole display with 9.5mm high characters");
c++; item[c]=new Array("web/TD3.html","","Tabletop display - TD3000 series","td3,td3000,display,customer display,tabletop,displays","Table-top display with 5mm high characters");
c++; item[c]=new Array("web/LT9.html","","Tabletop display - LT9000 series","lt9,lt9000,display,customer display,tabletop,displays","Stylish table-top display with 9.5mm high characters");
c++; item[c]=new Array("web/CashDrawer.html","","Welcome to Logic Controls - Leading POS and KDS Manufacturer","cash darwer,titan,titan jr,drawers","Logic Controls Cash Drawers");
c++; item[c]=new Array("web/CR1.html","","Welcome to Logic Controls - Leading POS and KDS Manufacturer","cash darwer,titan,cash,drawer,titan jr,drawers","Excellent value and reliable cash drawer");
c++; item[c]=new Array("web/CR16.html","","Welcome to Logic Controls - Leading POS and KDS Manufacturer","cash darwer,titan,cash,drawer,drawers","Compact, Heavy-duty Cash Drawer");
c++; item[c]=new Array("web/CR18.html","","Welcome to Logic Controls - Leading POS and KDS Manufacturer","cash darwer,titan,cash,drawer,drawers","18.8 Wide, Heavy-duty Cash Drawer");
c++; item[c]=new Array("web/CR3.html","","Welcome to Logic Controls - Leading POS and KDS Manufacturer","cash darwer,compact size,cash,drawer,drawers","Compact, Standard-duty Cash Drawer");
c++; item[c]=new Array("web/sd.htm","","Welcome to Logic Controls - Leading POS and KDS Manufacturer","download,USB driver,driver,programming,utilities,installation guides, user, manual","");
c++; item[c]=new Array("web/faq.html","","Welcome to Logic Controls - Leading POS and KDS Manufacturer","problem,frequently,asked,question,how,why,where,support,","");
c++; item[c]=new Array("web/warranty.html","","Welcome to Logic Controls - Leading POS and KDS Manufacturer","product,warranty","");
c++; item[c]=new Array("web/about.html","","Welcome to Logic Controls - Leading POS and KDS Manufacturer","Logic,Controls,Logic Controls,about","Logic Controls, Inc. designs and manufactures point-of-sale (POS) and kitchen video display systems, POS peripherals and industrial computers...");
c++; item[c]=new Array("web/history.html","","Welcome to Logic Controls - Leading POS and KDS Manufacturer","Logic,Controls,Logic Controls,history","Logic Controls, incorporated in the State of NY in 1982, specializes in designing and manufacturing a broad line of high technology products for three different product lines...");
c++; item[c]=new Array("web/contact.html","","Welcome to Logic Controls - Leading POS and KDS Manufacturer","Logic,Controls,email,contact,information,phone,fax","We are always happy to hear from you. Please choose the category below that best fits your question or comment.");
c++; item[c]=new Array("web/news.html","","Welcome to Logic Controls - Leading POS and KDS Manufacturer","Logic,Controls,latest,news,press release,press,release","");



page="<html><head><title>Search Results</title></head><body bgcolor='white'><center><table border=0 cellspacing=10 width=85%>";


function search(frm) {
win = window.open("","","scrollbars=yes");
win.document.write(page);
txt = frm.srchval.value.split(" ");
fnd = new Array(); total=0;
for (i = 0; i < item.length; i++) {
fnd[i] = 0; order = new Array(0, 4, 2, 3);
for (j = 0; j < order.length; j++)
for (k = 0; k < txt.length; k++)
if (item[i][order[j]].toLowerCase().indexOf(txt[k]) > -1 && txt[k] != "")
fnd[i] += (j+1);
}
for (i = 0; i < fnd.length; i++) {
n = 0; w = -1;
for (j = 0;j < fnd.length; j++)
if (fnd[j] > n) { n = fnd[j]; w = j; };
if (w > -1) total += show(w, win, n);
fnd[w] = 0;
}
win.document.write("</table><br>Total found: "+total+"<br></body></html>");
win.document.close();
}
function show(which,wind,num) {
link = item[which][1] + item[which][0]; 
line = "<tr><td><a href='"+link+"'>"+item[which][2]+"</a> Score: "+num+"<br>";
line += item[which][4] + "<br>"+link+"</td></tr>";
wind.document.write(line);
return 1;
}
//  End -->