var myEvents = [
{'id':1658,'gmid':197,'date':'May 1052','title':'Godwines invade England','dets':'Godwine, Earl of Wessex, his son Harold and a large fleet sailed up the Thames to London forcing Edward to reinstate them into their previous positions of power.' },
{'id':2629,'gmid':101,'date':'Dec 1062','title':'Harold, earl Wessex, attacked Rhuddlan','dets':'Harold led an attack on the stronghold of Gruffydd ap Llywelyn at Rhuddlan in north Wales. The attack was a success but the Welsh Prince managed to escape.' },
{'id':883,'gmid':206,'date':'Sep 20 1066','title':'Battle of Gate Fulford','dets':'Harold Hardrada\'s forces invaded and started ravaging the countryside as they made their way to York. English forces led by Earl Edwin and Earl Morcar battled with Harold Hardrada at Gate Fulford, but the English were severely beaten. Following this defeat Harold, King of England, was forced to march his army away from the south coast where they were preparing to defend against William th...' },
{'id':295,'gmid':263,'date':'Sep 25 1066','title':'Stamford Bridge Battle','dets':'King Harold II defeated the invasion threat from Harold Hardrada, King of Norway and his own brother Tostig, both of whom were killed. This stretched his forces to the limit as they quickly had to march south to defend against William of Normandy\'s invasion at Hastings.' },
{'id':3583,'gmid':509,'date':'Oct 1066','title':'William moves to Hastings','dets':'The village of Hastings in 1066 was on a peninsula of land with marsh and water on two sides. The area was a natural defensive site with a hill to the north that could be used as a lookout point. William possibly built extra defences at Hastings while he prepared to move towards London.' },
{'id':2220,'gmid':206,'date':'Oct 1 1066','title':'Harold learns of William\'s arrival','dets':'Harold was resting his army in York when he learnt that William had landed on the south coast.' },
{'id':296,'gmid':263,'date':'Oct 6 1066','title':'Harold and his forces reach London','dets':'Harold II had to march south from Stamford Bridge to counter the threat of invasion from William of Normandy.' },
{'id':2221,'gmid':197,'date':'Oct 11 1066','title':'Harold leaves London','dets':'Harold left London with an army and headed for the south coast.' },
{'id':317,'gmid':210,'date':'Feb 1068','title':'Exeter falls to William','dets':'Although William had defeated Harold at Hastings, Harold\'s mother Gytha and her forces still had not submitted to William\'s rule. They held out at Exeter until William broke the defences. William had to take heavy casualties in the confrontation.' },
];

var myMarkers = [
{'gmid':197,'latitude': 51.50667, 'longitude': -0.106277, 'loc': 'London', 'typ': 0 },
{'gmid':101,'latitude': 53.29012, 'longitude': -3.466517, 'loc': 'Rhuddlan Castle', 'typ': 0 },
{'gmid':206,'latitude': 53.96339, 'longitude': -1.08396, 'loc': 'York', 'typ': 0 },
{'gmid':263,'latitude': 53.9907, 'longitude': -0.913617, 'loc': 'Stamford Bridge', 'typ': 0 },
{'gmid':509,'latitude': 50.85637, 'longitude': 0.584471, 'loc': 'Hastings Castle', 'typ': 0 },
{'gmid':210,'latitude': 50.725894, 'longitude': -3.529779, 'loc': 'Exeter Castle', 'typ': 0 },
];

