/* Popular phrases - LIGHTINGCATALOG - 21:56:51, Sat Jan 28, 2012 */
__SLI_ClientDefaults =
[
    ['ShowBrandingFooter', false ],
    ['MaxListItems', 15],
    ['TextBoxIDCustom', ['ctl00_Header1_View1_KeywordField', 'sli_search_1', 'sli_search_2'] ],
    ['Alignment', false]
]
var asPhrases=new Array ('subcategory postlights','wall sconces','westinghouse outdoor lighting','vintage chandeliers','fans','stylicon','subcategory steplights','monte carlo fan blades','et2','outdoor wall sconce','subcategory tiffanystylependants','copper','subcategory addresslight','buffet lamps','quoizel lamp','wall lamp','plug in wall sconce','semi flush mount bronze','bronze table lamp','ceiling lighting','subcategory tiffanystylefloorlamps','autumn ridge','kichler bath','fanimation','8192','4660','motion sensor','kalco 6080','refraction','antique bronze','touch lamps','sl 7473','maidstone','semi-flush mount lighting','pendants with shades','dainolite chandelier','brushed nickel wall lights','kichler floor lamps','kichler transformer','ceiling fan uplight','track brushed nickel','progress','kwg','2774svgb','kichler bath lighting','2 light island','emerson','wall directional lighting','8606-10rbz','recessed','tiffany ceiling mount','lights for ceiling fans','carriage house outdoor lighting','p5645-30','fiorentino','recessed led lighting','fan remote control','fan downrods','basix collection','kd5005','bolo','marcella','1612','thomas regency','p-3649','p3246-18','eileen','besa 8192','florence patina','z320','billiard table light','ribbon reed','flourescent lighting','4308ol','led track lighting','kitchen','swing arm floor lamp','8020mrcs','sconce with switch','kichler olympia','dolan collection','yw230','jessica mcclintock romance','wb1492fsv','recessed shower trim','murray feiss semi mount','paris flea','f588-sp','carriage house collection','wrought iron','decorative track lighting','souldern','cf712orb','2630ob','plug in directional lighting','bratenahl','reading lights','n9800','minka aire replacement glass','ag1005-ibz','boulevard collection','builder essential collection','7050','low profile lighting','2 light wall sconce','8043','9809','barton collection','8944','centennial','3966-ba1fb','outdoor lamp post','flush mount universal collection','t12 fixture','elk pendant lighting','tiffany wall sconce','fc232-eb','mini lamps','ph100','p4513-09','f5416glassnv','4 light vanity','outdoor pendants brass','z690','plant lights','pink ceiling fan','outdoor mounted ceiling light','kichler eileen','p3610-10','kichler quinn','2334-47','clip on lights','torchiere floor lamps','adjustable wall lamp','kovacs replacement glass','progress chandelier','clip on lamp shades','jessica mcclintock sconces','pendant lights kitchen','address numbers','kelham hall collection','maxim outdoor','shell','9956','9327 5','148brz-gm16','rooster','hurricane','dolan designs chandeliers','puck light','quoizel black outdoor wall sconce','9098','globe light','2946-66','r2226gl','replacement shades','hinkley pia','westinghouse sconce','7625','f581','ls-974d brz','quoizel table lamps','1815','8838','cfdr1bs','ceiling fan bulbs','rue maison','2656','dr24','hot air balloon','minka lavery 2848','ky5103ib','1236-15','glass globe lamp','post light accessories','ji2820hl','globe pendant light','white floor lamps','dover collection','bowl lights','thomas mission','hillcrest','p6148-174wb','progress fairview','f596','shower trim','sl7581-4','bulk parts','black flush mount ceiling lights','wall sconce plug','small lamp shades','dawson','roxbury','3344 6','3260tzg','2655mrac','kichler leeds','tropical ceiling fans','limoges','sloped recessed','fluorescent wall','p1144','cabinet','pot rack chandelier','p4473-122','murray feiss lighting','minka pendant','6081','6414tz','9951bk','travera','projection light','huguenot lake','on off switch wall sconce','thomas chandelier','p6416-30tg','p4340-63','na5103','mission hollow','f5460','p5538-71','fans with remotes','black and white chandelier','2732-34','minka aire salon grand','shaded crystal chandeliers','9101','prescott collection','converter kit','317','f2520','thomas grotto','p3782-09','516','double pendant','p3848','n6070-194','melbourne','lite source lamps','225-60','minka airus','progress marcella','plantation','7105','sachet','hudson valley pendants','craftmade riviera','p5493-31','4664','torchiere table lamps','kichler 3478','chadford','9951','hinkley lighting bolla','dolan lighting','antique nickel pendant lights','a245','indoor cable track lighting','outdoor lighting white pendant','mad3250','626','9228-os','3475','p4147-91c','p5122-91c','7115oi','7243-89','alabaster glass shade','quoizel outdoor wall sconce','bulb 12','622-09','arc floor lamps','tr408','butterfly tiffany','outdoor','crawford','large lamp shades','salon','3-way','tuxedo park','kichler 9044','p5763-09','golden lighting meridian chandelier','ceiling fan light kits antique brass','hendrik collection','racetrack','5394','pf8601es','6143','pendant stem','2011-15','p3191-15','6232 4','gis','regal hinkley','p5684-31','edge lighting','progress lighting masira collection','onion lights','sophie','troy bradford','4724mc','sl9004-7','#3363-09','8946svsr','indoor outdoor ceiling fan','p4536-75','7158','bw7155','5346','hugger ceiling fan lighting','2 light flush mount ceiling light','p3513','9735','trb30w','directional ceiling lights','kenroy wynwood chandelier','crystal semi flush','up down wall sconce','sea gull trenton collection','b552s-o','golden lighting','french gold wall sconces','z lite','hc8407','elk hampton court palace','elk la100','4115','oiled bronze chandeliers','bathroom vent fan with light','metropolitan sanguesa','craftmade toscana','elk refraction','1568-477','lighting for vaulted ceiling','ceiling fan blades','2630','dolan replacement glass','z270','quoizel hollister','clamp on lighting','hanging light fixture','kenroy medici','8839','drop in lighting','c4853','trenton collection','kichler ashton collection','mission style ceiling fan','clamp on lamps','f9273','hinkley 2226cb','kichler lege','3464','p5223-31wb','kichler mirror','maxim 7144','semi flush mount ceiling fixtures','crystal pendant lights','hy8411','z200','mesa','hinkley nico','hinkley atlantis','brass swing arm','touch desk lamp','5155-eb','1002ch','low voltage wall sconce','sl8073','puppy','minka lavery 1815','1575','3465','n6073-194','nucleus','trump home','directional ceiling','pull chain wall sconce','house of troy piano lamps','pull switch ceiling','crystorama semi flush','2161 6','vigneto','light sensor','dolan roxbury','3 blade ceiling fan','8205-58','battery ceiling light','crystal lamps','4880','9784','minka aire como','p5649-31','fm291','m5267-1','hudson valley newport','sea gull brookchester','p2879-77','trinity','hudson valley hampton','x4713','k4000-22','p2882','hudson valley menlo park','shaker','quoizel tt8604','solid brass outdoor light','5436pn','tf1558','9935','1903','clear glass table lamp','gold hill','besa porto','progress arts and crafts','p8524-01','hudson valley randolph','quoizel track','cxl-tcs','2944','forecast f6025','kichler golden iridescence','p2643','progress renovations','4724-05','1534','p5003-09','1912 mission','convenience outlet','tf885svb','ct','victorian','p3151-09','murray feiss ceiling lighting','f8521','hudson valley woodstock','globe for ceiling fan light','maxim pacific collection','48 vanity light','justice design chandeliers','p033','1859cz','3872','bancroft','forecast chandelier','ceiling light with pull chain','x211','hinkley lanza collection','silk shades','p5565-19','m5266-1','5251','wood floor lamp','hunter classic','pub','3617prz','recessed spot','petersburg','3 head outdoor light post','medici pendant','3749-34','p4201','pineapple lights','ls','switch plates','p5163-09','p5084-09','sensor outdoor wall sconce','hinkley aberdeen','lk715','p7045-09','cristallo','fp4320','fluorescent fixtures','2226whgb','p3570-10eb','regal','hinkley hampton','cfmlk4aw','circline fixtures','thomasville beaumont collection','minka aire f518','fm354bk','quoizel er353','3132cdse','p4201-91c le jardin biscay crackle five-light chandelier','p5003','12v','wb1449obz','48 light','5661rbz','clear glass lighting','g5245','100sf-brz','2652wskb','progress chadford','xenon light bulbs','p485-3','copper island light','hinkley outdoor pendant','3987','120 volt outdoor lighting','gold pendant','6 light bath bar','twig and branch chandelier','maxim sconces','6406-a-vb','polished nickel','flush mount white ceiling fans','4060-05','maxim odessa','craftmade pendant','p6144-30','p5044-077-pl','metropolitan n8008','59th street','solaris','justice design 1141','maxim outdoor pendant','p5204','craftmade fans','dr36','p4507-101','f803-mp','sl9146-7','p5496','energy efficient outdoor lighting','ie5009bn','portsmouth collection','mini pendant lights kitchen','f1046','9513','warehouse','sl7485-78','dy6413','2151 2','maxim 5840','retractable lights','murray feiss wb1227mbz','4783-60','p5209','kichler 6520','hudson valley wall sconce basking ridge #6103','hunter sanibel','4902','installation','tf6774tm','progress lighting p3815','brushed nickel 3 light pendant','petite ceiling fans','emergency lighting','hf1160','f8432','hinkley plymouth','halogen torchiere lamp','to52pr','1663-479','silver patina','manica','mason','1720 oz olde bronze','kichler led under cabinet','light source','hatteras collection','fc432','190-1-bk-m','701km01','z3904','6 recessed light','ol5701bk','mini wall sconces','sea gull pendant','sea gull 2580-15','bradford','9112','9032rz','p5723-71','f1902 6 mbz','5474','la100','1804oz','m2640','p8713-01','p3340-09','3506','besa wall sconce','10','sconces with candles','f1837 3cb','chandelier sale','5884mrsn','4416','hs8602c','progress lighting westin','billiard tiffany light','polished nickel bath light','celestial','progress lighting eden collection','blue mini','504m-post-bk','italian countryside','bronze ceiling light','7158-10rbz','p3002-46','kichler leighton','6272','100c09c','jessica mcclintock salon','4468-04','pl9133-7','spanish mosaic','candle chandelier','ceramic table lamp','p5690-31','2698mroi','p6148','73-12','monte carlo great lodge','outdoor fixtures','traditional wall sconces','polished brass lighting','kovacs pg5041','quinton 130','minka chandelier','f4333-36','br40 flood','p6149-30','hunter ceiling fan remote','dy2825es','5021-07','8561','4667','la paloma','3046','fan receiver','marble','8016mroi','4056 6 1','wall mount swing arm lamps','kichler 5316','golden homestead','p2645','1011rp','mr-16 bulbs','4065cm','p2816-101','sea gull outdoor lighting','8606-3prbz','etched glass chandelier','b1412nr','clear glass','p5219-31','half chrome','craftmade la vela','p-2605-20','metropolitan wall sconces','wb1220orb','chrome','mq5009','gas lantern','f2478 6','amherst collection','p5203-31','p5713-30','f539','p6149','p5741-30','murray feiss casbah chandelier','noko','murray feiss sf286mbz','p7336-35eb','cfmlk4','119-12','sr5005in','2157 3','2972','swing arm wall mount','5851','2686mrwg','kenroy dawson','ripley collection','humidifiers','f2475 6gs','600w transformer','air purifier','p470-077','chrome lighting','f2623 3','international lighting 7107','motion sensing lights','220v','100mp-brz','emerson fan light kits','pendant with fabric shade','2165 8 4','ava tiffany','sebring collection','lsp-763blk','6005-nd3rbz','stem holder','2048','v','p6148-30wb','antique brass wall light','1782-192','pole lamps','canopy kit','fanimation f423','7459','1861-40','oil rubbed bronze vanity light','2777svgb','ge5003se','p8027-084','6297-68','8385','4bn44whd','harp','sw605','cleaner','150','nascar','heater','p7063-20','elk lighting hampton court palace collection','p293','hinkley anna collection','ws14-61','p6147-30','emery collection','p6036','tropical ceiling fans with light','flower wall lighting','p5182','9138pr10','murray feiss preston','bronze chandeliers with crystals','sf278fsv','rattan ceiling fan','p8067-077','kichler ashton','pull chain sconce','f531-bn mg','med wall sconces','fluorescent flush mount','elk lighting 2897_3 3 1','4 speed ceiling fans','sconces with shades','indoor plant light','sea gull outdoor pendants','forecast f1714-35','hearst castle collection','t5 lamp','celeste','mini fluorescent','f8t5','indirect','craftmade x1920','56 ceiling fan with light','sl7413-78','9930','7015','polycarbonate','circa troy','well lights','7015-91','tr52','6814','copper shade','bf2','2557','kovacs sconce','golden lighting vanity light','progressive trevina','renaissance copper','mc5b68','f2584 5htbz','lk35cfl','monte titano oro','3034','2292','torino chandelier','p3484-33','5124','br minkaaire','1858cz','table lamp with night light','craftsman sconces','down light wall mounted','minka flyte','dolan saturn','malacca crackle','4115-pb','712','tr4705-8','metropolitan veranda crest','p7280-60trm','p4618-131','m1732-4','progress recessed trim','natallia','2897','551-3l','6504clpb','p3041-74','c6857','fes1304','prismatic glass','kichler sayre','m4211','p333-4r','p5770-084','z-lite 150-mgl13','multiple pendants','tree mounted lights','3106wget','maxim cupola collection flush mount','ceiling','6273','sl9214-8','ls-1425ps','3427wgob','1395rbz','lens cover','fairbanks','hammered table lamps','sebring','65-04','2051','tiffany sconce','maxim pendants','dr518','peacock style','z5011','3358','6148agvm3','sonneman wall sconces','2059','kichler monarch','cf770orb','minka lavery vanity light','contemporary ceiling fan','indoor lantern lighting','direct wire picture light','fp8003','z6120-92','parc','entrance hall lighting','progress lighting directional','8128ag3','117','shd126ch','outdoor cylinder','9152pr20','reading wall','119-10','brushed nickel mini pendant light','jessica mcclintock chandeliers','tfar9012','chrome ceiling fans','shade pendant lighting','703-ob','705-ob','dolan lamps','mounting stem','4976','b527','53f-pb','sl8266-78','p3541-42','190 1-bk-g1','n1773','monte carlo arch','fws217-8dseb','wb1194cb','p15-80','brushed nickel and white ceiling fans','lamps with pull chains','crystal bathroom lighting','g9052','limoges sconce','p4418-77','4975','p5723','snugger 42 ceiling fan','p3541','225-78','kalco 9271','livex seville','craftmade frontier','cordless wall light','craftmade 108','2501','dainolite sophie','82-46','p4057-33','4700','4928','gas lights','1052bk','sl9106','mr1077wal','1357-177','1358-177','1260-5','kichler power supply','f1677 6pal','965','wave lighting','sunlight','craftmade mia ceiling fans','jessica mcclintock collection','crystorama regis','f2537 4slp','f2555 6mcr','kichler edenvale chandelier','pv005-30','p4215','p2642-09','lk40orb','ventilation fans','144-15bk','p5644-20','5502','brush nickel wall','polished chrome and brass light fixtures','5619','b7002nb','shoplight','ceiling fan light shades','thomas lighting sl7485','d1466','106','hummingbird pendant lighting','monte carlo remote controls','polished brass island light','5500','murray feiss f2478 6','p5454-33','f6141','ceiling heater','kichler 6085','art glass chandelier','fixture with outlet','p5234-31','p4100-46','p5764-86','kenroy beacon','sl8531-81','golden chandeliers','c4919','pull chain ceiling fixture','craftmade ophelia collection','sl7473','nevada','9700','uc-2000-1','8076','ls-9401ps','light with receptacle','3 light semi flush','uc2000-3','progress lighting riverside','m2572','monarch chandelier','b556c','mona','5933','3793','tf878cvb','8813-12','z-lite 507','trump floor lamp','p621-084','cordless led','3694','triple capacitor','quoizel dominique','brushed steel','p5046-33','9004','5843mroi','p3027-15','4099-1','sl4941-7','5841fioi','p2643-46','2503','bathroom accessories','2243','431','pg8024','maxim cumberland','kids ceiling fans','9072bbz','valley 4703vk','4705vk','5str52bs','8438','soccer','fws217','p8618-31','7404-bu','1934 rb','7704','846-38','kichler 9707','corteo','portland chandeliers','2224cb','maxim meridian','2657mrkb','8254-68','brushed nickel island lighting','9651','5521','craftmade tcs remote','3 pack collection','8460','spyro','9147','3875-bn','framburg ceiling light','p5223-54wb','pled100-617','4725-05','pendant downrod','1977tz','2211','p14-250-617','leaf','8055 8 4','elk optix','3667','directional wall','kichler collections','f2565-3pcn','1661','3370','6492','545','5310','3867','sw90','1928d','bronze bath sconce','8621','lk59fsst','4913','oil rubbed bronze mirrors','2312','2002','5929-97','9929','p12ab','ceiling light fixture directional','9851bk','pud1','2 pack','preston collection','air shadow','1104','p1186htbz','kichler 1115','polished pewter','murray feiss tribeca','2402','p5759-33','murray feiss bristol vanity light','p3133-15','9113','sl8277-26','4901.36','pv004-30','8 bulb vanity','5823','magnetic low voltage dimmer','gf582','7135mrpc','broadway light','p8709-19','standing lamp','sl9121-81','4900.36','2680mroi','gf548','7662','sl8541-68','sl7583-1','p5188-615b','1855cz','591','murray feiss mini pendant','p2951-77','sl8143-63','p5700-31','p4269-77','1122','f4311-36','sl8246-41','2689mrwg','ps4rm','minka ambience lamps','progress housing','4968le-15','seeded glass','stain glass lighting','crystorama regal','3 tier chandelier','murray feiss firenze gold','sl8693-78','off white chandelier','sunlight floor lamp','kichler 1701pb','4415','outdoor landscape','9125','kichler atwood collection','kichler brockton','maxim ceiling fans','semiflush copper','8532ch9','sw46w','pled100-61','lsm-180blk','4191-15','p477-077','norah','fds1660-68','6014.13f','ls 9835','1829','2101','9044','ls-9875multi','9000','m2824-78','3613','p5438-71','5 light bar','1975tz','kichler abbeyville','fanimation fp7400','valiant','parker collection','5619-eg','3l-sn','fpk100','aspen bronze','light house','p6155-30','pendants with crystals','361','kenroy wright collection','1689','4148-15','progress directional','2165rb','5846-89','z331','3405','8923','park plaza','brass light kits','5117','5827 clpb','105','schale','7641 2','1755-148','kichler 2543prz','2725','kichler 2095ni','kichler 8109','p5047-33','ps113','candle covers','1973-90','p4126-92c','9732','8460-57','9889pb','3128','sl757-7','luverne collection','682','1121-07','pl9459','sl325','p14','4 fitter','six way floor lamp','571','5041','old iron crackle','2851','pf8602es','af4006-gmb','p6150','p3410-27','pedestal','path','p5178-084','p3621-62','princess chandelier','shelves','4800.01','p4213-88','stafford','jessica mcclintock ceiling lights','p5741-31','f2281 6 3brb','p4107-02','9456-12','p429-084','p5458-86','p3806-09','9095','3508ol','3130cdse','9125pr3','modern outdoor wall sconces','schale sconce','monte carlo fitter','3 bulbs 100 watt','maxim 8016','9847rt','chrome vanity','murray feiss torchiere','05-1343','6293','maxim 8012','polished brass floor lamp','sl 7420-1','2424','minka aire gauguin','101-1bl','4061bl','3685olz','p5581-40','614','8511-pn','pamplona collection','8212-78l','1672bk','corbett karma','craftmade z325','6272clpb','8 light','vale collection','999','7116-1wlc','3073-194','mc5b178','pt8407','2683mroi','3023cdbz','cr320','maxim bronze','1952-66','murray feiss baton rouge','2373','9751mrd','7301','2680','623','p7273-35','craftmade aluminum collection post light','1357','colored lens','7740','7943 4','4806su','152bn-wl5d','murray feiss floor lamps','p5540-33','craftmade z320','craftmade z254','chambord collection','bathroom finishes','mc13bs','7116-ba2lc','1051rp','3500-27','chili lights','p9105-31','7916-68','p5562','5633','3176-85','117b02','p3876-30','p3875-09','5843mrwt','4927agz','porcelina','2421mrwg','p3877','5840mrsn','140-1es','p4416','5118','minka lavery recessed','bpd1a','varaluz rain','504p','5530 wall sconce','3189','p7200-30','p7120-30','1525-15','5348','3440-08','maxim 3189','magnetic transformer','maxim moda','16','p3757-09','9439pb','2225-38','b5082sbz','maxim semi flush','b544s','9505','2659wskb','127-3brz-z14-6','840-38','4809-sr','p7062-09','5129','1207','100-1s-bn','153brz-d16-1','100-3pd-bn','8002','1603','5097','2 light bath light','santiago','2130pz','minka f702','1103-05','1102-05','crystorama primrose','b3002fbz','brass light bars','minka lavery 1001','c4275','4201','floor lamps retro','victorian ceiling light','2404 3','941-tb','1575ble','4001 3aq','9722','5962 3','chocolate chrome','2503-27','5275','426-1m','1274vk','4662','7246-89','2354','fm341fsv','pg5013','7262-89','mc6793m','9790-68','marrakesh','934','4942','4271-91','contours collection','2123icpc','sl9424-78','casablanca cottage','bronze lamp','1957','maxim westport','seed','cf702','crystorama 645','starters','canyon slate kichler','manitoba','murray feiss bernadette','p5501','cordele','x715','2691-90','maxim south bend collection','crystals for chandeliers','3629','1401-55','p5653-33','5 trim','pl8296-78l','minka concept fan','p3406-09','feiss sonoma','craftmade 7123','cm-4','2362-55','pa56','f2615 12htbz','martinsville collection','progress lighting p5512','9319-es','medford lakes','8080','fm303','p363-1-637','8014mrpb','p2610-44','3496wgob','8601rbz','f2265 8','4010','9011-06','bcd9005','chandelier wall sconce','prairie rings','5315mbz','492','1659','p1121gis','5221-3','5ce52oc','universal flush mount light fixture','feiss sonoma lighting','9120-68','ch1515w-bk','5221 2','pl8014-63l','2909','maxim dover','8108-01','maxim vanity','f2218-3wal','5855ltsn','5222-2','pl8692-18l','p8066','2402 6','fh115-8','1140','2652mrkb','m 2414-78','1332','2396','6097clpe','5846mrac','5845mrac','701-2-wm14','p6157-30','5844mrpe','5844mrcs','p740','5846mrpe','p3474','m1503','5845mrpe','f1938','5846wsoi','fkt1012wsoi','8952','pl5204-7','6097clbu','5845mrpb','117-12','p5432-10','7760','p485-1','5by52rb','1013ch','2631ob','1690kz','b3002','cry079','cord hung','2294sck','maxim taliesin','polipo','2 1 4 fitter','1913','canton','marchesa collection','floral wall sconces','2261','8027','p5678','pipe','8106-91','9815','10 flush mount','3551','2305-90','paramount','p4015','2658wskb','2685mroi','p3027-74','p5046-077','p5144-077','109-63','p5984','p5924','p3029-74','p3972-1-077','pt8754tb','progress lighting madison','pewter table lamp','8827-64','8129ag5','f5354','5634','7651-29','8136ag4','9027-89','crystorama 805','9469oz','8381','p9123-28','8021-08','1873-37','p5775-31','500-1sw','ps3','p3575-10','0600','2294','506','9885oz','peyton collection','5420cm','p2744','p7119-57','9032','3420wgob','3138cdse','5482','portola','progress lighting p5071-09','8541','754-62','570-4','5424cm','6340tz','p7263-30eb','4395.57','p3663','56 ceiling fan','314-3c-bn','p7109-30','1533','3317pb','1372-60','9655','8981-ba4bri','4351-67','6092','1010-1s','2056-02','1006','2950','5scr60','p6162','2935','7605','314f-bn','pewter pendants','2671mrbz','m5266-7','2151-34','progress westport','6 inch','5582','4904ble-05','8602rbz','p2964-58','maxim carriage house','9771spt','5163-eb-cl-mwp','2981','p4328-09','2152','f5178','131-red','8041 3','9645cv','murray feiss celine','mh','8 light vanity fixture','p87','7628','135','3341','4bn44','pearl','p5602-20','casablanca k164','8981-3pgrm','5138','ceiling fan for kitchen','9108-42','sl7441-78','colonial outdoor lighting','monte titano collection','p5628-46','9485-171','6702','p3347-108','1xp-1176','200-mn','6111','p440-467','5333','8711','150 watt floor lamps','2007-02','1874gbr','6233 6','5hs42','1655','52 fans','pecan chandelier','1665','5626','8529-64','110-61','6311ni','1562','par20 bulb','5404','p5642-82','p3461-75','p9626nb','5119','pineapple ceiling fan','murray feiss dakota','p5642','3131-08','p3264-09','517','1698prz','300 watt','8841ni','maxim oak harbor','cf552ges','5170bn','p5144','p4415','p4405','7616','p5744-30','p1120brb','p8516','p5487-20','5993-3','3941 1','9027-15','m 2626-7','p2864-84','124p03','p2627','143k01','p333-4s-077','p5651','p5437-31','4273','m2626-7','546','4520','528-1-wht','p7183','3724','martini glass chandelier','3405-07','p2705-75','1524','2781','9184','60 watt candelabra bulb','5ed56','1604','472-09','9532','7640','9016-66','2183 6','42 outdoor fan blades','1xp5658','family space collection','4054hobu','570-4n','maxim 2680','9830','maxim 6084clpe','3102','3711-1wcb','8529','15pl900','9326','1236','mini can bulb','maxim dover collection','8021','9099','9949','2242','f1895','6976gbr','2912','co2000','3832','f5829','cf701','2297','3870','2580-15','2934dbk','6 bath vanity fixtures','7396','101-1yw','3841.35','forecast isobar','forecast palette','mr 16','fan glass','serafina collection','4893su','4816','4891su','9238-68','3665ack','4411-185','flower shaped lights','p5721-71','1wu-1743','par38 bulb','5856ltoi','4022-85','165b04ko','fm5092ml','6132','1624 6','6610-185','6121','3026','f2057','1403oc','4105','7609','7642 3','4723-05','2374-90','2927','1623-3','9199-68','9576ligd','p5779-19','8014','6030ctz','4957-61','2749-79','parisian bronze','9651cv','maxim 8014','5523','6426','maxim 4055','p3876_20','f2538','5509','3124','fd232-53-gdeb','2697wsoi','4983-15','139x-nd3rbz','6150','ch1202w','cf787orb','p8011-60','5049ni','15t','ch1901','ps7','2410-34','4484-38','1530-15','8322-17','6711','6408oz','3415bkz','3118omc','2292ctz','2213sck','fd231b-8roeb','1322','3469cdse','7228','3611','55f','8048ni','1316','4000','207-09 dolan designs','2607ni','6105-15','5842mrac','fanimation fargo','8770-01','6163','6406oz','forecast mini pendant','forecast f1065','9712pb','9117','craftmade z316','1472-3car','8505-d5rbz','501phm','4602','1523 2','1521 2','9366','112-08','5156-ag-cl-mwp','706','cz1911','craftmade dr36','crl4','7044','9080gnt','4919ble-02','1237','2183','2372-90','3628oau','8811','2636','7034','4450.09','9962rst','cynzia','1032-05','5945-2','5713','1240','3211-185','9100azt','7136','3632','1244','2336-110','189-34','82-44','5842wsoi','4375pl','craftmade outdoor pendant light','59th street collection','642-bc','4725','1819','9719','crystorama 9505','504phm','csu52','copper and white table lamp','7947 5','p8007','p3528-60','p830tg','p333-4cc-077','p3839-102','pl8817-63l','p3135-15','5343','1544','p5848-31','1323-20','p2527-102','2181-04','6030','#3870bn','polished brass mini pendant','9077','corbett nirvana','471','9795-68','platinum lighting','p2629-93','p7206','9135','9672','9725-68','cfdr5dbz','8327','2707wh','p4008','p3406-20','2774','progress cylinder','570-1b-a','570-1b','8414','1697prz','55','1613-ml','8815-12','2259-148','4051hobu','44 fan','5612 91','2476 2','p6160-09','pl06','p4571-80','p4018-084','3425','p5764','8286-08','9369cmb','4120 pw','6049','c-4176','4308','1504','c4333','3799brl','c4994','8578-63','4176','calais collection','10 light chandeliers','238-va','6084clpe','c7501','5lnr52','1150-60','144-15w-sf','4372','8601','6094','5skr52','9197-68','5077 2','crystorama pendant','p2904-40','126m01','5052cm','110-3bl','3230rg','8934hwas','#2071-78','2312-90','5277','1109-03','7229','1896rk','paxton','pl12','5056-97','5885','6196','2226 hinkley','p5056-134','1225-34','4188nb','8534','8118ag2','041','6118agvm3','p5078','3711-nd3cb','cm9012ac','p-4310-46','pl20','9030 2','0300','9653','9252bk','3428wgob','p8745','p5294-50','p8730','craftmade builders collection','8023','7158-ba3rbz','craftmade x211','9234-40','9025dco','5358','camden hall','1472 3','5hm52','7700','15pr1200ss','5410ac','1144ol','punkah','craftmade uh42','1260-11','p5643-30','1839','5841mrtw','6014.51','1564','2334','2049','5234-dr-amber','8041irbu','1472bk','3433-09','6670-02','3792','177w03','803ch','4734','6806','9450','2480 6 3','5134agvm9','4693sr','6012olz','1820rb','8880-08','7116-9lc','p2792-102','9025 6','p85-tg','1500-60','p3009','progress riverside','783','9374-98','2452 3','7637 5','3028cdbz','p4581','murray feiss f2478','9654','p5025-084','9510','1026','2640-211','centaurus','m5612-62','4191cl','9792-68','clay','p3517-30','204-09','1813-ag','9820','4207-07','4413','p5684','9006exom','5400','9908ob','pl24','p5149-20t','1282-60','pap','5vc','1jt-4301','3432.13','casia','princess fan','9971oz','1961','cheshire','p5493','p5464','maxim accessories','copenhaven','719','6151cl','3155','6303avb','m5115-66','2373-06','m2646-40','craftmade harper collection','7128','5118agvm3','p5108','2556ap','5140','p7234-88eb','8882','9127pr5','3020cdbz','182b04','4297','m2007-1','m1734-1','4 light chandelier','2550-66','3468cdse','2139ni','6055','531-2es','19','2715','2472 3','3051-758','4511','7051 1','9151','1503ph','3125-07','music light','craftmade 103','4421.53','maxim south park','5254','cfdr3orb','4155-61','0900','001-ts','p1176','8561-56','1tc-4301','6158','progress millstone sconce','314-4v-ch','4442-pc','2478','p3136','p4113-81','p5845-10','3769-17','7645-68','3523-78','1jh-4897','1bc-1664','p5261-33','2632','2447','p406-2-077','craftmade door chime','5464','p5644-31','2138','7071-31','2093-133','1037','4126','8425','pl18','4272-91','2567','9211','2581 1','6160sn','1eh-1510','4588fb','maxim fan lighting kit','p7085-174ebwb','p5602','825fg','301mp-ap','7074','1158','3636','73-53','2531-31','8836','3093','4453','cf700pb','9201','2130rvn','minka napoli ii','cf702orb','pepita lamp','3155-61','craftmade bbl52','570-1b-mt','1121','2121pz','p6145','craftmade 5th avenue','152bn-wl12','craftmade z6104','cst01','p3261-08','5563','p4471-122','1325','5632-eg','9614','1609','32 watt circline bulb','3282clab','progress p5644','p8066-20','c7885','2997 1','7225','m2052','sl8861','p4582','7656','3934ob','2738mrsn','cf3600orh','1871','clarinda','8819 2','progress veranda','p2744-102','1472-3','8846-85','3259tzg','1770','sl320-12','mc182','mc98','p461','p5070','camouflage fan','124p09l','p5975-88','p7087','cndl-8764-14-ambr-mblk','cfm','sl8526-1','800-60','p7186-30eb','p7312-30','steel flush mount','3 tier','por-8924','cecile','chanson','cw40','1785-192','7135','cfdr6orb','9519','8056-71','shd87fg','cdu206','4171vz','5893','pg200','8251','p3430-33','framburg 2031','p3515-81','pecan','m2271-22','4637tb','5392','3709oi','5517','fm277brb','1555cb','p5986','p413-077','1010-16','3220','100-3p-mb','p4020-57','p4919-30','4860.97','p7216','2110','3416','p3347-09','p3034','9830agz','findlay 2404','4522vr','p10-101-b','5554','p7250-09ebwb','4071.28','4073.28','save your marriage wall light','4258-91','4548rb','402f','murray feiss el nido','4919-30','sonneman 1622.25','5941 3','p205-084','maxim 2657','2550','1548','power feed','1931rb','9707','2846-81','p5814-30','3763','metal fans','f1686-36','2571','fm253 ats','minka aire uchiwa','f2528','2993 3','9961mgl','minka aire napoli ii','p9528-603','9056','1502bz','9104-68','2685mrsn','p6137-09a','3849ni','3186','6019','9778','1714','3306olz','9138-114','4325-68','5lcr52fb','2421cb','p5829-87','5402ni','46 ceiling fan','9347oz','1237at-15','4406','p720-2-634','p185-tg','p5081','murray feiss sunset','p3252-44','9566fg','p603-1-615b','302mp','6005-ba3rbz','p8696','214-09','p3072-10','6620','9557agz','maxim empress','4028s','3578 6 3','5170','summer breeze plus','p2770-101','metal bell','murray feiss butler collection','4011','1610-55','p2832-80','4188-91','murray feiss medallion','5271','fq8314','p2953-84','fenwick','6209-pw','4826','502-1fr','9829','p8666-31','pelham 2201','murray feiss 1486','2296-90','1713tz','sl9425-7','4373pl','paloma wall sconce','2 1 4 glass','7124cs','2748','5430-11','9150','8063-9bus','p2732-81','8013-91','4394.57','murray feiss kala','f4356-35','m2205-78','5803ch','2099-133','5751-89','5476','501phm-pm','sl7060-78','f4505-36e1','5771','safara','p3689-04','syzygy','2699mroi','5wn52rbd','fal-1265w','2181 3','four up light nickel chandelier','sl9489-63','p3689-15','9777goc','5430','9005','6181','m5668-1','145-18w-sf','findlay 2401','0912','9306','3650-2','48 ceiling fan','p5703','5371-02','5595','3612.35','3890-d5gb','2123pz','framburg h-uschen','pewter fan','matching sets','2289mt','1561ar','4520vr','4400-gr','cf930orb','p8562-31','3314tzg','m2220-63','27th street nickel','minka aire f598-wh','1jt-4513','2851-20','f2245 3','f2558 21mcr','2474','p273-084','8116','p14-232','1486','5545ol','m2202-80','p732','murray feiss hallie','minka air patina','5062ni','f2489','mc5b190','1666','5189-02','4300ol','1320bk','1934ctz','2065-226','fph21','c4fl','progress lighting wall control','2425 3','6737','maxim 1092-bk','1419bk','1039bk','2773-13','murray kelham','p5216','m2212','monarch z-lite','p5691-68','1607','p5985-19eb','scb52','5636','p5694-68','claro','maxim 2123','8008wh','7420','8033','cozumel gold sconces','camargo','1595bz','conico','1699','385-ac','p2924-81','mw5009go','4188-07','2775svgb','9157','chetwyn','p4358-1-077','formal lamps','p8076-10','190-1-bk-g10gr','f4654','clifton','p10-165','4893','110-3wh','p3688-09','4963','8243-85','1514 reef collection in victorian bronze','144-6t-sf','pg201-cvr','craftmade aztec','pc1500','murray feiss colin','cone lamps','1608bsg','334htbz','6291','p3645-10','3034.13','5706','2500bk','2062','1476','5146-63','1190sn','1jt','3871','8044','5162bn','4810-aw','cndl','p704-077','5169olz','4045','p7093','caisd2a','fan3890-4lkt-gb','framburg 2100','1189','1577','140brz-gmsbrz','3661-32','1476 6 3-jas','1005wt','sv217','1281-91','2502-ob','9094-55','8606-9rbz','forecast blush','p5011','ps 1','190-1-bk','3-blade fan','4649','4865-05','f1979 2pbr','5273','mont-tremblant','3682-47','5 blade ceiling fan','framburg 9305','f8440','1486-hb','1674bk','1420ai','7802','1860rb','bm30','597','078-tb-19','p3414','mq5103','6127-58','sonneman 4355.13','1350','4480-58','sonneman 3031','f2234','f1682-36','9427oz','mc188','sl7493-78','6175','3364ab','5213-02','5633-eg','sl8422-1','2561-91','f819-stw','1xp-7198','progress lighting savannah collection','9372cmb','perth','4104-90','9535','1xp-1779','9676oz','4192clcs','9767lz','9806tzg','courtyard collection','9073bbz','5673ob','9894lz','9538rz','9359ld','078-tb','3987pl','p8720-31','9140','f584bibn','sl8015','p402-43-084','8935hwas','9855','7462-38','1144-87','murray feiss 2476','p7537-31wb','st james','2726mrtg','1620','cf452bs','53-06','p231-084','c30gh','0150tr','177','3722.35','9360','2274','9128agz','b9501hb','2574','p4374-87','cocoa ceiling fan','1967','9485-962','1399rbz','1472-3jas','3813','m2581','2415','p2521-77','c102l','2313','5178','773-34','sl7443','1097','b96crm','4090ri','pg4216','fb1840-36','9102-06','p4359','4228','connector lighting','3193','1732ai','f745','2374as','1393-ob','9966dcb','2216tzg','metal table fan','9038','3810cst','4360-67','2680mrwt','4576kz','8259-46','p266','9724','f6077','4117-42','1027bk','3139-61','418','silver patina sconce','4536-75','9825','2454cb','sl8911','220','5987cz','3402.04','901mp-bac','701mp','8210-64','3401.04','3046.38','1599bs','2376as','9649cv','1282','1068aw','c4347','8911cs','3682','4738','4354','2705bkz','3830','murray feiss f1879','marlo','4704vk','8818 3','sl4942','columbiana','3038','ch106-18','9066gnt','2178pb','p4147-84','chrome fans','3714','5782cm','5105-07','p3849-77wb','8015mroi','1071cleb','framburg 7998','3105ob','p629-084','progress lighting p4020-30','9133','p2832-102','150brz','p3437-120','1xp-5297','1204','p6115-077','1202','1201','feiss pub','5856ltcs','2418ni','3401','4567at','801','6354','f4505','8912cs','3857','p2610-09','6632','2396 5','p5789-30','montrose collection','craftmade 9135pr4','4482','por 8931','p5759','5972','4483-38','5662cz','167-sn-red','7202-42','p3473-15','2636ob','4151-04','4074-4rbz','1325bk','progress lighting p3690','5de52rb','f546','p1178obz brb','p294-00-634','mahogany crackle','1xc','p8103-084','3518.28','3079','4541rb','4649-94','1001bk','p3806-33','mm5008bg','maxim 7643','8976','p1082lbr','p4074-55','4113','p5908-20','9047','2091-133','f2297 3bk','3161','3422lbz','manderfield','144-18bk-sf','polished brass and white fan','sable crackle','silouette','f2568','5920','2650-09','2852eg','5803','f2263 6fg','frd12tr','36-22','3045-5','m3128-23','5003','sl7258-1','2243-09','417','7221-9ar','4146bb','feather boom wall lamp','3752','207-09','100 watt ceiling fan','5278','15t4-box','bridgehampton','8606-cn9rbz','forecast avenue','3404.04','f9817sbz','p3300-15','5523cdpt','cf3300','9256','9812dco','81-44','maxim olympia','5919','p3375-10','190-3-gm-g1','9325fg','1974','1602mb','cf452ges','5832ftsn','catholic','2436-34','4430','8085','167-sn-wh','25 watt','7050 1','concrete ceiling','m2024','pv005-74','p5768-33','3875','p2643-20','4408','p13ab','8173','36 satin nickel downrod','100mp-mb','9559ld','4123','9494-15','9041-42','3364','3557cz','8219-35','majestic square collection','ml 184','5283ri','5911-68','p3287-20','3604-32','6242-4','5162-63','m5615-7','8408','9907buse','5725','murray feiss f2403','5310 hinkley','f4321-35','110brz-gm12','1622 1','3800bn','4164-91','6144','f2585 6 3htbz','1734-167','1871-66','819','2547-54','f1676fbk','1312','1591-20','5420-84','1672 kichler chandelier','messina collection','2589sumo','metal chandeliers','4074-3rbz','4075mc','p5642-20','1tc-4775','p4035-084','1510 1','1857','1198-357','maxim spectra','2688mrcs','1245mn','midnight waltz','5990sn','6095-ba4gp','6170-56','6771-301','9867agz','mc200','8410','9533','2965ps','3701ol','9845cv','5326gl','4517','murray feiss ol5700','f4407','m5251-40','6005sfrbz','2681mroi','1850-wt1rt','1756','7050oz','4259ob','1679 ap','688-14','9652cv','m 2007-1','fx-1890','5325gl','p8082','p4007-86','1929 rk','5325','3766ni','p5946-84','5199','8923-66','p2875-112','2293ctz','minka gf814','641-bc','p5875-31eb','8261','4344ru','28-74','2532-15','8111-42','4754','5365','1743mm','p5650-33','517-64','9066','5302-02','cl1265','p7034-20wb','3857cz','1et-4201','fal-0945w','4842w','2128pz','1766-211','5874pl','montpellier','#5810 gr','864-84-pl','#5840 vr','5856ltbe','1692brl','8286-61','9904','framburg 8525','1735-ai','4243','9172-164','ch980mbx','p8745-09','6604-72','4108-71','489','4106-29','2260 ap','p5910-80','3wb-7570','bay shore','22-33','9833 dbk','6970','4262','9714astb','craftmade z7054-63','1335');
/* $Revision: 6883 $
 *
 */

if(typeof(_sli_init )!='object'){var _sli_init=new Array();}
if(typeof(sli_init )!='function'){function sli_init(){ for(var x=0;x<_sli_init.length;x++) _sli_init[x]();}}
if(typeof(asPhrases)!='object'){ var asPhrases = new Array(); }
if(typeof(__SLI_customisations)!='object'){var __SLI_customisations = new Object();}
if(typeof(__SLI_ClientDefaults)!='object'){ var __SLI_ClientDefaults=[]; }
if(typeof(__SLI_validSearchBoxes)!='object'){ var __SLI_validSearchBoxes = new Array(); }
if(typeof(__SLI_asug_used_flag)!='object'){ var __SLI_asug_used_flag = false; }
if(typeof(__SLI_width)!='object'){ var __SLI_width = 0; }
if(typeof(sli_targeturl)!='object'){ var sli_targeturl = ""; }


    __AutoComplete = new Object(); //namespace...
    __AutoComplete_mouseMoved=false;

    // Basic UA detection
    isIE = document.all ? true : false;
    isGecko = navigator.userAgent.toLowerCase().indexOf('gecko') != -1;
    isOpera = navigator.userAgent.toLowerCase().indexOf('opera') != -1;

    /* defaults and options */

    var __SLI_ApplicationName = 'AutoSuggest';
        __SLI_customisations[ 'AutoSuggest' ] =
                {
                    'ShowBrandingFooter' : true
                    ,
                    'TextBoxIDPrefix' : 'sli_search_'
                    ,
                    'BrandingFooterImagePath' : 'http://assets.resultspage.com/autosuggest/sli_systems-powered_150_15.gif'
                    ,
                    'BrandingFooterTitleTooltip' : 'AutoSuggest Powered by SLI Systems'
                    ,
                    'DropListMinWidth' : 150
                    ,
                    'MaxListItems' : 10
                    ,
                    'Alignment' : true
                    ,
                    'TextBoxIDCustom' : []
                    ,
                    'ValidSearchBoxes' : false 
                    ,
                    'IE6SelectBox' : false 
                    ,
                    'IE6SelectBoxPadding' : 0
                    ,
                    'TargetURL' : ''
                    ,
                    'IframeAlignment' : false
                    ,
                    'AlignmentBorderBug' : false
                    ,
                    'IE6OnFocus' : false
                };
    /* 0 = keyname, 1 = value */
    for( defaultValuePair in __SLI_ClientDefaults )
    {
        __SLI_customisations[__SLI_ApplicationName][__SLI_ClientDefaults[defaultValuePair][0]]=__SLI_ClientDefaults[defaultValuePair][1];
    }

    /* pre-fetch branding footer image if being used...
     */
    if( __SLI_customisations[ __SLI_ApplicationName ][ 'ShowBrandingFooter' ] )
    {
        
        if(location.protocol == "https:")
        {
            __SLI_customisations[ __SLI_ApplicationName ][ 'BrandingFooterImagePath' ] = __SLI_customisations[ __SLI_ApplicationName ][ 'BrandingFooterImagePath' ].replace(/http:/i, 'https:');
        }
    
        var __AutoCompleteBranding = new Image();
        __AutoCompleteBranding.src=__SLI_customisations[ __SLI_ApplicationName ][ 'BrandingFooterImagePath' ];
    }


    function AutoComplete_init()
    {
        if(!isOpera)
        {
            var oldonresize=function(){};
            if(typeof(window.onresize)=='function')
                oldonresize = window.onresize;//play nicely with other people's toys
            window.onresize= function(){ oldonresize(); AutoComplete_HideAll(); AutoComplete_Create( asPhrases ); }

            AutoComplete_Create( asPhrases );
            
            var els = document.getElementsByTagName('input');
            if(els)
            {
               for ( i = 0; i < els.length; i++ )
               {
                  if(els[i].name == "asug")
                  {
                     els[i].disabled = true;
                  }
               }
            }
        }
    }




    /**
    * Attachs the autocomplete object to a form element. Sets
    * onkeypress event on the form element.
    *
    * @param string formElement Name of form element to attach to
    * @param array  data        Array of strings of which to use as the autocomplete data
    */
    //function AutoComplete_Create (id, data)
    /*
     * iterate over 'sli_search_*' assumes one or more search boxes numbered from 1...
    */
    function AutoComplete_Create( data )
    {
        var idx=1, e, id, searchBoxPrefix=__SLI_customisations[ __SLI_ApplicationName ][ 'TextBoxIDPrefix' ];
        while( e = document.getElementById(searchBoxPrefix+idx) )
        {
            AutoComplete_AttachHandlers(e, data);
            if( __SLI_customisations[ __SLI_ApplicationName ][ 'ValidSearchBoxes' ] )
            {
                __SLI_validSearchBoxes.push(searchBoxPrefix+idx);
            }
            idx++;
        }
        
        
        //this array comes from the customised list
        var otherTextBoxIdList = __SLI_customisations[ __SLI_ApplicationName ][ 'TextBoxIDCustom' ];
        if( otherTextBoxIdList)
        {
            for(idx=0;idx<otherTextBoxIdList.length;idx++)
            {
                e = document.getElementById(otherTextBoxIdList[idx]);
                if(e)
				{
					if( __SLI_customisations[ __SLI_ApplicationName ][ 'ValidSearchBoxes' ] )
                	{
	                    __SLI_validSearchBoxes.push( otherTextBoxIdList[idx] );
                	}
					AutoComplete_AttachHandlers(e, data);
				}
            }
        }
        
    } 

    function AutoComplete_AttachHandlers(e, data){
        var iframe,id;
        id=e.id;


        __AutoComplete[id] = {'data':data,
                              'isVisible':false,
                              'element':document.getElementById(id),
                              'dropdown':null,
                              'highlighted':null};

        __AutoComplete[id]['element'].setAttribute('autocomplete', 'off');
        __AutoComplete[id]['element'].onkeydown = function(e) {if (!e) e = window.event; return AutoComplete_KeyDown(this.getAttribute('id'), e);}
        __AutoComplete[id]['element'].onkeyup = function(e) {if (!e) e = window.event; return AutoComplete_KeyUp(this.getAttribute('id'), e);}
        // The function call on the next line was changed by Andrew Grieve April 2008
        __AutoComplete[id]['element'].onkeypress = function(e) {if (!e) e = window.event; return AutoComplete_KeyPress(this.getAttribute('id'), e);}
        __AutoComplete[id]['element'].onclick = function(e)
        {
            if( __SLI_customisations[ __SLI_ApplicationName ][ 'IE6OnFocus' ] )
            {
                __AutoComplete[id]['element'].focus();
            }
            if (!e) e = window.event; e.cancelBubble = true; e.returnValue = false;
        }



        // Hides the dropdowns when document clicked
        var docClick = function()
        {
            if( __SLI_customisations[ __SLI_ApplicationName ][ 'ValidSearchBoxes' ] )
            {
               for(var i=0; i < __SLI_validSearchBoxes.length; i++)
               {
                   if(document.getElementById(__SLI_validSearchBoxes[i]))
                   {
                       AutoComplete_HideDropdown(__SLI_validSearchBoxes[i]);
                   }
               }
            }
            else
            {
                for (id in __AutoComplete)
                {
                   AutoComplete_HideDropdown(id);
                }
            }
        }

        if (document.addEventListener) {
            document.addEventListener('click', docClick, false);
        } else if (document.attachEvent) {
            document.attachEvent('onclick', docClick, false);
        }


        // Max number of items shown at once
        if (arguments[2] != null) {
            __AutoComplete[id]['maxitems'] = arguments[2];
            __AutoComplete[id]['firstItemShowing'] = 0;
            __AutoComplete[id]['lastItemShowing'] = arguments[2] - 1;
        }

        AutoComplete_CreateDropdown(id);

        // Prevent select dropdowns showing thru
        if (isIE) {
            iframe = document.createElement('iframe');
            __AutoComplete[id]['iframe'] = iframe;
                iframe.id = id +'_iframe';
                iframe.style.position = 'absolute';
                iframe.style.top = '0';
                iframe.style.left = '0';
                iframe.style.width = '0px';
                iframe.style.height = '0px';
                iframe.style.zIndex = '98';
                iframe.style.visibility = 'hidden';
                
                if(location.protocol == "https:")
                {
                   iframe.src = 'https://assets.resultspage.com/autosuggest/blank.html';
                }
                
                if( __SLI_customisations[ __SLI_ApplicationName ][ 'IE6SelectBox' ] )
                {
                  iframe.style.width = __SLI_width  + __SLI_customisations[ __SLI_ApplicationName ][ 'IE6SelectBoxPadding'];
                }

            if( __SLI_customisations[ __SLI_ApplicationName ][ 'IframeAlignment' ] )
            {
                document.body.insertBefore( iframe );
            }
            else
            {
                __AutoComplete[id]['element'].parentNode.insertBefore( iframe, __AutoComplete[id]['element'] );
            }
        }
    }

    /**
    * Creates the dropdown layer
    *
    * @param string id The form elements id. Used to identify the correct dropdown.
    */
    function AutoComplete_CreateDropdown(id)
    {
        var theSearchbox = __AutoComplete[id]['element'];
        var theDropDown;
        var left_top = AutoComplete_getPos( theSearchbox );
        var left  = left_top[0];
        var top   = left_top[1] + theSearchbox.offsetHeight;
        var width = theSearchbox.offsetWidth;

        if ( width < __SLI_customisations[ __SLI_ApplicationName ][ 'DropListMinWidth' ] )
        {
            width = __SLI_customisations[ __SLI_ApplicationName ][ 'DropListMinWidth' ];
        }

        theDropDown = document.createElement('div');
        theDropDown.className = 'autocomplete'; // Don't use setAttribute()


        if(__SLI_customisations[ __SLI_ApplicationName ][ 'Alignment' ] == true && document.body)
        {
            theDropDown.style.position = 'absolute';
            document.body.insertBefore(theDropDown, document.body.nextSibling);
            
            // Position it
            theDropDown.style.visibility = 'hidden';
            theDropDown.style.left       = left + 'px';
            theDropDown.style.top        = top + 'px';
            theDropDown.style.width      = width + 'px';
            theDropDown.style.zIndex     = '99999';
        }
        else if(__SLI_customisations[ __SLI_ApplicationName ][ 'Alignment' ] == "offsetrelative" && document.body)
        {
          theSearchbox.parentNode.insertBefore(theDropDown, theSearchbox);
          // Position it
          if(sli_getStyle(theSearchbox.offsetParent, 'position') != "absolute")
          {
            theSearchbox.offsetParent.style.position = 'relative';
          }
          theDropDown.style.position = 'absolute';
          theDropDown.style.left = (theSearchbox.offsetLeft) + 'px';
          theDropDown.style.top = (theSearchbox.offsetTop + theSearchbox.offsetHeight) + 'px';
          if ( theSearchbox.clientWidth < __SLI_customisations[ __SLI_ApplicationName ][ 'DropListMinWidth' ] )
          {
            theDropDown.style.width = __SLI_customisations[ __SLI_ApplicationName ][ 'DropListMinWidth' ];
          }
          else
          {
            theDropDown.style.width = (theSearchbox.clientWidth) + 'px';
          }
          theDropDown.style.visibility = 'hidden';
          theDropDown.style.zIndex     = '99999999';
        }
        else
        {
            theSearchbox.parentNode.insertBefore(theDropDown, theSearchbox);
            // Position it
            theDropDown.style.visibility = 'hidden';
            theDropDown.style.left       = left + 'px';
            theDropDown.style.top        = top + 'px';
            theDropDown.style.width      = width + 'px';
            theDropDown.style.zIndex     = '99999';
        }
        

        __AutoComplete[id]['dropdown'] = theDropDown;
        __SLI_width = width;
    }

    function /* array [ left, top ] */ AutoComplete_getPos( obj )
    {
        var curleft = curtop = 0;
        var sli_flag = 0;

        if (obj.offsetParent)
        {
           do
           {
              if ( __SLI_customisations[ __SLI_ApplicationName ][ 'AlignmentBorderBug' ] )
              {         
                
                if(sli_flag == 1)
                {
                    var clientTop = (obj.offsetHeight - obj.clientHeight) / 2;
                    curtop += clientTop;

                    var clientLeft = (obj.offsetWidth - obj.clientWidth) / 2;
                    curleft += clientLeft;
                }
                sli_flag = 1;
              }
           
              curleft += obj.offsetLeft;
              curtop += obj.offsetTop;
           }
           while (obj = obj.offsetParent);
        }
        return [curleft,curtop];
    }

    /**
    * Shows the dropdown layer
    *
    * @param string id The form elements id. Used to identify the correct dropdown.
    */
    function AutoComplete_ShowDropdown(id)
    {

        AutoComplete_HideAll();



        var value = __AutoComplete[id]['element'].value;
        var toDisplay = new Array();
        var newDiv    = null;
        var text      = null;
        var numItems  = __AutoComplete[id]['dropdown'].childNodes.length;

        __AutoComplete_mouseMoved=false;
        // SLI Code Modification - Start - Andrew Grieve April 08
        // Trim the textbox so that if is starts with a space then the feature will still work
        //value = value.replace(/^\s+|\s+$/g,"");
        value = value.replace(/^\s+/g,"");

        if(value.length == "")
        {
            // If Textbox length is nothing (after the trim) then don't show dropdown.
            return;
        }
        // SLI Code Modification - End

        // Remove all child nodes from dropdown
        while (__AutoComplete[id]['dropdown'].childNodes.length > 0) {
            __AutoComplete[id]['dropdown'].removeChild(__AutoComplete[id]['dropdown'].childNodes[0]);
        }


        var count=0;
        // Go thru data searching for matches
        for (i=0; i<__AutoComplete[id]['data'].length; ++i)
        {
            // SLI Code Modification - Start - Andrew Grieve April 08 - Added lower casing
            if (__AutoComplete[id]['data'][i].substr(0, value.length).toLowerCase() == value.toLowerCase())
            {
                // SLI Code Modification - End
                toDisplay[toDisplay.length] = __AutoComplete[id]['data'][i];
                count++;
                /* how many to display? */
                if(count == __SLI_customisations['AutoSuggest']['MaxListItems'] ) /* Code inserted to keep list to a maximum of 10 values (was 20 or 30) */
                {
                    break;
                }
            }
        }

        // No matches?
        if (toDisplay.length == 0) {
            AutoComplete_HideDropdown(id);
            return;
        }



        // Add data to the dropdown layer
        for (i=0; i<toDisplay.length; ++i) {
            newDiv = document.createElement('div');
            newDiv.className = 'autocomplete_item'; // Don't use setAttribute()
            newDiv.setAttribute('id', 'autocomplete_item_' + i);
            newDiv.setAttribute('index', i);
            newDiv.style.zIndex = '99999';

             // Scrollbars are on display ?
            if (toDisplay.length > __AutoComplete[id]['maxitems'] && navigator.userAgent.indexOf('MSIE') == -1) {
                newDiv.style.width = __AutoComplete[id]['element'].offsetWidth - 22 + 'px';
            }

            newDiv.onmouseover =
        function()
        {
            if( __AutoComplete_mouseMoved )
                AutoComplete_HighlightItem(__AutoComplete[id]['element'].getAttribute('id'), this.getAttribute('index'));
        };

            newDiv.onclick     =    function()
                                    {
                                    	  __SLI_asug_used_flag = true;
                                                                           
                                        AutoComplete_SetValue(__AutoComplete[id]['element'].getAttribute('id'));
                                        AutoComplete_HideDropdown(__AutoComplete[id]['element'].getAttribute('id'));
                                        AutoComplete_submitForm(id);
                                    }



            text   = document.createTextNode(toDisplay[i]);
            newDiv.appendChild(text);
            newDiv.title='Search for ' + toDisplay[i];

            /* ellipsis for IE only */
            if( isIE )
            {
                newDiv.style.textOverflow = 'ellipsis';
                newDiv.style.width = '100%';
                newDiv.style.whiteSpace = 'nowrap';
                newDiv.style.overflow = 'hidden';

            }
            __AutoComplete[id]['dropdown'].appendChild(newDiv);
        }
        /*
         * append DIV containing footer branding...
         */
        if(__SLI_customisations['AutoSuggest']['ShowBrandingFooter'])
        {
            i = toDisplay.length;
            newDiv = document.createElement('div');
            newDiv.className = 'autocomplete_footer'; // Don't use setAttribute()
            newDiv.setAttribute('id', 'autocomplete_item_' + i);
            newDiv.setAttribute('index', i);
            newDiv.style.zIndex = '99999';
            newDiv.innerHTML = '<a href="http://www.sli-systems.com/powered-by.php" title="' +
                                __SLI_customisations[ __SLI_ApplicationName ][ 'BrandingFooterTitleTooltip' ] +
                                '"><img class="autocomplete_footer_branding" src="'+__AutoCompleteBranding.src+'" /></a>';

            __AutoComplete[id]['dropdown'].appendChild(newDiv);
        }


        // Too many items?
        if (toDisplay.length > __AutoComplete[id]['maxitems']) {
            __AutoComplete[id]['dropdown'].style.height = (__AutoComplete[id]['maxitems'] * 15) + 2 + 'px';

        } else {
            __AutoComplete[id]['dropdown'].style.height = '';
        }


        /**
        * Set left/top in case of document movement/scroll/window resize etc
        */
        if(__SLI_customisations[ __SLI_ApplicationName ][ 'Alignment' ] == "true" || __SLI_customisations[ __SLI_ApplicationName ][ 'Alignment' ] == "false")
        {
            var left_top = AutoComplete_getPos( __AutoComplete[id]['element'] );
            __AutoComplete[id]['dropdown'].style.left = left_top[0];
            __AutoComplete[id]['dropdown'].style.top  = left_top[1] + __AutoComplete[id]['element'].offsetHeight;
        }


        // Show the iframe for IE
        if (isIE) {
            
            if(!__SLI_customisations[ __SLI_ApplicationName ][ 'Alignment' ] == true)
            {
               __AutoComplete[id]['iframe'].style.width  = __AutoComplete[id]['dropdown'].offsetWidth;
            }
            
            
            __AutoComplete[id]['iframe'].style.top    = __AutoComplete[id]['dropdown'].style.top;
            __AutoComplete[id]['iframe'].style.left   = __AutoComplete[id]['dropdown'].style.left;
            __AutoComplete[id]['iframe'].style.height = __AutoComplete[id]['dropdown'].offsetHeight;

            __AutoComplete[id]['iframe'].style.visibility = 'visible';
        }

    e =  __AutoComplete[id]['dropdown'];

    e.onmousemove =
        function()
        {
            if(!__AutoComplete_mouseMoved){__AutoComplete_mouseMoved=true;}
            this.onmousemove = null;
        }

        // Show dropdown
        if (!__AutoComplete[id]['isVisible']) {
            __AutoComplete[id]['dropdown'].style.visibility = 'visible';
            __AutoComplete[id]['isVisible'] = true;
        }


        // If now showing less items than before, reset the highlighted value
        if (__AutoComplete[id]['dropdown'].childNodes.length != numItems) {
            __AutoComplete[id]['highlighted'] = null;
        }
    }



    /**
    * Hides the dropdown layer
    *
    * @param string id The form elements id. Used to identify the correct dropdown.
    */
    function AutoComplete_HideDropdown(id)
    {
        if (__AutoComplete[id]['iframe'])
        {
            __AutoComplete[id]['iframe'].style.visibility = 'hidden';
        }
        
        if (__AutoComplete[id]['dropdown'])
        {
            __AutoComplete[id]['dropdown'].style.visibility = 'hidden';
        }

        __AutoComplete[id]['highlighted'] = null;
        __AutoComplete[id]['isVisible']   = false;
    }


    /**
    * Hides all dropdowns
    */
    function AutoComplete_HideAll()
    {
         if( __SLI_customisations[ __SLI_ApplicationName ][ 'ValidSearchBoxes' ] )
         {
               for(var i=0; i < __SLI_validSearchBoxes.length; i++)
               {
                   if(document.getElementById(__SLI_validSearchBoxes[i]))
                   {
                       AutoComplete_HideDropdown(__SLI_validSearchBoxes[i]);
                   }
               }
         }
         else
         {
                for (id in __AutoComplete)
                {
                   AutoComplete_HideDropdown(id);
                }
         }
    }


    /**
    * Highlights a specific item
    *
    * @param string id    The form elements id. Used to identify the correct dropdown.
    * @param int    index The index of the element in the dropdown to highlight
    */
    function AutoComplete_HighlightItem(id, index) // mouseover, index is the list element index, zero-based
    {
        if (__AutoComplete[id]['dropdown'].childNodes[index]) {
            for (var i=0; i<__AutoComplete[id]['dropdown'].childNodes.length; ++i) {
                if (__AutoComplete[id]['dropdown'].childNodes[i].className == 'autocomplete_item_highlighted') {
                    __AutoComplete[id]['dropdown'].childNodes[i].className = 'autocomplete_item';
                }
            }

            __AutoComplete[id]['dropdown'].childNodes[index].className = 'autocomplete_item_highlighted';
            __AutoComplete[id]['highlighted'] = index;

            //also see below...
            //__AutoComplete[id]['element'].value = __AutoComplete[id]['dropdown'].childNodes[index].innerHTML;
            //AutoComplete_SetValue(id);
        }
    }


    /**
    * Highlights the menu item with the given index
    *
    * @param string id    The form elements id. Used to identify the correct dropdown.
    * @param int    index The index of the element in the dropdown to highlight
    */
    function AutoComplete_Highlight(id, index) // keyboard up/down - index is the direction of travel, 1==down,-1=up
    {
        var childNodes = __AutoComplete[id]['dropdown'].childNodes;
        if(childNodes.length)
        {
	        var lastItem = ( ( childNodes[ childNodes.length - 1 ].className != 'autocomplete_footer' ) ? childNodes.length - 1 : childNodes.length - 2 );

            // Out of bounds checking
            //if (index == 1 && __AutoComplete[id]['highlighted'] == __AutoComplete[id]['dropdown'].childNodes.length - 1) {
            if (index == 1 && __AutoComplete[id]['highlighted'] == lastItem ) {
                childNodes[__AutoComplete[id]['highlighted']].className = 'autocomplete_item';
                __AutoComplete[id]['highlighted'] = null;

            } else if (index == -1 && __AutoComplete[id]['highlighted'] == 0) {
                childNodes[0].className = 'autocomplete_item';
                __AutoComplete[id]['highlighted'] = lastItem;
                index = 0;//hack!
            }

            // Nothing highlighted at the moment
            if (__AutoComplete[id]['highlighted'] == null) {

                childNodes[0].className = 'autocomplete_item_highlighted';
                __AutoComplete[id]['highlighted'] = 0;
                newIndex = 0;
                
            } else {

                if (childNodes[__AutoComplete[id]['highlighted']]) {
                
                    childNodes[__AutoComplete[id]['highlighted']].className = 'autocomplete_item';
                }

                var newIndex = parseInt( __AutoComplete[id]['highlighted'] ) + parseInt(index);

                if (childNodes[newIndex]) {

                    childNodes[newIndex].className = 'autocomplete_item_highlighted';

                    __AutoComplete[id]['highlighted'] = newIndex;
                }
            }

            //populate textbox with currently highlighted term...
            //__AutoComplete[id]['element'].value = __AutoComplete[id]['dropdown'].childNodes[newIndex].innerHTML;
            AutoComplete_SetValue(id);
        }
    }


    /**
    * Sets the input to a given value
    *
    * @param string id    The form elements id. Used to identify the correct dropdown.
    */
    function AutoComplete_SetValue(id)
    {
        __AutoComplete[id]['element'].value = __AutoComplete[id]['dropdown'].childNodes[__AutoComplete[id]['highlighted']].innerHTML.replace(/&amp;/, "&");
    }


    /**
    * Checks if the dropdown needs scrolling
    *
    * @param string id    The form elements id. Used to identify the correct dropdown.
    */
    function AutoComplete_ScrollCheck(id)
    {
        // Scroll down, or wrapping around from scroll up
        if (__AutoComplete[id]['highlighted'] > __AutoComplete[id]['lastItemShowing']) {
            __AutoComplete[id]['firstItemShowing'] = __AutoComplete[id]['highlighted'] - (__AutoComplete[id]['maxitems'] - 1);
            __AutoComplete[id]['lastItemShowing']  = __AutoComplete[id]['highlighted'];
        }

        // Scroll up, or wrapping around from scroll down
        if (__AutoComplete[id]['highlighted'] < __AutoComplete[id]['firstItemShowing']) {
            __AutoComplete[id]['firstItemShowing'] = __AutoComplete[id]['highlighted'];
            __AutoComplete[id]['lastItemShowing']  = __AutoComplete[id]['highlighted'] + (__AutoComplete[id]['maxitems'] - 1);
        }

        __AutoComplete[id]['dropdown'].scrollTop = __AutoComplete[id]['firstItemShowing'] * 15;
    }


    /**
    * Function which handles the keypress event
    *
    * @param string id    The form elements id. Used to identify the correct dropdown.
    */
    function AutoComplete_KeyDown(id, e)
    {
        var result = true;

       var event;
       event = e;
       if(!event) event = window.event;

        var keyCode = event.keyCode;

        switch (keyCode) {

            // Return/Enter
            case 13:
                if (__AutoComplete[id]['highlighted'] != null) {
                    AutoComplete_SetValue(id);
                    AutoComplete_HideDropdown(id);
					
                    __SLI_asug_used_flag = true;
					
                    if( e = __AutoComplete[id]['element'].form['asug'] )
                    {
                        
                        e.disabled=false;
                        e.value = __AutoComplete[id]['asug'];
                    }

                }

                result = AutoComplete_submitForm(id);

                break;

            // Escape
            case 27:
                AutoComplete_HideDropdown(id);
                event.returnValue = false;
                event.cancelBubble = true;
                break;

            // Up arrow
            case 38:
                if (!__AutoComplete[id]['isVisible']) {
                    AutoComplete_ShowDropdown(id);
                }

                AutoComplete_Highlight(id, -1);
                AutoComplete_ScrollCheck(id, -1);
                
                if( e = __AutoComplete[id]['element'].form['asug'] )
                {
                   e.disabled=false;
                   e.value = __AutoComplete[id]['asug'];
                }

                                
                result = false;
                break;

            // Tab
            case 9:
                if (__AutoComplete[id]['isVisible']) {
                    AutoComplete_HideDropdown(id);
                }
                return;

            // Down arrow
            case 40:

                if (!__AutoComplete[id]['isVisible']) {
                    AutoComplete_ShowDropdown(id);
                }

                AutoComplete_Highlight(id, 1);
                //AutoComplete_ScrollCheck(id, 1);

                if( e = __AutoComplete[id]['element'].form['asug'] )
                {
                   e.disabled=false;
                   e.value = __AutoComplete[id]['asug'];
                }

                result = false;
                break;
        }
        return result;
    }


    /**
    * Function which handles the keyup event
    *
    * @param string id    The form elements id. Used to identify the correct dropdown.
    */
    function AutoComplete_KeyUp(id, e)
    {
       var event;
       event = e;
       if(!event) event = window.event;

        var keyCode = event.keyCode;

        switch (keyCode) {
            case 13:
                event.returnValue = false;
                event.cancelBubble = true;
                
                break;

            case 27:
                AutoComplete_HideDropdown(id);
                event.returnValue = false;
                event.cancelBubble = true;
                break;

            case 38:
            case 40:
                return false;
                break;

            default:
                AutoComplete_ShowDropdown(id);
                
                __AutoComplete[id]['asug']=__AutoComplete[id]['element'].value;

                if( e = __AutoComplete[id]['element'].form['asug'] )
                {
                   e.disabled=true;
                   e.value = "";
                }  
                
                break;
        }
    }

    /**
    * Function which handles the keypress event
    * This function added April 2008 by Andrew Grieve
    *
    * @param string id    The form elements id. Used to identify the correct dropdown.
    */

    // SLI Code Modification - Start - Andrew Grieve April 08
    function AutoComplete_KeyPress(id, e)
    {
        var event = e;
        if(!event) event = window.event;
        var keyCode = event.keyCode;

        if (keyCode == 13 && isGecko || isOpera)
        {
            return false;
        }
        
        if( __SLI_customisations[ __SLI_ApplicationName ][ 'TargetURL' ] )
        {
            if (keyCode == 13 && isIE)
            {
                return false;
            }
        }
        
    }
    // SLI Code Modification - End

    /**
    * Returns whether the dropdown is visible
    *
    * @param string id    The form elements id. Used to identify the correct dropdown.
    */
    function AutoComplete_isVisible(id)
    {
        return __AutoComplete[id]['dropdown'].style.visibility == 'visible';
    }

    function AutoComplete_submitForm(id)
    {
      var e, f, result=true;
      if( f = __AutoComplete[id]['element'].form )
      {
        if( __AutoComplete[id]['element'].value != '' )
        {
          if(__SLI_asug_used_flag == true)
          {
            if( e = f['asug'])
            {
              e.value = __AutoComplete[id]['asug'];
              e.disabled=false;
            }
          }

          if( __SLI_customisations[ __SLI_ApplicationName ][ 'TargetURL' ] )
          {
            asugvar = "";
            if(__SLI_asug_used_flag == true)
            {
              asugvar = '&asug=' + escape(__AutoComplete[id]['asug']);
            }

            sliRegex = /resultsdemo\.com/;
            if(sliRegExArray = sliRegex.exec(document.domain))
            {
              sliRegex = /^http:\/\/(.*)\//;
              sliTargetDomain = sliRegex.exec(__SLI_customisations[__SLI_ApplicationName ][ 'TargetURL' ]);
              __SLI_customisations[__SLI_ApplicationName ][ 'TargetURL' ] = __SLI_customisations[__SLI_ApplicationName ][ 'TargetURL' ].replace(sliTargetDomain[1], document.domain);
            }

            document.location.href = __SLI_customisations[__SLI_ApplicationName ][ 'TargetURL' ] + escape(__AutoComplete[id]['element'].value) + asugvar;
          }
          else
          {
            if(f.onsubmit)
            {
              if(f.onsubmit() !== false)
              {
                f.submit();
              }
            }
            else
            {
              f.submit();
            }
          }

          AutoComplete_HideAll();
        }
        else
          result = false;
      }
      return result;
    }
    
    // get the style that will be applied by the browser, including stylesheets
    function sli_getStyle(el,styleProp)
    {
      if (el.currentStyle)
        var y = el.currentStyle[styleProp];
      else if (window.getComputedStyle)
        var y = document.defaultView.getComputedStyle(el,null).getPropertyValue(styleProp);
      return y;
    }

    // register with onLoad(er...
    _sli_init.push( AutoComplete_init );
    
    function sli_addEvent(obj, evType, fn) {
    	if (obj.addEventListener) {
    		obj.addEventListener(evType, fn, false);
    		return true;
    	} else if (obj.attachEvent) {
    		var r = obj.attachEvent("on" + evType, fn);
    		return r;
    	} else {
    		return false;
    	}
    }
    
    function sli_load()
    {
    	sli_addEvent(window, 'load', sli_init);
    }
