﻿/* Popular phrases - GREENMOUNTAINCOFFEE - 16:55:57, Mon Jul 13, 2009 */
__SLI_ClientDefaults =
[
    ['UseHTTPS', true]
];
var asPhrases=new Array ('coconut island k-cup','island coconut coffee','island coconut','iced tea k cups','iced tea','coconut','island coconut kcup','island coconut k cups','blueberry','caribou k cups','coconut k cups','coconut coffee','nutritional information','k cups','espresso k cup','tea k-cups','calories in flavored coffee','breakfast blend k cups','tea','kona','hot cocoa k cups','blueberry k cup','decaf k cups','breakfast blend','coconut flavored coffee','nantucket blend k-cups','half caff k-cup','80 count kcup','kcups','tully\'s k-cups','french roast','careers','caribou','lake and lodge','hazelnut','filters','peach','kona k cups','our blend','french toast k cups','ice tea tumbler','hazelnut k cup','descale','newmans own k cups','peach k-cup','iced tea sampler','pumpkin spice k-cup','stock split','sumatran reserve k-cups','lake and lodge k cups','dark magic','ice coffee recipe','french toast coffee','rain forest nut','summer safari','our blend k cup','golden french toast k-cup','cafe escapes','green tea k-cups','recycle k cups','perfect peach','colombian fair trade select','french toast','nantucket blend','spring revival blend','iced tea cup','blueberry coffee','k-cups','mugs','hot cocoa','raspberry','hot chocolate k-cups','caramel vanilla cream k-cup','cocoa','colombian','vermont country blend k cup','k-cup tea','tea sampler','nutritional content','summer safari kcup','flavored variety k-cup sampler','iced coffee brewer','dark magic k-cups','k cup coffee','my k-cup','nantucket','french vanilla k-cups','espresso','cocoa k-cups','kenyan aa','k cup teas','island coconut k-cups','mocha nut fudge k-cups','reusable k cup','perfect peach kcup','calories','gift certificate','vermont country blend decaf','hazelnut decaf','supermarkets','nissan thermos','fair trade k cup','double black diamond extra bold','southern pecan','heifer hope blend','vermont country blend','mocha java','wild mountain blueberry k-cups','tullys','sampler pack','b140','blue mountain coffee','k-cup coconut','caffeine content','newmans','breakfast blend decaf','locations green mountain stores','french roast k cup','raspberry flavored coffee','hot chocolate','brewers','perfect iced tea cup','pumpkin','french roast decaf','seasonal k cups','chocolate raspberry truffle coffee','raspberry tea','newmans special blend','carousel','rain forest nut coffee','travel mug','available positions','decaf','decaf tea k-cups','variety','b60','b70','english breakfast tea k-cups','cinnamon cream swirl','colombian k cup','harvard blend','chai tea k-cups','french press','newmans own decaf','french vanilla','pumpkin spice coffee','wild mountain blueberry','cappuccino','pbs blend k cups','variety k-cups','sumatran','tea variety pack','jobs','national wildlife blend','espresso blend','biodegradable cups','coffee pods','peach coffee','caramel vanilla cream','raspberry coffee','chocolate','thermos','k-cup','chai','blue mountain','hazelnut coffee','rainforest nut','low acid coffee','earl grey k-cup','green tea','spring revival','peach tea','coffee mugs','donation request form','mocha','jamaican blue mountain','half caff','k cup sampler','keurig brewer','nutrition facts','nutrition','extra bold','b200','pecan','caribou coffee k cups','flavored decaf coffee','house blend','golden french toast','pottery mugs','sumatran reserve','peach iced tea','nantucket blend melange nantucket','iced coffee','southern pecan coffee','amount of caffeine','paper filters','sumatra','tour','k cup hot chocolate','organic decaf','organic k cup','mahogany','organic k-cups','cafe express','kuerig','caffeine','shipping charges','decaf k-cups','b30','decaf sampler','k cup variety','variety pack k-cups','vermont','bodum','sampler','iced','swiss water process decaf','dark chocolate k cup','decaf coffee','decaf tea','italian roast','b40','sweet tea','breville','celestial seasonings tea','keurig travel mug','chocolate raspberry coffee','keurig','tea k-cups sampler','organic french roast','house blend decaf','annual report','distribution','standard shipping','kona coffee','national wildlife k cup','tumbler','keurig carousel','pbs','sleepytime tea k-cups','k-cup recycling','newmans 80 count','espresso k-cup','my k cup adapter','summer seasonal coffee','cappuccino flavors','canister','coffee makers','platinum','pottery','mandarin orange spice tea','decaf coffee kcups','colombian decaf','fair trade','gloria jean\'s coffee','special reserve','syrup','caribou blend','coffee machine','highland sugarworks','diner mugs','harvard','safari','southern pecan k cup','daybreak morning blend','melange nantucket','t6751','pumpkin spice','keurig single cup brewer','hazelnut decaf k cup','tanzanian gombe reserve','80','island coconut coffee k cups','tullys kona','t6520','whole bean','fair trade island coconut','dezcal cleaner','summer symphony blend','donation request','pbs blend','maple syrup','dark magic decaf','t6663','gloria jeans k cups','human resources','investor information','t4066','t6700','rain forest nut k-cup','melange nantucket blend','raspberry k cup','newman\'s own extra bold','logo','heifer','peppermint tea','code of ethics','dark magic espresso blend','kenyan extra bold','our blend k-cups','autumn harvest k cup','green mountain coffee','golden french toast coffee','flavored coffee sampler','10 oz coffee mugs','insulated coffee cup','filter my k-cup reusable','express','marshmallows','regular variety','corporate donation request form','blueberry k-cups','dezcal','k-cup decaf coffee','jamaican blue mountain coffee','dark magic decaf extra bold','jason silverman mugs','tully evergreen','coffee bags','vanilla cream','colombian fair trade select k-cup','t6678','free keurig','k-cup decaf','10% kona blend','breakfast blend decaf k-cup','extra bold dark magic','k-cup sampler','affiliate','lemon zinger tea k cup','glass mug','organic house blend','positions','k-cup flavors','newman\'s own k-cup','adapter','filter 4','tanzanian','peruvian select','black tea','french vanilla decaf','seasonal tour','decaf espresso','80 count','apply online','hot cocoa nutritional information','half-caff','kenya','travel coffee mugs','t6602','caribou decaf','caramel vanilla','t6501','arabica k-cups','wild mountain blueberry coffee','vermont decaf','pumpkin k cup','80 count caribou','wildlife blend','flower pot mug','gold coffee filter','tullys french roast','vermont blend','dark variety','cinnamon','insulated mugs','donations','rainforest blend','thermal','kcup ice tea','wild blueberry','b70 platinum','k cup filter','reusable kcup','k cups green tea','backpack thermos','decaf variety','chocolate kcup','pancake','tower','half and half k cups','iced coffee k cups','t7522','special reserve coffees','manual','2008 annual report','selva negra','keurig b200','keurig single-cup brewer','milk chocolate hot cocoa k-cup','paper hot cups','change recurring','rain forest nut decaf','t6501 k-cup','t4061','mocha nut fudge','one cup coffee brewers','keurig cleaner','water process decaffeinated','extra bold variety k-cup sampler','hazelnut dark roast extra bold','marketing strategies','half','t7602','grantmaking guidelines','kenyan','guatemala','summer symphony','harvest blend','k cup sampler pack','shade grown','stacking mugs','t6502','cinnamon flavored coffee','big box','iced coffee cups','dark chocolate cocoa','t6505','my kcup','visitor\'s center','sweet ice teas','coconut kcup','t4068','keurig b30 mini brewer','mini brewer','decaf green tea','costa rican peaberry','wicked winter','breakfast','green stainless steel travel tumbler','my kcup adapter','celestial english breakfast black tea','t4060','gingerbread','mandarin orange k-cup','white tea','egg nog coffee','t6523','mexican select','caribou daybreak morning blend','southern pecan decaf','italian','variety pack','eggnog','double black diamond','k-cup variety pack','caramel vanilla decaf','t6570','chai tea','winter','granola','t6802','t4059','#4 filters','coconut coffee kcup','celestial seasonings','k-cup carousel','my k-cup adapter','milk frother','colombian fair trade','compostable cups','7','brewing a better world','nutrition label','kcup variety','teas and cocoa','peaberry','organic decaf k cups','cake','newmans extra bold','medium roast k-cups','rainforest','tea bowl','lava cake','organic espresso blend','organic hot cocoa','jamaica','autumn harvest','warranty','market share','corporate social responsibility','bold','fair trade perfect peach','summer celebration','water filter for keurig','island','keurig filter','holiday k-cup','extra bold decaf','t4000','pumpkin coffee','k cups to order','french roast decaf k cup','kcup tea','tullys kcups','k cup coffee kona','t6992','t4056','80 cup box','mild coffee','affiliate program','strategy','visitor center','credit card number','decaf caramel vanilla cream','flavored decaf','press','cleaner','dark hot chocolate','coconut flavored coffee k cups','newmans special blend k cups','iced tea mugs','vending','flavored k-cups','king arthur','extra bold k-cup','pecan k cup','tully italian roast','organic coffee and tea','sponsorship','dunkin','mini personal brewer','ethiopian yirgacheffe','vanilla k-cup','pumpkin spice k cup','storage baskets','peruvian','magic','rain forest','todd piker','returns','our blend decaf k cups','revival blend','flavored','raspberry iced tea','organic summer','clean keurig','evergreen','k-cup adapter','how to make iced coffee','signature sampler','tassimo','k cup gift baskets','costa rican','heifer hope k-cup','egg nog','extra bold variety','chasworth','double black diamond k cups','mild coffee k cups','decaf process','80 cup','almond','t6752','dark chocolate','mandarin orange spice herbal tea','kcup 80 ct','caribou mahogany','t4077','organic breakfast blend','summer','t6760','ecotainer cups','k cup french vanilla','organic sumatran reserve','howard malovany','french roast k-cup','coffee beans','heifer hope','shipping costs','t6503','sumatra k cup','cafe express club','k-cup mahogany','bpa','gluten','grounds for health','guatemalan','hat','t6994','keurig brewing system','k-cup organic','spring','faq','mexican k-cup','english breakfast black tea','extra bold sampler','bold k cups','80 count box','water filter','return policy','swiss water process','basket filters','spicy eggnog coffee','special edition','filter cartridges','b145','hot cocoa k-cups','fair trade k-cups','dark roast','t6783','product donation','hot chocolate kcups','keurig coffee','our blend decaf','sweet raspberry','dark magic coffee','newmans organic special blend','buy stock','arabica','decaf hazelnut coffee','french vanilla decaf k cup','coconut island k-cup fair trade','grinder','tea sampler pack','perfect ice tea mug','bean grinder','mild','cleaning brewer','decaf kcups','checkout','pbs k cup','basket','madison blend','eggnog k cup','diamond','stainless steel mug','cafe almond biscotti','pecan coffee','herbal tea k-cups','diedrich','guatemalan finca dos marias','k-cup adapter filter','growth strategy','jamaican','k-cup filter','chocolate coffee','board of directors','variety sampler packs','medium roast','hazelnut dark roast','espresso blend k cups','malovany','our blend coffee','coffee canister','espresso brewers','sleepytime herbal tea','mountain blueberry','direct process decaf','green coffee beans','gombe reserve','wild blueberry k cups','glass cups','keurig mug','green mountain colombian decaf','mission statement','tullys decaf','zhena','t6821','k-cup sampler pack','fair trade organic','old world hot cocoa','orange','t4067','cups mugs','cinnamon coffee','giveaways','cherry almond scone','sugar free','travel tumbler','t6570 k-cup our blend','light roast k-cups','insulated glasses','caribou sumatra','mondo','full city','flavored variety sampler','hot cocoa nutrition','dividends','coconut k-cups','extra bold hazelnut k cup','my k cup','jane goodall','tawar','cafe express platinum','flavored variety','victorian earl grey','kcup sampler','holiday blend','yemen','double diamond','biscotti','seasonal flavors','jamaica blue mountain','safari blend','coffee','commercial brewer','cleaning','sumatran lake tawar','blueberry iced coffee','fair trade organic k cups','case kcups','van houtte coffee','iced tea k-cups','www.keurig.com','financial ratio','nut decaf','social responsibility report','fair trade wild mountain blueberry','waterbury visitor center','bodum mugs','t7792','caribou blend decaf','kcup adapter','green mountain','national wildlife','t4058','regular sampler','mexican','vanilla decaf','morning','indonesian dark','t6720','president','long handle','seasonal','order','rwanda lake kivu','b50','organic sumatra','leaf mug','80 ct boxes','company purpose','caramel','newman coffee','grind','newman bold','newman decaf','k-cup caribou coffee mahogany','english','green mountain hot cocoa','my kcup filter','recipes','decaf tea cups','k cup variety sampler regular','green mountain colombian fair trade select','80 k-cups','decaf variety pack','fair trade select','bodum logo mug','caribou dark','medium roast coffee','green tea k','black tea k-cups','80 k-cup','2 oz','celestial black tea','newmans french roast','96','newmans breakfast','organic sumatra reserve','bob stiller','bold sampler','caribou sumatra decaf','jane goodall coffee','colombian fair','b-70','buy in store','green mountain sumatra','black diamond','sleepytime','flavored k cups','sign in as guest','peach k cup','capresso','web affiliate program','joyful season','t6700 caramel vanilla cream','half decaf','t6997','returning products','vanilla','espresso blend extra bold','black tea k-cup','t4051 newman\'s special decaf','logo mug','peppermint tea k-cup','earl grey','keurig brewer b3000','flor de cauca fair trade colombia special reserve','bodum coffee pot','t6503 decaf variety k-cup sampler','t6732','auto drip coffees','ceramic mugs','t7732','t4061 dark magic extra bold','b-40','organic decaf coffee','recurring','spicy egg nog coffee','nantucket coffee','perfect iced tea','revv','mango','k cup variety sampler','organic breakfast crate','breakfast blend tea','k-cup hot cocoa','kona mountain estate','medium','sumatra extra bold','tj whalen','k-cups celestial teas','coffee and donuts','return coffee','sugar free coffee','decaf breakfast tea','unsweetened black tea k-cups','lemon ice tea','maple butter','animal print mugs','lemon tea','peach flavored coffee','hazelnut cream coffee','cleancaf','guarantee','single serve','chocolate truffle','decaf beans','blueberry mountain coffee','blog','lake and lodge bean','newmans own','keurig tote','kenyan coffee','half and half','food service','t6694','split','vermont breakfast basket','quick','fair trade organic breakfast blend','peppermint','costa rica las lajas','my k-cup refill pack','kona k-cup','organic breakfast','mints','earth friendly filters','raspberry truffle','fair trade organic sampler','tully house','rwanda coffee','assorted','decaf bold','chamba','airpot','black tea k cups','reusable coffee filter assembly','address','symphony','select','starbucks','senseo','#t6502','earth friendly basket filter','fair trade organic house','regular variety k cup','mango tea','hot chocolate nutrition','earl tea','cold coffee','wild berry','nantucket medium blend','k-cup gifts','#t6503','elite b40','tully madison blend','daybreak','stackable mugs','ethiopian','nissan thermal press','breakfast blend decaf k cup','t6504','dark magic espresso blend decaf','k-cup french toast','kenyan highland cooperatives','coffee press thermos','selva','decaf green tea kcups','lemon cake','escapes','la chamba','flavored sampler','coffee cups','tully\'s house blend','keurig b60','hazelnut extra bold','nicaragua','dark magic coffee beans','k-cup tree','green tea kcup','kcup filter','french','newmans kcup','steel travel mug','kona medium','peru','corporate citizen','black ice tea','gourmet coffee','chocolate biscotti','coffe people','hot tea','chocolate coffees k-cups','old world','world cocoa','coffee thermos','blueberry coffe','employee benefits','tullys coffee','taste of vermont','halfcaff','half caff k cups','ratings','wicked winter blend','almond biscotti','legal','k-cup coffee sampler','patent','breakfast black tea','cinnamon maple butter','mountain','seattle','keurig sized travel mug','special reserve rwanda','essex','b-50','plumbed','summer safari blend','tullys italian','elite','my reusable','rwandan','organic tea','kona coffee blend','paul newman\'s own','scholarship','turkish','bodum travel press','spice tea','next k-cup','nutcracker cookies','fair trade organic heifer hope blend','k-cup our blend','scale','hot beverage cups','order confirmation','coupon mcdonalds','delayed','confirmation','highland sugarworks pure maple butters','jasmine','newman\'s bold','t6801','guatemalan mug','charcoal filter','grind and brew coffee maker','noo','chocolate sauce','travel brewer','my cup adapter','mini tote bag','rain forest coffee','office brewers','t6676','variety sampler','organic mexican blend','vermont country blend coffee','kcups newman own decaf','kcup dark magic','dark k cup','k cup storage','cream swirl','sumatran reserve kcups','rooster','fair trade organic mexican','robin\'s chocolate sauce','logo grinder','nantucket blend coffee','8 oz','french roast decaf coffee','t7694','tamper','thermal press','newman k cups','vanilla tea','cafe escapes milk chocolate k cup','tropical coconut','k-cups sampler','limited edition','t6998','extra bold espresso','chocolate lava cake','solar','coffe tour','b-30','goodall','b-60','newman\'s k cups','apple butter','order coffee','forest nut','keurig hot cocoa','mt500','buttermilk pancake','newmans own kcup','fair trade organic house blend','variety tea k-cups','caramel vanilla coffee','t6792','rwanda','mexico','#2 filters','popcorn','stacking','variety box','fair trade spring revival','golden french toast k cups','t6772','personal k cup','decaffeination process','kona blend k cup','stakeholders','green mountain k cup hot cocoa','maple coffee','electronics','cafe escapes hot cocoa','single pot size coffee','revival','dark blend','refills','10q','green tumbler','cake mix','k-cup breakfast blend','k-cup southern pecan','new','seattle coffee','seasonal flavors coffee tour','yirgacheffe','caribou colombia','dark','t6990','burr grinder','burr','office pro','cold cups','chocolate k cup coffee','our blend coffee beans','caribou morning daybreak','mayan','k-cup medium','80 kcups','strainer','my bill','how to change the filter','colombia','colombian k-cups','pumpkin coffee k-cup','gombe','stack cups','caribou decaf k cup','michael dupee','green travel mug','sustainability','dark cocoa','pancake syrup','organic breakfast blend decaf','seasonal fair trade island coconut','t6999','blade grinder','k-cup tea sampler','gingerbread k cups','tullys sumatra','green mountain decaf','breakfast decaf','caribou coffee','organic pbs','colombian kcup','organic espresso','t6752 mocha nut fudge','decaf pumpkin','ski','warm french toast','morning cup','t6824','what does fair trade mean','golden french toast k-cups','fran','newmans own french roast','tully\'s k-cups kona','muddy creek leaf mug','fair trade organic espresso blend','discount promotion','vermont country k cup','peach k-cups','50 50','swiss','csr','tully\'s evergreen','b60 manual','forest','news release','keurig mini','regular k cups sampler pack','organic vanilla cream','k cup decaf sampler','wicked winter k cup','knoxville tn','larry blanford','sap buckets','cauca','subscribe','t shirts','medium coffee','tea stick','teastick','decaffinated tea','sumatran reserve k cup','ultimate','island blend','brewer cleaner','vanilla cream coffee','order form','spicy eggnog k cups','decaf sampler k','light roast sampler pack','seasonal fair trade summer safari','decaf green tea k-cups','brittle','order k-cups','k cup adapter','green mountain coffee cups','t4000 hot cocoa k-cups','kilimanjaro coffee','press pot','colts','spresprog','wwf','newmans own organic decaf','local distributers','refillable filter','k cup rack','half caff kcup','dark roast extra bold','dark roast coffee beans','organic french roast decaf','tennessee','10 oz','caribou daybreak','trade select','kcups sampler box','glass coffee mugs','donut shop blend','k-cup basket','fair trade rainforest nut','newman\'s own decaf k-cup','medium decaf','caffe acapella bars','kcup decaf hazelnut','blanford','flor de cauca','green mountain foundation','sumatra beans','honduras','spicy egg','kona mountain','winding stream','express k cups','newman\'s special','demo','tully\'s madison blend','card','french roast coffee beans','refillable k cup','heiffer','flavored syrup','nell','spring awakening mug','kona 10','stewardship','t6991','melange','dark bold roast','k cup quick pick','lodge blend','kilimanjaro','keurig k cups','cocoa pods','plastic cups','rain forest k-cup','fair trade espresso','knoxville','eggnog spice','perfectly peach','k-cup storage baskets','nutritional information cocoa','sulawesi','variety coffee','peppermint puffs','12 months','keurig manual','caribou french roast','french roast decaf k-cup','milk bottle','summer seasonal','lake and lodge kcup','suggestions','pecan praline','fair trade organic hot cocoa','europe','heiffer hope','cecocafen','sara lee','what is organic','caribou coffe','devonshire english breakfast black tea','caribou blend coffee','the taste of a better world','b30 filter','chasworth tea bowls','daybreak morning','newmans extra bold decaf','medium roast k-cup','pick','french toast kcup','pru sullivan','bolivia','flavored sampler kcup','variety sampler regular','locations green mountain stores tennessee','keurig elite b-40 brewer','peach kcup','caribou 80','cinnamon infused','k cup dark magic','caribou coffee cup','b 200','fair trade organic espresso blend extra bold k-cup','mulled cider','how to use k-cups','maple granola','12oz','values','banana coffee','kcups variety pack','flavors of kcups','extra bold variety sampler','k-cup light roast','organic rainforest blend','southern pecan kcup','nissan thermal french press with logo','2009 holiday','about us','keurig one cup brewer','return order','insert','certified organic coffee','sport mug','keurig mini brewer','stainless steel french press','national wildlife blend fair trade organic','french roast decaf dark','k-cup variety sampler','keurig reusable filter','k-cup hazelnut dark extra bold','caribou blend k cup','bodum cups','whats a k-cup','k-cup fair trade wild mountain blueberry','caramel vanilla kcup','water filter cartridges','eileen bodum','replacement','sumatran decaf','t6792 hazelnut','blackberry','kcups newmans organics','my k cup reusable','k cup fair trade select','peanut brittle','2 filters','cc winkle','t4058 kona 10% blend extra bold','honey','return address','french press filter','store coupons','newmans own bold','gmcr diner mug','woodstock cranberry maple walnut granola','wicked','caribou k-cup','extra bold 10% kona blend','royal','tully\'s k-cups decaf','fair trade island coconut k cups','swiss water process decaf k cup','site map','mild decaf','fact sheet','enter','scott mccreary','10% kona','caribou coffee k-cups','green logo travel mug','little acidity','almond cookies','coffee coupons','zebra mugs','sweet coffee','water reservoir','spicy eggnog kcups','k cup coffee medium','organic bold','coffee beverages recipes','dark hot cocoa','island coffee','madison','foundation','devonshire','kcup caramel','k cup swiss water','new products','shopping center','flavor coffee sampler kcup','light decaf','mild coffee k-cups','amount of caffeine in decaf','k cup nutritional information','manzanillo mugs','assorted k cups','list','flavored k-cup sampler pack','coffe flavors','k-cup refill pack','cherries mug','cranberry','earth','stainless steel coffee press','french vanilla kcup','paradise coconut','k cup patent','capresso filter','creamy coconut','coffee cream','point of purchase material','sports','ceramic travel mug','flavored organic k-cup coffee','k-cup dark magic extra bold','double certified','drink recipes','shaving','celebes','quarterly report','kflle','tea variety box','b-30 keurig','lazaris','trial coffee','new account','kcup wild blueberry','coffe scoop','extra bold intense dark magic','i want to place an order','special reserve bolivian chijchipani','c store','health insurance offerings','water tank','temperature','coffe machine','environmental statement','express order','lids','k cup evergreen','10-q','thriving workplace','k cup coffee sampler','reusable cup','single creamers','organic breakfast coffee','extra bold 10% kona coffee blend','ed canty','manzanillo','k cup tea variety','dark chocolate kcup','#t6501','culture','k-cup patent number','q2 earnings','earnings','what are kcups','cocoa gluten','filter my k cup reusable','environmental protection agency','k-cup bold sampler','keurig company','manufacturing','coffee soda','limited edition the perfect peach','tully madison','cocoa sampler','gift packs','dark magic k-cup','newman\'s own k','caramel vanilla nut','keurig b-60','kcup refill','nicholas lazaris','vermont regular','keurig water filter','k cup summer','at home','our blend regular light roast','measuring spoon','k-cup fair trade espresso blend extra bold','chocolate syrup','caribou kcups','lb','vinegar','black tea decaf k-cup','de caf k cup','t-6503','caribou coffee daybreak','zhena black tea','extra bold k-cup sampler','caribou blend k-cup','fair trade guatemala','k cup variety sampler tea','legend','caribou k-cups','k cup variety sampler extra bold','k-cup flavored sampler','where\'s my order','colt\'s bella bark','wicked winter k-cup','french vanilla nutrition','maple sap bucket','white mug','my k-cup for keurig brewing','espresso k','rare','organic k','milk chocolate hot chocolate','smooth','mccreary','k-cups tea tea','kcup delivery','making iced coffee','caribou coffee sumatra','keurig my k cup','k-cup regular variety','kcup tea sampler','benefits wages','k-cup fair trade organic sumatran reserve','k-cup variety sampler regular','k cup accessories','green mountain coffee tully\'s','dark magic sampler','domestic grant','fair trade french toast','gourmet single cup','how many sales per day','artificial sweetener','day','mail business','keurig accessories','keurig adapter','gourmet single cup home brewing system','caribou coffee beans','flavored coffee variety pack','caribou blend decaf k-cup','decaf african','number of k cups in a box','sunrise','coffee variety k-cups','environmental management system','about our company','special reserve rwandan','brooks','coffe of the month','decaf k','coffee adapter','all teas','#6 coffee cone filters','pastry','signature mocha java','customer survey','keurig single cup','spring mug','to-go cups','natural wildlife','quality statement','capresso burr grinder','capresso thermal mt500','french vanilla flavored coffee','vermont plant','tea category','keurig coffee club','keurig-sized','kivu','caribou dark roast','keurig sale','k-cup filter pack','k-cup flavored coffee sampler','crazy','plant engineering','k cup packs','james','earnings call','nasdaq gmcr','industrial brewers','objectives','discrimination','coffee essentials gift','love my keurig','competition','matching gift','opportunities','warmer','keurig my k cup filter','keurig k-cup','e-commerce','differentiate','other drinks','k-cup caribou coffee colombian','problems','decaf bagged coffee','conventional','fair trade organic espresso','assorted flavor k-cup','colombia k cup','fair trade k-cups pumpkin','how to buy office','my k-cup reusable','green tea nutrition','become a wholesaler','quality control','my-kcup','decaf keurig coffee','kcup coffee filter','k-cup coffe','management\'s report on 2008','coffee gifts','blueberry syrup','lake land','k-cup reusable coffee filter','value chain','mountain blend','organic decaf breakfast','critics rating','keurig my k-cup reusable coffee filter','#2','keurig b-70','organic coffee beans','fair trade island coconut coffee','black mug','briefcase','fair trade organic decaffeinated','powder','partnership in safety','letter of intent','coffee growing countries','spice coffee','keurig samplers','reusable shopping bag','black coffee','kraft','report on the financial statements','k-cup tour','supplier diversity','citrus','clay coffee mugs','chalk mug','pumpkin flavored coffee','flle','renewable','funding','kcup tour','my k filter','swiss process','see my order','2008 report','vinegar descale keurig','k cup sugar free','salary','caribou coffee daybreak morning blend','k-cup caribou french roast','logo nissan mug','hurricane','k-cup caribou colombian','grade b','@gmcr.com','in stores','fair trade wicked winter blend','kcup reusable filter','coffee school','organic decaf tea','coffee tamper','rex','net income','k cup lazy susan','k-cups basket','issues of financial statements','fair trade organic colombian','seasonal trade','t-4000','k kcup tea','2008 financial report','t-6802','kcup accessories','green k-cups','organic peru','k-cup accessories','coffee points','k-cup caribou coffee caribou blend decaf','k-cup breakfast tea','use promotion code','all hot chocolate','out of stock','k-cup refil','t-6720','coffee assortments','k cup bold sampler','garden','hot coffee','k carousel','medium organic k cups','working hours','full','preferences','medium amber','annual meeting','english breakfast tea kcup','reservoir','kcup 60 pack','scott','half cup','pumpkin spice beans','t-7602','magazine','whip','operations','t-7792','brand management','t-6783','ceylon tea','realization','drizzle','t-6732','serenity green tea','dark decaf k','number 4 filter','t-6694','bistro','caribou blend natural decaf coffee','biddeford maine','t-6502','t-4059','independent accountants','k-cup flavored tea','caribou flavored coffee','dp','stickers','k kcup samplers','healthy','16 oz coffee mug','mill','organic coffee blueberry','atlanta','coffee press by bodum','company governance','keurig cocoa','current news','partner with us','k cup wicked winter blend extra bold','leadership','keurig b30 personal brew','green mountain paper cups','cake up','stainless steel scoop','sap','michael thompson','french toast k','keurig tree','knit','extra bold variety pack','in my area','my pack','bird coffee','#t6504','k cup order form','coffee by the bag','bold french vanilla','caramel french vanilla','white filters','son','ethnic','k cup coffee newmans','kenyan cooperatives','kcup variety tea sampler','magic bold decaf','nonorganic','j cup','#t6003','organic dark','profile','dan mug','rain forest nut calories','french roast sampler','dark roast sumatran','fair trade dark roast','decaf cocoa','keurig k cup filter','workplace diversity','using k cups','about cafe express','keurig flavors','kcup extra bold sampler','fair trade organic better world cocoa','my-k','web','vermont syrup','k-cup environmental','removable 48-oz water reservoir','fair trade c','k cup nutrition','flavored variety k-cups','great place to work','island trade','hold','coffee accessories','hot c','888-try-gmcr','keurig reservoir','k cup ejection','keurig reusable','fairtrade gingerbread','keurig kona','40','k-cup single filter','build','k-cup box','k cup teas coffee','k cup coffee club','k cup travel mug','keurig one cup','k-cup mandarin orange spice tea','k cup coffee bold','k-cup coupon','keurig gold cup','grade k cup double chocolate hot cocoa','wakefield','keurig folgers','decaf single','k cup mugs','tea gift','newman k-cup decaf','no longer','dillons','keurig variety pack','management practice','smoked coffee','organic decaffeinated','fair tradepumpkin spice','organic coffee k cup decaf','treats of the month','coffee and tea basket','keurig b-40','patty','giraffe mug','t-6501','coffeemakers cleaner','raspberry syrup','keurig 60','scraffito','k packs','2005 report','c c winkle','flavored creams','vegetarian','bodum 2 oz mug','super automatic','organic basket','pennsylvania','t-4060','600','flavored c cups','kcup black tea','oaxaca coffee','asphalt road mix','coffee market','2007 csr report','lace cookies','k-cup tea lemon','french vanilla k','k cup coffee eggnog','k cup coffee breakfast blend','puffs','keurig decaf','k cup bold flavored variety','meaning of fair trade','fair trade blueberry','exxon','dark k-cup','controller','poetry','k-cup coffee tree','green k cup','aids','k-cup assorted flavor sampler','k-cup variety tea','aroma','pecan bark','coffee hazelnut k-cups','k cup teas lemon','keurig 100','disaster relief','are k cups recyclable','holiday teas','dutch chocolate','keurig one cup coffee makers','organic certification','not my order','hazelnut cups','sustainable decaf','fair trade 2007','doka','the new keurig classic single-cup brewer','terms and conditions','consumer','insurance','wooden','case study','togo cups','statement cash flows','hunger','keurig for the office','10 cup espresso maker','coffee strength','myorder','flowered coffee mugs','woburn','keurig single-cup commercial brewer','pbsblend','labor employment','political','long','driving jobs','policy on employee misconduct','k cup coffee extra bold','united nation','green mountain ground','6 oz','fair trade act','k-cup assorted sampler','2006 profit','crunch','snack','genetically','trip','k-cup products','choker','inquiry','tapestry blend dark','apricot coffee','ph level','fair trade organic summer symphony blend','extra blend','aramark','fair trade organic toasted almond','cow','pairings','coffee caffeine content','bio','fair trade sales','green and black mugs','organic coffee at work','keurig single coffee maker','oxygen bleached filters','vermont country blend tea decaf','la voz que clama en el desierto','5% donation','longo','organic bean','organic coffee sampler','cd','coffeereview','k cup biodegradable','sunsethill stoneware','not for profit','2004 annual report','newmans on','renewable energy','organic symphony','beliefs','resources','jordan\'s shortbread cookies','stomach','latin');
/* $Revision: 3658 $
 *
 */

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' : 'deriveUrl'
                    ,
                    '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' ] == "plumbworld" && document.body)
        {
            theSearchbox.parentNode.insertBefore(theDropDown, theSearchbox);
            // Position it
            theDropDown.offsetParent.style.position = 'relative';
            theDropDown.style.position = 'absolute';
            theDropDown.style.left = (theSearchbox.offsetLeft) + 'px';
            theDropDown.style.top = (theSearchbox.offsetTop + theSearchbox.offsetHeight) + 'px';
            theDropDown.style.width = (theSearchbox.clientWidth) + 'px';
            theDropDown.style.visibility = 'hidden';
            theDropDown.style.zIndex     = '99999';
        }
        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' ] )
                {
                /* Default logic
                	asugvar = "";
                	if(__SLI_asug_used_flag == true)
                	{
                	  asugvar = '&asug=' + __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' ] + __AutoComplete[id]['element'].value + asugvar;
                }
                else
                {
                	f.submit();
                }
                */
                /*Custom logic, wirtten by C2 */
                var shopParam;
                GMCR.createSearchUrl(shopParam);
                AutoComplete_HideAll();
              }
            }
            else
                result = false;
        }
        return result;
    }

    // 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);
    }