// JScript File
function showLarge(imageName)
{
    window.open("media/gloves_lg/" + imageName);
}


var item = new Array();


// "Page Name","path","Page Title","Many,Key,Words","Descriptive Comments","Anchor Name"

c=0; item[c]=new Array("drivers.htm","","Unlined Drivers","3210,3264,3264BT","Unlined drivers - Split Cowhide","split");
c++; item[c]=new Array("drivers.htm","","Unlined Drivers","4264LBSB,4364PSB,4435K,4335K,4235K,4420,4364,4264,4064,4464LH,4360,4260,4060,4335SB,4364SBK,5320,4324BT,4424LH,4264SB,4360CAN5,4364FT,4364HVOF,4364GHV,4364P,4424DPK,4464DP","Unlined drivers - Grain Cowhide","grain");
c++; item[c]=new Array("drivers.htm","","Unlined Drivers","5464LH,5364LH,5464SB","Unlined drivers - Deerskin","deerskin");
c++; item[c]=new Array("drivers.htm","","Unlined Drivers","6464LHK,6464,6364,6460,6464KWSR","Unlined drivers - Pigskin","pigskin");
c++; item[c]=new Array("drivers.htm","","Unlined Drivers","8464LH,8464LHB,7950,8464DPY","Unlined drivers - Goatskin","goatskin");
c++; item[c]=new Array("drivers.htm","","Unlined Drivers","MS4,MS4SB","Unlined drivers - Synthetic Driver Gloves","syn");

c++; item[c]=new Array("welders.htm","","Welding","7210,7110,7250K,7470K,7270K,7475K,7275K,7380K,7380K-LHO,7280K,7480K-RY,7480K","Welding - Welding Gloves","side");
c++; item[c]=new Array("welders.htm","","Welding","5475LCK,5420SC,5420LCK,5220LCK,8465LCK","Welding - Mig-Tig Welding Gloves","premium");
c++; item[c]=new Array("welders.htm","","Welding","85,H5565K","Welding - Lineman Gloves","lineman");
c++; item[c]=new Array("welders.htm","","Welding","71-30,72,73-14,73-20,FR9G","Welding - Welding Jackets and Accessories","jackets");

c++; item[c]=new Array("leather.htm","","Leather Palms","1160,1140,1160SP,1040,1041,1050,1049,1130P,1150,1160PE,1160S,1161S","Leather Palms - Regular Grade Leather","regular");
c++; item[c]=new Array("leather.htm","","Leather Palms","1260,1260B,1261,1270,1270P,1270PW,1270P-XL,1271P,1075,1074,1060,1059,1250,1251,1245,12082,1240","Leather Palms - Select Shoulder Leather","select");
c++; item[c]=new Array("leather.htm","","Leather Palms","1360,1361,1360KW,1345,1345G,1358,1358G,1358G-XL,1358KG-XL,1370,1371,1360IDO","Leather Palms - Premium Select Shoulder Leather","premium");
c++; item[c]=new Array("leather.htm","","Leather Palms","V1360SP","Leather Palms - Palm Coated Leather","palm");
c++; item[c]=new Array("leather.htm","","Leather Palms","1440,1441,1400,1401,1421,1420,1490,1430,1450","Leather Palms - Side Split Leather","sidesplit");
c++; item[c]=new Array("leather.htm","","Leather Palms","5220,5221,5210,5210SB,5211SB,5020P","Leather Palms - Grain Cowhide Leather","cowhide");
c++; item[c]=new Array("leather.htm","","Leather Palms","5275,5111,5110,5110SR","Leather Palms - Pigskin Leather","pigskin");

c++; item[c]=new Array("jersey.htm","","Jersey","J2109,J2109W,J2109-XL,J2109-K,J2110,J2110W,J2109PDM,J2109PDMW,J2114","Jersey - Brown Jersey","brown");
c++; item[c]=new Array("jersey.htm","","Jersey","J1037,J1037B,J1037-XL,J1047","Jersey - Two Piece Reversible Jersey","twopiece");
c++; item[c]=new Array("jersey.htm","","Jersey","G2109GC,G2109OC","Jersey - Camouflage","camouflage");

c++; item[c]=new Array("cotton.htm","","Cotton","C7608,C7608W,C7608-XL,C7608B,C7608G,C7708R,C7708RBT,C7610,C7612,C8608PD,C8608PDW,C8610PD,C8610PDC,C7610BT,GRE10PD,ORA10PD","Cotton - Canvas Gloves","canvas");
c++; item[c]=new Array("cotton.htm","","Cotton","H524BT,H524G,H524KW,HG524BT,HG524G,HG532BT,HG532G,H532G,H532BT,H532BTC","Cotton - Hot Mill Gloves","hot");
c++; item[c]=new Array("cotton.htm","","Cotton","D3018NI,D3018NIR,D3018NO,D3018NOBT,D3020NOBT,D3020NOPE,D3020NOKW,D3020CDRKW,D3018CDBT,D3018CDKW,OC020,YC020,GC020,OC020-TC,YC020-TC,GC020-TC","Cotton - Double Palm Gloves","double");
c++; item[c]=new Array("cotton.htm","","Cotton","G3118K,G3118GK,G318K,G318BT,G318G","Cotton - Chore Gloves","chore");


c++; item[c]=new Array("inspection.htm","","Inspection Gloves","I4800,I4800W,I4810,I4810W,I4820,I4820W","Inspection Gloves - Cotton Lisle","lisle");
c++; item[c]=new Array("inspection.htm","","Inspection Gloves","N4900,N4900W,N4986,N4985","Inspection Gloves - Two Piece Nylon","twopiece");
c++; item[c]=new Array("inspection.htm","","Inspection Gloves","N4980,N4980W","Inspection Gloves - Full Fashion Nylon","full");

c++; item[c]=new Array("string.htm","","String Knit","S-0316,S-0320,S-16,G950-L,G600-L,T624K,S-725P","String Knit - Cotton/Polyester String Knit","cotton");
c++; item[c]=new Array("string.htm","","String Knit","S-0316D,S-16D,S-0316DD,S-0316DD-XL,S-16DD","String Knit - Cotton/Polyester Dotted String Knit","dotted");
c++; item[c]=new Array("string.htm","","String Knit","400,40,9-400,300BLP","String Knit - Cotton/Polyester String Knit Coated","rubber");
c++; item[c]=new Array("string.htm","","String Knit","T624K,T24LI","String Knit - Terry Cloth Gloves","terry");

c++; item[c]=new Array("nitrile.htm","","Nitrile","V9840,V9840W,V9860P,V9860PW","Nitrile - Cut & Sewn","cut");
c++; item[c]=new Array("nitrile.htm","","Nitrile","V9875KW,V9875KWS,V9875BT,V9875BTW,V9830,V9830W","Nitrile - Palm Coated","palm");
c++; item[c]=new Array("nitrile.htm","","Nitrile","V9870BT,V9870BTW,V9870RBT,V9870KW,V9870KWS","Nitrile - Fully Coated","fully");
c++; item[c]=new Array("nitrile.htm","","Nitrile","V9850","Nitrile - Nitrile Driver Gloves","drivers");

c++; item[c]=new Array("vinyl.htm","","Vinyl","V1163,V1163W","Vinyl - Brown Stretch Vinyl","brown");
c++; item[c]=new Array("vinyl.htm","","Vinyl","V1163DP,V1163DPW","Vinyl - Double Stretch Vinyl","double");

c++; item[c]=new Array("pvc.htm","","PVC Dipped","D8810,D8830-10,D8830-12,D8830-14,D8830-14RHO,D8830-18","PVC Dipped - PVC Smooth Finish","smooth");
c++; item[c]=new Array("pvc.htm","","PVC Dipped","D8630-12,D8610,D8630-10,D8630-14,D8630-14RHO,D8630-18,D8610J,D8630J-12,D8630J-14,D8630XR-12","PVC Dipped - PVC Rough Finish","rough");
c++; item[c]=new Array("pvc.htm","","PVC Dipped","D8430-12,D8410,D8430-10,D8430-14,D8410J,D8430J-10,D8430J-15,DG8430J-12,DG8430J-14","PVC Dipped - PVC Sandy Finish","sandy");
c++; item[c]=new Array("pvc.htm","","PVC Dipped","8940BT,8940,8940R-12","PVC Dipped - Orange Foam/Jersey Lined PVC","foam");
c++; item[c]=new Array("pvc.htm","","PVC Dipped","R8870J,R8870JBT,R8875","PVC Dipped - Rubber Wrinkle Finish","rubber");

c++; item[c]=new Array("unsupported.htm","","Unsupported Gloves","LY17,LN28","Unsupported Gloves - Latex","latex");
c++; item[c]=new Array("unsupported.htm","","Unsupported Gloves","NF15,NU11,NF18","Unsupported Gloves - Nitrile","nitrile");

c++; item[c]=new Array("disposable.htm","","Disposable Gloves","V700,V700PF","Disposable Examination Gloves - ","latex");
c++; item[c]=new Array("disposable.htm","","Disposable Gloves","V800,V800PF,V801B","Disposable Examination Gloves - ","vinyl");
c++; item[c]=new Array("disposable.htm","","Disposable Gloves","V900,V900PF,V900MPF","Disposable Examination Gloves - ","nitrile");

c++; item[c]=new Array("gardening.htm","","Gardening Gloves","G2151,G2152,G2254W,G2254,G2182","Gardening Gloves","");

c++; item[c]=new Array("cutresistant.htm","","Cut Resistant","K20DD,KC24DD,KC20,KC24,K20D,KC24D,K20BP,K20DDOF,TW5,KTK32","Cut Resistant - Kevlar Gloves","kevlar");
c++; item[c]=new Array("cutresistant.htm","","Cut Resistant","KS10,KS14,KS14T,KS18,KS18T,KC18T","Cut Resistant - Kevlar Sleeves","sleeves");
c++; item[c]=new Array("cutresistant.htm","","Cut Resistant","GDYP4,GBNC,WDP3","Cut Resistant - Dyneema Gloves","dyneema");
c++; item[c]=new Array("cutresistant.htm","","Cut Resistant","SCPU5","Cut Resistant - Steel Core","dyneema");

c++; item[c]=new Array("winterlined.htm","","Winter Lined Gloves","9-1240BY,9-1260P,9-1260R,9-5210P","Winter Lined Gloves - Lined Cowhide Split and Grain Leather Palms","1");
c++; item[c]=new Array("winterlined.htm","","Winter Lined Gloves","9-5275TH,9-5275THK5,9-5275HV,5245RK,9-5275BTSR,9-5275SR,9-GHV64BT,9-GHV64","Winter Lined Gloves - Lined Pigskin Leather Palms","2");
c++; item[c]=new Array("winterlined.htm","","Winter Lined Gloves","9-3210P,9-3214R","Winter Lined Gloves - Lined Cowhide Split Drivers","3");
c++; item[c]=new Array("winterlined.htm","","Winter Lined Gloves","9-4264R,9-4364PSB,9-4360R,9-4360N,9-4464LHT,9-4464LHR","Winter Lined Gloves - Lined Grain Cowhide Drivers","4");
c++; item[c]=new Array("winterlined.htm","","Winter Lined Gloves","9-5464LHTH","Winter Lined Gloves - Lined Deerskin Grain Drivers","5");
c++; item[c]=new Array("winterlined.htm","","Winter Lined Gloves","9-8464BT,9-8464LHT,9-7950B","Winter Lined Gloves - Lined Goatskin Grain Drivers","6");
c++; item[c]=new Array("winterlined.htm","","Winter Lined Gloves","9-6464R,9-6464LHKT","Winter Lined Gloves - Lined Pigskin Grain Drivers","7");


c++; item[c]=new Array("sportinggloves.htm","","Mechanic Gloves","MC18,MCV20","Mechanic Gloves - Synthetic Leather Mechanic","syn");
c++; item[c]=new Array("sportinggloves.htm","","Mechanic Gloves","MCD22,MCDV24,MCDVB25,MCDB23","Mechanic Gloves - Deerskin Mechanic","deer");
c++; item[c]=new Array("sportinggloves.htm","","Mechanic Gloves","MCG31,MCGV33,MCG26,MCG29,MCG40","Mechanic Gloves - Goatskin Mechanic","goat");
c++; item[c]=new Array("sportinggloves.htm","","Mechanic Gloves","MCP48","Mechanic Gloves - Pigskin Mechanic","pig");

c++; item[c]=new Array("nyloncoated.htm","","Nylon Coated Gloves","NF300,GPU3,BPU4,NF500BB","Nylon Coated Gloves","");

c++; item[c]=new Array("rainwear.htm","","Rainwear","3001,3048,3060B,WB3021","Rainwear","");

c++; item[c]=new Array("hivis.htm","","Safety Vest & Tapes","SV220op,SV300np,SV210ip,RS01,RS02,SV01,SV02,SV017,SV204,SVOR210IP,SV5TA","Safety Vest & Tapes - Safety Vest","vest");
c++; item[c]=new Array("hivis.htm","","Safety Vest & Tapes","Caution & Danger Tapes","Safety Vest & Tapes - Tapes","tapes");

c++; item[c]=new Array("coveralls.htm","","Coveralls","SG1412,SG1414,SG1428,SG850-18,SG601","Coveralls - Tyvek Coveralls","tyvek");
c++; item[c]=new Array("coveralls.htm","","Coveralls","MIC414C,MIC412C,MIC417C,MIC428C","Coveralls - Micromax Coveralls","micro");
c++; item[c]=new Array("coveralls.htm","","Coveralls","PP40J,PP25CO,PP25CB","Coveralls - Polypropylene Coveralls","poly");
c++; item[c]=new Array("coveralls.htm","","Coveralls","E8414C,E8417C","Coveralls - SMS","sms");

c++; item[c]=new Array("boots.htm","","Boots","YB17,B16,B16ST,BHW30,BHW31ST","Boots - PVC Boots","pvc");
//c++; item[c]=new Array(".htm","","Cotton","","","");


function search(frm) {
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].toLowerCase()) > -1 && txt[k] != "")
  {
  results = item[i][order[j]].split(",");
  for (p = 0; p < results.length; p++)
  {
     if (results[p].toLowerCase() == txt[k].toLowerCase())
        fnd[i] += (j+1);//alert("in here = " + results[p]);        
  }  
  
  
  }
}
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);
    total++;
    link = item[w][1] + item[w][0]; 
    location.href = link + "#" + item[w][5];
	//alert(link + "#" + item[w][5]);
	return false;
}
fnd[w] = 0;
}

if (total==0)
    alert("This product cannot be found on our site. Please call us at 1-800-917-2020 to find out about its availability. Thank you.");
//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;
}


