var myEvents = [
{'id':1337,'gmid':239,'date':'Dec 24 1167','title':'John, the future king of England is born','dets':'John is born at Oxford.' },
{'id':3125,'gmid':351,'date':'Oct 11 1174','title':'Henry II reaches a peace agreement','dets':'After a year and a half of rebellion against him, Henry II achieved peace agreements with Louis the French king and his own three sons. (Treaty of Falaise?)' },
{'id':1649,'gmid':141,'date':'Apr 1185','title':'John is knighted','dets':'John is knighted by his father at Windsor Castle before travelling to Ireland.' },
{'id':2667,'gmid':127,'date':'Oct 6 1191','title':'Tower of London siege','dets':'Bishop William Longchamp held the Tower of London against Prince John\'s supporters for only three days. The Bishop surrendered the Tower and escaped to continue his support for King Richard.' },
{'id':1338,'gmid':295,'date':'Apr 25 1199','title':'John is crowned Duke of Normandy','dets':'John is crowned Duke of Normandy at Rouen by Walter the Archbishop of Rouen.' },
{'id':1339,'gmid':136,'date':'May 27 1199','title':'John is crowned King','dets':'John is crowned as King of England at Westminster.' },
{'id':3108,'gmid':375,'date':'Jun 20 1199','title':'King John leaves England','dets':'King John, along with many nobles, knights and soldiers, left England from Shoreham and sailed to Normandy.' },
{'id':419,'gmid':360,'date':'May 22 1200','title':'Philippe and John sign a treaty','dets':'At le Goulet on the River Seine Philippe II signed a peace treaty with John providing two years of peace. The agreement recognised John as overlord of most of the English owned lands in France, but John had to give Philippe the lands of Norman Vexin and Evreux and a large sum of money.' },
{'id':1969,'gmid':136,'date':'Sep 8 1200','title':'John and Isabella are crowned','dets':'John and Isabella returned to England in late September and were both crowned at Westminster Abbey.' },
{'id':1216,'gmid':216,'date':'Nov 22 1200','title':'William does homage to John','dets':'During a tour of the Midlands, John received homage from William \'the Lyon\', King of Scotland at Lincoln. William was looking to move into the areas of Northumberland, Cumberland, and Westmoreland. John on the other hand ensured that those areas were controlled by Barons he could trust.' },
{'id':1657,'gmid':224,'date':'May 1201','title':'John sails to Normandy','dets':'In France the Lusignans were causing problems still angry over John\'s marriage to Isabella. John ordered that an army should assemble at Portsmouth. Instead of taking the assembled army, John used the money they had to hire mercenaries and took them.' },
{'id':421,'gmid':187,'date':'Jun 1201','title':'Philippe entertains John in Paris','dets':'Even though Philippe was hearing complaints from the Lusignans about John\'s treatment towards them, he was not willing to go against John at this time and entertained him in Paris.' },
{'id':1288,'gmid':256,'date':'1203','title':'Beaulieu Abbey founded','dets':'Founded by King John who wanted to become an object of prayer by the Cistercian order. The abbey was built on the site of a hunting lodge in the New Forest and was colonised by monks directly from Citeaux.' },
{'id':1973,'gmid':295,'date':'Apr 3 1203','title':'Arthur is murdered','dets':'Arthur was moved to Rouen from Falaise where he was being held. There it is said that John killed Arthur and dumped his weighted-down body in the Seine. The body was discovered and later buried.' },
{'id':546,'gmid':59,'date':'1204','title':'Goodrich given to William Marshal','dets':'King John gave Goodrich castle to William Marshal on his marriage to the heiress of the earldom of Pembroke.' },
{'id':1152,'gmid':295,'date':'Jun 1204','title':'Normandy is taken by Philippe','dets':'Philippe II, King of France won control of Rouen, the capital of Normandy and Normandy itself. John still had control of Aquitaine.' },
{'id':1199,'gmid':21,'date':'Dec 1205','title':'John forces election of De Gray','dets':'When Hubert Walter died a dispute began between King John and the monks of Canterbury over who should become the new Archbishop of Canterbury. King John wanted John de Grey, Bishop of Norwich, to have the position but the monks wanted their sub-prior, Reginald. The matter was delayed until December when a mission sent to Rome could consult the Pope. Reginald himself went as part  of the missio...' },
{'id':1188,'gmid':335,'date':'Jun 1206','title':'John defends Aquitaine','dets':'After Philippe failed to invade England the year earlier, John took to opportunity to land an army at La Rochelle to defend his interests in Aquitaine which was his from his inheritance from Eleanor of Aquitaine, John\'s mother. John moved his army north and took back some of the lands he had lost to Philippe.' },
{'id':1200,'gmid':21,'date':'Dec 1206','title':'The Pope chooses Stephen Langton for Canterbury','dets':'Although the monks of Canterbury wanted their own sub-prior for the post of Archbishop and King John wanted John de Gray, Pope Innocent III chose Stephen Langton. Langton was originally from Lincolnshire but after teaching in Paris had moved to Rome where he had become a Cardinal. The monks of Canterbury accepted the Pope\'s decision and voted Langton in as the new Archbishop. King John did no...' },
{'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':3269,'gmid':143,'date':'Christmas 1207','title':'John at Worcester','dets':'King John visited Worcester and gave funds for the rebuilding of the Cathedral after the devastating fire.' },
{'id':1209,'gmid':43,'date':'1209','title':'Langton lands at Dover ','dets':'Stephen Langton landed in England from France to see King John and take the position of Archbishop of Canterbury. John refused to meet with him although John did meet Stephen\'s brother Simon.' },
{'id':1215,'gmid':235,'date':'Aug 1209','title':'John prepares to invade Scotland','dets':'John mobilized an army with the help of Llewelyn of Gwynedd a Welsh chieftain and moved them up to Norham Castle. William \'the Lyon\', the king of Scotland was not ready for conflict and paid John to leave and a treaty was signed.' },
{'id':1210,'gmid':87,'date':'Summer 1211','title':'Excommunication served','dets':'In Northampton the Papal legate Pandulf served King John with his excommunication ordered by the Pope. For John this was a serious blow to his ability to rule the country as it absolved the King\'s subjects from their oaths of allegiance, gave the Barons reason to revolt and allowed the King of France to invade England to remove John from power.' },
{'id':1212,'gmid':209,'date':'Jul 1213','title':'Excommunication lifted','dets':'When King John agreed to meet Stephen Langton at Winchester he was absolved from excommunication.' },
{'id':1232,'gmid':130,'date':'Nov 1213','title':'John meets the Barons','dets':'John met the Barons at Wallingford in an attempt to prevent them from rebelling against him.' },
{'id':1220,'gmid':224,'date':'Feb 2 1214','title':'John sails for France','dets':'John\'s conflict with Philippe of France started again with John\'s departure from Portsmouth. With him sailed his wife and second son, Richard. He also took a large amount of treasure.' },
{'id':1214,'gmid':21,'date':'Jun 29 1214','title':'Interdict lifted','dets':'At St. Paul\'s Cathedral, in London, the Interdict was finally lifted.' },
{'id':1234,'gmid':197,'date':'Jan 1215','title':'John meets the Barons in London','dets':'Promising the Barons safe passage, John met them in London to discuss their demands. John postponed any answer until Easter.' },
{'id':1238,'gmid':197,'date':'May 17 1215','title':'London falls to the Rebels','dets':'The gates to London were opened by a supporter of the rebellious Barons and the houses of Jews were targeted for ransacking and burning. The rebels called for those Barons still on the side of John to join them. The Tower of London held by John\'s supporters was too well defended to fall into the hands of the rebels.' },
{'id':475,'gmid':254,'date':'Jun 15 1215','title':'John\'s Great Charter (the Magna Carta)','dets':'A large number of barons, led by Stephen Langton the archbishop of Canterbury, meet King John on an island in the Thames at Runnymede. They forced the king to sign the \'Great Charter\' or Magna Carta that would limit the power of the monarchy. The barons insisted that the old feudal contract should be reinstated and that the king should abide by the laws that the rest of the population did. Th...' },
{'id':6,'gmid':236,'date':'Jan 1216','title':'King John attacks Berwick','dets':'King John attacked Berwick and forced the Scots to leave. He also raided the lowlands.' },
{'id':8,'gmid':106,'date':'May 21 1216','title':'Prince Louis of France claims English Throne','dets':'Invited by the barons opposed to king John, Prince Louis of France landed in England to claim the English Throne. Louis captured Rochester Castle after a short siege.' },
{'id':9,'gmid':209,'date':'Jun 1216','title':'Prince Louis advances across England','dets':'Prince Louis advanced on Winchester and captured the city and its castle. Elsewhere, Windsor Castle and Dover Castle were besieged by the rebel barons. Both castles were defended and held out against the sieges. King John used Corfe Castle in the south-west as his base of operations while he planned his campaign against the rebel barons and Prince Louis.' },
{'id':0,'gmid':84,'date':'Oct 1216','title':'Death of King John','dets':'King John died at Newark from excessive eating and drinking. Protestant historians of the 16th century wrote that he was poisoned by a monk at Swineshead in Lincolnshire. The monk received orders from the Pope to kill King John and took a small amount of poisoned wine himself to reassure the King and also died. But had King John become the Pope\'s ally before his death?' },
{'id':3268,'gmid':143,'date':'Oct 1216','title':'King John buried at Worcester ','dets':'King John\'s wishes were to be buried at the church at Worcester.This was done and King John\'s body was placed in a tomb at the centre of the Cathedral.' },
{'id':10,'gmid':84,'date':'Oct 19 1216','title':'King John dies','dets':'King John died at Newark. This was shortly after he lost his baggage train in the Wash estuary as the tide returned. There was supposed to be a large amount of treasure in the baggage train at the time and it has never been found.' },
];

var myMarkers = [
{'gmid':239,'latitude': 51.75227, 'longitude': -1.25582, 'loc': 'Oxford', 'typ': 0 },
{'gmid':351,'latitude': 48.8936, 'longitude': -0.2039, 'loc': 'Falaise', 'typ': 0 },
{'gmid':141,'latitude': 51.48365, 'longitude': -0.604464, 'loc': 'Windsor Castle', 'typ': 0 },
{'gmid':127,'latitude': 51.5076, 'longitude': -0.0763, 'loc': 'Tower of London', 'typ': 0 },
{'gmid':295,'latitude': 49.442367, 'longitude': 1.098492, 'loc': 'Rouen, France', 'typ': 0 },
{'gmid':136,'latitude': 51.4997, 'longitude': -0.1284, 'loc': 'Westminster Abbey', 'typ': 0 },
{'gmid':375,'latitude': 50.835678, 'longitude': -0.280956, 'loc': 'Shoreham-by-Sea', 'typ': 0 },
{'gmid':360,'latitude': 49.14313, 'longitude': 1.412612, 'loc': 'Le Goulet, France', 'typ': 0 },
{'gmid':216,'latitude': 53.23429, 'longitude': -0.540707, 'loc': 'Lincoln Castle', 'typ': 0 },
{'gmid':224,'latitude': 50.799259, 'longitude': -1.091819, 'loc': 'Portsmouth', 'typ': 0 },
{'gmid':187,'latitude': 48.875918, 'longitude': 2.296557, 'loc': 'Paris', 'typ': 0 },
{'gmid':256,'latitude': 50.82186, 'longitude': -1.45, 'loc': 'Beaulieu Abbey', 'typ': 0 },
{'gmid':59,'latitude': 51.8761, 'longitude': -2.6173, 'loc': 'Goodrich Castle', 'typ': 0 },
{'gmid':21,'latitude': 51.2796, 'longitude': 1.0829, 'loc': 'Canterbury Cathedral', 'typ': 0 },
{'gmid':335,'latitude': 46.1581, 'longitude': -1.15364, 'loc': 'La Rochelle', 'typ': 0 },
{'gmid':565,'latitude': 51.059194, 'longitude': -1.31018, 'loc': 'Winchester Castle', 'typ': 0 },
{'gmid':143,'latitude': 52.18854, 'longitude': -2.220832, 'loc': 'Worcester Cathedral', 'typ': 0 },
{'gmid':43,'latitude': 51.1273, 'longitude': 1.3229, 'loc': 'Dover Castle', 'typ': 0 },
{'gmid':235,'latitude': 55.71845, 'longitude': -2.1598, 'loc': 'Norham', 'typ': 0 },
{'gmid':87,'latitude': 52.94897, 'longitude': -1.154605, 'loc': 'Nottingham Castle', 'typ': 0 },
{'gmid':209,'latitude': 51.06482, 'longitude': -1.313225, 'loc': 'Winchester', 'typ': 0 },
{'gmid':130,'latitude': 51.60287, 'longitude': -1.123516, 'loc': 'Wallingford Castle', 'typ': 0 },
{'gmid':197,'latitude': 51.50667, 'longitude': -0.106277, 'loc': 'London', 'typ': 0 },
{'gmid':254,'latitude': 51.44451, 'longitude': -0.56537, 'loc': 'Runnymede', 'typ': 0 },
{'gmid':236,'latitude': 55.7734, 'longitude': -2.01248, 'loc': 'Berwick Castle', 'typ': 0 },
{'gmid':106,'latitude': 51.3897, 'longitude': 0.502298, 'loc': 'Rochester Castle', 'typ': 0 },
{'gmid':84,'latitude': 53.07721, 'longitude': -0.812471, 'loc': 'Newark Castle', 'typ': 0 },
];

