var myEvents = [
{'id':237,'gmid':197,'date':'Apr 1016','title':'Edmund II (Ironside) becomes King','dets':'Edmund II became king at the death of his father Aethelred II in London. London chose prince Edmund as king but it was short lived as the Southampton Witan chose Canute, who then invaded England.' },
{'id':670,'gmid':227,'date':'1027','title':'Canute in Rome','dets':'Canute attended the coronation of Emperor Conrad II in Rome. This proved his position as the head of a major power.' },
{'id':669,'gmid':344,'date':'1028','title':'Canute takes Norway','dets':'Canute defeated Olaf Haraldsson and took control of Norway.' },
{'id':3670,'gmid':57,'date':'1030','title':'Canute at Glastonbury Abbey','dets':'King Canute visited Glastonbury Abbey (possibly 1032) to grant the abbey gifts and privileges. He also knelt at the altar and prayed.' },
{'id':959,'gmid':345,'date':'Nov 12 1035','title':'Canute dies','dets':'King Canute died at Shaftesbury leaving the rule of the country in dispute between Harthacnut (the son of Emma) and Harold Harefoot (the son of Aelfgifu). The Earls of Northumbria and Mercia supported Harold\'s claim while Earl Godwine supported Harthacanute\'s.' },
];

var myMarkers = [
{'gmid':197,'latitude': 51.50667, 'longitude': -0.106277, 'loc': 'London', 'typ': 0 },
{'gmid':227,'latitude': 41.902, 'longitude': 12.4537, 'loc': 'Vatican City, Rome', 'typ': 0 },
{'gmid':344,'latitude': 60.47202, 'longitude': 8.46895, 'loc': 'Norway', 'typ': 0 },
{'gmid':57,'latitude': 51.1463, 'longitude': -2.7147, 'loc': 'Glastonbury Abbey', 'typ': 0 },
{'gmid':345,'latitude': 51.00584, 'longitude': -2.19755, 'loc': 'Shaftesbury', 'typ': 0 },
];

