/* 

	SearchField 
	written by Alen Grakalic, provided by Css Globe (cssglobe.com)
	please visit http://cssglobe.com/post/1202/style-your-websites-search-field-with-jscss/ for more info
	
*/

this.searchfield = function(){
	
	// CONFIG 
	
	// this is id of the search field you want to add this script to. 
	// You can use your own id just make sure that it matches the search field in your html file.
	var id = "searchfield";
	
	// Text you want to set as a default value of your search field.
	var defaultText = "MT29A or L&LS-1 number";	
	
	// set to either true or false
	// when set to true it will generate search suggestions list for search field based on content of variable below
	var suggestion = true;
	
	// static list of suggestion options, separated by comma
	// replace with your own
	var suggestionText = "MT-1A Replaced by MT-1D Simplex Mfg. Co.Motor Bike Servi-cycle L 3HP 1949-52, MT-1B Replaced by MT-1D Simplex Mfg. Co.Motor Bike Servi-cycle 3 HP 1949-52, MT-1C Replaced by MT-1D Simplex Mfg. Co.Motor Bike Servi-cycle L 3HP 1949-52, MT-1D Simplex Mfg. Co Motor Bike Servi-cycle L 3HP 1949-52, MT-2B Replaced by MT-47A The Lauson Co.55A-400 - 55A - 502 / 55AB-600 - 55AB-709 2HP 1950-59, MT-3A Replaced by MT-3B Jacobsen Power Mower J100 & Worthington 1.5HP 1949-53, MT-3B Jacobsen Power Mower J100nbsp/ 1.4hp & J200nbsp/ 2HP 1954, MT-4A Jacobsen Power Mower J150A/B/C & Lawn King 1.7 HP 1949-52, MT-4A West Point Lawn Products Power Mower Atco 1.5 HP 1956, MT-5A Replaced by MT-46A The Lauson Co, MT-5B Replaced by MT-46A The Lauson Co./ TLH-650 - TLH-709 3 HP 1950-58, MT-6A The Lauson Co, MT-7A The Lauson Co/ LMC-196 - LMC-202/ LMV-500 - LMV-502 .75 HP 1950-52, MT-7A The Lauson Co. Cont.LMH-225 - LMH-239 1 HP 1950-52, MT-8A Power Products 50/ 50B 1.25 HP 1950-53, MT-9A Power Products 46/ 60/ 65/ 73/ 80/ 210/ 214-216/ 220-224/ 251/ 266/, 355 1950-55, MT-9A Power Products Cont.1003/ 1005/ 1005A/ 1007 - 1008B/ 1022 - 1022C 1950-55, MT-9A Power Products Cont.1035 -1035B/ 1037 - 1037B/ 1038 - 1039C 1950-55, MT-9A Power Products Cont.1055-1056B/ 1059/ 1061/ 1062/, 1070 - 1070B 1950-55, MT-9B Replaced by MT-9C Power Products 85/ 89/ 209/ 211/ 212/ 218/ 226-250/ 252-265/ 357 1950-55, MT-9B Replaced by MT-9C Power Products Cont.267-269/ 271-290/ 292/ 294/ 299/ 2768 1950-55, MT-9C Power Products 99/ 2025 1.3 HP 1953-55, MT-9C Sport (Continental Mfg.) Outboard 2.5 HP 1957-60, MT-12A Whizzer Industries Motor Bike S & 300 3.25 HP 1950-56, MT-14A Kohler K7-1 Generator 1.7 HP 1950-51, MT-15A Kohler K12-1 Industrial 3 HP 1950-51, MT-16A Replaced by MT-48A Cushman Motor Bike 17M63 3 HP/ 17M83 4.5 HP 1950-53, MT-16B Replaced by MT-48A Cushman Industrial 17MB-3 6 HP 1953-55, MT-17A Kohler 350 M21 Generator 1.7 HP 1949-51, MT-18A Kermath (Ballantine Ind.) Inboard Sea Pup 1 Cyl. 5 HP 1950-60, MT-18A Kermath (Ballantine Ind.) Inboard Sea Twin 2 Cyl. 10 HP 1950-60, MT-19A Power Products 318A/ 319/ 319A/ 320/ 323/ 351/ 354A/ 355A/ 359 - 363A/ 1950-53, MT-19A Power Products Cont.365-386A/ 401/ 403/ 407-407B/ 410-411A/ 413-415A/ 417 1950-53, MT-19A Power Products Cont.417A/ 419-422/ 425/ 710155/ 710228 1950-53, MT-21A Pincor Power Mower AVF 2 HP 1951-52, MT-23A Craftsman (Sears) Rotary Mower 19inch 1951-55, MT-23A Henderson Mfg.Power Mower 1951-55,  MT-23A Otaco Limited Rotary Mower OL 526A 1951-55, MT-23A Strunk Chain Saw Tractor Chipmunk Tractor 1951-55, MT-23A West Bend Power Mower 2700, Rotary Mower 2704 1.5 HP 1952-56, MT-23A West Bend Cont.Industrial 2754 1.5 HP/ Tractor 2777 2.3 HP 1954-56, MT-25A Continental Garden Tractor AU-8 2.5 HP 1952-53, MT-25A David Bradley (Sears) Garden Tractor 2.5 HP 1952-53, MT-26A Jacobsen Power Mower J200nbsp/ 2 HP 1953-54, MT-28A Propulsion Engine Co.Power Mower Wizard - Ve 901R 2 HP 1953, MT-29A R.P.M. Mfg. CO.Iron Horse A-10 1.5 HP 1952-53, MT-31A Replaced by MT-31B Power Products, MT-31B Power Products 270/ 291-291B/ 1001/ 2037/ 2038 1953-55, MT-31B Power Products Cont.2050/2050A/2051/ 2052/2058 - 2058B/ 2064/ 2064A 1953-55, MT-31B Power Products Cont.2066/ 2200 - 2201A, 2205, 2205A, 2207 1953-55, MT-32A Replaced by MT-46A The Lauson Co.TLH-725 - TLH-752/ TLV-900 - TLV-920 3 HP 1953-58, MT-33A Power Products 298/ 1004/ 1004A/ 1015 2.5 HP 1953-55, MT-33A Power Products Cont.S-1801 - S-1820/ 2034 - 2035C/ 2038/ 2038A 1953-59, MT-33A Power Products Cont.2045 - 2046B/ 2049/ 2049B/ 2053 - 2057/ 2059 - 2063A 1953-59, MT-33A Power Products Cont.2065/ 2067 - 2070/ 2202 - 2204/ 2208/ 710101 - 710116 1953-59, MT-33AX Power Products 710229 1953-55, MT-34A West Bend Industrial 2706 1.5 HP/ 2723 2.3 HP 1954-56, MT-34AR West Bend Generator 2780 2.8 HP 1956,MT-34AR West Bend Cont. Industrial 2787/ 27872 3 HP 1957-58, MT-34AR West Bend Cont. Industrial 27823/ 27824/ 27854 2.8 HP 1956-59, MT-34AR West Bend Cont.Industrial 58003/ 58004 4 HP 1959-60, MT-34AR Mold Craft Inc.Inboard Skeeto Boat 1959-60, MT-35A Continental Utility Engine AU-85 & 85Rnbsp/ 3 HP 1953-59, MT-36A Jacobson Power Mower J200nbsp/ 2 HP 1953, MT-37A Power Products 701 - 701C/ 708 - 722A/1002 - 1002D/ 1009 - 1010C/ 1020 1954-59, MT-37A Power Products Cont.1023 - 1023C/ 1034/ 1034A/ 1034C - 1034G/ 1040/1041A 1954-59, MT-37A Power Products Cont.1042F/ 1051B/ 1058B/ 710150/ 710152 1954-59, MT-37A Power Products Cont.1060-1060C/ 1065/ 1065A/ 1065B 1954-59, MT-38A Clinton Engines Corp Outboard 24 Chief/ 25 2.5 HP 1954, MT-39A Clinton Engines Corp Outboard 39 Chief/ 40 4 HP 1954, MT-40A The Lauson Co.SLV-1 - SLV-28/ SLV-50 - SLV-65 2/HP/1954, MT-42A Power Products 502-509A/ 2206/ 2206A 1954-55, MT-43A Replaced in 1957-1959 by MT-43B Harley-Davidson Motor Bike Hummer Model B 3.5 HP 1955-1956, MT-43B Harley-Davidson Motor Bike Hummer Model B 3.6 HP 1957-59, MT-44A Replaced by MT-44B Homelite Corp.Pump 36S2-2 3HP 1955, MT-44B Homelite Corp.Pump 36S2-1 3HP 1956-57, MT-45A Power Products373/ 373A 3HP 1954-57, MT-46A The Lauson Co.TLH-747 3HP 1954-58, MT-47A The Lauson Co.CH-17 - CH-20/ R-1 - R-12/ RSH-737 - RSH-917 1.75 - 2HP 1955-59, MT-47A The Lauson Co. Cont.RSH-766/ RSH-772-6/ RSH-814/ RSH-855/ RSH-871 2HP 1955-59, MT-47A The Lauson Co. Cont.RSH-886/ RSH-888/ RSV-800 - RSV-807/ V-1 - V-15 2HP 1955-59, MT-48A Cushman & Sears Scooter 14-92C 3.8HP & 721 Power Mower 728 4.8HP 1955-59, MT-49A Power Products 416 3.5HP, MT-50A Replaced by MT-50C Power Products 601/ 601A/ 601-01/ 2.5HP 1955-59, MT-50A Replaced by MT-50C Power Products Cont.605 - 605-18/ 606 - 606-13A/ 608/ 608A 2.5HP 1955-59, MT-50A Replaced by MT-50C Power Products Cont.611/ S-1821 1955-59, MT-50B Replaced by MT-50C Power Products, MT-50B1 Replaced by MT-50C Power Products 601B/ 608B 1956-59, MT-50C Power Products 604 - 604-25/ 710124 - 710130/ 710131 - 710137 1957-59, MT-51A Replaced by MT-51C Power Products 602-602C/ 602-01 - 602-02,/ S-1822/ S-1823 1955-58, MT-51B Replaced by MT-51C Power Products 602D/ 602-02A/ 603 - 603-23 1956-58 MT-51C, Power Products 602B/ 622 - 622-06/ 623 - 623-23/ 710138 - 710144 1957-58, MT-51C Power Products Cont.710219 - 710227 1957-58, MT-52A Jacobsen Rotary Mower J100 UD 1955, MT-52B, MT-53A Homelite Corp.Generator 35A115 3HP 1955, MT-54A Jacobsen Rotary Mower JV 225-VS 24inch 1956, MT-55A Cushman Scooter 1956-59, MT-56A Power Products 1956, MT-57A Simplex Mfg. Co.Motor Bike 1956, MT-58A Jacobsen Power Mower J175 VS 18foot MB Rotary 1957, MT-58B Jacobsen 22 inch Sceptor J175 VFS 1959, MT-59A Replaced by MT-59B Jacobsen Power Mower J175 VS 21inch Special Rotary and J175A/B/C 1957-60, MT-59AX Jacobsen J175 VAS 1956, MT-59B Jacobsen J175A Lawn King 1959, MT-60A Jacobsen Power Mower & Trimmer J100G 1956-59, MT-60AnJacobsen Cont.J175 VS 21 foot MB and J100I 1956-59, MT-61A Replaced by MT-61D Power Products 610 - 610-20 2HP/ 614-01 - 614-06A 1956-60, MT-61B Replaced by MT-61D Power Products 615 - 615-34 except 615-17/ 616 - 616-35/ 617 - 617-06 1957-60, MT-61B Replaced by MT-61D Power Products Cont.618 - 618-18/ 619/ 621 - 621-10 1957-60, MT-61B Replaced by MT-61D Motor Wheel Co. Power Mower MRSR 218-8 and 221-8 1958, MT-61C Replaced by MT-61D Power Products 619A/ 619-01/710201 - 710218 1958-60, MT-61C Replaced by MT-61D Motor Wheel Co.Power Mower TLR-218-8 and 221-8 1958, MT-61D N/A, MT-63A Cushman Scooter M8 and M9 5HP 1956-59, MT-64A Homelite/ MT-65A Replaced by MT-65B Clinton Engines Corp Outboard J-7/ J-8 5HP 1957-58, MT-65B Replaced by MT-65B Clinton Engines Corp Outboard Chief/ Apache J-9 5HP 1959-60, MT-67A Homelite Corp. Pump 3753-1, MT-70A Jacobsen Rotary Mower 18inch Standard 7718 1959, MT-71A Cushman Scooter 765 Eagle 1958-59, MT-72A Jacobsen Rotary Mower 20inch Scepter 8020 and J125AS/B/G/H/I 1959-60, MT-73A Jacobsen Reel Mower 21inch Manor 28F21 and J125G Manor 1959, MT-74A Jacobsen Rotary Mower 22inch Scepter 8022 and J175VCS/VDS 1959, MT-76A Harley-Davidson Scooter A anc AU 6HP 1959, MT-77A Jacobsen Reel Mower 21inch Queen 2C21 anc J100AS Pacer 1959, MT-79A Power Products 1141 1959, MT-80A Power Products 1154/ 1155 1959, MT-81A Homelite Corp. Mower Car M-26 1959, MT-82A Harley-Davidson Motor Scooter 1960-1961 165cc BT and BTU Super 10 also 1962 BTF Ranger also 1962 to 1966 165cc and 175cc BT Pacer-BTU Pacer-BTH Scat, MT-83A Homelite Corp. Pump 36S2 1959, MT-84A Jacobsen Power Mower 8924 Hi-Wheel J225 VASJ 1959, MT-85A Homelite, MT-86A Jacobsen Rotary Mower 18inch Turbo Cut J125 VS 1959, MT-88A Homelite, MT-89A Continental, MT-90A Pachancho, MT-91A Replaced by MT-91B Chrysler Outboard, MT-91B Chrysler Outboard, MT-92A Chrysler Outboard, MT-93A Replaced by MT-94A Clinton, MT-94A Clinton, MT-95A Clinton, MT-96A Clinton, MT-97A Chrysler Outboard, MT-98A Pachancho, MT-99A Homelite, L&LS-1 Harley davidson 125s 1948-52, L&LS-2 Harley Davidson 165ST 1953 only, L&LS-3 Harley Davidson 165ST 1954-1958, L&LS-4 Harley Davidson 165ST 1959 Only, ML-1A Replaced by ML-1B The Lauson Co.1939-44, ML-1B The Lauson Co.RSC150-2 - RSC757 1.5HP 1950-52, ML-1BX 1949, ML-2A Replaced by ML-2B Cushman Motor Works Utility Engine M-50/ M-14 and M-15 2HP 1942-48, ML-2B Cushman Motor Works Utility Engine M-50/ M-14 and M-15 2HP 1947-56, ML-3A Cushman Motor Works Utility Engine M-7 4HP 1942-48, ML-3B Cushman Motor Works 4 horse power step through scooter Motor Bike 17M71 4HP 1947-53, ML-4A 1943, ML-5A Replaced by ML-5B Whizzer Industies Motor Bike (H) 2.5HP 1945, ML-5B Whizzer Industies Motor Bike (H) 2.5HP 1946-50, ML-6A 1946-48, ML-7A Replaced by ML-7B ClintonUtility Engine 700 1.75HP 1946-48, ML-7B Replaced by ML-7B Clinton Utility Engine 700 1.75HP 1946-48, ML-8A Continental Utility Engine AA-7 2HP 1946-50, ML-9A Replaced by ML-9B Utility Engine AU-7 2HP 1947-49, ML-9A Replaced by ML-9B Propulsion Eng. Co. Power Mower Power Pak C45 Vac-U-Mower 2HP 1947-49, ML-9B Propulsion Eng. Co. Power Mower Power Pak C45 Vac-U-Mower 2HP 1950-52, ML-10A 1947-48, ML-11A 1947-48, ML-12A Replaced by ML-12B 1948, ML-12B 1948, ML-13A 1947-48, ML-14A Replaced by ML-7B Clinton Utility Engine 1100 3HP 1947-49, ML-15A Replaced by ML-15B Continental Utility Engine AU-7 2HP 1948, ML-15B Continental Utility Engine AU-7 2HP 1948-51, MS-76A Replaced by MS-76B Cushman Motor WorksM/ 3M/ 4M 1933-35, MS-76B Cushman Motor Work sM/ 3M/ 4M 1935-41, MS-76BX Cushman Motor Works Scooter 1936-41, MS-33A Indian Motorcycle Co.Indian Scout 1929-30 37ci 101 / 1933 Scout Pony, MS-33B Indian Motorcycle Co.37ci 1931, MS-34A Indian Motorcycle Co.45ci 101 scout 1929-30, MS-34B Indian Motorcycle Co. 45ci 1930, MS-20D Indian Motorcycle Co. Silver Arrow Outboard 1930, MS-57A Harley-Davidson Motor Co.45ci D/ DL/ 1930, MS-106A Cushman Motor Works Scooter 1939-41, MS-1G Gray Marine Motor Co.Z 1926-30, MS-3A Evinrude Motors Corp.Outboard N 2.5 HP 1927, MS-4A Evinrude Motors Corp. Outboard R Sport twin 1927-28, MS-4B Evinrude Motors Corp. Outboard R Sportwin/ N/ NS/ NC 1929, MS-4B Jack Watson Ltd DDV 1930-41, MS-5A Briggs and Stratton Corp FI and FH 1926-28, MS-5A Moto-Mower Co.Junior Model, MS-6A Replaced by MS-6B Briggs and Stratton Corp PB 1927-28, MS-6B Briggs and Stratton Corp PB 1928, MS-7A Replaced by MS-7B Briggs and Stratton Corp Q 1927, MS-7B Briggs and Stratton Corp Q 1928-29, MS-8A Replaced by MS-20D Evinrude Motors Corp.Outboard T 1927-28, MS-10A Replaced by MS-10B Ideal Power Lawnmower Co.V-20/ V-25 1927-29, MS-10B Ideal Power Lawnmower Co.R 1929-30, MS-10C Ideal Power Lawnmower Co.V-20/ CS-25 1930-33, MS-11A Evinrude Motors Corp.Outboard U and UL Speeditwin 1927-28, MS-11B Evinrude Motors Corp.Outboard U and UL Speeditwin 1929-30, MS-11BX Evinrude Motors Corp. Outboard U and UL Speeditwin 1929-33, MS-12A Replaced by MS-12B Evinrude Motors Corp.Outboard H and HL Fastwin 1928-29, MS-12B Evinrude Motors Corp.Outboard H and HL Fastwin 1929-30, MS-12BX Evinrude Motors Corp.Outboard H and HL Fastwin 1929-30, MS-12BY Evinrude Motors Corp.Outboard H and HL Fastwin 1929-30, MS-13A Evinrude Motors Corp.Outboard F 1927-29, MS-13B Evinrude Motors Corp.Outboard F 1929-30, MS-14A Replaced by MS-44A Briggs and Stratton Corp PB 1928-29, MS-14B Replaced by MS-44A Briggs and Stratton Corp PB 1929-30, MS-15A Briggs and Stratton Corp Q 1928-29, MS-15B Briggs and Stratton Corp Q 1929-30, MS-16A Replaced by MS-31D Coldwell Lawn Mower Co. Cub 1928, MS-17A Novo Engine Co.TU/ GU/ SU/ KU 1928, MS-17B Novo Engine Co.TU/ GU/ SU/ KU 1928, MS-18A Replaced by MS-18B Mar Tan Motor Co.B 1928-29, MS-18B Mar Tan Motor Co.B 1929, MS-19A Toro Mfg. Co.ME 1928, MS-19B Toro Mfg. Co.ME 1929-31, MS-20A Replaced by MS-20D Gray and Prior Mach. Co.Sturdy Outboard 1928, MS-20B Replaced by MS-20D Gray and Prior Mach. Co.Sturdy Outboard 1929, MS-20C Replaced by MS-20D Gray and Prior Mach. Co.Sturdy Outboard 1929, MS-21A Replaced by MS-21B Caille Motor Co.Outboard C-42-46 1928-29, MS-21B Caille Motor Co.Outboard C-42-46 1929-30, MS-22A Replaced by MS-22C The Lauson Co.JA-815 1928, MS-22B Replaced by MS-22C The Lauson Co.JA-816 1928, MS-23A Kinkead Mfg. Co.Garden Tractor 1928-30, MS-23B Kinkead Mfg. Co.Garden Tractor 1930, MS-24A Novo Engine Co.T.U.1928, MS-26A Mar Tan Motor Co.E/ A 1928, MS-26B Mar Tan Motor Co.E/ A 1929, MS-27A Kalamazoo Railway Supply Railcar 1928 MS-27B Kalamazoo Railway Supply Railcar 1930, MS-28A Westinghouse Elec. Co.E-31 1929, MS-28B Westinghouse Elec. Co.E-35/ E-36 1929-30, MS-29A Westinghouse Elec. Co.E-35 1929, MS-30A Replaced by MS-30B Caille Motor Co.B302A 1928-29, MS-30B Caille Motor Co.B-24/ 32/ 34 1929, MS-30R Replaced by MS-30S Caille Motor Co.B36 Racer 1929, MS-30S Caille Motor Co.B-36 Standard 1931, MS-31A Replaced by MS-31D Coldwell Lawn Mower Co.Single-Twin 1928-29, MS-31B Replaced by MS-31D Coldwell Lawn Mower Co.Single-Twin 1930, MS-31C Replaced by MS-31D Coldwell Lawn Mower Co.Single 1934, MS-31D Coldwell Lawn Mower Co.Club Jr.1937-38, MS-32A Evinrude Motors Corp.Outboard Elto Quad 1929-30, MS-32B Replaced by MS-32C Evinrude Motors Corp.O/B 704/ Speedy 4/ Quad 1929-30, MS-32BX Replaced by MS-32CX Evinrude Motors Corp.O/B Service and Senior Quad 1930, MS-32C Evinrude Motors Corp.O/B Speediquad/ Speedifour 1930-37, MS-32CX Evinrude Motors Corp.Outboard Quad 50 1930-31, MS-32D Evinrude Motors Corp.Outboard 1938-41, MS-35A Pioneer Mfg. Co.Red E 1928-29, MS-35B Pioneer Mfg. Co.Red E 1930-32, MS-36A Replaced by MS-36B American Farm Mach. Co.Kincade, Walsh 1928-29, MS-36B American Farm Mach. Co.Kincade/ Walsh 1930-31, MS-37A Phelps Power & Light D/ 3/ 1E Light Plant 1928-29, MS-37B Phelps Power and Light D/ 3/ 1E Light Plant 1929-30, MS-37BX Phelps Power and Light D/ 3/ 1E Light Plant 1930, MS-39A Cross Gear and Engineering Co.Radial 1929, MS-40A Replaced by MS-40AA Caille Motor Co.A-14/ 15/ 16/ MS-40AA Caille Motor Co.35 Racer 1929-30, MS-40AX Caille Motor Co. A-14/ 15/ 16 1931, MS-40B Caille Motor Co.A-14/ 15/ 16 1931-32, MS-41A Evinrude Motors Corp. Outboard U 1929, MS-42A Caron Brothers of Montreal P.Q.1929, MS-43A Caron Brothers of Montreal P-Q 1929, MS-44A Briggs and Stratton Corp PB 1929-30, MS-44B Briggs and Stratton Corp PB 1930-32, MS-45A Muncie Gear Co.Outboard OB-2 Neptune 1929-37, MS-45B Muncie Gear Co.Outboard OB-4 Neptune 1936, MS-45C Muncie Gear Co.Outboard 1938, MS-45D Muncie Gear Co. Outboard 1939, MS-45E Muncie Gear Co. Outboard 1940, MS-45H Muncie Gear Co.Outboard 1941, MS-46A New Way Motor Co.BH 1930-31, MS-47A Replaced by MS-47B Caille Motor Co.B-25/ 26/ 27/ 28 1930-31, MS-47A Replaced by MS-47B Muncie Gear Co.O/B A/ OB16/ 14/ Neptune 1931-33, MS-47AA Replaced by MS-47B Caille Motor Co.B-25/ 26/ 27/ 28 1930-31, MS-47AX Replaced by MS-47B Caille Motor Co.B-25/ 26/ 27/ 28 1930-31, MS-47B Caille Motor Co.B-25/ 26/ 27/ 28 1930-31, MS-47B Muncie Gear Co.O/B A/ OB16/ 14/ Neptune 1934-39, MS-47C Muncie Gear Co.O/B A/ OB16/ 14/ Neptune 1940, MS-47D Muncie Gear Co.O/B A/ OB16/ 14/ Neptune 1941, MS-48A Replaced by MS-48B Caille Motor Co.B-40 1930-31, MS-48AA Caille Motor Co.B-401930-31/ MS-48B Caille Motor Co.B-40 1931, MS-49A Replace by MS-49B Caille Motor Co. C-45/ 47/ 48/ 49 1930, MS-49AA Replace by MS-49B Caille Motor Co.C-45/ 47/ 48/ 49 1930, MS-49B Caille Motor Co.C-45/ 47/ 48/ 49 1930, MS-50A Replaced by MS-50B Caille Motor Co.C-50 1930, MS-50B Caille Motor Co.C-50 1930, MS-51A Homelite Corp.G 1930, MS-52A Replaced by MS-52B Homelite Corp. G 1930-36, MS-52B Homelite Corp.G 1934-35, MS-53A Mar Tan Motor Co.EC 1930-31, MS-54A Novo Engine Co.TU Motor 1930-34, MS-55A Evinrude Motors Corp.O/B Lockwood Chief/ 60 Quad 1930, MS-55B Evinrude Motors Corp.O/B Lockwood Chief/ 60 Quad 1930, MS-56A The Lauson Co.V 1930-31, MS-58A Phelps Power and Light D/ 3/ 1E Light Plant 1930-34, MS-58AX Phelps Power and Light D/ 3/ 1E Light Plant 1934-35, MS-59A Coldwell Lawn Mower Co.Twin 1930 MS-59AX Coldwell Lawn Mower Co.Twin 1930, MS-59B Coldwell Lawn Mower Co.Twin 1930 MS-59C Coldwell Lawn Mower Co.Twin 1931, MS-60A Replaced by MS-118A Sylvester Mfg. Co.Rail Car 1930-41, MS-65A Evinrude Motors Corp. O/B JR Quad/ Sport 4 1931, MS-66A Muncie Gear Co.Elgin Bicycle/ CM2-14 1931-34, MS-66B Muncie Gear Co. Elgin Bicycle/ CM2-15 1935, MS-67A Coldwell Lawn Mower Co.L Twin/ Twin 30 1931-38, MS-68A Murray and Tregurtha RP-22 1932, MS-69A Muncie Gear Co.Lawn & Power/ LM2 Mower 1931-37, MS-70A Replaced by MS-70B Evinrude Motors Corp.Speedibike 1932, MS-70B Replaced by MS-95B Evinrude Motors Corp. Speedibike 1932-37, MS-70B Replaced by MS-95B Salsbury Corp. Scooter 1937, MS-71A Caille Motor Co.79-119 1932, MS-72A Novo Engine Co.A.G.1932-34, MS-73A Replace by MS-105A Muncie Gear Co.O/B OB1-14/ Waterwitch 1934-36, MS-73B Replace by MS-105A Muncie Gear Co.O/B A/ OB1-14/ Neptune 1936-38, MS-74A The Lauson Co.Ray 843 1932-34, MS-74B Replaced by MS-74C The Lauson Co.Ray 844 1935-36, MS-74C The Lauson Co.Ray 845 1936-37, MS-74D The Lauson Co.Ray 846 1938-40, MS-74J The Lauson Co.Ray 847 1938-41, MS-75A Massey-Harris Co.Model 3 1933-36, MS-77A Replaced by MS-77C The Lauson Co.Ray 853 1933-34, MS-77B Replaced by MS-77C The Lauson Co.Ray 854 1935, MS-77C The Lauson Co.Ray 855 1935-37, MS-77C Wells Mfg. Co.Scooter 1937, MS-78A Nelson Brothers Co.VBG/ VSG/ HBG 1933-34, MS-79A Nelson Brothers Co.VCG/ VDG 1933-34, MS-80A Homelite Corp.R Generators 1933-34, MS-80B Homelite Corp.R Generators 1933-35, MS-82A Nelson Brothers Co.VFG 1933-34, MS-83A Eclipse Aviation Corp.M-3017/ 3359 1934-42, MS-83AX Eclipse Aviation Corp./ M-3017/ 3359 1934-42, MS-84A Replaced by MS-89A Jacobsen Mfg. Co.Heavy Duty Twin 1935-36, MS-85A Replaced by MS-85C Champion Motors Co.O/B A-Single 3.2 HP 1935, MS-85B Replaced by MS-85C Champion Motors Co.O/B 1 B-Single 3.2 HP 1936, MS-85C Champion Motors Co.O/B S1C Std. Single 2.8 HP 1937, MS-85C Kiekhaefer Corp.Outboard 1939, MS-85CX Kiekhaefer Corp.Outboard 1939, MS-85D Kiekhaefer Corp.Outboard 1939, MS-85DX Champion Motors Co.Outboard 1939, MS-86A Replaced by MS-107A Homelite Corp.R Generators 1935-39, MS-86AX Homelite Corp.R Generators 1936-39, MS-87A Homelite Corp.1933-39, MS-88A Replaced by MS-88B Muncie Gear Co.Outboard OB-34 1936 MS-88B Muncie Gear Co.Outboard OB-35 1936, MS-89A Jacobsen Mfg. Co.E-18/ A2 Single and Twin 1935-41, MS-90A Champion Motors Co.O/B 2B/ S2C/ D2C 1936-37, MS-91A Evinrude Motors Corp.Midget Racer 1936-39, MS-92A Champion Motors Co.O/B 3B/ D3C/ Sr.1936-37, MS-93A Replaced by MS-93FX Simplex Mfg. Co.Service Cycle 1936-37, MS-93B Replaced by MS-93FX Simplex Mfg. Co.Service Cycle 1937, MS-93C Replaced by MS-93FX Simplex Mfg. Co.Service Cycle 1937, MS-93D Replaced by MS-93FX Simplex Mfg. Co.Service Cycle 1938-40, MS-93E Replaced by MS-93FX Simplex Mfg. Co.Service Cycle 1941, MS-93F Replaced by MS-93FX/ MS-93FX/ MS-94A Homelite Corp.G 1936-41, MS-94AX Homelite Corp.Generator B & G 1938-45, MS-95A The Lauson Co.RL/ RS 1937, MS-95A Salsbury Corp.Scooter/ Johnson Iron Horse 1937, MS-95B Custer Specialty Co.Johnson Iron Horse/ Scooter 1937, MS-95B Salsbury Corp.Johnson Iron Horse 1937, MS-96A Replaced by MS-97A Lauson Corp.RL & RS Motor Scooter 1937-39, MS-96A Replaced by MS-97A Wells Mfg. Co.MT Scooter 1937, MS-97A Wells Mfg. Co.MT Scooter 1937, MS-98A Paramount Mfg. Co.Traveler Scooter 1937-39, MS-99A Muncie Gear Co.Outboard 1938, MS-99B Muncie Gear Co.Outboard 1939, MS-99C Muncie Gear Co.Outboard 1940, MS-99CX Muncie Gear Co.Buick and Outboard 1940, MS-100A Homelite Corp.Light Plant 1938-39, MS-101A Johnson MotorsOutboard 1938, MS-101A Salsbury Corp.Scooter 1938, MS-101B Johnson Motors Outboard 1939, MS-103A The Lauson Co.1938-41, MS-103A Salsbury Corp.Scooter 1938-39, MS-104A Johnson Motors Outboard 1938, MS-104A Rockala Mfg.Motor Scooter 1938, MS-105A Replaced by MS-105B Muncie Gear Co.Buick and Outboard 1939, MS-105B Muncie Gear Co.Buick and Outboard 1940-41, MS-107A Homelite Corp.Pump and Generator R/ HR/ HRUH 1940-52, MS-108A The Lauson Co.1939-40, MS-109A Goodall Mfg. Co.Rotary Power Mower 1940, MS-110A The Lauson Co.1939-41, MS-111A Champion Motor Co.Outboard 1940, MS-112A Champion Motor Co.Outboard 1940, MS-113A Kiekhaefer Corp.Outboard 1940-41, MS-114A Champion Motor Co.Outboard 1940-41, MS-115A Kiekhaefer Corp.Outboard 1940-41, MS-116A The Lauson Co.TLC286-1 1940-41, MS-116A Salsbury Corp.Scooter 70 and 72 1940-41, MS-116A Sylvester Mfg. Co.Rail Car 1941, MS-117A Replaced by MS-117D Stewart Warner Corp.Heater units 782Z Ground 1941, MS-117B Replaced by MS-117D Stewart Warner Corp.Heater units 782Z Ground 1941, MS-117C Stewart Warner Corp.Heater units 782C Aircraft 1941, MS-117CX Stewart Warner Corp.Heater units 782A Aircraft 1941, MS-117D Stewart Warner Corp.Heater units 782Z Ground 1941, MS-118A (Only 50 Units Built) Sylvester Mfg. Co.Rail Car Motors 1941-42, MS-119A Replaced by MS-119B Stewart Warner Corp.Heater units 792 Ground 1941, MS-119B Stewart Warner Corp.Heater units 792 Ground 1941, MS-119C-1 Stewart Warner Corp.Heater units 792A/B/D/ and E 1942-43, MS-119C-1A Stewart Warner Corp.Heater units 792A/B/D/ and E Tank-Trailer-Marine 1942-43, MS-119C-2 Stewart Warner Corp.Heater units 1942-43, MS-119C-3 Stewart Warner Corp.Heater units 792C and F Aircraft 1942-43, MS-124A Berg & Co.1 Cyl Motor Cycle 1946-47, MS-125A Replaced by MS-125B Propulsion Engr. Co.1 Cyl Engine 1946, MS-125B Propulsion Engr. Co.1 Cyl Engine 1946, MS-126A Homelite Corp.1946-47, MS-127A Witte Engine Works Utility (98) 10HP 1952-56, MS-102A Cushman Motor Works Scooter 1940"; 
	
	// END CONFIG (do not edit below this line, well unless you really, really want to change something :) )
	
	// Peace, 
	// Alen

	var field = document.getElementById(id);	
	var classInactive = "sf_inactive";
	var classActive = "sf_active";
	var classText = "sf_text";
	var classSuggestion = "sf_suggestion";
	this.safari = ((parseInt(navigator.productSub)>=20020000)&&(navigator.vendor.indexOf("Apple Computer")!=-1));
	if(field && !safari){
		field.value = defaultText;
		field.c = field.className;		
		field.className = field.c + " " + classInactive;
		field.onfocus = function(){
			this.className = this.c + " "  + classActive;
			this.value = (this.value == "" || this.value == defaultText) ?  "" : this.value;
		};
		field.onblur = function(){
			this.className = (this.value != "" && this.value != defaultText) ? this.c + " " +  classText : this.c + " " +  classInactive;
			this.value = (this.value != "" && this.value != defaultText) ?  this.value : defaultText;
			clearList();
		};
		if (suggestion){
			
			var selectedIndex = 0;
						
			field.setAttribute("autocomplete", "off");
			var div = document.createElement("div");
			var list = document.createElement("ul");
			list.style.display = "none";
			div.className = classSuggestion;
			list.style.width = field.offsetWidth + "px";
			div.appendChild(list);
			field.parentNode.appendChild(div);	

			field.onkeypress = function(e){
				
				var key = getKeyCode(e);
		
				if(key == 13){ // enter
					selectList();
					selectedIndex = 0;
					return false;
				};	
			};
				
			field.onkeyup = function(e){
			
				var key = getKeyCode(e);
		
				switch(key){
				case 13:
					return false;
					break;			
				case 27:  // esc
					field.value = "";
					selectedIndex = 0;
					clearList();
					break;				
				case 38: // up
					navList("up");
					break;
				case 40: // down
					navList("down");		
					break;
				default:
					startList();			
					break;
				};
			};
			
			this.startList = function(){
				var arr = getListItems(field.value);
				if(field.value.length > 0){
					createList(arr);
				} else {
					clearList();
				};	
			};
			
			this.getListItems = function(value){
				var arr = new Array();
				var src = suggestionText;
				var src = src.replace(/, /g, ",");
				var arrSrc = src.split(",");
				for(i=0;i<arrSrc.length;i++){
					if(arrSrc[i].substring(0,value.length).toLowerCase() == value.toLowerCase()){
						arr.push(arrSrc[i]);
					};
				};				
				return arr;
			};
			
			this.createList = function(arr){				
				resetList();			
				if(arr.length > 0) {
					for(i=0;i<arr.length;i++){				
						li = document.createElement("li");
						a = document.createElement("a");
						a.href = "javascript:void(0);";
						a.i = i+1;
						a.innerHTML = arr[i];
						li.i = i+1;
						li.onmouseover = function(){
							navListItem(this.i);
						};
						a.onmousedown = function(){
							selectedIndex = this.i;
							selectList(this.i);		
							return false;
						};					
						li.appendChild(a);
						list.setAttribute("tabindex", "-1");
						list.appendChild(li);	
					};	
					list.style.display = "block";				
				} else {
					clearList();
				};
			};	
			
			this.resetList = function(){
				var li = list.getElementsByTagName("li");
				var len = li.length;
				for(var i=0;i<len;i++){
					list.removeChild(li[0]);
				};
			};
			
			this.navList = function(dir){			
				selectedIndex += (dir == "down") ? 1 : -1;
				li = list.getElementsByTagName("li");
				if (selectedIndex < 1) selectedIndex =  li.length;
				if (selectedIndex > li.length) selectedIndex =  1;
				navListItem(selectedIndex);
			};
			
			this.navListItem = function(index){	
				selectedIndex = index;
				li = list.getElementsByTagName("li");
				for(var i=0;i<li.length;i++){
					li[i].className = (i==(selectedIndex-1)) ? "selected" : "";
				};
			};
			
			this.selectList = function(){
				li = list.getElementsByTagName("li");	
				a = li[selectedIndex-1].getElementsByTagName("a")[0];
				field.value = a.innerHTML;
				clearList();
			};			
			
		};
	};
	
	this.clearList = function(){
		if(list){
			list.style.display = "none";
			selectedIndex = 0;
		};
	};		
	this.getKeyCode = function(e){
		var code;
		if (!e) var e = window.event;
		if (e.keyCode) code = e.keyCode;
		return code;
	};
	
};

// script initiates on page load. 

this.addEvent = function(obj,type,fn){
	if(obj.attachEvent){
		obj['e'+type+fn] = fn;
		obj[type+fn] = function(){obj['e'+type+fn](window.event );}
		obj.attachEvent('on'+type, obj[type+fn]);
	} else {
		obj.addEventListener(type,fn,false);
	};
};
addEvent(window,"load",searchfield);


