X=[[702,7101],[702,7203],[702,7204],[702,7206],[702,7301],[702,7303],[702,7305],[702,7306],[702,7307],[703,7206],[703,7301],[703,7305],[703,7306],[703,7307],[11,7101],[11,7103],[11,7104],[11,7105],[11,7203],[11,7301],[11,7303],[11,7305],[11,7306],[11,7401],[11,7501],[701,7101],[701,7105],[701,7203],[701,7204],[701,7206],[701,7301],[701,7303],[701,7306],[701,7307],[705,7101],[705,7103],[705,7104],[705,7105],[705,7201],[705,7203],[705,7204],[705,7206],[705,7301],[705,7303],[705,7305],[705,7306],[705,7307],[705,7401],[705,7501],[706,7101],[706,7103],[706,7104],[706,7105],[706,7201],[706,7203],[706,7204],[706,7206],[706,7301],[706,7303],[706,7305],[706,7306],[706,7307],[706,7401],[706,7501],[708,7101],[708,7103],[708,7104],[708,7105],[708,7203],[708,7204],[708,7206],[708,7207],[708,7208],[708,7301],[708,7303],[708,7305],[708,7306],[708,7307],[708,7401],[708,7501],[709,7103],[709,7104],[709,7105],[709,7401],[709,7501],[735,7101],[735,7103],[735,7104],[735,7105],[735,7203],[735,7206],[735,7301],[735,7303],[735,7305],[735,7306],[735,7401],[735,7501],[710,7103],[710,7205],[710,7501],[772,7401],[772,7501],[773,7103],[773,7301],[773,7401],[773,7501],[728,7103],[728,7401],[728,7501],[712,7101],[712,7103],[712,7104],[712,7105],[712,7201],[712,7203],[712,7204],[712,7205],[712,7206],[712,7207],[712,7208],[712,7301],[712,7303],[712,7305],[712,7306],[712,7307],[712,7401],[712,7501],[45,7101],[45,7103],[45,7104],[45,7105],[45,7203],[45,7204],[45,7206],[45,7401],[45,7501],[715,7101],[715,7103],[715,7104],[715,7105],[715,7201],[715,7203],[715,7204],[715,7206],[715,7301],[715,7303],[715,7306],[715,7307],[715,7501],[714,7101],[714,7103],[714,7105],[714,7201],[714,7203],[714,7204],[714,7206],[714,7208],[714,7301],[714,7303],[714,7401],[714,7501],[716,7101],[716,7103],[716,7105],[716,7203],[716,7204],[716,7206],[716,7208],[716,7301],[716,7303],[716,7401],[716,7501],[717,7101],[717,7103],[717,7104],[717,7105],[717,7203],[717,7204],[717,7206],[717,7301],[717,7303],[717,7305],[717,7306],[717,7401],[717,7501],[718,7101],[718,7103],[718,7104],[718,7105],[718,7201],[718,7203],[718,7204],[718,7206],[718,7301],[718,7303],[718,7306],[718,7307],[718,7401],[718,7501],[719,7101],[719,7103],[719,7104],[719,7105],[719,7203],[719,7204],[719,7206],[719,7301],[719,7303],[719,7305],[719,7306],[719,7307],[719,7401],[719,7501],[720,7101],[720,7103],[720,7104],[720,7105],[720,7201],[720,7203],[720,7204],[720,7206],[720,7208],[720,7301],[720,7303],[720,7305],[720,7306],[720,7307],[721,7101],[721,7103],[721,7205],[771,7103],[771,7105],[771,7401],[771,7501],[722,7401],[722,7501],[723,7103],[723,7104],[723,7105],[723,7301],[723,7303],[723,7306],[723,7307],[723,7401],[723,7501],[724,7101],[724,7103],[724,7104],[724,7105],[724,7201],[724,7203],[724,7204],[724,7206],[724,7208],[724,7301],[724,7303],[724,7305],[724,7306],[724,7307],[724,7401],[724,7501],[730,7101],[730,7103],[730,7105],[730,7203],[730,7204],[730,7206],[730,7301],[730,7303],[730,7305],[730,7306],[730,7307],[730,7401],[730,7501],[780,7101],[780,7103],[780,7104],[780,7105],[780,7203],[780,7204],[780,7206],[780,7301],[780,7303],[780,7306],[780,7307],[780,7401],[780,7501],[713,7105],[713,7401],[713,7501],[726,7101],[726,7103],[726,7104],[726,7105],[726,7201],[726,7203],[726,7204],[726,7206],[726,7207],[726,7208],[726,7301],[726,7303],[726,7305],[726,7306],[726,7307],[726,7401],[726,7501]]; M={"702":"BARRETT", "703":"BIG JOE", "11":"BOBCAT", "701":"BT PRIME-MOVER", "705":"CAT LIFT", "706":"CLARK", "708":"CROWN", "709":"DAEWOO", "735":"DOOSAN", "710":"DREXEL", "772":"HAMECH", "773":"HELI", "728":"HOIST", "712":"HYSTER", "45":"HYUNDAI", "715":"JUNGHEINRICH", "714":"KALMAR AC", "716":"KOMATSU", "717":"LINDE", "718":"MITSUBISHI", "719":"NISSAN", "720":"RAYMOND", "721":"SCHAEFF", "771":"TAILIFT", "722":"TAYLOR", "723":"TCM", "724":"TOYOTA", "730":"TUSK", "780":"UNICARRIERS", "713":"UTILEV", "726":"YALE"}; E={"7101":"Stand-Up Rider Electric", "7203":"Narrow Aisle Single Reach", "7204":"Narrow Aisle Double Reach", "7206":"Counterbalanced Order Picker", "7301":"Walkie Low-Lift Pallet", "7303":"Walkie/Ride Low-Lift Pallet", "7305":"Walkie High-Lift Reach", "7306":"Walkie High-Lift Straddle", "7307":"Walkie High-Lift Counterbalanced", "7103":"Sit-Down Rider Cushion Electric", "7104":"Sit-Down Rider Pneumatic Electric", "7105":"3-Wheel Rider Electric", "7401":"I.C. Cushion Tire", "7501":"I.C. Pneumatic Tire", "7201":"High-Lift Straddle-Type", "7207":"Straddle-Type Order Picker", "7208":"Turret trucks", "7205":"Narrow Aisle Swing Reach"}; function verify_search(f) { if (f.eq.options[f.eq.selectedIndex].value == "" && f.mfg.options[f.mfg.selectedIndex].value == "" && (!f.keywords || f.keywords.value == "")) { alert("Please enter at least one criterion for your search"); if (f.eq.focus) f.eq.focus(); return false; } return true; } function setSelection(sbox, opts, value) { for (var i = sbox.options.length - 1; i >= 0; i--) sbox.options[i] = null; if (opts.length == 0) { sbox.options[0] = new Option("(None)", -1); sbox.options[0].selected = false; } else { for (j = 0; j < opts.length; j++) { sbox.options[j] = opts[j]; sbox.options[j].selected = opts[j].value == value; } } } function sortByValue(a, b) { return a.text < b.text ? -1 : (a.text > b.text ? 1 : 0); } function sortByID(a, b) { var e1 = parseInt(a.value); var e2 = parseInt(b.value); return e1 < e2 ? -1 : (e1 > e2 ? 1 : 0); } function propagate(id) { for (var i = 0; i < document.forms.length; i++) { var f = document.forms[i]; if (f.mfg && f.eq) { var elt = [ f.mfg, f.eq ]; var value = elt[id].selectedIndex >= 0 ? elt[id].options[elt[id].selectedIndex].value : -1; var oldValue = elt[1-id].selectedIndex >= 0 ? elt[1-id].options[elt[1-id].selectedIndex].value : ""; var opts = Array(); var k = 0, last = -1; var hash = Array(); for (var j = 0; j < X.length; j++) { if ((value == "" || value =="none"||value < 0) || X[j][id] == value) { var newValue = X[j][1-id]; if (eval("typeof(hash[newValue]) == 'undefined'")) { if (newValue != last) { opts[k++] = new Option( id == 1 ? M[ X[j][1-id ]] : E[X[j][1-id]] , newValue); last = newValue; } hash[''+newValue] = 1; } } } if ("L" == "L" && id == 0) { opts.sort(sortByID); for (j = opts.length; j > 0; j--) opts[j] = opts[j-1]; opts[0] = elt[1-id].options[0]; // opts[1] = elt[1-id].options[1]; } else { opts.sort(sortByValue); for (j = opts.length; j > 0; j--) opts[j] = opts[j-1]; opts[0] = elt[1-id].options[0]; } setSelection(elt[1-id], opts, oldValue); } } }