// <script>
var num_of_clicks = 1;
var current_category_selected = 0;

var categories = new Array();
	categories.push( {  "name":'The Right Fit',
									"id":1,
									"url":'1',
									"parentID":0,
									"photo":'FF7SSHV-Front.png',
									"description":"SUMMIT's product line includes major appliances for use in household, commercial, and medical settings. We provide a variety of options for hard-to-fit spaces, such as 19 inch wide refrigerators, 20 inch wide ranges, and undercounter ADA compliant units. Many of our products, including a washer dryer combo, are ENERGY STAR qualified. Chest freezers are available for frost-free or low temperature operation. We carry a complete line of U.L. approved outdoor units, including stainless steel beer dispensers and drawer freezers. New innovations include one of the largest collections of induction cooktops in the industry.",
									"tip":"",
									"photo_width":"139",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Refrigeration',
									"id":2,
									"url":'2',
									"parentID":1,
									"photo":'FFBF285SS-Front_catimage.png',
									"description":"A bottom freezer, stainless steel door, and ENERGY STAR rating make our 24 inch wide FFBF245SS the smart choice for small kitchens. ",
									"tip":"",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Freezers & Icemakers',
									"id":3,
									"url":'3',
									"parentID":1,
									"photo":'bi.png',
									"description":"From luxurious drawer units to value-priced compacts, our freezers feature impeccable construction, advanced design, and quality you can count on.",
									"tip":"",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Cooking & Ventilation',
									"id":4,
									"url":'4',
									"parentID":1,
									"photo":'rex204.png',
									"description":"Bring the gourmet experience into a 20 inch space with SUMMIT's REX204W, the latest offering from our diverse line of deluxe ranges at value prices.",
									"tip":"",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Beer & Wine Storage & Beverage Centers',
									"id":5,
									"url":'5',
									"parentID":1,
									"photo":'SWC530LBI-Front.png',
									"description":"We give good drinks their due with beer dispensers, beverage centers, and wine cellars that reach and maintain the perfect temperature for every sip.",
									"tip":"",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Medical, Laboratory & Scientific Refrigeration',
									"id":6,
									"url":'6',
									"parentID":1,
									"photo":'ff7lmed_open.png',
									"description":"SUMMIT's medical line features refrigerators and freezers specially designed to hold stable temperatures for scientific and laboratory applications.",
									"tip":"",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Laundry & Dishwashers',
									"id":7,
									"url":'7',
									"parentID":1,
									"photo":'AWD129_slider.png',
									"description":"Where space is compromised, but performance shouldn't be, SUMMIT combo washer-dryers, portable laundry and European built front load pairs are your choice.",
									"tip":"",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Outdoor Refrigeration',
									"id":8,
									"url":'8',
									"parentID":1,
									"photo":'Cart3.png',
									"description":"Transform your backyard into a modern second kitchen with SUMMIT's weatherproof collection of outdoor appliances.",
									"tip":"",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Hospitality & Lodging',
									"id":9,
									"url":'9',
									"parentID":1,
									"photo":'combokitchen.png',
									"description":"SUMMIT offers a unique selection of space-saving, low cost refrigeration and cooking appliances for hospitality and lodging services including silent minibars and auto-defrost refrigerator-freezers.",
									"tip":"",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Commercial Appliances',
									"id":10,
									"url":'10',
									"parentID":1,
									"photo":'SCRI490-Front_cat_img.png',
									"description":"SUMMIT COMMERCIAL has over 100 models of fully featured, value priced refrigerators and freezers that meet NSF standards, from 1.6 c.f. up to 49 c.f. ",
									"tip":"",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Parts, Options & Accessories',
									"id":11,
									"url":'11',
									"parentID":1,
									"photo":'',
									"description":"missing desc",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'20" Wide Freezers',
									"id":281,
									"url":'281',
									"parentID":240,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Full Size Beer Dispensers',
									"id":37,
									"url":'37',
									"parentID":5,
									"photo":'SBC490FR_Front.png',
									"description":"Classic style, advanced features, and ideal sizes. When it comes to beer storage, SUMMIT has it all.  ",
									"tip":"Built-in and freestanding models, single double and triple taps",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Beer Frosters',
									"id":38,
									"url":'38',
									"parentID":5,
									"photo":'FS60Frost_Front.png',
									"description":"SUMMIT's COLD CAVERN beer froster is a unique undercounter freezer that takes beer to new levels of ice cold refreshment.",
									"tip":"Enjoy 24º frosted beer in a choice of models",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Pub Cellars',
									"id":39,
									"url":'39',
									"parentID":5,
									"photo":'beerwinepub.png',
									"description":"SUMMIT's innovative series of pub cellars offer the best storage conditions for ales, wines, and other products that require warmer temperature settings.",
									"tip":"Unique beverage refrigerator for precise temperature storage",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Wine Cellars',
									"id":40,
									"url":'40',
									"parentID":5,
									"photo":'beerwinewine.png',
									"description":"With advanced features and stunning designs, SUMMIT's extensive collection of wine cellars sets the standard in style and substance.",
									"tip":"Commercial and household wine cellars in compact, undercounter, and full size",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Beverage & Refreshment',
									"id":41,
									"url":'41',
									"parentID":5,
									"photo":'beerwinebevref.png',
									"description":"Most of our beverage refrigerators are commercially approved, and give you more shelf storage in small footprints with more features than you expect for the price.",
									"tip":"Beverage storage solutions in a host of sizes",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Wine Cellars by SUMMIT',
									"id":304,
									"url":'304',
									"parentID":194,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'-45°C',
									"id":308,
									"url":'308',
									"parentID":46,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'ADA Compliant All-Refrigerators',
									"id":309,
									"url":'309',
									"parentID":194,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Silent Refrigerated Minibars',
									"id":57,
									"url":'57',
									"parentID":9,
									"photo":'minibar.png',
									"description":"Absolutely silent SUMMIT minibars put stylish innovation in even the smallest fridge. ",
									"tip":"Locking, compact minibars in 4 sizes",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'ADA Compliant Wine Cellars',
									"id":313,
									"url":'313',
									"parentID":194,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'All-In-One Kitchens',
									"id":58,
									"url":'58',
									"parentID":9,
									"photo":'combokit.png',
									"description":"SUMMIT's all-in-one kitchenettes offer innovative solutions to space challenged settings by putting everything a kitchen needs in one convenient unit.",
									"tip":"Sink, counter, cooktop and refrigerator in one unit in 4 sizes",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Refrigerator w/ Microwave',
									"id":59,
									"url":'59',
									"parentID":9,
									"photo":'mrf.png',
									"description":"Perfect for college dorms, SUMMIT's one-plug combinations can be made with your choice of refrigerator and microwave.",
									"tip":"One plug units, custom built to your needs",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Color-Capable Wine Cellars',
									"id":321,
									"url":'321',
									"parentID":194,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Refrigerator-Freezer',
									"id":69,
									"url":'69',
									"parentID":12,
									"photo":'',
									"description":"Our full size refrigerators have easier to fit footprints, and all the features you want in a wide range of sizes and styles.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'All-Refrigerator',
									"id":70,
									"url":'70',
									"parentID":12,
									"photo":'',
									"description":"Generous refrigeration capacity in a range of sizes, easily customized by SUMMIT for your specific needs. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Refrigerator-Freezer',
									"id":73,
									"url":'73',
									"parentID":14,
									"photo":'',
									"description":"SUMMIT products offer large capacity in smaller footprints with many customizable features. We're truly the specialist in refrigeration for smaller kitchens!",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'All-Refrigerator',
									"id":74,
									"url":'74',
									"parentID":14,
									"photo":'',
									"description":"Our best-selling line includes the customizable FF7 and FF6, made to fit your space and serve your lifestyle. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Auto Defrost Compact Refrigerators',
									"id":331,
									"url":'331',
									"parentID":9,
									"photo":'FF43_Front.png',
									"description":"Our selection includes ENERGY STAR and ADA compliant models in your choice of black, white, or stainless steel.",
									"tip":"Slim-fitting refrigerator-freezers",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Refrigerator-Freezer',
									"id":76,
									"url":'76',
									"parentID":15,
									"photo":'',
									"description":"Built-in refrigerator-freezers give you more choices when it comes to kitchen design. Get the look you want with construction you can trust. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'All-Refrigerator',
									"id":77,
									"url":'77',
									"parentID":15,
									"photo":'',
									"description":"SUMMIT has the largest line of built-in undercounter refrigerators anywhere, for virtually any application. Easily customizable with 8 door finish options.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Refrigerator-Freezer',
									"id":79,
									"url":'79',
									"parentID":16,
									"photo":'',
									"description":"Our ADA refrigerator-freezers include one and two door models that reach zero degrees, offering better cooling with more efficiency. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'All-Refrigerator',
									"id":80,
									"url":'80',
									"parentID":16,
									"photo":'',
									"description":"White, black, or stainless steel, our no-frost ADA compliant all-refrigerators fit under 34 inch counters with style and convenience. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Drawer Refrigerator',
									"id":81,
									"url":'81',
									"parentID":16,
									"photo":'',
									"description":"Two and three drawer ADA refrigerators with complete stainless steel construction for pure elegance in any setting. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'24" Stackable Washer Dryer Sets',
									"id":337,
									"url":'337',
									"parentID":194,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Refrigerator-Freezer',
									"id":82,
									"url":'82',
									"parentID":17,
									"photo":'',
									"description":"From ENERGY STAR rated two-door units to value-priced cubes, our compact refrigerator freezers put the highest quality into the smallest places. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'All-Refrigerator',
									"id":83,
									"url":'83',
									"parentID":17,
									"photo":'',
									"description":"Our full line of compact refrigerators includes designs with glass doors, front locks, and auto-defrost in a choice of sizes and finishes.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'24" wide',
									"id":86,
									"url":'86',
									"parentID":19,
									"photo":'',
									"description":"We carry two and three drawer units with automatic defrost and stainless steel construction. Choose from four handle styles for the perfect look. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'36" wide',
									"id":87,
									"url":'87',
									"parentID":19,
									"photo":'',
									"description":"Get the look, feel, and value of modern luxury with these two-drawer refrigerators in professional stainless steel. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Compact 3-7 c.f. capacity',
									"id":90,
									"url":'90',
									"parentID":21,
									"photo":'',
									"description":"Sized to fit and built to last, these manual defrost chest freezers provide even cooling in stainless steel, platinum, white or black exteriors.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Full-Sized 7.5-24 c.f. capacity',
									"id":91,
									"url":'91',
									"parentID":21,
									"photo":'',
									"description":"Our large capacity chest freezers bring value-priced cooling to households with extra storage needs.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'ADA Compliant Specialty Appliances',
									"id":355,
									"url":'355',
									"parentID":194,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Front Opening',
									"id":100,
									"url":'100',
									"parentID":25,
									"photo":'',
									"description":"Summit offers dozens of finish options on a range of freezers built for lower ADA counters, including unique frost-free models with optional icemakers.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Icemaker',
									"id":101,
									"url":'101',
									"parentID":25,
									"photo":'',
									"description":"Our 32 inch high ADA compliant icemakers are designed for durable use with professional style. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Drawer All-Freezer',
									"id":102,
									"url":'102',
									"parentID":25,
									"photo":'',
									"description":"These stainless steel two and three drawer freezers are 32 inches high to fit under lower 34 inch counters that meet ADA guidelines. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Front Door',
									"id":103,
									"url":'103',
									"parentID":26,
									"photo":'',
									"description":"missing desc",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'20" wide',
									"id":107,
									"url":'107',
									"parentID":29,
									"photo":'',
									"description":"Our slim gas ranges are carefully sized for narrow spaces, bringing quality features and modern style to small kitchens where every inch counts. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'24" wide',
									"id":108,
									"url":'108',
									"parentID":29,
									"photo":'',
									"description":"SUMMIT has a huge selection of 24 inch ranges, in white, bisque, black and stainless steel, all with quality construction and made in the USA.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'30" wide',
									"id":109,
									"url":'109',
									"parentID":29,
									"photo":'',
									"description":"Bring gourmet cooking into the home with 30 inch gas ranges at extraordinary value, including a unique 6 burner model.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'36" wide',
									"id":110,
									"url":'110',
									"parentID":29,
									"photo":'',
									"description":"SUMMIT 36 inch ranges feature a side storage compartment, solid porcelain on steel construction and are all made in the USA.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'20" wide',
									"id":111,
									"url":'111',
									"parentID":30,
									"photo":'',
									"description":"When it comes to small packages, SUMMIT brings the best with 20 inch electric ranges in a variety of styles to meet your kitchen needs. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'24" wide',
									"id":112,
									"url":'112',
									"parentID":30,
									"photo":'',
									"description":"Our large collection of 24 inch units come in porcelain or stainless steel, available with backguards and or as deluxe slide in ranges.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'30" wide',
									"id":113,
									"url":'113',
									"parentID":30,
									"photo":'',
									"description":"SUMMIT's full sized ranges offer large oven space and high quality burners for home cooking thatï¿½s low on cost and high on taste. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'36" wide',
									"id":114,
									"url":'114',
									"parentID":30,
									"photo":'',
									"description":"SUMMIT 36 inch ranges feature a side storage compartment, solid porcelain on steel construction and are all made in the USA.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Gas',
									"id":115,
									"url":'115',
									"parentID":31,
									"photo":'',
									"description":"Gas wall ovens are excellent solutions to space challenged kitchens that need full cooking capacity without the bulk of a standard range",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Electric',
									"id":116,
									"url":'116',
									"parentID":31,
									"photo":'',
									"description":"SUMMIT's electric wall oven offers full baking and broiling capacity to kitchens that need to make the most out of limited space  ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'ADA Compliant',
									"id":380,
									"url":'380',
									"parentID":41,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'20" wide',
									"id":125,
									"url":'125',
									"parentID":35,
									"photo":'',
									"description":"Slim 20 inch range hoods fit even the smallest kitchen, and only SUMMIT offers a choice of recirculating, convertible (ducted/ductless), shell and high CFM models in a choice of finishes.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Commercial',
									"id":381,
									"url":'381',
									"parentID":34,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'24" wide',
									"id":126,
									"url":'126',
									"parentID":35,
									"photo":'',
									"description":"White, black, bisque, or stainless steel range hoods in ducted, ductless, shell or 400 CFM models.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'30" wide',
									"id":127,
									"url":'127',
									"parentID":35,
									"photo":'',
									"description":"Our 30 inch units include exclusive models from our Ultra Series of 425 CFM stainless steel",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'36" wide',
									"id":128,
									"url":'128',
									"parentID":35,
									"photo":'',
									"description":"Choose ductless, convertible, shell-only, or 425 CFM ULTRA range hoods in a variety of finishes",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'42" wide',
									"id":129,
									"url":'129',
									"parentID":35,
									"photo":'',
									"description":"Our line of value convertible hoods is available in a 42 inch size in stainless steel.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'48" wide',
									"id":130,
									"url":'130',
									"parentID":35,
									"photo":'',
									"description":"Our largest range hood comes in solid stainless steel for a durable performance with modern kitchen elegance",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'ADA Compliant',
									"id":390,
									"url":'390',
									"parentID":40,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Built-In',
									"id":137,
									"url":'137',
									"parentID":37,
									"photo":'',
									"description":"SUMMIT's under counter built-in beer refrigerators are ready to serve you and your guests from single, twin, or triple taps. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Freestanding',
									"id":138,
									"url":'138',
									"parentID":37,
									"photo":'',
									"description":"From brash brass to sleek black, our portable beer coolers let you tap your favorite brew in luxurious style.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Built-In',
									"id":142,
									"url":'142',
									"parentID":39,
									"photo":'',
									"description":"Our built-in pub series comes commercially approved and equipped with a digital thermostat for ale lovers to duplicate any pub experience. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Freestanding',
									"id":143,
									"url":'143',
									"parentID":39,
									"photo":'',
									"description":"With a large capacity and advanced features, the FF7PUB series takes beer to new levels of luxury. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Full Size',
									"id":148,
									"url":'148',
									"parentID":41,
									"photo":'',
									"description":"Our counter-depth beverage centers are carefully sized to fit narrow spaces while providing maximum storage capacity for tempting product displays.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Built-In Undercounter',
									"id":149,
									"url":'149',
									"parentID":41,
									"photo":'',
									"description":"These elegant glass door beverage centers are perfectly sized at 24 inches wide for built-in installation in any commercial setting. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Counter Height',
									"id":150,
									"url":'150',
									"parentID":41,
									"photo":'',
									"description":"From models as slim as 19 inches to back bar units with sliding or swinging glass doors, SUMMIT's freestanding compacts offer the most choices at the best value. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Compact',
									"id":151,
									"url":'151',
									"parentID":41,
									"photo":'',
									"description":"From models as slim as 19 inches to back bar units with sliding or swinging glass doors, SUMMIT's compacts offer the most choices at the best value. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'All-Refrigerators',
									"id":152,
									"url":'152',
									"parentID":43,
									"photo":'',
									"description":"Get top value and trusted performance with our large assortment of all refrigerators designed for use in medical, laboratory, or scientific settings. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'All-Freezers',
									"id":153,
									"url":'153',
									"parentID":43,
									"photo":'',
									"description":"Frost-free or manual defrost, upright or chest-style, our high capacity all freezers are made for your needs in commercial, medical, or home settings.  ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'All-Refrigerators',
									"id":155,
									"url":'155',
									"parentID":44,
									"photo":'',
									"description":"Our &quot;Med&quot; series brings full features with the performance you demand in a wide selection of the most commonly used sizes in medical facilities and pharmacies.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'All-Freezers',
									"id":156,
									"url":'156',
									"parentID":44,
									"photo":'',
									"description":"We carry a large collection of 24 inch wide freezers for convenient and reliable storage in medical facilities.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Refrigerator-Freezers',
									"id":157,
									"url":'157',
									"parentID":44,
									"photo":'',
									"description":"Counter height refrigerator-freezers come in widths as thin as 19 inches for convenient placement in laboratories, offices, and waiting rooms.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'All-Refrigerators',
									"id":158,
									"url":'158',
									"parentID":45,
									"photo":'',
									"description":"SUMMIT's compact all refrigerators bring affordable prices to exceptional units designed for convenience.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'All-Freezers',
									"id":159,
									"url":'159',
									"parentID":45,
									"photo":'',
									"description":"SUMMIT's perfectly sized compact freezers reach -20ºC to maintain the ideal storage conditions for many vaccines. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Refrigerator-Freezers',
									"id":160,
									"url":'160',
									"parentID":45,
									"photo":'',
									"description":"For affordable cooling with exceptional dependability, see our selection of value-priced compacts made with superior construction. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":' -30&#176;C',
									"id":161,
									"url":'161',
									"parentID":46,
									"photo":'',
									"description":"SUMMIT's medical line features compact upright all-freezers and a range of chest units for safe operation at -30º. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":' -35&#176;C',
									"id":162,
									"url":'162',
									"parentID":46,
									"photo":'',
									"description":"Our extensive line of -35ºC capable freezers are designed for reliable use for medical, laboratory, and scientific applications. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":' -40&#176;C',
									"id":163,
									"url":'163',
									"parentID":46,
									"photo":'',
									"description":"Extra low temperature freezers are capable of operating at -40ºC.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Front Opening Refrigerators',
									"id":164,
									"url":'164',
									"parentID":52,
									"photo":'',
									"description":"Throw away your plastic cooler and keep the party outside with a SUMMIT outdoor refrigerator designed to fit under counters.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Drawer Refrigerators',
									"id":165,
									"url":'165',
									"parentID":52,
									"photo":'',
									"description":"These two or three drawer refrigerators offer reliable cooling in any climate, with a durable design and stunning style.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Built-In Undercounter',
									"id":170,
									"url":'170',
									"parentID":55,
									"photo":'',
									"description":"Our undercounter outdoor glass door units are conveniently designed for built-in installation in sizes that fit and quality that lasts. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Freestanding',
									"id":171,
									"url":'171',
									"parentID":55,
									"photo":'',
									"description":"Weatherproof in every inch, our outdoor beverage centers are made from 304 grade stainless steel, with sealed backs that protect all electrical elements.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Refrigerator-Freezer',
									"id":439,
									"url":'439',
									"parentID":208,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Refrigerator-Freezer',
									"id":440,
									"url":'440',
									"parentID":205,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Shelves',
									"id":185,
									"url":'185',
									"parentID":68,
									"photo":'',
									"description":"Add extra shelves to most refrigerators, freezers, or wine cellars. Wire, glass, and stainless steel, and scalloped wine racks are available. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Keys',
									"id":186,
									"url":'186',
									"parentID":68,
									"photo":'',
									"description":"Extra keys are available for selected SUMMIT models with locks. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Thermometers',
									"id":187,
									"url":'187',
									"parentID":68,
									"photo":'',
									"description":"Check the temperature without opening the door by adding an external readout thermometer to any SUMMIT refrigerator or freezer.  ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'ADA Compliant',
									"id":444,
									"url":'444',
									"parentID":44,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'ADA Compliant',
									"id":445,
									"url":'445',
									"parentID":201,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'All-Refrigerators',
									"id":202,
									"url":'202',
									"parentID":201,
									"photo":'',
									"description":"24 inch wide all-refrigerators designed to fit under counters, with full features for safer performance in medical institutions.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'All-Freezers',
									"id":203,
									"url":'203',
									"parentID":201,
									"photo":'',
									"description":"Frost-free or manual defrost, our medical freezers are equipped for convenient and reliable cold storage.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Refrigerator-Freezers',
									"id":204,
									"url":'204',
									"parentID":201,
									"photo":'',
									"description":"All our medical ready refrigerator-freezers are equipped with locks, NIST thermometers, and hospital grade cord and plugs for reliable and convenient operation.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'All-Refrigerator',
									"id":206,
									"url":'206',
									"parentID":205,
									"photo":'',
									"description":"With commercial approval and slim-fitting widths, our built-in refrigerators offer true convenience for every institution. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'All-Freezer',
									"id":207,
									"url":'207',
									"parentID":205,
									"photo":'',
									"description":"Built-in capable and safe for freestanding use, our commercial all-freezers offer you the choice of frost-free or manual defrost operation. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'All-Refrigerator',
									"id":209,
									"url":'209',
									"parentID":208,
									"photo":'',
									"description":"Above or below the counter, our smaller commercially approved refrigerators are designed for convenient cooling and easy storage.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'All-Freezer',
									"id":210,
									"url":'210',
									"parentID":208,
									"photo":'',
									"description":"These freestanding units are sized to fit in commercial locations with limited space but high quality needs.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Stainless Steel Gas Wall Ovens',
									"id":468,
									"url":'468',
									"parentID":194,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Stainless Steel',
									"id":214,
									"url":'214',
									"parentID":63,
									"photo":'',
									"description":"Our fully featured SCRI and SCFI series are constructed from 304 grade stainless steel for easy-to-clean durability in one or two-door models. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'White Exterior',
									"id":215,
									"url":'215',
									"parentID":63,
									"photo":'',
									"description":"These large capacity refrigerators and freezers are commercially approved for full service storage with trusted reliability.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'FF6B Series',
									"id":471,
									"url":'471',
									"parentID":194,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Vodka Chillers',
									"id":216,
									"url":'216',
									"parentID":5,
									"photo":'SCFU386VK_Full.png',
									"description":"Store and display your spirits in modern luxury with our compact vodka freezers, specially designed to hold bottles and martini glasses",
									"tip":"Compact display freezers with unique martini glass racks",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'FF6B7 Commercial Series',
									"id":472,
									"url":'472',
									"parentID":194,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'ADA Compliant',
									"id":217,
									"url":'217',
									"parentID":205,
									"photo":'',
									"description":"We carry an extensive line of commercially approved 32 inch high refrigerators and freezers for installation under lower ADA compliant counters.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'FF6BBI Series',
									"id":473,
									"url":'473',
									"parentID":194,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'ADA Compliant',
									"id":218,
									"url":'218',
									"parentID":208,
									"photo":'',
									"description":"Our 32 inch high commercially approved refrigerators and freezers are designed to meet ADA guidelines for lower counter height.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'FF6BADA Series',
									"id":475,
									"url":'475',
									"parentID":194,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Cooktops',
									"id":221,
									"url":'221',
									"parentID":9,
									"photo":'cooktop.png',
									"description":"Our one and two zone cooktops includes 120V electric and high quality induction for safer cooking.",
									"tip":"Induction and electric cooktops with one and two cooking zones",
									"photo_width":"180",
									"photo_height":"107"
								} );
	categories.push( {  "name":'Refrigerator-Freezers',
									"id":223,
									"url":'223',
									"parentID":43,
									"photo":'',
									"description":"SUMMIT's frost-free refrigerator-freezers have generous interior capacities and convenient features for medical settings, including a double lock for security in both sections. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Stainless Steel Electric Wallovens',
									"id":479,
									"url":'479',
									"parentID":194,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Beer Frosters',
									"id":227,
									"url":'227',
									"parentID":211,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'New 2-Drawer Refrigerators',
									"id":490,
									"url":'490',
									"parentID":194,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'New BIM70 Icemakers',
									"id":492,
									"url":'492',
									"parentID":194,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Bottom Compressor Stainless Steel Reach-In Refrigerators & Freezers',
									"id":495,
									"url":'495',
									"parentID":194,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'New European Electric Cooktops',
									"id":496,
									"url":'496',
									"parentID":194,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Bottled Water Dispensers',
									"id":254,
									"url":'254',
									"parentID":5,
									"photo":'FF7Disp_Front.png',
									"description":"SUMMIT's no-lift combination water coolers/refrigerators offer the convenience of through-the-door water dispensing from a 5 gallon bottle, with added space for refrigerated goods.",
									"tip":"Refrigerator-water cooler combo",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Apartment Size',
									"id":13,
									"url":'13',
									"parentID":2,
									"photo":'Appartment.png',
									"description":"SUMMIT is the apartment refrigerator specialist, with over two dozen models, from 19 inches up to 27 inches wide, all with counter depths. ",
									"tip":"Refrigerator-freezers from 8 to 13 cf with and without icemakers",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Built-In Undercounter',
									"id":24,
									"url":'24',
									"parentID":3,
									"photo":'Fbi.png',
									"description":"SUMMIT's undercounter all-freezers are perfectly sized under 24 inches wide to fit tight spaces and match your setting's style.",
									"tip":"Front opening freezers designed to install under-counter, frost free and manual defrost.",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Compact',
									"id":26,
									"url":'26',
									"parentID":20,
									"photo":'',
									"description":"Our collection of compact and &quot;cube&quot; freezers offer quality storage for a variety of applications, including commercial and household use.",
									"tip":"Front-opening freezers from 1.6 to 4 c.f.",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Gas Ranges',
									"id":29,
									"url":'29',
									"parentID":4,
									"photo":'cookgas.png',
									"description":"With professional models in stainless steel and deluxe household units in porcelain, our ranges offer superior construction and unmatched value.",
									"tip":"20, 24, 30 and 36 inch wide all gas ranges",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Front Loading Washers and Dryers',
									"id":48,
									"url":'48',
									"parentID":7,
									"photo":'SPW1103_slider.png',
									"description":"These energy efficient washers and matching dryers can be stacked or used side by side for maximum utility.",
									"tip":"24 inch wide washers and dryers for stackable or freestanding use",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Beverage Coolers',
									"id":52,
									"url":'52',
									"parentID":8,
									"photo":'outdoorallref.png',
									"description":"Our durable outdoor beverage coolers are your starting point for creating an upscale kitchen in the comfort of your own backyard.",
									"tip":"Under-counter, drawers and chest styles",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Ice Cream Chest Freezers',
									"id":60,
									"url":'60',
									"parentID":10,
									"photo":'ice_cream_chest-freezer-front.png',
									"description":"For the finest gelato or the tastiest ice cream, SUMMIT's deep interior commercial chest freezers offer everything you need to serve the best.",
									"tip":"Glass top sliding freezers, flat and angled, dipping cabinets and ice cream carts",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'All-Refrigerator',
									"id":72,
									"url":'72',
									"parentID":13,
									"photo":'',
									"description":"Our all-refrigerators offer an alternative to conventional refrigerator-freezers for more fresh food space. Pair with an undercounter freezer for an innovative kitchen!",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Gas',
									"id":117,
									"url":'117',
									"parentID":32,
									"photo":'',
									"description":"Our gas cooktops come with four burners in 24 or 30 inch widths and full porcelain construction in your choice of white, black, bisque, or brushed chrome finish.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Full Size',
									"id":144,
									"url":'144',
									"parentID":40,
									"photo":'',
									"description":"Enjoy generous storage in elegant upright wine cellars, including commercial models and dual temperature zone units for holding red and white wine. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Interior Options',
									"id":179,
									"url":'179',
									"parentID":67,
									"photo":'',
									"description":"Before you purchase your SUMMIT unit, browse through our selection of interior options, from cooling fans to convenient ice makers. ",
									"tip":"Lights, fans, ice makers, shelves etc.",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Countertop Models',
									"id":198,
									"url":'198',
									"parentID":34,
									"photo":'',
									"description":"Fully featured and value priced, SUMMIT's standard microwaves are available in white, black, and stainless steel.",
									"tip":"Compact and mid-sized microwaves ",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Built-in Undercounter',
									"id":201,
									"url":'201',
									"parentID":6,
									"photo":'ff7lmed.png',
									"description":"SUMMIT's built-in undercounter line includes our MED series of fully featured refrigerators and freezers, designed specially for medical applications.",
									"tip":"Refrigeration designed for built-in installation under counters",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Beer Dispensers',
									"id":213,
									"url":'213',
									"parentID":211,
									"photo":'',
									"description":"Full-sized with optional portability, SUMMIT beer dispensers offer quality storage and elegant service for every brew.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Built-In Undercounter',
									"id":15,
									"url":'15',
									"parentID":2,
									"photo":'BI.png',
									"description":"Browse the industry's largest selection of built-in refrigerators perfectly sized to fit under counters and in 24 inch spaces. ",
									"tip":"All-refrigerators and refrigerator-freezers, 4 to 6.5 c.f. designed to go under counters",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Drawers',
									"id":27,
									"url":'27',
									"parentID":3,
									"photo":'Freezer_Drawers.png',
									"description":"Add professional elegance to any setting with drawer freezers fully wrapped in stainless steel and designed for built-in installation under counters.",
									"tip":"Frost-Free and manual defrost drawers",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Electric Ranges',
									"id":30,
									"url":'30',
									"parentID":4,
									"photo":'cookelect.png',
									"description":"From a luxury slide-in range to our fully featured home ovens in porcelain and steel, SUMMIT's electric ranges bring quality cooking to every kitchen. ",
									"tip":"20, 24, 30, and 36 inch wide all electric ranges",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Counter Height Models',
									"id":44,
									"url":'44',
									"parentID":6,
									"photo":'FF560LMED.png',
									"description":"SUMMIT offers you the choice of frost-free, automatic, or manual defrost operation on refrigerators and freezers with convenient dimensions. ",
									"tip":"All refrigerators, all-freezers and refrigerator-freezers 5 to 6 c.f.",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Beverage Merchandisers',
									"id":62,
									"url":'62',
									"parentID":10,
									"photo":'bevmerchand.png',
									"description":"When it comes to commercial beverage merchandisers, SUMMIT's glass door refrigerators offer perfectly sized units with low maintenance operation",
									"tip":"Glass Door upright all-refrigerators",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Refrigerator-Freezer',
									"id":71,
									"url":'71',
									"parentID":13,
									"photo":'',
									"description":"Thoughtfully sized for tight spaces, our apartment series includes ENERGY STAR rated units, bottom freezer designs, and standard refrigerators with solid value.",
									"tip":"Glass Door upright all-refrigerators",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Electric',
									"id":118,
									"url":'118',
									"parentID":32,
									"photo":'',
									"description":"Choose from 120V or 240V glass ceramic cooktops with easy to clean surfaces or classic porcelain models at outstanding value for every sized kitchen. We also offer induction cooktops that cook with less energy and more speed than standard gas or electric. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Built-In Undercounter',
									"id":146,
									"url":'146',
									"parentID":40,
									"photo":'',
									"description":"SUMMIT's line of undercounter wine cellars features luxurious models in stainless steel and dual temperature zone units that hold reds and whites. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Exterior Options',
									"id":180,
									"url":'180',
									"parentID":67,
									"photo":'',
									"description":"Create the ideal unit for any setting with SUMMIT's extensive list of add-on options.",
									"tip":"Agion antimicrobial steel coating, hospital grade electrical cord, stainless steel kickplate, etc.",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Built-In & OTR',
									"id":197,
									"url":'197',
									"parentID":34,
									"photo":'',
									"description":"Our newest innovation lets you build a fully featured microwave into cabinetry.",
									"tip":"Mid-sized microwave for enclosed installation in 20 or 24 inch spaces",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'ADA Compliant Washer and Dryer',
									"id":199,
									"url":'199',
									"parentID":7,
									"photo":'SPDE1113_slider.png',
									"description":"SUMMIT's ENERGY STAR qualified washer and dryer set is sized to meet ADA guidelines.",
									"tip":"32 inch high ENERGY STAR rated set",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Counter Height',
									"id":200,
									"url":'200',
									"parentID":20,
									"photo":'',
									"description":"These freestanding and built-in freezers offer quality storage solutions to space-challenged locations, with drawer and front-opening units available.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Wine Cellars',
									"id":212,
									"url":'212',
									"parentID":211,
									"photo":'',
									"description":"Compact or full-sized, SUMMIT's commercially approved wine cellars provide optimal storage conditions for every varietal.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Drawers',
									"id":19,
									"url":'19',
									"parentID":2,
									"photo":'Drawers.png',
									"description":"Choose from models that accept full overlay panels, yet are fully stainless steel and ready to use out of the box. SUMMIT drawer refrigerators are the value leader. ",
									"tip":"24 inch and 36 inch wide refrigerated drawers",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Induction Cooktops',
									"id":33,
									"url":'33',
									"parentID":4,
									"photo":'cookind.png',
									"description":"Save time and energy with our exclusive induction cooktops, 1, 2, or 4 zones made from the highest quality CERAN  brand glass for faster, safer heating.",
									"tip":"One, two or 4 zone built-in induction, glass top electric cooktops",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Compact Appliances',
									"id":45,
									"url":'45',
									"parentID":6,
									"photo":'Medcompact.png',
									"description":"SUMMIT's compact and cube-sized units come standard with locks and offer a variety of options in operation and appearance",
									"tip":"All-refrigerators, all-freezers and refrigerator-freezers 1.6 to 4 c.f.",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Portable Laundry',
									"id":49,
									"url":'49',
									"parentID":7,
									"photo":'SPW1200.png',
									"description":"SUMMIT offers full service laundry solutions for space challenged settings with our compact washer on wheels and its portable companion 110V dryer. ",
									"tip":"Compact washers and dryers on wheels for sink or permanent hook-up",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Beer Dispensers',
									"id":54,
									"url":'54',
									"parentID":8,
									"photo":'outdoor_beerdispenser.png',
									"description":"SUMMIT's stainless steel outdoor beer dispensers let you serve and savor ice cold kegs in the comfort of your own backyard. ",
									"tip":"Under-counter and freestanding",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Reach-In Refrigeration',
									"id":63,
									"url":'63',
									"parentID":10,
									"photo":'RI.png',
									"description":"SUMMIT carries a variety of large capacity reach-in units for refrigeration in restaurants, hospitals, cafeterias, and other commercial settings. ",
									"tip":"Full-sized reach-in refrigerators and freezers",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Factory Installed Options',
									"id":67,
									"url":'67',
									"parentID":11,
									"photo":'',
									"description":"Before completing your order, browse through our factory installed features to customize your appliance for the best fit. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Full-Sized Frost-Free',
									"id":88,
									"url":'88',
									"parentID":20,
									"photo":'',
									"description":"Our frost-free upright freezers include elegant glass door units with digital controls and a quality collection of large capacity all freezers.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Counter Height',
									"id":145,
									"url":'145',
									"parentID":40,
									"photo":'',
									"description":"SUMMIT's line of counter height wine cellars features luxurious models in stainless steel and dual temperature zone units that hold reds and whites. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Door Options',
									"id":181,
									"url":'181',
									"parentID":67,
									"photo":'',
									"description":"Whether you're adding security, function, or personal style, SUMMIT will adjust your appliance door to fit your needs.  ",
									"tip":"Lock, keypad, Summit COLORS, door reversal, etc.",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Icemakers',
									"id":188,
									"url":'188',
									"parentID":3,
									"photo":'Fice.png',
									"description":"Our quality selection of compact icemakers includes ADA compliant models that fit any location.",
									"tip":"Freestanding and built-in icemakers",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Counter Height',
									"id":14,
									"url":'14',
									"parentID":2,
									"photo":'Counter.png',
									"description":"The industry's largest selection, all with quality construction, a wide choice of sizes, and less maintenance.",
									"tip":"All-refrigerators and refrigerator-freezers designed for freestanding",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'ADA Compliant (32" H)',
									"id":25,
									"url":'25',
									"parentID":3,
									"photo":'FADA.png',
									"description":"SUMMIT has the industry's most diverse selection of 32 inch high freezers, designed to fit easily under ADA counters ",
									"tip":"32 inch high front-opening freezers for ADA height counters",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Cooktops',
									"id":32,
									"url":'32',
									"parentID":4,
									"photo":'cookctop.png',
									"description":"When it comes to cooktops, SUMMIT has all the sizes for hard to fit cutouts. 4 burner gas in two sizes and electric in one, two, or four burners with ceramic glass surfaces or sturdy porcelain.",
									"tip":"4 burner gas cooktops, and one, two, or 4 burner electric cooktops",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Full Size Refrigeration',
									"id":43,
									"url":'43',
									"parentID":6,
									"photo":'medfull.png',
									"description":"Our full capacity medical units are equipped with advanced features for ideal performance in labs, hospitals, and other settings where precision is key.",
									"tip":"All-refrigerators, all-freezers and refrigerator-freezers; 8 to 25 c.f.",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Washer Dryer Combo',
									"id":50,
									"url":'50',
									"parentID":7,
									"photo":'cleaningwashdry.png',
									"description":"Our diverse line of washer-dryer combos provides outstanding value with ideal dimensions, and offers the choice of a good/better/best selection, highlighted by our Italian made top of the line model.",
									"tip":"Space saving washer-dryers in one unit",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Upright Display Freezers',
									"id":61,
									"url":'61',
									"parentID":10,
									"photo":'upright_display.png',
									"description":"Let SUMMIT work for you with our innovative glass door freezers designed to display your products with modern flavor.  ",
									"tip":"Glass door upright freezers",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'After purchase parts and accessories',
									"id":68,
									"url":'68',
									"parentID":11,
									"photo":'',
									"description":"Several accessories and replacement parts are available to complete your appliance after ordering or receiving. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Full-Sized Manual Defrost',
									"id":89,
									"url":'89',
									"parentID":20,
									"photo":'',
									"description":"SUMMIT offers great value with manual defrost all freezers, conveniently fitted with factory-installed locks. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Compact',
									"id":147,
									"url":'147',
									"parentID":40,
									"photo":'',
									"description":"Our 24 inch high wine cellars bring the quality of SUMMIT to a smaller design with full commercial approval.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Legs and Casters',
									"id":182,
									"url":'182',
									"parentID":67,
									"photo":'',
									"description":"For height adjustment or added mobility, SUMMIT offers the option of adding durable 6 inch legs or casters to selected appliances. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Icemakers',
									"id":190,
									"url":'190',
									"parentID":8,
									"photo":'icemaker.png',
									"description":"Forget the leaking bags of ice and keep your own supply with SUMMIT's outdoor icemaker in weatherproof stainless steel.",
									"tip":"Built-in and freestanding capable icemaker",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'ADA Compliant (32" H)',
									"id":16,
									"url":'16',
									"parentID":2,
									"photo":'ADA.png',
									"description":"From stainless steel drawer units to built-in or freestanding refrigerators in a range of sizes and finishes, we have the industry's largest selection of ADA compliant, 32&quot; high refrigerators.",
									"tip":"Refrigerator-freezers and all-refrigerators, 32 inches high, designed for ADA counters",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Chest (Frost Free)',
									"id":22,
									"url":'22',
									"parentID":3,
									"photo":'chest2.png',
									"description":"Frost-free convenience meets chest style freezers in SUMMIT's innovative line of compact and large capacity chest freezers. ",
									"tip":"Frost-free chest freezers from 5 to 24 c.f.",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Wall Ovens',
									"id":31,
									"url":'31',
									"parentID":4,
									"photo":'WEM721KW_front.png',
									"description":"SUMMIT built-in wall ovens fit old hard-to-fit cutous, including old Welbilt, Slattery, and Caloric cutouts. ",
									"tip":"Gas and electric wall ovens in white, bisque, black, and black glass",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Low Temp. Freezers',
									"id":46,
									"url":'46',
									"parentID":6,
									"photo":'medlowtemp.png',
									"description":"Our medical freezers reach the temperature you need for safe vaccine storage, with chest freezers made for -30º, -35º, and -40º C operation.",
									"tip":"Chest freezers for -30, -35 or -40ºC",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'European Dishwashers',
									"id":51,
									"url":'51',
									"parentID":7,
									"photo":'cleaningeuro.png',
									"description":"Our ENERGY STAR rated dishwashers perform with 46% more efficiency than the standard model. ADA compliant models are available for lower counters.",
									"tip":"ENERGY STAR qualified ultra-quiet dishwasher in white or stainless steel",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Refreshment Centers',
									"id":55,
									"url":'55',
									"parentID":8,
									"photo":'outdoor_refreshcenter.png',
									"description":"Built in or free standing, SUMMIT outdoor beverage centers can display wine, beer, and other beverages with maximum visibility and classic style.",
									"tip":"Under-counter and freestanding",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Digital Thermostats',
									"id":183,
									"url":'183',
									"parentID":67,
									"photo":'',
									"description":"For the highest level of precision in temperature control, add a digital thermostat to any refrigerator, freezer, or wine cellar by SUMMIT. ",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Beer & Wine ',
									"id":211,
									"url":'211',
									"parentID":10,
									"photo":'commercial-beer-wine-slider.png',
									"description":"SUMMIT COMMERCIAL includes outdoor beer coolers, double and triple tap beer dispensers, and a wide variety of wine cellars for every space and service need.",
									"tip":"Beer dispensers and wine cellars with commercial approval",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Compact',
									"id":17,
									"url":'17',
									"parentID":2,
									"photo":'front.png',
									"description":"Perfectly sized and value priced, SUMMIT compacts give you quality storage in small spaces. ",
									"tip":"All-refrigerators and refrigerator-freezers with 20&quot; and under widths ",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Upright Freezers',
									"id":20,
									"url":'20',
									"parentID":3,
									"photo":'Fupr.png',
									"description":"Whether you need extra storage at home or a glass door display freezer for commercial use, SUMMIT offers a range of choices in upright freezers. ",
									"tip":"Frost-free and manual defrost upright freezers; up to 25 c.f.",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Range Hoods',
									"id":35,
									"url":'35',
									"parentID":4,
									"photo":'cookhoods_old.png',
									"description":"Our extensive selection of range hoods has sizes from 20 inches up to 48 inches and includes hard-to-find shell hoods. ",
									"tip":"20, 24, 30, 36, 42 and 48 inch range hoods; standard or high CFM",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Carts',
									"id":56,
									"url":'56',
									"parentID":8,
									"photo":'outdoorcart.png',
									"description":"From elegant stainless steel to unique party coolers, SUMMIT outdoor carts are made to serve with quality and convenience. ",
									"tip":"Full size and compact for entertaining",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Juice Dispensers',
									"id":64,
									"url":'64',
									"parentID":10,
									"photo":'JDISP.png',
									"description":"SUMMIT commercially approved juice dispensers are carefully constructed for long-term use with refreshing results. ",
									"tip":"One and two tank refrigerated juice dispensers",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Alarms',
									"id":184,
									"url":'184',
									"parentID":67,
									"photo":'',
									"description":"SUMMIT can install an NIST traceable high temperature warning alarm that also displays the internal temperature of your refrigerator or freezer.",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Full Size',
									"id":12,
									"url":'12',
									"parentID":2,
									"photo":'FULL.png',
									"description":"SUMMIT full size refrgierators are easier to fit, with footprints that make smaller kitchens look large, yet with the capacity and shelf space you need.",
									"tip":"Refrigerator-freezers and all-refrigerators from 15 to 21 c.f., with optional locks",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Chest (Manual Defrost)',
									"id":21,
									"url":'21',
									"parentID":3,
									"photo":'Fchest.png',
									"description":"Browse SUMMIT's wide selection of chest freezers made for household and commercial use, with a range of options in finishes and features.",
									"tip":"Manual defrost chest freezers 5 to 25 c.f.",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Microwave Ovens',
									"id":34,
									"url":'34',
									"parentID":4,
									"photo":'cookmicro.png',
									"description":"Our elite collection of microwave ovens include compact and mid-sized units, with models in black, white, and exquisite stainless steel.",
									"tip":"Compact and midsized microwave ovens",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Built-In Undercounter',
									"id":205,
									"url":'205',
									"parentID":10,
									"photo":'undercounter.png',
									"description":"SUMMIT features several refrigerators and freezers designed to fit under counters for service in commercial settings.",
									"tip":"Refrigerators and freezers for installation under counters",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Chest Style (Frost Free)',
									"id":18,
									"url":'18',
									"parentID":2,
									"photo":'CHEST.png',
									"description":"Our selection of chest refrigerators brings you the convenience of frost-free operation in sizes that meet your storage needs.",
									"tip":"Chest style all-refrigerators",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Backsplashes',
									"id":36,
									"url":'36',
									"parentID":4,
									"photo":'backsplash.png',
									"description":"SUMMIT carries stainless steel backsplashes in a range of sizes from 20 inches wide up to 48 inches wide.",
									"tip":"Stainless steel backsplashes in 20, 24, 30, and 36 inch sizes.",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Counter Height & Compact',
									"id":208,
									"url":'208',
									"parentID":10,
									"photo":'fs20lcss.png',
									"description":"From cube-shaped compacts to counter height units with generous 5.5 capacities, SUMMIT offers a quality choice for commercial refrigeration.",
									"tip":"Refrigerators and freezers for freestanding use",
									"photo_width":"200",
									"photo_height":"194"
								} );
	categories.push( {  "name":'Microwaves',
									"id":255,
									"url":'255',
									"parentID":240,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'Accessories',
									"id":224,
									"url":'224',
									"parentID":11,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );
	categories.push( {  "name":'MED Series Drawer Refrigeration',
									"id":275,
									"url":'275',
									"parentID":240,
									"photo":'',
									"description":"",
									"tip":"",
									"photo_width":"",
									"photo_height":""
								} );

/*  ******************************** PRELOAD IMAGES *************************************************** */
function preload_sub_cat() {
	// create object
    imageObj = new Image(200,189);
    
    // Loop through categories to set image
	if (document.images) {
		for (var a = 0; a < categories.length; a++)  {
			cat = categories[a];
			if (cat['parentID'] == 2 || cat['parentID'] == 3 || cat['parentID'] == 4 || cat['parentID'] == 5 || cat['parentID'] == 6 || cat['parentID'] == 7 || cat['parentID'] == 8 || cat['parentID'] == 9 || cat['parentID'] == 10 || cat['parentID'] == 11 ) {
				imageObj.src = '/catalog/display_model_img/' + cat['id'] + '.png';
			}
		}
	}
    imageObj.onLoad = loadit();
}
function loadit() {
    alert('loaded images');
}


/*  ************************************************************************************************ */
/*  ********************************SUB CATEGORY *************************************************** */
// Purpose: loads the list with sub categories
function loadSubCategoryList(parentID)  {
	$('subCatList').innerHTML = "";
	$('subSubCatList').innerHTML = "";
	$('categoryGoTo').innerHTML = "";
	$('subSubCatList').style.backgroundImage = '';
	
	var listCount = 1;
	var aCategory;
	
	// Set gradient left border
	$('subCatList').style.backgroundImage = 'url(../../images/categoryBanners/gradientLine.gif)';
	
	for (var a = 0; a < categories.length; a++)  {
		aCategory = categories[a];
		if (aCategory["parentID"] == parentID) {
		
			// If there are more than 8 sub categories - exit loop and not display anymore
			if (listCount <= 8) {
				// Add sub category to list
				addToSubList(aCategory);
				listCount++;
			} else {
				break;
			}
		}
	}
}

// Purpose: inserts an li element to the sub category list with an onclick event that sets the font to bold and resets the others
function addToSubList(catArrayElem) {	
	// Creates tool tip
	new_span = ceate_tool_tip_popup(catArrayElem, 'true');
	
	new_span.onclick =  function () {	
		if ((num_of_clicks == 1) && (current_category_selected != catArrayElem['id'])) { 
			$$('span.subItem').each(function(cat) { cat.style.color = '#646464'; });
			this.style.color = 'black';
			
			$('subSubCatList').innerHTML = "";
		}
		
		//if ( hasSubSubCategories(catArrayElem) ) {
			// Slide effect and display category info
			slideEffectImage(catArrayElem,"true");
		//} else { 
			// Go straight to catalog show page
		//	location.href="catalog/" + catArrayElem["url"];
		//}

	}
}

/*  ***************************************************************************************************** */
/*  ***************************************************************************************************** */
/*  ********************************SUB SUB CATEGORY **************************************************** */
// Purpose: loads the list with sub sub categories
function loadSubSubCategoryList(subCategory)  {
	$('subSubCatList').innerHTML = "";
	$('categoryGoTo').innerHTML = "";
	var listCount = 1;
	var aSubSubCat;
	var list = new Array();
	// Set gradient left border image
	$('subSubCatList').style.backgroundImage = 'url(../../images/categoryBanners/gradientLine.gif)';
	
	// Load sub sub list
	for (var a = 0; a < categories.length; a++)  {
		aSubSubCat = categories[a];
		if (subCategory["id"] == aSubSubCat["parentID"]) {
			
			// If there are more than 8 sub sub categories - exit loop and not display anymore
			if (listCount <= 8) {
				list.push(aSubSubCat);
				// Add sub sub category to list
				listCount++;
				
			} else {
				break;
			}
		}
	}
		var subsub_counter = 0;
		
		for (var t = 0; t < list.length; t++)  {
			
				//new Effect.Move('subSubCatList', { x: 0, y: 0, duration: 0.5 + subsub_counter, mode: 'relative', queue: {position: 'start', : 'subsub', limit: 8}, afterFinish: function() {
					//$('subSubCatList').style.backgroundImage = 'url(../../images/categoryBanners/gradientLine.gif)';
					addToSubSubList( list[subsub_counter++] );
					//$('subSubCatList').innerHTML= list[0]["id"] + "  " + list[1]["id"];
					//$('subSubCatList').innerHTML= $('subSubCatList').innerHTML + " " + t;
				//} } );
		}
		effect_delay = -0.2;
}

var effect_delay;
effect_delay = -0.2;
// Purpose: inserts an li element to the sub sub category list with an onclick event
function addToSubSubList(catArrayElem) {
	// Creates tool tip
	//new_span = ceate_tool_tip_popup(catArrayElem, 'false');
	effect_delay += 0.2;
	//alert(effect_delay);
	var new_li = document.createElement('li');
	new_li.id = 'li_' + catArrayElem["id"];
	var new_span = document.createElement('span');
	new_span.innerHTML = catArrayElem["name"];
	new_span.className = 'subSubItem';
	$('subSubCatList').appendChild(new_li);
	$('li_' + catArrayElem["id"]).appendChild(new_span);
	new Effect.Pulsate('li_' + catArrayElem["id"], { pulses: 1, duration: 0.4, delay: effect_delay });
	//new Effect.Pulsate('li_' + catArrayElem["id"], {pulses: 0.5, duration: 0.4, queue: { position: 'end', scope: 'menuscope' } });

	// Add even when item is clicked
	new_span.onclick =  function () {
		// Go straight to catalog show page
		location.href="catalog/" + catArrayElem["url"];
		/*
		// Display cat name and desc
		$('categoryDesc').innerHTML = catArrayElem['description'].substring(0,150);
		$('categoryTitle').innerHTML = catArrayElem["name"];
		
		// Styles
		$$('span.subSubItem').each(function(cat) { cat.style.color = '#646464'; });
		this.style.color = 'black';
		
		// Generate go to button links
		createGoToLink(catArrayElem);
		*/
	}
}	
		
/****************************************************************************************/
/****************************************************************************************/
/******************************** SLIDE EFFECT *********************************************/
// Purpose: controls the slide effect for the image
function slideEffectImage(category, run_effect) {
	if ((num_of_clicks == 1) && (current_category_selected != category['id'])) { 	// Runs effect only if number of clicks equals 1 and if category is different
		num_of_clicks++;
		
		if (run_effect == "true") {
			new Effect.Move('catImage', { x: 200, y: 0, duration: 0.8, mode: 'relative', queue: {position: 'end', scope: 'moveimage', limit: 2}, afterFinish: function() {
				displayCategoryInfo(category);	   		// displays category desc, img and title
					
					
			} } );
			new Effect.Move('catImage', { x: -200, y: 0, duration: 0.8, mode: 'relative', queue: {position: 'end', scope: 'moveimage', limit: 2}, delay: 0.6,
				afterFinish: function() { 
					if (!hasSubSubCategories(category)) {	// Check if category has children (sub sub )
						$('subSubCatList').style.backgroundImage = 'url(../../images/categoryBanners/gradientLine.gif)';
						$('subSubCatList').innerHTML = '';
						createGoToLink(category);			// Generate go to button links
						
					} else {
						loadSubSubCategoryList (category); // loads sub sub category list
						//var queue = Effect.Queues.get('menuscope');
					}
					
					//Apply PNG Fix
					if (category['photo_width'] != "") {
						$('catImage').style.width = category['photo_width'] + 'px';
					}
					if (category['photo_height'] != "") {
						$('catImage').style.height = category['photo_height'] + 'px';
					}
					
					num_of_clicks = 1;
				}
			});
		} else if (run_effect == "false") {
					displayCategoryInfo(category);	   		// displays category desc, img and title
					
					if (!hasSubSubCategories(category)) {	// Check if category has children (sub sub )
						$('subSubCatList').style.backgroundImage = 'url(../../images/categoryBanners/gradientLine.gif)';
						$('subSubCatList').innerHTML = '';
						createGoToLink(category);			// Generate go to button links
						
						//Apply PNG Fix
						if (category['photo_width'] != "") {
							$('catImage').style.width = category['photo_width'] + 'px';
						}
						if (category['photo_height'] != "") {
							$('catImage').style.height = category['photo_height'] + 'px';
						}
						
					} else {
						
						loadSubSubCategoryList (category); // loads sub sub category list
						if (category['photo_width'] != "") {
							$('catImage').style.width = category['photo_width'] + 'px';
						}
						if (category['photo_height'] != "") {
							$('catImage').style.height = category['photo_height'] + 'px';
						}
					}
					num_of_clicks = 1;
		}
	}
}

/*  ********************************************************************************************* */
/*  ********************************************************************************************* */
/*  ******************************** CATEGORY *************************************************** */

// Purpose: gets sub category list and display parent category info - called when page loads
function fadeSubList(parentID) {
	loadCategoryInfo(parentID);
	loadSubCategoryList(parentID);
		
	// get url
	current_url = location.href
	index = current_url.indexOf("#");
		
	// check for hash at the end of the url
	if (index != -1) {
		// parse url		
		sub_id = current_url.substr(index + 1);
		$('li_' + sub_id).style.color='black';		
		// find category in array
		catArrayElem = [];
		for (var a = 0; a < categories.length; a++)  {
			cat = categories[a];
			if (cat["id"] == sub_id) {
				catArrayElem = cat;
				break;
			}
		}
		// show sub sub category with no effect
		slideEffectImage(catArrayElem, "false");
	}
}
// Purpose: loads parent category info - ex. Refrigeration, Freezers & Ickemakers, Cooking & Ventilation
function loadCategoryInfo(id) {
	var aCat;
	for (var a = 0; a < categories.length; a++)  {
		aCat = categories[a];
		if (aCat["id"] == id) {
			displayCategoryInfo(aCat);
			break;
		}
	}
}
// Purpose: displays the model image and description for any category
function displayCategoryInfo(cat) {
	// Store cat id to track which category is selected
	current_category_selected = cat['id'];
	// catalog_show_cat_model_path() // /catalog/cat_model/:object_id - path to action that display's blob'
	$('catImage').alt = cat['name'];
	
	if (cat['photo_height'] != "") {
		$('catImage').style.width = cat['photo_width'] + 'px';
	}
	if (cat['photo_height'] != "") {
		$('catImage').style.height = cat['photo_height'] + 'px';
	}
	$('catImage').src = '/catalog/display_model_img/' + cat['id'] + '.png';

	$('categoryDesc').innerHTML = cat['description'].substring(0,200);
	$('categoryTitle').innerHTML = cat['name'];

}

// Purpose: checks if category has any sub sub categories
// Returns: true - has children
//			false - no children
function hasSubSubCategories(category) {
	for (var a = 0; a < categories.length; a++)  {
		aCategory = categories[a];
		if (aCategory["parentID"] == category['id']) {
			return true; // Returns true if category has children
		}
	}
	return false;
}

// Purpose: creates a link with an image to the list page
function createGoToLink(category) {
	//$('categoryGoTo').innerHTML = "";
	$('subSubCatList').innerHTML = "";
	
/*
	var new_img = document.createElement('img');
	new_img.alt = "View Models";
	new_img.src = "../../images/categoryBanners/goArrow.gif";
	new_img.style.paddingLeft = "3px";
*/
	var new_li = document.createElement('li');
	new_li.id = 'li_menuitem' 
	var new_a = document.createElement('a');
	var new_span = document.createElement('span');
	new_span.className = 'subSubItem';
	new_a.href = "catalog/" + category["url"];
	new_a.innerHTML = "View Models";
	
	
	//new_a.appendChild(new_img);
	$('subSubCatList').appendChild(new_li);
	new_li.appendChild(new_span);
	new_span.appendChild(new_a);
	Effect.Pulsate('li_menuitem' , { pulses: 0.5, duration: 0.4 });
	
	//$('categoryGoTo').appendChild(new_a);
}

// Purpose: Sets up the tool tip
// Params: 	catArrayElem - category element
//				boolSubList - boolean, to distinguish between category lists
//					true - is the sub category list
//					false - is sub sub category list
// Returns:	new_span - span element that contains the category name
function ceate_tool_tip_popup(catArrayElem, boolSubList) {
	var new_li = document.createElement('li');
	new_li.id = 'li_' + catArrayElem["id"];
	var new_span = document.createElement('span');
		
	// Mouseover is included in innerHTML of new_span - original
	if (catArrayElem['tip'].length <= 1) {
		new_span.innerHTML = "&nbsp;&nbsp;&nbsp;&nbsp;" + catArrayElem["name"];
	} else {
		new_span.innerHTML = '<img id=\"img_' + catArrayElem["id"] + '\"  style=\"float: left; width: 10px;  \" alt=\"Info\" src=\"../../images/categoryBanners/info.gif\" /> ' + '<div style=\"float: left; width: 155px; padding-left: 5px;\">' + catArrayElem["name"] + '</div>';
	}
	
	if (boolSubList == 'true') {
		new_span.className = 'subItem';
		$('subCatList').appendChild(new_li);	
	} else {
		new_span.className = 'subSubItem';
		$('subSubCatList').appendChild(new_li);
	}	
	$('li_' + catArrayElem["id"]).appendChild(new_span);
	
	
	// ie6 - set bottom margin to list item
	if (b_version.indexOf('MSIE 6.0') >= 0) {
		new_li.style.marginBottom = '10px';
	}
	
	// Set events that control hovering
	if ($('img_' + catArrayElem["id"])) {
		$('img_' + catArrayElem["id"]).onmouseover = function() {
			$('popupText').innerHTML = catArrayElem["tip"];
			$('popupContainer').style.display = "block";
		}
		$('img_' + catArrayElem["id"]).onmouseout = function() {
			$('popupText').innerHTML = catArrayElem["tip"];
			$('popupContainer').style.display = "none";
		}
	}
	
	return new_span;
}
/*  ********************************************************************************************* */
/*  ********************************************************************************************* */

// Fires when all elements on the html is loaded
document.observe('dom:loaded', function() {
	// ie6 - set bottom margin to list item
	if ( b_version.indexOf('MSIE 6.0') >= 0) {
		$('subCatList').style.marginLeft = '10px';	
	}
});
