/* Popular phrases - FRANKLIN - 18:39:8, Fri Nov 20, 2009 */
__SLI_ClientDefaults =
[
    ['Alignment', false ],
    ['ShowBrandingFooter', false],
    ['BrandingFooterTitleTooltip', '']
];
var asPhrases=new Array ('scd-2100','scd-1870','ebookman','bes-2100','spelling ace','mwd-1490','tga-490','speaking dictionary','dbe-1500','bes-2150','tga-495','nid-260','bes-1850','dbe-1490','bookman cards','mwd-1500','scd 1870','spelling corrector','lm-6000b','scd-1890','bes 2150','scd 2100','bes-1890','scg-1870','bookman','mwd-460','mws-1840','bib-475','nid 260','kid-1240','tg-470','sa-206','childrens speller and dictionary','tes-121','crossword puzzle solver','french-english dictionary','fqs-1870','pen','2100','spanish english dictionary','bes 1850','bib-1450','mwd 1500','sa-309','ebook reader','encyclopedia','tg-450','cwp-570','scd 1890','tes-118','chinese english translator','dmq-1870','scd2100','bes1850','tga-470','thesaurus','bes 1890','speller','bible','bes2150','kjv-570','hw-1216','bes1890','bes 2100','reading pen','dbe 1500','tes-120','electronic dictionary','russian','tga 490','rk-8201','spelling ace with thesaurus','rt-8015','french','1850','bsi-1900','kid 1240','electronic bible','scrabble dictionary','mws 1840','arabic','bes-1240','english spanish translator','scr-228','unabridged electronic dictionary','children','reader','sudoku','sa-206s','bes2100','mwd 460','wp7500','spanish','crossword puzzle dictionary','1890','dbe 1490','mwd 1490','oec-570','language master','scrabble','mwd-440','oxford','scg-787','rk-8203','ncs-101','spell checker','1500','1490','ebm','portuguese','franklin spelling ace','spelling','scd1870','adv-2002','oxford english dictionaries','twe-118','spanish english electronic translator','rolodex','portuguese english translator','nyt-570cwd','italian translator','carry case','dbe-1470','bds-1880al','dbe 1440','lm 6000b','dbe-2020','rolodex electronics organizer','bfq-450','niv-570','children\'s speller','ssb-210','tga-490r','talking dictionary','chinese','crossword solver','speaking english dictionary','tga 495','1470','translator','sa 206','tes 118','japanese','arabic english dictionary','cpen20','speaking spanish english dictionary','speller corrector','bookman 2','arabic english electronic dictionary','spellchecker','scx-1870','e-reader','tga495','speaking','spanish translator','c pen','german','anagram','rl-8221','medical dictionary','1870','english russian translator','bes-1840','bes-1850-bl5','dbe 1470','websters third new international dictionary unabridged','english french french english','oxford advanced learners dictionary','bsi 1900','cwp 570','scg 1870','speaking spelling ace','talking speller','tes121','spb-470','lde-1900','pagemark dictionary','scrabble players dictionary','bes-2019','mwd 1440','math','1240','i-pen','tga 470','1890 merriam webster','c-pen','dbd-3040','sa 309','mwd 440','kjv-450','scd-1870-bl6','ltg-007','mwd-1440','450','franklin speller','bookman spanish english','phonetic spell correction','scg1870','mandarin chinese','best','unabridged','scd-787','enc-4047','dictionary thesaurus','french speaking dictionary','12 language global translator','sat-2400','lde 1660','bes','unabridged dictionary','quicklink-pen elite','talking spanish english dictionary','lm 6000sev','italian','bqc-2021','speaking speller','dbe-1490r','collins','children\'s dictionary with spell correction','webster\'s third new international dictionary','kid1240','scd 787','bible cards','greek','collegiate dictionary','lm-6000sev','german english','kindle','dmq 1870','language master 6000','speaking translation spanish english','nid','e-book reader','dbe-1440','dmq 1490','tes 121','franklin speller products','childrens talking dictionary','scd','sa-209','c-pen20','kids','12 language translator','kjv 570','herold','case','twe 118','lm 6000','adapter','mwd-1470','spanish bible','speller dictionary','organizers','cpen','dutch english translator','bible dictionary','polish language','english to spanish dictionary','english arabic','mobipocket reader','ace','2150','voice recorder','ereader','tg 470','norwegian','turkish','eaf430tx','bfq-470','french english','ncs 101','atp','opd-540b','puzzle','sa 206s','book mark dictionaries','spanish-english translator','communicator','larousse french-english dictionary','rk 8203','webster','english language trainer','oliver sacks','speaking dictionary phonetic','309','franklin 2100','speaking spelling bee','kjv','speaking language master','bookmark timer','english spanish spanish english','kids dictionaries','spanish bookman card','franklin spelling products','gds-2026','japanese english translator','jumble solver','portuguese-english','speaking thesaurus','1840','merriam-webster intermediate electronic dictionary with thesaurus spell correction','nyt 570','dictionary english-portuguese','dbd-1660','hebrew','mwd-1450','1900','spelling bee','swedish english translator','french dictionary','translator with speaker','dmq-119','490','mwd','french translator','word games','mg-6804d','cards','bfq-3033','french-spanish dictionary','rolodex e-z file','portuguese-english dictionaries','french speaking','bfq 470','valkyrie','eaf430','mwd440','206','lde 1900','connectivity','kids spelling','oec 570','fdl-1030','rdc-525','spb-2053','dyslexia','bookman dictionary','duden','longman mobipocket','translator 6 languages','1450','mws 840','arabic talking dictionary','phonetic spelling','ultimate reference suite','kjv 450','dbe','bib 475','lwb-1216','tes 120','spellmaster','speaking ace','merriam-webster','brain training','english turkish','bookman 2 cards','king james card','ebook-man','bib475','sa-207a','english-russian translator','speaking spanish','tg470','accent master english','twilight','bcd-4','franklin ebookman','scd-1890 dictionary','adv 2002','spq-109','mg-6803d','mws-2018','niv 570','kjv570','advanced dictionary','c pen 20','robotics','dictionary','cst-180','professor','swedish','arabic translator','electronic readers','twe-510','cbc 100','oald-3054','bmc-4','audio books','cryptomania','latin','pc link','language translator','danish','5 language translator','french spanish','business','dutch english','gm-000-bl1','dmq-1490','msb','super pen translator','bib','korean english','oxford electronic dictionary','sat','rt 8015','787','nursing ebooks','hp-10','bds','1660','superpen translator','chinese translator','enc-2046','seiko','brain partner','twe 119','bql-2066','collegiate','5 language','bds 1880','english-spanish dictionary','ectaco','talking speller dictionary','wc126','dmq-570','franklin bes-1840','read with me bible','bookman card italian','address book','unabridged english dictionary','used electronic bible','e e smith','texas holdem','greek english dictionary','franklin tes-121','talking spell check','franklin ace dictionary','castle','esv','capote','dbe-1470-bl1','dbe-1450','eaf','the feinting of hurricane mendel','lm-6000','nyt-320sdu','csb 1470','121','speaking 1870','speak 2100','tga','scd 1870 bl6','german english professor pro','page mark dictionary','wc','word builder','8015','webster\'s spelling corrector','6000b','quick pen elite','nyt-540mw','bib 1450','cbc-100','franklin mwd-460 merriam-webster dictionary and thesaurus','reverse search','hebrew speaking','harrison medicine','czech','medical','children\'s oxford dictionary spell checker','sed-2050','mandarin-english','word builder game','bl6','209','ti83','ebookman os 2.0','c-dictionary','organize effort','e-bibles','crosswords jumble solver','franklin\'s merriam-webster dictionary w thesaurus and spell correction mwd 460','english-polish','vivir para contarla','perseverance','return authorization','french to english dictionary','english bookman','goal setting','tga-490 12','rhyming dictionary','electronic e-z organizer','merriam webster\'s unabridged dictionary','fdl-1010','kjv niv','spelling help','learning disabilities','reading pen ii','pics','travel adapter','translate from english to spanish','hindi language','model mwd 440','vince flynn','kjv450','planners','arabic to english','sib-1240','119d','brain','calculator','bookman bible niv','5 language european translator','vietnamese','scg','dbd-2015','readingpen','wp','bible on cd','bible be-attitudes','timer','calendar-planner','repository','dbd-440 g','bookman expandable','gourmet','12 language','spelling ace sa-209','dictionnaire francais','exchange rate','russian dictionary','love letters','gr-t7000','super pen','dmq 570','101','crossword','lde-1660','spanish bookman','complete jewish bible','scg 787','english to english dictionary','harrap s speaking french','470','mwd-2001','gwh-2055','nursing','hw 1216','compact oxford english dictionary','ponder awhile','thai english','fqs','czech english','oxford dictionary','cornwell','austria','responses','dmq 118','promotion','speech recognition','childrens spellchecker','franklin speaking dictionary','language translator arabic','quicklink pen','bjp-2034','dbj990a','nyt-100set','495','readingpen basic edition','english to spanish','rmb-2030','collins bradfords crossword solver','concise columbia encyclopedia','franklin advanced dictionary and thesaurus with spell correction','speaking japanese','crossword solver and thesaurus','dutch','franklin language master','mmt-50','electronic scrabble dictionary','german english dictionary','sa-309 user\'s guide','audio bible','kit','merriam webster mwd 1450','yahoo','new king james','5000 year leap','mws-840','e-z file','sa','ecology','farsi','bible ebooks','languagemaster','hungarian-english','franklin scd-1890 speaking merriam-webster\'s collegiate dictionary 11th edition','franklin bsi-1900','hp10','quicklink','dbs-2','franklin bes-2100 speaking spanish-english dictionary','franklin spanish english translator','nyt-340brn','iphone','french speaking card','spanish-english dictionary','franklin bes 2100','french spell corrector','walk two moons','go into more depth','db-j990a','dictionary carry case','crossword dictionary','spanish english','arabic to english dictionary','franklin scd-1870 speaking 11th collegiate dictionary','swedish english','bes 1240','franklin\'s children\'s speller dictionary','speller with dictionary','korean translator','dictionary translator','pen translator','anagram game','global translator','hbd 1450','nutrition','russian turkish english translator','bib1450','spanish dictionary','star trek','english portuguese','expandable','italian english dictionary','6000se','merriam webster usb','new international bible','french-spanish','the shack','kjv 1450','spanish-french','speller for kids','hold em','english english electronic dictionary','global translator tga-470','collins english dictionary','twe-119d','french english dictionary','sat test','kjb-2003','wgm-2037','download bookman','sa 209','franklin speaking merriam-webster collegiate dictionary 11th edition scd-2100','tpq109','gr-m6000','for kids','mws','interdependence','rk','speaking reading pen','heritage','red dragon','user list','french touch screen','niv bible','spell correction dictionary','pocket prep','spb 470','bookman iii','scd 210','new international card','bfq','english-french','mp3','german-english','dbp-2076','bilingual dictionaries','e-z file pro','german dictionary','idioms','anagram solver','dbd','franklin tg-450','electronic concordance','intermediate','dbd 1660','welsh','bilingual translator','mws-1850','french english larousse','microcontroller','spanking','4mb bookman expansion card','order status','mark my time digital bookmark','limp nose','electronic puzzle solver','dictionary with organizer','french spanish translator','talking','children\'s talking dictionary spell corrector','csb-1470u','legal terms','460','accentmaster','hangman','speaking spanish translator','bfq 3033','franklin scg-1870','rolodex rk-8203','fight club','english-german','207a','pocket oxford english dictionary','woodworking','psp','electronic dictionary english french french-english','mobipocket download','act test prep','translator with dictionary','franklin bes','spanish-english electronic dictionary','bes 2019','international dictionary','crossword puzzle','hungarian','tg 450','student dictionary','law dictionary','speaking dictionary thesaurus','jumble','scx','english spanish card','english to arabic translator','mws 2018','princeton review','ssb 210','birds','derivations','new york times bookmark dictionary','swa001.1b','sa 207a','speaking electronic translator','learning how to speak spanish','bible questions and answers','sale','coupons','hindi','blind','spell dictionary','german english pro','etymology','franklin scd-1890 speaking merriam-webster\'s collegiate','talking dictionary and spell corrector','phone book','8203','119','pharmacology','american history','bes-840','intermediate dictionary with spell correction','puzzle solver','gps','franklin dmq 570','previously motor skills','merriam webster international','danish translator','philosopher','bookman 2 speaking dictionary','advanced learners dictionary','mmc sd card','franklin speaking merriam','speaking french italian translator','synonyms and antonyms','scd 1890 dictionary','midnight\'s children','angels and demons','1870 series','cet-2073dl','third new international','learn spanish','speaking translator polish','english dictionary','franklin merriam webster advanced dictionary and thesaurus with spell correction mwd-1500','palm expansion card','mwd 1470 expansion card','quick pen','merriam webster','wine master cartridges','lm6000se','lde 1900 e','scx 1870','turkish russian english','sa-207','franklin speaking speller','mobipocket','118','vocabulary','anatomy and physiology','king james','arabic french english','english-spanish','260','code of conduct','phrasal verbs','how to use it','translator including arabic','warrior cats','dmf','holy bible kjv','franklin bes-2100','american gods','tpq-109','italian card','dictionary software','dbd-440','mobipocket pro','bookman german','kj-21','english-hungarian','da vinci code','aaa batteries','ultimate handheld bible library','gib-470','gaelic','lpl-1000','psychology dictionary','mysql','franklin mwd-1500','herbal medicine','rhyme','11th edition','note','twe 119d','drug book','ssa-2085dl','advanced dictionary and thesaurus','ssb','children speaking dictionary','spelling ace pro','tg 490','holman','franklin dictionary','scr 228','crossword game','bes-1845','franklin spanish english dictionary','data page','franklin merriam-webster\'s collegiate electronic speaking dictionary and thesaurus','terry pratchett','baseball facts','franklin master','times crossword games','flashlight','reading','1880al','talking thesaurus','children speller','e book reader','cwp','bfq 450','franklin merriam-webster\'s collegiate dictionary 11th edition speaking','fractal','csb-1470','french dutch','csb','spanish language learning toolbox','english to spanish translators','monolingual','promotional code','clarity','compatible','collegiate dictionary thesaurus','1880','franklin conjugation','classmates phonetic spell correction','399-b','collins dmq 1870 english dictionary thesaurus','mg-6803','speaking french-english','astronomy','ac adapter','dbe-440','franklin speaking spelling ace','english in your pocket','toefl','sidekick','check','franklin 1240','arabic electronic dictionary','cook','cp-20','merriam webster collegiate dictionary 11th edition','world travel adapter','merriam-webster dictionary thesaurus','bill reader','advanced learner','merriam websters collegiate dictionary','french-english','webster international','skross','merriam','speaking spellchecker','polish','quicklink-pen','collins dmq 1870','writing','german speaking translator','agatha','usmle','french-english bookman card','america alone','cfa','christie','bds-1880','quicken','synonym','sat dictionary','dbe-2020dl','franklin bes-2100 desktop speaking merriam-webster spanish english dictionary','spanish to english english to spanish','bible study spanish','advanced english dictionary','bds-1840','spell corrector and puzzle solver','tg-490','medical cards','german english translator','advanced thesaurus','speaking german','plab','punctuation','express','bes-1850-bl6','multi-media cards','440','chips','franklin webster\'s spelling corrector plus','talking bible dictionary','grant','dictionary&thesaurus','tg450','electronic crossword puzzle dictionary','newest electronic dictionary','bookman slot','french bookman card','voice spell checker','franklin scd-2100','santa biblia','korean','twe-118 5','bible software','mission','french spanish dictionary','iran','speaking cards','google.com','franklin sa-206','fqs 1870','qts-2040','e-bookman','franklin mwd 1500','dictionary bookman card','spanish english dictionary thesaurus','outliers','speaking portuguese','collegiate dictionary speaking','text to speech','games','lao','think and grow rich','bartletts quotations','spanish english bible','flogging out','jews','franklin oxford pagemark dictionary','diccionario parlante','physiology','collins cobuild','smartphone','brave','backlight display','language master special edition speaking dictionary','electronic thesaurus','blink','light','interracial','mythology','spanish-english','kid-240','english-italian bookman','franklin handheld','niv card','robert parker','french professor','franklin scd-2100 speaking dictionary','chinese to english','arzneimittel','children\'s','12-language global translator','206s','new york times crossword','nyt-340','erotica','franklin tes 121','scr','dewey','semantics','cd dictionary','keeping you a secret','speaking dictionary encyclopedia','p312-01-0240','english german spanish','talking spellchecker','gm','english german card','gogol','arabic english spanish','spelling correction','dbd-1440','parallel holy bibles with holman bible dictionary','ingles en su bolsillo','franklin bes-1850','the princeton review prep','photography','tai chi','bqd-210','samurai','bee','desktop dictionary','quotations','bartender','english-chinese translator','n i d 260','preston child','esperanto','english-vietnamese','twl','proximity','speaking bible','opd-540','new franklin electronics speaking dictionary','#1890','checkbook calculator','thesaurus spellchecker','euro translator','confusables','kjb','english-dutch translator','van dale','matchmaker','tg','ny10-1','german electronic dictionary','phonetic','strongs','britannica','bes 1850 bl5','grammar','elite','databank','next century','franklin speller phonetic','korean-english','bookman bes-1840','twe-100','speaking german english dictionary','picture','dcn-290','english italian translator','spq109','ufo','12','french german','headset','speech impaired','concise columbia','nypd','fdl','need the size','scd-1870 merriam-webster','talking spell corrector','translator french with audio','franklin hw-1216 children\'s speller and dictionary','business dictionary','model mwd-1450','franklin spelling corrector','battery cover','phonetic speller','228','discount','a brother\'s journey','oec','arabic to spanish','trade in','deutsch englisch','speaking products','emg 2006','chosen','title','twe 119 d','600','slovene','new moon','the book thief','talking franklin spell checker','speaking oxford advance','arithmetic helpers','speller with thesaurus','oald','franklin bes-1890','bookmanii','holman bible dictionary','electronic dictionary and thesaurus organizer','english dictionary and translator','sm-1000','seiko encyclopedia','biochemistry','emg-2006','toeic','television','bes 189','fundamental','quran','bookman card mwd 1450','franklin scd-1890','english-italian translator','phonetic spell corrector','visor','franklin\'s ultimate portable reference suite scx-1870','tales for ever','logistic planning','sc-120','3040','digital data protection','french verb conjugation','classmates','franklin tg-470','3033','mad libs','conjugation','help with reading','finnish','english-japanese','desk companion','speaking german-english dictionary','kurt vonnegut','interpersonal communication','executive organizer','the left hand of darkness','language teacher','franklin merriam-webster speaking dictionary and thesaurus','electric','phonetic spell correction dictionary','franklin electronic dictionary and thesaurus organizer','mg 6804d','republic act 6977','professional','german translator','dsm-iv','tabers','harraps','2029','am-011d','genesis','franklin mwd-1450','spelling pen','talking spanish english student dictionary','downloadable bibles','ghana','need to know','margo snyder','technical english','the wonderful lamp','save her son','spanish games','1860al','gingerbread','pushkin','ashes of roses','bartletts','bosnia','ipa','lora leigh','2009 calendars','franklin merriam webster electronic dictionary','franklin scd 1890','dataguard','british','400','dictionary and thesaurus organizer','bookman french english','reference','speaking dictionary with spell correction','bhagavad gita','merriam-webster collegiate dictionary','spb','147','britannica concise','user guide mwd-1490','english-dutch','p.d 856 code on sanitation of the philippines','dictionary french-german','amelia earhart','collegiate electronic dictionary','plants','reina valera','thai bible','ultimate','best-1890','hernia','cache','legal','speaking spanish to english','symbian','franklin scd-1890 merriam-webster\'s collegiate dictionary 11th edition','tpq','cv','global travel translator','golf','turkish russian','evangelie','grammer guide','deutsch english translator','bes-2019dl','advanced phonetic spell correction','mwd 2001','parkers wine guide','handwriting ace','dictionary of phrasal verbs','german to english translator','yoruba','learn-a-verse','speaking spanish dictionary','mendoza','french bookcard','c.i.a','understanding economics','oxford pagemark dictionary','set','bipolar','diccionario','english english speaking dictionary','student translators','chemistry dictionary','bqf','ecstatic','stephen covey','bookman card mws 1840','deception point','popular american culture','electronicbible','the god of small things','wifi','franklin scd-1870 electronic speaking dictionary','dictionary volume','catalan','qts','serial killers','world war','translator english russian polish','romance','strong bible','biology','calorie calculator','french-dutch','grammar guide','theology','electronic anagram','plagiarism book','fecal','bookman 1840','pharmacy','bsi','luxury fever','franklin language master dictionary','electronic holy bible','speaking encyclopedia','electronic checkbook','portuguese german translator','grt7000','james lee burke','smith bible','speaking spanish-english','inferno','tep','etiquette','on life after death','braille','english spanish speller','bsi 190','franklin speaking merriam-webster portuguese english dictionary','zulu','play','blackjack video poker','ncs','franklin spanish english speaking dictionary bes-2100','language trainer','speaking portuguese-english dictionary','spanish spanish dictionary','john grisham','speaking global translator','french turkish','children spelling aces','spaans','for children','exodus','e bible','franklin bes-1850 speaking spanish english dictionary','card mwd 1440','franklin 12 language speaking translator','cvoice','element table','opd 540','mercedes lackey','mwd-149','maps','power system','tattered tom','mark','lee child','bookman japanese','king james book card','franklin electronic dictionary thesaurus','french to english','gre','nederlands','english and french talking franklin','english-french dictionary','jvi 1450','serial','oald 3054','english-chinese','scd 1870-bl6','spelling age','talking spanish english','correctorplus','dead until dark','outlet','hvac level 2','opd 540b','english to italian speaking translator','gift','franklin speaking language master','ced-2031','franklin scd-1890 dictionary','executive dictionary','elementary','iib-1240','logistics','spelling thesaurus','enc 4047','handheld electronic speller','longman','mg 6804','eaf-430t','dbd 2','kjv bible dictionary','franklin spanish english dictionary merriam webster','english spanish russian','cherryh','cassette','unfamiliar words','franklin translator','bookman mwd-1440','franklin scd 2100 dictionary','dune','hypno','spanish bookcard','cobuild','breaking dawn','sa-206-s','ultimate reference','john steinbeck','compact','meaning','spanish english dictionary bookman','pinyin','smith','merriam-webster\'s dictionary','kj','mer','dead and gone','smoking','unit with two player anagram games i n it','traits','world atlas','franklin scd-1890 speaking dictionary','matthew henry','orwell','rich dad','bookman books','new york times sudoku','speaking english to french','ssb210','bookman kit','tg-115','jack vance','with verbs phrases','speller and thesaurus','b-475','spanish-english dictionary bes-1890','harry potter','wine','bengali','semper fi','bible study','revolutionary road','jvi','m-w dictionary thesaurus','valley of silence','gift card','children french english dictionary','bookman bes-840','harrison','blue book','independent platform','collins 1870','parallel bible','speaking language master lm-6000b','five language','le petit larousse','franklin pen','scotland','bookman german english','cribbage','j a jance','the diary of anne frank','parsing','p.d 856','firewall','scd franklin dictionary','speaking merriam webster','crosswire sports trivia','sarah dessen','lewis','e pen','merriam-webster pocket english spanish dictionary','neonatal sepsis','german to arabic','the princess of the golden bees','nursing manual','idioms dictionary','power by deception','franklin 1490','sign language','speaking language master special edition','franklin spanish-english speaking dictionary bes-1850','halo','consul','memory games','english german portuguese and spanish','oxford advanced','children oxford dictionary and spell checker','packard','franklin merriam webster\'s collegiate dictionary','language learning','biblia reina valera 1960','fltp-100','children spanish dictionary','nietzsche','merriam webster 1470','paintball','we','christian fiction','franklin electronics scg-1870','catcher in the rye','speaking english','cussler','franklin pc view','ludlum','gulf war','test prep','fdl-1020','king','franklin bib-1450','speaking english english','pretend mom','world apart','cbc','spanish italian french german portuguese','books for kids to read','spelling ace spelling corrector','lds-mormon scriptures','essential reference','karate','cognitive behavioral therapy','children\'s dictionary','franklin electronic thesaurus','you speak into speller','kresley cole','pray','ipaq','cognitive','peru','rhetoric','secrets of mental math','let nature take its course','electronic english spanish','franklin bes 1890','size','iguana','king james bible','sail','innovation','bradford','bartlett\'s familiar quotations','english monolingual dictionary','how to','franklin electronic','california','gr','litton','scd-1870- bl6','facebook','moop','geography','vulcan\'s forge','sadako','franklin mwd 1440','portugiesisch','merriam-webster spanish english dictionary','crochet','franklin bes-1850 speaking spanish dictionary','clarispeech','rolodex file','lds scriptures','bar','spanish to japanese','pocket prep t','the snalfrockys','depression','concise oxford thesaurus','spanish and english dictionary and grammar tutor','czech-italian translator','dictionary&thesaurus mwd-1490','scd-787-bl6','spanish book card','dictionary books','evidence based cardiology 2nd edition','electroniccrossword puzzle','endymion','portuguese spanish dictionary','merriam-webster\'s intermediate dictionary','go ask alice','rogue angel','rendering provider','bookman r','english language learner','the fiery cross','spanish books','sumerian','franklin tg450','franklin speaking and spelling dictionary','misquoting jesus','teach me','dictionary definitions','spanish spelling ace','meyer','psat','summa','tutor','le robert nomade','measure','displays','mws-2018dl','illuminated dictionary','franklin sa-206 spelling ace with thesaurus','security','franklin speaking dictionary bes-1850','electronic dictionary of french for an english student','tom clancy','two way pc data transfer feature','t7000','risk management','charlottes web by eb white','botany','dictionary thesaurus with comprehensive reference','dutch german','cst','plus','t-470','sanskrit','fitzgerald','jodi picoult','spanish-english communicator','theorem','franklin spanish english dictionary bes-2100','letris','bookman thesaurus','hemingway','tga 49','picoult','beat','douglas adams','dragon','data','ccna','dictionary thesaurus card','cosmology','the bell jar','spq','franklin electronic spelling ace with thesaurus #sa-209','electronic dictionary larousse','social work','best dictionary','speaking spanish english','inland resort','the times','manga','franklin mwd-440','medicinal plants','baldacci','quechua','speak japanese today','mcnab andy','electronic word jumble solver','french teacher','r.a 8553','pygmalion','pons italian','dictionary-audio with french','tg a-470','french speaking language translator','criticism on ibsen dramas','speaking collins english dictionary','spanish touch screen','orson scott card','spanish greek translator','creativity','franklin electronic merriam-webster dictionary thesaurus','bradford\'s crossword solver','mary janice davidson','franklin 6000b','suicide','sign language translator','deduction','tmd-2014','franklin electronic speller','kotler','franklin speaking language','something else again','theme','werewolf','mwd.1470','dark tower','brockhaus','mmt','spq 109','hoot','diana palmer','scd-18','caught','founding brothers','franklin mws-1840 speaking merriam webster dictionary and thesaurus','merriam-webster pagemark','franklin 1900','death by latte','stabbing arrest','harry harrison','french corrector','intellisync','solve jumble','patricia briggs','db-j','faithful','contribution','spanish-english english-spanish','children\'s spell corrector','portable reference suite','bl5','gone with the wind','tpq 109','conjumania','letter poker','english to norwegian','dbp','franklin sa-209 spelling ace thesaurus','rdc','surgery','playing easy to get','toxicology','dent','usmle step 1','obama','franklin scd-1890 speaking collegiate dictionary','dictionary scd 1870','linux','hostile waters','franklin scd-787','wordbuzz','cornell woolrich','the hobbit','old models','learn romanian','bryson','harness','johanna lindsey','fib-470','sherrilyn kenyon','hedge funds','dave pelzer','seeds','merriam-webster\'s','spanish phrases','basket','english-french speaking dictionary','bush','solar storm','bes-2','lotto','speaking dictionary speller','berlitz','word reader','franklin thesaurus','jane austen','psb rn','bangor maine','facts','franklin sa-209 dictionary','poe','sir edmund hillary','darby','oracle','franklin 12-language translator tg-470','spanish chinese translator','lpl','us history','solar','euro-dictionary','word buzz','the richest man in babylon','b-1890','franklin bqf-2025 french-english dictionary bookman card','saturday','cone-bearing','beatles','english-spanish card','dictionary bes-1850','collins dmq 1490','gladwell','electronic websters dictionary','bookman 1450','constitution of the united states','intamacy','english-french french english','supreme court case law','constitution','medizin','franklin compact oxford english dictionary','franklin scd-787 dictionary','kur','pro','fields of fire','building data mining applications for crm','music games','dexter','white tiger','dictionary bfq-450','mws500','merriam-webster medical dictionary','statistics','gaelen foley','bookman 1470','electronic english into english dictionary','german italian english dictionary','franklin speaking merriam-webster\'s collegiate dictionary','harraps shorter','spanish-italian dictionary','suite','franklin merriam-webster speaking spanish-english dictionary','william shakespeare','the secret','vampire kisses','fraud','m 6000','sjogrens','the prism and the pendulum','motorcycle','spanish version','hypertension','speaking chinese','lightning','english word scanner','merriam-webster electronic dictionary thesaurus with biographical and geographical dictionaries','silencer','guns','thin','french-italian travel translator','electronic spanish translator','bookman 1660','german pons','schwedisch','obesity','dairy','lawrence h','little dorrit','osho','franklin language master lm 6000b','franklin lm-6000','what is the what','electronic dictionary english portuguese','mindstorms','she\'s not there a life in two genders','john barth','prescription drugs','spanish franklin translator','chesterton','parkinson','moliere','spanish-portuguese','david copperfield','pink floyd','franklin bes-1890 dictionary','rekindling desire','the heart is a lonely hunter','chinese medicine','corporate crooks','franklin speaking merriam webster dictionary and thesaurus','drowning ruth','rush limbaugh','bar exam','cae','guess that word','chase','battle cry of freedom','franklin speaking spanish','standard','franklin pagemark dictionary','treasure island','english pocket','griechisch','dictionary chinese english german','metric conversion','bbaluxbnhnmbpydlda','#mwd-1490','f scott fitzgerald','marketing for educational institutions','bjp','soldier','praxis','smart women finish rich','coran','english-french talking dictionary','connolly','whole bible commentary','collocation','bully','bbalthirxiwiltdlda','franklin lib-1870 dictionary','five little peppers','platoon leader','english standard','spanish thesaurus','dresden files','ike','pragmatic','bret hart','pocket interactive','franklin speaking english-spanish dictionary','the narrative of the life of frederick douglass','illuminati','pro puzzle solver','cast','fictitious','highlander series','speech bible','spanish pen','pourquoi','hospice nursing','final gifts','spanish handheld dictionary','english-spanish professional translator','ten commandment','franklin merriam-webster spanish-english dictionary dbe-1470','electronic speaking english dictionary','oliver twist','salvation','heidi','watsons go to birmingham','henry miller','principles of economics','stormbreaker','snakehead','city of ember','e-dictionaries','long shadows','thousand splendid sun','speaking merriam-webster collegiate dictionary scd','franklin 6000','robert fisk','oxford dictionary of law','dictionary with italian french spanish etc','iliad','into the west','philip pullman','christina dodd','speaking arabic','r.a 8353','chuck palahniuk','valera','franklin dbd-1660','franklin speaking dictionary scd-1890 scd 1890','franklin\'s bes-1840','self-hypnosis','doris lessing','spell-check','true crime','carnal deceptions','christopher moore','speaker','franklin professor','franklin scd-1890 speaking merriam-webster dictionary','bbalatupmkbm06dlda','merriam-websters dictionary 1890','understanding','pediatric','short story writing','chairman','saboteur','credit repair','paramedic','writers dictionary and thesaurus','chaucer','speaking merriam-webster\'s spanish-english dictionary','treasury of scripture','spanish e books for kids','pratchett','clash of kings','market failure','fisk','miracles','my front page scandal','mw dictionary','ebooks-picoult','french-russian','she\'s not there','bookman that uses book cards','spelling corrector-spanish','marriam-webster\'s spanish-english dictionary','literary','bookman advanced thesaurus','oxford law','stuart woods','english spanish phrasebook','english to polish','franklin\'s ultimate portable reference suite','roget\'s dictionary','collins puzzle','wyoming','franklin dictionary in spanish','vpn','ocd','bbal566b4eec69dlda','lit','history of beggars','missing letters','collins spellchecker spq-109','mini computer','search sa-207a','marine engineering','bbptwewntptscbdlda','merriam webster 1840','hyperbole','j260','lowell elizabeth','#1840','trivia games','historical romance','dictionary for sd card','high school spanish','texas','dermatology','life imprisonment','thomas sowell','english and french dictionary speller and thesaurus','supervision of concrete construction','pro dbd 1660','e-cards','bqc','improving english','res-120','fle','electronic test prep','mccaffrey','speaking english to italian','electronic pocket holy bible','dc','english ebook','english trainer','speaking spanish master','stirling','stress','princess diaries','franklin tg470','devil in the white city','steve jobs','create website','franklin word speller','forgiveness','merriam webster collegiate','springer worterbuch','screwtape','french qwerty','spanish edition','for the blind','quixote','key guide','franklin store','damn good novel','dictionary for students','the great gatsby','english spanish book card','the lucky one','elvis','franklin ultimate reference suite scg-1870','the new york times crossword puzzle','turtledove','world war z','reichs','speaking english-german dictionary','sound translator','german-english dictionary','e-myth','tiberias','isabel allende','franklin scd 787','black history','cut buddy','tenure','franklin electronic rolodex','franklin bds-1860al','builder','franklin electronic crossword puzzle solver','lottery','french maid','sword of truth','express edition','handheld phonetic','wounded','julia london','molecular biology','spelling acer','crossword ace','cologne','speaking global','speaking devices','palahniuk','spanish polish','dictionary thesaurus games','typing','parlante','post','franklin bes 1870','marie','csikszentmihalyi','franklin language master 6000b','bookman bmc cards','larry niven','martin luther','franklin lm-6000b english language master','spanishenglish dictionary','the faith club','foreign','life skills','protect','sartre','e-book organizer','une','spanish english communicator','speaking book cards','language master french english','buckingham','lipstick jungle','book it','dictionary suite','sophie\'s world','bqc 2021','life skill coach','henry cloud','page','rosen','morse code','thomas a edison','lou','franklin word master','franklin for kids','monitor 2','fable books','franklin scd-1890 speaking collegiate dictionary new','sowell','speaking bilingual','french phonetic','spelling ace cover','merriam-webster crossword puzzle dictionary','speaking scd-770','speaking with phrases','emg-2006dl','gwh-2055dl','franklin ultimate portable reference scg 1870','spiritualebooks','english usage','franklin speaking merriam-webster\'s','englishitalian','pathophysiology','french master','bookmanbook','franklin only by english dictionary','sackett series','tenzing','everest','speaking phrases','speaking phrase translator','firms','tom swift','on its last legs','englisharabic','speaking bookman cards','be s-1850','fun with spanish','cosmetic','bookman model mwd440','max brooks','martin cruz smith','brother wolf','demille','power engineering','you know','dictionary sociology','speaking spanish french italian english dictionary','franklin electronic dictionary scd-1890','book of judas','dandelion wine','franklin electronic bes-1850','jokes','french language translator','bes -1850','spanish english 1890','fairy tales every child should know','spellingcorrector','every young mans battle','english-deutsch','fl 1450','t g 470','citizen');
/* $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);
    }