var myEvents = [
{'id':3290,'gmid':565,'date':'Oct 1207','title':'Birth of Henry III','dets':'Henry, the future king of England, was born at Winchester Castle.' },
{'id':11,'gmid':58,'date':'Oct 28 1216','title':'King Henry III Crowned','dets':'King John\'s eldest son Henry was crowned King Henry III at the abbey church of Gloucester by Peter des Roches the Bishop of Winchester. The Earl of Pembroke, Earl Marshal of England (William Marshal), was declared Regent.' },
{'id':876,'gmid':216,'date':'May 20 1217','title':'Battle of Lincoln','dets':'Henry III\'s supporters defeated the forces belonging to Prince Louis and the rebel barons that were besieging the castle at Lincoln.' },
{'id':2,'gmid':197,'date':'Sep 12 1217','title':'Treaty of Kingston','dets':'The defeat of the French fleet left Prince Louis without much hope of taking the English throne. William Marshall blockaded London from the sea and land and at Lambeth Louis accepted peace terms. Louis waived his claim to the throne of England and should have restored Normandy to Henry but did not. Louis was paid 10,000 marks to ensure he left the country as soon as possible. William Marshal...' },
{'id':2668,'gmid':127,'date':'1220','title':'Henry III\'s improvements at the Tower','dets':'Henry III made large alterations to the Tower of London including new curtain walls, an improved water filled ditch and a water gate so the King could enter the castle directly from the Thames.' },
{'id':1625,'gmid':136,'date':'May 1220','title':'Coronation of Henry III ','dets':'At his coronation in Westminster Abbey, Henry was reminded of his duties at king to maintain peace, defend the rights of the crown and to dispense justice where required. Henry was only around thirteen years old.' },
{'id':2166,'gmid':257,'date':'Jun 1224','title':'Bedford Castle siege','dets':'The garrison at Bedford Castle, belonging to the rebel Falkes de Breute, refused to surrender to the Crown. Falkes had been repeated summonsed to account for his refusal to comply with agreement and when he refused to appear before the King the castle was surrounded. The castle fell when the keep was undermined. The garrison, who had surrendered the castle, were all hung on the order of th...' },
{'id':2039,'gmid':142,'date':'1228','title':'Henry III visits Woodstock.','dets':'Henry spent time at the Palace of Woodstock.' },
{'id':560,'gmid':58,'date':'1232','title':'Oaks given to Gloucester','dets':'Henry III donated one hundred and ten oaks from the forest of Dean to help in repair work at Gloucester church.' },
{'id':2180,'gmid':60,'date':'Nov 1233','title':'Rout of Henry\'s army','dets':'Henry III\'s army was camped at Grosmont Castle when they were attacked in the night by a force of Welsh and English rebels. Several of Henry\'s supporters were captured and the castle was returned to Hubert de Burgh, one of the rebels.' },
{'id':2040,'gmid':142,'date':'1235','title':'Henry III at Woodstock','dets':'Henry spent time at the Palace of Woodstock.' },
{'id':3239,'gmid':127,'date':'1235','title':'Leopards at the Tower','dets':'The Tower of London was home to a menagerie of exotic animals given to the monarchs of England as gifts. In this year three leopards were given to Henry III.' },
{'id':818,'gmid':8,'date':'1237','title':'Beeston Castle claimed by Henry','dets':'With the death of the last male heir of the Earldom of Cheshire, the earldom and castle at Beeston are claimed by Henry III. The castle was too important not to be in the hands of the crown.' },
{'id':485,'gmid':223,'date':'Jun 1239','title':'Edward (I) is born','dets':'Edward was the first son born to Henry III and Eleanor of Provence and was born at the Palace of Westminster. Simon de Montfort was chosen as his godfather by Henry III.' },
{'id':2041,'gmid':142,'date':'1241','title':'Henry entertains at Woodstock','dets':'Henry spent time at Woodstock and entertained Alexander. King of the Scots and the English nobility.' },
{'id':488,'gmid':69,'date':'Spring 1243','title':'Simon de Montfort gets custody of Kenilworth castle','dets':'Henry III bestowed the custody of Kenilworth castle to Simon de Montfort. Simon\'s wife Eleanor (Henry\'s sister) already owned Odiham Castle so Simon had two of the strongest fortresses in England under his control.' },
{'id':522,'gmid':136,'date':'1245','title':'Rebuilding of Westminster Abbey','dets':'Henry started the work of rebuilding Westminster Abbey as a tribute to Edward the Confessor.' },
{'id':759,'gmid':96,'date':'1246','title':'Peter de Savoy granted Pevensey Castle ','dets':'Henry III granted Pevensey castle to the Queen\'s uncle, Peter de Savoy, Earl of Richmond. ' },
{'id':3666,'gmid':256,'date':'1246','title':'Beaulieu Abbey dedicated','dets':'The Cistercial abbey at Beaulieu founded earlier by King John was dedicated in the presence of King Henry III, Queen Eleanor and Prince Edward.' },
{'id':445,'gmid':117,'date':'1247','title':'Henry receives a relic','dets':'Henry received a relic from the patriarch of Jerusalem consisting of a portion of the blood of Christ in a crystal vase. Henry walked with the vase in his hands clothed in a course robe from the treasury in St. Paul\'s to the church of Westminster where mass was said. He was assisted by attendants on both sides in case he slipped and dropped the vase.' },
{'id':1611,'gmid':145,'date':'Dec 26 1251','title':'Margaret marries Alexander III','dets':'Henry III\'s daughter Margaret married Alexander III, king of the Scots, at York Minster. Both bride and groom were under the age of eleven at the time of the wedding. The festivities were huge as many members of the English and Scottish courts attended the wedding.' },
{'id':1176,'gmid':223,'date':'1258','title':'Barons confront Henry','dets':'The seven were joined by many more Barons and Knights and they confronted Henry III at Westminster. Although armed, the Barons did leave their weapons outside the hall. Henry and his son Edward were forced to take the oath to join the commune of Barons and to accept their wished. Henry agreed to meet again with the Barons at Oxford in June.' },
{'id':479,'gmid':239,'date':'Jun 1258','title':'Provisions of Oxford','dets':'The barons and Henry III met at Oxford where fully armed, the barons showed Henry that he had no choice but to reform the way the country was being run. A council of fifteen members was set to advise the king. The fifteen were selected by a committee of four, two from the barons and two from the king. The new council was not to last long as the members could not agree amongst themselves on course...' },
{'id':1281,'gmid':89,'date':'Jun 1258','title':'Odiham and Kenilworth handed over to the King','dets':'As an act of faith, Simon de Montfort handed over his castles at Odiham and Kenilworth as part of the proposals put forward in the Provisions of Oxford.' },
{'id':1326,'gmid':228,'date':'Apr 1264','title':'Northampton captured by the King','dets':'Henry and Edward captured the castle at Northampton where the sons of Simon de Montfort and their group of rebels were stationed. The sons (Henry and Simon the younger) were taken prisoner.' },
{'id':457,'gmid':73,'date':'May 14 1264','title':'Battle of Lewes','dets':'Simon de Montfort surprises Henry III and Edward (I), with early movements of his troops on the hills above the castle. Henry and Richard of Cornwall defend the centre and left of the castle, but Edward attacks the lighter armed Londoners to the right and forcing them to flee, follows them off the battle site. When he returns, he finds that Henry is trapped in the priory and gives himself up i...' },
{'id':521,'gmid':136,'date':'Oct 13 1269','title':'Edward the Confessor moved','dets':'Henry had Edward the Confessor\'s remains moved from behind the alter to a newly built golden shrine within Westminster Abbey.' },
{'id':446,'gmid':136,'date':'Nov 16 1272','title':'Henry III dies','dets':'Henry was buried in the church of St. Peter\'s at Westminster (which he had rebuilt) in the former grave of Edward the Confessor whose remains Henry had moved to a golden shrine.' },
{'id':450,'gmid':43,'date':'Aug 2 1274','title':'Edward arrives home','dets':'Edward (I) landed at Dover to be crowned king. (Why did it take him so long to return home after the death of his father?)' },
];

var myMarkers = [
{'gmid':565,'latitude': 51.059194, 'longitude': -1.31018, 'loc': 'Winchester Castle', 'typ': 0 },
{'gmid':58,'latitude': 51.8675, 'longitude': -2.2468, 'loc': 'Gloucester Cathedral', 'typ': 0 },
{'gmid':216,'latitude': 53.23429, 'longitude': -0.540707, 'loc': 'Lincoln Castle', 'typ': 0 },
{'gmid':197,'latitude': 51.50667, 'longitude': -0.106277, 'loc': 'London', 'typ': 0 },
{'gmid':127,'latitude': 51.5076, 'longitude': -0.0763, 'loc': 'Tower of London', 'typ': 0 },
{'gmid':136,'latitude': 51.4997, 'longitude': -0.1284, 'loc': 'Westminster Abbey', 'typ': 0 },
{'gmid':257,'latitude': 52.13556, 'longitude': -0.463255, 'loc': 'Bedford', 'typ': 0 },
{'gmid':142,'latitude': 51.84867, 'longitude': -1.356403, 'loc': 'Woodstock', 'typ': 0 },
{'gmid':60,'latitude': 51.91537, 'longitude': -2.866, 'loc': 'Grosmont Castle', 'typ': 0 },
{'gmid':8,'latitude': 53.1289, 'longitude': -2.6934, 'loc': 'Beeston Castle', 'typ': 0 },
{'gmid':223,'latitude': 51.499321, 'longitude': -0.1247719, 'loc': 'Palace of Westminster', 'typ': 0 },
{'gmid':69,'latitude': 52.3481, 'longitude': -1.5933, 'loc': 'Kenilworth Castle', 'typ': 0 },
{'gmid':96,'latitude': 50.81941, 'longitude': 0.332539, 'loc': 'Pevensey Castle', 'typ': 0 },
{'gmid':256,'latitude': 50.82186, 'longitude': -1.45, 'loc': 'Beaulieu Abbey', 'typ': 0 },
{'gmid':117,'latitude': 51.5143, 'longitude': -0.0976, 'loc': 'St. Paul\'s Cathedral', 'typ': 0 },
{'gmid':145,'latitude': 53.96329, 'longitude': -1.083921, 'loc': 'York Minster', 'typ': 0 },
{'gmid':239,'latitude': 51.75227, 'longitude': -1.25582, 'loc': 'Oxford', 'typ': 0 },
{'gmid':89,'latitude': 51.26165, 'longitude': -0.960903, 'loc': 'Odiham Castle', 'typ': 0 },
{'gmid':228,'latitude': 52.23693, 'longitude': -0.9046, 'loc': 'Northampton Castle', 'typ': 0 },
{'gmid':73,'latitude': 50.87351, 'longitude': 0.008484, 'loc': 'Lewes Castle', 'typ': 0 },
{'gmid':43,'latitude': 51.1273, 'longitude': 1.3229, 'loc': 'Dover Castle', 'typ': 0 },
];

