<!-- Begin

var USAArray =  new Array("('Choose a State','',true,true)",
"('Alabama','AL')",
"('Alaska','AK')",
"('Arizona','AZ')",
"('Arkansas','AR')",
"('California','CA')",
"('Colorado','CO')",
"('Connecticut','CT')",
"('Delaware','DE')",
"('Dist Columbia','DC')",
"('Florida','FL')",
"('Georgia','GA')",
"('Hawaii','HI')",
"('Idaho','ID')",
"('Illinois','IL')",
"('Indiana','IN')",
"('Iowa','IA')",
"('Kansas','KS')",
"('Kentucky','KY')",
"('Louisiana','LA')",
"('Maine','ME')",
"('Maryland','MD')",
"('Massachusetts','MA')",
"('Michigan','MI')",
"('Minnesota','MN')",
"('Mississippi','MS')",
"('Missouri','MO')",
"('Montana','MT')",
"('Nebraska','NE')",
"('Nevada','NV')",
"('New Hampshire','NH')",
"('New Jersey','NJ')",
"('New Mexico','NM')",
"('New York','NY')",
"('North Carolina','NC')",
"('North Dakota','ND')",
"('Ohio','OH')",
"('Oklahoma','OK')",
"('Oregon','OR')",
"('Pennsylvania','PA')",
"('Puerta Rico','PR')",
"('Rhode Island','RI')",
"('South Carolina','SC')",
"('South Dakota','SD')",
"('Tennessee','TN')",
"('Texas','TX')",
"('Utah','UT')",
"('Vermont','VT')",
"('Virginia','VA')",
"('Virgin Islands','VI')",
"('Washington','WA')",
"('West Virginia','WV')",
"('Wisconsin','WI')",
"('Wyoming','WY')",
"('List','list')");

var ProUSAArray =  new Array("0",
"18",
"203",
"163",
"0",
"0",
"184",
"3",
"198",
"7",
"187",
"202",
"36",
"0",
"0",
"0",
"0",
"192",
"204",
"65",
"3",
"198",
"3",
"108",
"112",
"18",
"0",
"143",
"192",
"0",
"3",
"198",
"206",
"0",
"213",
"112",
"0",
"211",
"158",
"0",
"8",
"3",
"118",
"112",
"18",
"0",
"184",
"3",
"198",
"157",
"0",
"223",
"38",
"184",
"0");

var DistUSAArray =  new Array("0",
"214",
"203",
"206",
"0",
"0",
"216",
"3",
"7",
"7",
"0",
"202",
"36",
"0",
"0",
"0",
"0",
"192",
"204",
"0",
"3",
"7",
"3",
"0",
"112",
"18",
"0",
"143",
"192",
"0",
"3",
"198",
"206",
"0",
"213",
"112",
"0",
"211",
"158",
"0",
"8",
"3",
"118",
"112",
"18",
"0",
"216",
"3",
"7",
"157",
"0",
"223",
"39",
"216",
"0");

var USARegionArray =  new Array("0",
"S",
"W",
"W",
"C",
"W",
"W",
"N",
"N",
"N",
"S",
"S",
"W",
"W",
"N",
"N",
"C",
"C",
"N",
"C",
"N",
"N",
"N",
"N",
"C",
"S",
"C",
"W",
"C",
"W",
"N",
"N",
"W",
"N",
"S",
"C",
"N",
"C",
"W",
"N",
"S",
"N",
"S",
"C",
"S",
"C",
"W",
"N",
"N",
"S",
"W",
"N",
"N",
"W",
"0");


var CanadaArray = new Array("('Choose a Province or Territory','',true,true)",
"('Alberta','AB')",
"('British Columbia','BC')",
"('Manitoba','MB')",
"('New Brunswick','NB')",
"('Newfoundland/Labrador','NF')",
"('Northwest Territories','NT')",
"('Nova Scotia','NS')",
"('Ontario','ON')",
"('Prince Edward Island','PE')",
"('Quebec','PQ')",
"('Saskatchewen','SK')",
"('Yukon Territory','YT')",
"('List','list')");

var ProCanadaArray = new Array("0",
"13",
"13",
"13",
"44",
"44",
"13",
"44",
"125",
"44",
"148",
"13",
"13",
"0");

var DistCanadaArray = new Array("0",
"13",
"199",
"13",
"44",
"44",
"13",
"44",
"0",
"44",
"148",
"13",
"13",
"0");

var CanadaRegionArray = new Array("0",
"C",
"C",
"C",
"C",
"C",
"C",
"C",
"C",
"C",
"C",
"C",
"C",
"0");


var OtherArray = new Array("('Import/Export Country List','',true,true)",
"('Australia','')",
"('Austria','')",
"('Belgium','')",
"('Brazil','')",
"('Caribbean','')",
"('Central America','')",
"('Denmark','')",
"('England','')",
"('France','')",
"('Germany','')",
"('Hong Kong','')",
"('India','')",
"('Italy','')",
"('Mexico','')",
"('Netherlands','')",
"('New Zealand','')",
"('Russia','')",
"('South America','')",
"('Spain','')",
"('Switzerland','')",
"('Thailand','')",
"('List','list')");

var ProOtherArray =  new Array("0",
"251",
"252",
"253",
"254",
"255",
"256",
"257",
"258",
"259",
"260",
"261",
"262",
"263",
"264",
"265",
"266",
"267",
"268",
"269",
"270",
"271",
"0");

var OtherRegionArray =  new Array("0",
"I",
"I",
"I",
"I",
"I",
"I",
"I",
"I",
"I",
"I",
"I",
"I",
"I",
"I",
"I",
"I",
"I",
"I",
"I",
"I",
"I",
"0");

var DistOtherArray = ProOtherArray

var repArray = new Array(300);
var regArray = new Array(300);
for (var xcnt=0 ; xcnt<300 ; xcnt++) {
	repArray[xcnt] = 'Rep ' + xcnt + ' is not defined';
	if (xcnt > 250) {
		regArray[xcnt] = 'I';
	} else {
		regArray[xcnt] = '';
	}
}

//Direct Rep List
repArray[184]  = 'Rich Adair,2705 S. Hwy #66,Morgan UT 84050-9685,MOBILE: 801-558-5569,mailto:Radair'; 
regArray[184] = 'W';
//repArray[210] = 'Dave Baker,300 Hamilton,Unit #106,Plymouth MI 48170,MOBILE: 734-790-8341,mailto:DBaker'; 
repArray[210] = 'Keith Ripley,1093 Jennings Rd.,Salem OH 44060,FAX: 330-337-6558,MOBILE: 330-352-8615,mailto:Kripley'; 
regArray[210] = 'N';
repArray[108] = 'T. Keith Branoff,1420 Chanticlair Circle,Wixom MI 48393-1606,PHONE: 248-960-6502,FAX: 248-960-6502,MOBILE: 248-613-9066,mailto:Kbranoff'; 
regArray[108] = 'N';
repArray[191] = 'Brandon Buell,4015 Gazebo Lane,Missouri City TX 77459,FAX: 281-778-6139,MOBILE: 713-818-0861,mailto:Bbuell'; 
regArray[191] = 'C';
//repArray[212] = 'Scott Chynoweth,390 Wellsboro,Walled Lake MI 48390,MOBILE: 734-790-8341,mailto:SChynoweth'; 
repArray[212] = 'T. Keith Branoff,1420 Chanticlair Circle,Wixom MI 48393-1606,PHONE: 248-960-6502,FAX: 248-960-6502,MOBILE: 248-613-9066,mailto:Kbranoff'; 
regArray[212] = 'N';
repArray[65]  = 'Robert Cutrer,PO Box 296,Brashear TX 75420,PHONE: 979-421-9244,MOBILE: 903-335-0369,mailto:Rcutrer'; 
regArray[65]  = 'C';
repArray[118] = 'Chuck Fearn,5382 5th Fairway Dr,Hollywood SC 29449,PHONE: 843-412-4779,mailto:Cfearn'; 
regArray[118] = 'S';
repArray[163] = 'John Franks,5562 Oak Meadow Dr,Yorba Linda CA 92886,PHONE: 714-473-0193,mailto:Jfranks'; 
regArray[163] = 'W';
repArray[204] = 'Bob Getz,8321 Lacevine Rd,Louisville KY 40220,MOBILE: 440-221-4058,mailto:Bgetz'; 
regArray[204] = 'N';
repArray[143] = 'Kris Hansen,9509 S. 200 St.,Kent WA 98031,MOBILE: 206-954-3473,mailto:Khansen'; 
regArray[143] = 'W';
repArray[112] = 'Keith Haverland,7480 Upper 167th Ct. W.,Rosemount MN 55068,PHONE/FAX: 952-891-2892,MOBILE: 612-499-0257,mailto:Khaverland'; 
regArray[112] = 'C';
repArray[187] = 'Mike Hogan,3265 Helmsdale Ct.,Melbourne FL 32940,PHONE/FAX: 321-254-2756,MOBILE: 321-863-8307,Nextel Radio: 162*18966*1,mailto:Mhogan'; 
regArray[187] = 'S';
repArray[125] = 'Rae Hudson,2160 Laurelwood Drive, Oakville  Ontario,CANADA  L6H 4S9,PHONE: 905-842-2982,FAX: 905-337-1000,MOBILE: 416-896-5553,mailto:Rhudson'; 
regArray[125] = 'C';
repArray[223] = 'Kelly Jones,142 Georgetown Ave.,Pittsburgh PA 15229,MOBILE: 412-400-3403,mailto:Kjones'; 
regArray[223] = 'N';
repArray[214] = 'Michael Keefer,700 Westlake Pkwy,Suite 760,Atlanta GA 30336,FAX: 404-472-2931,MOBILE: 678-953-0294,mailto:MKeefer'; 
regArray[214] = 'S';
repArray[16]  = 'Larry Liddle,4240 NE Suwannee Dr.,Lees Summit MO 64064,FAX: 816-228-4022,MOBILE: 216-496-7599,mailto:Lliddle'; 
regArray[16]  = 'C';
repArray[158] = 'Tom Lipinski,16800 N.E. 384th St.,Amboy WA 98601,PHONE: 360-263-5282,FAX: 360-263-5282,MOBILE: 503-320-9783,mailto:Tlipinski'; 
regArray[158] = 'W';
repArray[195] = 'Greg Lipscomb,5929 Farm Pond Rd.,Apex NC 27523,FAX: 919-363-8252,MOBILE: 919-369-2496,mailto:Glipscomb'; 
regArray[195] = 'S';
repArray[18]  = 'Dave Marcum,403 Golden Oaks Drive,Hixson TN 37343,PHONE: 423-875-0149,FAX: 423-875-0149,MOBILE: 423-280-3360,mailto:Dmarcum'; 
regArray[18]  = 'S';
repArray[206] = 'Steve Merkovich,8351 W. Rosemonte Dr.,Peoria AZ 85382,MOBILE: 602-350-5104,mailto:SMerkovich'; 
regArray[206] = 'W';
repArray[203] = 'Erik Moller,66 Retiro Way #2,San Francisco CA 94123,MOBILE: 415-515-4029,mailto:EMoller'; 
regArray[203] = 'W';
repArray[194] = 'Keith Moller,841 Inman Village Pkwy NE,Atlanta GA 30307,MOBILE: 678-953-0294,FAX: 404-653-0294,mailto:KeithMoller'; 
regArray[194] = 'S';
repArray[44]  = 'Bill Murchison,335 Admiral Blvd. Unit #6,Mississauga Ontario,CANADA  L5T 2N2,PHONE: 905-565-1355,FAX: 905-565-9756,MOBILE: 416-896-5453,mailto:Bmurchison'; 
regArray[44]  = 'C';
repArray[188] = 'Philip Reznack,1422 Grand,Edwardsville IL 62025,FAX: 618-659-0411,MOBILE: 618-420-5654,mailto:Preznack'; 
regArray[188] = 'C';
repArray[189] = 'Keith Ripley,1093 Jennings Rd.,Salem OH 44060,FAX: 330-337-6558,MOBILE: 330-352-8615,mailto:Kripley'; 
regArray[189] = 'C';
//repArray[207] = 'Matt Rodgers,419 Tyburn Dr.,Wexford PA 15090,MOBILE: 412-400-3403,mailto:Mrodgers'; 
repArray[207] = 'Keith Ripley,1093 Jennings Rd.,Salem OH 44060,FAX: 330-337-6558,MOBILE: 330-352-8615,mailto:Kripley'; 
regArray[207] = 'N';
repArray[213] = 'Dean Rogers,6741 Fawn Hoof Trail,Holly Springs NC 27540,MOBILE: 440-309-8028,mailto:Drogers'; 
regArray[213] = 'S';
repArray[41]  = 'John Schulz,1119 N. Patterson Avenue,Santa Barbara CA 93111-1135,PHONE: 805-692-9729,FAX: 805-692-9703,MOBILE: 805-680-4076,mailto:Jschulz'; 
regArray[41]  = 'W';
repArray[192] = 'Mark Schweers,2425 W. 162nd Terrace,Stillwell KS 66085,PHONE: 913-782-3902,FAX: 913-393-2140,MOBILE: 913-231-8551,mailto:Mschweers'; 
regArray[192] = 'C';
repArray[209] = 'Robert Velez,P.O.Box 683,Wrightwood CA 92397,PHONE: 760-249-5402,MOBILE: 760-885-1942,mailto:RVelez'; 
regArray[209] = 'W';
repArray[202] = 'Dave Whitkofski,700 Westlake Pkwy,Suite 760,Atlanta GA 30336,PHONE: 404-472-2930,FAX: 404-472-2931,MOBILE: 678-953-1626,mailto:Dwhitkofski'; 
regArray[202] = 'S';
repArray[38]  = 'Jim Wight,Hinsdale IL 60521,PHONE: 630-789-0952,FAX: 630-789-0952,MOBILE: 630-730-6078,mailto:Jwight'; 
regArray[38]  = 'N';
repArray[211] = 'Matt Willmann,3209 Ivy Hill Dr.,Arlington TX 76016,PHONE: 817-496-8383,MOBILE: 903-458-7207,mailto:Mwillmann'; 
regArray[211] = 'C';

//Agent List
repArray[148] = "Action Marketing A.G. Inc.,22 Rue Forest,L'Assomption Quebec,CANADA  J5W 3J6,PHONE: 514-990-2262,FAX: 450-589-5607,mailto:AGagnon "; 
regArray[148] = 'C';
repArray[216] = 'Aspen Marketing Inc,4573 Pecos St.,Denver CO 80211,PHONE: 303-455-8175,FAX: 303-477-6504,MOBILE: 303-748-8599,mailto:BOlson'; 
regArray[216] = 'W';
repArray[3]   = 'Campbell Associates,6 Joseph Street,Andover MA 01810-1102,PHONE: 978-683-1566,FAX: 978-687-3532,mailto:Mcampbell'; 
regArray[3]   = 'N';
repArray[8]   = 'Christy Associates,2412 Lynx Lane,Orlando FL 32804,PHONE: 407-896-1800,FAX: 407-895-0046,mailto:Jchristy'; 
regArray[8]   = 'S';
repArray[39]  = 'Distefano Sales Co.,9001 Exchange Place,Franklin Park IL 60131,PHONE: 847-678-9543,FAX: 847-678-7696,mailto:Bdistefano'; 
regArray[39]  = 'N';
repArray[104] = 'Ebbert Co.,18320 Mt. Baldy Circle,Fountain Valley CA 92708,PHONE: 714-437-5000,FAX: 714-437-5322,mailto:Bebbert'; 
regArray[104] = 'W';
repArray[13]  = 'A. Galka Agencies,4634  11th Street N.E.,Calgary  Alberta,CANADA  T2E 2W7,PHONE: 800-661-7787,FAX: 888-273-6129,mailto:Agalka'; 
regArray[13]  = 'C';
repArray[25] = 'Preferred Service,112A 3rd St. North,Birmingham AL 35204,PHONE: 205-324-1555,FAX: 205-324-6010,CONTACT: Scott Killin,skillin%40fastnerspecialist.com';
regArray[25] = 'S'
repArray[36]  = 'Larrabee Company,2220 Commerce Place,Hayward CA 94545-2202,PHONE: 510-264-9199,FAX: 510-785-6483,peggy%40larrabeeco.com'; 
regArray[36]  = 'W';
repArray[198] = 'Mid-Atlantic Construction Sales,6891 Sunflower Lane,Macungie PA 18062,PHONE: 484-880-9096,FAX: 610-336-9271,mailto:Rpeterson'; 
regArray[198] = 'N';
repArray[109] = 'Mitchell Sales,2600 Wooster Rd.,STE 3,Rocky River OH 44116-2917,PHONE: 440-895-0710,FAX: 440-895-1123,mailto:Pmitchell'; 
regArray[109] = 'N';
repArray[7]   = 'McCarthy & Associates,R.D. #1 - Box 34,Glen Rock PA 17327-9801,PHONE: 717-235-4032,FAX: 717-235-5589,mailto:EmcCarthy'; 
regArray[7]   = 'N';
repArray[199] = 'RentQuip Canada Ltd.,5910 No 6 Rd.,Unit No 107,Richmond BC,CANADA V6V 1Z1,PHONE: 604-241-0500,FAX: 604-241-0600,mailto:RentQuip'; 
regArray[199] = 'C';

//Import/Export Distributor List

repArray[157] = 'Triamerica,1150 N. Loop 1604 W.,Ste. 108-606,San Antonio TX 78248,PHONE: 210-493-7366,FAX: 210-493-7366,MOBILE: 210-601-3022,james%40triamerica.us'; 
regArray[157] = 'M';

//Argentina
//repArray[251] = 'Tyrolit Argentina S.A.,Boqueron 741,1708 Moron,Prov. De Buenos Aires,ARGENTINA,Ph: 011-54-1-14-696-3590,Fax: 011-54-1-14-696-3589,Contact: Gustavo Gaiarin,ggaiarin%40tyrolit-arg.com.ar';
//Australia 
repArray[251] = 'Tyrolit Australia,7/443 West Botany Street,Rockdale NSW 2216,AUSTRALIA,Ph: 011-61-2-9316-6600,Fax: 011-61-2-9316-6606,Contact: Peter Brent,info%40castletools.com.au,http://www.castletools.com.au/';
//Austria 
repArray[252] = 'Tyrolit Schleifmittelwerke,Swarovski K.G.,Swarovskistrasse 33,A-6130 Schwaz/Tirol AUSTRIA,Ph: 011-43-5242-606-2534,Fax: 011-43-5242-606-3583,Contact: Christoph Stuiber,christoph.stuiber%40tyrolit.com';
//Belgium
repArray[253] = 'Tyrolit Belgium,N.V. Tyrolit Belgium S.A.,Rue Bollickstraat 43,1070 Brussels,BELGIUM,Ph: 011-32-2-556-0800,Fax: 011-32-2-521-6204,Contact: Ludo Vandersteen,ludo.vandersteen%40tyrolit.com';
//Brazil 
repArray[254] = 'Tyrolit Do Brasil Ltda.,Rodovia Dom Gabriel Paulino,Bueno Couto  KM81,CEP 13315-970; P.O. Box 96,Cabreuva; Sao Paulo,BRAZIL,Ph: 011-55-11-4529-8700,Fax: 011-55-11-4529-7257,Contact: Hans Abeling,hans.abeling%40tyrolit.com.br,http://www.tyrolit.com.br/';
//Caribbean 
repArray[255] = 'Triamerica,1150 N. Loop 1604 W.,Ste. 108-606,San Antonio TX 78248,PHONE: 210-493-7366,FAX: 210-568-4195,MOBILE: 210-601-3022,james%40triamerica.us';
regArray[255] = 'M';
//Central America 
repArray[256] = 'Triamerica,1150 N. Loop 1604 W.,Ste. 108-606,San Antonio TX 78248,PHONE: 210-493-7366,FAX: 210-568-4195,MOBILE: 210-601-3022,james%40triamerica.us';
regArray[256] = 'M';
//Denmark 
repArray[257] = 'Tyrolit Nordic A/S,Broenge 1-9,DK-2635 Ishoj Hedehusene,DENMARK,Ph: 011-45-43-55-74-33,Fax: 011-45-43-55-74-60,Contact: Preben Rasmussen,prebenhjorth.Rasmussen%40tyrolit.com';
//England 
repArray[258] = 'Tyrolit UK Limited,Eldon Way Crick,NN6 7UD Northants,England (United Kingdom),Ph: 011-44-1788-823738,Fax: 011-44-1788-823089,Contact: Don Knight,don.knight%40tyrolit.com';
//France
repArray[259] = 'Tyrolit Muelles S.A.,P.O. Box 509,Rue Des Frere Remy,Zone Industrielle,57205 Sarreguemines Cedex,FRANCE,Ph: 011-33-3-8727-6670,Fax: 011-33-3-8727-6674,Contact: Regis Happe,regis.happe%40tyrolit.com';
//Germany
repArray[260] = 'Tyrolit Schleifmittel GMBH,Frauenstrasse 38,D-82216 Maisach,GERMANY,Ph: 011-49-8141-393110,Fax: 011-49-8141-393206,Contact: Brigitte Schrenk,brigitte.schrenk%40tyrolit.com';
//Hong Kong 
repArray[261] = 'Earth Products China Limited,Room 1602 Seapower Center,73-77 Lei Muk Road,Kwai Chung N.T.,HONG KONG,Ph: 011-852-2392-8698,Fax: 011-852-2395-5655,Contact: David Wong,davidwong%40epc.com.hk,http://www.epc.com.hk/';
//India 
repArray[262] = 'Tyrolit Construct. India,M&V Mkt Dev Serv Pvt Ltd,7th Floor. Vatika Tri.Block A,Sushant Lok. Ph 1. Mehrauli,Gurgaon. Gurgaon 122 002,INDIA,Ph: +91 11 4103 8401,Fax: +91 11 4059 2445,Contact: Sudhir Silvaraman,sudhir.sivaraman%40tyrolit.in';
//Italy 
repArray[263] = "Tyrolit Vincent,Via Dell'Elettronica 6; Z.I.,36016 Thiene (IV),ITALY,Ph: 011-39-0445-359970,Fax: 011-39-0445-359972,Contact: Donatella Dal Santo,donatella.dalsanto@%40tyrolit.com";
//México 
repArray[264] = 'Triamerica,1150 N. Loop 1604 W.,Ste. 108-606,San Antonio TX 78248,PHONE: 210-493-7366,FAX: 210-568-4195,MOBILE: 210-601-3022,james%40triamerica.us';
regArray[264] = 'M';
//Netherlands
repArray[265] = 'Tyrolit Netherlands,P. O. Box 2198,1500 GD Zaandam,NETHERLANDS,Ph: 011-31-75-653-1442,Fax: 011-31-75-653-1444,Contact: Rob Machiels,rob.machiels%40tyrolit.com';
//New Zealand 
repArray[266] = 'Holer New Zealand,Whites Road - R.D. 1,7002 Richmond Nelson,NEW ZEALAND,Ph: 011-64-3-543-9750,Fax: 011-64-3-544-0110,Contact: Phil Holer,info%40holer.co.nz,http://www.holer.co.nz/';
//Russia
repArray[267] = 'BAV Corporation Inc,47 Mansfield Street,Sharon MA 02067 U.S.A.,Ph: 1-781-784-3095,Fax: 1-781-784-2038,bavinc%40comcast.net,,Moscow Office:,BAV Company Ltd.,51 Kashirskoe Shosse; Bldg 5; Suite 387,Moscow 115211 Russia,Ph/Fax: 7 495 221 0433,Contact: Alex Baranov,bavinc%40verizon.net';
//South America 
repArray[268] = 'Triamerica,1150 N. Loop 1604 W.,Ste. 108-606,San Antonio TX 78248,PHONE: 210-493-7366,FAX: 210-568-4195,MOBILE: 210-601-3022,james%40triamerica.us';
regArray[268] = 'M';
//Spain
repArray[269] = 'Tyrolit  S.A.,Calle Motores 162-164,08038 Barcelona,SPAIN,Ph: 011-34-932-239820,Fax: 011-34-932-239827,Contact: Antonio Jimenez,antonio.jimenez%40tyrolit.com';
//Switzerland 
repArray[270] = 'Hydrostress AG,Witzbergstrasse 18,CH 8330 Pfaffikon,SWITZERLAND,Ph: 011-41-1-950-1074,Fax: 011-41-1-950-1018,Contact: Servet Yildirim,servet.yildirim%40tyrolit.com,http://www.hydrostress.ch/';
//Thailand 
repArray[271] = 'Tyrolit (Thailand) Co. Ltd.,372 Moo 2; Soi 11; Preksa Road,Preksa; Muang Samutprakarn,Samutprakarn 10280,THAILAND,Ph: 011-662-703-6672,Fax: 011-662-703-6676,Contact: Suvit Lee Lertthanakulvat,suvit%40tyrolitolympus.com,http://www.tyrolit.com/';


var whseArray = new Array(150);
for (var xcnt=0 ; xcnt<150 ; xcnt++) {
	whseArray[xcnt] = 'Whse ' + xcnt + ' is not defined';
}

//Warehouse List
whseArray[3]   = 'Campbell Associates,49 Blanchard St. - Unit 302,Lawrence MA 01843-1443,PHONE: 978-683-1566,FAX: 978-687-3532,CONTACT: Michael Campbell,michaelcampbell%40msn.com';
whseArray[8]   = 'Christy Distribution,2412 Lynx Lane,Orlando FL 32804,PHONE: 407-896-1800,FAX: 407-895-0046,jchristy%40christyreps.com';
whseArray[196] = 'Cobb &amp; Lester,1465 Howell Mill Rd. NW,Atlanta GA 30318,PHONE: 404-355-3555,FAX: 404-355-2426,mailto:cobb-lester';
whseArray[37]  = 'Diamond Products,333 Prospect St.,Elyria OH 44035,PHONE: 800-321-5336,FAX: 440-323-8689,CONTACT: Customer Service,CustServ%40diamondproducts.com';
whseArray[69]  = 'Diamond Products,5578 E. La Palma Ave.,Anaheim CA 92807,PHONE: 714-779-7726,FAX: 714-779-7819,CONTACT: Carlos Ruiz,cruiz%40diamondproducts.com';
whseArray[200] = 'Diamond Products,700 Westlake Pkwy,Suite 760,Atlanta GA 30336,PHONE: 404-472-2930,FAX: 404-472-2931,CONTACT: Ken ONeill,koneill%40diamondproducts.com';
whseArray[208] = 'Diamond Products,1121 SW 28th Street,Blue Springs MO 64015,PHONE: 816-220-1385,FAX: 816-220-1395,CONTACT: Ken Garbig,kgarbig%40diamondproducts.com';
whseArray[39]  = 'Distefano Sales Co.,9001 Exchange Place,Franklin Park IL 60131,PHONE: 847-678-9543,FAX: 847-678-7696,CONTACT: Bob Distefano,dstefano%40flash.net';
whseArray[104] = 'Ebbert Company,18320 Mt. Baldy Circle,Fountain Valley CA 92708,PHONE: 714-437-5000,FAX: 714-437-5322,CONTACT: Bob Ebbert,Bebbert%40diamondproducts.com';
whseArray[13]  = 'Allan Galka Agencies,4634  11th Street N.E.,Calgary  Alberta,CANADA  T2E 2W7,PHONE: 800-661-7787,FAX: 888-273-6129,MOBILE: 403-660-9999,CONTACT: Allan Galka,agalka%40telusplanet.net';
//whseArray[88]  = 'Hunter & Associates Inc.,1724 Willox Court,Fort Collins CO 80524-1337,PHONE: 970-484-5179,FAX: 970-484-6680,CONTACT: Tom Hunter,tom%40t-hunter.com';
whseArray[88]  = 'John Schulz,1119 N. Patterson Avenue,Santa Barbara CA 93111-1135,PHONE: 805-692-9729,FAX: 805-692-9703,MOBILE: 805-680-4076,mailto:Jschulz'; 
whseArray[116] = 'Preferred Service,112A 3rd St. North,Birmingham AL 35204,PHONE: 205-324-1555,FAX: 205-324-6010,CONTACT: Scott Killin,PSI.killin%40mindspting.com';
whseArray[36]  = 'Larrabee Company,2220 Commerce Place,Hayward CA 94545-2202,PHONE: 510-264-9199,FAX: 510-785-6483,CONTACT: Ron Fleener,ron%40larrabeeco.com,CONTACT: Greg Klein,greg%40larrabeeco.com'; 
whseArray[148] = "Action Marketing A.G. Inc.,646 Boul. L'Ange Gardien,L'Assomption Quebec,CANADA  J5W 1T2,PHONE: 514-990-2262,FAX: 450-589-5607,mailto:AGagnon "; 
whseArray[61]  = "Team Assoc.,13833 N. Promenade Blvd.,Suite 100,Stafford TX 77477,PHONE: 281-491-0351,FAX: 281-491-0367,jamest%40teamassociates.com"; 
whseArray[109] = 'Mitchell Sales,2600 Wooster Rd. - Suite 3,Rocky River OH 44116-2917,PHONE: 440-895-0710,FAX: 440-895-1123,CONTACT: Peter Mitchell,mitchellwarehouse%40sbcglobal.net';
whseArray[7]   = 'The Distribution Center,9014 Junction Drive,Annapolis Junction MD 20701,PHONE: 301-470-3060 / 800-342-4750,FAX: 410-792-0953,CONTACT: Ed McCarthy,maassc%40aol.com';
//whseArray[190] = 'Port-Sherrill Marketing,1024 McClelland Court,Charlotte NC 28206,PHONE: 704-334-9984,FAX: 704-334-9605,galgire%40aol.com';
whseArray[44]  = 'Tyrolit Diamond Products,335 Admiral Blvd Unit 6,Mississauga Ontario,CANADA  L5T 2N2,PHONE: 905-565-1355,FAX: 905-565-9796,TOLL FREE: 1-800-543-6779,CONTACT: Bill Murchison,diamond%40idirect.com';
whseArray[100] = 'W.G. Wright & Associates,1525 S.E. 10th Street,Portland OR 97214-3542,PHONE: 503-232-3480,FAX: 503-232-0401,daview%40wgwright.com';
whseArray[101] = 'W.G. Wright & Associates,301 S. Webster St.,Seattle WA 98108,PHONE: 206-763-7077,FAX: 206-763-5251,daview%40wgwright.com';
whseArray[199] = 'RentQuip Canada Ltd.,5910 No 6 Rd.,Unit No 107,Richmond BC,CANADA V6V 1Z1,PHONE: 604-241-0500,FAX: 604-241-0600,mailto:RentQuip'; 
whseArray[157] = 'Triamerica,1150 N. Loop 1604 W.,Ste. 108-606,San Antonio TX 78248,PHONE: 210-493-7366,FAX: 210-568-4195,MOBILE: 210-601-3022,james%40triamerica.us'; 




var bodyBG = '#FFFFFF';
var bodyText = '#000000';
var bodyText2 = '#000000';
//var hdrText = '#FF9966';
//var hdrText2 = '#FF9900';
var hdrText = '#FF6600';
var hdrText2 = '#FF6600';
var repHead='<head><script language="JavaScript">function CreateWin(WinName) {var winHeight = screen.availHeight - 40; var winWidth = screen.availWidth - 40; var winFeatures = "resizable,height=" + winHeight + ",width=" + winWidth + ",screenX=0,left=0,screenY=0,top=0,scrollbars,toolbar"; var thisWin = window.open("",WinName,winFeatures); var thisDoc = thisWin.document; thisDoc.write(""); thisDoc.close(); thisWin.focus();}';
var bodyLabel = '<body bgcolor="' + bodyBG + '" text="' + bodyText + '" >';

function populateFields(inForm) {
	var thisCountry = false;
	if (inForm.scountry.type == 'hidden') {
		thisCountry = 'USA';
//	} else if (inForm.CustType.type == 'hidden' && inForm.CustType.value == 'Contr') {
//		for (var pos=0 ; pos<2 ; pos++) {
//			if (inForm.scountry[pos].checked) {thisCountry = inForm.scountry[pos].value}
//		}
	} else {
		for (var pos=0 ; pos<3 ; pos++) {
			if (inForm.scountry[pos].checked) {thisCountry = inForm.scountry[pos].value}
		}
	}
	var chosenArray = eval(thisCountry + "Array");
	while (chosenArray.length < inForm.states.options.length) {
		inForm.states.options[(inForm.states.options.length - 1)] = null;
	}  
	for (var i=0; i < chosenArray.length; i++) {
		eval("inForm.states.options[i]=" + "new Option" + chosenArray[i]);
	}
}

var thisRepCnt = 0;
function findRep(inForm) {
	var statePos = inForm.states.selectedIndex;
	var thisCountry = false;
	if (inForm.scountry.type == 'hidden') {
		thisCountry = 'USA';
//	} else if (inForm.CustType.type == 'hidden' && inForm.CustType.value == 'Contr') {
//		for (var pos=0 ; pos<2 ; pos++) {
//			if (inForm.scountry[pos].checked) {thisCountry = inForm.scountry[pos].value}
//		}
	} else {
		for (var pos=0 ; pos<3 ; pos++) {
			if (inForm.scountry[pos].checked) {thisCountry = inForm.scountry[pos].value}
		}
	}
	if (thisCountry && (statePos>0)) {
		var proArray = eval('Pro' + thisCountry + 'Array');
		var distArray = eval('Dist' + thisCountry + 'Array');
		var thisCustType = false;
		if (inForm.CustType.type == 'hidden') {
		    if (inForm.CustType.value == 'Contr') {
		        thisCustType = 'Contr';
		    } else {
			    thisCustType = 'TA';
			}
		} else {
			for (pos=0 ; pos<3 ; pos++) {
				if (inForm.CustType[pos].checked) {thisCustType = inForm.CustType[pos].value}
			}
		}
		if (!thisCustType && ((proArray[statePos]=0) || (proArray[statePos]!=distArray[statePos]))) {
			alert('You must click either the "Distributor/Reseller" button\nor the "Professional Cutter" button');
		} else {
			var isContr = false;
			if (!thisCustType) {
				thisCustType = 'Pro';
				var chosenArray = proArray;
			} else if (thisCustType == 'Contr') {
				isContr = true;
				thisCustType = 'Dist';
				var chosenArray = distArray;
			} else {
				var chosenArray = eval(thisCustType + thisCountry + "Array");
			}
			var stateArray = eval(thisCountry + "Array");
			var thisState = inForm.states.options[statePos].value;
			var stateText = inForm.states.options[statePos].text;
			if (thisCustType == 'TA') {
				var thisCustText = 'Tyrolit Abrasives<br>';
			} else {
				var thisCustText = thisCustType;
			}
			var emailAddr = '';
			var thisRep = chosenArray[statePos];
			if (thisRep == 0) {
				switch(thisCustType + thisCountry + thisState) {
					case 'ProUSAAR':
					case 'DistUSAAR':
						var northAR = confirm('\nAre you from the Northeast Corner of Arkansas?\n---(OK if yes, Cancel if no)');
						if (northAR) {
							thisRep=188;
							stateText = 'northeast ' + stateText;
						} else {
							thisRep=211;
						}
						thisCustText = '';
						break;
					case 'ProUSACA':
//						var AreaCode = prompt('\n4.  Enter your 3 digit Area Code:','');
//						if (AreaCode != null) {
//							if (AreaCode.search(/209|408|415|510|530|559|650|707|831|916|925/) >= 0) {
//								thisRep=203;
//								stateText = 'northern ' + stateText;
//							} else if (AreaCode.search(/213|310|323|520|562|619|626|661|702|714|760|805|818|858|909|949/) >= 0) {
//								var countyCA = confirm('\nAre you in Orange County?\n---(OK if yes, Cancel if no)')
//								if (countyCA) {
//									thisRep=163;
//									stateText = 'Orange County ' + stateText;
//								} else {
//									thisRep=163;
//									stateText = 'southern ' + stateText;
//								}
//							}
//						}
//						if (thisRep == 0) {
							var northCA = confirm('\nAre you from Northern California (north of Santa Barbara)?\n---(OK if yes, Cancel if no)')
							if (northCA) {
								thisRep=203;
								stateText = 'northern ' + stateText;
							} else {
								thisRep=163;
								stateText = 'southern ' + stateText;
							}
//						}
						break;
					case 'DistUSACA':
						var AreaCode = prompt('\n4.  Enter your 3 digit Area Code:','');
						if (AreaCode != null) {
							if (AreaCode.search(/209|408|415|510|530|559|650|707|831|916|925/) >= 0) {
								thisRep=36;
								stateText = 'northern ' + stateText;
							} else if (AreaCode.search(/213|310|323|562|619|626|661|702|714|760|805|818|858|909|949/) >= 0) {
								thisRep=104;
								stateText = 'southern ' + stateText
							}
						}
						if (thisRep == 0) {
							var northCA = confirm('\nAre you from Northern California (north of Bakersfield)?\n---(OK if yes, Cancel if no)');
							if (northCA) {
								thisRep=36;
								stateText = 'northern ' + stateText;
							} else {
								thisRep=104;
								stateText = 'southern ' + stateText;
							};
						}
						break;
					case 'DistUSAFL':
						var panhandleFL = confirm('\n4.  Are you from the Florida Panhandle?\n---(OK if yes, Cancel if no)');
						if (panhandleFL) {
							thisRep=214;
							stateText = 'panhandle of ' + stateText;
						} else {
							thisRep=8;
//							stateText = 'south central ' + stateText;
						};
						break;

					case 'ProUSAID':
					case 'DistUSAID':
						var northID = confirm('\nAre you from Northern Idaho?\n---(OK if yes, Cancel if no)');
						if (northID) {
							thisRep=143;
							stateText = 'northern ' + stateText;
						} else {
							thisRep=158;
							stateText = 'southern ' + stateText;
						}
						thisCustText = '';
						break;
					case 'ProUSAIL':
						var northIL = confirm('\nAre you from Northern Illinois?\n---(OK if yes, Cancel if no)');
						if (northIL) {
							thisRep=38;
							stateText = 'northern ' + stateText;
						} else {
							thisRep=188;
							stateText = 'southern ' + stateText;
						}
						break;
					case 'DistUSAIL':
						var northIL = confirm('\nAre you from Northern Illinois?\n---(OK if yes, Cancel if no)');
						if (northIL) {
							thisRep=39;
							stateText = 'northern ' + stateText;
						} else {
							thisRep=188;
							stateText = 'southern ' + stateText;
						}
						break;
					case 'ProUSAIN':
						var northIN = confirm('\nAre you from Northern Indiana?\n---(OK if yes, Cancel if no)');
						if (northIN) {
							thisRep=38;
							stateText = 'northern ' + stateText;
						} else {
							thisRep=204;
							stateText = 'southern ' + stateText;
						}
						break;
					case 'DistUSAIN':
						var northIN = confirm('\nAre you from Northern Indiana?\n---(OK if yes, Cancel if no)');
						if (northIN) {
							thisRep=39;
							stateText = 'northern ' + stateText;
						} else {
							thisRep=204;
							stateText = 'southern ' + stateText;
						}
						break;
					case 'ProUSAIA':
					case 'DistUSAIA':
						var westIA = confirm('\nAre you from Western Iowa?\n---(OK if yes, Cancel if no)');
						if (westIA) {
							thisRep=192;
							stateText = 'western ' + stateText;
						} else {
							thisRep=188;
							stateText = 'eastern ' + stateText;
						}
						thisCustText = '';
						break;
					case 'DistUSALA':
						var northLA = confirm('\nAre you from Northern Louisiana?\n---(OK if yes, Cancel if no)');
						if (northLA) {
							thisRep=211;
							stateText = 'northern ' + stateText;
						} else {
							thisRep=191;
							stateText = 'southern ' + stateText;
						}
						break;
					case 'DistUSAMI':
						var upperMI = confirm('\n4.  Are you from the Upper Penninsula of Michigan?\n---(OK if yes, Cancel if no)');
						if (upperMI) {
							thisRep=39;
							stateText = 'upper ' + stateText;
						} else {
							thisRep=212;
							stateText = 'lower ' + stateText;
						};
						break;
					case 'ProUSAMO':
					case 'DistUSAMO':
						var westMO = confirm('\nAre you from Western Missouri?\n---(OK if yes, Cancel if no)');
						if (westMO) {
							thisRep=192;
							stateText = 'western ' + stateText;
						} else {
							thisRep=188;
							stateText = 'eastern ' + stateText;
						}
						thisCustText = '';
						break;
					case 'DistUSANV':
						var clarkNV = confirm('\n4.  Are you from Las Vegas / Clark County, Nevada?\n---(OK if yes, Cancel if no)');
						if (clarkNV) {
							thisRep=104;
							stateText = stateText + '(Clark County)';
						} else {
							thisRep=36;
							stateText = stateText
						};
						break;
					case 'ProUSANV':
						var clarkNV = confirm('\n4.  Are you from Las Vegas / Clark County, Nevada?\n---(OK if yes, Cancel if no)');
						if (clarkNV) {
							thisRep=163;
							stateText = stateText + '(Clark County)';
						} else {
							thisRep=203;
							stateText = stateText
						}
						break;
					case 'ProUSANY':
						var westNY = confirm('\nAre you from the western tip of New York?\n(Erie, Cattaraugus, Chatauqua, and Niagra Counties)\n---(OK if yes, Cancel if no)');
						if (westNY) {
							thisRep=223;
							stateText = 'western ' + stateText;
						} else {
							thisRep=198;
						}
						break;
					case 'DistUSANY':
						var AreaCode = prompt('\n4.  Enter your 3 digit Area Code:','');
						if (AreaCode != null) {
							if (AreaCode.search(/212|516|718|914|917/) >= 0) {
								thisRep=198;
								stateText = 'southeastern ' + stateText;
							} else if (AreaCode.search(/315|518/) >= 0) {
								thisRep=3;
								stateText = 'upper ' + stateText;
							} else if (AreaCode.search(/607|716/) >= 0) {
								thisRep=223;
								stateText = 'western ' + stateText;
							}
						}
						if (thisRep == 0) {
							var westNY = confirm('\nAre you from the western tip New York?\n---(OK if yes, Cancel if no)');
							if (westNY) {
								thisRep=223;
								stateText = 'western ' + stateText;
							} else {
								var upperNY = confirm('\nAre you from Upper New York?\n---(OK if yes, Cancel if no)');
								if (upperNY) {
									thisRep=3;
									stateText = 'upper ' + stateText;
								} else {
									thisRep=198;
									stateText = 'southeastern ' + stateText;
								}
							}
						}
						break;
					case 'ProUSAOH':
					case 'DistUSAOH':
						var southOH = confirm('\nAre you South of I-70?\n---(OK if yes, Cancel if no)');
						if (southOH) {
							thisRep=204;
							stateText = 'Southern ' + stateText;
						} else {
							var eastOH = confirm('\nAre you East of I-77 and Highway 44?\n---(OK if yes, Cancel if no)');
							if (eastOH) {
								thisRep=223;
								stateText = 'Eastern ' + stateText;
							} else {
								thisRep=109;
								stateText = 'West/Central ' + stateText;
							}
						}
						thisCustText = '';
						break;
					case 'ProUSAPA':
					case 'DistUSAPA':
						var AreaCode = prompt('\n4.  Enter your 3 digit Area Code:','');
						if (AreaCode != null) {
							if (AreaCode.search(/412|724|814/) >= 0) {
								thisRep=223;
								stateText = 'western ' + stateText;
							} else if (AreaCode.search(/215|610|717/) >= 0) {
								thisRep=198;
								stateText = 'eastern ' + stateText;
							}
						}
						if (thisRep == 0) {
							var westPA = confirm('\nAre you from Western Pennsylvania?\n---(OK if yes, Cancel if no)');
							if (westPA) {
								thisRep=223;
								stateText = 'western ' + stateText;
							} else {
								thisRep=198;
								stateText = 'eastern ' + stateText;
							};
						}
						break;
					case 'ProUSATX':
						var AreaCode = prompt('\n4.  Enter your 3 digit Area Code:','');
						if (AreaCode != null) {
							if (AreaCode.search(/214|254|806|817|903|915|940|972/) >= 0) {
								thisRep=65;
								stateText = 'northern ' + stateText;
							} else if (AreaCode.search(/210|281|409|512|713|830|956/) >= 0) {
								thisRep=191;
								stateText = 'southern ' + stateText;
							}
						}
						if (thisRep == 0) {
							var northTX = confirm('\nAre you from Northern Texas?\n---(OK if yes, Cancel if no)');
							if (northTX) {
								thisRep=65;
								stateText = 'northern ' + stateText;
							} else {
								thisRep=191;
								stateText = 'southern ' + stateText;
							}
						}
						break;
					case 'DistUSATX':
						var farwestTX = confirm('\nAre you in the El Paso, Culberson, Hudspeth area?\n---(OK if yes, Cancel if no)');
						if (farwestTX) {
							thisRep=206;
							stateText = stateText + ' (El Paso area)';
						} else {
							var northTX = confirm('\nAre you from Northern Texas?\n---(OK if yes, Cancel if no)');
							if (northTX) {
								thisRep=211;
								stateText = 'northern ' + stateText;
							} else {
								thisRep=191;
								stateText = 'southern ' + stateText;
							}
						};
						break;
					case 'ProUSAWA':
					case 'DistUSAWA':
						var southWA = confirm('\nAre you in the tri-city area (Pasco, Kennewick, Richland)?\n---(OK if yes, Cancel if no)');
						if (southWA) {
							thisRep=158;
							stateText = 'southern ' + stateText;
						} else {
							thisRep=143;
							stateText = 'north & central ' + stateText;
						}
						thisCustText = '';
						break;
					case 'DistCanadaON':
						var windsorON = confirm('\nAre you from the Windsor, Ontario area?\n---(OK if yes, Cancel if no)');
						if (windsorON) {
							thisRep=125;
							stateText = stateText + ' (Windsor area)';
						} else {
							thisRep=44;
							stateText = stateText;
						}
						thisCustText = '';
						break;
					case 'ProOtherother':
					case 'DistOtherother':
						window.location = 'http://localhost/expInq.htm'
						break;
					case 'ProUSAlist':
					case 'DistUSAlist':
					case 'ProCanadalist':
					case 'DistCanadalist':
					case 'ProOtherlist':
					case 'DistOtherlist':
						listCntry(thisCountry,thisCustType,thisState,chosenArray,stateArray);
						break;	
					default:
						alert('missing case for ' + thisCustType + thisCountry + thisState);
						break;
				}	
			} else if (proArray[statePos] == distArray[statePos]) {
				thisCustText = ''
			}
			if (thisRep != 0) {
				if (!visitordata.Company_State || visitordata.Company_State == '') {
					if (thisCountry == 'USA' || thisCountry == 'Canada') {
						visitordata.Company_State = thisState;
					}
				}
				if (!visitordata.Company_Cntry || visitordata.Company_Cntry == '') {
					if (thisCountry == 'USA' || thisCountry == 'Canada') {
						visitordata.Company_Cntry = thisCountry;
					} else {
						visitordata.Company_Cntry = thisState;
					}
				}
				if (!visitordata.Industry_Type || visitordata.Industry_Type == '') {visitordata.Industry_Type = thisCustType;}
				visitordata.CustCntry = thisCountry;
				visitordata.CustType = thisCustType;
				visitordata.store();
				if (thisCustType != 'Whse') {
					thisCustText = thisCustText + ' Sales Rep for ' + stateText;
				}
				var thisRegion = regArray[thisRep];
				if (thisRegion == 'T' || thisRegion == 'V'){
					bodyBG = '#FFFFFF';
					bodyText = '#1548A6';
					bodyText2 = '#1548A6';
					hdrText = '#F01B0F';
					hdrText2 = '#F01B0F';
				} else {
					bodyBG = '#FFFFFF';
					bodyText = '#000000';
					bodyText2 = '#000000';
//					hdrText = '#FF9966';
//					hdrText2 = '#FF9900';
					hdrText = '#FF6600';
					hdrText2 = '#FF6600';
				}
				var ccEmailAddr = getCCEmailAddr(thisRegion,thisCountry);
				var thisRepHead = repHead;
				var addRepHead = false;
//				if (isContr) {
//					var winHeight = screen.availHeight - 75;
//					var winFeatures = 'resizable,height=' + winHeight + ',width=700,screenX=100,left=100,screenY=0,top=0,scrollbars,toolbar';
//					var repWin = window.open('','Country',winFeatures);
//				} else {
//					var repWin = window.open('','Rep','resizable,height=400,width=550,screenX=225,left=225,screenY=150,top=150');
//				}
//				repWin.focus();
//				var repDoc = repWin.document;
				var repDoc = document;
				var notComma = /[^,]*/g;
				var xArray = repArray[thisRep].match(notComma);
				var lenxArray = xArray.length;
				bodyLabel = '<body bgcolor="' + bodyBG + '" text="' + bodyText + '" >';
				var thisRepName = '';
				var repText = '';	
				for (var xcnt=0 ; xcnt<lenxArray ; xcnt++) {
					if (xArray[xcnt] != '') {
						if (xcnt == 0) {
							repText += '<p><b><font size="6" color="' + hdrText + '">' + thisCustText + '</font></b></p>';
							thisRepName = xArray[xcnt];
							repText += '<p><b><font size="6" color="' + hdrText + '">' + thisRepName + '</font></b></p>';
							repText += '<dl style="list-style-type: none">';
						} else {
			 				if (xArray[xcnt].search(/ailto:/) > 0) {
			 					emailAddr = xArray[xcnt] + '%40diamondproducts.com'
			 					repText += '<dd><strong><font size="4" color="' + bodyText2 + '"><a href="' + xArray[xcnt] + '%40diamondproducts.com?subject=Request%20to%20Diamond%20Products%20Sales%20Rep&cc=' + ccEmailAddr + '" style="color: ' + bodyText2 + '">' + xArray[xcnt] + '</a></font></strong></dd>';
							} else if (xArray[xcnt].search(/%40/) > 0 || xArray[xcnt].search(/@/) > 0) {
								emailAddr = 'mailto:' + xArray[xcnt]
								repText += '<dd><strong><font size="4" color="' + bodyText2 + '"><a href="mailto:' + xArray[xcnt] + '?subject=Request%20to%20Diamond%20Products%20Sales%20Rep&cc=' + ccEmailAddr + '" style="color: ' + bodyText2 + '">Click to Contact by E-mail</a></font></strong></dd>';
							} else if (xArray[xcnt].search(/ttp:/) > 0) {
								addRepHead = true
								repText += '<dd><strong><font size="4" color="' + bodyText2 + '"><a href="' + xArray[xcnt] + '" style="color: ' + bodyText2 + '" target="WebWin" onClick=Javascript:CreateWin("WebWin")>Web Site: ' + xArray[xcnt] + '</a></font></strong></dd>';
			 				} else {
			 					repText += '<dd><strong><font size="4" color="' + bodyText2 + '">' + xArray[xcnt] + '</font></strong></dd>';
			 				}
						}
					}
				}
				repText += '</dl>';
				if (isContr) {
					addRepHead = true;
					formHead = getFormHead();
					thisRepHead += formHead;
					bodyLabel = '<body bgcolor="' + bodyBG + '" text="' + bodyText2 + '" onload="putCursor(document.CustInq)">';
//					emailAddr = 'mailto:dmorris@diamondproducts.com';
					formText = getFormText(emailAddr,ccEmailAddr,thisRep);
					repText = formText + repText;
				}
				repText = bodyLabel + repText + '</body>';
				if (addRepHead == true) {
					repText = thisRepHead + '</script></head>' + repText;
				}
				repDoc.write(repText);
				repDoc.close();
			}
		}
	}
}

function listInpExp() {
	var thisCountry = 'Export';
	var thisCustType = 'Distributor';
	var thisState = 'List';
	var chosenArray = ProOtherArray;
	var stateArray = OtherArray;
	listCntry(thisCountry,thisCustType,thisState,chosenArray,stateArray);
}

function listCntry(thisCountry,thisCustType,thisState,chosenArray,stateArray) {
	var addRepHead = false;
	if (thisCountry == 'Other' || thisCountry == 'Export') {
		p_beg = '';
		p_end = '';
	} else {
		p_beg = ' (';
		p_end = ') ';
	}
	if (thisCustType == 'TA'){
		bodyBG = '#FFFFFF';
		bodyText = '#1548A6';
		bodyText2 = '#1548A6';
		hdrText = '#F01B0F';
		hdrText2 = '#F01B0F';
		thisCustType = 'Tyrolit Abrasives';
	} else {
		bodyBG = '#FFFFFF';
		bodyText = '#000000';
		bodyText2 = '#000000';
//		hdrText = '#FF9966';
//		hdrText2 = '#FF9900';
		hdrText = '#FF6600';
		hdrText2 = '#FF6600';
	}
	bodyLabel = '<body bgcolor="' + bodyBG + '" text="' + bodyText + '" >';	
	var repText = '<p><b><font size="7" color="' + hdrText + '">' + thisCountry + ' ' + thisCustType + ' ' + thisState + '</font></b></p>';
	var winHeight = screen.availHeight - 75;
	var winFeatures = 'resizable,height=' + winHeight + ',width=570,screenX=225,left=225,screenY=0,top=0,scrollbars,toolbar';
	var repWin = window.open('','Country',winFeatures);
	repWin.focus();
	var repDoc = repWin.document;
	var notComma = /[^,]*/g;
	var lenCArray = chosenArray.length;
	var thisRepName = '';
	for (statePos=1 ; statePos<(lenCArray-1) ; statePos++) {
		var thisIndex = stateArray[statePos].indexOf("'",2);
		var stateText = stateArray[statePos].substring(2,(thisIndex));
		var stateValue = stateArray[statePos].substring((thisIndex+3),(stateArray[statePos].length-2));
		var thisRep = chosenArray[statePos];
		var thisRegion = regArray[thisRep];
		var ccEmailAddr = getCCEmailAddr(thisRegion,thisCountry);
		if (stateValue == 'other') {
			repText += '<p><b><font size="6"><a href="http://www.diamondproducts.com/expInq.htm" style="color: ' + hdrText + '">Click here for Inquiry</a></font></b></p>';
		} else if (thisRep == 0) {
			repText += '<p><b><font size="6" color="' + hdrText + '">' + stateText + p_beg + stateValue + p_end + '</font></b></p>';
			repText += '<dl style="list-style-type: none">';
			repText += '<dd><strong><font size="4" color="' + bodyText2 + '">Multiple ' + thisCustType + ' Sales Reps in ' + stateValue + '</font></strong></dd>';
		} else {
			var xArray = repArray[thisRep].match(notComma);
			var lenxArray = xArray.length;
			for (var xcnt=0 ; xcnt<lenxArray ; xcnt++) {
				if (xArray[xcnt] != '') {
					if (xcnt == 0) {
						thisRepName = xArray[xcnt];
						repText += '<p><b><font size="6" color="' + hdrText + '">' + stateText + p_beg + stateValue + p_end + '</font></b></p>';
						repText += '<dl style="list-style-type: none">';
						if (thisCountry == 'Other' || thisCountry == 'Export') {thisRep = ''}
						repText += '<dd><strong><font size="5" color="' + bodyText2 + '">' + xArray[xcnt] + p_beg + thisRep + p_end + '</font></strong></dd>';
					} else {
						if (xArray[xcnt].search(/ailto:/) > 0) {
			 				repText += '<dd><strong><font size="4" color="' + bodyText2 + '"><a href="' + xArray[xcnt] + '%40diamondproducts.com?subject=Request%20to%20Diamond%20Products%20Sales%20Rep&cc=' + ccEmailAddr + '" style="color: ' + bodyText2 + '">' + xArray[xcnt] + '</a></font></strong></dd>';
			 			} else if (xArray[xcnt].search(/%40/) > 0 || xArray[xcnt].search(/@/) > 0) {
							repText += '<dd><strong><font size="4" color="' + bodyText2 + '"><a href="mailto:' + xArray[xcnt] + '?subject=Request%20to%20Diamond%20Products%20Sales%20Rep&cc=' + ccEmailAddr + '" style="color: ' + bodyText2 + '">Click to Contact by E-mail</a></font></strong></dd>';
						} else if (xArray[xcnt].search(/ttp:/) > 0) {
							addRepHead = true
							repText += '<dd><strong><font size="4" color="' + bodyText2 + '"><a href="' + xArray[xcnt] + '" style="color: ' + bodyText2 + '" target="WebWin" onClick=Javascript:CreateWin("WebWin")>Web Site: ' + xArray[xcnt] + '</a></font></strong></dd>';
			 			} else {
							repText += '<dd><strong><font size="4" color="' + bodyText2 + '">' + xArray[xcnt] + '</font></strong></dd>';
						}
					}
				}
			}
		}
		repText += '</dl>';
	}
	repText = bodyLabel + repText + '</body>';
	if (addRepHead == true) {
		repText = repHead + '</script></head>' + repText;
	}
	repDoc.write(repText);
	repDoc.close();
	thisRep = 0;
}

function listRep() {
	var repList = '120,108,114,65,69,118,163,112,126,125,14,16,18,44,198,223,41,121,50,38,3,8,39,104,13,184,216,206,36,148,109,7,11,100';
	var repText = '<p><b><font size="7" color="' + hdrText + '">Alphabetic List</font></b></p>';
	repText += '<p><b><font size="7" color="' + hdrText + '">Direct Sales Reps:</font></b></p>';
	displayRep(repList,repText);
}

function displayRep(repList,repText) {
	var addRepHead = false;
	if (repList.length > 4) {
		var winHeight = screen.availHeight - 75;
	} else {
		var winHeight = 350
	}
	var winFeatures = 'resizable,height=' + winHeight + ',width=570,screenX=225,left=225,screenY=0,top=0,scrollbars,toolbar';
	var repWin = window.open('','RepList',winFeatures);
	repWin.focus();
	var repDoc = repWin.document;
	var notComma = /[^,]*/g;
	bodyLabel = '<body bgcolor="' + bodyBG + '" text="' + bodyText + '" >';
	var thisRepName = '';
	var repListArray = repList.match(notComma);
	var lenRArray = repListArray.length;
	for (var rpos=0 ; rpos<lenRArray ; rpos++) {
		thisRep = repListArray[rpos];
		if (thisRep != '') {
			if (thisRep == 3) {
				repText += '<p><b><font size="7" color="' + hdrText + '">Agent List:</font></b></p>';
			}
			var xArray = repArray[thisRep].match(notComma);
			var lenxArray = xArray.length;
			for (var xcnt=0 ; xcnt<lenxArray ; xcnt++) {
				if (xArray[xcnt] != '') {
					if (xcnt == 0) {
						thisRepName = xArray[xcnt];
						repText += '<p><b><font size="6" color="' + hdrText2 + '">' + xArray[xcnt] + '   (' + thisRep + ')</font></b></p>';
						repText += '<dl style="list-style-type: none">';
					} else {
				 		if (xArray[xcnt].search(/ailto:/) > 0) {
			 				repText += '<dd><strong><font size="4" color="' + bodyText2 + '"><a href="' + xArray[xcnt] + '%40diamondproducts.com" style="color: ' + bodyText2 + '">' + xArray[xcnt] + '</a></font></strong></dd>';
			 			} else if (xArray[xcnt].search(/%40/) > 0 || xArray[xcnt].search(/@/) > 0) {
							repText += '<dd><strong><font size="4" color="' + bodyText2 + '"><a href="mailto:' + xArray[xcnt] + '" style="color: ' + bodyText2 + '">Click to Contact by E-mail</a></font></strong></dd>';
						} else if (xArray[xcnt].search(/ttp:/) > 0) {
							addRepHead = true
							repText += '<dd><strong><font size="4" color="' + bodyText2 + '"><a href="' + xArray[xcnt] + '" style="color: ' + bodyText2 + '" target="WebWin" onClick=Javascript:CreateWin("WebWin")>Web Site: ' + xArray[xcnt] + '</a></font></strong></dd>';
			 			} else {
			 				repText += '<dd><strong><font size="4" color="' + bodyText2 + '">' + xArray[xcnt] + '</font></strong></dd>';
			 			}
					}
				}
			}					
			repText += '</dl>';
		}
	}
	repText = bodyLabel + repText + '</body>';
	if (addRepHead == true) {
		repText = repHead + '</script></head>' + repText;
	}
	repDoc.write(repText);
	repDoc.close();
}

function findWhse(thisRep,stateText) {

	var thisCustType = 'Whse';
	var thisCustText = stateText + ' Warehouse';
	var thisRegion = regArray[thisRep];
	if (thisRegion == 'T' || thisRegion == 'V'){
		bodyBG = '#FFFFFF';
		bodyText = '#1548A6';
		bodyText2 = '#1548A6';
		hdrText = '#F01B0F';
		hdrText2 = '#F01B0F';
		subjText = 'Request%20to%20Tyrolit%20Abrasives%20Warehouse';
	} else {
//		bodyBG = '#000000';
//		bodyText = '#FFCC99';
//		bodyText2 = '#FFFFCC';
//		hdrText = '#FF9966';
//		hdrText2 = '#FF9900';
		bodyBG = '#FFFFFF';
		bodyText = '#000000';
		bodyText2 = '#000000';
		hdrText = '#FF6600';
		hdrText2 = '#FF6600';
		subjText = 'Request%20to%20Diamond%20Products%20Warehouse';
	}
	if (whseArray[thisRep].search(/CANADA/) > 0) {
		thisCountry = 'Canada';
	}else if (thisRep > 200){
		thisCountry = 'Other';
	} else {
		thisCountry = 'USA';
	}
	var ccEmailAddr = getCCEmailAddr(thisRegion,thisCountry);
	var thisRepHead = repHead;
	var addRepHead = false;
	var repWin = window.open('','Whse','resizable,height=450,width=575,screenX=225,left=225,screenY=150,top=150,scrollbars,toolbar');
	repWin.focus();
	var repDoc = repWin.document;
	var notComma = /[^,]*/g;
	var xArray = whseArray[thisRep].match(notComma);
	var lenxArray = xArray.length;
	bodyLabel = '<body bgcolor="' + bodyBG + '" text="' + bodyText + '" >';
	var thisRepName = '';
	var repText = '';	
	for (var xcnt=0 ; xcnt<lenxArray ; xcnt++) {
		if (xArray[xcnt] != '') {
			if (xcnt == 0) {
				repText += '<p><b><font size="6" color="' + hdrText + '">' + thisCustText + '</font></b></p>';
				thisRepName = xArray[xcnt];
				repText += '<p><b><font size="6" color="' + hdrText + '">' + thisRepName + '</font></b></p>';
				repText += '<dl style="list-style-type: none">';
			} else {
				if (xArray[xcnt].search(/ailto:/) > 0) {
					emailAddr = xArray[xcnt] + '%40diamondproducts.com'
					repText += '<dd><strong><font size="4" color="' + bodyText2 + '"><a href="' + xArray[xcnt] + '%40diamondproducts.com?subject=' + subjText + '&cc=' + ccEmailAddr + '" style="color: ' + bodyText2 + '">' + xArray[xcnt] + '</a></font></strong></dd>';
				} else if (xArray[xcnt].search(/%40/) > 0 || xArray[xcnt].search(/@/) > 0) {
					emailAddr = 'mailto:' + xArray[xcnt]
					repText += '<dd><strong><font size="4" color="' + bodyText2 + '"><a href="mailto:' + xArray[xcnt] + '?subject=' + subjText + '&cc=' + ccEmailAddr + '" style="color: ' + bodyText2 + '">Click to Contact by E-mail</a></font></strong></dd>';
				} else if (xArray[xcnt].search(/ttp:/) > 0) {
					addRepHead = true
					repText += '<dd><strong><font size="4" color="' + bodyText2 + '"><a href="' + xArray[xcnt] + '" style="color: ' + bodyText2 + '" target="WebWin" onClick=Javascript:CreateWin("WebWin")>Web Site: ' + xArray[xcnt] + '</a></font></strong></dd>';
			 	} else {
			 		repText += '<dd><strong><font size="4" color="' + bodyText2 + '">' + xArray[xcnt] + '</font></strong></dd>';
			 	}
			}
		}
	}
//	if (thisRep == 109) {
//	   repText += '\n</dl><p><b><font size="6" color="#FF9966">Diamond Products - Elyria</font></b></p><dl style="list-style-type: none"><dd><strong><font size="4" color="#000000">333 Prospect St.</font></strong></dd><dd><strong><font size="4" color="#000000">Elyria OH 44035</font></strong></dd>';
//	   repText += '<dd><strong><font size="4" color="#000000">PHONE: 800-321-5336</font></strong></dd><dd><strong><font size="4" color="#000000">FAX: 440-323-8689</font></strong></dd><dd><strong><font size="4" color="#000000">CONTACT: Customer Service</font></strong></dd>';
//	   repText += '<dd><strong><font size="4" color="#000000"><a href="mailto:CustServ%40diamondproducts.com?subject=Request%20to%20Diamond%20Products%20Warehouse&cc=custserv%40diamondproducts.com" style="color: #000000">Click to Contact by E-mail</a></font></strong></dd>';
//	}
	repText += '<dd>&nbsp;</dd><dd><strong><font size="2" color="#000000">*If you purchased equipment through a Diamond Products distributor,</dd><dd>please contact that distributor for parts orders.</font></strong></dd>'
	repText += '</dl>';
	repText = bodyLabel + repText + '</body>';
	if (addRepHead == true) {
		repText = thisRepHead + '</script></head>' + repText;
	}
	repDoc.write(repText);
	repDoc.close();
}

function getCCEmailAddr(thisRegion,thisCountry) {
	var ccEmailAddr = 'custserv%40diamondproducts.com';
	switch(thisRegion) {
		case 'E':
			ccEmailAddr = 'dtuttle%40diamondproducts.com';
			break;
		case 'C':
			ccEmailAddr = 'lliddle%40diamondproducts.com';
			break;
		case 'W':
			ccEmailAddr = 'jschulz%40diamondproducts.com';
			break;
		case 'I':
			ccEmailAddr = 'swooddell%40diamondproducts.com';
			break;
		case 'M':
			ccEmailAddr = 'swooddell%40diamondproducts.com;maria@triamerica.us';
			break;
		default:
			switch(thisCountry) {
				case 'USA':
					ccEmailAddr = 'custserv%40diamondproducts.com';
					break;
				case 'Canada':
					ccEmailAddr = 'lliddle%40diamondproducts.com';
					break;
				case 'Other':
					ccEmailAddr = 'swooddell%40diamondproducts.com';
					break;
				default:
					ccEmailAddr = 'custserv%40diamondproducts.com';
					break;
			}
	}
	return ccEmailAddr;

}

function getFormHead() {
	var formHead = 'function putCursor(inForm) {';
	formHead += 'inForm.Company_FaxNo.value = visitordata.Company_FaxNo;';
	formHead += 'if (!visitordata.Company_FaxNo) {inForm.Company_FaxNo.value = ""}';
	formHead += 'inForm.Company_Email.value = visitordata.Company_Email;';
	formHead += 'if (!visitordata.Company_Email) {inForm.Company_Email.value = ""}';
	formHead += 'inForm.Company_URL__.value = visitordata.Company_URL__;';
	formHead += 'if (!visitordata.Company_URL__) {inForm.Company_URL__.value = ""}';
	formHead += 'inForm.Contact_Name_.value = visitordata.Contact_Name_;';
	formHead += 'if (!visitordata.Contact_Name_) {inForm.Contact_Name_.value = ""}';
	formHead += 'inForm.Contact_Title.value = visitordata.Contact_Title;';
	formHead += 'if (!visitordata.Contact_Title) {inForm.Contact_Title.value = ""}';
	formHead += 'thisType = visitordata.Contractor_Type;';
	formHead += 'if (!visitordata.Contractor_Type) {';
	formHead += 'thisType = "";';
	formHead += '} else {';
	formHead += 'for (var pos=0 ; pos<8 ; pos++) {';
	formHead += 'if (inForm.Contractor_Type[pos].value == thisType) {';
	formHead += 'inForm.Contractor_Type[pos].checked = true;';
	formHead += 'pos=8;';
	formHead += '}';
	formHead += '}';
	formHead += '}';
	formHead += 'fillForm(inForm);';
	formHead += '}';
	formHead += 'function fixText(inForm) {';
//  	formHead += 'if (inForm.InquiryText.value != "") {inForm.InquiryText.value = "\\n" + inForm.InquiryText.value};';
	formHead += 'visitordata.Company_FaxNo = inForm.Company_FaxNo.value;';
	formHead += 'visitordata.Company_Email = inForm.Company_Email.value;';
	formHead += 'visitordata.Company_URL__ = inForm.Company_URL__.value;';
	formHead += 'visitordata.Contact_Name_ = inForm.Contact_Name_.value;';
	formHead += 'visitordata.Contact_Title = inForm.Contact_Title.value;';
	formHead += 'for (var pos=0 ; pos<8 ; pos++) {';
	formHead += 'if (inForm.Contractor_Type[pos].checked) {';
	formHead += 'visitordata.Contractor_Type = inForm.Contractor_Type[pos].value;';
	formHead += 'pos=8;';
	formHead += '}';
	formHead += '}';
	formHead += 'buildCookie(inForm);';
	formHead += '}';
	formHead += '</script>';
	formHead += '<script src="/_private/cookie.js">';
	return formHead;
}

function getFormText(emailAddr,ccEmailAddr,formRep) {
	emailAddr = emailAddr.substring(7,emailAddr.length);
	var formText = '<p><br><font size="5" color="#FF6600">Customer Inquiry for Local Distributor Information</font></p><hr>';
	formText += '<P><font color="#FF6600" size="4">Thank you for your Inquiry.&nbsp; Please complete and submit the following form.</font></P><HR>';
	formText += '<form name="CustInq" action="/cgi-bin/dcgi1.exe" method="POST" onsubmit="fixText(document.CustInq)">';
	formText += '<OL><LI><P><font size="4">Please provide the following information about your Company:</font></P>';
	formText += '<TABLE width="467">';
	formText += '<TR><TD ALIGN="right" width="104"><EM>Company Name</EM></TD><TD width="349"><INPUT TYPE=TEXT NAME="Company_Name_" SIZE=48></TD></TR>';
	formText += '<TR><TD ALIGN="right" width="104"><EM>Street Address</EM></TD><TD width="349"><INPUT TYPE=TEXT NAME="Company_Addr1" SIZE=48></TD></TR>';
	formText += '<TR><TD ALIGN="right" width="104"><EM>Address (cont.)</EM></TD><TD width="349"><INPUT TYPE=TEXT NAME="Company_Addr2" SIZE=48></TD></TR>';
	formText += '<TR><TD ALIGN="right" width="104"><EM>City</EM></TD><TD width="349"><INPUT TYPE=TEXT NAME="Company_City_" SIZE=48></TD></TR>';
	formText += '<TR><TD ALIGN="right" width="104"><EM>State/Province</EM></TD><TD width="349"><INPUT TYPE=TEXT NAME="Company_State" SIZE=48></TD></TR>';
	formText += '<TR><TD ALIGN="right" width="104"><EM>Zip/Postal Code</EM></TD><TD width="349"><INPUT TYPE=TEXT NAME="Company_ZipCd" SIZE=12 MAXLENGTH=12></TD></TR>';
	formText += '<TR><TD ALIGN="right" width="104"><EM>Country</EM></TD><TD width="349"><INPUT TYPE=TEXT NAME="Company_Cntry" SIZE=25></TD></TR>';
	formText += '<TR><TD ALIGN="right" width="104"><EM>Phone</EM></TD><TD width="349"><INPUT TYPE=TEXT NAME="Company_Phone" SIZE=25 MAXLENGTH=25></TD></TR>';
	formText += '<TR><TD ALIGN="right" width="104"><EM>FAX</EM></TD><TD width="349"><INPUT TYPE=TEXT NAME="Company_FaxNo" SIZE=25 MAXLENGTH=25></TD></TR>';
	formText += '<TR><TD ALIGN="right" width="104"><EM>E-mail</EM></TD><TD width="349"><INPUT TYPE=TEXT NAME="Company_Email" SIZE=48></TD></TR>';
	formText += '<TR><TD ALIGN="right" width="104"><EM>Web Site</EM></TD><TD width="349"><INPUT TYPE=TEXT NAME="Company_URL__" SIZE=48 MAXLENGTH=48></TD></TR>';
	formText += '<TR><TD>&nbsp;</TD><TD>&nbsp;</TD></TR>';
	formText += '</TABLE>';
	formText += '<LI><P><font size="4">Contact:</font></P>';
	formText += '<TABLE width="465">';
	formText += '<TR><TD ALIGN="right" width="38"><EM>Name</EM></TD><TD width="413"><INPUT TYPE=TEXT NAME="Contact_Name_" SIZE=57></TD></TR>';
	formText += '<TR><TD ALIGN="right" width="38"><EM>Title</EM></TD><TD width="413"><INPUT TYPE=TEXT NAME="Contact_Title" SIZE=57></TD></TR>';
	formText += '<TR><TD>&nbsp;</TD><TD>&nbsp;</TD></TR>';
	formText += '</TABLE>';
	formText += '<LI><P><font size="4">What type of Contractor / End User are you?</font></P>';
	formText += '<TABLE width="430"><TR><TD width="200">';
	formText += '<INPUT TYPE=CHECKBOX NAME="Contractor_Type" VALUE="ASPHALT"><EM> Asphalt</EM><BR>';
	formText += '<INPUT TYPE=CHECKBOX NAME="Contractor_Type" VALUE="CONCRETE"><EM> Concrete</EM><BR>';
	formText += '<INPUT TYPE=CHECKBOX NAME="Contractor_Type" VALUE="CONCRETE"><EM>&nbsp;Concrete&nbsp;Sawing&nbsp;&&nbsp;Drilling</EM><BR>';
	formText += '<INPUT TYPE=CHECKBOX NAME="Contractor_Type" VALUE="DRYWALL"><EM> Drywall</EM><BR>';
	formText += '<INPUT TYPE=CHECKBOX NAME="Contractor_Type" VALUE="ELECTRICAL"><EM> Electrical</EM><BR>';
	formText += '<INPUT TYPE=CHECKBOX NAME="Contractor_Type" VALUE="EXCAVATING"><EM> Excavating</EM><BR>';
	formText += '<INPUT TYPE=CHECKBOX NAME="Contractor_Type" VALUE="GENERAL"><EM> General</EM><BR>';
	formText += '<INPUT TYPE=CHECKBOX NAME="Contractor_Type" VALUE="LANDSCAPING"><EM> Landscaping</EM><BR>';
	formText += '<INPUT TYPE=CHECKBOX NAME="Contractor_Type" VALUE="MASONRY"><EM> Masonry</EM><BR>';
	formText += '</TD><TD width="230">';
	formText += '<INPUT TYPE=CHECKBOX NAME="Contractor_Type" VALUE="MECHANICAL"><EM> Mechanical</EM><BR>';
	formText += '<INPUT TYPE=CHECKBOX NAME="Contractor_Type" VALUE="PAVING"><EM> Paving</EM><BR>';
	formText += '<INPUT TYPE=CHECKBOX NAME="Contractor_Type" VALUE="PLUMBING"><EM> Plumbing</EM><BR>';
	formText += '<INPUT TYPE=CHECKBOX NAME="Contractor_Type" VALUE="REFRACTORY"><EM> Refractory</EM><BR>';
	formText += '<INPUT TYPE=CHECKBOX NAME="Contractor_Type" VALUE="RESTORATION"><EM> Restoration</EM><BR>';
	formText += '<INPUT TYPE=CHECKBOX NAME="Contractor_Type" VALUE="ROOFING"><EM> Roofing</EM><BR>';
	formText += '<INPUT TYPE=CHECKBOX NAME="Contractor_Type" VALUE="TILE"><EM> Tile</EM><BR>';
	formText += '<INPUT TYPE=CHECKBOX NAME="Contractor_Type" VALUE="WATERPROOFING"><EM> WaterProofing</EM><BR>';
	formText += '</TD></TR><TR>';
	formText += '<TD colspan="2">Other Business Type: &nbsp;<INPUT TYPE=TEXT NAME="Contractor_Type" SIZE=35><p>&nbsp;</p></TD>';
	formText += '</TR></TABLE>';
	formText += '<LI><P><font size="4">Urgency Level:&nbsp; Do you need to purchase product at this time?</font></P>';
	formText += '<P><INPUT TYPE=RADIO NAME="Urgency_Level" VALUE="Need to order now"><EM>  Purchase Now</EM><BR>';
	formText += '<INPUT TYPE=RADIO NAME="Urgency_Level" VALUE="Need to order later"><EM> Purchase Later</EM><BR>';
	formText += '<INPUT TYPE=RADIO NAME="Urgency_Level" VALUE="Need response to inquiry below"><EM> Contact me soon in response to my inquiry below</EM><BR></P>';
	formText += '<LI><P><font size="4">Enter your Inquiry or Comment:</font><UL></P></UL></LI>';
	formText += '<P><TEXTAREA NAME="InquiryText" ROWS=7 COLS=54></TEXTAREA></P><BR>';
	formText += '<INPUT TYPE=SUBMIT VALUE="Submit Form"><INPUT TYPE=RESET VALUE="Reset Form"></OL>';
	formText += '<input type=Hidden name="Rep_No___" value="' + formRep + '">';
	formText += '<input type=Hidden name="Send_To_Email_Addr" value="' + emailAddr + '">';
	formText += '<input type=Hidden name="Send_To_ccEmail_Addr" value="' + ccEmailAddr + '">';
	formText += '<input type=Hidden name="Request_Source" value="EC_inquiry.htm">';
	formText += '<input type=Hidden name=Call value="EC0061"><input type=Hidden name=Cust value="ANON"><input type=Hidden name=Rep value="Rep"><input type=Hidden name=User value="GUEST"><input type=Hidden name=Sec value="PLEASE"><input type=Hidden name=Beg value="EC0064"><input type=Hidden name=Args value="Args">';
	formText += '</FORM>';
	formText += '<P><HR><P><font color="#FF6600" size="4">Thank you for submitting the form.&nbsp; A Sales Representative will contact you with local Distributor choices shortly.</font></P><HR>';

	return formText;
}

// End -->
