var myEvents = [
{'id':1479,'gmid':19,'date':'Apr 25 1284','title':'Edward (II) is born','dets':'Edward,  the future king of England was born at Caernarvon Castle on the 25th April, 1284. His father was Edward I and his mother was Eleanor of Castile. The castle was probably still under construction as work on it had only begun the year before.' },
{'id':1482,'gmid':223,'date':'Apr 14 1297','title':'Edward appeals for support','dets':'Outside Westminster Hall, Edward I made an appeal for support for the war in France. He apologised for high tax demands he had previously levied. He also asked the Barons to swear allegiance to Edward of Caernarvon, the future Edward II, King of England. He received the support he needed.' },
{'id':1487,'gmid':248,'date':'May 1300','title':'Edward starts another Scottish campaign','dets':'After staying briefly at the Abbey of Bury St. Edmunds, Edward I travelled north to Carlisle. His son, Edward (II) of Caernarvon remained at the Abbey for a week longer, living as a monk, before following his father. The king ensured his standard had been blessed by every holy relic that the Abbey possessed.' },
{'id':1488,'gmid':247,'date':'Jul 1300','title':'Caerlaverock Castle siege','dets':'The castle fell within 5 days and the Scots gave Edward I little resistance. Edward (II) of Caernarvon took control of the rearguard of the English army and apart from a small skirmish, saw no action.' },
{'id':1496,'gmid':136,'date':'Feb 25 1308','title':'Edward\'s Coronation','dets':'Edward II was crowned at Westminster Abbey. During the ceremony Gaveston was given the honour of carrying the crown. During the banquet that followed the King spent much more time with Gaveston than his wife. The Queen\'s uncles, who had travelled with her from France, left to report back to the King of France of the King\'s favouritism for Gaveston over Isabella. As part of the coronation ceremon...' },
{'id':1494,'gmid':236,'date':'Sep 1310','title':'Edward campaigns in Scotland','dets':'Supported by Earls of Gloucester, Warwick and Cornwall, Edward took an army into Scotland. Edward directed the assaults from Berwick. The campaign was fruitless even though Gaveston managed to reach as far north as Perth.' },
{'id':1493,'gmid':151,'date':'Jul 1311','title':'Edward returns to England','dets':'Edward II left Scotland and returned to England to attend a session of Parliament. Gaveston was left behind at Bamburgh Castle where he was relatively safe from the Lords Ordainers.' },
{'id':1504,'gmid':21,'date':'Qtr 1 1312','title':'Edward looks to Scotland for help','dets':'Gaveston\'s return to England forced the Archbishop of Canterbury to honour his threat of excommunication and the Earls to prepare for civil war against the king. Edward and Gaveston travelled to Scotland to seek help from Robert the Bruce but were not welcome. At Tynemouth the King and Gaveston took a boat to Scarborough leaving behind them everything including Isabella, Edward\'s wife. Gavesto...' },
{'id':1513,'gmid':119,'date':'Jun 1313','title':'Stirling Castle Siege','dets':'Stirling castle was still under the control of English forces but was under siege from the Scots led by Edward Bruce. Bruce and the English commander, Sir Philippe de Mowbray, came to an agreement that if English forces had not reached the castle by midsummer 1314, Mowbray would surrender the castle to the Scots. Bruce even let Mowbray leave the castle to inform the English king of the agreement.' },
{'id':1514,'gmid':236,'date':'Dec 23 1313','title':'Edward prepares for invasion','dets':'The king call upon the earls to provide men and arms and to meet at Berwick on the 10th of June 1314 to attack the Scots.' },
{'id':1515,'gmid':236,'date':'Jun 17 1314','title':'Edward leaves Berwick','dets':'Edward II and his army left Berwick to march to Stirling Castle which they had to reach before midsummer\'s day if the castle were to be saved from falling back into the hands of the Scots.' },
{'id':868,'gmid':367,'date':'Jun 24 1314','title':'Battle of Bannockburn','dets':'Forces led by Edward II were defeated by Robert I at Bannockburn. Edward was trying to reach Stirling Castle to relieve the English forces there. This was an important battle for the Scots to win and helped them to make some gains of land in northern England even if the success was short-lived.' },
{'id':2930,'gmid':368,'date':'Aug 1315','title':'Birth of John of Eltham','dets':'While staying at Eltham Palace, Queen Isabella gave birth to a son called John and known as John of Eltham.' },
{'id':1576,'gmid':236,'date':'Jun 1319','title':'Edward marches to free Berwick','dets':'The last Scottish town to be held in English hands had been captured by Robert the Bruce. The loss of Berwick brought Edward and Lancaster together. Their common goal was to recapture the town and together with the Earl of Pembroke and Surrey they marched north.' },
{'id':1587,'gmid':197,'date':'Jul 1321','title':'Parliament at Westminster','dets':'Lancaster put a large amount of pressure on Edward to remove the Despensers from power. The Marcher Lords brought a force to London and threats were made that Edward would be removed from the throne if he did not comply.' },
{'id':1589,'gmid':72,'date':'Oct 1321','title':'Siege of Leeds Castle','dets':'Edward was forced to lay siege to Leeds Castle after an incident involving his wife Queen Isabella. The Queen had wanted to stay at the castle while travelling to Canterbury but was refused entry by the owners wife. The owner of the castle, who was not there at the time, was Lord Badlesmere, a supporter of Lancaster. When Isabella\'s men tried to gain access to the castle, some of them were killed...' },
{'id':1591,'gmid':112,'date':'Qtr 1 1322','title':'Edward attacks the Marcher Lords','dets':'Edward advanced up the Severn Valley and crossed the river at Shrewsbury. Several of the Marcher Lords surrendered to the King without a fight. Lancaster had moved to his base at Pontefract. The King took time to take control the castles belonging to the Marcher Lords.' },
{'id':872,'gmid':146,'date':'Mar 16 1322','title':'Battle of Boroughbridge','dets':'Lancaster left his base at Pontract and headed north. At the bridge crossing the river Ure at Boroughbridge he was halted by an army led by Andrew Harcley, the Earl of Carlisle. Harcley held the bridge against Lancaster\'s attacks and Lancaster was forced to surrender. Lancaster was taken back to Pontefract Castle where Edward had taken control.' },
{'id':1592,'gmid':146,'date':'Mar 22 1322','title':'Lancaster Executed','dets':'Edward finally had his revenge for the death of Gaveston when Thomas, the Earl of Lancaster, was executed outside the walls of Pontefract Castle.' },
{'id':1577,'gmid':206,'date':'May 1322','title':'Parliament at York','dets':'Edward was now back in control of the country and at the Parliament held at York the rebels who had fought against him were punished, many being executed for treason. The Ordinances against Edward were repealed and those who had supported Edward through the bad times were rewarded. The elder Hugh Despenser was made Earl of Winchester. The younger Despenser was given large amounts of land forfeite...' },
{'id':1580,'gmid':103,'date':'Oct 1322','title':'Edward almost captured','dets':'After returning from Scotland, Edward and Queen Isabella rested at Rievaulx Abbey in Yorkshire. The Scots were still nearby and met the English army led by the Earl of Richmond near Old Byland. The Scots defeated the English army and Edward had to flee to escape capture. Isabella too escaped.' },
{'id':928,'gmid':353,'date':'1326','title':'Oriel College Oxford founded','dets':'Edward II founded Oriel College, Oxford.' },
{'id':1036,'gmid':352,'date':'Sep 1326','title':'Isabella and Mortimer land to take the throne','dets':'Isabella, the wife of Edward II and her supporters including Mortimer landed at Orwell in Suffolk. Their aim was to remove Edward II from his throne and place Prince Edward there as the new king. Isabella had no problem in raising an army from those opposed to the King and they advanced on London. Although Edward was in the Tower of London the rest of London was against him and he decided to leav...' },
{'id':1037,'gmid':290,'date':'Oct 1326','title':'Prince Edward is declared Keeper of the Realm','dets':'Isabella entered Bristol and was welcomed by the citizens there. The Earl of Winchester who had taken to the castle decided the best action was surrender. He was executed on the 27th of October as a traitor.' },
{'id':1606,'gmid':318,'date':'Nov 1326','title':'Edward captured','dets':'The King was captured in Wales at the Abbey of Neath. He had hoped to get some support in Wales but that was not to be the case. The Despensers were also captured. Hugh Despenser was given a short trial and executed as a traitor. Edward was taken to Kenilworth castle and imprisoned.' },
{'id':651,'gmid':9,'date':'Sep 1327','title':'Edward II murdered at Berkeley Castle','dets':'Edward was buried at the abbey church at Gloucester.' },
];

var myMarkers = [
{'gmid':19,'latitude': 53.1394, 'longitude': -4.2768, 'loc': 'Caernarvon Castle', 'typ': 0 },
{'gmid':223,'latitude': 51.499321, 'longitude': -0.1247719, 'loc': 'Palace of Westminster', 'typ': 0 },
{'gmid':248,'latitude': 52.24401, 'longitude': 0.719184, 'loc': 'Bury St. Edmunds Abbey', 'typ': 0 },
{'gmid':247,'latitude': 54.97639, 'longitude': -3.521855, 'loc': 'Caerlaverock Castle', 'typ': 0 },
{'gmid':136,'latitude': 51.4997, 'longitude': -0.1284, 'loc': 'Westminster Abbey', 'typ': 0 },
{'gmid':236,'latitude': 55.7734, 'longitude': -2.01248, 'loc': 'Berwick Castle', 'typ': 0 },
{'gmid':151,'latitude': 55.609281, 'longitude': -1.710582, 'loc': 'Bamburgh Castle', 'typ': 0 },
{'gmid':21,'latitude': 51.2796, 'longitude': 1.0829, 'loc': 'Canterbury Cathedral', 'typ': 0 },
{'gmid':119,'latitude': 56.12283, 'longitude': -3.946983, 'loc': 'Stirling Castle', 'typ': 0 },
{'gmid':367,'latitude': 56.119167, 'longitude': -3.885833, 'loc': 'Bannockburn, Battle of', 'typ': 0 },
{'gmid':368,'latitude': 51.44722, 'longitude': 0.04806, 'loc': 'Eltham Palace', 'typ': 0 },
{'gmid':197,'latitude': 51.50667, 'longitude': -0.106277, 'loc': 'London', 'typ': 0 },
{'gmid':72,'latitude': 51.2493, 'longitude': 0.6294, 'loc': 'Leeds Castle', 'typ': 0 },
{'gmid':112,'latitude': 52.71092, 'longitude': -2.75189, 'loc': 'Shrewsbury Castle', 'typ': 0 },
{'gmid':146,'latitude': 53.696, 'longitude': -1.3048, 'loc': 'Pontefract Castle', 'typ': 0 },
{'gmid':206,'latitude': 53.96339, 'longitude': -1.08396, 'loc': 'York', 'typ': 0 },
{'gmid':103,'latitude': 54.25743, 'longitude': -1.115792, 'loc': 'Rievaulx Abbey', 'typ': 0 },
{'gmid':353,'latitude': 51.75173, 'longitude': -1.25415, 'loc': 'Oriel College', 'typ': 0 },
{'gmid':352,'latitude': 52.042, 'longitude': 1.17302, 'loc': 'Orwell', 'typ': 0 },
{'gmid':290,'latitude': 51.455313, 'longitude': -2.591902, 'loc': 'Bristol', 'typ': 0 },
{'gmid':318,'latitude': 51.6609, 'longitude': -3.8265, 'loc': 'Neath Abbey', 'typ': 0 },
{'gmid':9,'latitude': 51.6889, 'longitude': -2.4571, 'loc': 'Berkeley Castle', 'typ': 0 },
];

