﻿document.addEvent('domready', function() {
 
	// Test source, list of tags
	var tokens = ['Aaron', 'Aaron Luesmore', 'Abercynon', 'Aberdare', 'Aberdaron', 'able', 'aboard', 'about', 'above', 'according', 'acknowledgements', 'acknowlegements', 'acres', 'across', 'Ada Mary Ellen Hall', 'Ada Mary Ellen Hankey', 'Adams', 'additional', 'Adelaide', 'Adeline', 'adjacent', 'adopted', 'aeriel', 'affectionate', 'after', 'again', 'aged', 'Agnes', 'agricultural', 'Albert', 'Albion', 'alce', 'Alfred', 'Alice', 'Alice Morgans', 'Alice Williams', 'Allostock', 'allow', 'along', 'also', 'alternating', 'although', 'Ammelia', 'ancestor', 'ancestors', 'ancestral', 'Andrew', 'Ann Forster', 'Ann Hankey', 'Ann Lenthal', 'Ann Loosemore', 'Ann Riley', 'Ann Sanders', 'anne', 'Anne Jones', 'Annie', 'Annie  Vincent', 'Annie Green', 'annual', 'another', 'Anstace', 'Anstace Loosemore', 'appears', 'application', 'applied', 'apprentice', 'apprenticeship', 'April', 'arches', 'area', 'armies', 'army', 'around', 'arriving', 'Arthur', 'Ashton', 'aslo', 'assistant', 'assisted', 'assumed', 'assuming', 'assumptions', 'Aston', 'Atkins', 'August', 'aunt', 'back', 'bailiff', 'baker', 'baptised', 'baptism', 'baptisms', 'baptized', 'Barber', 'bardsey', 'Barkham', 'barn', 'Barnabas', 'Barnabus', 'Bartholemews', 'bartholomewa', 'Bartholomewâ', 'based', 'Batholemews', 'battalion', 'battle', 'beach', 'Beatrice', 'became', 'become', 'becoming', 'been', 'beer', 'before', 'behing', 'being', 'believed', 'Bellary', 'beloved', 'below', 'Benjamin', 'beside', 'betey', 'between', 'bety', 'Billen', 'Billing', 'Billinge', 'birch', 'birth', 'birthday', 'birthplace', 'births', 'bith', 'blacksmith', 'Blanche', 'board', 'Boardman', 'boiler', 'bookbinder', 'book-folder', 'border', 'born', 'both', 'Bournmouth', 'boys', 'branch', 'Brefi', 'brenniton', 'bridge', 'Bridin', 'brief', 'brigade', 'brigatine', 'brighty', 'Brindin', 'Britannia', 'Britian', 'British', 'broken', 'brook', 'brother', 'brother-in-law', 'brothers', 'brought', 'brown', 'browsers', 'brush', 'Bryne', 'Buckland', 'Buckley', 'Budworth', 'build', 'builder', 'building', 'buildings', 'built', 'burial', 'burials', 'buried', 'burrials', 'burried', 'business', 'Bwlch', 'bwlchbridin', 'Bwlch-Bridin', 'Byrne', 'c.1861', 'Caernarfon', 'Caernarfonshire', 'Caernarvon', 'Caernarvonshire', 'Calicut', 'called', 'camp', 'Cannanore', 'Capel', 'Capper', 'captain', 'Cardigan', 'Cardigann', 'Cardiganshire', 'career', 'cargo', 'Carnarvon', 'Carnavonshire', 'Caroline', 'Caron', 'Caronisclawdd', 'Caron-is-Clawdd', 'carpenter', 'Castleton', 'Catherine', 'Catherine  Jones', 'Catherine Davies', 'Catherine Jones', 'Catherine Thomas', 'cavalry', 'ceased', 'Cemetery', 'cemetry', 'census', 'censuses', 'centre', 'certificate', 'chair', 'chairs', 'chamney', 'chapel', 'chapter', 'charity', 'Charles', 'Charles Leicester', 'Charles Long', 'Charlotte', 'Cheshire', 'Chester', 'Chestergate', 'child', 'childhood', 'children', 'Chiverall', 'Christchurch', 'church', 'Churchstanton', 'churchyard', 'Cicely', 'circa', 'circa.1797', 'circa1658', 'city', 'Clark', 'Clarke', 'Clayhidon', 'Clerkenwell', 'click', 'coal', 'coast', 'coastal', 'code', 'Colchester', 'cold', 'collier', 'colliery', 'collision', 'Combe', 'comments', 'common', 'complete', 'completed', 'completing', 'complexion', 'complications', 'comprehensive', 'conducted', 'confirming', 'connection', 'Constance', 'contact', 'contains', 'content', 'continent', 'continued', 'contributed', 'convention', 'cook', 'Coombes', 'copy', 'cordwainer', 'cork', 'Cotleigh', 'cottage', 'cottages', 'country', 'county', 'course', 'court', 'courtesy', 'cousin', 'Craig', 'crew', 'crossing', 'Culmstock', 'customs', 'Cyril', 'dairymaid', 'Daniel', 'data', 'database', 'date', 'dates', 'daughter', 'daughter-in-law', 'daughters', 'Davenham', 'David', 'David Davies', 'David Morgans', 'David Williams', 'davida', 'Davidâ', 'Davids', 'Davies', 'Davison', 'days', 'dear', 'death', 'deaths', 'December', 'dedicated', 'deduced', 'deeply', 'departed', 'Derwenlas', 'described', 'deserving', 'detail', 'detailed', 'details', 'Devon', 'Diamond', 'died', 'Dimond', 'Dinah', 'direct', 'diseased', 'dismantled', 'displayed', 'district', 'dock', 'domestic', 'Dora', 'Doris', 'Dorset', 'down', 'dragoon', 'dragoons', 'Drake', 'driven', 'Dublin', 'duke', 'during', 'duty', 'each', 'earliest', 'early', 'Eastment', 'Ecclestone', 'Edward', 'Edwards', 'Edwrds', 'eight', 'eighth', 'eldest', 'Eleanor', 'Eleanor Davies', 'Eleanor Morgan', 'eleven', 'Elien', 'Elin', 'Elinor', 'Eliza', 'Eliza Green', 'Eliza Long', 'Elizabeth', 'Elizabeth Davies', 'Elizabeth Dimond', 'Elizabeth Ellis', 'Elizabeth Hall', 'Elizabeth Jones', 'Elizabeth Lenthall', 'Elizabeth Loosemore', 'Elizabeth Thomas', 'Elizabeth Willie', 'Ellen', 'Ellen Forster', 'Ellen Hall', 'Ellen Hankey', 'Ellen Leicester', 'Ellinor', 'Ellis', 'Emily', 'Emily Green', 'Emily Hankey', 'Emma', 'emman', 'employee', 'enabled', 'enabling', 'engine', 'engineer', 'England', 'English', 'enlarged', 'enough', 'entrance', 'Eric', 'Ernest', 'especially', 'estate', 'Esther', 'Esther Davies', 'Esther Edwards', 'Europe', 'Evan', 'Evan Davies', 'Evan Hughes', 'evana', 'Evanâ', 'Evelene', 'Eveline', 'event', 'events', 'ever', 'evidence', 'Ewloe', 'excelent', 'except', 'external', 'extreme', 'eyes', 'fact', 'fair', 'families', 'family', 'Fanny', 'farm', 'farmer', 'farmhouse', 'father', 'father-in-law', 'fathers', 'Fazakerley', 'February', 'Februay', 'feet', 'fellow', 'fidelity', 'fifth', 'fighting', 'file', 'finally', 'finish', 'first', 'fisherman', 'fitter', 'five', 'flag', 'Flint', 'floor', 'Florence', 'followed', 'following', 'follows', 'forbearing', 'ford', 'forearm', 'form', 'forman', 'formerly', 'Forster', 'Foster', 'found', 'four', 'fourth', 'Francis', 'Fred', 'Frederick', 'Freederick', 'Freeman', 'from', 'Fron', 'fronola', 'fronole', 'fronoleu', 'front', 'full', 'fuller', 'Funeral', 'further', 'fusiler', 'fusilers', 'fusilier', 'fusiliers', 'Gadlys', 'gallery', 'gardener', 'gardening', 'Gartheli', 'gate', 'gatehouse', 'gate-houses', 'gave', 'genealogy', 'general', 'gentleman', 'George', 'George Vincent', 'Gertie', 'Gertrude', 'getter', 'Gilbert', 'Giles', 'girl', 'girls', 'given', 'giving', 'Gladys', 'Glamorgan', 'Glamorganshire', 'gland', 'glazier', 'Gloucester', 'Gloucestershire', 'good', 'goods', 'Gorwdd', 'Gorwydd', 'Grace', 'Grace Long', 'Grace Parris', 'Graigdduisaf', 'grandchildren', 'granddaughter', 'granddaughters', 'grandparents', 'grandson', 'grandsons', 'grave', 'Gravestone', 'great', 'Green', 'grew', 'grey', 'Grice', 'Griffith', 'Griffith Edwards', 'Griffith Jones', 'Griffiths', 'grocer', 'groom', 'grounds', 'Grove', 'grown', 'guard', 'Gweneth', 'Gwinifred', 'hair', 'Hall', 'Hampshire', 'Hanah', 'hand', 'Hankey', 'Hannah', 'Hannah Green', 'Hannah Hardy', 'Hannah Vincent', 'Hanover', 'happened', 'harbour', 'Hardy', 'Harold', 'Harriet', 'Hartpury', 'Harwarden', 'have', 'having', 'Hawarden', 'Hayman', 'hazel', 'heath', 'held', 'helliar', 'helped', 'helping', 'Henry', 'Herbert', 'Hilary', 'hill', 'Hinton', 'historic', 'history', 'holborn', 'holder', 'holding', 'Holland', 'home', 'Honiton', 'hools', 'Hooper', 'Horace', 'Horrace', 'horse', 'Horsecastles', 'Hospital', 'hotel', 'house', 'houses', 'however', 'Hugh', 'Hugh Jones', 'Hugh Thomas', 'Hughes', 'husband', 'husbandry', 'hussar', 'hussars', 'Hyde', 'identified', 'illness', 'in-between', 'inches', 'included', 'including', 'index', 'India', 'indoor', 'industrial', 'infatiguable', 'information', 'inherited', 'initials', 'inquest', 'inscription', 'inscriptions', 'interred', 'into', 'invariably', 'involved', 'Isaac', 'Isaac Sanders', 'Isles', 'Islington', 'Jackson', 'James', 'James Hall', 'James Hankey', 'Jane', 'Jane Edwardes', 'Jane Jones', 'Jane Lenthal', 'January', 'Jeweller', 'Joan', 'Joane', 'Joanne', 'jobs', 'Johane', 'John', 'John Forster', 'John Hall', 'John Hankey', 'John Jones', 'John Lenthal', 'John Long', 'John Loosmore', 'John Thomas', 'John Vincent', 'johna', 'Johnâ', 'joined', 'joining', 'Jones', 'Joseph', 'Joseph Leicester', 'Joseph Loosmore', 'July', 'June', 'just', 'Justens', 'Kate', 'Kent', 'kneeling', 'know', 'known', 'Knutsford', 'Labourer', 'ladder', 'lady', 'laid', 'lamented', 'Lancashire', 'Lancaster', 'land', 'lane', 'last', 'late', 'later', 'laundress', 'laundry', 'laundryman', 'Laura', 'Lavina', 'Lavinia', 'lease', 'least', 'leaving', 'left', 'Leicester', 'Leigh', 'length', 'Lentall', 'Lenthal', 'Lenthall', 'Lentle', 'Leonard', 'Leslie', 'Lester', 'Letitia', 'letters', 'Leycester', 'life', 'light', 'like', 'Lincoln', 'link', 'lion', 'Liquorpond', 'list', 'lists', 'little', 'live', 'lived', 'Liverpool', 'lives', 'living', 'Llan', 'Llanddewi', 'Llanddewi Brefi', 'Llangeitho', 'Llettyr', 'Llettyr-Panwr', 'Lleyn', 'Lloyd', 'Llyn', 'location', 'locations', 'lodge', 'Lodging', 'Lomg', 'London', 'Long', 'longer', 'looking', 'Loosemore', 'Loosmore', 'lost', 'Lostock', 'loving', 'lower', 'Lucey', 'Lucy', 'Ludlow', 'Luesemore', 'Luesmore', 'Luke', 'Lukes', 'Lydia', 'Lydia  Richmore', 'Lydia Forster', 'Mabel', 'Macclesfield', 'made', 'main', 'mainland', 'mainly', 'majority', 'maker', 'making', 'Manchester', 'Mandya', 'many', 'Maplin', 'March', 'Margaret', 'Margaret Jones', 'Maria', 'mariage', 'Marie', 'mariner', 'Marjorie', 'market', 'Marriage', 'marriages', 'married', 'marrying', 'marsh', 'Marston', 'Martha', 'Mary', 'Mary Baker', 'Mary Byrne', 'Mary Davies', 'Mary Ellis', 'Mary Griffiths', 'Mary Hall', 'Mary Jones', 'Mary Lenthal', 'Mary Lester', 'Mary Long', 'Mary Loosemore', 'Mary Pool', 'Mary Sanders', 'Mary Thomas', 'Mary Vincent', 'marya', 'Maryâ', 'Marylebone', 'master', 'Mate', 'maternal', 'Mathew', 'Mathew Lenthal', 'matron', 'mayor', 'mayors', 'meant', 'medical', 'Membury', 'memory', 'mentioned', 'Merrick', 'Mersey', 'Merthyr', 'message', 'middle', 'Middlesex', 'Mildred', 'mile', 'Miles', 'Milo', 'mine', 'miner', 'Minnie', 'Mirriam', 'miss', 'Montgomery', 'month', 'months', 'monumental', 'Morfa', 'Morgan', 'Morgans', 'Morland', 'most', 'mother', 'mothers', 'mount', 'mountain', 'moved', 'moving', 'much', 'multiple', 'must', 'nailer', 'name', 'named', 'naming', 'Nancy', 'Nancy Adams', 'Napolean', 'Napoleon', 'Nathanuel', 'near', 'nearby', 'Nefyn', 'neighbouring', 'neighbours', 'neither', 'Nellie', 'Nevin', 'nevyn', 'Newborough', 'Newland', 'next', 'Nicholas', 'Nicholas Vincent', 'night', 'nights', 'nine', 'ninth', 'North', 'Northampton', 'northern', 'Northhampton', 'Northwich', 'note', 'nott', 'November', 'number', 'Nycholas', 'obtained', 'obviously', 'occaisionally', 'occasionally', 'occupation', 'October', 'office', 'officer', 'official', 'older', 'oldest', 'Oleu', 'on13', 'on19', 'onboard', 'on-board', 'once', 'online', 'only', 'onwards', 'open', 'Oswald', 'other', 'others', 'Otterford', 'ouside', 'outside', 'over', 'owner', 'owners', 'ownership', 'owning', 'page', 'pages', 'paid', 'paint', 'painted', 'painter', 'Palmerston', 'Palmestone', 'Pantyfod', 'pant-y-fod', 'Panwr', 'parallel', 'parents', 'parish', 'Parris', 'part', 'paternal', 'patronymic', 'pattern', 'Patton', 'Paul', 'Peacock', 'pedigree', 'Peirce', 'Pembroke', 'peninsula', 'peninsular', 'Penrhydlyniog', 'pensioner', 'Pentre', 'Penuel', 'people', 'Peover', 'period', 'personally', 'Peter', 'Peter Loosmore', 'Petherton', 'Philday', 'Phillips', 'photgraphs', 'photo', 'photograph', 'photographed', 'photographs', 'phthisis', 'Pickmere', 'picture', 'Pimlico', 'place', 'plasterer', 'please', 'Plowright', 'Plumbley', 'Plumley', 'Plymouth', 'poet', 'poisoning', 'police', 'Pontypridd', 'pool', 'poor', 'port', 'Portdinllaen', 'Portdinorwic', 'porter', 'Porthdinllaen', 'Portinllaen', 'ports', 'Portugal', 'post', 'Pothdinllaen', 'pregnant', 'presbyterian', 'presumed', 'previously', 'price', 'prince', 'prior', 'private', 'probably', 'profession', 'promenade', 'prospect', 'prostate', 'provide', 'provided', 'providing', 'Pullteney', 'pulmonery', 'Pwllheli', 'Pwllswyddog', 'quay', 'race', 'railway', 'railways', 'Ramsgate', 'rates', 'reads', 'received', 'recently', 'record', 'records', 'reference', 'regarding', 'regiment', 'regimental', 'Reginald', 'register', 'registered', 'registrar', 'registry', 'related', 'relative', 'relevance', 'Remembrance', 'residing', 'resignation', 'resource', 'rest', 'result', 'retired', 'retiring', 'retrieved', 'returned', 'Richard', 'Richard Vincent', 'Richmore', 'riddings', 'right', 'Riley', 'road', 'Robert', 'Robert Jones', 'Robert Thomas', 'Roberta', 'Robertâ', 'Robinson', 'rock', 'role', 'rootsweb', 'rossbret', 'Rostherne', 'Royal', 'Royley', 'Ruben', 'Runcorn', 'rushforth', 'sadly', 'saints', 'Salamanca', 'salmonela', 'salt', 'same', 'Samuel', 'Sanders', 'Sarah', 'Sarah Phillips', 'Sarah Vincent', 'Saunders', 'school', 'schooling', 'schooner', 'schooners', 'seaman', 'seamen', 'search', 'seas', 'seat', 'seated', 'Seaton', 'second', 'section', 'seemed', 'seems', 'senior', 'sent', 'September', 'servant', 'servants', 'serve', 'served', 'service', 'serving', 'seven', 'seventh', 'share', 'shares', 'Shelagh', 'Sherborne', 'Sherron', 'ship', 'shipbuilding', 'shipping', 'ships', 'Shirley', 'shoeing', 'shoemaker', 'shoemakers', 'shore', 'Shoreditch', 'shortly', 'shown', 'Shropshire', 'siblings', 'since', 'sister', 'sisters', 'site', 'sites', 'sitting', 'sixth', 'Slater', 'sloop', 'sloops', 'small', 'Smith', 'Smyth', 'Snowdon', 'sold', 'soldier', 'sole', 'some', 'Somerset', 'sometime', 'son-in-law', 'sons', 'soon', 'South', 'Southport', 'Spain', 'specialising', 'spent', 'square', 'standing', 'starr', 'start', 'started', 'states', 'station', 'stationed', 'stayed', 'staying', 'Steel', 'Stephenson', 'Stephensons', 'Stevenson', 'still', 'Stockland', 'Stodbear', 'Stodbeer', 'storm', 'street', 'Strethill', 'Studbeer', 'sub-district', 'submitted', 'sub-postmaster', 'sub-postmistress', 'successful', 'sumper', 'sumpers', 'Sunderland', 'superior', 'surgeon', 'surname', 'Susan', 'Susannah', 'Susannah Jackson', 'Susannah Leicester', 'susannaha', 'Susannahâ', 'Sussex', 'system', 'Tabley', 'taia', 'Taiâ', 'tailor', 'Tair', 'taken', 'tall', 'tattooed', 'Taunton', 'teenagers', 'Templemore', 'terrace', 'ters', 'thank', 'that', 'their', 'them', 'then', 'there', 'therefore', 'Thetus', 'they', 'third', 'thirteen', 'this', 'Thomas', 'Thomas Adams', 'Thomas Ellis', 'Thomas Foster', 'Thomas Hall', 'Thomas Hankey', 'Thompson', 'Thornton', 'three', 'Tifany', 'time', 'timeline', 'Timperley', 'together', 'tons', 'took', 'tower', 'town', 'track', 'trade', 'tragically', 'trainer', 'transfered', 'transport', 'transporting', 'travelled', 'travelling', 'tree', 'Tregaron', 'Treharis', 'Treharris', 'trendle', 'tuberculosis', 'Tumkur', 'twelve', 'twins', 'Tydfil', 'Tydfill', 'uncle', 'uncles', 'under', 'unfiltered', 'unfortunately', 'union', 'unknown', 'unlikely', 'unmarried', 'until', 'updated', 'upon', 'Upottery', 'Up-Ottery', 'upton', 'Ursula', 'used', 'usher', 'using', 'vale', 'various', 'variously', 'verified', 'vessel', 'vessels', 'Victor', 'Victoria', 'view', 'viewed', 'village', 'Vincent', 'Vincent Green', 'Vincent John Green', 'vincenta', 'Vincentâ', 'vital', 'Vron', 'Vronola', 'vronolau', 'vronoleu', 'Wales', 'Walters', 'Wandless', 'Warren', 'Warrington', 'wash', 'wasn', 'Waters', 'website', 'wedding', 'weekened', 'weeks', 'well', 'wellington', 'went', 'were', 'west', 'Westhampnett', 'what', 'when', 'where', 'whether', 'which', 'whilst', 'whit', 'Whitechapel', 'whom', 'widow', 'widower', 'wife', 'will', 'William', 'William Green', 'William Jones', 'William Miles Green', 'Williambeer', 'Williams', 'Willie', 'Willy', 'Wilson', 'Wincham', 'window', 'Winifred', 'with', 'within', 'witnesses', 'witnessnes', 'wood', 'Woodbridge', 'Woodier', 'Woolwich', 'work', 'worked', 'Workhouse', 'workhouses', 'working', 'works', 'worn', 'would', 'wrecked', 'Wright', 'written', 'Yarcombe', 'Yarcome', 'year', 'years', 'yeoman', 'young', 'Youngest'];
 
	// Our instance for the element with id "demo-local"
	new Autocompleter.Local('zoom_searchbox', tokens, {
		'minLength': 1, // We need at least 1 character
		'selectMode': 'type-ahead', // Instant completion
		'multiple': true // Tag support, by default comma separated
	});
});

