/* Popular phrases - UFCSTORE - 11:41:41, Sat Jan 28, 2012 */
__SLI_ClientDefaults =
[
    ['ShowBrandingFooter', false ],
    ['Alignment', true ],
    ['TextBoxIDCustom', ['w'] ]
];
var asPhrases=new Array ('pride','gloves','posters','shoes','tapout','jon jones','anderson silva','chael sonnen','brock lesnar','nick diaz','belts','bad boy','ufc 139','affliction','gsp','cain velasquez','ufc 137','urijah faber','hoodies','action figures','georges st-pierre','tapout t shirts','wallet','vitor belfort','dan henderson','frank mir','toys','shorts','bj penn','magazine','rashad evans','junior dos santos','ufc belts','dvd','lyoto machida','championship belts','pride t-shirts','wec','forrest griffin','shogun','hats','ufc 141','nick diaz t shirt','ufc 140','wanderlei silva','chuck liddell','dan hardy','diego sanchez','carlos condit','frankie edgar','tuf','ufc 142','dethrone','punch buddies','anderson silva shirts','jason mayhem miller','hand wraps','bruce lee','replica belts','ufc action figures','deathclutch','jersey','sonnen','machida','matt hughes','necklace','badboy','sherpa','tap out','ufc','ufc 138','walkout shirts','ufc 137 dvd','rampage jackson','clay guida','ufc undisputed 3','beanie','autograph poster','lesnar','ufc posters','tapout hoodies','dominick cruz','thiago alves','michael bisping','mayhem miller','games','silver star','silva','shogun rua','autograph','jon jones t shirt','george st pierre','arianny celeste','tito ortiz','backpack','ufc magazine','anderson silva poster','chad mendes','ufc gloves','affliction t-shirt','jackets','bisping','overeem','cain','ufc 136','round 5','pride hoodie','jason miller','randy couture','ultimate fight collection','form','pants','title belts','fathead','diaz','ufc 139 dvd','ultimate fighter jersey','nate diaz','tuf 14','book','death clutch','bad boy shorts','george st pierre t shirts','josh koscheck','arianny','mirko cro cop','shane carwin','mayhem','ufc 129','punching bags','thermal','ultimate fighter','fox','belfort','compression','brazil','shirts','shogun rua shirt','faber','junior dos santos t shirts','ufc on fox','vitor belfort t shirt','rich franklin','training shoes','replica championship belts','tapout shorts','cain velasquez t-shirts','rampage','pride gloves','fighting gloves','xxxl t shirts','139','caps','dos santos','gsp affliction shirt','team gsp','american fighter','fight shorts','pride fc','bags','figures','ufc hats','bad boy shirts','henderson','warrior international','walk out shirts','form athletics','ben henderson','mens hoodies','tapout thermals','nick diaz shirt','ufc game','ufc dvd','tap out t-shirts','chris leben','gsp poster','jon jones walkout shirt','jones','sherpa hoodie','condit','bikini','encyclopedia','chuck liddell action figure','chuck liddell shirts','heavy bag','ufc rio','mexico','cardboard standups','chael sonnen t shirts','replica','ufc 135','mouth guard','pride sherpa hoodie','evans','bad boy clothing','cardboard stand','women','fight club membership','koscheck','shogun t shirts','car','vitor','phil davis','warrior','mma elite','cup','jump rope','mauricio rua','jim miller','weighted training gear','miller','dethrone royalty','chuck liddell clothing','ufc necklace','xxxl','affliction georges st-pierre','compression shorts','event posters','program','gym bag','stephan bonnar','lyoto machida shirt','ufc 134','minotauro nogueira','137','frank mir t shirt','mats','octagon necklace','ufc 128','silverstar','couture','pride hat','ufc championship belts','tapout hats','urijah faber poster','womens sweatshirt','brock lesnar ufc 141 shirt','myogrid','kids gloves','mma shorts','ufc sherpa hoodie','pride t shirt','best of 2011','thermal shirt','hughes','the ultimate fighter 14','aim','ufc shoes','shin guards','ufc hoodie','cerrone','anderson silva dvd','kimbo slice','st pierre','ufc 141 poster','best of','signed','ufc encyclopedia','wec poster','iron star','141','ultimate fighter 14','gsp shorts','cage fighter','throwdown','rua','velasquez','chael sonnen shirts','chuck liddell shorts','mens v neck','rio','royce gracie','brock lesnar action figure','belt buckle','fight for the troops','gsp action figure','brock','bad boy hoodie','speed bag','john jones','ufc replica championship belt','frank mir action figure','weighted vest','ufc 3','iceman','ufc 132','140','rampage jackson t-shirts','anderson','urijah faber shirts','v neck','octagon','xxxl shirts','long sleeve','gsp t-shirts','dummy','nate diaz shirts','tapout shirts','jon jones action figure','canada','wanderlei','ufc on fox 2','liddell','ufc 129 dvd','ufc trainer','camo shirt','membership','jon jones shirt','full zip hoodie','lyoto machida poster','keychain','tshirts xl','jon fitch','training equipment','thiago silva','bad boy shogun','mexico jersey','flag','shaker cup','rash guard','brazil t-shirt','ufc training shoes','matt hughes dvd','frank mir t-shirts','ufc octagon necklace','pat barry','toronto','weights','affliction gsp','ufc 100','infant','champion belt','championship','mug','t-shirts','ufc 126','138','ufc toys','xxxl hoodie','arianny t-shirts','mauricio shogun rua','ufc 140 dvd','ufc 1','compression tops','penn','wall hanging','mexican shirts','best of pride','dos santos t shirt','ufc glasses','mir','ufc octagon','fight club','top out t-shirt','xbox','corduroy wallet','ufc 124','randy couture affliction','jones shirt','supplements','board shorts','best fights of 2011','bad','ufc t shirts','bj penn shirts','jewelry','decals','affliction shirts','baby clothes','camo','warrior shirt','usa','bj','jakks','training gloves','xtreme couture','blu ray','car seat covers','jon bones jones','mendes','fitted hats','mma hoodies','sonnen 117','walkout','jon jones clothing','urijah','pride shirt','cutout','equipment','junior dos santos t-shirt','tank tops','randy couture t-shirts','tapout xxxl','dvd 2011','lion','undisputed 3','ufc baby clothes','ufc camo t-shirt','hitch','mexico pride','underwear','coffee mug','ufc knockouts','machida t-shirt','v neck t shirts','womens hoodie','bones','brock lesnar autograph','john jones shirt','polo','chael','ufc 129 poster','gsp shirt','team mayhem','the ultimate fighter season 13','muay thai','celeste','xxl hoodie','tap out hoodie','ufc t','pride dvd','ultimate fight collection 2011','tito','ufc 125','lyoto','t-shirt','property of ufc t-shirt','st-pierre','punishment','tuf 12','ps3','workout pants','chuck','ortiz','gracie','weighted gear','jones vs machida','weighted gloves','coat','stickers','mouthguards','henley','brock lesnar figure','bj penn vs nick diaz','purple sherpa','fight night','throwdown t-shirt','women xxxl','video games','womens sherpa hoodie','we are live','mexican pride','form jon jones','mma gloves','anderson silva ufc 126','ufc 118','back pack','ufc 131','floor mats','134','long sleeve rash guard','chuck liddell t shirts','chuck lidell','womens sherpa','cards','kids','sweatshirt','ufc patch beanie','vest','matt serra','ufc undisputed 2010','forrest griffin dvd','hatch tshirt','tapout jacket','pride sherpa','pride belt','titans','mma training bag','hatch','frank mir shirt','club membership','ufc big gloves','season 13','100 greatest fight moments','deluxe action figure','baby','fedor emelianenko','ufc 141 programs','shin','big gloves','melvin guillard','jon jones t-shirt','junior dos santos shorts','womens xxl shirts','ufc 59','dana white','ufc beanie','brittney palmer','ultimate collection','lucky strike jacket','affliction georges st-pierre gsp micro t-shirt','global','phil davis walkout shirt','sinful by affliction','edgar vs maynard','protein','rashad','2011','jersey\'s','key','takedown softshell jacket black','ufc bracelets','shogun rua 113','nick diaz t-shirt','94','kid tees','edgar','ufc wristbands','knockouts','ufc sherpa','tuf 13 lesnar','ufc 133 dvd','cowboy cerrone','mexican t shirt','red','marilyn','fighting gear','houston','new jersey','heavy','ufc 126 dvd','ufc shirt','ufc on fox t-shirt','suit','heart of a lion','ufc 117','henderson vs shogun','ufc 127 poster','best of 2010','tapout t-shirts','clay guida shirt','demian maia','pride jersey','139 dvd','kimbo','signed posters','brian bowles','water bottle','gift card','keith jardine','timber','club','best of 2009','blu','custom mouth guards','pride fighting dvd','n','ufc wanderlei silva deluxe action figure','workout shoes','personalized','ufc 133','sam stout','bad boy shogun ufc 139','shaker','cro cop','cage logo t-shirt','ufc undisputed','gsp autograph','119','snapback','3xl t-shirts','promo code','lithograph','ufc fight club membership','lesnar shirts','submission','onesie','tapout brotherhood thermal','bader','pendant','ufc best of 2011 dvd','the ultimate fighter season 14','fight posters','ufc on versus','tuf tshirts','jose','team dos santos','boardshorts','ufc bag','jon bones','ufc 103','ufc 90','ultimate','ufc wallet','store locations','pads','chicago','torres','velazquez','basic training','new magazine','bill','constitution','boxing','long sleeve shirts','chain','136','ufc replica belts','personal trainer','forest griffin','muay thai t shirt','ufc training glove','gsp walkout shirt','tito ortiz 140 walkout shirt','tito ortiz t-shirts','randy couture american hero t-shirt','ufc 44','wec sherpa hoodie','faber shirt','fitch','randy','toy belts','chuck liddell sweat shirts','ultimate knockouts','ufc 141 dvd','pride posters','santos','randy couture shirt','newark','striate','lyoto machida shorts','tapout eminent','patch','pride 33','anaheim','saved by the bell','news','comforter','jon jones shorts','mouth','137 dvd','chris leben poster','ricco rodriguez','denim','opus','aldo vs faber','ken shamrock poster','chuck liddell poster','towel','ornament','womens shirts','bad boy walkout zip hoodie','xtreme','brock lesnar shirt','ryan bader','bracelet','ufc on fox shirt','munoz','top out','anderson silva action figure','bad boy sweatshirt','rampage jackson action figure','thiago','kids hoodies','114','ufc 134 poster','collector series','deathclutch brock lesnar ufc 141 redemption walkout t-shirt','snap back hats','cain v','junior vs cain','kids shirts','videogames','team lesnar jersey','dvd box set','tap','dethrone cain velasquez','tapout checkmate','jon jones walkout','tap out shirts','florian','tuf necklace','anderson the spider silva','ufc pants','133','tapout baby','penn diaz','pride fighting','pride final conflict 2003','red sherpa','chuck liddell tee shirt','folding mat','red shirt','anderson silva t-shirt','ufc 127','xxl shirts','tank','brian stann','costumes','cain velasquez poster','cipher','round 5 mma action figures','mma t shirts','training dvd','ufc 83','sydney','ufc 141 walkout shirt','seat covers','ultimate fighter dvd','ultimate fighter season 2','xxxl tshirts','mens shirts','ufc convict full zip hoodie','buddies','toddler','fight collection','bj penn poster','pride shorts','american custom','st pierre vs shields','mens jewelry','collectibles','rhinestone','tapout beanie','off the shoulder','machida poster','rush','ufc deluxe action figure','purple jacket','flag t shirts','rivera','fight hard','pride shockwave 2006','john hathaway','american t shirt','nashville','ufc cubed t-shirt','tribute to the troops','troops shirt','red gloves','urijah faber shorts','ufc fox','wii','spider silva','bones jones','ultimate 100','tapout warmonger t-shirt','flannel','hardy','ultimate iceman chuck liddell dvd','set','joe lauzon','tuf 13','guida','ufc ultimate fight collection','ufc best of 2011','matt hughes clothing','mens sherpa','training books','womans shirts','junior dos santos figure','bad boy capo','cain velasquez shorts','england','greatest hits','warcrest','mexico hats','jake','ufc brands','rampage jackson t shirts','kongo','luiz cane','tuf 13 dvd','autographed gsp poster','elite shirt','behind the scenes','miami','ultimate fighter season dvd','wheel cover','gear bags','mixed martial arts','kickboxing','ufc octagon hat','training vest','beanie hats','ufc video game','workout gear','japan','ufc 140 walkout shirts','team velasquez','womens tshirts','mens pants','beach towel','velasquez t-shirt','cowboy','track jacket','matt hamill','ufc practice glove','griffin','ufc aim long sleeve','ufc aim long sleeve compression top','sherpa hoodie black','ufc heroes tshirt','box set','chuck liddell figure','california kid','frank shamrock','fight night 25','download fights','ultimate knockouts 9 dvd','ultimate fighter collection','the ultimate dvd collection','tapout disdain full zip fleece hoodie','gray maynard','tap out long sleeve t-shirts','convict','team lesnar','mens sherpa hoodie','ufc t-shirt','ufc brazil','wec replica belt','ufc 86','pullover hoodies','gsp dvd','machida shorts','xxxl mens','ufc 53','104','lesnar vs dos santos','ufc trainer wii','machida dvds','texas','youth clothing','mens','womens gsp tshirts','coin','ufc 135 dvd','pettis','bad blood','mens jersey','wec 41','shirt sizes','dan severn','grappler short','ufc official fight gloves','ufc t-shirts','camo shorts','canada t shirt','ufc punching bag','ufc personal trainer','warmonger','clay guida action figure','cardboard','rise up','method v-neck t-shirt','affliction thermal','womens jacket','ufc 132 poster','ufc jersey','ufc typography logo t-shirt','womens affliction','tuf 9 shorts','smooth','junior','wanderlei silva shirt','best of ufc','affliction clothing','foot wear','mma poster','alexander gustafsson','red ufc hoodie','belfort shirts','tapout warmonger','ufc 88','team bisping','blu-ray','affliction t-shirts','logo','sueded ufc t-shirt','vancouver','toy set','ufc history t-shirt','ufc championship','wanderlei silva dvd','zip','george st pierre womens tshirts','tuf 1','danny castillo','ryan bader 126','jason mayhem','ufc bikini','robe','leben','ultimate knockouts 9','ufc 97','ufc kids cage logo t-shirt','couture vs ortiz','ufc100','affliction womans','georges','kids tapout','mens affliction shirt','v neck tshirts','memoriable','cain valasquez','clay guida walkout shirt','dvds sets','ufc autographed poster','george st.pierre','ultimate submissions','split decision','tuf shirts','ring rat hat','ufc stickers','official','ufc 116','pullovers','zip up hoodies','vitor belfort action figure','crib','ufc 102','ufc 104','brock lesnar ufc 141','rashad evans poster','ultimate matt hughes','american','wec sherpa','ufc 140 poster','pride box sets','stout','ufc133','ufc 2','chuck liddell fight shorts','chad','car mats','ufc 51','george at pierre','compression fight shorts','ufc comebacks','ufc 49','ufc 62','post','usb','muscle tank','forrest','ufc program','warrior fight shorts','ufc 100 dvd','action','ufc 89','v-neck','grappling dummy','punch mitts','ufc 96','kids sherpa hoodie','junior dos santos shirt','coffee','john jones shorts','figurines','pennants','mens v-neck','cain velasquez walkout shirt','pint glasses','1925','mens long sleeve','dethrone shirts','ufc 128 program','tuf season 8','champions','work out pants','ufc 139 poster','shields','shot glasses','shogun poster','warrior shorts','stann','b.j.penn','ufc 114','grappling','team dos santos shirt','digi hoodie','workout videos','plaid hat','xxxl mens tshirt','ufc figures','rope','psp','houston alexander','gym','6-12','white hoodie','black shorts','97','mike brown','bad boy t-shirt','event program','kids t shirts','flash drive','warmup pants','pride fc poster','rashad evans vs rampage jackson','charcoal sherpa hoodie','products','ufc 141 event program','griffin bonnar','ultimate collector','brock lesnar\'s t shirt','sanchez','sleeveless shirts','spider','john jones t shirt','ufc 79 dvd','octagon pendant','distressed','grand slam hat','performance','ufc heavy bag glove','white sherpa hoodie','countries','womens ufc clothing','kick boxing shorts','ufc mitts','st pierre sign','george st pierre affliction shirts','quarry','complete box sets','mens ufc tshirt','best of pride fighting','107','warm ups','thai pads','practice sport short','100','chael sonnen ufc 117','new orleans','mens tees','womens t','ufc camo shirt','ufc 123','cain velazquez','sinful','grey sherpa hoodie','ufc white shorts','brotherhood thermal shirt','ufc hooded sweatshirt','129','ufc womens robe','fight bag','typo','brock lesnar walkout shirt','tuf 3','bruce','vitor belfort shirt','red hat','aim compression','ufc 126 anderson silva walkout long sleeve t-shirt','ufc womens tshirts','ultimate fighter 10','gift','olaf hoodie','track suit','warrior wear','ufc mats','cerrone shirt','purple','pride and glory','ufc brock lesnar cardboard stand','undisputed','tapout pants','comet','ufc 127 dvd','ufc 135 jones vs rampage','frank mir t-shirt','profile v neck','quinton rampage jackson','round five','ufc live','pride replica','arianny text t-shirt','frank edgar','a year in the life','brock lesnar t-shirts','ufc rio t shirts','dana white action figure','protection','dragon tshirt','stencil','american classic','tuf season 10','reign','rampage jackson dvd','ufc 130','accessories','ufc pint glass','135','ufc 90 poster','ufc fight club','web belt','badboy fight shorts','icon','ufc radar hat','ufc 100 greatest fights','pride dvd\'s','black shirt','tap out thermal','t.u.f 2','jon jones figure','polo shirt','carwin','ufc 109','wood sign','jon jones poster','ufc hatch shirt','spandex shorts','ufc 99','lesnar vs mir','tapout board shorts','lyoto machida vs','ufc basic hat','season dvd','domin8r','ultimate knockouts 7','bands','ufc camo','machida shirt','shogun henderson','sale t-shirts','ufc book','141 walkout','oversized glove','pride dragon tshirt','boxing bag','ring rat','tuf shorts','ufc sherpa hoodie army-chocolate','ufc fight night','102','tapout t-shirt','liddell dvd','womens gsp','nate diaz poster','kicking bags','ultimate fighter 13','clay guida poster','troops','american psycho','ufc 141 shirt','ufc 122','bad boy 3-d eyes t-shirt','tap out tee shirt','crumbled tshirt','womens pride tshirt','december 2011 ufc magazines','rampage chain','minotauro','tapout iconic','autograph nick diaz','pride silver foil t-shirt','pink hoodie','purple hoodie','dead president','128','long sleeve tee','pride bushido t-shirt','jones walkout shirt','ufc titans','bj penn figure','serra','groovy jacket olive','sub zero jacket grey','ultimate 100 fights','white','blood','womens t-shirts','lesnar walkout','ufc menace women\'s hoodie','combat','i love ufc','greatest','mark bocek','pride warrior','ufc logo t-shirt','ufc equipment','buckle','dress shirts','bluray','ufc 3d octagon coffee mug','ufc 141 walkout t shirt','famous stars and straps','ufc 141 walkout t-shirts','mens knit hats','arianny cutout','hitch cover','olaf','dvd warrior','dvd sets','tuf 14 finale','tapout gear','iron star clay guida','olaf crew long sleeve','typography logo t-shirt','ufc magazine 2011','ufc 39','ufc classic long sleeve rash guard','silva fathead','pride warrior t-shirt','flat hats','diaz vs penn','ultimate gloves','wec hoodie','98','zip hoodie','to quit does not exist','ufc corps','ufc on vs','black magic t-shirt','brown sherpa','ultimate collector series','2130','ufc 101','ufc crumbled t-shirt black','shogun shorts','affliction hoodies','griffin poster','ultimate knockouts 4','cadet','coffee cup','alan belcher','shake','ufc cage logo','tuf season','st pierre shorts','form hats','open season plaid cap','stephen bonnar','tuf season 2','ufc crumbled t shirt','ultimate fighter 2','womens sale','instep guard','ultimate knockouts 5','ufc kids','round 5 mma','lyoto machida t shirt','rising sun','affliction shorts','ufc sherpa hoodie black','ufc ultimate heavyweights','antonio nogueira','junior dos santos poster','heroes tshirt','xxxl t-shirts','ufc mug','128 dvd','frankie','new era','french terry','ufc 137 poster','ufc official gloves','performance heart','octagon shorts','perspective zip','karo','anderson silva ufc 126 shirt','126 dvd','vitor vs silva','ufc toronto','penn vs pulver','men\'s t shirts','stainless steel','e-gift card','ultimate fighter season 1','muscle mug','tap out jacket','basic hat','the ultimate fighter season 6','111','fleece','ufc photo t-shirt','ufc weighted training gear','patrick cote autographs','mens v neck t-shirt','1-10','ufc 130 dvd','heroes','badboy hoodie','120','anderson action figure','brown pride','tuf 15','results ufc 140','affliction indian larry','ultimate fighter 5','ufc canada','fleece hoodie','2944','tuf 11','112','imperium t-shirt','reflex sport short','rampage vs evans','machida vs shogun','george st','history','long sleeve ufc shirt','typo henley','red logo','couture shirt','signature poster','appearal','flex cap','ultimate knockouts 8','all posters','wonderful','pride ring','jones vs rampage','chael sonnen 117','ufc 81','holiday','men\'s t-shirt','stamped t-shirt','heart','ufc 126 walkout tshirt','affliction womens gsp georges st-pierre claw signature series t-shirt','brock lesnar t shirt','ufc 141 walkout','black hoodie','velasquez t-shirts','cain velasquez hats','chuck liddell fighting videos','137 poster','antonio rodrigo','hamill','100 greatest fights','badboy t-shirt','men\'s grappler shorts','tapout brotherhood thermal black','ultimate fighter season 5','phantom','ultimate fighter clothing','pride cap','ultimate fighter season 7','veni vidi vici','tapout pride and glory walkout','ring hat','ufc icon t-shirt','lyoto machida autograph','tapout digi camo trax hoodie','ufc greatest fights','ufc logo repeat','dvd\'s','ufc 120','weighted shin','kids t-shirt','tito ortiz shorts','buffer','can velasquez','pride bushido','best of wec','badboy shorts','pink','junior cigano dos santos','ultimate fights 2011','pride yellow','vladimir matyushenko','horizon t-shirt','hood','ufc deluxe figures','lesnar vs velasquez','frank mir poster','glove size','official event t-shirt','rampage jackson autograph','lesnar walkout t shirt','toxic','kearns','chuck dvd','r','affliction machida','ufc shin-instep guard','ufc texas','brotherhood','2768','tapout iconic full zip fleece hoodie','tapout pride glory walkout t-shirt','workout shirts','dethrone hoodie','silva vs sonnen','beer mugs','ladies sherpa hoodie','127','typo t-shirt','micro','ufc pendant','camo tee','ufc128','ufc 135 poster','don frye','t-shirts ufc brasil','cowboys walkout','rampage walkout','rising sun t-shirt','leather','clear action figure','classic short sleeve rash','ufc stamped t-shirt','ufc 108 dvd','womens flannel','ufc 99 dvd','matt riddle','orange','ufc camo classic fight short','ultimate fighter shirts','ufc136','lidell','mag','tapout invert thermal','freebird thermal','ufc heroes','ufc 108','ground bags','sale on shirts','gsp woman shirts','100 greatest fights dvd','workout dvd','pride knockouts','ufc 129 gsp','mir cro cop','lesnar t-shirt','cage red logo shirt','performance shorts','ufc membership','rampage autograph','holiday bundle','softshell','red shorts','101','japan jersey','tapout eagle warrior t-shirt','checkmate','red white blue','ufc workouts','property of ufc','stocking stuffers','jon jones wall hanging','the ultimate fighter season 12','tapout mexico','pride jacket','ufc 126 program','ufc psp','jackson griffin','hammer','103','darth eagle','ufc 107 dvd','124','ufc stamped','comebacks','fighting short\'s','2 xl','tapout veni vidi vici','scramble zip hoodie','140 poster','for the troops','ufc striker gloves','dethrone hats','palladium','jon jones fights','ufc rio dvd','creeper','order ufc magazine','trailer','wastebasket','shock tshirt','mma brands','jon jones t-shirts','octagon mug','ufc fight camp duffle bag','ultimate king tshirt','bad boy desert camo walkout t-shirt','jakks ufc','lucky strike','cain velasquez dvd','gift certificate','ufc opus t-shirt','nam phan','93','ufc profile v-neck pumice','gomi','nate','wiman','ufc 68','ufc striate t-shirt','ufc jump rope','reflect t shirt','fan pack','splatter','takedown softshell jacket camo','knit hats','adjustable hats','bad boy mma stamp walkout full zip hoodie','ashes','kimbo slice action figure','ufc lateral sport top','silva dvd','100 best fights','pride tshirts','bushido','i love ufc shirt','fighter shorts','main event','larry','ufc 30 poster','2002','battle on the bayou','shogun 139','ufc walkout shirt','gsp cardboard','rampage t shirts','ufc pride','indian larry','select gifts','ufc overcast','team brazil','mens fight shorts','george st pierre t-shirt','respect tshirt','glass ware','beanie cap','black magic','denim jacket','bad boy desert camo','cain action figure','automotive','tapout pride and glory','ufc womens sherpa hoodie','filmstrip','legends','109 poster','mens ufc hoodies','epic','pride 25','brock lesnar toy','clear','tapout blue','velour suit','mr wonderful phil davis','pride black','kids sherpa','olaf thermal','digi camo','ufc training','mike swick','tall','women\'s clothing','fight for the troops t shirt','ufc 85','ufc hatch','history t shirt','shogun vs jones','ufc 56','ufc canada t-shirt','e-card','cushy jacket','blue shirt','pride fighting gloves','arianny t shirt','bruce buffer cardboard standup','main event t-shirt','128 poster','carlos','mens sweatshirts','weighted forearm','photo t-shirt','women\'s','eagle','native tee','ufc fight for the troops','ufc olaf','ufc live 5','slone','redemption','ufc 129 affliction','ufc 129 event poster','mens shirts 3xl','penscript','long sleeve t shirts','ufc history','perspective t-shirt','dethrone cain','ufc polo','blood t-shirt','womens apparel','ufc label waffle beanie','pink sherpa','tapout full proof t shirt','ufc shorts black','ufc weighted gloves','george round five','bad boy walkout','116','performance shirt','home and office','long focus mitt','weep','flash','130','weighted jump rope','ufc ultimate 100 greatest fights','ufc olaf crew','sherpa black','toy gloves','women\'s george st pierre','silva vs okami','tuf gsp','electrify','boys tapout','rich franklin american fighter','discipline','quinton','bolt','pride t-shirt','women gsp t shirt','ufc ultimate king t-shirt','chuck liddel poster','trainer game','legend jacket','jakks pacific','ufc cartoon logo t-shirt','3 x 5 wall hanging','bad boy cadet hat','overcast','ufc unraveled full zip hoodie','tapout men hoodies','ufc cup','team mir','gsp 129','octa heart','liddell vs evans','bad boy team brazil t shirt','bad boy team brazil t-shirt','pride critical countdown','banner t shirt','mens affliction','affliction georges st-pierre gsp micro t-shirt red','performance fit','gsp women\'s tshirts','unleashed','ufc 129 poster special edition','takedown softshell jacket','digi hat','superhero','ufc 95','affliction logo','classic fight shorts','ufc legend jacket','ufc zip up jacket','discipline t shirt','tapout pride and glory tshirt','ufc arianny','ufc scramble zip hoodie','ufc season 5','tap out shorts','rodrigo','ufc brazil hat','frank mir figure','ufc events dvd','ufc replica champion belt','gsp women clothes','122','ufc takedown softshell jacket camo','ufc 2007','jon jones round 5','ufc womens sherpa hoodie black pink','tuf 10 dvd','ufc trunks','ortiz poster','gsp ufc 129 shirt','ice','lateral sport top','shock','the ultimate 100 greatest fights','throw down','duffle','ufc official poster','beauty t-shirt','nelson','warm up pants','the natural','ufc method v-neck t-shirt','dana white autograph','ufc 106 poster','reversible','ultimate king','cole miller','new era hat','convict full zip hoodie','ufc 4','velour','mens zipper hoodies','100 dvd','cuffed beanies','takedowns','uniform tops','9.99','hd ringer t-shirt','ultimate greatest','ufc ultimate submissions dvd','ufc cage logo tshirt','typography','womens hats','tapout freebird thermal','st pierre womens','ufc 13','ufc 134 anderson silva','george st pierre dvd','ufc workout video','sherpa hoodies for toddlers','form athletics shorts','knock out belt','deluxe action','machida 140','warmonger t-shirt','st pierre poster','ufc knock out web belt','131','joe','trucker hats','ufc ultimate king','tapout walkout shirts','jon jones ufc 140','purple shorts','iron star fight hard t-shirt','heart ufc','ufc opus','red and black ufc sherpa hoodie','ufc youth','tapout dead','tuf team lesnar shirt','tapout warm up','wings','ufc ultimate submissions','ultimate box set','new t shirts','bonnar vs griffin','undisputed 2010','digi logo zip hoodie','30% off holiday bundle','pink ufc hoodie','sunburst shorts','reflect t-shirt','bad boy t-shirts','hieroglyph','bj penn fathead','global shirt','renato sobral','ufc chain','gsp lithograph','mens tap out shirts','couture lithograph','canvas','ufc men t shirts','classic short sleeve','charcoal','62','ufc ultimate 100 greatest fight moments','wii trainer','tartan boardshort','mens ufc sherpa hoodies','mens jackets','ufc cain','dos santos tee','ufc limited edition fight for the troops camo bracelet','ufc tartan boardshort','ultimate royce gracie','finest','ladies','camo jacket','collector','ufc stainless steel men\'s octagon pendant','mens beanie','ufc 98 poster','fight magazine','shogun rua poster','gsp 124','ufc womens camo','63','tapout fleece','ufc 118 autographed poster','tapout banshee t-shirt','ufc magazine august september','hero t shirt','dvd 135','tapout walkout track suit jacket','foil','jon jones dvd','ufc 139 t shirt','dvd box','distance','ufc typography','ufc crumbled','v neck shirts','playset','ufc horizon','132 poster','ufc shot glass','ufc keychains','the truth','womens sinful','rampage vs rashad','mike','unify t-shirt','ufc pride hoodie','ufc kids hoodies','ufc typo henley','kevin','script','fight dvds','ben','applique snap back hat','olaf crew','wired cap','tuf season 1','ufc ps3','affliction micro','brock lesnar vs randy couture','tuf 7','sports bra','tuf 8','106','mens muscle tank','pitfall','typography logo t shirt','yellow ufc','knockout t','ufc ultimate collector series','beanie with patch','grappler','new era grand slam hat','ufc autographed','ufc ash t shirt','ultimate collector series 1','machida action figure','tuf season 13','ufc 81 poster','white wallet','dethrone clothing','crewneck','mens hooded','radar hat','big mens','ufc fights','submission dvd','mixer','scramble','pride full zip hoodie','tyson griffin','ufc coffee mug','fighter series','classes','igor','rolles gracie','how','respect shirt mens','stainless','ufn 20','death','ufc eroded','gym bottle','novelty gloves','garcia','jones rampage','129 poster','ultimate collection on blu ray','ufc mma gloves','100 greatest moments','ultimate fighter 7','digi','ufc wall hanging','form t-shirt','art','tapout eagle','affliction for men','tapout home slice hoodie black','affliction womens gsp georges st-pierre forever t-shirt black','black belt','cyber monday','ufc brazilian yellow jersey','ufc 113 dvd','darren elkins','pride shorts black white','bad boy 3-d eyes t shirt','snap','relentless poster','shane carwin cardboard stand','round five action figures','ufc 139 shirt','ultimate fighter season 8','workout set','nogueira vs mir','latest ufc magazine','cain velasquez t-shirt','132','ufc 130 official poster','jon jones fight shorts','rampage shorts','ufc vinyl mma training glove','ultimate collector series 8 action figure','ufc muay thai pad','ufc horizon t shirt','ufc 118 poster','video collections','machida walkout shirt','mike thomas','jones poster','ringer','ufc profile v-neck','ufc 126 poster','pride 20','ufc 2009 game','cro','ufc 72','fight for the troops t-shirt','rua shirt','ufc season 9','pride distressed bushido t-shirt','dvd 130','tap out to arms','tuf 13 team lesnar t-shirt','mens small','dvd 133','ufc muscle mug','urban camo','olaf hoodies and thermals','125 dvd','fleury','women t-shirt pink','ufc thermal','ufc unleashed dvd set','tapout ashes','ortiz vs evans','ufc duffle bag','tuf team dos santos','ufc 129 shirt','urijah faber 132','ufc on versus 6','tapout drive hoodie black','eroded t','shogun shirt','jump','tap out tshirt','white shirts','machida figure','jones walkout','machida ufc 104','ufc black hoodie','liddel vs couture','portland','gracie poster','womens bling tank top','ufc ultimate king t shirt','women\'s t-shirt','ufc 134 dvd','george st pierre autograph','gsp icon','women tap out','ufc cage logo short sleeve t-shirt','ufc global t-shirt','ufc method v-neck','chuck liddell dvd','ufc grappling dummy','olaf sweatshirt','office','pride silver dragon t-shirt','man','blu ray collection','affliction walkout','forrest griffin wastebaskets','tapout believe t-shirt','joe jones','liddel poster','ufc randy couture american hero t-shirt','bushido shirt','richard t slone','ufc fight 137','hughes vs penn','pride replica belt','ufc box','cage fighter hoodie','ufc womens star dust t-shirt black','mens apparel','chuck liddel shorts','ufc georges','bling','cain velasquez vs junior dos santos','ufc takedown softshell jacket','tap out sacrifice t shirt','bad boy walkout t-shirt','ufc 128 merchandise','french terry pant','tap out cowboy','ufc digi logo full zip hoodie','george round 5','stripes','penn vs fitch','ufc lives here','rio anderson silva','season 11','machida walkout','pride fighting legacy','ufc live 6','chuck liddel kids','rampage jackson chain','wec 45','brock lesnar book','toddler hoodies','red ufc shirt','ultimate fighter dvd set','tuf trunks','ufc rise up hat','womens perspective','season 14','ultimate fighter team gsp','r r micro flannel','ufc embossed snapback','packages','ufc tko','rampage fan','mma training gloves','black hat','tuf 9','133 poster','ufc weighted vest','ufc faber','thermometer','sublimated','cain vs dos santos','soszynski','ufc troops','codes','brown and pink hoodie','jason day','vinyl training','ufc infant clothing','cain t shirts','classic shirt','women\'s t shirt','tapout glory walkout t-shirt','pride replica championship belt','worn','belfort poster','ufc scramble hoodie','tuf tank tops','bart palaszewski','pride 33 second coming','rising','affliction long sleeve','shogun walkout shirts','ufc replica','stringer boardshort','property of','palladium muscle tank','ufc 76','ace','ufc season 10','collector dvd sets','ultimate fighter 1 dvd','ufc flex fit hat','ufc best knockouts','tuf gear','bad boy demian maia ufc walkout shirt','black red jersey','best knockouts','ultimate anderson silva','ultimate fighter 4','anodized caribiner keychain','ultimate fight night 5','gold','classic long sleeve','linear','ufc apparel','tuf poster','links','wii games','ufc blu ray collection','dethrone sweatshirts','ufc new era caps','womens gsp shirt','eye shorts','100 greatest','women\'s robe','tuf season 3','xxl sweatshirt','rothwell','soldier','ufc split decision','ufc women\'s t-shirt purple','jackson poster','tuf season 12','jones tshirt','men\'s ufc sherpa hoodie','eroded','ufc distance sport short','ufc stringer boardshort','fighter gloves','ufc olaf crew long sleeve','ufc 56 poster','ufc mouse pad','kelly green','iron','bad boy kids pro series shirt','muay','stein','military jacket','ufc houston','brock dvd','stardust purple t','fleece pants','fox sports','sugar','122 program','tapout watches','create','be gsp','ufc basic cap','ultimate 100 dvd','ufc 136 poster','kingsbury','cain hat','women\'s ufc shirts','tito ortiz toys','tapout hoodies xxl','tapout cowboy cerrone','tapout mens dig it board short','red sherpa hoodie','ufc 108 program','ufc fight night 24','get ufc magazine','applique','tapout track suit','fusion sport short','bad boy jacket','demetrious johnson','gwp','us','tunic','ufc 64 dvd','rising sun t-shirt black','gas','chuck liddell fights','nick pace','ufc 133 fight card','georges st-pierre fight','braided wallet','official gloves','ufc knock outs 1','icon stretch short','ufc sleeveless shirt','combat muscle tank','phantom windbreaker','hates','burgundy','rua vs jones','b-boy tee','shogun walkout','ufc hd ringer','stephan','griffin shirts','practice','ultimate fighter 14 dvd','couture dvd','opus tee','bad boy mma shorts','125 poster','ufc 60 poster','yoshihiro','vinny','white thermal','pink hat','smudge','radar','team velasquez t-shirt','ufc brazil jersey','forearm','ufc 74 poster','penn t shirt','ufc new era','shogun rua action figure','lesnar dvd','strength','poland','cover','chuck liddell collector','roller','ufc defeat t-shirt black','2g usb flashdrive','convict hoodie','11x17 sign','pride fc dvds','rampage dvd','tapout black','ufc 126 t-shirt','ufc fathead','special forces','cain shirts','ufc ultimate fighter season 1','ultimate fighter soundtrack','bully','fighter posters','cain velasquez snapback','ufc women\'s bling tank top','leather heavy bag','diamond','ufc mma training gloves','pierre poster','ufc pride full zip hoodie','ufc on dvd','ufc sunburst shorts','tuf boardshort','pride 31 unbreakable dvd','tapout cerrone','ufc 100 shogun','pablo','pride black white','flag shorts','tapout trimmed fight short','cain t-shirt','black and white shorts','trucker','gsp figure','ufc 119 dvd','tapout liberty eagle','tapout guardian t-shirt','camo bracelet','gold belt','ufc red logo t shirt','b.j penn','ultimate fight night','ufc 86 dvd','ufc 100 greatest','sub zero jackets','grand slam','chips','y que','cain velasquez autograph','ufc 12 dvd','ufc 10 dvd','muscle recovery','ufc 33','rampage 130','ufc camo shorts','bling tank top','mens belts','ufc coffee cups','pride store','sunburst','130 poster','lucky','us flag shorts','affliction tees','suede','velasquez posters','ufc blu ray','classic shorts','tapout french terry warm up pant','tapout sacrifice theory t-shirt','cain velasquez ufc 121 rock of cain signature series walkout t-shirt','mma cup','cain shorts','season 2 gsp','affliction randy couture crest signature series t-shirt','afflictions blue','cain velasquez vs lesnar','ultimate fighter 11','pride t','combat ufc','ufc compression short and cup','pride 24','mma books','back','ufc photos','ufc softshell','ufc 1 shirt','ultimate fighter 9','reflex','pierson','ufc actions','tapout droid t-shirt','snl','open season','mens warmup suit','caín velásquez','strawberry','pride 2003','pant suits','open','saturday','racing','chuck liddell autograph','tap out pants','ufc submission','pride toys','ufc 31','palhares','pride gear','ufc2216bb','ufc 32oz bpa free gym bottle','pride fleury dragon','womens briefs','womens hooded sweatshirt','ufc 126 anderson silva event','tapout racing core lap t-shirt blackest','t v','wind','tuf liddell','shooters','tapout french terry','womens st pierre t-shirt','ufc mag','ufc v-neck','black pink sherpa hoodie','ufc presents the ultimate fighter season 8 dvd','warm','ufc micro figures','collectors books','men stainless steel necklace','ufc new orleans','ufc rising sun t-shirt','ufc 135 program','men\'s shorts','ufc trailer hitch cover','women\'s tank top','ufc 89 official program','ufc 85 official program','ceramic mug','ufc brock lesnar ufc 87 ultimate collector series 4 action figure','cop','ufc 72 dvd','ufc quinton jackson ultimate collector series 4 action figure','ufc official scale deluxe octagon playset','catone','state','ufc flat bill','ufc remix short','ufc fitted hats','tapout stronghold t-shirt','ufc cardboard stand','ufc stacked','ufc flat hats','takedown softshell','ufc hitch','blasted','slater','tartan','cotton shorts','ufc gel glove','st-pierre poster','tapout stronghold','ufc 67 autographed poster','tapout t shirts green','silver tap','breakthrough','travel','ufc 63 dvd','ufc 70 poster','ufc wordmark full zip hoodie','bad boy styles','tapout mens','ufc ultimate glove','brock lesnar deluxe action figure','top team','ufc fight results','ufc basic training t-shirt','tapout engraved t-shirt','tapout walkout track jacket','ufc 63 poster','bump','ufc classic short sleeve rash guard black','ufc 49 poster','ufc 129 results','womens tee','tapout sleeved hoodie','wec 33','crayon creeper','ufc replica belt kids','moss','ufc canada hat','tapout boardshorts','classic tapout','tapout amir sadollah signature series ufc 114 walkout t-shirt','bad boy kimura rash guard','tapout black flag','thomas','ufc supplements','sylvia','bib','ufc intensity','tapout track pants','ufc presents the ultimate fighter season 1 dvd','win','medium t shirts','thors might','mens bad boy t shirt','type','black tank','ufc men\'s octagon ring','ufc 127 shirts','ufc muay thai shirts','ufc pails','ufc split decision t-shirt','ufc split','tapout jake shields signature series t-shirt','ufc silver','ufc germany','tapout felony hoodie','womens top','ultimate fitness','ultimate finale 9','pride video','ufc mma','red ufc hat','tap hood','bitter rivals','mens shirt xxxl','tapout storm black t-shirt','tapout orange','tapout the skull hooded sweatshirt black','chuck action figure','thor','ufc crayon creeper','cage t','tapout tuf 12','red color','ufc fight 1','contour','pride women','ufc for troops','ufc ulti-man','pink shirts','pride flex hat','patrick','broken','ufc 129 women','pride figures','pride women\'s ninja t-shirt','pride silver foil','women shirts st-pierre','terry short','cage tee','pride white zip hoodie','bad boy jersey black','team brock','ufc fight night t-shirt white','ufc 67 poster','randleman','cain velasquez ufc 121 rock of','pride fleury','team t shirts','pride kids belt','pride fc 5','team tapout','brock autograph','pride heather dragon t-shirt','tapout red hats','bad boy matrix fight short black','tapout mean','pride 13','ufc ultimate fighter season 2','mte623wht','wttsvs0005-white','wttscs0063-black','sh332-black','puff quilted vest','men\'s octagon pendant','pride event posters','ufc classic short sleeve rash','tapout burnt offering shorts','ufc 122 program','pride men shorts','ufc classic short sleeve rash guard-red','the phenom','ufc stacked t-shirt red','pride 26','bad boy 09','ufc walkshort blue steel','ufc suede boardshort light forest','mens compression short','men\'s sherpa hooded sweatshirt','ufc fence logo t-shirt red','ufc shin instep guard','tapout upper division boardshort gray white','m1002','rampage army','black soft shell ufc jacket','up suits','black skull wing','tapout sonnen','ufc 116 program','the great t-shirt','black zip hoodie','the second coming','tapout ufc 123 walkout track suit pant white','brock lesnar cards','pride full zip','ufc compression','ufc takedown','red caged ufc hoody','the gate','ufc 73 autographed poster','tapout tuf 10 team rampage shorts','ufc military ultimate star tee');
/* $Revision: 3828 $
 *
 */

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';
          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=' + __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();
                }
                
                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);
    }
