var VN = new Array(); var vl = 0; // Super Gloabals VN[vl] = "Abbeville (80)"; vl++; VN[vl] = "Abondance (74)"; vl++; VN[vl] = "Agde (34)"; vl++; VN[vl] = "Agen (47)"; vl++; VN[vl] = "Aix en Provence (13)"; vl++; VN[vl] = "Albertville (73)"; vl++; VN[vl] = "Albi (81)"; vl++; VN[vl] = "Alençon (61)"; vl++; VN[vl] = "Alès (30)"; vl++; VN[vl] = "Alpe d'Huez (38)"; vl++; VN[vl] = "Alpe du Grand Serre (38)"; vl++; VN[vl] = "Ambares (33)"; vl++; VN[vl] = "Ambes (33)"; vl++; VN[vl] = "Amiens (80)"; vl++; VN[vl] = "Andernos (33)"; vl++; VN[vl] = "Angers (49)"; vl++; VN[vl] = "Anglet (64)"; vl++; VN[vl] = "Angoulême (16)"; vl++; VN[vl] = "Angoulins (17)"; vl++; VN[vl] = "Annecy (74)"; vl++; VN[vl] = "Antibes (06)"; vl++; VN[vl] = "Apt (84)"; vl++; VN[vl] = "Arcachon (33)"; vl++; VN[vl] = "Arêches Beaufort (73)"; vl++; VN[vl] = "Argelès sur Mer (66)"; vl++; VN[vl] = "Argentan (61)"; vl++; VN[vl] = "Argenteuil (95)"; vl++; VN[vl] = "Arras (62)"; vl++; VN[vl] = "Arromanches (14)"; vl++; VN[vl] = "Artigues (33)"; vl++; VN[vl] = "Artouste (64)"; vl++; VN[vl] = "Aubusson (23)"; vl++; VN[vl] = "Aucamville (31)"; vl++; VN[vl] = "Auch (32)"; vl++; VN[vl] = "Audierne (29)"; vl++; VN[vl] = "Auray (56)"; vl++; VN[vl] = "Aurillac (15)"; vl++; VN[vl] = "Auron (06)"; vl++; VN[vl] = "Aussonne (31)"; vl++; VN[vl] = "Autrans (38)"; vl++; VN[vl] = "Autun (71)"; vl++; VN[vl] = "Auxerre (89)"; vl++; VN[vl] = "Auzielle (31)"; vl++; VN[vl] = "Avallon (89)"; vl++; VN[vl] = "Avesnes (59)"; vl++; VN[vl] = "Avignon (84)"; vl++; VN[vl] = "Avoriaz (74)"; vl++; VN[vl] = "Avranches (50)"; vl++; VN[vl] = "Balma (31)"; vl++; VN[vl] = "Bandol (83)"; vl++; VN[vl] = "Bar (10)"; vl++; VN[vl] = "Bar le Duc (55)"; vl++; VN[vl] = "Barcelonnette (04)"; vl++; VN[vl] = "Barfleur (50)"; vl++; VN[vl] = "Bassens (33)"; vl++; VN[vl] = "Batz (44)"; vl++; VN[vl] = "Bayonne (64)"; vl++; VN[vl] = "Beauduc (13)"; vl++; VN[vl] = "Beaumont-sur-L. (31)"; vl++; VN[vl] = "Beaune (21)"; vl++; VN[vl] = "Beaupuy (31)"; vl++; VN[vl] = "Beauvais (60)"; vl++; VN[vl] = "Beauvoir (85)"; vl++; VN[vl] = "Beauzelle (31)"; vl++; VN[vl] = "Beg Meil (29)"; vl++; VN[vl] = "Bègles (33)"; vl++; VN[vl] = "Belfort (90)"; vl++; VN[vl] = "Belle Ile (56)"; vl++; VN[vl] = "Belley (01)"; vl++; VN[vl] = "Belon (29)"; vl++; VN[vl] = "Berck Plage (62)"; vl++; VN[vl] = "Bergerac (24)"; vl++; VN[vl] = "Bernay (27)"; vl++; VN[vl] = "Besançon (25)"; vl++; VN[vl] = "Béthune (62)"; vl++; VN[vl] = "Beuil les Launes (06)"; vl++; VN[vl] = "Beziers (34)"; vl++; VN[vl] = "Biarritz (64)"; vl++; VN[vl] = "Bidart (64)"; vl++; VN[vl] = "Biscarrosse Plage (40)"; vl++; VN[vl] = "Blagnac (31)"; vl++; VN[vl] = "Blanquefort (33)"; vl++; VN[vl] = "Blaye (33)"; vl++; VN[vl] = "Blaye les mines (81)"; vl++; VN[vl] = "Blois (41)"; vl++; VN[vl] = "Bonneval (73)"; vl++; VN[vl] = "Bonneville (74)"; vl++; VN[vl] = "Bordeaux (33)"; vl++; VN[vl] = "Bouliac (33)"; vl++; VN[vl] = "Boulogne (92)"; vl++; VN[vl] = "Boulogne sur Mer (62)"; vl++; VN[vl] = "Bourg en Bresse (01)"; vl++; VN[vl] = "Bourges (18)"; vl++; VN[vl] = "Bressuire (79)"; vl++; VN[vl] = "Brest (29)"; vl++; VN[vl] = "Briançon (05)"; vl++; VN[vl] = "Brignogan Plage (29)"; vl++; VN[vl] = "Brioude (43)"; vl++; VN[vl] = "Brive (19)"; vl++; VN[vl] = "Bruges (33)"; vl++; VN[vl] = "Cabourg (14)"; vl++; VN[vl] = "Cadaujac (33)"; vl++; VN[vl] = "Caen (14)"; vl++; VN[vl] = "Cagnes (06)"; vl++; VN[vl] = "Cahors (46)"; vl++; VN[vl] = "Calais (62)"; vl++; VN[vl] = "Camaret (29)"; vl++; VN[vl] = "Cancale (35)"; vl++; VN[vl] = "Canejan (33)"; vl++; VN[vl] = "Canet plage (66)"; vl++; VN[vl] = "Cannes (06)"; vl++; VN[vl] = "Cap Ferret (33)"; vl++; VN[vl] = "Cap Gris Nez (62)"; vl++; VN[vl] = "Capbreton (40)"; vl++; VN[vl] = "Carbon Blanc (33)"; vl++; VN[vl] = "Carcans Océan (33)"; vl++; VN[vl] = "Carcassonne (11)"; vl++; VN[vl] = "Carentec (29)"; vl++; VN[vl] = "Carnon (34)"; vl++; VN[vl] = "Carolles (50)"; vl++; VN[vl] = "Castanet Toloson (31)"; vl++; VN[vl] = "Castelginest (31)"; vl++; VN[vl] = "Castelmaurou (31)"; vl++; VN[vl] = "Castenet (31)"; vl++; VN[vl] = "Castres (81)"; vl++; VN[vl] = "Cauterets (65)"; vl++; VN[vl] = "Cavalaire (83)"; vl++; VN[vl] = "Ceillac (05)"; vl++; VN[vl] = "Cenon (33)"; vl++; VN[vl] = "Cerbère (66)"; vl++; VN[vl] = "Cestas (33)"; vl++; VN[vl] = "Chalon (71)"; vl++; VN[vl] = "Châlons (51)"; vl++; VN[vl] = "Chambery (73)"; vl++; VN[vl] = "Chamonix (74)"; vl++; VN[vl] = "Chamrousse (38)"; vl++; VN[vl] = "Charleville Mézières (08)"; vl++; VN[vl] = "Charolles (71)"; vl++; VN[vl] = "Chartres (28)"; vl++; VN[vl] = "Château Chinon (58)"; vl++; VN[vl] = "Château Thierry (02)"; vl++; VN[vl] = "Chateaubriant (44)"; vl++; VN[vl] = "Chateaudun (28)"; vl++; VN[vl] = "Chateauroux (36)"; vl++; VN[vl] = "Châtel (74)"; vl++; VN[vl] = "Châtellerault (86)"; vl++; VN[vl] = "Chelles (77)"; vl++; VN[vl] = "Cherbourg (50)"; vl++; VN[vl] = "Cholet (49)"; vl++; VN[vl] = "Clermont (63)"; vl++; VN[vl] = "Collioure (66)"; vl++; VN[vl] = "Colmar (68)"; vl++; VN[vl] = "Colomiers (31)"; vl++; VN[vl] = "Combloux (74)"; vl++; VN[vl] = "Compiègne (60)"; vl++; VN[vl] = "Concarneau (29)"; vl++; VN[vl] = "Confolens (16)"; vl++; VN[vl] = "Contis Plage (40)"; vl++; VN[vl] = "Cornebarrieu (31)"; vl++; VN[vl] = "Corrençon en Vercors (38)"; vl++; VN[vl] = "Courchevel (73)"; vl++; VN[vl] = "Courseulles (14)"; vl++; VN[vl] = "Coutainville (50)"; vl++; VN[vl] = "Crest Voland (Cohennoz) (73)"; vl++; VN[vl] = "Cugnaux (31)"; vl++; VN[vl] = "Dax (40)"; vl++; VN[vl] = "Decines-Charpieu (69)"; vl++; VN[vl] = "Die (26)"; vl++; VN[vl] = "Dielette (50)"; vl++; VN[vl] = "Dieppe (76)"; vl++; VN[vl] = "Digne (04)"; vl++; VN[vl] = "Dijon (21)"; vl++; VN[vl] = "Dinan (22)"; vl++; VN[vl] = "Dole (39)"; vl++; VN[vl] = "Douai (59)"; vl++; VN[vl] = "Draguignan (83)"; vl++; VN[vl] = "Dunkerque (59)"; vl++; VN[vl] = "Eaunes (31)"; vl++; VN[vl] = "Epagny (74)"; vl++; VN[vl] = "Epinal (88)"; vl++; VN[vl] = "Erquy (22)"; vl++; VN[vl] = "Escalquens (31)"; vl++; VN[vl] = "Etables (22)"; vl++; VN[vl] = "Etretat (76)"; vl++; VN[vl] = "Evreux (27)"; vl++; VN[vl] = "Evry (91)"; vl++; VN[vl] = "Eysines (33)"; vl++; VN[vl] = "Fauga (31)"; vl++; VN[vl] = "Fécamp (76)"; vl++; VN[vl] = "Fenouillet (31)"; vl++; VN[vl] = "Flaine (74)"; vl++; VN[vl] = "Floirac (33)"; vl++; VN[vl] = "Florac (48)"; vl++; VN[vl] = "Flourens (31)"; vl++; VN[vl] = "Flumet St Nicolas La Chapelle (73)"; vl++; VN[vl] = "Foix (09)"; vl++; VN[vl] = "Font Romeu (66)"; vl++; VN[vl] = "Fontenay (85)"; vl++; VN[vl] = "Forcalquier (04)"; vl++; VN[vl] = "Fos (13)"; vl++; VN[vl] = "Fréjus (83)"; vl++; VN[vl] = "Frontignan (34)"; vl++; VN[vl] = "Frouzins (31)"; vl++; VN[vl] = "Gagnac sur Garonne (31)"; vl++; VN[vl] = "Gap (05)"; vl++; VN[vl] = "Gavarnie (65)"; vl++; VN[vl] = "Genets (50)"; vl++; VN[vl] = "Gourette (64)"; vl++; VN[vl] = "Gradignan (33)"; vl++; VN[vl] = "Gragnague (31)"; vl++; VN[vl] = "Granville (50)"; vl++; VN[vl] = "Grenoble (38)"; vl++; VN[vl] = "Guéret (23)"; vl++; VN[vl] = "Guethary (64)"; vl++; VN[vl] = "Guidel Plage (56)"; vl++; VN[vl] = "Guingamp (22)"; vl++; VN[vl] = "Hardelot Plage (62)"; vl++; VN[vl] = "Hendaye (64)"; vl++; VN[vl] = "Hossegor (40)"; vl++; VN[vl] = "Hourtin Lachanau (33)"; vl++; VN[vl] = "Hourtin Plage (33)"; vl++; VN[vl] = "Hyères (83)"; vl++; VN[vl] = "Ile D'Ouessant (29)"; vl++; VN[vl] = "Ile D'Yeu (85)"; vl++; VN[vl] = "Ile de Groix (56)"; vl++; VN[vl] = "Isola (06)"; vl++; VN[vl] = "Itxassou (64)"; vl++; VN[vl] = "Jonsac (17)"; vl++; VN[vl] = "Jullouville (50)"; vl++; VN[vl] = "L'Aiguillon Sur Mer (85)"; vl++; VN[vl] = "La Bastide (33)"; vl++; VN[vl] = "La Baule (44)"; vl++; VN[vl] = "La Bresse (88)"; vl++; VN[vl] = "La Chapelle d'Abondance (74)"; vl++; VN[vl] = "La Clusaz (74)"; vl++; VN[vl] = "La Couarde (17)"; vl++; VN[vl] = "La Flèche (72)"; vl++; VN[vl] = "La Grande Motte (34)"; vl++; VN[vl] = "La Grave (05)"; vl++; VN[vl] = "La Mongie (65)"; vl++; VN[vl] = "La Napoule (06)"; vl++; VN[vl] = "La Norma (73)"; vl++; VN[vl] = "La pierre St Martin (64)"; vl++; VN[vl] = "La Plagne (73)"; vl++; VN[vl] = "La Richardais (35)"; vl++; VN[vl] = "La Roche Sur Yon (85)"; vl++; VN[vl] = "La Rochelle (17)"; vl++; VN[vl] = "La Salie (33)"; vl++; VN[vl] = "La Tania (73)"; vl++; VN[vl] = "La Toussuire (73)"; vl++; VN[vl] = "La Tranche sur Mer (85)"; vl++; VN[vl] = "La Turballe (44)"; vl++; VN[vl] = "Labastidette (31)"; vl++; VN[vl] = "Labege (31)"; vl++; VN[vl] = "Labenne (40)"; vl++; VN[vl] = "Lacanau Océan (33)"; vl++; VN[vl] = "Lacanau Ville (33)"; vl++; VN[vl] = "Lagardelle-sur-L. (31)"; vl++; VN[vl] = "Lamasquere (31)"; vl++; VN[vl] = "Lamor Plage (56)"; vl++; VN[vl] = "Langon (33)"; vl++; VN[vl] = "Langres (52)"; vl++; VN[vl] = "Langrune (14)"; vl++; VN[vl] = "Lans en Vercors (38)"; vl++; VN[vl] = "Laon (02)"; vl++; VN[vl] = "Lapeyrouse Fossat (31)"; vl++; VN[vl] = "Largentière (07)"; vl++; VN[vl] = "Launaguet (31)"; vl++; VN[vl] = "Lauzerville (31)"; vl++; VN[vl] = "Laval (53)"; vl++; VN[vl] = "Lavandou (83)"; vl++; VN[vl] = "Lavernose-Lacasse (31)"; vl++; VN[vl] = "Le Blanc (36)"; vl++; VN[vl] = "Le Bouscat (33)"; vl++; VN[vl] = "Le Collet d'Allevard (38)"; vl++; VN[vl] = "Le Conquet (29)"; vl++; VN[vl] = "Le Corbier (73)"; vl++; VN[vl] = "Le Croisic (44)"; vl++; VN[vl] = "Le Grand Bornand (74)"; vl++; VN[vl] = "Le Grand Crohot (33)"; vl++; VN[vl] = "Le Gurp (33)"; vl++; VN[vl] = "Le Haillan (33)"; vl++; VN[vl] = "Le Havre (76)"; vl++; VN[vl] = "Le Mans (72)"; vl++; VN[vl] = "Le Mont Dore (63)"; vl++; VN[vl] = "Le Porge (33)"; vl++; VN[vl] = "Le Pouliguen (44)"; vl++; VN[vl] = "Le Puy (43)"; vl++; VN[vl] = "Le Seignus (04)"; vl++; VN[vl] = "Le Taillan (33)"; vl++; VN[vl] = "Le Touquet Paris Plage (62)"; vl++; VN[vl] = "Le Tréport (76)"; vl++; VN[vl] = "Le Truc Vert (33)"; vl++; VN[vl] = "Le Val Andre (22)"; vl++; VN[vl] = "Le Vigan (30)"; vl++; VN[vl] = "Lens (62)"; vl++; VN[vl] = "Les Aillons (73)"; vl++; VN[vl] = "Les Andelys (27)"; vl++; VN[vl] = "Les Angles (66)"; vl++; VN[vl] = "Les Arcs (73)"; vl++; VN[vl] = "Les Carroz d'Araches (74)"; vl++; VN[vl] = "Les Contamines Montjoie (74)"; vl++; VN[vl] = "Les Deux Alpes (38)"; vl++; VN[vl] = "Les Gets (74)"; vl++; VN[vl] = "Les Houches (74)"; vl++; VN[vl] = "Les Karellis (73)"; vl++; VN[vl] = "Les Orres (05)"; vl++; VN[vl] = "Les Sables D'Olonne (85)"; vl++; VN[vl] = "Les Sept Laux (38)"; vl++; VN[vl] = "Lesparre-Médoc (33)"; vl++; VN[vl] = "Lespinasse (31)"; vl++; VN[vl] = "Leucate (11)"; vl++; VN[vl] = "Lherm (31)"; vl++; VN[vl] = "Libourne (33)"; vl++; VN[vl] = "Lille (59)"; vl++; VN[vl] = "Limoges (87)"; vl++; VN[vl] = "Lion sur Mer (14)"; vl++; VN[vl] = "Loches (37)"; vl++; VN[vl] = "Locmariaquer (56)"; vl++; VN[vl] = "Loctudy (29)"; vl++; VN[vl] = "Lons le Saunier (39)"; vl++; VN[vl] = "Lorient (56)"; vl++; VN[vl] = "Lormont (33)"; vl++; VN[vl] = "Louhans (71)"; vl++; VN[vl] = "Luc sur Mer (14)"; vl++; VN[vl] = "Luchon Superbagnères (65)"; vl++; VN[vl] = "Lutterbach (68)"; vl++; VN[vl] = "Luz Ardiden (65)"; vl++; VN[vl] = "Lyon (69)"; vl++; VN[vl] = "Mâcon (71)"; vl++; VN[vl] = "Marmande (47)"; vl++; VN[vl] = "Marseillan Plage (34)"; vl++; VN[vl] = "Marseille (13)"; vl++; VN[vl] = "Martigues (13)"; vl++; VN[vl] = "Maubuisson (33)"; vl++; VN[vl] = "Mauriac (15)"; vl++; VN[vl] = "Mauzac (31)"; vl++; VN[vl] = "Mayenne (53)"; vl++; VN[vl] = "Mende (48)"; vl++; VN[vl] = "Méribel (73)"; vl++; VN[vl] = "Merignac (33)"; vl++; VN[vl] = "Mervilla (31)"; vl++; VN[vl] = "Metabief Mont D'or (25)"; vl++; VN[vl] = "Metz (57)"; vl++; VN[vl] = "Millau (12)"; vl++; VN[vl] = "Mimizan Plage (40)"; vl++; VN[vl] = "Miremont (31)"; vl++; VN[vl] = "Modane (73)"; vl++; VN[vl] = "Moliets (40)"; vl++; VN[vl] = "Molines en Queyras (05)"; vl++; VN[vl] = "Monaco (06)"; vl++; VN[vl] = "Mondouzil (31)"; vl++; VN[vl] = "Mont de Marsan (40)"; vl++; VN[vl] = "Montalivet (33)"; vl++; VN[vl] = "Montargis (45)"; vl++; VN[vl] = "Montauban (82)"; vl++; VN[vl] = "Montbard (21)"; vl++; VN[vl] = "Montgenèvre (05)"; vl++; VN[vl] = "Montluçon (03)"; vl++; VN[vl] = "Montmorillon (86)"; vl++; VN[vl] = "Montpellier (34)"; vl++; VN[vl] = "Montrabe (31)"; vl++; VN[vl] = "Montreuil (62)"; vl++; VN[vl] = "Montriond (74)"; vl++; VN[vl] = "Morgat (29)"; vl++; VN[vl] = "Morillon (74)"; vl++; VN[vl] = "Mortagne (61)"; vl++; VN[vl] = "Morzine (74)"; vl++; VN[vl] = "Moulins (03)"; vl++; VN[vl] = "Moutiers (73)"; vl++; VN[vl] = "Mulhouse (68)"; vl++; VN[vl] = "Muret (31)"; vl++; VN[vl] = "Nancy (54)"; vl++; VN[vl] = "Nantes (44)"; vl++; VN[vl] = "Nantua (01)"; vl++; VN[vl] = "Narbonne (11)"; vl++; VN[vl] = "Navarrosse (40)"; vl++; VN[vl] = "Neufchâteau (88)"; vl++; VN[vl] = "Nevers (58)"; vl++; VN[vl] = "Nice (06)"; vl++; VN[vl] = "Nimes (30)"; vl++; VN[vl] = "Niort (79)"; vl++; VN[vl] = "Noirmoutier (85)"; vl++; VN[vl] = "Noisy le Grand (93)"; vl++; VN[vl] = "Nontron (24)"; vl++; VN[vl] = "Notre Dame de Bellecombe (73)"; vl++; VN[vl] = "Notre Dame de Monts (85)"; vl++; VN[vl] = "Nyons (26)"; vl++; VN[vl] = "Orcières Merlette (05)"; vl++; VN[vl] = "Orleans (45)"; vl++; VN[vl] = "Ouistreham (14)"; vl++; VN[vl] = "Oz en Oisans (38)"; vl++; VN[vl] = "Paimpol (22)"; vl++; VN[vl] = "Palavas (34)"; vl++; VN[vl] = "Parempuyre (33)"; vl++; VN[vl] = "Parentis en Born (40)"; vl++; VN[vl] = "Paris (75)"; vl++; VN[vl] = "Pau (64)"; vl++; VN[vl] = "Pechabou (31)"; vl++; VN[vl] = "Pechbusque (31)"; vl++; VN[vl] = "Penestin (56)"; vl++; VN[vl] = "Périgueux (24)"; vl++; VN[vl] = "Péronne (80)"; vl++; VN[vl] = "Perpignan (66)"; vl++; VN[vl] = "Perros Guirec (22)"; vl++; VN[vl] = "Pessac (33)"; vl++; VN[vl] = "Peyragudes (65)"; vl++; VN[vl] = "Piau Engaly (64)"; vl++; VN[vl] = "Pin-Balma (31)"; vl++; VN[vl] = "Pins Justaret (31)"; vl++; VN[vl] = "Pinsaguel (31)"; vl++; VN[vl] = "Piriac (44)"; vl++; VN[vl] = "Pithiviers (45)"; vl++; VN[vl] = "Plaisance du Touch (31)"; vl++; VN[vl] = "Ploudalmezeau (29)"; vl++; VN[vl] = "Plougrescant (22)"; vl++; VN[vl] = "Ploumanach (22)"; vl++; VN[vl] = "Pointe Du Raz (29)"; vl++; VN[vl] = "Poitiers (86)"; vl++; VN[vl] = "Pontivy (56)"; vl++; VN[vl] = "Pornic (44)"; vl++; VN[vl] = "Pornichet (44)"; vl++; VN[vl] = "Port en Bessin (14)"; vl++; VN[vl] = "Port la Nouvelle (11)"; vl++; VN[vl] = "Port Louis (56)"; vl++; VN[vl] = "Port Navalo (56)"; vl++; VN[vl] = "Port St Louis du Rhône (13)"; vl++; VN[vl] = "Port Vendres (66)"; vl++; VN[vl] = "Portbail (50)"; vl++; VN[vl] = "Porté Puymorens (64)"; vl++; VN[vl] = "Portet sur Garonne (31)"; vl++; VN[vl] = "Pralognan la Vanoise (73)"; vl++; VN[vl] = "Praloup (04)"; vl++; VN[vl] = "Praz de Lys Sommand (74)"; vl++; VN[vl] = "Praz sur Arly (74)"; vl++; VN[vl] = "Privas (07)"; vl++; VN[vl] = "Puy St Vincent (05)"; vl++; VN[vl] = "Quiberon (56)"; vl++; VN[vl] = "Quimper (29)"; vl++; VN[vl] = "Quint-Fonsegrives (31)"; vl++; VN[vl] = "Ramonville St-Agne (31)"; vl++; VN[vl] = "Redon (35)"; vl++; VN[vl] = "Reims (51)"; vl++; VN[vl] = "Rennes (35)"; vl++; VN[vl] = "Risoul (05)"; vl++; VN[vl] = "Rochechouart (87)"; vl++; VN[vl] = "Rodez (12)"; vl++; VN[vl] = "Romorantin Lantenay (41)"; vl++; VN[vl] = "Roques (31)"; vl++; VN[vl] = "Roquettes (31)"; vl++; VN[vl] = "Roscoff (29)"; vl++; VN[vl] = "Rouen (76)"; vl++; VN[vl] = "Rouffiac Tolosan (31)"; vl++; VN[vl] = "Royan (17)"; vl++; VN[vl] = "Saintes (17)"; vl++; VN[vl] = "Samoëns (74)"; vl++; VN[vl] = "Sanguinet (40)"; vl++; VN[vl] = "Sarlat (24)"; vl++; VN[vl] = "Saubens (31)"; vl++; VN[vl] = "Sausset les Pins (13)"; vl++; VN[vl] = "Sauze Super Sauze (04)"; vl++; VN[vl] = "Seignosse (40)"; vl++; VN[vl] = "Seilh (31)"; vl++; VN[vl] = "Serre Chevalier (05)"; vl++; VN[vl] = "Sète (34)"; vl++; VN[vl] = "Seysses (31)"; vl++; VN[vl] = "Sion (85)"; vl++; VN[vl] = "Six Fours (83)"; vl++; VN[vl] = "Sixt (74)"; vl++; VN[vl] = "Soldeu El Trater (09)"; vl++; VN[vl] = "Soulac sur Mer (33)"; vl++; VN[vl] = "St Amand Montrond (18)"; vl++; VN[vl] = "St Aubin (76)"; vl++; VN[vl] = "St Aubin sur Mer (14)"; vl++; VN[vl] = "St Brevin (44)"; vl++; VN[vl] = "St Brieuc (22)"; vl++; VN[vl] = "St Cast (22)"; vl++; VN[vl] = "St Etienne (42)"; vl++; VN[vl] = "St Flour (15)"; vl++; VN[vl] = "St François Longchamp (73)"; vl++; VN[vl] = "St Gervais (74)"; vl++; VN[vl] = "St Gildas De Rhuys (56)"; vl++; VN[vl] = "St Gilles Croix de Vie (85)"; vl++; VN[vl] = "St Girons (09)"; vl++; VN[vl] = "St Guénolé (29)"; vl++; VN[vl] = "St Jean de Luz (64)"; vl++; VN[vl] = "St Jean du Doigt (29)"; vl++; VN[vl] = "St Lary Soulan (65)"; vl++; VN[vl] = "St Lô (50)"; vl++; VN[vl] = "St Malo (35)"; vl++; VN[vl] = "St Martin d'Hères (38)"; vl++; VN[vl] = "St Martin de Belleville (73)"; vl++; VN[vl] = "St Omer (62)"; vl++; VN[vl] = "St Pair (50)"; vl++; VN[vl] = "St Palais (17)"; vl++; VN[vl] = "St Parame (35)"; vl++; VN[vl] = "St Pierre d'Oléron (17)"; vl++; VN[vl] = "St Pierre de Chartreuse (38)"; vl++; VN[vl] = "St Quay (22)"; vl++; VN[vl] = "St Quentin (02)"; vl++; VN[vl] = "St Raphaêl (83)"; vl++; VN[vl] = "St Sorlin d'Arves (73)"; vl++; VN[vl] = "St Vaast la Hougue (50)"; vl++; VN[vl] = "St Vincent sur Jard (85)"; vl++; VN[vl] = "st-Genes Bellevue (31)"; vl++; VN[vl] = "St-Hilaire (31)"; vl++; VN[vl] = "St-Jean (31)"; vl++; VN[vl] = "St-O.de Gameville (31)"; vl++; VN[vl] = "St.Alban (31)"; vl++; VN[vl] = "St.Aubin du Medoc (33)"; vl++; VN[vl] = "St.Louis de Montferrant (33)"; vl++; VN[vl] = "St.Loup Cammas (31)"; vl++; VN[vl] = "St.Vincent de Paul (33)"; vl++; VN[vl] = "Ste Maxime (83)"; vl++; VN[vl] = "Ste Menehould (51)"; vl++; VN[vl] = "Stella Plage (62)"; vl++; VN[vl] = "Stes Maries de la Mer (13)"; vl++; VN[vl] = "Strasbourg (67)"; vl++; VN[vl] = "Superdévoluy La Joue Du Loup (05)"; vl++; VN[vl] = "Talence (33)"; vl++; VN[vl] = "Tarbes (65)"; vl++; VN[vl] = "Thollon les Mémises (74)"; vl++; VN[vl] = "Thonon les Bains (74)"; vl++; VN[vl] = "Tignes (73)"; vl++; VN[vl] = "Toulon (83)"; vl++; VN[vl] = "Toulouse (31)"; vl++; VN[vl] = "Tournefeuille (31)"; vl++; VN[vl] = "Tours (37)"; vl++; VN[vl] = "Trébeurden (22)"; vl++; VN[vl] = "Tréboul (29)"; vl++; VN[vl] = "Trégastel (22)"; vl++; VN[vl] = "Trestel (22)"; vl++; VN[vl] = "Troyes (10)"; vl++; VN[vl] = "Tulle (19)"; vl++; VN[vl] = "Union (31)"; vl++; VN[vl] = "Ussel (19)"; vl++; VN[vl] = "Val Cenis (73)"; vl++; VN[vl] = "Val d Isère (73)"; vl++; VN[vl] = "Val d'Allos (04)"; vl++; VN[vl] = "Val Thorens (73)"; vl++; VN[vl] = "Valberg (06)"; vl++; VN[vl] = "Valence (26)"; vl++; VN[vl] = "Valenciennes (59)"; vl++; VN[vl] = "Valfréjus (73)"; vl++; VN[vl] = "Valloire (73)"; vl++; VN[vl] = "Vallouise (05)"; vl++; VN[vl] = "Valmeinier (73)"; vl++; VN[vl] = "Valmorel (73)"; vl++; VN[vl] = "Valras Plage (34)"; vl++; VN[vl] = "Vannes (56)"; vl++; VN[vl] = "Varangeville (76)"; vl++; VN[vl] = "Vars (05)"; vl++; VN[vl] = "Vassivière (87)"; vl++; VN[vl] = "Vauville (50)"; vl++; VN[vl] = "Vendome (41)"; vl++; VN[vl] = "Vernet (31)"; vl++; VN[vl] = "Versailles (78)"; vl++; VN[vl] = "Vervins (02)"; vl++; VN[vl] = "Vesoul (70)"; vl++; VN[vl] = "Vieille Toulouse (31)"; vl++; VN[vl] = "Vienne (38)"; vl++; VN[vl] = "Vieux Boucau (40)"; vl++; VN[vl] = "Vigoulet Auzil (31)"; vl++; VN[vl] = "Villard de Lans (38)"; vl++; VN[vl] = "Villate (31)"; vl++; VN[vl] = "Villenave d Ornon (33)"; vl++; VN[vl] = "Villeneuve sur Lot (47)"; vl++; VN[vl] = "Villeneuve-Tolosane (31)"; vl++; VN[vl] = "Villeurbanne (69)"; vl++; VN[vl] = "Vintimille (06)"; vl++; VN[vl] = "Vire (14)"; vl++; VN[vl] = "Vitry sur Seine (94)"; vl++; VN[vl] = "Wimereux (62)"; vl++; VN[vl] = "01"; vl++; VN[vl] = "02"; vl++; VN[vl] = "03"; vl++; VN[vl] = "04"; vl++; VN[vl] = "05"; vl++; VN[vl] = "06"; vl++; VN[vl] = "07"; vl++; VN[vl] = "08"; vl++; VN[vl] = "09"; vl++; VN[vl] = "10"; vl++; VN[vl] = "11"; vl++; VN[vl] = "12"; vl++; VN[vl] = "13"; vl++; VN[vl] = "14"; vl++; VN[vl] = "15"; vl++; VN[vl] = "16"; vl++; VN[vl] = "17"; vl++; VN[vl] = "18"; vl++; VN[vl] = "19"; vl++; VN[vl] = "21"; vl++; VN[vl] = "22"; vl++; VN[vl] = "23"; vl++; VN[vl] = "24"; vl++; VN[vl] = "25"; vl++; VN[vl] = "26"; vl++; VN[vl] = "27"; vl++; VN[vl] = "28"; vl++; VN[vl] = "29"; vl++; VN[vl] = "30"; vl++; VN[vl] = "31"; vl++; VN[vl] = "32"; vl++; VN[vl] = "33"; vl++; VN[vl] = "34"; vl++; VN[vl] = "35"; vl++; VN[vl] = "36"; vl++; VN[vl] = "37"; vl++; VN[vl] = "38"; vl++; VN[vl] = "39"; vl++; VN[vl] = "40"; vl++; VN[vl] = "41"; vl++; VN[vl] = "42"; vl++; VN[vl] = "43"; vl++; VN[vl] = "44"; vl++; VN[vl] = "45"; vl++; VN[vl] = "46"; vl++; VN[vl] = "47"; vl++; VN[vl] = "48"; vl++; VN[vl] = "49"; vl++; VN[vl] = "50"; vl++; VN[vl] = "51"; vl++; VN[vl] = "52"; vl++; VN[vl] = "53"; vl++; VN[vl] = "54"; vl++; VN[vl] = "55"; vl++; VN[vl] = "56"; vl++; VN[vl] = "57"; vl++; VN[vl] = "58"; vl++; VN[vl] = "59"; vl++; VN[vl] = "60"; vl++; VN[vl] = "61"; vl++; VN[vl] = "62"; vl++; VN[vl] = "63"; vl++; VN[vl] = "64"; vl++; VN[vl] = "65"; vl++; VN[vl] = "66"; vl++; VN[vl] = "67"; vl++; VN[vl] = "68"; vl++; VN[vl] = "69"; vl++; VN[vl] = "70"; vl++; VN[vl] = "71"; vl++; VN[vl] = "72"; vl++; VN[vl] = "73"; vl++; VN[vl] = "74"; vl++; VN[vl] = "75"; vl++; VN[vl] = "76"; vl++; VN[vl] = "77"; vl++; VN[vl] = "78"; vl++; VN[vl] = "79"; vl++; VN[vl] = "80"; vl++; VN[vl] = "81"; vl++; VN[vl] = "82"; vl++; VN[vl] = "83"; vl++; VN[vl] = "84"; vl++; VN[vl] = "85"; vl++; VN[vl] = "86"; vl++; VN[vl] = "87"; vl++; VN[vl] = "88"; vl++; VN[vl] = "89"; vl++; VN[vl] = "90"; vl++; VN[vl] = "91"; vl++; VN[vl] = "92"; vl++; VN[vl] = "93"; vl++; VN[vl] = "94"; vl++; VN[vl] = "95"; vl++; function noaccent(chaine) { temp = chaine.replace(/[àâä]/gi,"a"); temp = temp.replace(/[éèêë]/gi,"e"); temp = temp.replace(/[îï]/gi,"i"); temp = temp.replace(/[ôö]/gi,"o"); temp = temp.replace(/[ùûü]/gi,"u"); temp = temp.replace(/[ç]/gi,"c"); return temp; } function addEvent(obj,event_name,func_name){ if (obj.attachEvent){ obj.attachEvent("on"+event_name, func_name); }else if(obj.addEventListener){ obj.addEventListener(event_name,func_name,true); }else{ obj["on"+event_name] = func_name; } } function removeEvent(obj,event_name,func_name){ if (obj.detachEvent){ obj.detachEvent("on"+event_name,func_name); }else if(obj.removeEventListener){ obj.removeEventListener(event_name,func_name,true); }else{ obj["on"+event_name] = null; } } function stopEvent(evt){ evt || window.event; if (evt.stopPropagation){ evt.stopPropagation(); evt.preventDefault(); }else if(typeof evt.cancelBubble != "undefined"){ evt.cancelBubble = true; evt.returnValue = false; } return false; } function getElement(evt){ if (window.event){ return window.event.srcElement; }else{ return evt.currentTarget; } } function getTargetElement(evt){ if (window.event){ return window.event.srcElement; }else{ return evt.target; } } function stopSelect(obj){ if (typeof obj.onselectstart != 'undefined'){ addEvent(obj,"selectstart",function(){ return false;}); } } function getCaretEnd(obj){ if(typeof obj.selectionEnd != "undefined"){ return obj.selectionEnd; }else if(document.selection&&document.selection.createRange){ var M=document.selection.createRange(); try{ var Lp = M.duplicate(); Lp.moveToElementText(obj); }catch(e){ var Lp=obj.createTextRange(); } Lp.setEndPoint("EndToEnd",M); var rb=Lp.text.length; if(rb>obj.value.length){ return -1; } return rb; } } function getCaretStart(obj){ if(typeof obj.selectionStart != "undefined"){ return obj.selectionStart; }else if(document.selection&&document.selection.createRange){ var M=document.selection.createRange(); try{ var Lp = M.duplicate(); Lp.moveToElementText(obj); }catch(e){ var Lp=obj.createTextRange(); } Lp.setEndPoint("EndToStart",M); var rb=Lp.text.length; if(rb>obj.value.length){ return -1; } return rb; } } function setCaret(obj,l){ obj.focus(); if (obj.setSelectionRange){ obj.setSelectionRange(l,l); }else if(obj.createTextRange){ m = obj.createTextRange(); m.moveStart('character',l); m.collapse(); m.select(); } } function setSelection(obj,s,e){ obj.focus(); if (obj.setSelectionRange){ obj.setSelectionRange(s,e); }else if(obj.createTextRange){ m = obj.createTextRange(); m.moveStart('character',s); m.moveEnd('character',e); m.select(); } } String.prototype.addslashes = function(){ return this.replace(/(["\\\.\|\[\]\^\*\+\?\$\(\)])/g, '\\$1'); } String.prototype.trim = function () { return this.replace(/^\s*(\S*(\s+\S+)*)\s*$/, "$1"); }; function curTop(obj){ toreturn = 0; while(obj){ toreturn += obj.offsetTop; obj = obj.offsetParent; } return toreturn; } function curLeft(obj){ toreturn = 0; while(obj){ toreturn += obj.offsetLeft; obj = obj.offsetParent; } return toreturn; } function isNumber(a) { return typeof a == 'number' && isFinite(a); } function replaceHTML(obj,text){ while(el = obj.childNodes[0]){ obj.removeChild(el); }; obj.appendChild(document.createTextNode(text)); } function actb(obj,ca){ /* ---- Public Variables ---- */ this.actb_timeOut = -1; // Autocomplete Timeout in ms (-1: autocomplete never time out) this.actb_lim = 4; // Number of elements autocomplete can show (-1: no limit) this.actb_firstText = true; // should the auto complete be limited to the beginning of keyword? this.actb_mouse = true; // Enable Mouse Support this.actb_delimiter = new Array(';',','); // Delimiter for multiple autocomplete. Set it to empty array for single autocomplete this.actb_startcheck = 1; // Show widget only after this number of characters is typed in. /* ---- Public Variables ---- */ /* --- Styles --- */ this.actb_bgColor = '#757575'; this.actb_textColor = '#FFFFFF'; this.actb_hColor = '#E60005'; this.actb_fFamily = 'tahoma'; this.actb_fSize = '10px'; this.actb_hStyle = 'text-decoration:underline;'; this.numItems = 1; this.removePat = 1; /* --- Styles --- */ /* ---- Private Variables ---- */ var actb_delimwords = new Array(); var actb_cdelimword = 0; var actb_delimchar = new Array(); var actb_display = false; var actb_pos = 0; var actb_total = 0; var actb_curr = null; var actb_rangeu = 0; var actb_ranged = 0; var actb_bool = new Array(); var actb_pre = 0; var actb_toid; var actb_tomake = false; var actb_getpre = ""; var actb_mouse_on_list = 1; var actb_kwcount = 0; var actb_caretmove = false; this.actb_keywords = new Array(); this.actb_keywords_noaccent = new Array(); /* ---- Private Variables---- */ this.actb_keywords = ca; for (var i=0;i 0){ var t = actb_delimwords[actb_cdelimword].trim().addslashes(); var plen = actb_delimwords[actb_cdelimword].trim().length; }else{ var t = actb_curr.value.addslashes(); var plen = actb_curr.value.length; } var tobuild = ''; var i; if (actb_self.actb_firstText){ var re = new RegExp("^" + noaccent(t), "i"); }else{ var re = new RegExp(t, "i"); } var p = noaccent(n); p = p.search(re); for (i=0;i" for (i=p;i 1){ r = a.insertRow(-1); r.style.backgroundColor = actb_self.actb_bgColor; c = r.insertCell(-1); c.style.color = actb_self.actb_textColor; c.style.fontFamily = 'arial narrow'; c.style.fontSize = actb_self.actb_fSize; c.align='center'; //replaceHTML(c,'/\\'); replaceHTML(c,'...'); if (actb_self.actb_mouse){ c.style.cursor = 'pointer'; c.onclick = actb_mouse_up; } } for (i=0;i= actb_rangeu && j <= actb_ranged){ r = a.insertRow(-1); r.style.backgroundColor = actb_self.actb_bgColor; r.id = 'tat_tr'+(j); c = r.insertCell(-1); c.style.color = actb_self.actb_textColor; c.style.fontFamily = actb_self.actb_fFamily; c.style.fontSize = actb_self.actb_fSize; c.innerHTML = actb_parse(actb_self.actb_keywords[i]); c.id = 'tat_td'+(j); c.setAttribute('pos',j); if (actb_self.actb_mouse){ c.style.cursor = 'pointer'; c.onclick=actb_mouseclick; c.onmouseover = actb_table_highlight; } j++; }else{ j++; } } if (j > actb_ranged) break; } if (j-1 < actb_total){ r = a.insertRow(-1); r.style.backgroundColor = actb_self.actb_bgColor; c = r.insertCell(-1); c.style.color = actb_self.actb_textColor; c.style.fontFamily = 'arial narrow'; c.style.fontSize = actb_self.actb_fSize; c.align='center'; replaceHTML(c,'...'); if (actb_self.actb_mouse){ c.style.cursor = 'pointer'; c.onclick = actb_mouse_down; } } } function actb_goup(){ if (!actb_display) return; if (actb_pos == 1) return; document.getElementById('tat_tr'+actb_pos).style.backgroundColor = actb_self.actb_bgColor; actb_pos--; if (actb_pos < actb_rangeu) actb_moveup(); document.getElementById('tat_tr'+actb_pos).style.backgroundColor = actb_self.actb_hColor; if (actb_toid) clearTimeout(actb_toid); if (actb_self.actb_timeOut > 0) actb_toid = setTimeout(function(){actb_mouse_on_list=0;actb_removedisp();},actb_self.actb_timeOut); } function actb_godown(){ if (!actb_display) return; if (actb_pos == actb_total) return; document.getElementById('tat_tr'+actb_pos).style.backgroundColor = actb_self.actb_bgColor; actb_pos++; if (actb_pos > actb_ranged) actb_movedown(); document.getElementById('tat_tr'+actb_pos).style.backgroundColor = actb_self.actb_hColor; if (actb_toid) clearTimeout(actb_toid); if (actb_self.actb_timeOut > 0) actb_toid = setTimeout(function(){actb_mouse_on_list=0;actb_removedisp();},actb_self.actb_timeOut); } function actb_movedown(){ actb_rangeu++; actb_ranged++; actb_remake(); } function actb_moveup(){ actb_rangeu--; actb_ranged--; actb_remake(); } /* Mouse */ function actb_mouse_down(){ document.getElementById('tat_tr'+actb_pos).style.backgroundColor = actb_self.actb_bgColor; actb_pos++; actb_movedown(); document.getElementById('tat_tr'+actb_pos).style.backgroundColor = actb_self.actb_hColor; actb_curr.focus(); actb_mouse_on_list = 0; if (actb_toid) clearTimeout(actb_toid); if (actb_self.actb_timeOut > 0) actb_toid = setTimeout(function(){actb_mouse_on_list=0;actb_removedisp();},actb_self.actb_timeOut); } function actb_mouse_up(evt){ if (!evt) evt = event; if (evt.stopPropagation){ evt.stopPropagation(); }else{ evt.cancelBubble = true; } document.getElementById('tat_tr'+actb_pos).style.backgroundColor = actb_self.actb_bgColor; actb_pos--; actb_moveup(); document.getElementById('tat_tr'+actb_pos).style.backgroundColor = actb_self.actb_hColor; actb_curr.focus(); actb_mouse_on_list = 0; if (actb_toid) clearTimeout(actb_toid); if (actb_self.actb_timeOut > 0) actb_toid = setTimeout(function(){actb_mouse_on_list=0;actb_removedisp();},actb_self.actb_timeOut); } function actb_mouseclick(evt){ if (!evt) evt = event; if (!actb_display) return; actb_mouse_on_list = 0; actb_pos = this.getAttribute('pos'); actb_penter(); } function actb_table_focus(){ actb_mouse_on_list = 1; } function actb_table_unfocus(){ actb_mouse_on_list = 0; if (actb_toid) clearTimeout(actb_toid); if (actb_self.actb_timeOut > 0) actb_toid = setTimeout(function(){actb_mouse_on_list = 0;actb_removedisp();},actb_self.actb_timeOut); } function actb_table_highlight(){ actb_mouse_on_list = 1; document.getElementById('tat_tr'+actb_pos).style.backgroundColor = actb_self.actb_bgColor; actb_pos = this.getAttribute('pos'); while (actb_pos < actb_rangeu) actb_moveup(); while (actb_pos > actb_ranged) actb_movedown(); document.getElementById('tat_tr'+actb_pos).style.backgroundColor = actb_self.actb_hColor; if (actb_toid) clearTimeout(actb_toid); if (actb_self.actb_timeOut > 0) actb_toid = setTimeout(function(){actb_mouse_on_list = 0;actb_removedisp();},actb_self.actb_timeOut); } /* ---- */ function actb_insertword(a){ if (actb_self.actb_delimiter.length > 0){ str = ''; l=0; for (i=0;i=0;--j){ if (actb_delimwords[i].charAt(j) != ' ') break; postspace += ' '; } str += prespace; str += a; l = str.length; if (gotbreak) str += postspace; }else{ str += actb_delimwords[i]; } if (i != actb_delimwords.length - 1){ str += actb_delimchar[i]; } } actb_curr.value = str; setCaret(actb_curr,l); }else{ actb_curr.value = a; } if ((actb_curr.value+0) > 0) a=a; else { actb_curr.value = String(actb_curr.value).substring(0,String(actb_curr.value).length-5); } actb_mouse_on_list = 0; actb_removedisp(); } function actb_penter(){ if (!actb_display) return; actb_display = false; var word = ''; var c = 0; for (var i=0;i<=actb_self.actb_keywords.length;i++){ if (actb_bool[i]) c++; if (c == actb_pos){ word = actb_self.actb_keywords[i]; break; } } actb_self.numItems=1; //window.status = "removePat "+removePat + " -- numItems -- " + actb_self.numItems; actb_insertword(word); l = getCaretStart(actb_curr); } function actb_removedisp(){ if (actb_mouse_on_list==0){ actb_display = 0; if (document.getElementById('tat_table')){ document.body.removeChild(document.getElementById('tat_table')); } if (actb_toid) clearTimeout(actb_toid); } removePat=1; } function actb_keypress(e){ if (actb_caretmove) stopEvent(e); return !actb_caretmove; } function actb_checkkey(evt){ if (!evt) evt = event; a = evt.keyCode; caret_pos_start = getCaretStart(actb_curr); actb_caretmove = 0; switch (a){ case 38: actb_goup(); actb_caretmove = 1; return false; break; case 40: actb_godown(); actb_caretmove = 1; return false; break; case 13: case 9: if (actb_display){ actb_caretmove = 1; actb_penter(); return false; }else{ return true; } break; default: setTimeout(function(){actb_tocomplete(a)},50); break; } } function actb_tocomplete(kc){ if (kc == 38 || kc == 40 || kc == 13) return; var i; if (actb_display){ var word = 0; var c = 0; for (var i=0;i<=actb_self.actb_keywords.length;i++){ if (actb_bool[i]) c++; if (c == actb_pos){ word = i; break; } } actb_pre = word; }else{ actb_pre = -1}; if (actb_curr.value == ''){ actb_mouse_on_list = 0; actb_removedisp(); return; } if (actb_self.actb_delimiter.length > 0){ caret_pos_start = getCaretStart(actb_curr); caret_pos_end = getCaretEnd(actb_curr); delim_split = ''; for (i=0;i= l && caret_pos_end <= l + actb_delimwords[i].length){ actb_cdelimword = i; } l+=actb_delimwords[i].length + 1; } var ot = actb_delimwords[actb_cdelimword].trim(); var t = actb_delimwords[actb_cdelimword].addslashes().trim(); }else{ var ot = actb_curr.value; var t = actb_curr.value.addslashes(); } if (ot.length == 0){ actb_mouse_on_list = 0; actb_removedisp(); } //alert(isNaN(parseFloat(ot))); //if (ot.length < actb_self.actb_startcheck && isNaN(parseFloat(ot))==true) return this; actb_self.numItems=0; if (ot.length < actb_self.actb_startcheck) return this; //window.status=noaccent(t) + " " + t; if (actb_self.actb_firstText){ var re = new RegExp("^" + noaccent(t), "i"); }else{ var re = new RegExp(t, "i"); } actb_total = 0; actb_tomake = false; actb_kwcount = 0; for (i=0;i 0) actb_toid = setTimeout(function(){actb_mouse_on_list = 0;actb_removedisp();},actb_self.actb_timeOut); actb_generate(); } //if (!evt4) evt4 = event; //a4 = evt4.keyCode; //evt = event; //actb_generate(); //actb_tocomplete(13); //alert("start"); return this; } var obj = new Array(); obj[3] = new actb(document.getElementById("textquicksearchnew3"),VN); obj[2] = new actb(document.getElementById("textquicksearchnew2"),VN); obj[1] = new actb(document.getElementById("textquicksearchnew1"),VN); obj[4] = new actb(document.getElementById("textquicksearchnew4"),VN); //obj[1] = null; function validateFormComplet(form,session) { //alert(obj[session].numItems); if (obj[session].numItems != 1) alert("La ville de départ n'est pas identifié."); else form.submit(); } function submitenter(myfield,e,session) { if (obj[session].numItems == 1) return true; var keycode; if (window.event) keycode = window.event.keyCode; else if (e) keycode = e.which; else return true; if (keycode == 13) { if (obj[session].numItems != 1) { alert("Attention : La ville de départ n'est pas identifié."); return false; } } return true; }