/* Popular phrases - SAVILLEROWCO - 11:1:46, Sat Jan 28, 2012 */
__SLI_ClientDefaults =
[
['TargetURL', 'http://clothing.savilerowco.com/search?w=']
];
var asPhrases=new Array ('short sleeve shirts','short sleeve','black shirt','trousers','round collar','ties','pin collar','white shirt','waistcoat','suits','quilted jacket','rugby shirt','gingham','evening shirt','shirts','cufflinks','oxford','bengal shirts','jackets','pin collar shirts','wallet','socks','slippers','double cuff shirts','white collar and cuffs','pyjamas','chinos','button down collar shirts','dinner shirt','cotton shirts','chino trousers','double cuff','bow tie','shoes','herringbone','black','belt','cutaway collar','skinny ties','herringbone shirts','oxford shirts','grey shirts','button down','xxxl','dressing gowns','16.5','yellow shirts','short sleeve formal shirts','slim fit shirts','lounge pants','lilac shirts','purple ties','white oxford','black suit','bow ties','quilted','slim fit','gingham shirt','dinner suit','pink shirts','round collar shirts','black ties','linen','red tie','blazer','dinner jacket','17.5','button down collar','rugby','cream shirt','pin','linen shirts','green','sizes','single cuff','wedding suits','bengal','oxford button down shirt','yellow','tattersall check','lemon shirts','silk shirts','chinos pleat front','mens short sleeved shirts','472','red shirt','button down shirts','19','extra long sleeve shirts','purple shirt','480dpr','t-shirt','482nab','handkerchief','t shirts','18','xl','348wht','round','fancy bengal','fleece','tattersall','casual short sleeve shirts','silk','xxl','15.5','stripe shirt','red','496red','polo','short sleeve shirts large','xxxl casual shirts','bespoke','17','white classic fit','shorts','251wht','flannel shirts','poplin','wedding','pink','large casual shirts','short sleeved classic fit shirts','20','491nav','dress shirt','mss180','cummerbund','15 slim','pink tie','blue tie','skinny','331wht','mens trousers','extra long sleeve','pants','486blg','green shirt','cream','480','navy shirt','16','washed oxford','407tar','short sleeve polo','mts609','silver tie','2 button collar','grey','485blu','15 shirts','returns','bengal stripes','mens sizes','480dprmsc','paisley','double button collar shirts','mcj102nav','434ren','casual jackets','white collar','silver silk tie','419wht','cuff','477nar','non iron','bamboo','493blumsc','white','15.5 short sleeve shirts','flat front chino','linen trousers','gingham check shirts','button down short sleeve shirts','xxxl shirts','mcj102','non iron shirts','488nabmsc','477nab','white slim fit formal shirt','all shirts','476red','19 collar','032','476','men','navy red','weekend jacket','mti052red','two button collar','499nar','black slim fit','prince of wales','pink gingham','499narmsc','19.5','hankerchief','slim fit suit','stripe slim fit blue navy white','mft421','paisley tie','formal evening shirts','gold tie','480nav','contrast shirt','480gry','474ryw','441','441blu','stand collar','casual shirts','white short sleeve shirt','011wht','shirt gift box','white button down','mft421blk','slim fit short sleeve','mens suits','tattersall shirts','stripe','purple','polo shirts','492blu','497grn','super','navy tie','essential shirt','white shirt button down collar','collar less shirts','472nav','pin collar slim fit shirt white','481win','mcj102grn','800wht','800','481nav','329red','washed oxford shirt','mens gingham shirts','435lil','477','chambray','bib','15','491lilmsc','428wbl','16.5 slim fit formal shirt','491lil','473red','10','black trousers','011afb','488nab','499nabmsc','433blu','t-shirts','491skymsc','high collar shirts','gift box','485blumscxxl','mpj862reb','black classic shirt','slim fit white shirt','navy','chambray shirt','short sleeve button down','478gry','482red','474blw','bamboo underwear','tattersall check classic fit formal shirt','mlg901','mlg903','chalk stripe suit','beige shirt','433nav','twill','silk ties','yellow tie','477nap','tartan tie','gray shirt','mpj861grn','white pin collar','440pblmsc','476nav','red gingham','mps623','477blg','mti059','white slim fit','495nabmsc','xxl shirts','slim fit evening shirt','large','491','evening','blue formal shirt','classic fit','slim','262wht','mfj233nav','beige','482pur','mpf619nar','481grymsc','extra long','474grw','round collar dress shirt','459blrmsc155','formal shirts','mct307','suit trouser','slim fit formal shirt','check shirt','burgundy','423wht','435pnk','mlg908','white double cuff bengal reverse stripe','17.5 single cuff','sweater','458wrn','flannel','474roymsc','251lilmsx170','498grnmsc','mens pyjamas','shirt sizes','oxford shirts classic fit','reverse stripe bengal white double','44','tan','494','evening dress shirts','dinner','green quilted jacket','488nar','011lilmsc','grey shirt white collar and cuff','plain blue shirts','dark purple shirt','tie handkerchief and cufflink','251crm','mcj102navmed','mct','493','011 white','mcl949blw','493blumsclge','435pnkmsc','beige flat front chinos','wht shirts','mti051red','15 1 2','491sky','307wht','essential','soft collar','492blumsc','251afb','17 1 2','16 collar shirts','bengal pink shirt white collar','pin shirt','robes','440gry','476blu','short sleeve shirts xl','422red','herringbone suit','herringbone button down','424blumsc','blue white navy','grey tie','482blk','481gry','474grwmdc160','sharkskin','box','mpf619','mts608','475','silver cufflinks','regal','438lilmsc','wool suit','gingham check','800whtmsc170','19 shirts','buttondown collar','mfj221','micro','trousers 30','492','lilac fine stripe','black blazer','xl pyjamas','white linen','432purmdc','mens shoes','498nap','mti051lil','474','278wht','800blu','mfj235','476blk','mfj226bbn','fine stripe','red check','prince of wales classic fit','473blu','dark grey suit','button','white collar shirts','red silk tie','xxl pyjamas','mti069blk','mct308','434yenmss','wool jacket','lilac white check linen short sleeve casual shirt','blue herringbone','white tie','mti015pur','mti068blk','red polka dot tie','464pnkmss','casual shorts','457redmss','large linen shirts','mpj854lilxlg','xl short sleeve','women','438pnk','472blu','tartan','475nab','491gry','flannel pyjamas','mps623blu','easy care','grey stripe shirt','navy blue tie','birdseye suit','stand collar shirt','490reb','black fitted shirt','non iron slim fit shirts','tailored fit shirts','mcj102navlge','brown','boxer shorts','black socks','494blu','mbe','mfj234nav','red striped shirt','cotton dressing gown','slim fit double cuff','purple mens shirt','mti041','oxford weave shirts','251whtmsc155','457','mfj221blk','navy pinstrip suit','classic','mens navy shirt','chino flat','wedding waistcoat','lilac formal shirt','white button down collar','oxford button down','leather slippers','tartan shirt','500wht','429bll','paisley shirts','double faced','499','red white gingham','purple gingham','mdg','mps618col3xl','short sleeve polo shirts','445lin','slim fit short sleeve shirts','blue white stripe shirt','cotton blend shirts','420','18.5 classic fit','mens black shirt','cotton silk','men\'s blazer','poplin shirts','mens evening shirts','white polo','011whtmsc165','16.5 casual','mlp859nar','end on end','mti055red','white short sleeve','gown','474red','479nat','800whtmsc160','silk hankerchiefs','mdg858','499nab','15 slim fit','494blumsc','481','421blumsc','mens belts','clearance','481navmsc160','navy slim fit','stand-collar','396wpb','green gingham','401wbl','white slim fit short sleeve','grey formal shirts','pink white bengal stripe','french','475nabmdc165','mdg855grn','cashmere socks','blue red check','476blumsc','432','tie set','underwear','mti026gry000','442blg','491skymscmed','bespoke shirts','mti043red','mti049','251whtmss','round collar white','womens cufflinks','classic plains','472blumsc','491grymsc','52','433navmdc','251blk','black striped shirt','011blk','434renmss','3 button suits','double face check soft collar casual shirt','single vent suits','441gry','herringbone blue shirt','white shirts with double cuff','cutaway','432gry','white round collar shirts','mens ties','434blnmss','grey white gingham','495','473redmsc150','452lilmss','plain blue','blue red white regal stripe classic fit formal shirt','white blouse','488','pink fitted shirt','blue gingham','mdg859nar','royal blue','xxl short sleeve','251whtmsc','801wht','438lil','473nav','432blu','491navmsc','gbbuy01','long sleeved t shirts','800whtmdc','italian','polar','stripe tie','251lil','mts609gry','mdg851bnr','twill shirts','brushed flannel pyjamas','011whtmdc','mti026dli000','mpj844nav','17.5 slim','463','pique polo shirt','silk twill','red white polka dot silk tie','480navmsc155','mti043nav','mens shirts','green stripe','482nabmsc','casual shirt xl','marcella','easy iron shirts','mso922blk000','443blu','mts','011lgy','navy birdseye','476purmsc','mts609nav','457red','cut away collar','mti039','436nav','478blu','439gry','mti041nal000','black cotton shirt','473gry','silver','check navy red','493blumscmed','437grymsc155','pink polka dot','440blumdc','011crmmsc','mft422lgy','navy blue','390nar','800blumdc','433','tall','two button stand collar','fleece jacket','487nabmsc','801blumdc','regal stripe','mfj234nav40r','button shirt','mfj232gry','blue stripe tie','mlp859','mfj231gry','433gry','red check shirt','488narmsc','481winmsc','chalk stripe','436pblmsc185','487nabmscxlg','396wbp','16.5 slim','non-iron','mti041nal','msp701brn','mpj864','474blkmsc','msh724blk','fitted women shirt','mlg906','307whtmsc','400grymdc170','491blk','polar fleece','348whtmdc','blue shirts','222var','leather','prince of wales check','418blu','414dov','16 collar','348','s','mti055red000','497grnmsc','30','440','mens rugby shirts','bag','436lil','silk hankies','800whtmsc','mps620nab','madras','495narmsc','275lil','formal white shirts','brown shirt','check suit','mfj234','438','fancy bengal shirts','463grn','485','single pleat trousers','formal button down','cotton blend essential','445blnmsxlge','mlg902','msh725','classic fit formal shirt','lounge trousers','grey classic shirt','cotton blend','mti053','blue grey fancy bengal stripe slim fit formal shirt','475pnb','blue gingham formal','479narmsc','lilac tie','mpj865','micro check','491blkmsc','cobalt','country shirt','blue classic fit','493blu','xxl short sleeve shirt','short sleeved shirts 16.5','474rewmdc','tie and handkerchief','458wrnmsclge','251whtmdc','dark purple','plain pink shirts','blue and red stripe shirt','fine','satin blouse','iron free shirts','black italian wool','polka dot','gray tie','222varmscsml','white cotton blend','476navmdc','251lgymsx170','489nar','011','brogue','casual short sleeve shirt xl','459blr','polar fleece jacket','sleeve length','mps620','mlp','gingham slim fit shirt','classic white shirt','440lil','mfj225bbl','16.5 collar','472blumdc','line','482blkmsc','pink stripe','18 1','navy jacket','slim white shirt','sport','blue shirt with white collar','peach finish casual button-down blue white stripe','blue gingham shirt','mens formal shirts','433pnk','mfj230nav','brush','mpj861','480dprmsc155','toiletries','800blumsc','mens poplin shirt','251afbmsx170','18 short sleeve','mpj865blw','445bln','mps621awn','474rew','463lil','purple stripe shirts','blue white reverse stripe bengal classic shirt','silk tie and cufflink set','441pbl','black white','476pur','50','brogue brown','441lil','tattersal check','278whtmsc170','blue yellow','men shirt sizing','act302nav','251whtmdc155','lilac','498grn','474rywmdc','pheasant','18 1 2 collar','276whtmsc155','mti049roy','red white bengal','mbe904brn','17 slim fit','432pnk','496redmsc','light grey','481navmsc','mti053lin000','801whtmdc','439nav','mps621','433pnkmdc','435','278whtmsc','striped shirt white collar and cuffs','801','440pbl','msh716','451grn','475blg','425lil','navy stripe','461pbl','436pblmsc160','461pblmsclge','mens wear','465','ts14nav','mfj229nav','mti037blu','men\'s pink shirts','mens grey shirt','mti062pur','011whtmsc','mlp860naw','spotted tie','sleepwear','mti051blu','gingham check classic fit formal shirt','silk handkerchief','mens extra long sleeve shirts','474blk','mti053grn','mti034lil','476redmsc','blue check shirt','navy chalk stripe trousers','pocket','mens shorts','black shirt with white collar','boots','white red check','bengal grey stripe','shirt sleeve','424blumdc','433blumsc','slim fit blue','marcella front bib','tailored','mti026dli','blue red white regal stripe','slim fit non-iron','angora socks','non','brick red chino','276wht','454grn','plain white shirt','double cuff slim fit shirts','cotton blend essential shirt','mhk909','011lil','red gingham shirt','438gry','mti049nav','460blu','mpj863','mlp857','2 extra long sleeves','mdg859','mps623blulge','486','silver grey shirt','mbe903brn','lilac classic fit formal shirt','blue white green','mfj228','herringbone classic fit formal shirt','mts608wht','black check','pink stripe shirt','formal short sleeve','mens collar pin shirts','mtc','navy gingham','443','432pnkmsc','mct307gry','477narmdc','049','silk cotton shirt','button collar','polka dot ties','country','434pkn','navy birdseye suit','mps623nav','476navmsc','casual check shirts','women shirts','424blu','wool','navy herringbone button down casual shirt','pin collar slim fit','black check shirt','large check','black bengal','classic shirts','navy bengal','251blumdc165','purple check','brushed shirt','052pur','slim fit bengal','double face fabric','mps623lgy','tattersal','flannel shirts mens','mpj863nav','418blumsc','mti053pin','burgundy shirt','fleur de lys tie','mlp858blu','437pbl','440blu','mti010pnk','251','mbe904','433navmsc','475pubmsc160','251blu','mfj213nav','383nar','mct301cho','grey polo','011whtmss','white handkerchief','428','size 15','grey herringbone','mti029red','mfj208nav','white stand collar','slim fit shirts 15.5','mct306lts','boyfriend','soft','011blumdc','mpj855grnxlg','beige chino','461 nav','460 blu','tie gift box','18 classic fit','mft420gry032','486grb','lounge','418','white t shirt','482','button down short sleeve casual shirt','summer stripe','classic collar','pink mens formal shirts','white casual shirt','purple white polka dot silk tie','mcl945pbn','navy wool','lightweight shirt','purple check shirt','mti054gry','short sleeve t shirts','mlp857pur','489narmsc','mpj863navlge','472blkmsc','36','brushed lounge pants','mfj228gry','2','blue white','mct303grn','18 collar shirts','3 button','white collar and cuff shirts','477narmsc','275blu','reverse bengal stripe','mti061nab','mft435gry','hairline','purple stripe pyjamas','465navmdc','432blumsc','801whtmsc155','465navmsc','dark grey stripe','blue bespoke fabric sample shirt','blue check oxford','casual mens shirts','251 grey','white shirt 17','418blumsc155','bold reverse','418blumdc','423whtmsc','433lilmsc','stand','mlp856red','silk socks','011blu','grey italian suit','mft432gry','426pnk','longer sleeve shirts','mens wallet','navy gingham classic fit','mdg850','439','mens slim fit suits','pink check shirts','lilac slim fit formal shirt','slim suit','479nagmsc','438grymsc165','gold and black','cotton tie','mct307brk','leather belts','slim fit jacket','gift','480navmsc','mfj235gry','348whtmdx150','tie and cufflinks','mti010bly','french blue','mti010','navy polar fleece jacket','handkerchief and cufflink box','pleated shirt','mdg858blu','mens white shirts','lounge shorts','long sleeve polos','mfj232','455blu','box sets','mti053blg000','blue pink stripe','pleated chino','navy blue poplin','70','500whtmsc','474blwmdc','478bly','elephant','tailor made','birdseye','474roy','mti992nav','casual check','pink shirts white collars','button down black shirt','contrast collar shirts','mti056lil','439red','mbe902','251blkmdc150','single cuff shirts','micro check shirt','msh726','432grymsc','blue navy spot','royal','multi-stripe slim fit shirt','blue classic shirt','433blumdc','white collar double cuff shirts','461nav','navy chalk stripe','striped jackets','double pleat','offers','black gingham','500whtmsclge','grey silk tie','shirt box','393purmsc160','383narmsc160','short sleeve linen','gingham button down','red silk twill tie','short shirts','boyfriend shirt','shirt 17','441blumdc','438pnkmsc','mbo605varmed','mti054blu','organiser','393purmsc175','497 grn','479nag','lilac shirt white cuffs','brick','mti038nar000','mens pyjama tops','mens dinner suits','suits 42','495nar','white pin collar slim fit formal shirt','479nar','mps622awr','052','key ring','mcl938wrd','slim fit darks','casual slim fit shirts','navy suit trousers','801blumsc155','441grymsc155','36 waist','251blkmdc','439navmdc','white pin collar shirt','grey waistcoat','475nabmsc','slim fit non iron','lcl','short sleeve button down collars','434renmsc155','mfj233','pinstripe trousers','blue red','438pbl','black casual','matching trousers','cream slim fit','reverse stripe','mtc911gld','navy gingham shirt','leather shoes','non iron white shirt','non-iron shirts','mti049red','weekend','052blu','black silk tie','blue button down','477nabmdc175','36 inside leg','mti042','mlp857purlge','459blrmdc170','439blu','mti026red','stripe suit','mts608gry','801blu','black and white tie','481navmsc150','mlp860nawmed','mcl940gld','pink double cuff shirt','mcl','men quilted jacket','mti052','mlp858','black stripe','285sam','red and white','brushed twill shirt','mfj231','red casual shirt','460blumsc','set','mps623red','mts609blu','mfj230','473lil','462wrbmscsml','445blnmscmed','433lilmdc','mtc911gld000','stone','mbe902blblge','whtmsc','307whtmsc160','487nabmsclge','16.5 single cuff','011afbmsc165','leather wallets','navy red tie','blue short sleeve shirts','251blkmsc150','474redmsc155','casual mens jackets','456aqa','433lilmsc165','blue stripe','stone chinos','464pnk','gbbuy02','mfj208gry','marcella bib','475pnbmsc155','superfine shirts','498napmsc','251blkmsc','474puw','blue stripe shirt','mts608nav','482redmsc','cotton pyjamas','488narmsclge','navy cufflink','mti049blu','blue bengal classic','mtc914red','indigo','white cutaway','251lilmsc','free tie','blue white bengal','439lil','mcl936','tie and hankie','mbe903','womens polo','navy quilted jacket','mti026gry','mtc911sky','440blumsc','cotton blend slim fit','436navmsc','437pblmsc','439navmsc','tattersal shirt','pink herringbone','mps618col','blue navy white regal','wht','short sleeve check shirts','mtc914gry','white red and navy stripe','light blue fine stripe','black chino','air force blue','435nav','navy pink','mbe902blb','478blumdc','478blumsc','487nab','grey stripe','msp701','441grym','800whtmdc175','french blue shirts','432pnkmdc','v necks tshirts','black pants','chalk stripe trousers','mft418','white stripe','classic white','mps623navlge','mens socks','black leather slippers','brown belt','gingham dress shirt','mens green shirts','menswear','alfred brown','476blumdc','mpj864nap','red regal stripe classic fit','485blumscmed','ts13blk','464blu','msh715','white long sleeve','mens slim fit shirts','all mens shirt','474puwmdc','light grey shirts','478blymsc','mhk','brushed herringbone','msp701blk','mft423nab','self tie bow tie','mpf','button-down','449pbl','mps618blu','mti043','491navmsclge','mens polo short sleeved shirts','silk tie and handkerchief and cufflink','mens black trousers','436pblmsc155','brown trousers','251lgy','436pbl','check','green multi check linen short sleeve casual shirt','grey short sleeve','short sleeve shirts white cotton','mens striped shirts','penny loafer','474grwmdc','l','msh719','mft415brn','purple stripe','button down double cuff shirts','pleat','bengal black shirt','blue cufflink','plain black shirt','white collar blue','32 trousers','blue suit','red bengal','mft415','red and white check shirt','393mar','fancy bengal stripe slim fit formal shirt','grey poplin','optic','fringe','mti067','mti055','black herringbone button down casual shirt','blue bengal classic fit','shirts without ties','three button','white classic fit formal shirt','navy chalk stripe suit','011whtmdc165','packaging','pink slim fit','casual','mps618','461pblmss','charcoal grey trousers','mtc914blu','474blkmsc175','business suits','mft','499 nab','suede shoes','fleur','42','mps620nablge','light blue short sleeve','red flannel check','lts702crm','mtc913nar','479natmsc','011crm','383nab','time','434bln','mpj844','purple formal shirt','48','451','lps702tur','casual blazers','black bow tie','420lil','486blgmsclge','red white navy stripe button down short sleeve casual','mens round collar shirt','men suit jacket','mens fleece','mps','double two shirts','mfj215brn','navy polo shirt','478blymdc','mwc221blk','blue green flannel','grey slim','421blu','mti027','white round','red trousers','white cuffs','054','knot cufflinks','navy silk','026','blue end on end','481winmsc155','trunks','473lilmsc155','navy gingham classic','348whtmdc160','mti029yel000','navy white bengal','498','smart button down shirts','navy spotted tie','grey pinstripe','mens lilac shirts','red black optic silk tie','double two','sport shirts','mtc914pur000','mcj','476blkmdc','mens brown shirt','mti067blk','bold check','486blgmsc','mfj219','red stripe','19 short sleeve','blue white pink stripe','473lilmsc','348whtmdc155','blue pink','mens sleepwear','gold silk','276whtmsc160','pin for collar','indigo tie cufflink','06scgrn160','393marmdc','490rebmsc','country ties','462wrb','flannel soft collar','slim fit trousers','477nabmsc','432pnkmdc160','tailored fit','black skinny tie','blue and pink tie','reverse','392pur','foulard','stripe formal shirt','grey white stripe','fine bengal classic fit formal shirt','lilac slim fit','check tie','460blumss','bengal grey white','red slim fit shirts','designer suits','mwc222lgy','red bengal stripe classic shirt','42 trousers','black belt','433lil','497 green','fine bengal classic fit formal shirt red white','473blumdc','439navmdc200','charcoal trousers','brushed flannel','l shirt','mtc911','blue reverse bengal classic fit','casual short sleeves','16 slim','435pbl','mlp857purmed','brown chinos','18 shirt','silk suit','black gingham classic fit','green check shirt','oxford classic','slim blue','mcl939','striped shirt white collar','498grnmsclge','mens evening dress shirts','437pnk','mti039bwn','485blumsclge','brown slippers','pique polo','453blu','475pnbmsc','mti002','055red','053','057grn','tan shoes','jacket sizes','air force','442pnbmsslge','white non iron slim fit','mens underwear','bespoke boxers','satin stripe','307gry','silk formal shirts','navy yellow spot tie','grey italian wool trousers','494blumsclge','393marmdc165','mcl947sil000','blue gingham check','navy white','sample','mps623navmed','navy pyjamas','lilac striped ties','light blue','445linmsclge','blue shirts white collar and cuffs','business card','flat front','cream mens shirts','size 15 shirts','hairline bengal','blue prince of wales','mpj','mpf619narmed','mti059yel','472gry','414sal','477blgmsc','lilac classic fit shirt','mwc','mtc913','pink fine stripe','439navmdc170','white casual','navy stripe tie','chalk','477napmsc','845var','navy trousers','grey business suit trousers','mti053bln','green and white striped shirt','blue navy rugby shirt','reversable belt','grey fine stripe','442pnb','mcl939sil','classic fit shirts','mens long sleeve polo','grey bengal','black white dobby','knot','long','aft419','499 nar','shirts with white collar','mlp856redlge','blue pinstripe suits','short sleeve check','mti030','bold','gray','red white blue stripe','331whtmdc','gingham slim fit','pink white bold','blkmsc','extra long sleeve casual shirts','mti039rwn000','black cuff shirt','savile row suits','grey white','lilmsc','lilac classic fit','473redmdc','425roy','blue pink white','keyring','medium shirts','mlp857purxlg','mti065','mso923blk000','cut back collar','011lgymdc','mso922','mti015pur000','casual fit shirts','475pubmsc155','434blnmsc155','mti002nab','mti052pur','green pyjamas','cotton short sleeved shirts','white tshirt','poplin short sleeve shirt','pink white striped shirt','mcl949blu','bespoke fabric boxer shorts','mft413','check trousers','259nyl','485blumsc','slim gingham','mps617skw','blue and gold','mens yellow shirts','011lilmdc','soft stripe','mti053lin','blk','477napmdc','mti043blu000','white dinner shirt','italian suits','blue micro check','navy blue poplin pyjamas','black fine stripe','392purmsc165','grey pants','oxford shirt men','lsc141blu','421blumsc175','red white stripe bengal','red double cuff','mti065nav','mft424dgy034','silver grey white polka dot silk tie','white fitted shirt','mens short sleeve','16 1 2','463grnmsclge','mti049gry','blue yellow paisley silk tie','mti053red','499na','grey pleated chinos','mti063nav','navy pinstripe trousers','427lem','lsc116','38','473redmsc165','mti049pnk','ts13','short sleeve 17','short s','476purmdc','pyjamas tops','30 waist','mti028nag000','mti042blk','393marmsc','499narmsc3xl','polo shirt xl','mwc221','polo xxxl','boxer m','17.5 short sleeve','461pblmssxxl','men\'s dressing gown','mcl946','black t-shirt','mti029grn','mft428gry','461','mfj222lgy','mti056','stripe polo','045gry','462wrbmss','464blumss','mti010bly000','mcl941red','msh719blk','navy blue suits','447blu','473blumsc','mti049blk','black classic','savile','44 trouser','mti036tar','black self bow silk tie','short sleeve stripe','mti935sil','oxford shoes','423whtmsc170','red stripe with white collar','navy herringbone suit','450pur','422','mps615wrdmed','mft434nav036','blue bengal stripe','396wbl','lss136nav','silk cummerbund','011blumdx165','462wrbmsc','479nap','393pur','bold reverse stripe','mcj102navxlg','473navmsc','414dovmscxlg','linen short sleeve shirts','464grn','404blu','linen casual shirt','pleat front trouser','pink shirts short sleeves','851var','navy stripe suit','19 in shirts','mens warm shirts','278whtmsc155','poplin slim pink','madras shirts','check flannel shirts','463 grn','473blkmsc','medium boxers','262','red chino','hairline stripe','397blkmsc165','439lilmdc155','working cuffs','pink white gingham slim fit formal shirt','18 sleeve 2','437gry','438pblmsc160','014w','lts702','16 white','458wrnmssxlg','475blb','slim black tie','mti027blu','mti992blk','423whtmdc','msslge','251whtmdc160','419whtmsc','36 suit','single pleat','mens white short sleeve','black skinny','matching tie and hankerchiefs','non iron white','390narmsc165','mens casual','482purmsc','444blg','mls852blnlge','xl polo','287pnk','479nab','279blumss','280blumss','oxford short sleeve','276whtmsc','button fly','light sand flat front chinos','pink contrast','winter','423','mens button down collar','17 1 2 2','16 1 5','msh720','474re','mens under wear','460','mft409','classic fit poplin','486grbmsc','445linmss','size 15 1 2','mti005','mti037','mbe904blk','white cuff shirts','slim button','mfj220gry','463grymscmed','mens silk ties','mft409nav','navy purple','387red','379blu','396wlp','396wrp','2 button suit','390pur','297pet','390nav','257ngp','mfj220','mens short sleeve formal shirts','16.5 2','mps607brb','lilac shirt white collar','463blu','grey slim fit shirt','458','white collar an cuffs','cotton short sleeve','sky blue tie','404','mlp851','mlp849','silver grey','mlp850','navy handkerchief','lilac short sleeve shirt','394blr','mfj208','435navmsc','mfj219nav','435navmdc','single button suits','437navmsc','20 slim fit','mens polo','slim fit 15 white','blumsc','435navmsc165','gry slim fit shirts','white poplin shirt','mens shirts xxxl','mps616blk','011lem','mbo596var','286pnk','15.5 bespoke','348whtmdc165','pnb','472lilmsc','mti029','button down stripe shirt','pink bengal stripe','403wnr','mfj223','mfj218nav','438navmdc160','mfj217','853var','mens linen trousers','st19olv','lss136ras','011whtmdc195','462wrbmscxlg','34 chino','mps617','143','stripe with white collar','white reverse bengal stripe classic fit formal shirt','800whtmdc160','20 shirts','620nab','307lil','mfj224','mjs801','msh724brn','red hankie','mbo536','lsc151','458wrnmscmed','mcl939blk','short sleeve slim','286turmsc160','386red','lsc150','mbo609','251whtmsc165','mct304','mti004','lcl901nav','470bbb','slim fit shirts 17.5','479naymsc','navy blazer jacket','pink shirt button down','navy blue chalk stripe','smart button down','40 waist','black leather belt','mct 307 lts','suits 52','285gry','432purmdc185','275','455blumscxxl','477nabmdc','lss161','pink pinpoint','white collar blue striped shirt','226blw','mft428','226blwmsc160','390narmsc','474purmsc','426lem','pink shirts 19','251gry','419whtmdc','mct307lts','396wpbmsc','011blumsc','mpj853bln','seven','cotton poplin shirts','st02blk','18 2','830var','mti996','352varmss','mps618blulge','419','447blumscmed','mft420','436lilmss','392','mss','mti015blu','mct303','button cuff slim fit','mens short sleeve cotton shirt','1','301ngrmss','399grymsc','278blumss','solid ties','mti936pur','439redmdx200','mti031','386redmsc180','black cutaway collar','striped button down','red check lounge pants','479nay','251whtmdx','mti980nab','mti916nap','15 bespoke','251blkmss','455lil','259nylmsclge','430grymsc','15.5 short sleeve','blue multi stripe slim fit','size 10','20 shirts black','251whtmss160','297org','black button down','white underwear','415blumsc','black dobby','mti046','20 mens shirts','456','mti038','lss154bln014','mti034','436pnkmsc','cream poplin shirt','classic suit','mct301','381blr','plain light grey shirt','456orgmssxlg','mct304grn','mti026red000','mct304nav','331varmss','mft430nav','bengal navy stripe','392purmsc175','mfj209nav','387blu','417','471wht','stripes white collar and cuff','mbu801','msh714','mct306','463grymsc','lilac stripe','mlp820','251blumsc','mti030nap000','381grn','msh715blk','poplin classic','black white check','275crm','white blue check bespoke fabric sample shirt','mlp852bln','438pblmdc','white womens','mbt','439redmsc','425roymsc','slim fit poplin','275blumdc','444','key','414pblmsc','mti992sky000','415red','mti010gnb000','444blgmsc','226','mft424','mft424dgy','black polka dot tie','453blumsc','440blumdc155','cut','400','393','394','check lilac','265wgy','mpj855','442','mti028lil','429','450blumsc','10.5','436navmsc150','mti992hgr','455lilmss','442blgmss','classic 16.5','251whtmdx160','silk tie paisley','447blumsc','459','455lilmscmed','msuit32gry','mens wedding suits','mens white short sleeve shirt','mdg850ntg','303yel','449pblmsclge','438pblmdc160','397','433navmsc160','399','mft429nav','434linmsc','395wrp','msh701blk','brown jacket','mls819nav','443blumsc','461pblmsc','mbo607var','mens white linen shirt','387pnk','421blumdc175','mcl941sil','418blumdc175','011whtmdc160','mti031lew','461navmss','441grymdc','mti009blu','black oxford','425roymsc165','428wblmdc','su02wht','mbu802blk','purple white stripe stand-collar slim fit shirt','slim fit check shirts','439grymdc','mcl941gld','436lilmsc','331','452lilmsc','438navmsc','mfj','464pnkmscxlg','450blumsclge','mct307oce','463blumssxlg','purple white gingham','434renmsc','mfj227','420lilmsc160','441lilmdc','black linen','438lilmdc','gray trousers','stripe shirt with white collar','lsc141wht','432blumsc165','461navmsc','mti031lew000','slim fit cutaway','280mbl','455lilmsc','pink classic poplin','mls820','mcl944blu','madras check','456aqamsclge','msc 18','454grnmsc','blue linen','286tur','454grnmss','379blumdc160','417 nav','446blumss','463grnmss','lapel','mti010gnb','cotton mens shirt blue','mti026blu','blend','444blgmss','463grnmsc','436pblmsc','445blnmsclge','savile row co tie','455blumss','446whtmss','450blumss','453blumss','441pblmsc150','456orgmsc','251blumdc','mdg853bln','463blumsc','lilac chambray','mlp850ntg','lss139','shaded stripe formal shirt','ldc143wht014','445blnmss','mdg853','438navmsc170','mti046lil000','linen shirts for women','426lemmdc155','mfj229','lsc144pnk','427','251crmmsc','grey check','463lilmss','435pblmsc','lilac navy','mlp820blulge','classic stripes','447blumss','mls852bln','mti026bpk','438navmdc','437grymsc','blue multi check shirt','275blumdc155','linen cotton shirts','464grnmsc','mti992','mens brogue','442pnbmss','mti986blk','463grnmscxlg','clearance suits','251lilmdc165','251afbmdc165','251blumsc165','011whtmdc190','430gry','petrol','442blgmsc','lsc116mnt','button down check','ldc 143 wht','ldc143wht','439lilmsc','463grymss','443blumss','460blumssxxl','mti047bly000','multi','mti992sky','orange boxers','poplin white','438navmdc155','mft431gry036','lsc144blu','lsc131wht','msh704blk','msh722brn095','014whtmsc160','grey pinpoint','mcl940sil000','396wlpmsc165','307grymsc170','251whtmdc165','msh718brn105','mhk907','223blkmsc165','mens dinner jacket','399blkmsc165','lsc148blp','223blkmsc160','lss139lil','285blumsc155','280grn','lss151blu','mti037red','plain black','mens pinstripe navy trousers','green women\'s short sleeve t-shirt','mens polo shirts xl','pink cotton shirts','304blumss','mft419nav036','blue red white short sleeve','34','456aqamssxlg','395wbp','straight leg','men\'s short sleeve casual shirt','441lilmsc','check button-down','mti992roy','mct301nav','mhk907nab','439blumdc175','button down check shirts','446','pink polka dot tie','lss136wht','379blumdc','blue fancy bengal','441pblmsc','mti043pur','black cut away collar shirt','short sleeve blue shirt slim fit','278whtmsc175','grey jacket','linen checks','388pnkmsc155','275lilmdc','light red button down shirt','276whtmsc175','pnk','432whtmdc','mens grey suits','mens t shirts','gingham slim fit formal shirt','16.5 cutaway','navy and blue check oxford','business','slim poplin','mti037nal','mct305lts','mlp849grn','shoe 9.5','396wblmsc160','mcl942pur000','450purmsc','251blumdc160','grey formal','l lounge trousers','432grymsc175','435grymsc','short sleeved gingham','slim fit suit jacket','416','mens lounge shorts','cotton twill trousers','blue gold paisley','386liw','slim non iron','mti026nav000','lilac paisley','pink poplin slim fit formal shirt with white collar and cuffs','388','mti009stl','mti009stl000','mens t-shirts','mens tshirts','light pink','orange blue check','canvas','mct302lsd','450blumssxlg','mkw504grn','011lgymss','navy italian wool single pleat men s suit trousers','402blumsclge','439blumdc','sj03','lsc140roy','388nav','395wlpmsc','mct302cho','black bamboo','414red','251whtmsx16','mti040nag','mcl933','278 wht','pink boxers','717blk','46 suit','slim fit shirts 16','280mblm','436lilmss175','short sleeve shirt 17','piece','bespoke 17','pink bengal','432whtmdc170','mfj213','mfj213nav42r','navy paisley','leather oxford','woven silk tie','pink white check shirt','mcl940','16 cutaway','441grymsc160','16 black','slim fit 2','392blu','425roymdc175','lss161pnk','38 jacket','426lemmdc','15 bespoke shirt','849var','black 15','mct301nav36l','lps701','386rewmdc165','395wlp','lilac cufflinks','lct401bwp16r','386blw','bengal slim','434blnmsc','business suit trousers','304blu','classic suit trousers','mens robe','mps613puw','mti031naw','crew','lss127nav','391naw','mti028roy','black stand','round shirt','mft405','lss','mti033yel','lilmss','classic trousers','grey wedding suits','396wblmsc','lge','400grymdc','blue bespoke shirt','388pur','mps616wht','msh726brn','391blwmsc','short 18.5','279red','mfj211','green and white','black cotton','425lilmdc','shirt 17 1 2','stripe pique','green boxers','251whtmdc150','purple white','grey double cuff shirt','306lts','286','395wpb','lilac stand','386liwmdc','251 wht','pur','st17nav','white slim fit 17.5','12','386lil','classic shirts 16','mps602','296whtmdc155','902blb','443blumscxlg','blue white reverse stripe','msuit26nav','mti031blu','818var','mps611jeflge','437pnkmdc','mfj224dgy','212varmscsml','mft423','blue fitted shirt','426varmsssml','lsc129','864var','300ngrmss','394blnmsc','400whtmdc170','grey formal shirt with white collar','307lilmsc','mpj841narlge','purple polo','lsc136','279yelmss','navy silk tie','851varmsc160','st19nav','mkw506','lsc140','mdg845wht','280mblmsslge','390','blue white stripe button down oxford','mbo584','mens blue shirts','mti958bpk','400blkmdc165','389nar','mps616sky','mps615wrdsml','mls820blulge','mti986lil','mti016pkl000','pink formal shirts','mti024lil','pink bold check','button down 17','mens non iron shirts','398blkmdc170','navy savile row company classic button cufflink','304blumssmed','lsc126wht014','black slim','402wht','mti017blr000','light beige chino','black slim stand','smart casual shirt','416blumdc195','grey boxer','mpj838red','386bwt','388navmdc170','415','whtmsc160','910blu','woven silk tie pink','011whtmss165','405nav','386blkmsc','mti030nar','lsc138','349rob','18 white collar','349nav','mps611sal','striped boxers','349pnk','387','var shirts','019','15 1 2 slim fit','mti027nap','912blu','907blu','917blu','mti702nab','909blu','392navmsc','385naw','neck 16','mti027nab','grey men\'s 2 button slim fit','pink twill','mcl939lil','lsc137','bespoke green shirts','bespoke sample shirt 15.5','mbo231','msh717blk008','011whtmsc175','black poplin','mps614cfl','15 fitted','385','lss125','mps611','395wbpmsc','011navmdc165','386nawmdc','mti017blr','mti009kng000','mti002nay','mps614redlge','395wlpm','387nav','mti009dlc','msh717','910','mti002nap','casual washed oxford','yel','892varmsc165','405navmsc','400blkmdc','mti023wbn','light pink shirt','stripe silk','386blu','386redmsc','401wblmsc','402whtmsc','403wnrmsc','394lrnmdc','414navmsc','394blnmdc','389navmsc165','short sleeve size 17','394blrmsc165','014whtmdc','mlp825','mti036brd','shirt collar size 18','navy green check','408kirmsc','390navmsc170','mcl918','011blumdc165','407tarmsc','slim fit sleeve 2','416 blu','mti017nay000','gray cut away','two faced check','lsc137blr','16.5 black','lps703','mhk906blk','386blk','2 long','404navmsclge','savile row mens black','385lilmsc','two faced check shirt','393purmdc','413navmsc','910blumsc','white dobby','superfine 17','396wlpmsc','404blumsclge','16 superfine','415redmsc','409kirmsc','395wrpmsc','412winmscxlg','mti020pnk','358yel','pinstripe jackets','414salmsc','mbu802nav','mti034blu','386rewmdc155','386blwmdc','385liwmdc','mps609gin','mti035nyr','393purmsc','307grymsc','classic fit grey shirts','sj06gyb','426','mti032pur','washed chinos','414redmsc','386blumsc','915blu','sophisticated stripes','386bwtmdc','mbe902blbmed','414dovmsc','394blnmdc170','411blumscxlg','mti002nar','black lace-up oxford brogues','405navmscxlg','211ssnav','crease','knot silver','mpj841nar','011fblmdc175','blue superfine','307grymsc165','white collar and cuff 16 2','867varmsc170','872varmsc160','280pbl','mti029gry000','red check brush cotton pyjamas','purple tartan tie','mti017reg','mti016nap000','349','mbo510','246grd','mfj227nav044','grey stand collar','blue soft stripe','mti026clt','mfj216bwj','414mblmscxlg','purple white gingham slim fit shirt','276whtmsc170','mpj841narxlg','pink fancy bengal formal','slim fit 16 2','40s','316pnk','mps609ginmed','striped button down collar','collar size 15','mps611jan','390purmsc','blue multi','815var','two piece suits','15 1 5','clasp','slim white 15','grey two-button','336','385bwtmdc165','purple multi cutaway collar','401wblmscmed','16 red','sample 16','mdg823','16.5 long','390navmsc','15 1 2 collar','grey white collar','lct401bwp14r','139var','388purmsc','107var','navy spot','shirt 17 sleeve 2','288cormsc','405navmsclge','mti028gry','385blwmdc','394blrmsc185','navy twill','mkw505grn','mft405nav','mti009sal','st10nar','white slim fit extra long sleeve','848var','mcl930','mhk905nap','su01blk','343mntmss','black cutaway','lsc138red','mct302nav','825var','385navmsc165','white dress','385rew','738var','superfine fitted','343mnt','mens rounded collar fitted shirt','387blumdc','mens fitted shirts','mti996nag','360varmss','288bbl','324varmss','387pnkmsc','mdg818blu','mdg823blu','mdg830','navy blue paisley tie','387blumsc','819var','men\'s slim fit suit jackets','mps602pnwlge','poplin dressing gown','388blumsc','869var','341nat','mcl938nay','280pblmss','388navmsc','navy dressing gown','mdg848wht000','crest','navy cord','clearance white','385blkmsc','400blkmdc150','mps612mgo','st24','mbo113var','plain pyjamas','276grymsc','822var','mti029lil','mkw','white mens robe','pin dot','twill boxers');
/* $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);
    }
