var myEvents = [
{'id':1044,'gmid':227,'date':'853','title':'Alfred goes to Rome','dets':'Alfred is sent to Rome by his father to see Pope Leo IV.' },
{'id':1056,'gmid':227,'date':'855','title':'Ethelwulf and Alfred visit Rome','dets':'Ethelwulf and Alfred visit Rome to see Pope Leo IV.' },
{'id':1060,'gmid':145,'date':'867','title':'Danes are attacked and move south','dets':'Armies from Northumbria attacked the Danes at York but were defeated. The Danes moved south attacking Nottingham and taking the city. The king of Mercia asked Ethelred and Alfred for assistance and an army from Wessex went to help.' },
{'id':2146,'gmid':182,'date':'Qtr 1 871','title':'Battle of Ashdown','dets':'Aethelred and Alfred defeated the Danes at Ashdown. ' },
{'id':1065,'gmid':258,'date':'Apr 871','title':'Alfred \'The Great\' becomes king of Wessex','dets':'After fighting the Danes all winter Aethelred died. He was only in his twenties. He was buried at Wimborne and was succeeded by his younger brother Alfred \'the Great\'.' },
{'id':1076,'gmid':183,'date':'Qtr 2 871','title':'More Danes arrive in Britain','dets':'Another army of Danes landed in London and were joined by those at Reading. The army defeated Alfred at Wilton and so the king decided to pay the Danes some money to keep the peace.' },
{'id':1081,'gmid':191,'date':'876','title':'Danes defeated in the south','dets':'Led by Guthrum, an army of Danes moved to Wareham in Dorset where they were met by a new army from the sea who landed at Poole. Alfred trapped the army and demanded hostages in return for a peaceful settlement. The Danes divided, half fleeing to Exeter where they besieged the town while the other half escaped in their ships but were drowned in heavy seas. Those at Exeter were forced to surrende...' },
{'id':1082,'gmid':192,'date':'Jan 878','title':'The Danes take the advantage','dets':'After Exeter. Alfred was hoping that trouble with the Danes was over, but again led by Guthrum, an army headed for Alfred at his Chippenham residence. Alfred fled under overwhelming odds leaving Chippenham in the hands of the Danes. ' },
{'id':1083,'gmid':193,'date':'Spring 878','title':'Alfred burns the cakes','dets':'During the winter and spring period Alfred was in hiding. He ran a guerrilla warfare style war against the Danes and set up his headquarters on the Isle of Athelney in Somerset. It was on one of his scouting missions (the story goes) that he took refuge and not being recognised as the King was asked to watch the cakes which he burnt.' },
{'id':1084,'gmid':192,'date':'Apr 878','title':'Battle of Edington','dets':'Alfred called for his men to form an army and attack the Danes. He ordered the army to meet at a location known as Egbert\'s Stone and seven weeks after Easter an army was formed. Once formed the army quickly moved towards Guthrum and the Danes and the two armies met at Edington. The battle at Edington was won by Alfred and the Danes retreated to Chippenham. The Danes were surrounded an...' },
{'id':2405,'gmid':259,'date':'879','title':'New Viking Invasion','dets':'A new Viking fleet sailed up the Thames and built a camp at Fulham. For Alfred this was a worrying situation as he was unsure if this new Viking army would move to join Guthrum. Alfred did not have to worry as the army soon broke camp and headed for France.' },
{'id':2407,'gmid':196,'date':'885','title':'Vikings besiege Rochester','dets':'An army of Vikings landed in Kent from the Continent and besieged Rochester. Alfred\'s work in improving the defences of the major towns paid off and the town held out long enough for Alfred to organise an army and force the Vikings to flee back across the Channel to the Continent.' },
{'id':2408,'gmid':197,'date':'886','title':'Alfred captures London','dets':'Alfred took full control of London and strengthened its defences in defiance against Viking attacks. London had not been a capital town before now but Alfred raised London\'s status.' },
{'id':2410,'gmid':198,'date':'893','title':'Danish Invasion','dets':'A huge army of Danes travelled from Boulogne using some 250 ships and crossed the Channel landing in Kent at the Lympne Estuary, now called the River Rother. The army found a half-completed Saxon fort at Appledore which they attacked and took control of. At the same time another Danish army led by Haesten had arrived in the Thames estuary and set up camp at Milton. Alfred was facing a seriou...' },
{'id':2411,'gmid':200,'date':'894','title':'Battle at Farnham','dets':'While Alfred concentrated his efforts against the Danes at Milton, the Danes at Appledore left their camp. Alfred\'s son Edward took an army and caught the Danes at Farnham. Edward dealt a heavy blow and forced the Danes to retreat to an island on the River Colne. At the same time Danes from East Anglia had sailed around to the Cornish coast and had besieged Exeter. Aflred, who had been on his wa...' },
{'id':2412,'gmid':203,'date':'895','title':'Danes march west','dets':'The combined Danish army left Shoebury and marched west up the Thames valley through Worcestershire and up the Severn valley finally reaching Chester where they were besieged by the Saxons who tried to starve the Danes out. The Danes managed to escape into Wales where they raided and left with a great deal of spoils.' },
];

var myMarkers = [
{'gmid':227,'latitude': 41.902, 'longitude': 12.4537, 'loc': 'Vatican City, Rome', 'typ': 0 },
{'gmid':145,'latitude': 53.96329, 'longitude': -1.083921, 'loc': 'York Minster', 'typ': 0 },
{'gmid':182,'latitude': 51.521477, 'longitude': -1.265678, 'loc': 'Battle of Ashdown', 'typ': 0 },
{'gmid':258,'latitude': 50.87329, 'longitude': -2.026477, 'loc': 'Wimborne', 'typ': 0 },
{'gmid':183,'latitude': 51.353457, 'longitude': -1.615769, 'loc': 'Battle of Wilton', 'typ': 0 },
{'gmid':191,'latitude': 50.693235, 'longitude': -1.959965, 'loc': 'Poole Habour', 'typ': 0 },
{'gmid':192,'latitude': 51.461059, 'longitude': -2.119499, 'loc': 'Chippenham', 'typ': 0 },
{'gmid':193,'latitude': 51.057262, 'longitude': -2.937777, 'loc': 'Athelney?', 'typ': 0 },
{'gmid':259,'latitude': 51.47994, 'longitude': -0.1986, 'loc': 'Fulham', 'typ': 0 },
{'gmid':196,'latitude': 51.389063, 'longitude': 0.503658, 'loc': 'Rochester', 'typ': 0 },
{'gmid':197,'latitude': 51.50667, 'longitude': -0.106277, 'loc': 'London', 'typ': 0 },
{'gmid':198,'latitude': 50.725605, 'longitude': 1.614883, 'loc': 'Boulogne', 'typ': 0 },
{'gmid':200,'latitude': 51.2188, 'longitude': -0.8029, 'loc': 'Farnham', 'typ': 0 },
{'gmid':203,'latitude': 53.19189, 'longitude': -2.89044, 'loc': 'Chester', 'typ': 0 },
];

