var myEvents = [
{'id':2745,'gmid':246,'date':'Dec 8 1542','title':'Birth of Mary, Queen of Scots','dets':'Mary was born at Linlithgow Palace in West Lothian, Scotland. She was the daughter of James V, king of Scotland and Mary of Guise, from France. James V died a week after Mary was born and she became Queen of Scotland.' },
{'id':2746,'gmid':218,'date':'Jul 1543','title':'Treaties at Greenwich','dets':'A treaty was signed by the Scots and Henry VIII swearing peace between the two nations and the agreement that Mary, Queen of Scots, should marry Henry\'s son Edward.' },
{'id':3016,'gmid':119,'date':'Sep 9 1543','title':'Queen Mary\'s Coronation','dets':'The coronation of Mary, Queen of Scots, took place at Stirling.' },
{'id':3017,'gmid':119,'date':'Sep 10 1547','title':'Battle of Pinkie Cleugh','dets':'Thousands of Scots gathered near the town of Musselburgh, just to the east of Edinburgh. They faced an English army led by the Duke of Somerset. The Scots had a good position on the battle field but wasted it when they attacked. The Scots were heavily defeated. The defeat at Pinkie Cleugh was a threat to Queen Mary and so she was secretly moved from Stirling Castle to the Augustinian Inchmahom...' },
{'id':3018,'gmid':281,'date':'Qtr 1 1548','title':'Queen Mary moved to Dumbarton Castle','dets':'To comply with the agreement to marry Mary to the French Dauphin, the young queen was moved from Inchmahome Priory to Dumbarton Castle on the banks of the River Clyde on the west of Scotland. It was here that she waited before sailing to France.' },
{'id':3025,'gmid':280,'date':'Sep 1559','title':'Coronation of Francis II, King of France','dets':'Francis was crowned King of France at Rheims cathedral. The ceremony was subdued because of the untimely death of his father.' },
{'id':3030,'gmid':278,'date':'Aug 14 1561','title':'Mary Stuart leaves France','dets':'Leaving France from Calais in a small flotilla of ships, Mary Stuart set sail for Scotland. Five days later the ships arrived at the port of Leith, now part of Edinburgh. Mary was met by her half-brother James Stewart' },
{'id':3687,'gmid':365,'date':'Jun 19 1566','title':'Birth of the James the future King of England','dets':'James was the son of Mary, Queen of Scots and Henry Stuart, Lord Darnley. He was born at Edinbugh Castle.' },
];

var myMarkers = [
{'gmid':246,'latitude': 55.97878, 'longitude': -3.6008, 'loc': 'Linlithgow Palace', 'typ': 0 },
{'gmid':218,'latitude': 51.47694, 'longitude': 0, 'loc': 'Greenwich Palace', 'typ': 0 },
{'gmid':119,'latitude': 56.12283, 'longitude': -3.946983, 'loc': 'Stirling Castle', 'typ': 0 },
{'gmid':281,'latitude': 55.936823, 'longitude': -4.563082, 'loc': 'Dumbarton Castle', 'typ': 0 },
{'gmid':280,'latitude': 40.253791, 'longitude': 4.034018, 'loc': 'Rheims Cathedral', 'typ': 0 },
{'gmid':278,'latitude': 50.957922, 'longitude': 1.852514, 'loc': 'Calais, France', 'typ': 0 },
{'gmid':365,'latitude': 55.948966, 'longitude': -3.20147, 'loc': 'Edinburgh Castle', 'typ': 0 },
];

