      var map = null;
            
      function GetMap()
      {
         map = new VEMap('map_container');
         map.LoadMap(new VELatLong(52.193270,-0.926577), 17 ,'h', false, VEMapMode.Mode2D, false);
      }
      
      function AddPushpin(lat,lon,title,description,photo,info)
      {
          var shape = new VEShape(VEShapeType.Pushpin, new VELatLong(lat,lon) );
          shape.SetTitle(title);
          shape.SetDescription(description);
          shape.SetPhotoURL(photo);
          shape.SetMoreInfoURL(info);
          map.AddShape(shape);
      }
      
      function AddPolygon(lat1,lon1,lat2,lon2,lat3,lon3,lat4,lon4,title,description,photo,info)
      {
         var shape = new VEShape(VEShapeType.Polygon, [new VELatLong(lat1,lon1),
                                                   new VELatLong(lat2,lon2),
                                                   new VELatLong(lat3,lon3),
                                                   new VELatLong(lat4,lon4)]);
         shape.SetTitle(title);
         shape.SetDescription(description);
         shape.SetLineWidth(2);
         shape.SetLineColor(new VEColor(0,150,100,1.0));
         shape.SetFillColor(new VEColor(0,150,100,0.3));
         shape.SetPhotoURL(photo);
         shape.SetMoreInfoURL(info);
         map.AddShape(shape);
      }
      
       function AddArea(lat1,lon1,lat2,lon2,lat3,lon3,lat4,lon4,lat5,lon5,lat6,lon6,lat7,lon7,lat8,lon8,title,description,photo,info)
      {
         var shape = new VEShape(VEShapeType.Polygon, [new VELatLong(lat1,lon1),
                                                   new VELatLong(lat2,lon2),
                                                   new VELatLong(lat3,lon3),
                                                   new VELatLong(lat4,lon4),
                                                   new VELatLong(lat5,lon5),
                                                   new VELatLong(lat6,lon6),
                                                   new VELatLong(lat7,lon7),
                                                   new VELatLong(lat8,lon8)]);
         shape.SetTitle(title);
         shape.SetDescription(description);
         shape.SetLineWidth(2);
         shape.SetLineColor(new VEColor(0,150,100,1.0));
         shape.SetFillColor(new VEColor(0,150,100,0.2));
         shape.SetPhotoURL(photo);
         shape.SetMoreInfoURL(info);
         map.AddShape(shape);
      }
      
     function AddPins()
      {
        AddPolygon(52.194638,-0.929058,52.194483,-0.928514,52.194370,-0.928750,52.194503,-0.929165,'Village Hall / Workhouse Yard',
        'The Village Hall, completed in 1978, stands on ground donated to the village by Albert James, a local farmer, and is where the old Workhouse Yard once stood. Workhouse Yard comprised 14 cottages, all of which had been demolished by 1945.',
        '','');
        
        AddPolygon(52.194380,-0.929428,52.194237,-0.929029,52.194036,-0.929219,52.194153,-0.929630,'Dunkley&#39;s Yard',
        'Dunkley&#39;s yard, now the site of a modern bungalow, comprised 3 stone cottages and 6 brick built houses. One of the cottages facing High St was run as a sweetshop by a Mr Harry Wood',
        'http://www.miltonmalsorhistory.org.uk/ht_intro/history_trail/dunkley.jpg','http://miltonmalsorhistory.org.uk/times/dunkleys_yard/');
        
        AddPushpin(52.194196,-0.929841,'Milton Manor',
        'Built between 1700 and 1800; the south facing Georgian front is of dressed stone and inside is a fine staircase.',
         '','');

         AddPushpin(52.193933,-0.930348,'Home Farm',
        'A stone farmhouse built c1800 with a thatched roof and an unusual curved barn. During the late 30s and 40s the Home Farm cows provided a regular supply of milk and cream to the village.',
        '','');

         AddPushpin(52.193730,-0.929208,'Hobb End Cottage',
        'A stone thatched cottage c1640 with a modern stone extension and pantile roof. There is a well in the back garden which was used amongst other purposes to wash down the cattle. The word Hobb was an early term used for tussocks or tufts of grass.', 
        '','');

         AddPushpin(52.193278,-0.929517,'Brick Terrace',
        'The most northerly house was occupied by Mrs Lucy Emery (School teacher) up until the 1980s, and may have been previously the foreman&#39;s house for the canal workers. Further up the road was a sweet and newspaper shop run by the Phillips family.',
        '','');

         AddPushpin(52.192981,-0.929503,'Outdoor Beer House',
        'The Outdoor Beer House, which belonged to the Phipps Brewery, sold various beverages (including beer) but was not licensed for refreshments to be consumed on the premises - an &#39;off licence&#39; as we know it today. To supplement the food rations during WW2 the family kept at least one pig, as well as ducks and hens, in the large garden to the rear of the house.',
        'http://www.miltonmalsorhistory.org.uk/ht_intro/history_trail/beer_house.jpg','');

         AddPushpin(52.192780,-0.930461,'Milton Hall',
        'This (mock) Tudor House was actually built at the time of the 1930s Depression. It is claimed that a secret staircase exists in the Tudor House, the door of which can only be opened with an old two shilling piece!',
        '','');

         AddPushpin(52.192578,-0.929670,'Thatch End',
        'A stone thatched house with outhouse extensions and barn built around 1800.', 
        '','');

         AddPushpin(52.192011,-0.928591,'Milton House',
        'A large house with adjoining dwellings built in dressed sand stone c1800. It was once occupied by a Mr Hankinson, the Town Clerk of Northampton. Rectory Lane (or Pluck&#39;s Lane as it was once known) was lowered to prevent individuals peering into the grounds; the soil extracted was used to fill the fishponds further down the road.', 
        '','');
        
         AddPushpin(52.190968,-0.927256,'Mortimers',
        'This large house had monastic connections and was associated with the Northampton Hospital of St John which stood at the bottom of Bridge St. Northampton. The two mill stones from the last mill in Milton (formerly situated off the south side of Collingtree Road) are preserved in the grounds to the front of the house.', 
        '','');

         AddPushpin(52.191376,-0.926751,'Milton Rectory',
        'Built c1840 this stone house accommodated the then Rector of Milton Malsor; it is now used by a firm of architects. To the rear of the house was the Parish Reading and School Room which was used by villagers but has now been demolished. May Day festivals were held in the grounds during the 1950s.', 
        'http://www.miltonmalsorhistory.org.uk/ht_intro/history_trail/rectory.jpg','http://miltonmalsorhistory.org.uk/times/rectory/');
 
          AddPushpin(52.191645,-0.926875,'Manor House',
        'The stone front of the Manor is Tudor, and the east facing brick side is Queen Anne. The house was at one time the home of Sir Sapcotes Harrington and his son James, the author of Oceana. A stone dovecote c1600 stands in the grounds and is now converted into office accommodation.', 
        '','');
        
          AddPushpin(52.191802,-0.925960,'The Old Barn',
        'Once a collection of farm buildings known as Manor Farm - worked by Roland James, and once owned by the Asplin Family. The stone barn is now converted into a private dwelling.', 
        '','');
        
          AddPushpin(52.190902,-0.924866,'Water Hall or The Fisherman&#39;s Lodge',
        'A very small cottage, now derelict, stands behind No 17 Rectory Lane and was last inhabited by Mr &amp; Mrs Jim Green up to the early 1950s. It had been built for an occupant to maintain the three nearby fishponds for Mortimers. The fishponds were levelled when the section of Rectory Lane opposite Milton House was lowered in the mid 1800s.', 
        'http://www.miltonmalsorhistory.org.uk/ht_intro/history_trail/fishing_lodge.jpg','');
        
          AddPushpin(52.191652,-0.924037,'Tumbledown Cottage',
        'This cottage was once the laundry building for the Rectory; it has been extended and is now a private dwelling. At one time it was occupied by Mr Anthony - head teacher of the local school.', 
        '','');
        
          AddPushpin(52.193314,-0.923764,'Church of the Holy Cross',
        'The church is mainly transitional, Early English and decorated. Restoration took place in 1870, 1880 and 1891. It has a crocketted spire, a beautiful Catherine Wheel window and many noteworthy monuments. To the west of the bell tower an oak tree was planted a year after the death of Sir Winston Spencer Churchill, and grown from an acorn taken from Blenheim Palace, the place of his birth.', 
        '','');
        
          AddPushpin(52.193115,-0.925681,'The Grange',
        'A three storey stone house built c1800 with a slate roof standing at the foot of Church Hill; it may have been the earlier site of a Manor House. A bricked up doorway left of the present gateway denotes Jack Eales&#39; carpentry workshop. On the right-hand side of the gateway there are the remnants of a hayloft and former stables.', 
        '','');
        
          AddPushpin(52.193480,-0.924949,'The Orchard',
        'An orchard of long standing, but now almost devoid of trees, this field has been used over many years for village fetes, fruit and vegetable Competitions, and more recently Fun Days. The barn was built with bricks from the Asplin Brick Works along Gayton Road.', 
        '','');
        
          AddPushpin(52.193329,-0.926148,'The Old Bake house',
        'This private dwelling was formerly the bakery and in regularly use until about 1959. The ovens still exist where many a Sunday roast was cooked for the villagers.', 
        '','');
        
          AddPushpin(52.193745,-0.925941,'Orchard View',
        'A terrace of 8 red-brick houses built during World War 2 using bricks from Asplins brick yard in Gayton Road', 
        '','');
        
          AddPushpin(52.193992,-0.925437,'Eagle House',
        'Eagle House once housed the Post Office run by the Timms family; before that it was the location of a carriers business.',
        '','');
        
        AddPolygon(52.194099,-0.925848,52.194079,-0.925595,52.194038,-0.925604,52.194059,-0.925872,'Eagle Terrace',
        'A terrace of 4 brick built houses occupied this site until the late 1950s. The house nearest Green Street was 3 storey.',
        '','');
        
         AddPolygon(52.194225,-0.925464,52.194222,-0.924716,52.194051,-0.924721,52.194087,-0.925467,'Barrack Yard / Anchor terrace',
        'The site of 11 cottages, all but 3 of which were demolished in the mid 1930s to make way for a large greenhouse; many of the residents were re-housed in the newly-built Towcester Road council houses. The 3 remaining cottages have been converted over the years into a single dwelling. Stone from the cottages was used to build The Gables which fronts Green Street',
        '','');
        
          AddPushpin(52.194293,-0.925319,'Anchor Cottage',
          'Built in 1910 by J C Emery, the village school master, Anchor Cottage was also used as a Post Office in the 1930s up to the early 40s. The letter box for the post still exists in the right-hand pillar of the porch.',
        'http://www.miltonmalsorhistory.org.uk/ht_intro/history_trail/anchor_cottage.jpg','');
        
          AddPushpin(52.193541,-0.926164,'Collingtree Rectory',
          'A thatched cottage once owned by the Church of England and at one time occupied by the rector for Collingtree. It still boasts a fire insurance plaque on its south gable wall. The church sold this property in 1870 and the record of the indenture is currently held by the owner.', 
        '','');
        
           AddPushpin(52.193107,-0.926601,'Wellstead Farm House',
          'An old farm house c1700 now used as a private dwelling. Outside and along the drive there is a well, approximately 11m deep. Some of the timbering in the 18th century extension originated from a naval dockyard. Brass pins have been found under a window sill boarding and may have been used for the making of bobbin lace.', 
        '','');
        
           AddPushpin(52.193296,-0.926569,'Old Butcher&#39;s Shop',
          'The building was originally a butcher&#39;s shop, and then a Post Office, a hairdresser&#39;s salon and an antique shop before finally becoming a private dwelling. The original meat hooks can still be seen inside.', 
        '','');
        
           AddPushpin(52.193170,-0.926784,'Compass Inn',
          'Built c1700, records show that Thomas Palmer was the landlord in 1765. To the rear of the Compass were two stone cottages; traces of their wash-houses can still be seen in the rear wall of the car park. To the rear and to the right-hand side of the Compass there is another ancient building with outside stone steps leading to an upper room; it may have had a monastic connection.', 
        '','');
        
           AddPushpin(52.193058,-0.927079,'Baptist Chapel',
          'Built in 1827, 40 years after the first mention of Baptists in the village, the chapel has many interesting features including box pews, a baptistry, and fine metal work on its gallery. The chapel was built in the garden of 2 cottages which were later converted into a schoolroom. It is still in regular use.',
        '','http://www.miltonmalsorhistory.org.uk/publications/index.php#baptists');
        
            AddPushpin(52.193510,-0.926816,'Holly House',
          'Now a retirement home, but once a farm house belonging to the Asplin family who employed a large proportion of the village population. The yards at the back were used by a carpenter to make coffins, amongst other items. To the left of the present gateway there once stood two dwellings called Rosemary Cottages.',
        '','');
        
            AddPushpin(52.193193,-0.927291,'The Manse',
          'A stone-built dwelling c1800 with tiled roof which was occupied by the Baptist minister at one time - hence the name. Behind the house there once stood a small factory owned by the Lever family where brass pins were made.',
        '','');
        
            AddPushpin(52.193416,-0.927449,'Blacksmith&#39;s Yard',
          'The Turner family were the local Blacksmiths for many generations and operated from this yard. Sid Frost, who lived in a nearby cottage, also ran his cobbler&#39;s business from here',
        '','');
        
            AddPushpin(52.193285,-0.928098,'Milton Parochial Primary School',
          'The school was built in 1848 by the Church of England; the school has been extended to the side and at the rear, and most recently a new school hall has been built.',
        '','');
        
            AddPushpin(52.193281,-0.928495,'Corner Cottage',
          'This fine cottage adjacent to the school was once a row of farmhouse cottages, dated c1800. A gate at the front of the cottage leads to a private footpath linking the Green with the High Street.',
        '','');
        
            AddPushpin(52.193479,-0.928122,'The Green',
          'The Green was once much larger than it is today and used as the only playground for the school children. The present tree and commemorative metal bench replace the very large Elm tree which for many years was a most distinctive feature of the village.',
        '','');
        
            AddPushpin(52.193849,-0.927902,'The Hollies',
          'A fine house, made up of a number of cottages, which was at various times a farmhouse, a school and the premises for a shop. Buildings still exist to the rear which were used as cow sheds and a milking parlour. Date is thought to be c1700.',
        '','');
        
            AddPushpin(52.194117,-0.928262,'The Pound',
          'The pound was used to keep cattle or sheep that had strayed; it may have held up to twenty animals at a time. The earliest reference to the Pound is in a will dated June 8th 1686. This was also the site of a village pump, now long gone. A Pinder or Pinnier was the name given to someone who was responsible for collecting and looking after animals that had gone astray; by the late 1880s the pound had fallen into disuse and the last Pinnier was a Mr Voss.',
        'http://www.miltonmalsorhistory.org.uk/ht_intro/history_trail/pound.jpg','');
        
            AddPushpin(52.194176,-0.927967,'Maltings Cottages',
          'This row of stone houses was previously known as the Stackyard Maltings. They belonged to the Hope Brewery and overlook Little Green (or Memorial Green). Opposite the narrow road once stood another row of four stone cottages. The number of cottages in this vicinity may have been the reason the area was known at one time as Little Town. The house at the North end housed the maltster.',
        '','');
        
             AddPushpin(52.194538,-0.927006,'Primitive Methodist Chapel',
          'This building was erected in 1865 on land costing the princely sum of &pound;125.00. Services were held up to 1945, but then it was used for other purposes, such as band practice, until it was converted by the Heinz Company to store baked beans and soups. It was converted into a dwelling and was once occupied by Tim Rodber, England and Northampton Saints rugby player in the late 1990s.',
        '','');
        
             AddPushpin(52.194959,-0.926033,'Stockwell Farm House',
          'High above the side window of this farm house is a worn date stone inscribed 1643. Adjacent to the gate on the right is a well and the location of a one time wash house. To the east of the farmhouse stands another stone cottage, considerably altered and raised by a meter or so to avoid flooding, which once accommodated farm workers who tended the pig farm located behind the cottage.',
        '','');
        
             AddPushpin(52.194807,-0.927309,'Grove House',
          'At one time the home of the first Baptist Minister -Thomas Marriott. The house to the right of the drive was once a set of barns, now converted into private accommodation. To the north west of Grove House stood a small shop which during WW2 was given special dispensation to distributed meat products as part of the villagers&#39;s war rations.',
        '','');
        
             AddPushpin(52.194621,-0.927921,'Shop &amp; Post Office',
          'Built in 1937 at a cost of &pound;550.00 this was the last building in the village to be constructed of Milton Brick from the brick yard along Gayton Road.',
        '','');
        
             AddPushpin(52.194365,-0.928302,'War Memorial',
          'Dedicated by Rev Evans in the presence of General Lord Horne during July 1920 to those who had died in the First World War. Since then more names have been added of those who lost their lives during World War 2.',
        'http://www.miltonmalsorhistory.org.uk/ht_intro/history_trail/memorial.jpg','http://www.miltonmalsorhistory.org.uk/war_memorial/');
        
             AddPushpin(52.194893,-0.928771,'The Greyhound',
          'This inn faces the Towcester Road and early records indicate that a Mr Thos. Cockerel was the landlord during 1806. Beyond what is now the front beer garden was a pond which was the site of an Air Raid Shelter during WW2',
        '','');
        
             AddPushpin(52.195268,-0.928669,'Hope Brewery',
          'Recently used as offices by Persimmons - a national house building company. Long ago it was owned by a Mr East, an ancestor of the Johnson family in the village, who had moved from London for the sake of his family&#39;s health. Other brewers in their time included J Cockerel, J Lilly and W Minards.',
        'http://www.miltonmalsorhistory.org.uk/ht_intro/history_trail/brewery.jpg','');
        
             AddArea(52.194679,-0.926698,52.194978,-0.925459,52.195166,-0.925303,52.194991,-0.924777,52.194301,-0.924777,52.194258,-0.925925,52.193735,-0.926387,52.193854,-0.927411,'Turners&#39; Nurseries',
          'Until the early 1960s, when it was redeveloped for housing, this large area in the centre of the village was occupied by Turners&#39; Nurseries.',
        '','');
        
 }

